Commit Graph

491 Commits

Author SHA1 Message Date
spaced4ndy
2d64365d8c core: correctly handle errors in createWithRandomId/Bytes for postgres (reuse withSavepoint from simplexmq) (#6578) 2026-01-15 15:18:15 +00:00
Evgeny Poberezkin
2ecee42a40 core: 6.5.0.8 (simplexmq 6.5.0.7) 2026-01-13 22:28:52 +00:00
Evgeny Poberezkin
f99e8da8fe update simplexmq 2026-01-13 19:13:51 +00:00
Evgeny
3596c37275 core: improve database concurrency (#6541)
* core: improve database concurrency

* tests: prints on timeouts (#6546)

* update simplexmq

* fix test

* update simplexmq

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2026-01-08 13:43:37 +00:00
Evgeny
2251da970e core: reset schema after changes (#6545)
* core: reset schema after changes

* update simplexmq
2026-01-05 22:10:51 +00:00
Evgeny
f0467aee00 directory service: fix queries (#6539)
* fix directory service queries

* fix

* reduce postgres pool size to 1

* stabilize postgres client tests, remove slow handshake tests

* update simplexmq

* fix test

* test delay
2026-01-04 19:04:32 +00:00
Evgeny Poberezkin
89b72effaf core: 6.5.0.7 (simplexmq 6.5.0.6) 2025-12-23 18:48:09 +00:00
Evgeny Poberezkin
b0eb01a8fa Merge branch 'stable' 2025-12-23 14:19:53 +00:00
Evgeny
67fbe62ae1 core: update simplexmq (support any 127.x.x.x address as loopback), show other addresses in CLI during remote connection, update tests (#6526) 2025-12-23 14:16:05 +00:00
Evgeny Poberezkin
81d31e6c9e core: 6.5.0.6 2025-12-22 21:58:44 +00:00
Evgeny Poberezkin
13bce0821c core: 6.5.0.5 2025-12-11 17:50:05 +00:00
spaced4ndy
f76e994034 core: forward based on relations vector (#6464)
* core: forward based on relations vector wip

* fix introductions

* fix forwarding tests

* fix forwarding inside support scope

* fix deduplication test

* fix more tests

* plans, api

* live migration wip

* enable tests

* member locks

* api

* plans

* fix for postgres

* fix for postgres

* rename predicate

* rename predicate

* optimize

* refactor

* fix

* check

* move part of migration to sql

* plans

* core: preserve detailed information in relation vectors (#6484)

* core: relations vector live migrations; stage 2 migration sql (#6472)

* rework forwarding in support scope

* move operations inside transactions

* set_member_vector_new_relation function

* read vector ad-hoc

* partition in transaction

* fix postgres

* postgres schema

* api

* plans

* remove comment

* lock before migration computation

* refactor

* simplify set relations

* retreive only support scope members

* fix

* refactor

* fix comment

* enable tests

* 1 second

* for update

* locks

* fix mask

* plans

* fix

* postgres

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-12-09 14:48:32 +00:00
spaced4ndy
850e4687f8 core: update simplexmq (support setting all link data fields) (#6425) 2025-11-05 08:11:26 +00:00
Evgeny Poberezkin
6ccd34bc40 Merge branch 'stable' 2025-11-02 22:28:28 +00:00
Evgeny Poberezkin
0c4f2343ae core: update zip library to build in ghc8.10.7 2025-11-01 22:01:11 +00:00
Evgeny Poberezkin
70035bd473 core: upgrade zip (fixes export when database file is larger than 4gb 2025-10-30 14:27:39 +00:00
Evgeny Poberezkin
84a82b7d4a core: 6.5.0.3 (simplexmq 6.5.0.3) 2025-10-24 16:12:39 +01:00
spaced4ndy
a65151ba6d core, ui: replace map of network statuses with subscription status of current chat (#6353)
* core: subscription status wip

* update

* update

* update

* remove statuses core

* cleanup ios

* comment

* plans

* remove NetworkStatus

* ios wip

* contact sub status

* Revert "contact sub status"

This reverts commit 50cf94beed.

* sub status

* set on connected

* kotlin

* rename

* layout

* member status

* kotlin

* fix chat subscription status

* string

* core: update simplexmq

* client notices

* update simplexmq

* update alert

* update simplexmq

* android/desktop

* formatting

* fix tests

* update plans and API docs

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-10-18 22:53:47 +01:00
spaced4ndy
37c8aca3b3 core: sync connections (#6345)
* core: sync subsbriptions

* sha map

* sync event

* should delete flag

* wip

* schema

* wip

* delete

* update simplexmq

* plans

* rename, adapt

* update

* plans

* option to show ids

* plans

* fix, test

* more tests

* postgres

* plans

* cleanup

* plans

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-10-10 06:27:50 +00:00
Evgeny
65e215509b core: subscribe all queues (#6347)
* core: subscribe all queues

* tests, plans, fixes

* enable tests
2025-10-09 22:46:42 +01:00
Evgeny Poberezkin
3d8bbaf03b core: update simplexmq 2025-10-06 22:36:15 +01:00
Evgeny Poberezkin
f2b37eff51 core: 6.4.6.0 (simplexmq 6.4.6.0) 2025-10-04 16:53:18 +01:00
Evgeny Poberezkin
a7869d3ab1 core: update simplexmq (fix file reception, optimize subscriptions) 2025-09-30 13:05:04 +01:00
Evgeny
015d5de364 directory: move all storage to the database, optimize performance (#6287)
* core: add custom indexed columns to groups and contacts

* directory: use database (TODO search/listing)

* triggers to maintain current member count

* update simplexmq, fix tests, use summary from GroupInfo

* fix all directory tests

* remove acceptance fields from group reg

* enable all tests

* clean up

* postgres migrations, fixes

* query plans

* use function in postgres triggers, improve sqlite query

* fix export/import

* update schema

* prevent admins from promoting groups when approving

* update listing every 5 minutes
2025-09-28 15:11:49 +01:00
Evgeny Poberezkin
fa0103c7f5 core: update simplexmq 2025-09-17 09:13:28 +01:00
Evgeny
fa9bc1537c cli: option to disable backup or change backup directory on migration (#6267)
* cli: option to disable backup or change backup directory on migration

* update nix

* update simplexmq
2025-09-14 14:41:50 +01:00
Evgeny Poberezkin
634fe96db6 core: 6.4.5.0 (simplexmq 6.4.5.2) 2025-09-07 15:27:14 +01:00
Evgeny
8798ede50a core: extended network errors information (simplexmq) (#6247)
* core: extended network errors information (simplexmq)

* fix test

* docs: add NetworkError to bot API types

* update simplexmq - JSON encoding for missing NetworkError
2025-09-07 15:07:21 +01:00
Evgeny Poberezkin
6beb6b1efc core: updated simplexmq to 6.4.5.0 2025-09-02 10:17:03 +01:00
Evgeny
f6c699f3a5 core: update simplexmq (error handling) (#6231)
* core: update simplexmq (error handling)

* update simplexmq
2025-08-29 10:05:20 +01:00
Evgeny Poberezkin
e5300fec84 core: update simplexmq 2025-08-24 12:35:59 +01:00
Evgeny Poberezkin
44e8752e42 core: 6.4.4.0 (simplexmq 6.4.4.0) 2025-08-18 17:20:33 +01:00
spaced4ndy
b607b629a6 core: fix forwarding for connection deleting events (x.grp.mem.del, x.grp.del) (#6189)
* core: fix forwarding for connection deleting events (x.grp.mem.del, x.grp.del)

* more tests

* docs, mute tests

* plans

* rework wip

* improve tests

* revert plans

* only forward original message

* update simplexmq (err context)

* update

* don't always wait delivery

* don't do unnecessary ack

* docs

* Revert "don't do unnecessary ack"

This reverts commit 1a560b0333.

* ack

* update simplexmq
2025-08-18 12:58:25 +01:00
Evgeny
fb8d8ec7c3 core, ui: chat relay addresses (#6191) 2025-08-15 17:37:10 +01:00
Evgeny Poberezkin
76babe7791 core: 6.4.3.0 (simplexmq 6.4.3.0) 2025-08-09 10:57:39 +01:00
Evgeny Poberezkin
39a1c94ebc core: updated simplexmq (prevent connection error with incomplete addresses of pre-configured servers) 2025-08-05 12:50:38 +01:00
Evgeny Poberezkin
f1c513bd33 core: 6.4.2.0 (simplexmq 6.4.2.0) 2025-08-02 09:04:31 +01:00
Evgeny Poberezkin
d196387624 core: 6.4.1.0 (simplexmq 6.4.1.0) 2025-07-24 23:47:27 +01:00
Evgeny Poberezkin
7d59920399 core: update simplexmq (faster creation of notification credentials) 2025-07-17 11:07:12 +01:00
Evgeny Poberezkin
cc32eb131b core: 6.4.0.6 (simplexmq 6.4.0.12) 2025-07-12 20:13:48 +01:00
Evgeny Poberezkin
ca22cd4367 core: update simplexmq (fix message delivery to groups when the first member connection is broken) 2025-07-10 10:27:40 +01:00
Evgeny Poberezkin
bd02053e28 core: 6.4.0.5.1 (simplexmq 6.4.0.11.2) 2025-07-07 11:38:14 +01:00
Evgeny
88547ab704 core: use longer timeouts for background network requests, support retries with increased timeouts (#6043)
* core: use longer timeouts for background network requests, support retries with increased timeouts

* ios: update types

* ios: allow user retry actions with failed network requests

* build: add exporting API functions with retry

* android, desktop: update types and C APIs

* android, desktop: alert to retry action on network error

* simplexmq
2025-07-07 11:01:03 +01:00
spaced4ndy
e5d3029edf core: update simplexmq (postgres modules) (#6031)
* core: update simplexmq (postgres modules)

* simplexmq

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-07-04 20:28:50 +01:00
spaced4ndy
79041390f1 core: allow to accept contact requests after address is deleted (#6032)
* core: allow to accept contact requests after address is deleted

* update

* update

* plans

* ios, postgres migration

* schema

* request lock, refactor

* update simplexmq

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-07-03 10:34:11 +00:00
Evgeny Poberezkin
9240be2dda core: 6.4.0.5 (simplexmq 6.4.0.11) 2025-07-01 15:09:35 +01:00
Evgeny
8b770ca03e ios: better error handling when connecting via links, improve alerts with chat information (#6012)
* simplexmq

* ios: error handling

* better new chat alerts

* vertical buttons in alert when they dont fit

* allow messages in prepared groups
2025-06-26 12:10:06 +01:00
Evgeny
c0b704f846 core: store welcome and request message IDs, ios: fix sending request without messages, trim sent messages (#6009)
* core: store welcome and request message IDs, ios: fix sending request without messages, trim sent messages

* remove comments

* rename, fix tests

* simplexmq

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2025-06-25 16:59:32 +01:00
Evgeny
fc04872c91 core: chat item content types for chat initiation (#5998)
* core: chat item content types for chat initiation

* connection mode for ui

* padding

* simplexmq

* initial items

* update content items

* core: feature and e2e items

* refactor

* chat items

* ios types

* fix condition for PQ encryption of link
2025-06-20 11:54:21 +01:00
Evgeny
289b5ffffe core: fix updating invitation link data, use flexible link data encoding for backward/forward compatibility (#5988)
* core: fix updating invitation link data

* ghc 8.10.7 type annotation

* update link data encoding to use long strings for user data

* update encoding

* fix test

* update simplexmq

* rename field

* simplexmq

* remove comments

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2025-06-16 12:31:37 +01:00