Commit Graph

5846 Commits

Author SHA1 Message Date
Evgeny
628b00eb08 core: channel messages (#6604)
* core: channel messages (WIP)

* do not include member ID when quoting channel messages

* query plans

* reduce duplication

* refactor

* refactor plan

* refactor 2

* all tests

* remove plan

* refactor 3

* refactor 4

* refactor 5

* refactor 6

* plans

* plans to imrove test coverage and fix bugs

* update plan

* update plan

* bug fixes (wip)

* new plan

* fixes wip

* more tests

* comment, fix lint

* restore comment

* restore comments

* rename param

* move type

* simplify

* comment

* fix stale state

* refactor

* less diff

* simplify

* less diff

* refactor

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2026-02-12 07:11:59 +00:00
Evgeny Poberezkin
e29712c2e8 Merge branch 'master' into chat-relays 2026-01-29 19:51:22 +00:00
Evgeny Poberezkin
89c5898688 6.5-beta.5: android 335, desktop 131 v6.5.0-beta.5 2026-01-29 14:25:47 +00:00
Evgeny Poberezkin
b3410fb34a ios: 6.5-beta.5 (build 321) 2026-01-29 13:45:15 +00:00
Evgeny Poberezkin
ff8c03e409 Merge branch 'stable' 2026-01-29 13:00:01 +00:00
Evgeny Poberezkin
2787401434 v6.4.10: android 333, desktop 130 v6.4.10 2026-01-29 12:42:48 +00:00
Evgeny Poberezkin
db442d9661 ios: 6.4.10 (build 320) 2026-01-29 11:13:47 +00:00
Evgeny Poberezkin
98f1882a55 core: 6.5.0.9 (simplexmq 6.5.0.8) 2026-01-29 00:04:53 +00:00
Evgeny Poberezkin
14d5819ade Merge branch 'stable' 2026-01-28 23:38:54 +00:00
Evgeny Poberezkin
5d32e14559 core: 6.4.10.0 (simplexmq 6.4.8.0) 2026-01-28 22:03:25 +00:00
Evgeny
a786693c1a core: improve error handling (#6602)
* core: improve error handling

* simplexmq
2026-01-28 21:57:39 +00:00
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
sh
8d1ca9917b multiplatform: stop video playback when swiping away (#6588)
* android/build.gralde.kts: add JAVA_HOME to PATH

* fullScreenView: dispose player.stop when view changes

* fullScreenView: stop the video playback midway swipe

Previously, video playback stopped **only** when screen was fully swiped away to next item.

* ImageFullScreenView: simplify

* revert back VideoView
2026-01-21 09:14:04 +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
Evgeny
2fc72861e2 multiplatform/common: catch every exception at base64ToBitmap (#6576)
Co-authored-by: shum <github.shum@liber.li>
2026-01-15 14:47:50 +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