Commit Graph

264 Commits

Author SHA1 Message Date
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
28c2721036
Use gotestsum for make test 2023-05-27 15:39:07 +02:00
a1788bf75a
use swaggo 1.8.12 2023-04-25 20:08:30 +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
01934e29b1
todos 2023-02-03 20:12:41 +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
e05d88682a
Tests[ListClients] 2023-01-18 21:56:37 +01:00
2a5f1f5f7e
Tests[CompatUpdate, CompatUpdateFCM] 2023-01-17 23:10:38 +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
7fcd324299
Tests[CompatRequery] 2023-01-17 21:47:53 +01:00
1633449638
Tests[CompatExpand] 2023-01-17 21:30:53 +01:00
57231a1406
Tests[CompatAck] 2023-01-17 21:14:42 +01:00
2eb6292733
improve AssertEqual to handle annoying json.Unmarshal type conversions... 2023-01-17 20:41:45 +01:00
ff24493ff3
Tests[CompatRegister, CompatInfo] 2023-01-17 20:27:20 +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
acd7de0dee
cherry-pick caller logprint fix from psycho-backend 2023-01-13 17:51:55 +01:00
e737cd9d5c
requests-log db 2023-01-13 17:17:17 +01:00
0ec7a9d274
add methods for (some) missing test cases 2023-01-13 12:54:19 +01:00
e49d9159e4
Added freely editable description_name field to channel 2023-01-13 12:43:20 +01:00
3343285761
goext 55 2023-01-06 02:03:10 +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
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
2b4d77bab4
Cleaner swagger routes 2022-12-21 11:03:31 +01:00
8582674b44
Refactoring 2022-12-20 13:55:09 +01:00
f7675be834
Use multiple DB connections but retry failed requests 2022-12-20 09:52:33 +01:00
00d77e508d
Fix TestSendParallel by using only a single DB connection
see https://github.com/mattn/go-sqlite3/issues/274
see https://github.com/mattn/go-sqlite3/issues/209
see https://stackoverflow.com/questions/32479071/sqlite3-error-database-is-locked-in-golang
2022-12-20 09:22:18 +01:00
e90cfe34e9
switch to new registry image-name 2022-12-16 14:57:17 +01:00
54dfd535a4
Move parseConfOverride() to goext 2022-12-16 01:07:48 +01:00
5a02eb6d18
Prefix all config key with SCN_* 2022-12-14 18:46:26 +01:00
97fc9319d1
Fix wrong env keys in config.go 2022-12-14 18:43:32 +01:00
03b4acd13e
Tests[CreateProUser] 2022-12-14 18:38:30 +01:00
86f06a3c6a
Tests[CreateChannel, CreateChannelNameTooLong, ChannelNameNormalization] 2022-12-14 18:27:22 +01:00
06e8d2a6e2
Tests[SendLongContentPro] 2022-12-14 18:18:02 +01:00
99f248a8ce
Tests[SendParallel] (skipped for now) 2022-12-14 18:08:03 +01:00