eikendev
e676b723e9
Sanitize notification before processing it
2022-02-13 16:57:07 +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
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
Raphael Eikenberg
26e9669eb0
Merge pull request #30 from CubicrootXYZ/delete-messages
...
Add delete endpoint for messages
2021-06-19 10:02:37 +02:00
Cubicroot
c1cc369d1e
more strict type handling
2021-06-17 17:37:24 +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
c5e4669fda
clean up
2021-06-11 10:21:48 +02:00
Cubicroot
e87f775b1d
add tests for config
2021-06-11 10:13:17 +02:00
eikendev
628d96bdb7
Fix linting errors
2021-06-11 00:11:30 +02:00
Cubicroot
975c0a246b
remove debug
2021-06-08 13:10:59 +02:00
Cubicroot
60277386d9
polish implementation
2021-06-08 13:00:31 +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
Cubicroot
ec0e4bf316
remove debug
2021-05-03 18:44:50 +02:00
Cubicroot
b0efac8b45
rework title coloring
2021-05-02 18:11:14 +02:00
Cubicroot
2ff9f5972a
adopt to review
...
change formatting options to separate struct and clean up
2021-05-02 15:37:54 +02:00
Cubicroot
fe1cbdf79e
add coloring option for title
2021-05-02 12:27:13 +02:00
Cubicroot
567c814968
added formatting options
2021-05-01 21:34:21 +02:00
eikendev
2e2326843f
Repair channels if necessary
2021-02-09 00:05:16 +01:00
eikendev
f5560b0c46
Send formatted messages
2021-02-08 13:50:20 +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