Commit Graph
31 Commits
Author SHA1 Message Date
spaced4ndy e143d0bbe1 badge service: say which payment funds no purchase when the claim is lost 2026-10-01 18:05:29 +04:00
spaced4ndy 84c6397175 badge service: name a funding's state by whether it was credited, not claimed 2026-10-01 17:04:15 +04:00
spaced4ndy f495e8b8c0 badge service: say why store products are not in the seeded catalog 2026-10-01 16:48:15 +04:00
spaced4ndy 730562a17d badge service: rename storeReceipt to toStoreReceipt 2026-10-01 16:18:16 +04:00
spaced4ndy 9a973af057 badge service: refuse a store quantity other than one, rather than multiply by it 2026-10-01 16:11:01 +04:00
spaced4ndy 039bf2e0f7 core, badge service: say how a verified transaction and a stored payment differ 2026-10-01 16:01:26 +04:00
spaced4ndy dc392994bf core, badge service: share one store transaction reference, and mark a verified transaction as such 2026-10-01 15:53:20 +04:00
spaced4ndy 46bcd01dc5 badge service: do not treat a Play token the service will not send as Play's refusal 2026-09-30 17:57:42 +04:00
spaced4ndy 6245bfb206 badge service: only a store's verdict about a purchase is terminal 2026-09-30 17:31:57 +04:00
spaced4ndy f50cbb6eaf Merge branch 'badge-in-app-checkout' into f/badge-store-receipts 2026-09-29 18:21:57 +04:00
spaced4ndy f65d4a69a9 badge service: name what makes accepting unverified receipts safe 2026-09-29 18:20:28 +04:00
spaced4ndy 1b0e165b67 badge service: accept unverified store receipts behind a dev option, for testing the store lanes on devices 2026-09-29 17:39:31 +04:00
spaced4ndy 36da024394 ui: buy a badge in the browser, with a deep link back on mobile (#7592) 2026-09-29 10:30:57 +00:00
spaced4ndy 6b57302885 badge service: credit a store receipt only when the verified transaction is the one claimed; answer internal when a request throws 2026-09-28 18:18:37 +04:00
spaced4ndy 6fb0d453df badge service: refuse a store with no verifier as terminal; keep answering requests after one throws 2026-09-28 15:49:43 +04:00
spaced4ndy aa8e8271ae core: don't reveal another profile when delivering a store purchase; bound store checks and restrict Play ids 2026-09-25 19:13:04 +04:00
spaced4ndy a329f51620 core: deliver a store purchase to the profile it was bought under; verify store receipts safely 2026-09-25 18:39:39 +04:00
spaced4ndy e244d2e446 Merge branch 'badge-in-app-checkout' into f/badge-store-receipts 2026-09-25 17:42:04 +04:00
spaced4ndy 3e2d40447a docs: mark upgradeBadgeSubscription's badgeRequest as to be dropped; trim store purchase comments 2026-09-25 17:30:59 +04:00
spaced4ndy 0dc85d3311 badges: page ends an app purchase with a link instead of the code (#7589) 2026-09-25 13:23:28 +00:00
spaced4ndy d2b3e823d0 core: buy a badge with an App Store or Google Play purchase 2026-09-25 16:30:53 +04:00
19e70faeec badges: webapp feature branch (#7548)
* badges: webapp (#7433)

* badges: service migrations, store and catalog

* badges: BTCPay provider and settlement poller

* badges: web listener and /api endpoints

* web: checkout single-page app

* badges: tests and BTCPay fixtures

* badges: README and ini reference

* badges: fix hex16 build on GHC 8.10.7

* badges: Stripe card lane

* badges: fix Stripe card checkout, add theming

* badges: add a discount row to the order summary

* badges: site navbar, embedding, theme, Forget move

* badges: use SB code prefix in web checkout

* badges: rename sxb app namespace to sb

* badges: embed checkout nav via site; keep original app navbar

* badges: post iframe height, apply site background when embedded

* badges: embed dark surfaces, steadier iframe height

* badges: hide app footer when embedded

* badges: size embedded body to content, not viewport

* badges: declare color-scheme to stop reload flash

* badges: fade shell in on load, no reload blank

* badges: prerender app shell into index.html

* badges: pre-paint theme, hide shell on deep reload

* badges: logo returns to landing client-side

* badges: embedded wizard back, buy-a-code, resume

* badges: signal app-managed screens, resume across reload

* badges: rebuild wizard history on deep load so Back walks it

* badges: carry welcome-page height as the iframe floor

* badges: keep selection on Buy a code; rename to Your codes

* badges: read web shell as UTF-8, not locale

* badges: resume the exact paid order after Stripe card redirect

* badges: move docker deploy under scripts

* badges: add serve_webapp toggle and webapp export

* badges: wire split webapp deploy in docker config

* badges: quiet agent logs by default

* badges: resume card redirect in the embedded frame

* badges: migrate Stripe adapter to PaymentIntents

* badges: correct Stripe restricted key scopes in ini example

* badges: card via Payment Element and PaymentIntents

* badges: fix stale Checkout Session wording in Stripe adapter

* badges: fix stale CheckoutActions reference in card comment

* badges: order shell stylesheet before bootstrap script

* badges: remove development card stand-in

* badges: theme the Stripe card form with the site palette

* badges: exclude web from the Haskell build stage

* badges: unify invoice cancel and mark canceled

* badges: default log level to info

* badges: unify closed-invoice buy-again button

* badges: mute agent connection logs at info level

* badges: show purchase time in local timezone in Your codes

* badges: log service events on own channel, quiet agent

* badges: fold service migrations into one baseline

* badges: run compose on postgres over host network

* badges: use high-res hero art

* badges: add web CI to catch stale builds

* badges: rebuild web shell from committed source

* badges: normalize invoice-code link and columns

* badges: drop unused columns, rename index

* badges: note deferred receipt_hash in migrations

* badges: apply code-review fixes

* badges: reduce comments across service and web

---------

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

* badges: improve web page (#7546)

* badges: improve web page

* improve layout

* improve layout

* fix

* small changes

---------

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

* badges: read one issuer key from the ini

* badges: move and group the service tests

* badges: service fixes (#7567)

* badges: match the redeem error wording in tests

* badges: drop unused imports in the bot tests

* badges: cancel Stripe orders when they expire

* badges: correct the Stripe config and docs

* badges: refuse to revoke a redeemed code

* badges: make the fake Stripe cancel like Stripe

* badges: limit replayed webhook deliveries

---------

Co-authored-by: sh <37271604+shumvgolove@users.noreply.github.com>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
Co-authored-by: shum <github.shum@liber.li>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2026-09-25 09:01:51 +00:00
spaced4ndy 069efad7a2 core: consolidate badges schema (#7513) 2026-09-15 10:15:34 +00:00
spaced4ndy f9bab17643 core: renew badges monthly and alert when support ends (#7448) 2026-09-09 14:31:05 +00:00
spaced4ndy c623f4284c Merge branch 'master' into badges 2026-09-02 13:53:35 +04:00
spaced4ndy 3ddf17dce5 core: redeem badge codes (#7438) 2026-09-01 12:06:51 +00:00
spaced4ndy 6075ea5797 core: register badges migration (#7429) 2026-08-28 10:20:13 +00:00
spaced4ndy e80a174f13 core: badge codes schema, plan (#7427) 2026-08-28 09:31:24 +00:00
Evgeny Poberezkin 78332d0c73 Merge branch 'master' into badges 2026-08-27 07:59:57 +01:00
EvgenyandEvgeny @ SimpleX Chat 352550089f core: client and service schema for badge purchases (#7358)
* core: client and service schema for badge purchases

* simplify api, receipt is payment type

* split invoice

* update

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-08-17 19:25:18 +01:00
spaced4ndyandEvgeny Poberezkin 7ce2e6583e core: simplex-badge-service scaffolding (#7353)
* core: simplex-badge-service scaffolding

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* clean-up

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-08-08 21:00:23 +01:00