Commit graph

29 commits

Author SHA1 Message Date
e0a407acd9 feat: add generic formatter that will just return json sent 2021-11-09 01:41:26 -05:00
93f84859b4 feat: add config file handling 2021-11-05 10:01:32 -04:00
d964f75c84 fix: correct missed envar for api_keys 2021-11-04 13:58:12 -04:00
ab5927bfa4 feat(conf)!: allow multiple keys to be used for different endpoints 2021-11-04 13:26:54 -04:00
8e5a90ec1f refactor: clean-up 'weird' formatting 2021-11-04 00:17:24 -04:00
87ac023631 fix: correct except clauses missing exceptions 2021-11-03 23:42:44 -04:00
1ea47991e4 fix: correct exception case for invalid formatter module 2021-11-03 17:05:45 -04:00
0d92c378c4 feat: breakout formatters into their own plugin-like module to ease additonal formatters 2021-11-03 17:02:22 -04:00
d82a0ba9bd first attempt at this disaster 2021-11-03 16:12:52 -04:00
793a5e8c8c fix: correct missing colon on try 2021-11-03 15:51:05 -04:00
09fe26633f add basic functionality for pingdom formatter 2021-11-03 00:19:52 -04: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