summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Cameron Ball [Tue, 8 Dec 2020 02:47:42 +0000 (10:47 +0800)]
Update rules for new AGL email
Cameron Ball [Tue, 8 Dec 2020 02:40:56 +0000 (10:40 +0800)]
Remove internet bill rule (TPG don't send emails, sadly)
Cameron Ball [Sun, 19 Jan 2020 13:25:08 +0000 (21:25 +0800)]
Add birthday reminder script
Cameron Ball [Mon, 30 Dec 2019 06:33:51 +0000 (14:33 +0800)]
Update strings to reflect only one person is paying
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
Cameron Ball [Sat, 21 Sep 2019 06:29:23 +0000 (14:29 +0800)]
Fix rule for water bill
Cameron Ball [Fri, 6 Sep 2019 05:36:54 +0000 (13:36 +0800)]
Back to splitting bills by 2
Cameron Ball [Sun, 16 Jun 2019 07:11:40 +0000 (15:11 +0800)]
split bill by 3 for Megan
Cameron Ball [Sun, 27 Jan 2019 11:32:34 +0000 (19:32 +0800)]
Don't send stickers so much; it gets a bit annoying
Cameron Ball [Sun, 27 Jan 2019 04:35:18 +0000 (12:35 +0800)]
Add task to check the pool filters
Cameron Ball [Sat, 19 Jan 2019 17:11:18 +0000 (01:11 +0800)]
Center align week tabs, and misc cleanup
Cameron Ball [Sat, 19 Jan 2019 08:49:38 +0000 (16:49 +0800)]
Report aesthetics
Cameron Ball [Fri, 18 Jan 2019 15:31:16 +0000 (23:31 +0800)]
Resize report columns
Cameron Ball [Thu, 17 Jan 2019 08:28:15 +0000 (16:28 +0800)]
Add more flair to the report
Cameron Ball [Mon, 14 Jan 2019 08:35:55 +0000 (16:35 +0800)]
Add basic report script
Cameron Ball [Sun, 13 Jan 2019 10:40:45 +0000 (18:40 +0800)]
Send prod errors to my chat
Cameron Ball [Sun, 13 Jan 2019 08:25:39 +0000 (16:25 +0800)]
Misc cleanup
Cameron Ball [Sun, 13 Jan 2019 08:04:03 +0000 (16:04 +0800)]
Add script to remind about cleaning the pool
Cameron Ball [Fri, 11 Jan 2019 03:54:58 +0000 (11:54 +0800)]
Add constant for path to tasks files
Cameron Ball [Tue, 8 Jan 2019 08:10:57 +0000 (16:10 +0800)]
Fix type error when reading price from emails
Cameron Ball [Sun, 6 Jan 2019 18:34:00 +0000 (02:34 +0800)]
Random cleanup
Cameron Ball [Sun, 6 Jan 2019 13:54:39 +0000 (21:54 +0800)]
Fix typo
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
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
Cameron Ball [Sat, 5 Jan 2019 19:03:17 +0000 (03:03 +0800)]
The webhook script needs to use the rewind technique
Cameron Ball [Fri, 4 Jan 2019 08:29:16 +0000 (16:29 +0800)]
Improved logic in tasks and unfinished scripts plus some bug fixes
Cameron Ball [Thu, 3 Jan 2019 11:45:32 +0000 (19:45 +0800)]
Add task for cleaning the washing machine filter
Cameron Ball [Tue, 1 Jan 2019 13:35:09 +0000 (21:35 +0800)]
Use getString instead of getStringAndCode since the keyboard is implemented now
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
Cameron Ball [Fri, 28 Dec 2018 22:26:52 +0000 (06:26 +0800)]
Use the real sticker id
Cameron Ball [Fri, 28 Dec 2018 15:33:10 +0000 (23:33 +0800)]
Fix incorrect return type
Cameron Ball [Fri, 28 Dec 2018 15:28:47 +0000 (23:28 +0800)]
array_diff cares about the order... :\
Cameron Ball [Fri, 28 Dec 2018 15:13:56 +0000 (23:13 +0800)]
Implement closest and closestIndex in a type-safer(ish...) way
Cameron Ball [Fri, 28 Dec 2018 07:59:44 +0000 (15:59 +0800)]
A few type signatures to make PHPStan happier
Cameron Ball [Fri, 28 Dec 2018 06:39:45 +0000 (14:39 +0800)]
Include PHPStan
Cameron Ball [Fri, 28 Dec 2018 06:04:09 +0000 (14:04 +0800)]
Add keyboard for task completion
Cameron Ball [Wed, 26 Dec 2018 14:11:03 +0000 (22:11 +0800)]
Remove debugging line
Cameron Ball [Wed, 26 Dec 2018 14:05:18 +0000 (22:05 +0800)]
Bug I don't understand yet, yolo
Cameron Ball [Wed, 26 Dec 2018 13:59:39 +0000 (21:59 +0800)]
Make paying bills a bit more fun
Cameron Ball [Sat, 22 Dec 2018 15:06:37 +0000 (23:06 +0800)]
Add setWebHook to gitignore
Cameron Ball [Sat, 22 Dec 2018 14:51:08 +0000 (22:51 +0800)]
Fix message retrieval logic in purjolok
Cameron Ball [Sat, 22 Dec 2018 14:47:42 +0000 (22:47 +0800)]
Another minor fix to canChatWith...
Cameron Ball [Sat, 22 Dec 2018 14:44:00 +0000 (22:44 +0800)]
Minor fix to canChatWith check
Cameron Ball [Sat, 22 Dec 2018 14:26:14 +0000 (22:26 +0800)]
Move source code in to src directory
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
Cameron Ball [Sat, 22 Dec 2018 07:07:43 +0000 (15:07 +0800)]
Add function to get message sender ID
Cameron Ball [Fri, 21 Dec 2018 03:08:17 +0000 (11:08 +0800)]
No need for arguments in paybill anymore
Cameron Ball [Wed, 19 Dec 2018 09:15:49 +0000 (17:15 +0800)]
Use telegram keyboard for selecting the bill to pay
Cameron Ball [Wed, 19 Dec 2018 05:47:12 +0000 (13:47 +0800)]
Make the task list command use the getFilePath function
Cameron Ball [Wed, 19 Dec 2018 03:56:39 +0000 (11:56 +0800)]
Remove vendor directory from source control
Cameron Ball [Sat, 15 Dec 2018 16:20:17 +0000 (00:20 +0800)]
Implement script to warn about unfinished tasks
Cameron Ball [Wed, 19 Dec 2018 03:16:51 +0000 (11:16 +0800)]
Add stringAndCode function
Cameron Ball [Tue, 27 Nov 2018 07:41:36 +0000 (15:41 +0800)]
Implement reminders for house maintenance
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
Cameron Ball [Wed, 12 Dec 2018 07:57:04 +0000 (15:57 +0800)]
Fix 'glue' constnat
Cameron Ball [Thu, 6 Dec 2018 03:04:48 +0000 (11:04 +0800)]
Make the transform functions nicer in rules.php
Cameron Ball [Thu, 6 Dec 2018 02:23:23 +0000 (10:23 +0800)]
Decode quoted printable messages for better regex
Cameron Ball [Mon, 3 Dec 2018 14:04:13 +0000 (22:04 +0800)]
Correct the <30 goodnight string
Cameron Ball [Sun, 2 Dec 2018 15:03:19 +0000 (23:03 +0800)]
Goodnight sticker
Cameron Ball [Sun, 2 Dec 2018 14:23:32 +0000 (22:23 +0800)]
Add a reminder about tomorrow's temperature
Cameron Ball [Sun, 2 Dec 2018 14:22:58 +0000 (22:22 +0800)]
Add return type to getTelegram - really need to do this everywhere
Cameron Ball [Sun, 2 Dec 2018 14:21:09 +0000 (22:21 +0800)]
Coding style fix
Cameron Ball [Wed, 28 Nov 2018 02:46:20 +0000 (10:46 +0800)]
Add a message for when there are no bills
Cameron Ball [Tue, 27 Nov 2018 05:54:03 +0000 (13:54 +0800)]
Add a reminder to drink water
Cameron Ball [Tue, 27 Nov 2018 05:43:39 +0000 (13:43 +0800)]
Respond to chat instead of user when checking allowed ids
Cameron Ball [Tue, 20 Nov 2018 09:03:24 +0000 (17:03 +0800)]
Starting to refactor purjolok WIP
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
Cameron Ball [Mon, 19 Nov 2018 13:33:01 +0000 (21:33 +0800)]
Fun function to find movies
Cameron Ball [Mon, 19 Nov 2018 02:52:43 +0000 (10:52 +0800)]
Change config to be in same directory as source
Cameron Ball [Sun, 18 Nov 2018 12:15:57 +0000 (20:15 +0800)]
Require config file in a cron-happy way
Cameron Ball [Sun, 18 Nov 2018 05:58:51 +0000 (13:58 +0800)]
Update date format to include the month
Cameron Ball [Sun, 18 Nov 2018 04:43:40 +0000 (12:43 +0800)]
Add command to get chatid
Cameron Ball [Sun, 18 Nov 2018 04:26:56 +0000 (12:26 +0800)]
Don't need the commands classes anymore
Cameron Ball [Sun, 18 Nov 2018 04:24:25 +0000 (12:24 +0800)]
Move config file one dir up
Cameron Ball [Sun, 18 Nov 2018 04:21:43 +0000 (12:21 +0800)]
Move config out of root
Cameron Ball [Sun, 18 Nov 2018 04:18:11 +0000 (12:18 +0800)]
Add description
Cameron Ball [Fri, 16 Nov 2018 03:23:23 +0000 (11:23 +0800)]
Initial commit