Commit Graph

3207 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 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
14d5819ade Merge branch 'stable' 2026-01-28 23:38:54 +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 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
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
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
Evgeny Poberezkin
b2cbe9a41e 6.5-beta.4: android 332, desktop 129 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
72912f1be1 ui: api for media gallery content types (#6556) 2026-01-09 08:25:40 +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
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
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 Poberezkin
44227bcee8 6.5-beta.3: android 331, desktop 128 2025-12-23 21:36:56 +00:00
Evgeny Poberezkin
5141339fa3 ios: 6.5-beta.3 (build 318) 2025-12-23 19:42:06 +00:00
Evgeny Poberezkin
113e5a032b ios: 6.4.9 (build 317) 2025-12-23 16:44:52 +00:00
Evgeny Poberezkin
6530c98402 ios: 6.5-beta.3 (build 316) 2025-12-22 23:24:30 +00:00
Evgeny Poberezkin
fd6929e967 Merge branch 'stable' 2025-12-22 21:54:39 +00:00
Evgeny
5066c5ccca ios: fix new chat sheet closing on new message in iOS 26 (#6525) 2025-12-22 21:53:49 +00:00
spaced4ndy
dc3fc21be4 core: fix opening new contact request on remote desktop (#6514) 2025-12-18 14:07:13 +00:00
Evgeny Poberezkin
c19a7c6fb5 6.5-beta.2: android 330, desktop 127 2025-12-12 18:34:43 +00:00
Evgeny Poberezkin
e6c00da9e1 ios: 6.5-beta.2 (build 315) 2025-12-12 17:52:11 +00:00
sh
afccda1b69 android: determinstic build in Android Studio (#6502)
* apps/android: pass and adjust PATH to shell script

* scripts/compress-and-sign: attempt to make determenistic build

* android: strip app-lib from project paths

* scripts/compress-and-sign-apk: compatability with MacOS

* apps/android: remove redundant cmake flag from app-lib

* scripts/compress-and-sign-apk: fix permissions + timestamp normalization

* scripts/compress-and-sign-apk: fix file ordering

some weird mac issues, i dunno

* apps/android: strip comment sections and do not embed build-id in libapp

* scripts/compress-and-sign-apk: disable verbose logging

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-12-12 17:00:59 +00:00
Evgeny Poberezkin
99d655f5d3 Merge branch 'stable' 2025-12-10 21:03:56 +00:00
Evgeny Poberezkin
453d4fe227 v6.4.8: android 328, desktop 125 2025-12-10 20:11:47 +00:00
Evgeny Poberezkin
90851143c4 ios: 6.4.8 (build 314) 2025-12-10 18:43:21 +00:00
Evgeny Poberezkin
8cd33f77fc ios: update core library 2025-12-10 18:32:05 +00:00
Evgeny
8089a8c7ef desktop: fix linking mobile and connecting after onboarding. Also fixes other cases when core controller changes in android/desktop. (#6489) 2025-12-10 09:51:03 +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
Evgeny
5e16029841 ios: reduce memory used by iOS share extension (#6465) 2025-11-25 15:49:33 +00:00
spaced4ndy
9f3b3c69dd ui: allow to delete member's messages when/after removing member (#6443)
* ui: allow to delete member messages

* fix merge category, deleted view

* fix remove items in model

* don't create item repeatedly

* kotlin

* obsolete import

* less delays
2025-11-17 09:41:47 +00:00
spaced4ndy
70e23a04ce ui: allow to block removed member or member that left (#6440) 2025-11-14 09:00:58 +00:00
Evgeny Poberezkin
e6f5b1c175 6.5-beta.1: ios 312 2025-11-03 12:58:03 +00:00
Evgeny Poberezkin
49b19c1445 6.5-beta.1: android 327, desktop 124 2025-11-03 11:39:07 +00:00
Evgeny Poberezkin
6ccd34bc40 Merge branch 'stable' 2025-11-02 22:28:28 +00:00
Evgeny Poberezkin
53d5dc2df8 v6.4.7: ios 311 2025-11-02 21:57:01 +00:00
Evgeny Poberezkin
c56574a86d v6.4.7: android 325 (target SDK 35), desktop 123 2025-11-02 21:02:45 +00:00
Evgeny Poberezkin
433156b6ff ios: v6.4.7 (build 310) 2025-11-02 17:22:17 +00:00
Evgeny
f3a34e87ae ios: fix iOS 26 (#6419)
* ios: fix iOS 26 list shading on scroll

* revert to compatible design

* revert scrolling modifier
2025-11-01 17:17:29 +00:00
Evgeny
416e155a49 ui: translations (#6413)
* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2506 of 2506 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2168 of 2168 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Italian)

Currently translated at 100.0% (2506 of 2506 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/it/

* Translated using Weblate (Arabic)

Currently translated at 100.0% (2506 of 2506 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ar/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2506 of 2506 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2168 of 2168 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 83.4% (2092 of 2506 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/zh_Hant/

* process

---------

Co-authored-by: summoner001 <summoner@disroot.org>
Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Co-authored-by: D0735 <D0735@users.noreply.hosted.weblate.org>
2025-10-31 14:22:45 +00:00
Evgeny Poberezkin
9c3ec53d27 ios: update core library 2025-10-30 19:31:45 +00:00