Commit graph

107 commits

Author SHA1 Message Date
HgO
6d7980e6d5 linting 2024-08-12 13:28:00 +02:00
HgO
e7d4471c3d remove debug message 2024-08-12 13:27:04 +02:00
HgO
08264b9e75 find dm room with only bot and user in it 2024-08-12 13:24:47 +02:00
HgO
eeb39b8aea fix dm label filtering 2024-08-12 13:24:40 +02:00
HgO
26b5fa7fb4 grants admin rights when creating dm room 2024-08-11 18:18:20 +02:00
HgO
dfd1beb238 rename config property user_id to select_values 2024-08-11 09:42:32 +02:00
HgO
13976ea254 feature to send alerts in direct message 2024-08-04 11:08:43 +02:00
HgO
8ea210a699 fix multi mentions 2024-04-20 17:50:56 +02:00
HgO
a80429bd7c linting 2024-04-20 17:16:59 +02:00
HgO
66038b0b30 fix import for timeout exception 2024-04-20 17:16:09 +02:00
HgO
2baaf5e310 improve help 2024-04-18 11:58:51 +02:00
HgO
3145f32812 render mention in html 2024-04-18 10:33:55 +02:00
HgO
acd9f1764d replace command prefix with bot mention 2024-04-18 10:18:37 +02:00
HgO
928d587a45 add more reactions and add bot replies when user seems angry 2024-04-17 19:22:42 +02:00
HgO
96b22672d6 remove common log level 2024-04-17 15:56:43 +02:00
HgO
6ae3355f3c add more tests 2024-04-17 14:59:37 +02:00
HgO
27828ec3c7 fix linting 2024-01-22 11:50:09 +01:00
HgO
d9e22c6ea8 fix linting and improve logs 2024-01-22 11:43:11 +01:00
HgO
86aa44b260 implement matrix client failover 2024-01-22 11:35:13 +01:00
HgO
a08cd69171 handle generic exceptions 2023-01-29 21:44:24 +01:00
HgO
fbbd66edd7 Resolve "Renvoyer l'alerte quand on reçoit une RoomSendError" 2022-11-25 18:59:32 +00:00
HgO
17f24cb086 create custom logger to log at debug level webhook requests 2022-10-29 14:18:16 +02:00
HgO
6e589d4e23 handle RoomSendError response event after sending message to Matrix 2022-10-26 18:02:23 +02:00
HgO
b3003d8287 Merge branch '3-afficher-le-texte-des-emojis' into 'master'
Resolve "Afficher le texte des emojis"

Closes #3

See merge request Neutrinet/matrix-alertbot!3
2022-10-26 15:26:16 +00:00
HgO
74a4f3152c display text next to emojis 2022-10-26 17:15:13 +02:00
HgO
8b044523d5 fix incorrect permissions on token file 2022-10-26 17:12:41 +02:00
HgO
229db52537 add tests for key verification callbacks 2022-10-26 15:53:45 +02:00
HgO
425fcd3a7c bugfix 2022-10-26 14:53:29 +02:00
HgO
004a575c81 verify devices with emojis 2022-10-26 13:25:47 +02:00
HgO
57a704cd94 optional config id 2022-08-27 13:46:58 +02:00
HgO
d43ea389af migrate to pyproject.toml and publish to pypi 2022-08-14 15:20:49 +02:00
HgO
dee0ba6c81 setup docker deployment 2022-08-08 16:43:05 +02:00
HgO
264687a62d add tests for chat functions 2022-08-08 12:38:09 +02:00
HgO
6fd687cc90 add force option for update silence 2022-08-08 11:26:08 +02:00
HgO
f284486570 fix silence update 2022-08-08 02:03:25 +02:00
HgO
1555359e03 add logs 2022-08-08 01:59:09 +02:00
HgO
3705f6c219 fix ack existing silence 2022-08-08 01:44:08 +02:00
HgO
4e50ddf5bb useless cache removal 2022-08-08 00:36:39 +02:00
HgO
f381eac689 auto extend silence without duration 2022-08-08 00:28:36 +02:00
HgO
6781bc82fa render alert from jinja2 templates 2022-07-28 17:39:47 +02:00
HgO
bbcc0cc427 webhook accept room_id param; config define list of allowed rooms ; check if duration is positive in command 2022-07-28 14:37:23 +02:00
HgO
6896908432 handle optional alert job 2022-07-28 11:11:50 +02:00
HgO
810f9e2ceb fix remove reaction 2022-07-28 10:35:11 +02:00
HgO
ffd1c898d6 handle invalid duration and silence expired exceptions 2022-07-27 21:35:30 +02:00
HgO
978f0adc61 fix silence status 2022-07-27 21:28:57 +02:00
HgO
a1f701d2ba change max duration to 10 years 2022-07-27 21:11:11 +02:00
HgO
5ed5a4aa08 refactor to handle one alert per matrix event 2022-07-26 19:33:04 +02:00
HgO
8dd72a6416 improve error log 2022-07-17 00:29:36 +02:00
HgO
073cde37db fix silence ID caching 2022-07-17 00:21:44 +02:00
HgO
fba263afe8 handle exception in command creation 2022-07-16 23:20:25 +02:00