SonOfLokstallBot.git
3 years agoUpdate rules for new AGL email master
Cameron Ball [Tue, 8 Dec 2020 02:47:42 +0000 (10:47 +0800)] 
Update rules for new AGL email

3 years agoRemove internet bill rule (TPG don't send emails, sadly)
Cameron Ball [Tue, 8 Dec 2020 02:40:56 +0000 (10:40 +0800)] 
Remove internet bill rule (TPG don't send emails, sadly)

4 years agoAdd birthday reminder script
Cameron Ball [Sun, 19 Jan 2020 13:25:08 +0000 (21:25 +0800)] 
Add birthday reminder script

4 years agoUpdate strings to reflect only one person is paying
Cameron Ball [Mon, 30 Dec 2019 06:33:51 +0000 (14:33 +0800)] 
Update strings to reflect only one person is paying

4 years agoFix regex for internet bill and update splitBill since it's just lil Cammy now
Cameron Ball [Mon, 30 Dec 2019 06:22:29 +0000 (14:22 +0800)] 
Fix regex for internet bill and update splitBill since it's just lil Cammy now

4 years agoFix rule for water bill
Cameron Ball [Sat, 21 Sep 2019 06:29:23 +0000 (14:29 +0800)] 
Fix rule for water bill

4 years agoBack to splitting bills by 2
Cameron Ball [Fri, 6 Sep 2019 05:36:54 +0000 (13:36 +0800)] 
Back to splitting bills by 2

4 years agosplit bill by 3 for Megan
Cameron Ball [Sun, 16 Jun 2019 07:11:40 +0000 (15:11 +0800)] 
split bill by 3 for Megan

5 years agoDon't send stickers so much; it gets a bit annoying
Cameron Ball [Sun, 27 Jan 2019 11:32:34 +0000 (19:32 +0800)] 
Don't send stickers so much; it gets a bit annoying

5 years agoAdd task to check the pool filters
Cameron Ball [Sun, 27 Jan 2019 04:35:18 +0000 (12:35 +0800)] 
Add task to check the pool filters

5 years agoCenter align week tabs, and misc cleanup
Cameron Ball [Sat, 19 Jan 2019 17:11:18 +0000 (01:11 +0800)] 
Center align week tabs, and misc cleanup

5 years agoReport aesthetics
Cameron Ball [Sat, 19 Jan 2019 08:49:38 +0000 (16:49 +0800)] 
Report aesthetics

5 years agoResize report columns
Cameron Ball [Fri, 18 Jan 2019 15:31:16 +0000 (23:31 +0800)] 
Resize report columns

5 years agoAdd more flair to the report
Cameron Ball [Thu, 17 Jan 2019 08:28:15 +0000 (16:28 +0800)] 
Add more flair to the report

5 years agoAdd basic report script
Cameron Ball [Mon, 14 Jan 2019 08:35:55 +0000 (16:35 +0800)] 
Add basic report script

5 years agoSend prod errors to my chat
Cameron Ball [Sun, 13 Jan 2019 10:40:45 +0000 (18:40 +0800)] 
Send prod errors to my chat

5 years agoMisc cleanup
Cameron Ball [Sun, 13 Jan 2019 08:25:39 +0000 (16:25 +0800)] 
Misc cleanup

5 years agoAdd script to remind about cleaning the pool
Cameron Ball [Sun, 13 Jan 2019 08:04:03 +0000 (16:04 +0800)] 
Add script to remind about cleaning the pool

5 years agoAdd constant for path to tasks files
Cameron Ball [Fri, 11 Jan 2019 03:54:58 +0000 (11:54 +0800)] 
Add constant for path to tasks files

5 years agoFix type error when reading price from emails
Cameron Ball [Tue, 8 Jan 2019 08:10:57 +0000 (16:10 +0800)] 
Fix type error when reading price from emails

5 years agoRandom cleanup
Cameron Ball [Sun, 6 Jan 2019 18:34:00 +0000 (02:34 +0800)] 
Random cleanup

5 years agoFix typo
Cameron Ball [Sun, 6 Jan 2019 13:54:39 +0000 (21:54 +0800)] 
Fix typo

5 years agoIntroduce new Monday type and turnBackTime function to simplify working with Mondays
Cameron Ball [Sun, 6 Jan 2019 09:25:59 +0000 (17:25 +0800)] 
Introduce new Monday type and turnBackTime function to simplify working with Mondays

5 years agoFix bug where tasks weren't detected as all done after completing the last one
Cameron Ball [Sat, 5 Jan 2019 19:58:30 +0000 (03:58 +0800)] 
Fix bug where tasks weren't detected as all done after completing the last one

5 years agoThe webhook script needs to use the rewind technique
Cameron Ball [Sat, 5 Jan 2019 19:03:17 +0000 (03:03 +0800)] 
The webhook script needs to use the rewind technique

5 years agoImproved logic in tasks and unfinished scripts plus some bug fixes
Cameron Ball [Fri, 4 Jan 2019 08:29:16 +0000 (16:29 +0800)] 
Improved logic in tasks and unfinished scripts plus some bug fixes

5 years agoAdd task for cleaning the washing machine filter
Cameron Ball [Thu, 3 Jan 2019 11:45:32 +0000 (19:45 +0800)] 
Add task for cleaning the washing machine filter

5 years agoUse getString instead of getStringAndCode since the keyboard is implemented now
Cameron Ball [Tue, 1 Jan 2019 13:35:09 +0000 (21:35 +0800)] 
Use getString instead of getStringAndCode since the keyboard is implemented now

5 years agoMake sure to add 1 when using closestIndex to find the current week of the month
Cameron Ball [Tue, 1 Jan 2019 13:22:01 +0000 (21:22 +0800)] 
Make sure to add 1 when using closestIndex to find the current week of the month

5 years agoUse the real sticker id
Cameron Ball [Fri, 28 Dec 2018 22:26:52 +0000 (06:26 +0800)] 
Use the real sticker id

5 years agoFix incorrect return type
Cameron Ball [Fri, 28 Dec 2018 15:33:10 +0000 (23:33 +0800)] 
Fix incorrect return type

5 years agoarray_diff cares about the order... :\
Cameron Ball [Fri, 28 Dec 2018 15:28:47 +0000 (23:28 +0800)] 
array_diff cares about the order... :\

5 years agoImplement closest and closestIndex in a type-safer(ish...) way
Cameron Ball [Fri, 28 Dec 2018 15:13:56 +0000 (23:13 +0800)] 
Implement closest and closestIndex in a type-safer(ish...) way

5 years agoA few type signatures to make PHPStan happier
Cameron Ball [Fri, 28 Dec 2018 07:59:44 +0000 (15:59 +0800)] 
A few type signatures to make PHPStan happier

5 years agoInclude PHPStan
Cameron Ball [Fri, 28 Dec 2018 06:39:45 +0000 (14:39 +0800)] 
Include PHPStan

5 years agoAdd keyboard for task completion
Cameron Ball [Fri, 28 Dec 2018 06:04:09 +0000 (14:04 +0800)] 
Add keyboard for task completion

5 years agoRemove debugging line
Cameron Ball [Wed, 26 Dec 2018 14:11:03 +0000 (22:11 +0800)] 
Remove debugging line

5 years agoBug I don't understand yet, yolo
Cameron Ball [Wed, 26 Dec 2018 14:05:18 +0000 (22:05 +0800)] 
Bug I don't understand yet, yolo

5 years agoMake paying bills a bit more fun
Cameron Ball [Wed, 26 Dec 2018 13:59:39 +0000 (21:59 +0800)] 
Make paying bills a bit more fun

5 years agoAdd setWebHook to gitignore
Cameron Ball [Sat, 22 Dec 2018 15:06:37 +0000 (23:06 +0800)] 
Add setWebHook to gitignore

5 years agoFix message retrieval logic in purjolok
Cameron Ball [Sat, 22 Dec 2018 14:51:08 +0000 (22:51 +0800)] 
Fix message retrieval logic in purjolok

5 years agoAnother minor fix to canChatWith...
Cameron Ball [Sat, 22 Dec 2018 14:47:42 +0000 (22:47 +0800)] 
Another minor fix to canChatWith...

5 years agoMinor fix to canChatWith check
Cameron Ball [Sat, 22 Dec 2018 14:44:00 +0000 (22:44 +0800)] 
Minor fix to canChatWith check

5 years agoMove source code in to src directory
Cameron Ball [Sat, 22 Dec 2018 14:26:14 +0000 (22:26 +0800)] 
Move source code in to src directory

5 years agoUse message sender ID for replying, additionally remove the keyboard after a bill...
Cameron Ball [Sat, 22 Dec 2018 07:08:06 +0000 (15:08 +0800)] 
Use message sender ID for replying, additionally remove the keyboard after a bill is paid

5 years agoAdd function to get message sender ID
Cameron Ball [Sat, 22 Dec 2018 07:07:43 +0000 (15:07 +0800)] 
Add function to get message sender ID

5 years agoNo need for arguments in paybill anymore
Cameron Ball [Fri, 21 Dec 2018 03:08:17 +0000 (11:08 +0800)] 
No need for arguments in paybill anymore

5 years agoUse telegram keyboard for selecting the bill to pay
Cameron Ball [Wed, 19 Dec 2018 09:15:49 +0000 (17:15 +0800)] 
Use telegram keyboard for selecting the bill to pay

5 years agoMake the task list command use the getFilePath function
Cameron Ball [Wed, 19 Dec 2018 05:47:12 +0000 (13:47 +0800)] 
Make the task list command use the getFilePath function

5 years agoRemove vendor directory from source control
Cameron Ball [Wed, 19 Dec 2018 03:56:39 +0000 (11:56 +0800)] 
Remove vendor directory from source control

5 years agoImplement script to warn about unfinished tasks
Cameron Ball [Sat, 15 Dec 2018 16:20:17 +0000 (00:20 +0800)] 
Implement script to warn about unfinished tasks

5 years agoAdd stringAndCode function
Cameron Ball [Wed, 19 Dec 2018 03:16:51 +0000 (11:16 +0800)] 
Add stringAndCode function

5 years agoImplement reminders for house maintenance
Cameron Ball [Tue, 27 Nov 2018 07:41:36 +0000 (15:41 +0800)] 
Implement reminders for house maintenance

5 years agoAdd missing early return in paybill for when the bill doesn't exist
Cameron Ball [Thu, 13 Dec 2018 07:23:08 +0000 (15:23 +0800)] 
Add missing early return in paybill for when the bill doesn't exist

5 years agoFix 'glue' constnat
Cameron Ball [Wed, 12 Dec 2018 07:57:04 +0000 (15:57 +0800)] 
Fix 'glue' constnat

5 years agoMake the transform functions nicer in rules.php
Cameron Ball [Thu, 6 Dec 2018 03:04:48 +0000 (11:04 +0800)] 
Make the transform functions nicer in rules.php

5 years agoDecode quoted printable messages for better regex
Cameron Ball [Thu, 6 Dec 2018 02:23:23 +0000 (10:23 +0800)] 
Decode quoted printable messages for better regex

5 years agoCorrect the <30 goodnight string
Cameron Ball [Mon, 3 Dec 2018 14:04:13 +0000 (22:04 +0800)] 
Correct the <30 goodnight string

5 years agoGoodnight sticker
Cameron Ball [Sun, 2 Dec 2018 15:03:19 +0000 (23:03 +0800)] 
Goodnight sticker

5 years agoAdd a reminder about tomorrow's temperature
Cameron Ball [Sun, 2 Dec 2018 14:23:32 +0000 (22:23 +0800)] 
Add a reminder about tomorrow's temperature

5 years agoAdd return type to getTelegram - really need to do this everywhere
Cameron Ball [Sun, 2 Dec 2018 14:22:58 +0000 (22:22 +0800)] 
Add return type to getTelegram - really need to do this everywhere

5 years agoCoding style fix
Cameron Ball [Sun, 2 Dec 2018 14:21:09 +0000 (22:21 +0800)] 
Coding style fix

5 years agoAdd a message for when there are no bills
Cameron Ball [Wed, 28 Nov 2018 02:46:20 +0000 (10:46 +0800)] 
Add a message for when there are no bills

5 years agoAdd a reminder to drink water
Cameron Ball [Tue, 27 Nov 2018 05:54:03 +0000 (13:54 +0800)] 
Add a reminder to drink water

5 years agoRespond to chat instead of user when checking allowed ids
Cameron Ball [Tue, 27 Nov 2018 05:43:39 +0000 (13:43 +0800)] 
Respond to chat instead of user when checking allowed ids

5 years agoStarting to refactor purjolok WIP
Cameron Ball [Tue, 20 Nov 2018 09:03:24 +0000 (17:03 +0800)] 
Starting to refactor purjolok WIP

5 years agoRefactor readEmails script
Cameron Ball [Tue, 20 Nov 2018 03:02:09 +0000 (11:02 +0800)] 
Refactor readEmails script

Additionally:

- Update the other scripts as the Common namespace is gone
- A few strings added
- Catch-all protection added to purjolok

5 years agoFun function to find movies
Cameron Ball [Mon, 19 Nov 2018 13:33:01 +0000 (21:33 +0800)] 
Fun function to find movies

5 years agoChange config to be in same directory as source
Cameron Ball [Mon, 19 Nov 2018 02:52:43 +0000 (10:52 +0800)] 
Change config to be in same directory as source

5 years agoRequire config file in a cron-happy way
Cameron Ball [Sun, 18 Nov 2018 12:15:57 +0000 (20:15 +0800)] 
Require config file in a cron-happy way

5 years agoUpdate date format to include the month
Cameron Ball [Sun, 18 Nov 2018 05:58:51 +0000 (13:58 +0800)] 
Update date format to include the month

5 years agoAdd command to get chatid
Cameron Ball [Sun, 18 Nov 2018 04:43:40 +0000 (12:43 +0800)] 
Add command to get chatid

5 years agoDon't need the commands classes anymore
Cameron Ball [Sun, 18 Nov 2018 04:26:56 +0000 (12:26 +0800)] 
Don't need the commands classes anymore

5 years agoMove config file one dir up
Cameron Ball [Sun, 18 Nov 2018 04:24:25 +0000 (12:24 +0800)] 
Move config file one dir up

5 years agoMove config out of root
Cameron Ball [Sun, 18 Nov 2018 04:21:43 +0000 (12:21 +0800)] 
Move config out of root

5 years agoAdd description
Cameron Ball [Sun, 18 Nov 2018 04:18:11 +0000 (12:18 +0800)] 
Add description

5 years agoInitial commit
Cameron Ball [Fri, 16 Nov 2018 03:23:23 +0000 (11:23 +0800)] 
Initial commit