Evgeny Poberezkin
2ff5f5a832
agent: add context to CMD error ( #1167 )
...
* agent: add context to CMD error
* tests, more warnings
* fix tests
* log TBQueue sizes
* log locks
* more logs
* log sendMessagesB
* fix test
* log length
* refactor
* remove logging
* revert lock scope change
* cleanup
* add string error to A_PROHIBITED
* remove
* remove test limitations
* language
2024-05-24 14:13:01 +01:00
Evgeny Poberezkin
6c86aa302f
5.8.0.4
2024-05-22 16:13:26 +01:00
Evgeny Poberezkin
2f2a3acdc0
5.8.0.3
2024-05-21 14:51:11 +01:00
Evgeny Poberezkin
e3f5d244c1
5.8.0.2
2024-05-20 17:31:08 +01:00
spaced4ndy
2e5433676e
xftp: check proxy before downloading from unknown server ( #1102 )
...
* xftp: check proxy before downloading from unknown server
* corrections
* remove import
* tests
* comment
* tests
* don't wrap into internal error
* fix tests
2024-05-20 14:14:04 +01:00
Evgeny Poberezkin
1116aeeea1
5.8.0.1
2024-05-17 15:39:20 +01:00
spaced4ndy
00a2dde727
Merge branch 'master' into proxy
2024-05-14 10:41:06 +04:00
Evgeny Poberezkin
762909ce33
5.8.0.0
2024-05-13 20:35:46 +01:00
Evgeny Poberezkin
c4c983348f
Merge branch 'master' into proxy
2024-05-13 14:13:52 +01:00
Evgeny Poberezkin
91cc48aabe
agent: do not mark subscriptions on expired sessions as active, mark delayed subscriptions as active on the same session, do not cancel sending expired commands ( #1127 )
...
* agent: do not mark subscriptions on expired sessions as active, do mark delayed subscriptions as active on the same session, SUBOK response in the next SMP protocol version
* client: prevent sub actions from zombie sessions (#1122 )
* client: prevent sub actions from zombie sessions
* error handling
* add AERR to pass background errors to client
* switch to activeClientSession
* put closeClient under activeClientSession
* rename
* remove AERR, do not skip processing
* move check and state update to one transaction
* catch extra UPs
* fix
* check queue is still pending before making it active
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* do not forward agent error
* revert not expiring sending subs
* fixes
* track subscription responses better
* add pending connection
* Revert "revert not expiring sending subs"
This reverts commit 4310a69391 .
* do not expire sending commands
* rename
* fix race
* function
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-05-12 17:47:08 +01:00
Evgeny Poberezkin
1339a8da11
5.7.4.0
2024-05-11 23:39:28 +01:00
Evgeny Poberezkin
9f72b249b4
Merge branch 'master' into proxy
2024-05-11 10:25:35 +01:00
Evgeny Poberezkin
acc7faea11
5.7.3.1
2024-05-10 22:24:00 +01:00
Evgeny Poberezkin
dc111437fd
5.7.3.0
2024-05-10 15:15:43 +01:00
Evgeny Poberezkin
f22daf5cb6
Merge branch 'master' into proxy
2024-05-06 15:26:11 +01:00
Evgeny Poberezkin
93fd424f86
5.7.2.0
2024-05-05 17:13:26 +01:00
Evgeny Poberezkin
8d8010a62a
5.7.1.0
2024-05-02 16:22:55 +01:00
Evgeny Poberezkin
60403955c0
5.7.0.4
2024-05-02 16:00:35 +01:00
Evgeny Poberezkin
fb5d54e0a2
Merge branch 'master' into proxy
2024-05-01 12:52:04 +01:00
Evgeny Poberezkin
323cdc412e
5.7.0.4
2024-05-01 00:56:33 +01:00
Evgeny Poberezkin
935d2e25df
5.7.0.3
2024-04-25 10:22:18 +01:00
Evgeny Poberezkin
daa866f333
5.7.0.2
2024-04-22 18:59:33 +01:00
Evgeny Poberezkin
b08314722d
5.7.0.1
2024-04-21 22:58:15 +01:00
Evgeny Poberezkin
3d40393ae8
5.7.0.0
2024-04-20 18:20:18 +01:00
Evgeny Poberezkin
98eb2742bc
Merge branch 'master' into proxy
2024-04-13 18:51:17 +01:00
Evgeny Poberezkin
ebb75ced12
extract SessionVar from AgentClient to reuse ( #1099 )
2024-04-13 18:33:12 +01:00
Evgeny Poberezkin
5e783396e0
5.6.2.2: v5.6.2
2024-04-12 23:14:20 +01:00
Alexander Bondarenko
875ddd80d6
SMP proxy: protocol ( #954 )
...
* WIP: proxy-related types
* test plan
* buildable with stubs
* add auth test
* update protocol
* fix
* update rfc
* update protocol/types
* disable test
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-12 18:04:29 +01:00
Evgeny Poberezkin
1219446996
dispose agent instances, fix tests, ( #1089 )
...
* dispose agent instances in tests
* fix quota test
* tests: fix tests with -threaded (#1088 )
* fix some tests
* match RTS opts with apps
* less verbose rts stats
* enable sqlite extended error codes
* clean up
* unfocus
* remove extendedErrorCode
It's actually setExtendedResultCodes, which isn't yet available.
* diff
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* fix switch test
* fix
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-04-10 19:34:02 +01:00
Evgeny Poberezkin
6bc4f6c94e
5.6.2.1
2024-04-03 10:04:41 +01:00
Evgeny Poberezkin
84b8c8417b
revert base64 change ( #1081 )
2024-04-03 09:27:36 +01:00
Evgeny Poberezkin
bfd532e833
5.6.2.0
2024-04-01 11:33:22 +01:00
Evgeny Poberezkin
6ded721daa
remove monad typeclasses to reduce overhead ( #1077 )
...
* remove monad typeclasses to reduce overhead
* remove unliftIO
* StrictData
* inline
* optional agent port
* avoid MonadUnliftIO instance (#1078 )
* avoid MonadUnliftIO instance
* simpler liftError'
* rename
* narrow down instance
* revert
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* logServer
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-03-31 20:50:35 +01:00
Evgeny Poberezkin
6c48092f5e
5.6.1.0
2024-03-28 18:23:19 +00:00
Alexander Bondarenko
ee90ea6a69
replace base64-bytestring with base64 ( #1065 )
...
* replace base64-bytestring with base64
* minify
* use bytestring-0.10 compatible fork
PR pending...
* bump base64 fork with text compat
* move compat details to modules
* switch repo
* add back module
* cleanup
* minify
* clean imports
* rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-27 23:35:09 +00:00
Evgeny Poberezkin
8496884b42
5.6.0.4
2024-03-21 15:18:11 +00:00
Evgeny Poberezkin
7b6b80cea2
v5.6.0-beta.3
2024-03-19 15:00:42 +00:00
Evgeny Poberezkin
0aa4ae7228
v5.6.0-beta.2
2024-03-12 14:31:30 +00:00
Evgeny Poberezkin
78eb4f764f
v5.6.0-beta.1
2024-03-10 19:41:06 +00:00
Alexander Bondarenko
e04705d9c5
utils: add generic batching and compression ( #1018 )
...
* extract batchTransmissions_
* add Simplex.Messaging.Compression
* add combined compression/batching
* force NonEmpty for batching
* hide FFI and allocation related IO
* split packing
* remove batch compression, tweak API
* OCD over API
* remove Empty, extract passthrough const
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-06 09:10:49 +00:00
Evgeny Poberezkin
ba1bfaa5aa
Merge branch 'master' into pq
2024-03-04 20:13:01 +00:00
Evgeny Poberezkin
dd2bd11584
parameterize version scopes with phantom types ( #1026 )
...
* parameterize version scopes with phantom types
* move Version to another module
* parens
2024-03-04 19:06:51 +00:00
Evgeny Poberezkin
e06e22328f
agent: quantum-resistant double ratchet encryption ( #939 )
...
* doc
* diff
* ratchet header
* types
* ratchet step with PQ KEM, message header with KEM
* comment
* update types, remove Eq instances, store KEM keys to database
* pqx3dh
* PQ double ratchet test
* pqdr tests pass
* fix most tests
* refactor
* allow KEM proposals from both sides
* test names
* agent API parameters to use PQ KEM
* initialize ratchet state for enabling KEM
* fix/test KEM state machine to support disabling/enabling via messages
* more tests
* diff
* diff2
* refactor
* refactor
* refactor
* refactor
* remove Maybe
* rename
* add PQ encryption status to CON, MID and MSG events and sendMessage API results
* different PQ parameter when creating connection
* rename/reorganize types for PQ encryption modes
* rename
* fix testWaitDeliveryTimeout
* rename
* rename2
* ghc8107
* rename
* increase timeouts for concurrent send/receive test
* enable all tests
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-03-03 19:40:49 +00:00
spaced4ndy
294d7ec8dd
agent: delay connection deletion to finish delivery of pending messages ( #1015 )
...
* agent: delay connection deletion to finish delivery of pending messages (wip)
* fixes, test
* notify, test
* add tests
* comment
* add test
* timeout
* test timeout
* up
* more tests
* rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-02-29 18:08:58 +00:00
Evgeny Poberezkin
c9ec7ea274
Merge branch 'stable'
2024-02-27 18:07:30 +00:00
Evgeny Poberezkin
5011ac2e7c
Merge branch 'v5522' into stable
2024-02-27 17:58:08 +00:00
Evgeny Poberezkin
0987895926
5.5.2.2
2024-02-27 00:00:29 +00:00
Alexander Bondarenko
2e3c961dab
agent: optimize execution performance of slow memory operations during (re)subscriptions ( #1013 )
...
* agent: remove redundant set building
* tests: add tRcvQueuesTests (#1016 )
* double accounting
* unit tests for invariants
* batch add queues
* ghc8107 compatibility
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-02-27 00:00:29 +00:00
Evgeny Poberezkin
32c94df040
5.5.2.1
2024-02-21 14:13:07 +00:00
Evgeny Poberezkin
12dac60397
v5.6.0-beta.0
2024-02-18 16:31:48 +00:00