Commit graph

74 commits

Author SHA1 Message Date
cubicroot
a0ec05ab2c Merge remote-tracking branch 'origin/main' into alertmanager-interface 2022-04-21 18:59:17 +02:00
cubicroot
64583e3710 Handle lables and annotations 2022-04-21 18:52:57 +02:00
eikendev
ed78c18c24
Fix tests after Go update 2022-04-20 22:38:30 +02:00
eikendev
0b8d22d293
Use gofumpt as code formatter 2022-04-20 22:08:21 +02:00
cubicroot
d1c62e24ed Merge remote-tracking branch 'origin/main' into alertmanager-interface 2022-04-18 12:53:09 +02:00
eikendev
f839f248b9
Use logrus for logging 2022-04-11 23:46:02 +02:00
cubicroot
85c4ae071a omit empty relates to 2022-04-09 12:47:32 +02:00
cubicroot
e9c0b6e3a9 fix empty notifications 2022-04-08 20:14:22 +02:00
cubicroot
8b465d0815 alertmanager interface 2022-04-08 19:57:30 +02:00
cubicroot
4e8c477ae3 remove gomatrix dependency and clean up 2022-03-13 18:25:04 +01:00
Cubicroot
dc6c76747f
Merge branch 'main' into #24-switch-to-mautrix 2022-03-06 17:32:29 +01:00
eikendev
5267359a60
Add semgrep-rules as submodule 2022-02-13 21:00:06 +01:00
Raphael Eikenberg
561ad9df59
Merge pull request #40 from pushbits/sast
Scan the code with SAST
2022-02-13 17:38:43 +01:00
eikendev
e676b723e9
Sanitize notification before processing it 2022-02-13 16:57:07 +01:00
eikendev
66a2e74241
Merge branch 'main' into sast 2022-02-13 15:57:06 +01:00
eikendev
23e64b8380
Add scans with Semgrep 2022-02-13 15:54:57 +01:00
eikendev
5cd3627dc6
Add scans with gosec 2022-02-13 15:06:54 +01:00
cubicroot
eef62f4058 Use #39 2022-02-13 13:18:13 +01:00
cubicroot
4e77180e88 Merge remote-tracking branch 'origin/main' into #24-switch-to-mautrix 2022-02-13 13:00:55 +01:00
eikendev
be99411b1b
Consider the prefix when testing token length 2022-02-13 11:55:43 +01:00
eikendev
500a8cd4b0
Reintroduce check for minimum token length 2022-02-12 18:58:54 +01:00
eikendev
47f10c03ae
Fix token lengths 2022-02-11 23:48:08 +01:00
cubicroot
87c339695d wording 2022-02-11 22:10:37 +01:00
cubicroot
728c84676c multiple smaller fixes and improvements 2022-02-11 22:10:05 +01:00
cubicroot
a1558f6f63 remove unused var 2022-02-10 20:25:41 +01:00
cubicroot
bb5755cfd3 completely move to mautrix 2022-02-10 20:20:16 +01:00
cubicroot
855e20978e Move all message sending to mautrix 2022-02-09 20:38:24 +01:00
cubicroot
e48cbae59b send first message via mautrix 2022-02-09 20:17:55 +01:00
Cubicroot
98de0ef7e9 add tags and id 2021-10-11 19:44:29 +02:00
Cubicroot
62af2424fa fix swag location 2021-10-01 18:24:31 +02:00
Cubicroot
26187a8adf trigger workflow 2021-10-01 18:23:23 +02:00
Cubicroot
54d3cef46a add openapi docu 2021-10-01 18:19:50 +02:00
Cubicroot
b940b159a9 add documentation for applications 2021-09-30 19:56:46 +02:00
Cubicroot
db9eaa796a basic openapi docu 2021-09-30 18:55:50 +02:00
eikendev
9c22816495
Add tests for token generation 2021-09-15 21:22:35 +02:00
eikendev
8b90541a8f
Make test feedback a bit more consistent 2021-09-15 20:24:18 +02:00
Cubicroot
125e9ddd53 use require to stop failing tests 2021-09-15 18:29:05 +02:00
Cubicroot
a6fa829165 add testing for util.go 2021-08-06 21:34:30 +02:00
Cubicroot
562ee7aa4a remove unused method 2021-07-25 18:07:27 +02:00
Cubicroot
87ea474b47 tests for GetUser and DeleteUser 2021-07-25 18:06:56 +02:00
Cubicroot
a5bf786299 add update user unittest 2021-07-25 16:36:24 +02:00
Cubicroot
3d84c4f257 add test for delete notification 2021-07-23 19:41:48 +02:00
Cubicroot
ea13efca02 add unittest for create notification 2021-07-22 19:22:51 +02:00
Cubicroot
c1631dd53e test for health 2021-07-21 20:48:03 +02:00
Cubicroot
4e01354c90 move to separate config file for testing 2021-07-05 19:46:48 +02:00
Cubicroot
3ad8a5044e get rid of external data for testing 2021-06-28 18:56:24 +02:00
Cubicroot
4c84589172 improve code 2021-06-20 17:48:04 +02:00
Cubicroot
dafc815be5 move errors to new package to break import cycle 2021-06-20 17:39:10 +02:00
Cubicroot
5f5d941bc4
Merge branch 'master' into testing 2021-06-20 17:24:14 +02:00
Cubicroot
e6f24c4458 add test for getUser & add readme 2021-06-19 16:59:30 +02:00