* 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>
* 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>
* 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>
* 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>
* 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
* 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
* docs: user guide for the 7.1 apps
* docs, website: guide order, badge benefits, message expiry; soft line breaks on the site
* docs: guide videos for the first profile, invitations, joining and the address
* docs: guide screens with the iPhone status bar
* docs: guide shows full and cut screens only
* docs: guide pages corrected in place, keeping master's structure
* docs: group chat and SimpleX address pictures in the iPhone frame
* docs: plainer wording in the guide
* docs: guide checked against how SimpleX explains its features
* docs: guide answers on profiles, channel privacy, SOCKS and names
* docs: android guide picture from the emulator in the pixel 7 frame
* 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>
* core: use the member key sent by the channel owner on role change
* core: check the member key on role change in one branch, rename test
* core: describe the role change test by what it checks
* ci: instructions for agents that run the app tests from a fork
# Conflicts:
# scripts/ci/README.md
* ci: agent instructions name the fixes for old branches, Claude plans with the backend and simplexmq changes
* ci: agent instructions warn against rerunning old commits and say where Claude limits are set
* ci: agent instructions on simplexmq pins, the fork setup and Claude failures
* ci: agent instructions keep runs out of simplex-chat itself and give each artifact its retention
* ci: agent instructions leave the fork's other workflows to its owner
* ci: agent instructions say when a fork needs a workflow on its default branch
* ci: agent instructions scope the workflow rules to the app tests, offer the fork's reduced build for core tests and name the uploaded apps
---------
Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
* ci: pick the desktop test server's "To resolve names" role by the menu's first item
That menu opens over the server address's QR code, where OCR can miss its "yes" (run 39242250150 failed its setup three times on it), so the smoke test finds the menu's first item, which repeats the field's value and reads well, and clicks the row under it. The check that the role is now yes stays.
* ci: print the emulator's state and keep its crash reports when the Android smoke test fails
When the emulator dies during the smoke test, the step only says "no emulator detected" and the emulator's own log stops without a reason. After a failed smoke test the job now prints adb's devices, the emulator process, the kernel log's tail and free memory, and uploads the emulator's crash reports with the smoke test results.
* ci: the iOS simulator tests set private routing to unknown servers only, so the app can reach the test names server
Master's 3126d9b54 made the iOS app's default private routing "always". Name lookups then go through a preset server, which can't reach the test SMP server on the runner's localhost, so every iOS case that resolves a SimpleX name would fail. The desktop and Android tests already set "unknown" before the first launch; the iOS smoke test now writes the same into the app group's defaults after installing the app, and the app applies it when its chat starts.
* ci: iOS previews render default private routing in snapshot tests
* ci: keep open_role_menu's comment above it in the desktop smoke test
* ci: remove the Android emulator state step's comment
* ci: iOS and Android test guides describe private routing and crash reports
---------
Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
* 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>
* 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>
* 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
* 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>
* 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
* docs: update privacy policy for supporter badges
* docs: badge requests hide the IP address, crypto paid to company addresses
* docs: the store service never receives the IP address of app requests
* docs: cryptocurrency payments accepted directly
* docs: the store service has no user accounts
* docs: a badge proof discloses the store service's public key
* docs: a badge proof discloses the number of a preset signing key
* docs: one signing key for all users, rotated periodically
* docs: plan resized profile images from files
* core: crop and resize profile images set from files
* docs: profile image from a file in the chat relay docs
* core: faster crop of profile images
* 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
* 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