Commit Graph

50 Commits

Author SHA1 Message Date
8a6719fc19
Remove message.owner_user_id field and implement db migrations 2023-07-27 17:44:06 +02:00
308361a834
Prevent deleting messages of subscribed-only channels 2023-07-27 15:23:56 +02:00
f3658d6636
fix wrong data in compat_ids (requery.php) 2023-06-23 11:50:18 +02:00
f4e88bef77
Fix NPE in compat-ack 2023-06-18 13:09:36 +02:00
860e540de1
Better CreateKey API (make all_channels and channels optional) 2023-06-18 02:54:41 +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
7121afab08
Fix [TestQuotaExceededNoPro, TestQuotaExceededPro] 2023-06-17 20:16:02 +02:00
d9a4c4ffd6
Fix [TestChannelMessageCounter] 2023-06-17 20:08:39 +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
08587b7a7a
Tests[**Subscription**] 2023-05-29 01:51:51 +02:00
0daca2cf8f
added UpdateClient route 2023-05-28 23:25:18 +02:00
dcb4f253d8
fix swagger errors 2023-05-28 17:04:44 +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
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
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
b1bd278f9b
Add KeyToken authorization 2023-04-21 21:45:16 +02:00
16f6ab4861
re-implement ack behaviour from version 1.0 for compat 2023-02-03 22:51:03 +01:00
d1cefb0150
API versioning ( basePath == /api/v2/* ) 2023-01-27 10:04:06 +01:00
27b189d33a
BF 2023-01-24 13:52:11 +01:00
e7a45d9a05
Tests[UgradeUserToPro, DowngradeUserToNonPro, FailedUgradeUserToPro, FailToCreateProUser, ReuseProToken] 2023-01-17 22:56:04 +01:00
ec9a326002
Tests[CompatUpgrade] 2023-01-17 22:32:13 +01:00
23c7729fcf
Tests[CompatRegisterPro] 2023-01-17 22:03:27 +01:00
1633449638
Tests[CompatExpand] 2023-01-17 21:30:53 +01:00
3d602af135
Tests[TestSendCompatMessageByQuery, TestSendCompatMessageByFormData] 2023-01-16 20:29:49 +01:00
590665a5e9
create compat-id for messages && TestCreateCompatUser 2023-01-16 18:53:22 +01:00
89fd0dfed7
create migration script for old data 2023-01-15 06:30:30 +01:00
82bc887767
Move to string-ids for all entities (compat translation for existing data) 2023-01-14 00:48:51 +01:00
e737cd9d5c
requests-log db 2023-01-13 17:17:17 +01:00
e49d9159e4
Added freely editable description_name field to channel 2023-01-13 12:43:20 +01:00
14bba38324
migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
679277d59e
catch panic in gin 2022-12-28 00:32:15 +01:00
cebb2ae2b6
small cleanups 2022-12-23 20:27:21 +01:00
56d9f977ae
Tests[ListChannelsDefault, ListChannelsOwned, ListChannelsSubscribedAny, ListChannelsAllAny, ListChannelsSubscribed, ListChannelsAll] 2022-12-22 17:29:59 +01:00
0112d681ac
Fix SQL unmarshalling of optional nested structs (LEFT JOIN) 2022-12-22 12:43:40 +01:00
0cb2a977a0
Save internal_name and display_name in channel 2022-12-22 11:22:36 +01:00
dbc014f819
Added a SQL-Preprocessor - this way we can unmarshal recursive structures (LEFT JOIN etc) 2022-12-21 18:14:13 +01:00
bbf7962e29
move server/* to scnserver/* 2022-12-21 12:35:56 +01:00