Commit graph

274 commits

Author SHA1 Message Date
a9748f409d Alerts: prevent crash on unknown severity level 2024-11-06 09:49:40 +01:00
HgO
313795d050 Merge branch 'more-debug-messages' into 'master'
Ajout de messages de debug

See merge request Neutrinet/matrix-alertbot!16
2024-11-03 13:37:57 +00:00
HgO
ecf6e8b017 linting 2024-11-03 14:34:20 +01:00
HgO
a8c953477c add more debug messages 2024-11-03 14:28:15 +01:00
HgO
6feeadda69 Merge branch 'fix-dm-label-filtering' into 'master'
Fix DM label filtering and find DM rooms with only the bot(s) and user in it

See merge request Neutrinet/matrix-alertbot!15
2024-08-12 11:31:46 +00:00
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
949ace768a Merge branch 'fix-power-levels-dm-room' into 'master'
Grants admin rights when creating dm room

See merge request Neutrinet/matrix-alertbot!14
2024-08-11 16:22:25 +00:00
HgO
26b5fa7fb4 grants admin rights when creating dm room 2024-08-11 18:18:20 +02:00
HgO
27441bb2d5 Merge branch '12-alertes-en-message-prive' into 'master'
Resolve "Alertes en message privé"

Closes #12

See merge request Neutrinet/matrix-alertbot!13
2024-08-11 07:46:17 +00:00
HgO
dfd1beb238 rename config property user_id to select_values 2024-08-11 09:42:32 +02:00
HgO
34ef836d96 supported python version to 3.12 2024-08-04 11:29:27 +02:00
HgO
c987a8ced7 remove unused import 2024-08-04 11:28:24 +02:00
HgO
d69f9b8196 upgrade python version to 3.11 2024-08-04 11:28:13 +02:00
HgO
13976ea254 feature to send alerts in direct message 2024-08-04 11:08:43 +02:00
HgO
d277d742e7 Merge branch 'fix-multi-mention' into 'master'
Multi mentions pas reconnue par le bot

See merge request Neutrinet/matrix-alertbot!12
2024-04-20 15:57:37 +00:00
HgO
8214045948 Merge branch 'master' of ssh://gitlab.domainepublic.net:3265/Neutrinet/matrix-alertbot into fix-multi-mention 2024-04-20 17:52:47 +02:00
HgO
0817275f91 Merge branch 'fix-timeout-exception' into 'master'
TimeoutError n'est pas capturée

See merge request Neutrinet/matrix-alertbot!11
2024-04-20 15:52:03 +00: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
db69401061 Merge branch '11-amelioration-de-l-experience-utilisateur' into 'master'
Resolve "Amélioration de l'expérience utilisateur"

Closes #11

See merge request Neutrinet/matrix-alertbot!10
2024-04-18 10:09:07 +00:00
HgO
d94ebdb3d8 fix test for help command 2024-04-18 12:06:07 +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
60572d03fa make pipeline fail if code coverage < 75% 2024-04-17 16:41:46 +02:00
HgO
cc77c27956 fix code coverage report 2024-04-17 16:33:24 +02:00
HgO
0d7726acd9 fix code coverage report 2024-04-17 16:30:09 +02:00
HgO
d330e88d54 fix code coverage report 2024-04-17 16:20:58 +02:00
HgO
f27a2489ed fix pipeline to use coverage report from pytest 2024-04-17 16:11:30 +02:00
HgO
dcd16f71e8 Merge branch '10-permettre-plusieurs-comptes-matrix' into 'master'
Resolve "Permettre plusieurs comptes matrix"

Closes #10

See merge request Neutrinet/matrix-alertbot!9
2024-04-17 14:02:35 +00:00
HgO
d0fe802f8b linting 2024-04-17 15:59:39 +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
6cfdf342e6 Merge branch '9-meilleure-gestion-des-exceptions-pour-le-serveur-http' into 'master'
Resolve "Meilleure gestion des exceptions pour le serveur HTTP"

Closes #9

See merge request Neutrinet/matrix-alertbot!8
2023-01-29 20:48:33 +00:00
HgO
a08cd69171 handle generic exceptions 2023-01-29 21:44:24 +01:00
HgO
c34a823c35 Merge branch '8-renvoyer-l-alerte-quand-on-recoit-une-roomsenderror' into 'master'
Resolve "Renvoyer l'alerte quand on reçoit une RoomSendError"

Closes #8

See merge request Neutrinet/matrix-alertbot!7
2022-11-25 18:59:33 +00:00
HgO
fbbd66edd7 Resolve "Renvoyer l'alerte quand on reçoit une RoomSendError" 2022-11-25 18:59:32 +00:00
HgO
a2ba654a77 Merge branch '5-logguer-les-acces-aux-metrics-en-debug' into 'master'
Resolve "Logguer les accès aux metrics en debug"

Closes #5

See merge request Neutrinet/matrix-alertbot!5
2022-10-29 12:22:44 +00:00
HgO
17f24cb086 create custom logger to log at debug level webhook requests 2022-10-29 14:18:16 +02:00
HgO
21c568312b Merge branch '4-handle-roomsenderror-response-event-after-sending-a-message-to-matrix' into 'master'
Resolve "Handle RoomSendError response event after sending a message to Matrix"

Closes #4

See merge request Neutrinet/matrix-alertbot!4
2022-10-26 16:14:21 +00:00
HgO
433cb4237b format code 2022-10-26 18:08:36 +02:00
HgO
6e589d4e23 handle RoomSendError response event after sending message to Matrix 2022-10-26 18:02:23 +02:00