Commit Graph
6436 Commits
Author SHA1 Message Date
spaced4ndy 5d3db7455d Merge branch 'master' into f/badges-ui 2026-08-05 16:45:23 +04:00
spaced4ndy b77deeed30 wip 2026-08-05 16:32:20 +04:00
Evgeny Poberezkin 1a56b7f0f8 Merge branch 'stable' 2026-08-05 11:51:17 +01:00
EvgenyGitHubEvgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
970ef89325 website: link to wefunder (#7344)
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-08-05 11:36:43 +01:00
EvgenyandGitHub 77c5fa34a6 docs: update readme (#7341) 2026-08-05 07:53:23 +01:00
Narasimha-scandGitHub 7e99e68950 android, desktop: fix draft appearing in another chat when switching chats while sending (#7308)
* ios, android, desktop: fix message being sent leaking into another chat

Compose state is shared between the chats opened in the same view, and
the send is launched in a scope that outlives the chat, so a send that
was still in flight when the chat was switched put its message (with the
reply context) into the compose state and then the draft of another chat,
and a late success cleared whatever was typed in the meantime.

The message being sent is no longer kept in the compose state when
leaving the chat, and the compose state is only cleared or restored after
sending if it still holds the message that was sent - the same check is
used by the other senders that show progress in the compose. A message
that failed to send is restored in the chat it was composed in, or kept
as its draft when another chat is open (iOS has no failed message
restore, there the message is dropped as before).

* android, desktop: keep only the chat switch fix

Revert the iOS changes and the same check in the three senders that
connect a prepared chat, leaving the fix for the compose state shared
between the chats opened in one view.

* plan: document what the narrowed change leaves to the connect senders

* android, desktop: use the same check where the sending flag is shared

The senders that connect a prepared chat set the same inProgress flag,
so a connect completing after the chat was switched cleared it for a
send started in the chat opened next, and that sent message was then
left in the compose.

* android, desktop: keep the live message clauses inside the open chat check

live and cs.liveMessage != null were alternatives to chatIsOpen, which
holds only while a live message is always sent to the chat that is open.
#7323 removes that: the live message committed by a chat switch is sent
to the chat it was composed in, while this view already shows another
one, so an unguarded clause here clears that chat's compose state - the
leak this fix exists to prevent.

liveSend stays an alternative to inProgress inside the guard, so a live
send behaves exactly as before while its chat is open, and it is excluded
from the restore/draft branch, which would otherwise write a draft on
every failing keystroke send once that chat is no longer open. On this
branch the only behaviour change is a live send completing after its chat
was left, which now leaves the opened chat alone.

Also load the draft of the chat opened next when the compose state is
cleared on switching away from a send in flight: clearState() returns
before the branch that loads a draft, so that draft was never shown, and
being in the slot but in no compose state it was then dropped by
clearPrevDraft on the next chat switch.

* plan: explain why live sends are guarded by the open chat check

Records that the exemption in "Deliberately unchanged" is from a guard
based on inProgress, not from chatIsOpen, and why the earlier form broke
once #7323 sends a live message to a chat other than the one open.
2026-08-04 21:01:35 +01:00
Narasimha-scandGitHub 0324517bfe android, desktop: keep database passphrase toggle inside the section card (#7326)
The "Save passphrase in settings/Keychain" label had no weight, so Row
measured it at full available width, the weighted spacer collapsed to 0
and the trailing DefaultSwitch was placed past the row's right edge.

Harmless until #6777: the section card is now inset by CARD_PADDING and
clipped with SectionCardShape, which cut the row from 348dp to 316dp on
the desktop start pane and made the overflowing switch both invisible
and unclickable, since Modifier.clip clips pointer input too. With a
custom passphrase set the toggle is enabled but unreachable, so the
passphrase stays saved in settings and the app never prompts for it on
start.

Give the label weight(1f) and drop the weighted spacer, matching what
SettingsActionItemWithContent does for every other toggle row.
2026-08-04 08:09:47 +01:00
spaced4ndy 8345ffc93e wip 2026-08-03 17:32:14 +04:00
spaced4ndy 204ab43a2e wip 2026-08-03 17:27:10 +04:00
spaced4ndy e6efb83f13 wip 2026-08-03 17:06:08 +04:00
spaced4ndy 439c49fea8 remove comments 2026-08-03 16:56:38 +04:00
spaced4ndy d68f842faf fix xcode file ids 2026-08-03 14:35:26 +04:00
spaced4ndy 5495162e0b fixes 2026-08-03 14:15:04 +04:00
EvgenyandGitHub 34b74d1c49 directory: remove support for directory log file (#7331)
* directory: remove support for directory log file

* remove unused exports
2026-08-02 16:01:22 +01:00
EvgenyandGitHub 31faceef73 docs: add bot library APIs (#7334) 2026-08-02 14:12:57 +01:00
Evgeny Poberezkin cbae9c5e87 core: 7.1.0.0 (simplexmq 7.1.0.0) 2026-08-01 13:13:40 +01:00
EvgenyGitHubEvgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
e1a349b90f core: support contact addresses with DR keys, service requests (#7310)
* core: use double ratchet keys in contact address (#7278)

* core: use double ratchet keys in contact address

* use PQ from the first message

* query plans

* update simplexmq

* api to rotate keys, option to show full links in CLI

* shorter description

* ui: add error parameters

* disable DR in addresses

* core: parameter for create address command to configure ratchet keys

* add pqRatchet param to address-related commands

* query plan

* fix parser

* fix kotlin

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>

* core: contact request rejection and service requests (#7292)

* update simplexmq

* implement service requests and rejections

* tests

* migration

* fix migration

* add api event and response

* bot api, postgres migration

* nix shas

* bot types, rename property

* update bot type

* sign service requests

* update bots api

* query plan

* update plan

* update simplexmq

* fix test, update bot api

* fix bot api

* resolve name for service request

* refactor

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>

* update simplexmq

* update simplexmq

* test delays

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-08-01 12:51:03 +01:00
EvgenyGitHubEvgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
61012d208e core, ui: extend profile peer type (#7277)
* core, ui: extend profile peer type

* remove comments

Co-authored-by: Evgeny <evgeny@poberezkin.com>

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-07-31 23:53:12 +01:00
spaced4ndy 2acc248c43 banner wip 2026-07-31 19:09:13 +04:00
spaced4ndy ea92dfe138 banner wip 2026-07-31 18:57:31 +04:00
spaced4ndy abd665a1ac banner wip 2026-07-31 18:50:43 +04:00
spaced4ndy 4a585a4cbe banner wip 2026-07-31 18:45:07 +04:00
spaced4ndy 4d45605e9f banner wip 2026-07-31 18:26:11 +04:00
spaced4ndy f402e4c9dc banner wip 2026-07-31 18:19:32 +04:00
spaced4ndy f2e628e4de wip 2026-07-31 17:59:58 +04:00
spaced4ndy b66cc394b1 wip 2026-07-31 17:50:58 +04:00
spaced4ndy 0b01848eb9 wip 2026-07-31 17:22:57 +04:00
spaced4ndy 7402a48f23 wip 2026-07-31 17:08:57 +04:00
spaced4ndy ca7790d96f wip 2026-07-31 16:54:58 +04:00
spaced4ndy 75dec1b6fe wip 2026-07-31 16:30:06 +04:00
spaced4ndy 2189782819 wip 2026-07-31 14:54:17 +04:00
spaced4ndy 8ffcd80aed wip 2026-07-31 14:01:00 +04:00
spaced4ndy c5cc01bb94 kotlin 2026-07-31 13:27:29 +04:00
spaced4ndy 85501e2286 wip 2026-07-30 23:53:12 +04:00
spaced4ndy 90a8793d7c wip 2026-07-30 23:36:25 +04:00
spaced4ndy e640932703 no-asset banner 2026-07-30 20:20:39 +04:00
spaced4ndy abad4dc590 banner wip 2026-07-30 19:49:38 +04:00
spaced4ndy 943dd3243c banner wip 2026-07-30 19:34:21 +04:00
spaced4ndy 80f1c5b544 banner wip 2026-07-30 18:21:34 +04:00
spaced4ndy be61f0a032 banner wip 2026-07-30 14:09:20 +04:00
spaced4ndy 221f2361a1 better name 2026-07-30 12:22:20 +04:00
EvgenyGitHubEvgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
f1418f9e55 core: drop support of chat versions older than 08/2024 (#7319)
* core: drop support of chat versions older than 08/2024

* fix encoding tests

* skip failing tests

* rename

* fix

* query plans

* remove unused legacy code

* remove more unused

* remove unused

* remove unused names

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-07-29 19:06:20 +01:00
spaced4ndy 5bcc2a52dd wip 2026-07-29 18:49:09 +04:00
spaced4ndy dd008b92cb improvements 2026-07-29 18:44:22 +04:00
spaced4ndy 3ce918ca18 improve banner 2026-07-29 18:19:34 +04:00
spaced4ndy 993dceb3ce ios: badges UI 2026-07-29 14:33:53 +04:00
EvgenyGitHubEvgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
64bf358040 core: fix version update on binary chunks (#7320)
* core: fix version update on binary chunks

* pass chat event

* pass encoding

* revert

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-07-28 17:51:01 +01:00
Evgeny Poberezkin 8dc387cb56 Merge branch 'stable' 2026-07-28 16:58:15 +01:00
SimpleX ChatandEvgeny Poberezkin e11128ce5b 7.0: android 366, desktop 155, ios 345 v7.0.0 2026-07-28 16:41:46 +01:00
Narasimha-scandGitHub bd298a1d4a ios, android, desktop: fix draft in support chat appearing in group chat (#7309)
Group chat and its support chats have the same chat id, so a draft saved
in "chat with admins" was restored in the group chat and shown as its draft
in the chat list. Include chat scope in the draft chat id.

Also save the draft when support chat is closed without changing chat id -
in that case KeyChangeEffect that saves drafts doesn't run.
2026-07-28 13:55:49 +01:00