spaced4ndy
a1c34c36a5
empty
2023-07-14 14:24:22 +04:00
spaced4ndy
2bb75c673e
empty
2023-07-14 14:24:18 +04:00
spaced4ndy
5c7129419d
empty
2023-07-14 14:24:09 +04:00
spaced4ndy
1250342170
empty
2023-07-14 14:23:50 +04:00
spaced4ndy
d4b758a171
remove do
2023-07-14 14:23:15 +04:00
spaced4ndy
f1843db462
less prints
2023-07-14 14:22:33 +04:00
spaced4ndy
51273152a5
empty
2023-07-14 14:05:48 +04:00
spaced4ndy
305656dae5
empty
2023-07-14 14:05:44 +04:00
spaced4ndy
79e9da7998
empty
2023-07-14 14:05:40 +04:00
spaced4ndy
86bd07cd3f
empty
2023-07-14 14:05:27 +04:00
spaced4ndy
32050caee6
empty
2023-07-14 14:05:21 +04:00
spaced4ndy
6dab069a3f
empty
2023-07-14 14:05:16 +04:00
spaced4ndy
b2a1617a61
empty
2023-07-14 14:05:12 +04:00
spaced4ndy
0dc3463aae
empty
2023-07-14 14:05:07 +04:00
spaced4ndy
9c2e6e4369
empty
2023-07-14 14:05:02 +04:00
spaced4ndy
0afeb53054
add delay
2023-07-14 14:04:46 +04:00
spaced4ndy
57fba538e2
empty
2023-07-14 13:29:54 +04:00
spaced4ndy
b5b7e7d730
empty
2023-07-14 13:29:50 +04:00
spaced4ndy
1773ce7446
empty
2023-07-14 13:29:43 +04:00
spaced4ndy
34a09f2cc3
empty
2023-07-14 13:29:38 +04:00
spaced4ndy
fe452a0398
empty
2023-07-14 13:29:34 +04:00
spaced4ndy
14cf55a79b
empty
2023-07-14 13:29:29 +04:00
spaced4ndy
64575482a8
empty
2023-07-14 13:29:22 +04:00
spaced4ndy
1e4137594b
empty
2023-07-14 13:13:30 +04:00
spaced4ndy
fa442066e1
empty
2023-07-14 13:13:22 +04:00
spaced4ndy
0cd8212ea3
empty
2023-07-14 13:12:57 +04:00
spaced4ndy
68fdaaf01c
empty
2023-07-14 13:12:44 +04:00
spaced4ndy
e5cdec58fc
empty
2023-07-14 13:12:32 +04:00
spaced4ndy
85c013365e
empty
2023-07-14 13:12:25 +04:00
spaced4ndy
021b3f4d28
files tests prints
2023-07-14 12:50:47 +04:00
Evgeny Poberezkin
58cb2855d2
agent: delivery receipts ( #752 )
...
* rfc: delivery receipts
* update doc
* update rfc
* implementation plan, types, schema
* migration, update types
* update types
* rename migration
* export MsgReceiptStatus, JSON encoding
* update rfc, schema
* correction
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* skeleton of the implementation
* more implementation (some tests fail)
* more code, 1 test fails
* fix encoding
* refactor
* refactor
* test, fix
* only send receipts in v3+, test
* flip condition
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* flip condition
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* agent version 4 required to send receipts
* fix test
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-07-13 22:33:48 +01:00
Evgeny Poberezkin
745a144e0c
5.2.1 (ntf 1.5.1, xftp 1.0.1) ( #799 )
v5.2.1
2023-07-13 19:23:06 +01:00
Evgeny Poberezkin
4c6c436e7f
resubscribe in batches in Client.Agent ( #798 )
...
* resubscribe in batches in Client.Agent
* fix test
2023-07-12 07:35:38 +01:00
Evgeny Poberezkin
b61e3b5f95
server: disable transport timeout ( #793 )
2023-07-11 19:43:31 +01:00
Evgeny Poberezkin
58dbc197ce
increase TCP timeout for clients ( #797 )
2023-07-11 18:54:14 +01:00
spaced4ndy
1afcefa5e7
db error busy treatments ( #796 )
2023-07-11 20:19:20 +04:00
Evgeny Poberezkin
532cd2f39c
fix allFinally
2023-07-09 21:36:23 +01:00
Evgeny Poberezkin
2f5c646e55
test with catchError/tryError
2023-07-09 18:38:44 +01:00
Evgeny Poberezkin
f76a5ca5b6
agent: catch IO errors correctly in MonadError ( #795 )
...
* agent: catch IO errors correctly in MonadError
* correction
* correction
* utils
* agentFinally to catch IO exceptions in ExceptT
* rename
* remove, inline
* rename utils
* utils unit test
* test to show catch and finally problems
* tryAllErrors
* enable all tests
2023-07-09 18:04:45 +01:00
spaced4ndy
f2657f9c0b
add crypto error to RSYNC event ( #794 )
2023-07-05 18:14:51 +04:00
Evgeny Poberezkin
fe22d9b299
agent api to reconnect all servers ( #792 )
2023-07-04 22:54:45 +01:00
Evgeny Poberezkin
75fe28a8a6
lint
2023-07-03 17:43:56 +01:00
Evgeny Poberezkin
54dc8d42e7
5.2.0, ntf server 1.5.0 ( #790 )
v5.2.0
2023-07-03 13:32:58 +01:00
spaced4ndy
0e1562deae
increase connection agent version according to received messages; add version and flags to connection stats, bump currentSMPAgentVersion ( #789 )
2023-06-30 20:19:10 +04:00
Evgeny Poberezkin
94540a2c71
servers: add TCP timeouts to avoid memory leaks ( #776 )
...
* servers: add TCP timeouts to avoid memory leaks
* fix tests
* only use RecvTimeOut
* servers: simple timeout for TCP transport
* revert dependency change
* simplify
* simplify
* simplify 2
2023-06-30 16:22:01 +01:00
Evgeny Poberezkin
16367fcb3b
make timeouts for batched functions dependent on the number of batches ( #786 )
...
* make timeouts for batched functions dependent on the number of batches
* fix
* refactor
* refactor
* change import
* refactor
* rename function
* rename
* refactor
* remove space
2023-06-30 12:26:09 +01:00
spaced4ndy
8be2505fa0
ratchet re-synchronization ( #774 )
...
* ratchet re-synchronization rfc wip
* additions
* additions, types
* fix tests
* re-sync implementation wip
* re-sync implementation 1st rev.
* test wip
* test passes
* doc
* wording
* improve doc schema
* single agreed state
* refactor (1 state variable)
* allowed -> required
* prohibit enqueue
* enqueue
* send via multiple queues
* test with server offline
* clarify errors
* rename
* more tests
* refactor
* rename AgentRKey
* rename AM_CONN_RATCHET_KEY
* more tests
* rename
* write encoded AgentRatchetInfo to AgentRatchetKey info
* move withConnLock
* refactor qDuplex
* re-create ratchet on receiving second key
* invert condition
* refactor
* simplify
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-06-30 14:17:08 +04:00
spaced4ndy
a000419bd7
restore confirmation after client restart ( #783 )
2023-06-29 10:10:34 +04:00
spaced4ndy
c8a8e2c297
differentiate agent INACTIVE error, treat as temporary ( #784 )
2023-06-29 10:00:53 +04:00
Evgeny Poberezkin
f7d038ef20
agent: more batched commands ( #782 )
...
* agent: more batched commands
* layout
2023-06-28 19:50:11 +01:00