spaced4ndy
069395c2a0
core: entity locks ( #3962 )
...
* core: entity locks
* more locks
* update sha256map
* add delay
* clean up
* empty
* fix tests
* empty
* empty
* more delays
* empty
* comment delays
* Revert "comment delays"
This reverts commit 4245b545fb .
* Revert "Revert "comment delays""
This reverts commit f803386945 .
* take lock in the beginning of processing loop
* empty
* empty
* remove lock
* rework file locks
* empty
* fix
* empty
* add connection locks
* empty
* fix test
* empty
* remove commented delays
* add to debug locks
* update
* refactor
* refactor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-04 19:24:42 +01:00
Evgeny Poberezkin
ea862a8f34
core: 5.6.1.1 (simplexmq 5.6.2.1)
2024-04-03 11:43:42 +01:00
Evgeny Poberezkin
2bd1a82b7d
core: revert "deps: switch to base64 via simplexmq ( #3957 )" ( #3985 )
...
* Revert "deps: switch to base64 via simplexmq (#3957 )"
This reverts commit d65137882b .
* update simplexmq
2024-04-03 10:47:38 +01:00
Evgeny Poberezkin
69218952c3
core: 5.6.1.0
2024-04-01 14:36:45 +01:00
Evgeny Poberezkin
d90e2f4436
core: remove mtl typeclasses to reduce overhead ( #3975 )
...
* core: remove mtl typeclasses to reduce overhead
* strict data, optimization
* update simplexmq, clean up
* un-unlift attachRevHTTP2Client
* remote
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-04-01 13:34:45 +01:00
Alexander Bondarenko
d65137882b
deps: switch to base64 via simplexmq ( #3957 )
...
* deps: switch to base64 via simplexmq
* update error text
* update nix
* set simplexmq to master
* update paths
2024-03-28 13:09:04 +00:00
Evgeny Poberezkin
e0566599a4
core: 5.6.0.4 ( #3939 )
2024-03-21 19:00:19 +00:00
Evgeny Poberezkin
3f1d86623a
core: 5.6.0.3
2024-03-19 15:20:04 +00:00
Alexander Bondarenko
5bc8bbe16c
chat: use context-less compression ( #3913 )
...
* chat: use context-less compression
* update sha256map
* space
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-19 13:33:27 +00:00
spaced4ndy
1f8eb1d638
update simplexmq (xftp fixes)
2024-03-15 12:48:55 +04:00
spaced4ndy
240ca30f91
core: remove withStoreCtx ( #3903 )
2024-03-13 13:57:17 +04:00
Evgeny Poberezkin
96fba950ff
core: 5.6.0.1, update simplexmq (better ACK handling)
2024-03-12 15:20:39 +00:00
Evgeny Poberezkin
0e7d81681f
core: update simplexmq
2024-03-10 23:26:35 +00:00
spaced4ndy
56fcaf514e
core (pq): don't compress if message fits without compression; check compressed message fits size limit ( #3888 )
...
* core (pq): don't compress if message fits without compression; check compressed message fits size limit
* refactor
* errors
* fix tests
* envelope sizes
* refactor
* comment
* more flexible test
* refactor, comment
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-10 22:54:55 +00:00
spaced4ndy
8660bf420a
core (pq): cross-version tests ( #3885 )
...
* core (pq): cross-version tests
* next (fails)
* enable all tests
* fix versions
* update simplexmq
* tests
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-10 18:57:57 +04:00
Evgeny Poberezkin
60a73a539e
core: add agreed connection version field ( #3881 )
...
* core: add agreed connection version field
* fix
* progress
* use pqSupport and version to decide compression in messages
* pass version to encodeConnInfoPQ
* update pq enable/disable api
* remove TestConfig
* update nix dependencies
* update texts
* corrections
* create e2ee info items when connection switches from off to on first time
* corrections
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* comment
* increase test timeout
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-03-10 11:31:14 +00:00
Alexander Bondarenko
19ca4f7447
core: remove duplicate Eq orphans ( #3880 )
...
* core: remove duplicate Eq orphans
* bump nix
2024-03-08 23:06:51 +00:00
Evgeny Poberezkin
1f93d91af5
core: simplify feature versions ( #3879 )
...
* core: simplify feature versions
* update version agreement
* fix
* remove EmptyCase
2024-03-08 13:36:09 +00:00
spaced4ndy
b403201310
core (pq): further integrate agent api ( #3874 )
...
* core (pq): further integrate agent api
* update both pq support and ecnryption
* update
* fix
* corrections
* corrections 2
* corrections 3
2024-03-08 11:40:55 +04:00
spaced4ndy
bc2b135880
core (pq): update types ( #3872 )
...
* core (pq): update types
* imports
* encode / max msg size types
* integrate new types
* update types/pq support
* tests compile
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-07 17:39:09 +04:00
Evgeny Poberezkin
7b7c3227e3
core: update dependencies for nix
2024-03-07 08:22:39 +00:00
Alexander Bondarenko
64dc758ffd
core: compressed message encoding, variable vrange ( #3844 )
2024-03-06 18:02:19 +04:00
spaced4ndy
eebf014ff7
core (pq): integrate agent api, create e2ee info items ( #3859 )
2024-03-05 20:27:00 +04:00
Alexander Bondarenko
db2ccaa450
controller: add standalone upload limit ( #3853 )
...
* controller: add standalone upload limit
* use hard limit from simplexmq
2024-03-02 19:31:11 +00:00
spaced4ndy
05383477d9
core: wait for delivery to avoid race between connection deletion and sending service messages about entity deletion ( #3849 )
2024-03-01 11:26:54 +04:00
spaced4ndy
51a2e09714
core: batch db operations for group leave and delete ( #3807 )
...
* core: batch db operations for group leave and delete
* remove comment
* batch delete files
* cleanup
* rename
* use new agent api
* refactor
* refactor, catch error
* refactor
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-02-26 15:36:42 +04:00
spaced4ndy
b0b249a56a
Merge branch 'stable'
2024-02-22 12:11:23 +04:00
Evgeny Poberezkin
b629c22ee0
5.5.5.0, update simplexmq to 5.5.2.1 (fix performance degradation)
2024-02-21 14:26:46 +00:00
Evgeny Poberezkin
d83a6b7133
core: ntf server test ( #3819 )
2024-02-18 12:12:38 +00:00
Evgeny Poberezkin
e3df7945d5
core: update simplexmq (updated protocol, discontinue old versions) ( #3818 )
...
* core: update simplexmq (updated protocol, discontinue old versions)
* update nix
2024-02-17 16:29:45 +00:00
spaced4ndy
e4984cb38d
core: update sha256map.nix
2024-02-13 13:56:14 +04:00
spaced4ndy
e39544dd24
core: return ntf server in APIGetNtfToken ( #3797 )
2024-02-12 21:21:20 +04:00
Evgeny Poberezkin
3a0920e950
core: 5.5.3.0 (simplexmq 5.5.2.0)
2024-02-10 23:24:00 +00:00
Evgeny Poberezkin
7e9e71ffbd
core: update simplexmq (extensible smp handshake)
2024-02-06 07:39:32 +00:00
Evgeny Poberezkin
3a879b755b
core: 5.5.2.0 (simplexmq 5.5.1.2)
2024-02-02 08:30:26 +00:00
Evgeny Poberezkin
c6f4d62d6c
core: update simplexmq (fix socket/memory leak on resubscriptions)
2024-02-01 16:36:32 +00:00
spaced4ndy
bddb9c14b7
core: update simplexmq 5.5.1.1 (optimize expired messages query) ( #3730 )
2024-01-22 18:33:48 +04:00
Evgeny Poberezkin
a9ba0a2e8a
core: 5.5.0.2, update simplexmq 5.5.1.0
2024-01-20 15:02:03 +00:00
Evgeny Poberezkin
cc05434b31
core: process message errors ( #3709 )
...
* core: process message errors
* update simplexmq commit sha
* style
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-01-20 08:17:57 +00:00
Evgeny Poberezkin
868acd18d6
core: support deleting the last profile (always create user record in agent when user is created) ( #3654 )
...
* core: only skip creating agent user when app is first started
* firstTime
* prompt
* fix test
* if
* simplexmq
* ci timeout
* skip test
* add test timeout
* log test times
* simplexmq
* timeout
* simplexmq without new batching
* Revert "simplexmq without new batching"
This reverts commit 9879bcb57c .
* without new batching again
* with builder, without sized builder
* lazy bytestring, same batching logic
* fewer chunks
* remove lazy
* optimize batching in simplexmq
2024-01-17 15:20:13 +00:00
Evgeny Poberezkin
300223b32e
core: update simplexmq 5.5.0.6 (fix race conditions) ( #3691 )
...
* core: update simplexmq (fix race conditions)
* simplexmq 5.5.0.6
2024-01-16 23:42:29 +00:00
Evgeny Poberezkin
8d7dcb550a
core: update simplexmq, optimize batching, remove builder ( #3685 )
...
* core: update simplexmq (optimize batching, remove builder)
* do not use builder to batch
* refactor
2024-01-15 10:46:13 +00:00
Evgeny Poberezkin
53414608db
core: 5.4.3.0 (simplexmq 5.5.0.5)
2024-01-09 20:20:14 +00:00
Evgeny Poberezkin
a2f190a6c6
core: update simplexmq (better batching)
2024-01-09 09:15:35 +00:00
Evgeny Poberezkin
2bbc687f4a
core: simplexmq 5.5.0.4
2024-01-06 11:48:28 +00:00
Evgeny Poberezkin
bb61b9c658
core: update simplexmq (critical errors, worker restarts, subscription timeouts)
2024-01-05 20:07:19 +00:00
Evgeny Poberezkin
e3a69b12ba
core: 5.4.2.1 (simplexmq 5.5.0.2)
2023-12-27 21:00:19 +00:00
Evgeny Poberezkin
bbde6d81ee
core: update simplexmq
2023-12-27 13:57:02 +00:00
Evgeny Poberezkin
9ac99ec2d9
core: update simplexmq (mark failed work items to continue processing) ( #3600 )
...
* core: update simplexmq (mark failed work items to continue processing) WIP
* simplexmq
2023-12-26 19:53:58 +00:00
Evgeny Poberezkin
6aeef6f132
5.4.2.0: fix migration in simplexmq
2023-12-23 16:09:08 +00:00