Commit Graph

46 Commits

Author SHA1 Message Date
Timo Schlüßler
a4a13aec0b Fixes regression from ac3e34e22a 2024-03-08 23:53:12 +01:00
Guilhem Saurel
65ad9444d0
Merge pull request #135 from nim65s/reconnect
try reconnections on LocalProtocolError, fix #135
2024-03-08 21:55:42 +01:00
Guilhem Saurel
dcda34e220 formatters: gitlab webhook: token is optional 2024-03-07 17:41:07 +01:00
Guilhem Saurel
3389f87cb9
Merge branch 'master' into reconnect 2024-03-07 17:32:50 +01:00
Guilhem Saurel
e4938ae344 add mwe formatter.gitlab_webhook 2024-03-07 17:30:52 +01:00
Guilhem Saurel
7109681d99 try reconnections on LocalProtocolError, fix #135 2024-03-07 09:25:58 +01:00
Guilhem Saurel
9deea93d43 try reconnections on LocalProtocolError, fix #132 2024-03-06 17:51:53 +01:00
Guilhem Saurel
4816698b4d fix G004 2024-02-20 10:58:23 +01:00
Guilhem Saurel
6280ec62a6
update naming 2024-02-20 10:04:57 +01:00
pre-commit-ci[bot]
a7841ed088 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-19 22:10:13 +00:00
Timo Schlüßler
ac3e34e22a FIX : more consistent naming for server socket path argument/environment variable
FIX : ruff error about using Path.chmod instead of os.chmod
2024-02-19 23:08:02 +01:00
Timo Schlüßler
cded618892 Optionally serve hooks via a UNIX domain socket. 2024-02-19 15:42:53 +01:00
Guilhem Saurel
cfe9ddf529 fix B034 2023-08-01 13:00:15 +02:00
Guilhem Saurel
6507e3016d format: split long string 2023-06-11 22:37:52 +02:00
pre-commit-ci[bot]
929fc79c2e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-11 08:35:24 +00:00
Peter Kern
9bf937245e
Adds formatter for "github release notifier" notifications 2023-06-11 10:24:35 +02:00
Guilhem Saurel
2a8ab12caa error_map: default to 500 2023-04-08 15:11:07 +02:00
Thomas Steinert
bf8db5d151 add a healthcheck for load balancers 2023-04-06 10:50:25 +02:00
Guilhem Saurel
f90a21e4e6 flake8, pydocstyle, pyupgrade → ruff 2023-03-09 00:07:23 +01:00
Guilhem Saurel
96bccc7498 parser: add auth group for (pw | token) 2023-03-08 17:15:04 +01:00
pre-commit-ci[bot]
10dc53f753 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-08 14:14:51 +00:00
Alexander Olofsson
a14f8fe625
Add support for using predefined access token 2023-03-08 15:08:26 +01:00
Guilhem Saurel
aebff8b46a fix isort 2023-03-07 13:06:29 +01:00
Sven Seeberg
e139c3a61b
Support Grafana v9.x messages, fixes #29 2022-09-07 17:45:32 +02:00
Guilhem Saurel
6c7d015b8d add missing docstring 2022-08-01 23:59:20 +02:00
Albrecht Muehlenschulte
29653fc04b adds script 2022-08-01 23:51:29 +02:00
Guilhem Saurel
b66b9717e4 pyupgrade 2022-03-04 00:13:57 +01:00
Ghislain Chatras
f6bf150c7f
Add gitlab formatter
Only for Google Chat and Microsoft Teams notification integrations
2022-03-03 19:17:40 +01:00
Guilhem Saurel
2a78594861 handle M_CONSENT_NOT_GIVEN, fix #15 2021-10-12 16:23:24 +02:00
Guilhem Saurel
b3a2e00f43 comments 2021-09-28 10:58:32 +02:00
Guilhem Saurel
d2a3e618f4 join room: fix error code & unit tests 2021-09-28 10:39:41 +02:00
Benjamin Böhmke
7ffa47c267 join room before sending message 2021-09-18 12:20:57 +02:00
Guilhem Saurel
624a1b2c08 grafana formatter: smaller titles 2021-09-13 17:03:57 +02:00
Guilhem Saurel
d0c4cd4227 formatters: fix github format 2021-09-12 15:55:10 +02:00
Guilhem Saurel
6b5d6e6e87 formatters: add github 2021-08-27 23:47:07 +02:00
Guilhem Saurel
4bcdb25c80 formatters: also get headers 2021-08-27 20:05:08 +02:00
Guilhem Saurel
7f20fb7ff9 split code in utils / handler / app 2021-08-27 18:33:18 +02:00
Guilhem Saurel
eb3c795368 lint: fix line length 2021-08-27 18:15:58 +02:00
Guilhem Saurel
0ccec84eef room_id can come from url, content, or parameters 2021-08-01 13:20:03 +02:00
Guilhem Saurel
2d232fe1f7 add grafana formatter
This was initially designed and implemented in #4

Co-authored-by: Sven Seeberg <mail@sven-seeberg.de>
2021-08-01 13:19:58 +02:00
Guilhem Saurel
3bebc88ee2 allow direct formatted_body
This was initially designed and implemented in #6

Co-authored-by: Gerhard Bräunlich <gerhard.braeunlich@id.ethz.ch>
2021-08-01 13:19:53 +02:00
Guilhem Saurel
fa8f9b4a51 allow "key" to be passed as a parameter
This was initially designed and implemented in #4

Co-authored-by: Sven Seeberg <mail@sven-seeberg.de>
2021-08-01 13:19:39 +02:00
Guilhem Saurel
292d77274d update "text" key to "body" 2021-07-31 11:21:29 +02:00
Guilhem Saurel
c9045d407d update README 2021-07-18 18:12:08 +02:00
Guilhem Saurel
00997360eb fix permissions 2021-07-18 16:55:54 +02:00
Guilhem Saurel
a974f073c9 split code 2021-07-18 16:55:16 +02:00