Commit graph

39 commits

Author SHA1 Message Date
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
8b465d0815 alertmanager interface 2022-04-08 19:57:30 +02: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
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
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
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
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
Cubicroot
46dd19b07d getApplication testing 2021-06-17 17:33:07 +02:00
Cubicroot
ef5409eb35 add Tests for getID 2021-06-13 18:09:57 +02:00
Cubicroot
49ec908fce add tests for deleting and updating applications 2021-06-12 17:57:55 +02:00
Cubicroot
ee212e11c3 enhance application testing 2021-06-11 19:03:04 +02:00
Cubicroot
ac5819dfc9 move respond/replace logic to separate functions 2021-06-11 10:47:11 +02:00
Cubicroot
e87f775b1d add tests for config 2021-06-11 10:13:17 +02:00
Cubicroot
eebc7f7e31 get delete messages to work 2021-06-06 21:13:07 +02:00
Cubicroot
b392ea1b44 add endpoint for delete 2021-06-06 19:30:25 +02:00
Cubicroot
5be204dc19 proof of concept 2021-06-02 17:46:04 +02:00
eikendev
2e2326843f
Repair channels if necessary 2021-02-09 00:05:16 +01:00
eikendev
d7721e827b
Add option to enforce strict compatibility
Some plugins check for token length. Since PushBits uses longer tokens by default for better security, these plugins are
incompatible. With this patch, users can decide if they want an application to have a short token, so that said plugins
can talk to PushBits again.
2021-02-08 00:34:33 +01:00
eikendev
9a4a096526
Restructure project layout 2021-01-16 16:56:49 +01:00