Commit Graph

48 Commits

Author SHA1 Message Date
9d35916280
Fix missing field in clients struct and non-partial fcmtoken index (also streamline db migrations)
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m52s
Build Docker and Deploy / Deploy to Server (push) Successful in 7s
2024-09-17 22:26:45 +02:00
4c7632a144
Set delivery to FAILURE if [client|user|message|channel] no longer exists
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m52s
Build Docker and Deploy / Deploy to Server (push) Successful in 6s
2024-09-17 20:49:10 +02:00
e329e13a02
Auto-delete clients when FB returns UNREGISTERED
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m53s
Build Docker and Deploy / Deploy to Server (push) Successful in 7s
2024-09-16 20:11:28 +02:00
7ddaf5d9aa
Migrate deliveries.next_delivery from type:string to type:int (SCNTime)
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m46s
Build Docker and Deploy / Deploy to Server (push) Successful in 6s
2024-09-16 18:26:28 +02:00
5da4c3d3b9
Fix dbConverter error when unmarshalling (failed) deliveries
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m48s
Build Docker and Deploy / Deploy to Server (push) Successful in 5s
2024-09-16 17:55:13 +02:00
527a659a1b
Refactor models to use single struct per entity 2024-09-15 21:26:36 +02:00
c204dc5a8b
Refactor server to go-sqlite and ginext [WIP] 2024-07-16 17:20:00 +02:00
55d0dea835
Refactor server to go-sqlite and ginext [WIP] 2024-07-16 17:20:00 +02:00
35771c11e7
add tests for /preview/* routes
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m46s
Build Docker and Deploy / Deploy to Server (push) Successful in 6s
2024-06-12 01:08:02 +02:00
0560330f68
Fix 4->5 migration
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 2m1s
Build Docker and Deploy / Deploy to Server (push) Successful in 7s
2024-06-01 14:15:47 +02:00
16d97ad08f
Refactor client.descriptionName to client.name 2024-06-01 13:45:28 +02:00
4c02afb957
Add description_name to clients 2024-06-01 01:01:58 +02:00
7553e1f51e
Upgrade goext 2024-06-01 00:25:56 +02:00
97a834ae6a
Increase RequestMaxRetry and decrease RequestRetrySleep (also remove CreateChanel struct from 77cfe750)
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 1m37s
Build Docker and Deploy / Deploy to Server (push) Successful in 10s
2024-05-26 19:33:19 +02:00
77cfe75043 Added Optional channel description name to channel creation, adjusted tests
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 2m22s
Build Docker and Deploy / Deploy to Server (push) Successful in 11s
2024-02-24 12:20:41 +01:00
165c6d8614
Refactor API of /api/v2/users/{uid}/subscriptions 2023-07-30 15:58:37 +02:00
8a6719fc19
Remove message.owner_user_id field and implement db migrations 2023-07-27 17:44:06 +02:00
4210af5680
Properly implement compat unack_count 2023-06-18 02:09:05 +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
e825b4dd85
Update PrimaryHash3 2023-05-30 14:25:55 +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
624c613bd1
Tests[ListChannelMessagesOfUnsubscribed, ListChannelMessagesOfUnconfirmed1, ListChannelMessagesOfUnconfirmed2, ListChannelMessagesOfRevokedConfirmation] 2023-05-28 03:38:33 +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
57231a1406
Tests[CompatAck] 2023-01-17 21:14:42 +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
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
984470b47d
Fix sql-preprocessor leading to deadlocks in parallel requests 2022-12-22 16:51:04 +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
f65c231ba0
Properly shutdown database on SIGTERM 2022-12-22 10:21:10 +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