Evgeny Poberezkin
cabfee51f6
log file name in fixFileSize
2024-10-23 12:04:15 +01:00
Evgeny Poberezkin
5ed4a04f96
remove comment
2024-10-23 11:48:27 +01:00
Evgeny Poberezkin
3d610efe1e
space
2024-10-23 10:56:44 +01:00
Evgeny Poberezkin
b7624a0d04
refactor
2024-10-23 10:28:46 +01:00
Evgeny Poberezkin
9807ef2b0c
logs
2024-10-23 10:04:13 +01:00
Evgeny Poberezkin
9f28ee9ffe
colon
2024-10-23 09:51:10 +01:00
Evgeny Poberezkin
00650bbe3e
version
2024-10-23 09:47:45 +01:00
Evgeny Poberezkin
12c3ce95fd
smp server: fixed logging format for journal store errors
2024-10-23 09:45:30 +01:00
Evgeny
c9c075fd49
smp server: merge quota messages and set queue to "over quota" state after restoring, server tests with journal and memory store ( #1380 )
...
* smp: run server tests with journal and memory store
* merge quota messages, set queue to "over quota" state after restoring
* fix test
2024-10-23 09:17:23 +01:00
Evgeny
1484523164
smp server, journal store: check file size on append, validate queue state ( #1377 )
...
* smp server: journal store queue state validation
* validate state on update, refactor
* handle message parsing errors
* typo
* fix test, throw exception when file is smaller than expected
* fix
* fix test in ghc 8.10.7
2024-10-22 12:09:51 +01:00
Evgeny
dc17402896
smp server: updated journal store API ( #1374 )
...
* core: updated journal store API
* parameterize JournalState by read/write type
* collect stats when importing/expiring
* compare stored stats and store for messages and notifications
* simplify
2024-10-21 16:50:07 +01:00
Evgeny
0414ea59f0
smp server: journal message store ( #1370 )
...
* smp server: remove STM function from MsgStore
* polymorphic MsgStore
* jourmal storage for messages (WIP)
* more journal, test setup
* writeMsg
* test
* tryDelMsg
* delMsgQueue
* remove MsgStoreClass instance of existential wrapper for Msg stores
* store config
* extract common logic out of store instances
* add store type to config
* open journals, cache last message, tests pass
* CLI commands
* refactor import/export messages
* cli commands to import/export journal message store
* export journal without draining, import/export tests
* journal command
* import/export progress
* better progress info
* only log queue state once when importing
* logs
* handle IO errors in journal store, return as STORE error
* recover from state file errors
* fix message files after crash
* fix messages folder
2024-10-21 11:50:30 +01:00
Evgeny Poberezkin
967afaf802
6.1.1.0
v6.1.1
2024-10-18 12:47:27 +01:00
Evgeny
77ee9bea38
smp protocol: add STORE error ( #1372 )
2024-10-18 10:13:01 +01:00
Evgeny
e0cd28a65a
smp server: stop server faster ( #1371 )
...
* smp server: stop server faster
* .702
* asks
* fix leak
* kill client when server stopped
* remove version
* fix version
2024-10-18 09:12:59 +01:00
Evgeny Poberezkin
7b6c86c6c1
docs: correction
2024-10-14 08:32:19 +01:00
Evgeny Poberezkin
1d0a418011
rfc: rename file
2024-10-12 17:12:45 +01:00
Evgeny Poberezkin
9253f5647a
Merge branch 'stable'
2024-10-12 16:30:54 +01:00
Evgeny Poberezkin
c41bfe831d
6.1.0.7: changelog for v6.1.0
v6.1.0
2024-10-11 13:01:12 +01:00
Alexander Bondarenko and Evgeny Poberezkin
c9af7e327e
smp server: graceful shutdown on SIGINT ( #1360 )
...
* smp-server: graceful shutdown on SIGINT
* .501
* clean up
* remove version
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-10-11 12:49:15 +01:00
Evgeny
8870442830
smp server: reject SKEY with different key earlier (at verification step), add tests ( #1366 )
2024-10-11 12:13:52 +01:00
spaced4ndy and Evgeny Poberezkin
9ad26c97a1
agent: prepareConnectionToAccept api ( #1365 )
...
* agent: prepare conn (plan)
* implement
* refactor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-10-11 11:05:14 +01:00
spaced4ndy
e1201f0967
agent: test db indexes ( #1364 )
2024-10-09 15:16:08 +04:00
Evgeny Poberezkin
ca2202e3c8
6.1.0.6
v6.1.0-beta.6
2024-10-07 22:41:53 +01:00
Evgeny
f24ee70138
clients: do not send SNI ( #1363 )
2024-10-07 22:40:30 +01:00
Evgeny Poberezkin
8981cae3c2
ci: always generate change log
2024-10-07 22:22:02 +01:00
Evgeny Poberezkin
b8971a31bc
6.1.0.5
v6.1.0-beta.5
2024-10-07 10:24:19 +01:00
Evgeny
e01398a31a
agent: send MSGNTF on NO_MSG error ( #1362 )
...
* agent: send MSGNTF on NO_MSG error
* simplify
2024-10-07 10:22:58 +01:00
Evgeny
f871f20172
smp server: fix notification delivery ( #1350 )
...
* .401
* stats for undelivered notifications
* logs, stats
* control port show ntf client IDs
* check that Ntf client is still current and that queue is not full, drop notifications otherwise
* prevent losing notifications when client is not current or queue full
* add log when no notifications, remove some logs
* reduce STM transaction
* revert version change
2024-10-07 09:01:28 +01:00
Evgeny
80d3518d55
tests: store log ( #1348 )
...
* 6.1.0.4
* tests: store log
* random
* more tests
2024-10-06 21:21:08 +01:00
spaced4ndy and Evgeny Poberezkin
49935473ae
ntf: agent to notfiy MSGNTF on successful ack ( #1355 )
...
* ntf: agent to notfiy MSGNTF on successful ack
* move msgntf
* release lock earlier
* fix tests
* do not release get lock
* fix
* diff
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-10-06 19:48:22 +01:00
Evgeny
0705d05078
smp: transport block encryption ( #1317 )
2024-10-06 18:05:06 +01:00
Evgeny
97d45fb2a6
smp server: pass server information via CLI during server initialization ( #1356 )
...
* smp server: pass server information via CLI during server initialization
* more info
* enable client expiration by default, disable port 8000
* update
2024-10-06 12:34:44 +01:00
Evgeny
50e4abf836
ntf server: control port ( #1354 )
...
* ntf server: control port
* version .405
* control
* use own_server_domains from INI file
* fix subs by server in control port
* bigger queues
* ntf server: only print subscriptions per own server when they are > 0
* fix tests
* revert version change
* dont import listThreads in ghc 8.10.7
2024-10-06 12:33:14 +01:00
spaced4ndy
b130ea439a
server: fix msgGetNoMsg stat ( #1358 )
2024-10-04 17:19:05 +04:00
sh
0e921d3258
scripts: preparations for new deployments ( #1357 )
...
* scripts/install: allow specifying version
* scripts/update: allow specifying version
* scripts/services: allow 443 for smp, allow infinite startup
2024-10-04 09:57:07 +01:00
Evgeny
d0f65329fb
ntf server: enable pings on ntf subscriptions ( #1353 )
2024-10-03 12:12:55 +01:00
Evgeny Poberezkin
61b2b9df1a
Re-commit: smp server: persist notifications to avoid losing them when ntf server is offline ( #1336 )
...
This reverts commit 0ba3e69872 .
2024-10-02 12:23:46 +01:00
Evgeny Poberezkin
04e4a37d85
6.1.0.4
v6.1.0-beta.4
2024-10-02 09:51:29 +01:00
Evgeny Poberezkin
0ba3e69872
Revert "smp server: persist notifications to avoid losing them when ntf server is offline ( #1336 )"
...
This reverts commit 0739f7b702 .
2024-10-02 09:49:43 +01:00
Evgeny Poberezkin
7488923fc3
6.0.6.0
v6.0.6
2024-10-02 09:24:29 +01:00
Evgeny
cf559ee43f
smp server: fix notifiers lost when compacting store log ( #1347 )
2024-10-02 09:24:04 +01:00
Evgeny
2ab0c2a7c6
smp server: fix notifiers lost when compacting store log ( #1347 )
2024-10-01 22:28:01 +01:00
spaced4ndy
243548631a
ntf: repeat failed token deletions ( #1346 )
2024-10-01 16:30:14 +04:00
Evgeny Poberezkin
da79d544cf
6.1.0.3
2024-09-30 18:27:14 +01:00
spaced4ndy
e808825c95
ntf: fix endless worker loop ( #1345 )
2024-09-30 15:29:14 +01:00
Evgeny Poberezkin
a9576935cf
6.1.0.2
v6.1.0-beta.2
2024-09-29 18:54:04 +01:00
spaced4ndy and Evgeny Poberezkin
9cf6c97137
ntf: batch ntf worker command processing ( #1337 )
...
* ntf: batch ntf worker command processing
* remove comment
* change batch size
* wip
* catch
* refactor
* refactor
* batch check
* refactor
* reschedule
* increase ntfSubCheckInterval
* first check interval
* check more statuses
* refactor, remove foldr'
* refactor 2
* refactor client
* refactor 3
* ntf server: improve support for batched commands (#1340 )
* re-create ntf subscriptions on NTF AUTH errors
* name
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-09-29 18:50:38 +01:00
Evgeny
0739f7b702
smp server: persist notifications to avoid losing them when ntf server is offline ( #1336 )
...
* ntf server: types for storing notifications
* fix tests
* remove comments
* batch NMSGs test
* fix test
* thread to expire notifications
* persist notifications on restart
* optimize
* refactor
* remove reverse
* control port stats
2024-09-29 18:50:16 +01:00
Evgeny
e12710fa55
smp server: show version on server page ( #1341 )
2024-09-29 18:46:38 +01:00