Evgeny Poberezkin
2ca440dd2d
6.5.0.4
2025-12-10 21:09:33 +00:00
spaced4ndy
92a9579e69
agent: option to add SQLite aggregates to DB connection ( #1673 )
...
* agent: add build_relations_vector function to sqlite
* update aggregate
* use static aggregate
* remove relations
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-12-04 08:58:14 +00:00
Evgeny
cf9b7e5b6a
agent: option to add SQLite functions to DB connection ( #1674 )
...
* agent: option to add SQLite functions to DB connection
* add module
2025-12-03 16:10:35 +00:00
spaced4ndy
3016b929b4
agent: make createConnection and setConnShortLink apis support setting all link data fields ( #1665 )
...
* agent: make createConnection and setConnShortLink apis support setting all link data fields
* add functions
* refactor
* refactor
* fix tests
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-11-05 07:08:33 +00:00
Evgeny Poberezkin
1ae3e8d0be
6.5.0.3
v6.5.0-beta.3
2025-10-23 08:34:11 +01:00
Evgeny
1329fc726f
smp: support client notices ( #1659 )
...
* agent: support client notices
* improve
* fix, test
* rename
* cleanup
* send and process notices in more cases
* dont delete
* dont remove notice on other permanent errors
* dont remove notice if there is no notice ID in queue
* add server to error
* allow deleting
* only use notice if key hash matches
2025-10-17 18:34:59 +01:00
spaced4ndy
234aeb81dd
agent: add subscription status to connection stats ( #1658 )
...
* agent: add subscription status to connection stats
* wip
* conn status
* format
* refactor
* refactor
* m
* shorter
* shorter
---------
Co-authored-by: Evgeny <evgeny@poberezkin.com >
2025-10-13 17:53:28 +01:00
spaced4ndy
1dbc15b2e6
agent: sync connections ( #1654 )
...
* agent: sync subscriptions
* remove comment
* add shouldDelete flag
* compare api
* remove instance
* query
* rename
* refactor
* functor
* JSON instances
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-10-10 05:41:42 +00:00
Evgeny
80aa56cbcc
agent: track which queues need subscribing for iOS NSE ( #1657 )
...
* agent: track which queues need subscribing for iOS NSE
* fix down migration
* fix, cleanup
2025-10-09 18:33:27 +01:00
Evgeny
9cda20381f
agent: subscribe all connections ( #1655 )
...
* agent: subscribe all connections
* query, version
* BoolInt
* add query to errors
* Revert "add query to errors"
This reverts commit 32a1f7fe11 .
* fix optional field
* version
* limit number of in-flight subscriptions to 35000
2025-10-09 13:43:48 +01:00
Evgeny
318ddf692a
smp server: import/export to/from PostgreSQL with one command, deprecation notice for journal storage ( #1653 )
2025-10-09 13:31:57 +01:00
Evgeny
11a4859f8e
agent: batch processing of subscription results and errors ( #1652 )
...
* agent: batch processing of subscription results and errors
* run agent tests with in-memory server storage
* version
* non empty errors
* size
2025-10-07 14:49:38 +01:00
Evgeny
a3d1a72eb0
agent: optimize subscriptions memory usage ( #1651 )
...
* agent: optimize subscriptions memory usage more (do not store subscribed queues in memory) WIP
* use new session subscriptions data
* version
* remove old data structure
* remove version
* batch deletions
* test TSessionSubs
* comment
2025-10-06 15:21:17 +01:00
Evgeny Poberezkin
17b71cf673
Merge branch 'stable'
2025-10-05 22:03:58 +01:00
Evgeny
779222d1a7
agent: optimize subscriptions memory usage ( #1649 )
...
* agent: optimize subscriptions memory usage
* version
* remove typeclass
* disable subscription to test memory usage
* disable delivery and commands
* disable reading connections
* enable subscriptions
* RcvQueueCred
* RcvQueueCred postgres
* fix
* optimize keys
* version
* rename
* comments
2025-10-05 13:35:54 +01:00
Evgeny Poberezkin
538dcb6a4c
6.4.6.0
2025-10-04 14:49:42 +01:00
Evgeny Poberezkin
98115b6db1
6.5.0.2
v6.5.0-beta.2
2025-09-30 12:37:28 +01:00
Evgeny
9854caca33
agent: optimize subscriptions ( #1645 )
...
* agent: optimize subscriptions
* simplify
* clean up
2025-09-30 12:34:42 +01:00
spaced4ndy
c8b551dcf7
agent: fix file reception error in postgres ( #1647 )
2025-09-30 08:32:45 +01:00
Evgeny
99f40ae109
support for additional database migrations ( #1644 )
2025-09-27 11:21:38 +01:00
sh
3a9381b966
ci/scripts: execute git version if chmod fails ( #1643 )
2025-09-23 09:08:56 +01:00
Evgeny Poberezkin
54a2a6c905
6.5.0.1
v6.5.0-beta.1
2025-09-17 09:04:03 +01:00
Evgeny
7b7616ce7e
agent: batch loading of connections with PostgreSQL client ( #1639 )
...
* agent: batch loading of connections with PostgreSQL client
* batch more
* optimize getPendingCommandServers
* fix Bool conversion
* enable all tests
* cleanup
2025-09-16 14:28:06 +01:00
sh
b020a08ea0
ci: disable aarch64 tests ( #1638 )
2025-09-15 09:02:34 +01:00
Evgeny Poberezkin
2737e7d602
6.5.0.0.1
2025-09-15 07:52:17 +01:00
Evgeny
d3754b36bc
smp server: do not use queue cache with PostgreSQL message storage ( #1637 )
...
* smp server: do not use queue cache with PostgreSQL message storage
* fix loading queues via notifier IDs
2025-09-15 07:51:27 +01:00
Evgeny Poberezkin
112cd9d5f4
Merge branch 'stable'
2025-09-14 14:42:05 +01:00
Evgeny
8a7991a376
agent: option to set SQLite database backup path ( #1636 )
...
* agent: option to set SQLite database backup path
* fix test compilation
2025-09-14 12:41:49 +01:00
Evgeny
6f4d0f5377
Merge pull request #1630 from simplex-chat/db-messages
...
Feature branch: PostgreSQL message store
2025-09-13 19:24:59 +01:00
Evgeny
9cfdae3494
smp server: uniterruptible mask for DB operations ( #1635 )
2025-09-13 19:08:07 +01:00
Evgeny Poberezkin
62183699db
6.5.0.0
2025-09-13 11:37:59 +01:00
Evgeny
9be9a76b42
smp server: improve message expiration ( #1634 )
...
* smp server: limit by time the queues to export journal messages for
* pass queue/msg thresholds separately
* reset db connection on errors
* Revert "smp server: limit by time the queues to export journal messages for"
This reverts commit d3bc0cba4b .
* fix test compilation
* flag to expire messages
* improve test
* expire messages newer than quota
2025-09-13 11:35:34 +01:00
Evgeny Poberezkin
80f7be6dd7
Merge branch 'master' into db-messages
2025-09-13 09:31:23 +01:00
Evgeny
83721240a4
reset db connection on errors ( #1633 )
2025-09-13 09:30:01 +01:00
Evgeny
6c66cf367a
smp server: set message counts correctly after import ( #1632 )
2025-09-12 13:08:11 +01:00
Evgeny
a137d01c90
smp server: improve counts management and expiration for postgres message store ( #1631 )
...
* smp server: improve counts management and expiration for postgres message store
* one update
* fix expiration
2025-09-12 11:39:35 +01:00
Evgeny
bac6ea6e91
smp server: store messages in PostgreSQL ( #1622 )
...
* smp server: store messages in PostgreSQL
* stored procedures to write and to expire messages
* function to export messages
* move all message functions to PostgreSQL, remove delete trigger
* comments
* import messages to db
* fix message import, add export
* fix export
* fix export
* fix compilation flags
* import messages line by line
* fix server start with database storage
* fix compilation
* comments
2025-09-11 20:22:55 +01:00
Evgeny
0c1030cf02
smp server: faster export ( #1626 )
...
* smp server: faster export
* flush
* export messages with PostgreSQL database
* remove flush
* batch message writes
* Revert "batch message writes"
This reverts commit 61fb3c3b9e .
* remove $!
* fast journal export
* another approach
* Revert "smp server: remove dependency of message size on the version (#1627 )"
This reverts commit 8fea15245a .
* style
* faster?
* cleanup
* cleanup
* refactor
* refactor
* concurrent read messages
* Revert "concurrent read messages"
This reverts commit 05a32e6491 .
* concurrent read/write
* parameter to export to/import from another message log file
* Revert "parameter to export to/import from another message log file"
This reverts commit 4e88b035c4 .
* Revert "concurrent read/write"
This reverts commit a8eab1f7e3 .
2025-09-10 18:22:58 +01:00
Evgeny Poberezkin
23aff6b0b1
Revert "smp server: remove dependency of message size on the version ( #1627 )"
...
This reverts commit 8fea15245a .
2025-09-09 09:56:48 +01:00
sh
3335cd5500
ci: add aarch64 builds ( #1624 )
2025-09-09 08:55:37 +01:00
spaced4ndy
a4f049d8da
agent: parameterize withWork, getWorkItem with StoreError; parameterized Binary for SQLite ( #1617 )
...
* agent: parameterize withWork StoreError
* getWorkItem
* export
* binary
* remove handleWrkErr AnyStoreError constraint
* put AnyError in AnyStoreError constraint
* move typeclass
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-09-08 16:38:08 +01:00
Evgeny
8fea15245a
smp server: remove dependency of message size on the version ( #1627 )
2025-09-08 11:28:42 +01:00
sh
42a2c1fc57
ci: fix git in docker ( #1623 )
2025-09-08 09:41:20 +01:00
Evgeny Poberezkin
7e98b3103f
6.4.5.2
2025-09-07 15:13:19 +01:00
Evgeny Poberezkin
2a61085f07
backward compatible encoding for missing NetworkError
2025-09-07 15:04:06 +01:00
Evgeny
4386dd8b5a
smp server: option to expire messages when new message is sent (now off by default) ( #1625 )
...
* smp server: option to expire messages when new message is sent (now off by default)
* fix test
2025-09-07 09:02:32 +01:00
Evgeny Poberezkin
50ddd630be
6.4.5.1
v6.4.5
2025-09-03 11:12:20 +01:00
Evgeny
cb3250e7b4
servers: better socket leak prevention during TLS handshake, add NetworkError type to better diagnose connection errors ( #1619 )
...
* servers: better socket leak prevention during TLS handshake
* log tcp connection errors
* more detailed network error
* log full address
* rename error
* add encodings for NetworkError
* refactor
* comment
* bind
* style
* remove parameters of NETWORK error from encoding
2025-09-02 16:07:37 +01:00
Evgeny Poberezkin
0319addd2b
6.4.5.0
v6.4.5-beta.0
2025-09-01 18:57:09 +01:00
Evgeny
77bf76e1f9
smp server: fix in-memory server not restoring queue/service associations after 2+ restarts ( #1618 )
...
* smp server: fix in-memory server not restoring queue/service associations after 2+ restarts
* fix test, do not reuse database
2025-09-01 17:45:31 +01:00