|
902f137671
|
main.py aktualisiert
|
2025-01-13 17:49:48 +01:00 |
|
lemoer
|
1c3e363433
|
apitypes: sourceNumber can be null
|
2024-12-29 18:12:30 +01:00 |
|
lemoer
|
286588e0fe
|
putzen.sh: specify week explicitly
|
2024-12-29 03:22:31 +01:00 |
|
lemoer
|
83802d5232
|
fixup
|
2024-12-29 03:15:27 +01:00 |
|
lemoer
|
0f8284afce
|
Automatically get weeknumber in putzen.sh
|
2024-12-29 03:14:51 +01:00 |
|
lemoer
|
e790392250
|
add putzen.sh
|
2024-12-29 02:53:37 +01:00 |
|
lemoer
|
5c0c521f31
|
docker-compose: use timezone from system
|
2024-12-29 02:46:35 +01:00 |
|
lemoer
|
062b493367
|
main: set trust mode to always
Otherwise bot would have to trust every user manually
|
2024-12-29 02:05:17 +01:00 |
|
lemoer
|
5d2d4ff560
|
Dockerfile: use python alpine and install dev libs
Otherwise, this doesn't seem to build on arm64
|
2024-12-29 01:39:45 +01:00 |
|
lemoer
|
625358ba55
|
docker-compose: map signal-cli-rest-api to port 8081
8080 is already used.
|
2024-12-29 01:39:17 +01:00 |
|
lemoer
|
8e080c2ead
|
docker-compose: restart always
|
2024-12-29 01:11:28 +01:00 |
|
lemoer
|
e4b0759fb7
|
README: update
|
2024-12-29 01:03:09 +01:00 |
|
lemoer
|
c2d99290a8
|
Update readme
|
2024-12-29 00:49:25 +01:00 |
|
lemoer
|
d93b1141d7
|
README: add info how to create a task
|
2024-12-29 00:42:11 +01:00 |
|
lemoer
|
cc2fa6f35b
|
Task: add unfulfillable_message_sent property
|
2024-12-29 00:40:25 +01:00 |
|
lemoer
|
05bbf2f8d1
|
main: move db to data/ such that docker does not create a directory
|
2024-12-29 00:33:42 +01:00 |
|
lemoer
|
f3c0e0c363
|
Add docker and README.md
|
2024-12-28 23:52:19 +01:00 |
|
lemoer
|
2e3793278d
|
LabCleaningBot: additional instructions after join
|
2024-12-28 18:37:44 +01:00 |
|
lemoer
|
43d450811c
|
LabCleaningBot: send hint for pad to group
|
2024-12-28 18:32:26 +01:00 |
|
lemoer
|
b2800252cf
|
Task: add pad_url to task
|
2024-12-28 18:10:22 +01:00 |
|
lemoer
|
4974f97f6b
|
add list_signal_groups.py
|
2024-12-28 16:53:02 +01:00 |
|
lemoer
|
e6b8a0445c
|
LabCleaningBot: improve verbosity for users
|
2024-12-28 14:13:15 +01:00 |
|
lemoer
|
8292edb3b6
|
LabCleaningBot: add assert_is_base_group_admin()
|
2024-12-28 14:12:35 +01:00 |
|
lemoer
|
7d3137dc61
|
LabCleaningBot: do not add lemoers account by code
|
2024-12-28 14:10:40 +01:00 |
|
lemoer
|
9539ec5984
|
main: load lab_cleaning_signal_base_group from config
|
2024-12-28 14:03:00 +01:00 |
|
lemoer
|
7eb5d71e4e
|
LabCleaningBot: better error handling in create_or_update_task_group()
|
2024-12-28 14:00:36 +01:00 |
|
lemoer
|
22911eae50
|
LabCleaningBot: better messages
|
2024-12-28 02:19:45 +01:00 |
|
lemoer
|
dee545a6fa
|
main: make receive_message easier to debug
|
2024-12-28 02:19:17 +01:00 |
|
lemoer
|
db7a98aa21
|
LabCleaningBot: make all members of the task group to admins
|
2024-12-28 02:18:10 +01:00 |
|
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 |
|