13 Commits
Author SHA1 Message Date
waozi 955fe51d17 Buy Dew through Google Play in the Google Play version
The Google Play edition (the gplay build type) now builds its native code
with GOOGLE_PLAY and adds Kryon's Play Billing (its gplay sources from the
Kryon package and billing 9.1); the direct and F-Droid builds carry no
Google billing. Top up lists Entity's Dew packs at Google Play's price in the
buyer's currency once Play answers. Breeze sends each purchase to the node
with its own signed-in request through entity/dew_play, and Play forgets it
only after the node has credited the Dew. The Play edition's Top up shows no
Monero address or other coins, and running out of Dew no longer names
Monero. The old payment bridge stubs are gone.

Kryon and Entity move to their Play Billing commits; liboqs stays pinned.
2026-10-27 18:06:54 -03:00
waozi 33965188c5 Use one current deposit quote for Dew top-up conversions 2026-10-25 03:32:40 -03:00
waozi 86de4a7087 Dew at 10,000 per XMR: Tai Chi shows 100 Dew until the node's price arrives
The node now credits 10,000 Dew per XMR and multiplied every balance,
price and reward by ten. Breeze reads amounts and the ratio from the node,
so only its offline Tai Chi price, the screenshot fixtures and the rate
tests change. The 2.1.46 notes tell people why their balance grew.
2026-10-24 23:55:11 -03:00
waozi 434c99f697 Rename bundled app sources and build targets from cells to apps 2026-10-24 23:17:45 -03:00
waozi fa9c8acab2 Use Entity for the shared profile and preserve the host account 2026-10-22 17:23:13 -03:00
waozi 2d40562dc3 Split the storage core by responsibility
storage_core.zi keeps what every storage module shares: the delegate hooks,
meta values, the sync keys and record-field version, new IDs and change
times. The rest moved unchanged into focused modules:

- storage_settings.zi: settings and cached social snapshots
- storage_json_sql.zi: JSON reads through SQLite
- sync_outbox.zi: queueing local records for the node
- sync_state.zi: the sync account, status, clearing and purging
- sync_migrations.zi: Lumi's collection and the connected-server flag
- sync_record_codec.zi: local rows as record payloads
- sync_collections.zi: collections and record IDs per entity
- sync_record_crypto.zi: record keys, sealing, opening and kept copies
- sync_apply.zi: applying received records
- sync_exchange.zi: the request payload and applying the response
- storage_profile_stats.zi and storage_export_csv.zi

Names, the protocol and the SQL are unchanged. Importing the core still
links every part, as one module did; importers import the parts whose
names they use. StorageSyncStatus moved beside storage_sync_status, so its
generated header no longer depends on an import cycle. The restore SQL test
and its law mutation read sync_outbox.zi, and the sync recovery link test
leaves out the parts it stubs, as it left out the core.
2026-10-17 21:01:19 -03:00
waozi 7c8fd0458b Gift Dew to friends from the friend list
Wherever Dew is sold (every build but Play), each friend in Profile has a
gift button. It opens a Gift Dew window with the balance and the node's
exchange rate in XMR and USD, an amount in whole Dew with what it is
worth, and a Send button; gifts are final and say so. The node moves the
Dew in one signed debit and credit. A gift whose answer is uncertain is
kept and sent again with the same request until the node confirms or
refuses it, so it never goes twice; missing Dew, a non-friend and refused
requests are explained.
2026-10-16 02:52:23 -03:00
waozi f4d1cffbba Show Tai Chi only to an account that bought it, and read purchases at start
A paid pack left on this device no longer counts as installed unless the
connected account owns it, so Practice does not list Tai Chi before it is
bought. Each account's unlocks are read once after it connects, so a
purchase made elsewhere is recognised before anything is downloaded, and
ownership is remembered per account with sync off.
2026-10-15 16:14:32 -03:00
waozi eea57509e1 Top up in its own window, show Dew in XMR and USD, and keep Monero off Google Play
Top up opens a window with the rate, the confirmations needed, the QR code
and the full address. Storage plans shows what 10 Dew is in XMR and US
dollars from the node's published rate. Tai Chi's row names its launch
price beside the struck-out price and always shows its download size.
Google Play builds no longer offer Monero donations either.
2026-10-15 15:54:25 -03:00
waozi dbb32b7ef9 Choose Free, 1 GB or 5 GB storage in its own window, priced in Dew
Profile's Dew card keeps the balance with Top up beside it and opens
Storage plans, where tabs show each size's month and year prices from the
node. The node names every price; switching size carries remaining time
over. Uses Kryon's fix that keeps a clicked tab looking selected.
2026-10-15 15:42:15 -03:00
waozi 9ea32baf78 Make Dew status and payment quotes reliable 2026-10-15 02:37:06 -03:00
waozi 829771c6d1 Show storage prices in XMR without a dollar peg 2026-10-15 01:41:02 -03:00
waozi c65b5a6475 Add Dew balance and prepaid storage upgrades 2026-10-15 01:26:10 -03:00