Evgeny Poberezkin
17fe6edcde
instance
2025-11-11 18:16:20 +00:00
Evgeny Poberezkin
4257255de2
fix test
2025-11-11 17:51:50 +00:00
Evgeny Poberezkin
a4931289a7
remove function
2025-11-11 17:39:12 +00:00
Evgeny Poberezkin
673f50e0f4
remove unused error constructor
2025-11-11 17:15:23 +00:00
Evgeny Poberezkin
63c4647f39
refactor
2025-11-11 16:54:38 +00:00
Evgeny Poberezkin
7485175980
remove comment
2025-11-10 21:30:06 +00:00
Evgeny Poberezkin
8ee3fd0ef7
fix migration
2025-11-10 21:14:09 +00:00
S1m
5e28d4faba
[webpush] Parsing during registration ( #1661 )
...
* Parse WPDeviceToken during registration
* Clarify PPInvalidPusher with apnsPushProviderClient
* Use SrvLoc for webpush endpoints
* Remove unused WPEndpoint
* Test RFC8291 - webpush encryption - implementation
* Fix tests with -fserver_postgres
* Disable redirections with webpush
* Rename webpush tests, and move behind server_postgres flag
* Parse webpush endpoint with StrEncoding
* Fix rename webpush tests
* Lint import
* Test push notification encoding for webpush
* Test strDecoding invalid WPDeviceToken
2025-11-10 20:45:16 +00:00
Evgeny Poberezkin
d3d97685c3
Merge branch 'unified-push' into p1gp1g-webpush_requests
2025-11-10 20:23:08 +00:00
Evgeny Poberezkin
f455705974
Merge branch 'master' into unified-push
2025-11-10 20:22:13 +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 Poberezkin
f5a8d8b21c
token types and migration (WIP, does not compile)
2025-09-16 21:29:38 +01:00
Evgeny Poberezkin
c56b04fb6b
Merge branch 'webpush_requests' of github.com:p1gp1g/simplexmq into p1gp1g-webpush_requests
2025-09-16 19:07:56 +01:00
Evgeny Poberezkin
cf38c129da
Merge branch 'master' into unified-push
2025-09-16 19:02:53 +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