Commit graph

199 commits

Author SHA1 Message Date
HgO
d43ea389af migrate to pyproject.toml and publish to pypi 2022-08-14 15:20:49 +02:00
HgO
3841c3011f merge linting jobs 2022-08-13 14:08:18 +02:00
HgO
89c82f70a7 remove duplicate 2022-08-13 14:04:55 +02:00
HgO
fd3067047c cleanup and add more linting in gitlab ci 2022-08-13 14:00:40 +02:00
HgO
beed628a9b format markdown 2022-08-13 13:48:49 +02:00
HgO
d9aa9601bf update readme 2022-08-13 13:33:14 +02:00
HgO
6903dd383e add code coverage badge 2022-08-08 23:08:58 +02:00
HgO
9f55b34a50 accept comma in code coverage percent regex 2022-08-08 23:03:11 +02:00
HgO
57b894905a remove parallel mode in tests job 2022-08-08 22:57:49 +02:00
HgO
a10ce3e472 coverage percent in pipeline 2022-08-08 22:54:12 +02:00
HgO
9b21fcb6e3 include tests in dockerfile 2022-08-08 22:28:58 +02:00
HgO
e2bdeee237 fix alertmanager tests 2022-08-08 18:58:08 +02:00
HgO
1e0470ce93 install libstdc++ in tests job 2022-08-08 18:11:10 +02:00
HgO
f68fe88de7 add freezegun dependency 2022-08-08 18:04:30 +02:00
HgO
725d8048ab add build tools for install job in gitlab-ci 2022-08-08 17:58:16 +02:00
HgO
0bca2f61f3 install whole package dependencies 2022-08-08 17:54:04 +02:00
HgO
6aa5312e49 fix bin path virtual env 2022-08-08 17:50:58 +02:00
HgO
1fc26b78f3 install dependencies in virtual env 2022-08-08 17:38:53 +02:00
HgO
3595ff9917 typo in gitlab-ci requirements job 2022-08-08 17:30:38 +02:00
HgO
a174211c12 create gitlab-ci 2022-08-08 17:29:03 +02:00
HgO
1c7965b56d change license from apache v2 to agpl v3 2022-08-08 16:53:36 +02:00
HgO
dee0ba6c81 setup docker deployment 2022-08-08 16:43:05 +02:00
HgO
136ca6f69d cleanup readme 2022-08-08 12:48:56 +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
f1691fc3a6 test callbacks for reactions and test caching 2022-07-17 02:35:15 +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
HgO
76b8ead9d7 refactor command to use subclass per command 2022-07-16 23:08:12 +02:00
HgO
c4752d8192 rename /alert endpoint to /alerts 2022-07-12 18:22:11 +02:00
HgO
fa39283bf4 add health endpoint 2022-07-12 18:19:52 +02:00
HgO
cd196c2143 improve error message 2022-07-12 00:29:55 +02:00
HgO
1e006cb66f parse duration once in command and handle exceptions 2022-07-12 00:27:17 +02:00
HgO
6350da94f4 improve error message 2022-07-11 23:45:15 +02:00
HgO
19d42fc1af don't send message for nothing 2022-07-11 23:43:27 +02:00
HgO
bb14e9dda8 fix error message 2022-07-11 23:41:30 +02:00