f0498ad389
Another fix for stupid formatting
...
flake8 is bad?
2024-08-12 23:05:48 +01:00
f51423aa42
Fix multiline for python 3.11
2024-08-12 23:04:24 +01:00
07485ceb8d
Implement /schedule
...
Allows matchers to schedule repeated weekly runs on a given weekday and hour
Can schedule multiple runs
Scheduled runs can be cancelled with cancel:True in the command
/list also shows any scheduled commands in that channel
2024-08-12 23:00:49 +01:00
522f89cff9
Fix instance tests
2024-08-12 19:31:41 +01:00
bebef9d38a
Update the thread name to have the members
2024-08-12 19:29:47 +01:00
3ea779f7f2
Fix for python 3.11
2024-08-12 19:22:51 +01:00
8d399aae52
Remove the TODO for threads
...
No need to clean up, the server should have expiry timings set already
2024-08-12 19:18:14 +01:00
d3e1d01c9b
Add thread creation to the match
2024-08-12 19:14:54 +01:00
142de9b3ca
Add some more TODO entries
2024-08-12 13:35:17 +01:00
db00c9f7c1
Merge pull request #1 from mdiluz/feature-no-roles
...
First big update
2024-08-12 09:27:05 +01:00
34c8dc8ae2
Update the test name for regression tests
2024-08-11 23:03:39 +01:00
a22701b480
Improve the stress test
...
Have it progressively match groups bit by bit
2024-08-11 23:01:47 +01:00
87da9b9673
Ensure a valid (but empty) config dict
2024-08-11 22:42:23 +01:00
f7018e892d
Allow not having a config file, otherwise pytest can't collect tests without it
2024-08-11 22:35:07 +01:00
10ac46b773
Update the README
...
* Add a note about using /join to rejoin
* Fix a link
* Remove a note about broken logging, seems to be working fine
2024-08-11 22:31:34 +01:00
145907a0df
Update the date format in the statefile
2024-08-11 22:31:20 +01:00
0e80937092
Remove half-finished sentence
2024-08-11 22:11:56 +01:00
9cf74580e9
Fix the readme link
2024-08-11 22:10:45 +01:00
9043615498
Move core matching factors to the config file
...
Bonus changes here were making the config a singleton, fixing some more tests and then re-writing the stress test because it was pissing me off.
2024-08-11 22:07:43 +01:00
a5d7dae851
Fix indentation in matchy.py
2024-08-11 19:12:44 +01:00
c77c83c929
Pull the stress test parametes out so they're more obvious and can be tweaked
2024-08-11 19:09:38 +01:00
10b08264e4
Ensure we properly version the button custom ID
2024-08-11 19:04:43 +01:00
29d40cd80f
Fix up checking the auth scope for sending the button
2024-08-11 19:04:22 +01:00
78b3d002d8
Update the bot activity to the join message
2024-08-11 19:04:11 +01:00
5f66d3454c
Add a readme entry for pausing
2024-08-11 19:03:44 +01:00
7efe781e66
Implement user pausing with /pause
2024-08-11 19:02:47 +01:00
a480549ad3
Ensure bash scripts exit on fail and explain what they're doing
2024-08-11 18:07:20 +01:00
129721eb50
Move python files into py dir
2024-08-11 18:05:28 +01:00
22ad36fb09
Reorganise a little to put scripts in bin
2024-08-11 18:04:21 +01:00
f99f67789d
Update the readme for the new commands and formats
2024-08-11 17:58:21 +01:00
d3a22ff090
Significant set of changes
...
* Use /join and /leave instead of roles
* Use scopes to check for user rights rather than using the config file
* Add /list to show the set of current people signed up
* Add a bunch more testing for various things
* Version both the config and the state
2024-08-11 17:53:37 +01:00
78834f5319
Rename history to state as it's now storing more than just the history
2024-08-11 12:16:23 +01:00
c93c5b9ecd
Fix formatting
2024-08-11 12:07:19 +01:00
72f2c3540b
Add a few more TODO entries
2024-08-11 11:56:55 +01:00
abcab55a78
Some cleanup to help make things a little clearer for the user
2024-08-11 11:53:05 +01:00
5a919ea48a
Use a dynamic button to ensure the bot works between restarts
2024-08-11 11:37:20 +01:00
d16e33666e
Ensure autopep8 uses the venv
2024-08-11 11:36:43 +01:00
405e681cbe
Fix the venv check in the run script
2024-08-11 10:42:10 +01:00
715ea8c835
Remove the while loop from the run script
2024-08-11 10:40:05 +01:00
9f15b1672e
Add the venv to gitignore
2024-08-11 10:37:31 +01:00
622e15c911
Update the run.sh and README for using venv
2024-08-11 10:36:44 +01:00
cfc36d1689
Add flake to the requirements.txt
2024-08-11 10:33:56 +01:00
3197c40f88
Fix the python version and cache pip
2024-08-11 10:32:52 +01:00
7622521347
Use the pip requirements.txt in the github runner
2024-08-11 10:31:34 +01:00
d50e2d6411
Add venv requirements file
2024-08-11 10:26:21 +01:00
19a7b27f7b
Add a tests badge
2024-08-10 22:49:50 +01:00
183de82091
Add the user config and -X theirs to resolve conflicts
2024-08-10 22:44:49 +01:00
be52d51517
Try ensuring the checkout is not depth=1
2024-08-10 22:42:38 +01:00
fe1c5e1d99
Try adding a git pull
2024-08-10 22:40:38 +01:00
560b733a36
Check out the correct release branch
2024-08-10 22:34:05 +01:00