Commit Graph
3807 Commits
Author SHA1 Message Date
sh-agentsandsh-agents aa313e51b8 store: record refunds and close failed orders from the group (#8142)
* store: limit group name codes to single 2-year codes, 10 a day

* store: exclude console name codes from the group's daily cap

* store: hold managed group joiners for a moderator's review

* store: drop the years option from group name codes

* store: order the group code migration after the terms migration

* store: hold group joiners for review from the join request

* store: name the owner recovery command for a member pending review

* store: read the group info in the joiner test by position

* store: hold for review only the joiners of the managed group

* store: restore member review in the group profile on every join

* store: state the service's member review duties as they hold

* store: rename a joiner test value that shadowed hspec's pending

* store: note why the first group joiner is not held for review

* store: keep the group code column in the names migration

* store: point the group lane references past the approved comment

* store: record refunds and close failed orders from the group

* store: allow 2 to 10 years for group name codes

* store: let group moderators issue name codes

* store: state the group money commands' locking and delay

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-13 06:11:32 +00:00
sh-agentsandsh-agents 53b375d7f3 store: narrow group name codes and review managed group joiners (#8098)
* store: limit group name codes to single 2-year codes, 10 a day

* store: exclude console name codes from the group's daily cap

* store: hold managed group joiners for a moderator's review

* store: drop the years option from group name codes

* store: order the group code migration after the terms migration

* store: hold group joiners for review from the join request

* store: name the owner recovery command for a member pending review

* store: read the group info in the joiner test by position

* store: hold for review only the joiners of the managed group

* store: restore member review in the group profile on every join

* store: state the service's member review duties as they hold

* store: rename a joiner test value that shadowed hspec's pending

* store: note why the first group joiner is not held for review

* store: keep the group code column in the names migration

* store: point the group lane references past the approved comment

* store: allow 2 to 10 years for group name codes

* store: let group moderators issue name codes

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-12 13:37:01 +00:00
sh-agents fde4217623 Merge remote-tracking branch 'origin/names' into sh/names-close-failed
# Conflicts:
#	tests/Bots/StoreService/GroupIntegrationTests.hs
2026-11-11 13:23:21 +00:00
sh-agentsandsh-agents 6a8ae41d0d store: refuse name prices under a configured floor (#8093)
* store: refuse name prices under a configured floor

* store: correct the price floor comment on the allowance

* store: log the configured price floor at start

* store: test the price floor for spends, 3 years and the ini value

* store: document the price floor for searches, moves and spends

* store: reuse withRpcUrl in the price floor boot test, tidy imports

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-11 13:10:05 +00:00
sh-agents 368264732d Merge commit '541ded282f' into sh/names-close-failed
# Conflicts:
#	apps/simplex-store-service/docs/names.md
#	apps/simplex-store-service/src/StoreService/Service.hs
#	tests/Bots/StoreService/GroupIntegrationTests.hs
2026-11-11 11:20:19 +00:00
sh-agentsandsh-agents 541ded282f store: keep the names terms texts across restarts (#8095)
* store: keep the names terms texts across restarts

* store: log names terms failures and fetch the texts in a lane

* store: run the names terms fetch lane from the contracts module

* store: test names terms texts kept when storing them fails

* store: take names terms links on GitHub and pinned only by commit

* store: create the names terms table in the names migration

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-11 11:16:23 +00:00
sh-agents 75b2691f8a Merge commit '4aab0ef3a6' into sh/names-close-failed
# Conflicts:
#	tests/Bots/StoreService/GroupIntegrationTests.hs
2026-11-11 09:07:23 +00:00
sh-agentsandsh-agents 4aab0ef3a6 store: refuse unsafe service starts, exit on a lost instance lock (#8096)
* store: restrict Stripe test keys to test chains, refuse mixed modes

* store: limit gas_limit_cap times max_fee_per_gas to 1 ETH

* store: prevent start while another key's transactions are pending

* store: exit when the instance lock's connection fails, restart always

* store: explain the fee cap refusal, match the chain checks' form

* store: check pending transactions' key and chain before the chat starts

* store: print a lost instance lock before the service stops

* store: document start refusals, stuck pending rows and the fee bound

* store: build the pending signer refusal without an inferred constraint

* store: zero the old key's allowance before dropping its pending rows

* store: flush the lost lock line before the service stops

* store: name the pending check after the signatures it checks

* store: test that another key's pending row stops the start

* store: read the chain settings in the start test by field

* store: limit each transaction's fee to 1 ETH at signing

* store: log a fee capped at 1 ETH for replacements too

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-11 08:56:50 +00:00
sh-agents 5527fe0212 store: list lapsed orders and provider refs to check before //close 2026-11-09 13:58:46 +00:00
sh-agents 5565d55d64 store: word the //close answer for a refused write 2026-11-09 13:58:44 +00:00
sh-agents 41188430e7 store: document the landed register check where it is defined 2026-11-09 13:58:43 +00:00
sh-agents bce20b0297 store: describe //close in the names design 2026-11-09 13:39:08 +00:00
sh-agents 2462ad4b3a store: name each //close outcome and the failure time to check 2026-11-09 13:39:08 +00:00
sh-agents 89de9d895f store: close a failed paid name order and record its refund 2026-11-09 11:39:22 +00:00
ad75fe706f store: sell and register SimpleX names (#7979)
* core: add prepaid name codes and length bounds

* store: run the names migration after badges

* store: issue and revoke prepaid name codes

* store: document issuing prepaid name codes

* store: move the ABI helpers to Names.Abi

* store: read the [names] and [chain] settings

* store: add the names chain client and reads

* store: refuse group name codes while names are off

* store: search names and preview links

* store: serve each site on its own port

* scripts: deploy the badges and names sites

* store: document search and the two sites

* store: add the drop_taken_codes migration

* store: read the names codes_only setting

* store: add the names store and order signatures

* store: take name orders by card, crypto or code

* store: document name orders and codes-only

* store: add the names transaction sender

* store: commit and register queued orders

* store: reveal and retry an owner's order

* store: document the gas key

* store: add the name balance migrations

* store: read crypto units, rates and confirmations

* store: keep a taken order's money as a balance

* store: spend a balance on another name

* store: record refunds with //refund

* store: document balances and refunds

* store: add the agreed terms migration

* store: read the terms and community names

* store: answer community and terms in search

* store: sign and store the agreed terms

* store: document the terms and community names

* store: add the invoiced units migration

* store: read the crypto an invoice asks

* store: credit late and overpaid crypto by share

* store: document crediting late crypto by share

* store: add the record changes migration

* store: find an owner's orders and move one

* store: relay owners' link edits on chain

* store: document link edits

* store: move isLoopbackHost to Config

* store: trust dev issuer keys on the local chain

* scripts: build the names site from a submodule

* scripts: add the dev setup and contract run

* store: document the dev setup and names image

* store: send a Stripe idempotency key for names

* tests: wait until a relay lets go of its edit

* store: refuse a link edit deadline under 10 min

* store: count reverted link edits in the year limit

* store: require https for a remote chain node

* store: refuse zero chain confirmations

* store: set up the dev stack from the names branch

* store: rerun a failed unpaid cleanup next pass

* store: never replace a succeeded Stripe intent

* store: refuse an ini setting written as key: value

* store: note the webapp submodule's pinned branch

* store: document confirmLanded judging by ownerOf

* store: update the names webapp submodule

* store-service: register names under the name policy, every name accepting its terms on chain (#7889)

* store: accept each name's terms on chain under the name policy

* ci: run the reduced build on sh/names-deploy

* store: address review: policy re-read, terms reads and startup log

* store: never credit an unconfirmed extra

* store: alert money sent to a paid name invoice

* store: refuse to start on another chain's node

* store: keep orders while the allowance is used up

* store: replace a stalled transaction after 3 blocks

* store: judge a name taken at confirmation depth

* store: bind the template's listener to loopback

* store: scan only the ids of active name orders

* store: refuse unknown [names] and [chain] settings

* store: fetch the webapp submodule in upgrade steps

* store: delete definitions only tests use

* store: lock only name invoices at settlement

* store: retry an unexpired commitment as usual

* store: share the helpers defined twice

* store: test route limits on the running service

* store: fix tests that could not fail

* ci: test the store service on Postgres

* store: count IPv6 clients by their /64

* store: sweep invoices read alone past a list cap

* store: cap checkouts of all clients together

* store: cap the long polls held at once

* store: stop the old badge project at upgrade

* store: keep search lookups free of previews

* store: read the ini as UTF-8 in any locale

* ci: run Postgres store tests in a UTF-8 locale

* store: cap the transactions one order sends

* store: cancel a card intent after three declines

* store: refuse a name price under a cent

* store: send each transaction with gas headroom

* store: cap searches and read terms once per block

* store: never log the group join link

* store: mask the database password at startup

* store: run one instance per database

* store: limit name codes to admins, 100 a day

* store: refuse HighSpeed settlement with names

* store: no unverified receipts with a trusted key

* store: cap the log lines of refused webhooks

* store: check Apple certificates at the signed date

* store: refuse a malformed Stripe publishable key

* store: check the owner before a refund

* store: fold the names migrations into one

* store: read onion name links through the proxy

* store: refund money after paid once confirmed

* store: limit the allowance wait to a dry run

* store: bind loopback when upgrading

* ci: cache and widen the store Postgres job

* store: fix stale and duplicate names tests

* store: fix the submodule path in the upgrade

* store: refuse unpaid name codes on the CLI

* store: apply the review's names test list

* store: finish the review's names test list

* store: restore the base registration tests

* store: pass link hosts that do not resolve here

* store: refuse a move once its sends are used up

* store: take the shared checkout at the provider

* store: hold a search slot for chain reads only

* store: state which refunds are safe on a reference

* store: check a failed order's name before refusing its move (#8060)

* store: test and document the shared checkout cap for name orders

* store: check a failed order's name on chain before refusing its move

* store: test name links whose host lookup fails

* store: test that a search holds its slot through the chain reads only

* store: restore the signed transaction check in the chain tests

* store: remove the chain tests' copy of the signed transaction check

* store: correct the search slot texts and the README's balance endpoints

* docs: system and sequence diagrams of the names service (#8068)

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: brenzi-agent <brenzi-agent@brenzi.ch>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-11-07 10:45:19 +00:00
Evgeny Poberezkin 0882a847cc Merge branch 'master' into names 2026-11-05 08:13:14 +00:00
Evgeny @ SimpleX Chat 68369e3bbd desktop: show macOS notifications via Notification Center (#7879) 2026-11-05 07:47:02 +00:00
SimpleX Chat d461333135 7.1: android 391, desktop 172, ios 367 2026-11-04 16:29:32 +00:00
Evgeny @ SimpleX Chat aceb646f95 core, ui: typed empty lines are shown, and the flat chat layout reads as paragraphs (#8023)
* ui: markdown messages show the empty lines that were typed

* ui: snapshot references of messages with empty lines

* ui: terminal layout spacing by one paragraph unit, names at text size

* ui: terminal gap below reactions, same empty lines in both apps

* ui: flat layout references with the paragraph unit

* core, ui: text with empty lines as paragraphs, ios bubbles fit text

* core, ui: move text with empty lines as paragraphs to a follow-up

* ui: ios references with bubbles that fit their text

* ui: other senders' names in the flat layout in the secondary colour

* core, ui: text with empty lines as paragraphs

* core, ui: single-star text italic, reports drawn without core prefix
2026-11-04 13:27:22 +00:00
50c763df5d ui: translations (#8030)
* Translated using Weblate (Italian)

Currently translated at 100.0% (2727 of 2727 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 6.8% (188 of 2727 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2727 of 2727 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% (3070 of 3070 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (3070 of 3070 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (3070 of 3070 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 12.3% (337 of 2727 strings)

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

* translations: fix hu ios placeholders

* translations: import/export ios

* android: translate badges, names, what's new

* ios: translate badges, names, what's new

* android: remove stale v7_1_invest_learn_more

* translations: import/export ios

* translations: fix fr ios file size string

* translations: fix errors in ca, de, es, fr, in, it, nl, pl, pt, ro, vi, zh translations (#8031)

Corrects mistranslations, typos, broken grammar and inconsistent terms found in the review of #8030: badge names inserted mid-sentence in es, ledger labels in ca/fr/in/vi, corrupted pt iOS strings, pt "dístico" vs the locale's "distintivo", and zh-rCN strings that do not read with the countdown.

* android: fix stale supporter badges title

* android: fix flagged tr, uk, zh, lv strings

* ios: fix zh-Hans months interval

* ios: warn about outdated and mismatched strings

* android: align es, tr, zh strings with ios

* ios: align uk invested string with android

---------

Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Co-authored-by: Fábio Pereira (Serzedo) <fpereira-84@users.noreply.hosted.weblate.org>
Co-authored-by: summoner001 <summoner@disroot.org>
Co-authored-by: Narasimha-sc <166327228+Narasimha-sc@users.noreply.github.com>
2026-11-04 12:07:17 +00:00
Evgeny @ SimpleX Chat 215c02df71 ui: crowdfunding card and page as before, slide says big channels pay (#8027) 2026-11-04 10:04:16 +00:00
Evgeny @ SimpleX Chat 4ef5fdc566 ui: what's new crowdfunding card opens the crowdfunding page again (#8022)
* ui: what's new crowdfunding card opens the crowdfunding page, with ask SimpleX team

* ui: what's new references with the crowdfunding card

* ui: keep the what's new card texts, only open the crowdfunding page from it
2026-11-04 09:09:02 +00:00
Evgeny Poberezkin f0911141c6 Merge branch 'stable' 2026-11-04 08:53:18 +00:00
shandsh-agents 9f8961b8b7 store: badge fixes independent of names (#7971)
* tests: capture store logs at note, uncolored

* tests: flush store logs instead of waiting

* store: read invoices on BTCPay payment events

* store: sweep around invoices a pass failed to read

* store: report closed paid invoices in full

* store: send a Stripe idempotency key

* store: log handler exceptions as whole records

* tests: pin the store service wire tags

* tests: await replies on the member consoles

* scripts: exclude every ini from the image

* scripts: show api_host in the ini example

* store: drop the Stripe idempotency key

* store: give Stripe the order id as its reference

* store: warn of a failed read per invoice

* store: sweep around an overdue unknown provider

* tests: sweep around an overdue unreadable invoice

* store: trust BTCPay's status for closed in full

* store: drop comments that repeat the code

---------

Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-04 07:02:58 +00:00
spaced4ndyandspacedandy-agents-simplex b6a71823fc core: badge service logs at the standard levels (#7954)
# Conflicts:
#	apps/simplex-store-service/Main.hs
#	apps/simplex-store-service/src/StoreService/Config.hs
#	apps/simplex-store-service/src/StoreService/Group.hs
#	apps/simplex-store-service/src/StoreService/Log.hs
#	apps/simplex-store-service/src/StoreService/Poller.hs
#	apps/simplex-store-service/src/StoreService/Providers/BTCPay.hs
#	apps/simplex-store-service/src/StoreService/Service.hs
#	apps/simplex-store-service/src/StoreService/StoreReceipts.hs
#	apps/simplex-store-service/src/StoreService/Web/Server.hs
#	simplex-chat.cabal
#	tests/Bots/StoreService/BotTests.hs
#	tests/Bots/StoreService/ConfigTests.hs
#	tests/Bots/StoreService/GroupIntegrationTests.hs
#	tests/Bots/StoreService/WebTests.hs

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-11-03 19:56:18 +00:00
shandsh-agents 2c09d06793 store: rename badge service to store service (#7987)
Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-03 13:24:17 +00:00
spaced4ndyandspacedandy-agents-simplex 86e3cdbe8c android: fix the Invest banner showing briefly at start outside the US (#8013)
* android: fix the Invest banner showing briefly at start outside the US

* android: show the Invest banner's country condition at its call sites

* android: chat list docs say the Invest banner waits for the Play country

* android: chat list spec says the Invest banner condition's order matters

* android: docs map the Invest banner's conditions and note What's New's

* android: show crowdfunding in Play builds only once the country is known

---------

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-11-03 12:36:08 +00:00
spaced4ndyandspacedandy-agents-simplex dfcebff38e android, desktop: right margin for images in the terminal chat layout (#8012)
* android, desktop: right margin for images in the terminal chat layout

* android, desktop: right margin for quoted images in the terminal layout

---------

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-11-03 12:35:16 +00:00
spaced4ndyandspacedandy-agents-simplex dc7cbe6c62 android, desktop: show members who left as left in member info (#8011)
Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-11-03 12:34:09 +00:00
spaced4ndyandspacedandy-agents-simplex faeabef688 ios: show markdown files with HTML tags formatted to the end (#8008)
* ios: show markdown files with HTML tags formatted to the end

* ios: show every < in a markdown file as text

---------

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-11-03 12:33:44 +00:00
spaced4ndyandspacedandy-agents-simplex a384d3703b android: fix empty space below the QR scanner on tablets in landscape (#8009)
Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-11-03 12:33:21 +00:00
Evgeny @ SimpleX Chat af54895ca3 ios: snapshots of full screens with the status bar, for the user guide (#8005)
* ios: guide screens rendered with the status bar; group invitation and contact preferences previews

* ios: record the full-screen snapshots with the status bar

* ios: keep the accepted group invitation preview
2026-11-03 11:20:56 +00:00
SimpleX Chat 8cbb287a04 7.1-beta.10: android 390, desktop 171, ios 366 2026-11-03 11:13:21 +00:00
Evgeny @ SimpleX Chat 814caf5ec3 ui: revenue plan slide shows who pays with three chats (#8006)
* ui: revenue plan heading without free for users

* ui: revenue plan slide with three chats
2026-11-03 09:38:28 +00:00
6f8ebda2c5 name registration service and client functions and mocks (#7693)
* name registration service and client functions and mocks

* 2 rounds of goal iter

* write a plan doc

* 7 rounds of /goal

* adapt contract updates

* intent signature includes duration of reservation. verify field before submitting the tx

* round 11 converged

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: shum <github.shum@liber.li>
2026-11-03 08:03:11 +00:00
sh-agents 5f6674fc01 Merge branch 'master' into names 2026-11-03 06:11:46 +00:00
SimpleX Chat 06f220a8b7 7.1-beta.9: android 389, desktop 170, ios 365 2026-11-02 14:36:29 +00:00
shandsh-agents 09629bd03d ios: update translations (#7988)
Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
2026-11-02 13:06:25 +00:00
sh-agents 0465fd649a Merge branch 'master' into names 2026-11-02 11:42:59 +00:00
Evgeny @ SimpleX Chat 53d7e8c6ca ui: what's new in v7.1, supporter badge links and benefits (#7982)
* android, desktop: what's new in v7.1, get a supporter badge, Flat layout

* android, desktop: what's new image opens Wefunder, sections get icons

* android, desktop: crowdfunding image without the stripe at its left edge

* android, desktop: Support SimpleX in settings, badge benefits shown

* android, desktop: more space under the what's new crowdfunding image

* ci: desktop references of v7.1 what's new and the settings badge row

* android, desktop: crowdfunding page without contact button, badge texts

* ci: desktop references of what's new with one rocket

* ui: what's new in v7.1, badge links and benefits, investor offer in store

* ui: localized crowdfunding texts on iOS, badge button kept in place

* ci: iOS references of v7.1 what's new, badge row and store screens

* ui: badge instead of the phone picture in what's new

* ui: what's new crowdfunding section without the investor count

* ui: what's new badges section without a picture

* ci: what's new references without the picture and investor count

* ui: investor offer on badge store screens in every country

* ui: shorter subscription terms and store notes on badge screens

* ios: subscription terms without the cancellation window

* ios: subscription terms worded as on Google Play

* ui: shorter badge errors and subscription notes

* ui: translations of the shorter badge texts; shorter purchases alert on iOS

* ui: shorter link, channel signing and badge texts, with translations

* ui: Your badge for every badge except legend in settings

* android, desktop: badge button at one height on the store screens; crowdfunding texts translatable

* android, desktop: smaller crowdfunding image

* android, desktop: what's new references with the smaller crowdfunding image
2026-11-01 23:33:11 +00:00
Evgeny @ SimpleX Chat cd0d46c5e3 android, desktop: exact alignment and spacing (#7946)
* android, desktop: exact alignment and spacing

* android, desktop: previews of the views changed for alignment and spacing

* ci: desktop references of exact alignment and spacing

* android, desktop: preview of chat rows with unread messages, mentions and muted chats

* android, desktop: deleted text, What's new and app version keep master's layout; link strip follows iOS

* ci: desktop references of the review round and of chat rows with unread messages

* android, desktop: previews of the private routing and downgrade pickers and of the migration network step

* ci: desktop references of the private routing and downgrade pickers and the migration network step

* android, desktop: channel text aligned; master row date, strips, icons

* ci: desktop references of reverted views and the aligned channel icon

* android, desktop: the pull request holds only the agreed changes; new chat sheet and previews of reverted changes as on master
2026-11-01 07:47:07 +00:00
Evgeny @ SimpleX Chat 56b4ca73cc ios: exact alignment and spacing (#7945)
* ios: exact alignment and spacing

* ios: previews of the views changed for alignment and spacing

* ci: iOS references of exact alignment and spacing

* ios: single check and the time under a received emoji keep their places

* ios: deleted text, link strip text, What's new, app version, QR cards and onion hosts keep master's layout; info headers get more space above the avatar; chat row preview with contact requests

* ci: iOS references of the review round and of chat rows with contact requests

* ios: keep master's tags, requests, group icon, footers, compose strips

* ci: iOS references of the views back on master's layout

* ios: the pull request holds only the agreed changes, without previews of reverted ones

* ios: contact request view as on master
2026-11-01 07:46:07 +00:00
Narasimha-sc d1b3da8410 android, desktop: chat info shows another chat's mute, receipts and search; contact edits revert (#7927)
* desktop: show the open chat's mute, receipts and search in chat info

* android, desktop: show the open chat's mute state in the chat menu

* android, desktop: keep both contact info changes to mute and receipts

* android, desktop: list all members when the member search is hidden

* android, desktop: remove the unused chat menu mute state
2026-10-31 20:19:58 +00:00
Narasimha-sc 0735bd2c6e desktop: after a chat switch, chat info shows the previous chat's security code, link or members (#7926)
* desktop: reload chat info when it is shown for another chat

The info pane keeps the values it last loaded. When the pane is composed
again for another chat - after clicking another chat with a page such as
"Verify security code" open over it, or when switching between a contact
and a group - KeyChangeEffect takes the new chat id as its starting key, so
nothing is reloaded: "Verify security code" opened from the new contact's
info showed the previous contact's code, and a group's info missed its
members.

Remember which chat the loaded values belong to and reload whenever the
shown chat differs from it.

Fixes #5135

* plans: desktop chat info stale after chat switch (#5135)

* desktop: don't show another chat's info while the shown chat loads

When the info pane showed a chat other than the one its values were
loaded for, it reloaded them, but until the reload returned it showed the
previous chat's values: "Verify security code" opened the previous
contact's code, and a group showed the previous group's link, so "Group
link" opened and shared another group's link.

Start the contact info, security code and group link empty when they
belong to another chat. Hide the "Create group link" / "Group link" row
and disable the channel "Link" button until the link is loaded: with no
link yet, both open the link page, which creates a link when it gets
none, and for a group that already has one the core creates a server
queue before failing with a duplicate link error.

* desktop: keep a late group link update from replacing another chat's link

A link created, changed or deleted on the "Group link" page finishes in
the background. If the user switched chats meanwhile and the pane already
loaded the next group, the update replaced that group's stored link, and
the next time the pane was composed for it, it showed the previous group's
link, or no link after a delete.

Store the update only while the stored values belong to the group the
update came from.

* desktop: reload group info when its members were cleared

Switching chats clears the group members, and the preload skips storing
them when another chat is open when they arrive. Clicking info on group A,
then another chat and back to A before the preload finished, opened A's
info with the preloaded values marked as A's, so nothing was reloaded and
the members list showed only the user.

Reload the group info also when its members are not loaded.

* plans: chat info while it reloads, late link update, cleared members (#5135)

* desktop: hide channel owner link rows until the link is loaded

* plans: test of the channel owner rows, which builds the tables are for

* plans: restructure chat info plan into problem, cause, fix and scope

* plans: correct the Android and iOS scope of the chat info plan

* plans: chat info plan wording
2026-10-31 20:18:45 +00:00
SimpleX Chat 6016a7067b 7.1-beta.8: android 388, desktop 169, ios 364 2026-10-31 09:38:31 +00:00
Evgeny @ SimpleX Chat 5230eadbab ios, android, desktop: load JPEG, PNG, GIF and WebP image files (#7956) 2026-10-31 07:14:01 +00:00
Evgeny @ SimpleX ChatandEvgeny Poberezkin 51d9eb2785 core: faster image resizing (#7957)
* core: optimise image processing in builds without optimisation

* core: faster image sharpening

* core: faster transparency check for images

* docs: plan PNG previews from a predicted size

* core: start PNG previews at a predicted size

* ios: update core

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-10-31 07:09:40 +00:00
Evgeny @ SimpleX Chatandspacedandy-agents-simplex cedd13f57b ui: what's new in v7.1-beta.8 (#7953)
* ui: what's new in v7.1

* ui: v7.1 what's new wording, moderator icon and badge item style

* ui: better calls in v7.1 what's new

* ui: phone icon for better calls in v7.1 what's new

* ui: v7.1 what's new preview screenshots

* ui: even gap below the supporter badge in v7.1 what's new

* ui: supporter badge picture rises above its text in v7.1 what's new

* ui: v7.1 what's new preview screenshots with the badge layout

* ui: v7.1 what's new desktop screenshot after the master merge

* ui: v7.1-beta.8 what's new wording

* ui: v7.1-beta.8 what's new: promote contributors to moderators

* ci: desktop references of v7.1-beta.8 what's new

* ui: v7.1-beta.8 what's new: larger supporter phone aligned by its head

* ci: desktop references of the supporter phone placement

* ci: iOS references of v7.1-beta.8 what's new

---------

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-10-30 20:58:35 +00:00
Narasimha-sc 05ac3612b7 android, desktop: a migration link pasted with extra whitespace downloads without its proxy settings (#7885)
* multiplatform: trim pasted migration link before reading its network config

MigrateToDevice.checkUserLink checked link.trim() and stored link.trim() in
every MigrationToState payload, but passed the raw link to
MigrationFileLinkData.readFromLink. A migration link pasted (or scanned)
with leading whitespace, or with trailing non-ASCII whitespace such as a no-
break space, passed the check but its "/_download info" request failed to
parse or returned no network settings, so readFromLink returned null and the
link's network settings were silently dropped: "Confirm network settings"
was skipped, the archive downloaded without the link's SOCKS proxy, and the
proxy stayed off after migration.

Compute the trimmed link once and use it throughout, so classification and
consumption see the same string.

* plans: migration link trim

* plans: migration link trim: text after the link, proxy-less download

* plans: migration link trim: exact trim coverage, settings-read reporting

* plans: migration link trim: shadowing reason, trim coverage, wording

* plans: migration link trim: title scope, NBSP bytes, tab, review reason

* plans: migration link trim: title precision, line-break case, rejections

* plans: migration link trim: line break inside desc gives a visible error

* plans: migration link trim: exact alert title
2026-10-30 20:06:20 +00:00
spaced4ndyandspacedandy-agents-simplex 4b1841c9a0 android: fix blank badges screen after a badge change (#7952)
* core: credit and lapse a test badge on a timer, for app tests

* ci: watch the desktop badges screen through badge credits and lapses

* ci: watch the Android badges screen through badge credits and lapses

* ci: tell the badges support page from the settings section

* android, desktop: log badges screen state changes, for app tests

* ci: check that the badges screen draws its page, not only lists it

* ci: start the app again when it crashes at start before badge cycles

* ci: reinstall the app before badge cycles, as the smoke test installs it

* ci: reach the Android chat console through the app version in Settings

* ci: tell Settings from the version screen on the way to the badges screen

* ci: keep one record of the last badges page the cycles read

* ci: let the Android harness set the app bars' blur

* ci: judge badge cycles by the page the Android screen draws

* ci: run badge cycles with the app bars' blur on and off

* ci: read each Android badge reading's pixels to the end

* ci: shorten the badge cycles with the app bars' blur on and off

* android, desktop: remove the badges screen's test logging

* android, desktop: fix the badges screen going blank when a badge is issued or ends

* ci: verify the badges screen over 31 credit and lapse cycles

* android, desktop: say why the badges pages are not cross-faded

* ci: type the badge cycles command again when characters are lost

* core: remove the test badge cycles

* ci: move the badge cycle steps to their own branch

---------

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
2026-10-30 19:02:40 +00:00