Commit Graph

362 Commits

Author SHA1 Message Date
c46190c3fc
Support x-www-form-urlencoded form-data 2023-06-18 03:46:01 +02:00
860e540de1
Better CreateKey API (make all_channels and channels optional) 2023-06-18 02:54:41 +02:00
8cde286cac
Fix failing tests 2023-06-18 02:36:44 +02:00
90830fe384
Fix empty string in channels field in GetKeys route 2023-06-18 02:34:04 +02:00
686f89f75d
change URL to simplecloudnotifier.de 2023-06-18 02:22:29 +02:00
4210af5680
Properly implement compat unack_count 2023-06-18 02:09:05 +02:00
aefc368cfd
Send compat-msgid to compat clients (BF old android client) 2023-06-18 01:55:58 +02:00
67218d8045
Added a few logs 2023-06-18 01:36:34 +02:00
c05deb3a41
allow \n in private-key envs 2023-06-18 01:29:13 +02:00
43d0107fb5
Update goext (fix bool env parsing) 2023-06-18 01:18:33 +02:00
ece7612f9d
more migration fixes 2023-06-18 00:49:29 +02:00
a9809d90cb
fix exception in js-send (logic.js) 2023-06-18 00:25:10 +02:00
bbc9a79996
Fix bug in migration script 2023-06-18 00:24:53 +02:00
b71f1885ec
Fix wrongly named env variables 2023-06-17 23:40:46 +02:00
885aad2047
Update migrationscript 2023-06-17 23:23:54 +02:00
7121afab08
Fix [TestQuotaExceededNoPro, TestQuotaExceededPro] 2023-06-17 20:16:02 +02:00
d9a4c4ffd6
Fix [TestChannelMessageCounter] 2023-06-17 20:08:39 +02:00
fb826919a6
added linter 2023-06-14 15:03:37 +02:00
22720169a2
Tests[TestUserMessageCounter, TestTokenKeysMessageCounter, TestChannelMessageCounter] 2023-06-10 03:41:54 +02:00
7fefd251db
Update TODO.md 2023-06-10 00:15:42 +02:00
5de4f67344
use nil-safe json renderer in ginresp 2023-06-09 21:37:30 +02:00
d396a12d68
fix missing error on missing json header 2023-06-09 20:14:30 +02:00
3888c91a6b
Switch to multi-stage Dockerbuild 2023-06-06 18:52:03 +02:00
562bac6987
Move enum-generate to goext 2023-06-05 13:37:49 +02:00
e825b4dd85
Update PrimaryHash3 2023-05-30 14:25:55 +02:00
08587b7a7a
Tests[**Subscription**] 2023-05-29 01:51:51 +02:00
0daca2cf8f
added UpdateClient route 2023-05-28 23:25:18 +02:00
3a9b15c2be
Use sq.InsertSingle to insert entities 2023-05-28 22:27:38 +02:00
e9b4db0f1c
Validate db schema before startup 2023-05-28 19:59:57 +02:00
312a31ce9e
Fix missing certificates in docker 2023-05-28 17:54:53 +02:00
d4a8a2e720
Tests[SendWithAdminKey, SendWithSendKey, SendWithReadKey, SendWithPermissionSendKey] 2023-05-28 17:38:19 +02:00
dcb4f253d8
fix swagger errors 2023-05-28 17:04:44 +02:00
d0a04bae84
Move to multistage Dockerfile 2023-05-28 16:03:14 +02:00
34ac96edd7
Tests[...]:
- SearchMessageFTSMulti
 - ListMessagesFilteredChannels
 - ListMessagesFilteredChannelIDs
 - ListMessagesFilteredSenders
 - ListMessagesFilteredTime
 - ListMessagesFilteredPriority
 - ListMessagesFilteredKeyTokens
2023-05-28 15:46:46 +02:00
b42ce84c3e
Added [Channels, ChannelIDs, Senders, TimeBefore, TimeAfter, Priority, KeyTokens] filter to ListMessages 2023-05-28 14:05:53 +02:00
2db779b44f
split api.go into multiple files 2023-05-28 13:39:20 +02:00
397bfe78aa
Remove Channel/Username normalization (except TrimSpace) 2023-05-28 13:14:05 +02:00
efaad3f97c
Fix RequestLogCollectorJob sometimes not properly shutting down 2023-05-28 12:31:14 +02:00
624c613bd1
Tests[ListChannelMessagesOfUnsubscribed, ListChannelMessagesOfUnconfirmed1, ListChannelMessagesOfUnconfirmed2, ListChannelMessagesOfRevokedConfirmation] 2023-05-28 03:38:33 +02:00
07b0632c95
Tests[ListChannelSubscriptions] 2023-05-28 03:16:29 +02:00
3d1e6cfa17
Tests[ListSubscribedChannelMessages] 2023-05-28 02:50:55 +02:00
3db636d41a
Tests[ListChannelMessages] 2023-05-28 02:40:24 +02:00
2053b8f07f
Tests[ListMessages, ListMessagesPaginated, ListMessagesPaginatedInvalid] 2023-05-28 02:27:15 +02:00
b1681b53e4
Tests[TokenKeys, TokenKeysInitial, TokenKeysCreate, TokenKeysUpdate, TokenKeysDelete, TokenKeysDeleteSelf, TokenKeysDowngradeSelf, TokenKeysPermissions] 2023-05-28 01:39:55 +02:00
03f60ff316
Tests[RequestLogSimple] 2023-05-27 23:54:14 +02:00
b2df0a5a02
Send channel as prefix for compat clients 2023-05-27 20:02:16 +02:00
8826cb0312
Save used keytoken in messages 2023-05-27 18:51:20 +02:00
a0c72f5b94
Add keytoken explanation to api_more.html 2023-05-27 18:16:32 +02:00
7d9a58ae54
Fix swagger 2023-05-27 17:51:56 +02:00
fd72b512f8
Directly use pygmentize in Makefile (for scn script in Website) 2023-05-27 17:42:06 +02:00