Commit Graph

42 Commits

Author SHA1 Message Date
lemoer
aa36e3e911 main: do not remove members from the main group 2024-12-28 02:17:45 +01:00
lemoer
458bfbfc2c main: use source instead of sourceNumber
Due to privacy features of signal, sourceNumber might be null
2024-12-28 02:17:27 +01:00
lemoer
acb8ae2847 SignalAPI: improve error messages 2024-12-28 02:16:02 +01:00
lemoer
6fa7cf5766 LabCleaningBot: add create_or_update_task_group() 2024-12-28 02:15:37 +01:00
lemoer
669787bbce LabCleaningBot: fix session.commit() in sync_members_and_tasks() 2024-12-27 22:31:42 +01:00
lemoer
dd3d854259 main: check for timeouts in all requests (also timeouted tasks) 2024-12-27 20:21:38 +01:00
lemoer
f333fc7e56 main: use current timezone in favor of utc 2024-12-27 20:16:06 +01:00
lemoer
0b868e4154 main: do not spam bae group if task is not fulfillable 2024-12-27 20:15:16 +01:00
lemoer
9ec684d345 main: better task invite message 2024-12-27 20:14:39 +01:00
lemoer
aec64d3a6c main: add admin control 2024-12-27 19:31:55 +01:00
lemoer
1f22182c72 LabCleaningBot: some docstrings for the methods 2024-12-27 02:26:30 +01:00
lemoer
e07c3bc4e6 .gitignore: add data.db 2024-12-27 02:12:31 +01:00
lemoer
c4725e2685 LabCleaningBot: check for timeouts 2024-12-27 02:05:26 +01:00
lemoer
509e133913 LabCleaningBot: use logging.debug() for receive_message() errors 2024-12-27 02:04:19 +01:00
lemoer
a69fd2ed04 main: be more silent for sucessfully sent task not fullfillable message 2024-12-27 02:02:47 +01:00
lemoer
37a8fb6f9c SignalAPI: return Err() instead of None for all methods 2024-12-27 02:00:45 +01:00
lemoer
fb994d1a5e LabCleaningBot: parse reactions 2024-12-27 01:59:48 +01:00
lemoer
d7b22f3bc5 LabCleaningBot: add unfulfillable_tasks to sync_members_and_tasks() 2024-12-27 01:24:56 +01:00
lemoer
00d16561d5 models/ParticipationRequest: fix return types of try_reject() 2024-12-27 01:22:28 +01:00
lemoer
bda6457547 Add create_task.py 2024-12-27 01:21:36 +01:00
lemoer
7ec74d859f main: add signal_timestamp_to_datetime() 2024-12-27 01:20:35 +01:00
lemoer
5a2ff14d35 main: new main loop 2024-12-21 17:01:26 +01:00
lemoer
3e6f39ba86 models: get_active_tasks() 2024-12-21 05:42:36 +01:00
lemoer
76ec1c0923 Task: fix when no additional_requests_to_be_sent() in create_additional_requests() 2024-12-21 05:42:19 +01:00
lemoer
947f31ad96 main: do not create bot as user in sync_members_as_active_users() 2024-12-21 05:40:20 +01:00
lemoer
864714db6d main: send stuff 2024-12-21 05:39:00 +01:00
lemoer
b76741fb54 SignalAPI: do not remove the bot itself in update_group_members() 2024-12-21 05:23:09 +01:00
lemoer
2b58061f44 Fix Ok(...) return for sync_members_as_active_users() 2024-12-21 03:20:24 +01:00
lemoer
683fdd73c9 Task: create_additional_requests() 2024-12-21 02:43:14 +01:00
lemoer
b58ceecf1a main: sync_members_as_active_users() 2024-12-21 01:46:22 +01:00
lemoer
fce9452b72 models/User: add active 2024-12-21 01:45:10 +01:00
lemoer
1e801789b8 Remove old stuff 2024-12-21 00:44:34 +01:00
lemoer
ce67012744 main: sync group members between two groups 2024-12-21 00:40:08 +01:00
lemoer
89d2582bf7 SignalAPI: return updated group members in update_group_members() 2024-12-21 00:35:28 +01:00
lemoer
6870d274b5 main: remove some unused old classes 2024-12-20 23:06:55 +01:00
lemoer
4a226ca9b5 signal api: add some group features 2024-12-20 23:06:31 +01:00
lemoer
f6f99b860b models: add next_user_to_send_request() 2024-12-20 00:56:10 +01:00
lemoer
da2352642e Add main.py 2024-12-19 10:36:56 +01:00
lemoer
32734c73e0 Add .gitignore 2024-12-19 10:32:09 +01:00
lemoer
52112e1df8 Add some initial (unfinished) models 2024-12-19 10:31:45 +01:00
lemoer
3a6de92eee Add requirements.txt 2024-12-19 10:23:29 +01:00
lemoer
662aec865a apitypes: add a lot of apitypes 2024-12-19 10:16:39 +01:00