Commit Graph

5833 Commits

Author SHA1 Message Date
Evgeny 7d5768cf3a core: prepare group link before creating the group (#6600)
* core: prepare group link before creating the group

* update group creation flow

* refactor

* comments

* update plan, schema, api docs/types

* store shared group ID and keys when joining relay groups

* query plans, api docs
2026-01-27 17:56:31 +00:00
Evgeny Poberezkin 31ea6ffe32 Merge branch 'master' into chat-relays 2026-01-24 18:20:06 +00:00
Evgeny 4c6d0ec57d docs: contributing (#6598) 2026-01-24 17:59:46 +00:00
Evgeny Poberezkin 93c45879c9 Merge branch 'master' into chat-relays 2026-01-23 21:51:49 +00:00
Evgeny d30dde5026 android, desktop: content filter in chats (#6594)
* android, desktop: content filter in chats

* fix command

* fix

* show content filter menu in search

* show end call in app bar during active call with the current contact
2026-01-23 17:27:15 +00:00
Evgeny a87f0772c8 ios: content filter in chats (#6590)
* ios: content filter in chats

* allowed content types

* icons
2026-01-23 12:50:44 +00:00
Evgeny 5453d8875c core: filter all messages with links in text when link content filter is used (#6591)
* core: change msg_content_tag stored as blob to text

* track if items have links and use has_link when searching for links (MCLink_ MsgContentTag is passed)

* fix test (broken in master)

* merge migrations, update api and schema

* minor fixes

* tests

* update plans

* update migrations
2026-01-23 12:31:42 +00:00
Evgeny Poberezkin 811e3b4e28 Merge branch 'master' into chat-relays 2026-01-21 13:36:32 +00:00
spaced4ndy bd8ba4d5c6 core: chat relays protocol (#6383)
* core: chat relays protocol wip

* types, notes

* remove file

* removal protocol

* schema

* status

* update

* recovery

* update

* formatting

* rename

* more types

* comment

* more docs

* decrease number of steps

* format

* correct

* update

* update protocol

* update

* typo

* todo

* update doc

* update

* update

* remove added

* update

* update

* XGrpRelayReady

* link to chat relays

* update

* remove from protocol

* update

* json

* wip

* remove comment

* wip

* update

* wip

* wip

* update

* wip

* wip

* plans

* better view

* fix

* fix

* relay acceptance

* rework api

* add relays to link

* comment

* active on con, fix send

* comments

* direct in group plan

* prepare

* member connection wip

* comments

* member connection wip

* fix forwarding

* introduce moderators to new member

* enable relay tests

* plans

* security objectives

* refactor

* add to threat model

* stress test wip

* stress test wip

* Revert "stress test wip"

This reverts commit acde8a1fb3.

* Revert "stress test wip"

This reverts commit 6435808438.

* remove stress test

* improve output

* invert relay fkey

* postgres schema

* comments

* group in progress, remove auto-select relays commented code

* comments

* corrections

* comment

* lint

* redundant import

* core: chat relay request worker (#6509)

* update plans

* strict tables

* core: update group link asynchronously with relay link (#6548)

* update simplexmq

* docs: connection to chat relays rfc (#6554)

* add test for 2 relays (doesn't pass)

* create unknown member in same transaction as checking

* fix relays choosing different memberId (XContactRelay)

* plans, api

* use same incognito profile for relays, connect concurrently, save correct link for plan

* test

* don't duplicate items on group connection

* check relay record exists when joining

* use mapConcurrently when adding relays, update schemas

* fix multi-relay join for postgres (savepoint)

* core: async retry connection to chat relays (#6584)

* update simplexmq

* fix api tests

* prefer throwing temp error on connection

* check group relays when deleting from configuration

* relay_request_err_reason

* relay role

* rename, fix syntax

* plans

* rename, style

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-01-21 13:19:06 +00:00
Evgeny Poberezkin d08202ee2d Revert "website: directory under maintenance"
This reverts commit 3e5e655a8f.
2026-01-20 16:39:08 +00:00
Evgeny 89964bf15a bots: support maintenance option (#6558)
* bots: support maintenance option

* maintenance mode: run pre-start hook, do not create user
2026-01-20 13:28:20 +00:00
Evgeny 3e5e655a8f website: directory under maintenance 2026-01-20 13:10:24 +00:00
sh 32a9b29666 scripts: sysctl adjustments in reproducible-builds-android (#6583)
* scripts: sysctl adjustments in reproducible-builds-android

* scripts/reproduce-builds-android: better errors and sudo only if sysctl

* scripts/reproduce-builds-android: set max_pid var early and fix sysctl
2026-01-19 09:33:39 +00:00
M. Sarmad Qadeer c9193fb702 website: fixes (#6454)
* add rtl support

* enable arabic language

* fix colors for navbar on RTL language and when scrolling to footer

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-01-17 09:50:50 +00:00
Evgeny Poberezkin da02bae85e readme: update SimpleX addresses 2026-01-17 07:16:23 +00:00
Evgeny Poberezkin c11ff747b0 nodejs: update package 6.5.0-beta.4.4 2026-01-15 17:17:38 +00:00
sh d3a72473e9 nodejs: add and fix windows (#6581)
* simplex-chat-nodejs: adjust binding.gyp for windows

* simplex-chat-nodejs: different library linkage for windows

* simplex-chat-nodejs: remove non-moving GC in Windows

"non-moving GC is broken on windows with GHC 9.4-9.6.3" from:

https://github.com/simplex-chat/simplex-chat/blob/master/apps/multiplatform/common/src/commonMain/cpp/desktop/simplex-api.c#L11-L17

* ci: add windows to release-nodejs-libs

* simplex-chat-nodejs: same curl flags for dll.def download
2026-01-15 16:36:35 +00:00
spaced4ndy 2f1816ca32 Merge branch 'master' into chat-relays 2026-01-15 19:18:57 +04:00
spaced4ndy 2d64365d8c core: correctly handle errors in createWithRandomId/Bytes for postgres (reuse withSavepoint from simplexmq) (#6578) 2026-01-15 15:18:15 +00:00
spaced4ndy 4873ca2337 Merge branch 'master' into chat-relays 2026-01-15 13:52:08 +04:00
Alexandre Esteves a8d7a9b389 scripts: more portable (#6562)
* scripts/desktop: use more portable shebang on linux

* scripts/desktop: only query uname for architecture

* scripts/desktop: don't hardcode ghc version

* revert GHC version

* Apply suggestions from code review

* accept arch as param

---------

Co-authored-by: Evgeny <evgeny@poberezkin.com>
2026-01-15 09:51:54 +00:00
spaced4ndy 8800f5e62f core: correctly handle errors in withLocalDisplayName for postgres (rollback to savepoint) (#6577) 2026-01-15 09:36:53 +00:00
Evgeny 43aa3e7e8a nodejs: simplex-chat npm package (#5556)
* nodejs: addon

* rename

* changes

* change lib name

* package

* lib path

* simplex-chat-nodejs: fix library paths

* simplex-chat-nodejs: change addon name

* simplex-chat-nodejs: install libs, adjust package and installation

* simplex-chat-nodejs: add npmignore

* gitignore: add additional nodejs path

* simplex-chat-nodejs: fix shim name

* gitignore: ignore nodejs package lock

* simplex-chat-nodejs: rename shim to underscore

* simplex-chat-nodejs: fix library loading on Mac

* simplex-chat-nodejs: expose low-level functions, move tests

* simplex-chat-nodejs: expose shim fucntions

* simplex-chat-nodejs: fixed libs version

* simplex-chat-nodejs: switch to official repository

* simpelx-chat-nodejs: adjust release tag

* async addon, tests

* refactor, fixes

* high level chat api

* simplify cpp add-on - move logic to JS, fix API

* api for events, api test

* update @simplex-chat/types

* Revert "update @simplex-chat/types"

This reverts commit da3f89866f.

* change @simplex-chat/types version

* receiver for any events, wait with timeout

* low-level bot example

* typedoc

* network connection events

* declarative bot api

* readme, docs

* update docs

* update readme

* add liveMessage support

* allow passing welcome message as string

* @simplex-chat/webrtc-client 6.5.0-beta.3

* bot test

* concurrent connection in tests

* nodejs/download-libs: cleanup on version mismatch

* nodejs/download-libs: bump libs version

* do not handle signals in Haskell

* update bot examples

* flatten docs and use local links to code

* update readme

* 6.5.0-beta.4

* include more files in npm package, 6.5.0-beta.4.2

* .gitignore

---------

Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
Co-authored-by: shum <github.shum@liber.li>
2026-01-14 21:42:21 +00:00
Evgeny Poberezkin b2cbe9a41e 6.5-beta.4: android 332, desktop 129 v6.5.0-beta.4 2026-01-14 12:34:31 +00:00
Evgeny Poberezkin 56bda03c33 ios: 6.5-beta.4 (build 319) 2026-01-14 11:56:00 +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 Poberezkin 6f8f684c6f Revert "website: directory under maintenance (#6571)"
This reverts commit 8e5481611b.
2026-01-13 15:02:33 +00:00
Evgeny 8e5481611b website: directory under maintenance (#6571)
* website: directory under maintenance (#6557)

* update
2026-01-13 12:05:47 +00:00
sh 324aefef86 ci: add nodejs action (#6568)
* ci: add nodejs action

* ci: better curl flags

* ci: fix naming
2026-01-12 17:30:35 +00:00
spaced4ndy bf1783feb4 core: fix agent cleanup manager not starting in normal operation mode in CLI (#6567) 2026-01-12 10:16:32 +00:00
spaced4ndy 27823b613a Merge branch 'master' into chat-relays 2026-01-12 13:36:10 +04:00
Evgeny 8ebc8894de bots api: fix typescript code, add start/stop commands (#6565) 2026-01-11 16:57:15 +00:00
Evgeny Poberezkin 4b986c4cf6 Revert "website: directory under maintenance (#6557)"
This reverts commit 0f65ba0291.
2026-01-09 18:17:28 +00:00
Evgeny 0f65ba0291 website: directory under maintenance (#6557) 2026-01-09 12:33:41 +00:00
spaced4ndy 46629a1c03 Merge branch 'master' into chat-relays 2026-01-09 15:04:53 +04:00
Evgeny 72912f1be1 ui: api for media gallery content types (#6556) 2026-01-09 08:25:40 +00:00
Evgeny 405ce9615e core: support content filter for contacts and notes to allow media galleries (#6552)
* core: support content filter for contacts and notes to allow media galleries

* add api to list chat content types, tests

* query plans, api docs

* add indices
2026-01-09 08:24:26 +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
sh d6eebd52fc desktop: rename library to libsimplex (#6528)
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-01-07 13:20:20 +00:00
spaced4ndy 6eb20722fc move relays migration 2026-01-06 17:01:06 +04:00
spaced4ndy 61de2e3f61 Merge branch 'master' into chat-relays 2026-01-06 15:15:44 +04: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 87e8a10f1e core: use strict tables (#6535)
* core: use strict tables

* fix field types

* change encodings to match schema types; migrate sqlite tables to strict mode

* stabilize postgres client tests, remove slow handshake tests

* update simplexmq

* fix test

* change call_state type to text

* fix directory service queries

* update local_alias for existing schemas

* change types before strict
2026-01-05 08:53:26 +00:00
spaced4ndy d29fd2dfa6 Merge branch 'master' into chat-relays 2026-01-05 11:31:15 +04: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
sh ed3be9c228 desktop: add fixed copyright (#6533)
* desktop: add fixed copyright

Also fixes reproducible builds.

* update

---------

Co-authored-by: Evgeny <evgeny@poberezkin.com>
2025-12-30 09:03:49 +00:00
Evgeny 59b31e2631 core: compress commands in remote connection (#5776)
* core: compress commands in remote connection

* backwards compatible compression

* show in CLI if compression is enabled

* use aroundWith for ghc 8.10.7 compatibility

* skip bot API tests in GHC 8.10.7
2025-12-30 07:49:17 +00:00
Evgeny Poberezkin e3fd481bfb Merge branch 'stable' 2025-12-29 21:56:30 +00:00
Evgeny Poberezkin 7276bb944d docs: update XMR donations address 2025-12-29 21:56:13 +00:00