SonOfLokstallBot.git
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