Compare commits

...
26 Commits
Author SHA1 Message Date
waozi 0afc5867d1 Release Inner Breeze 2.1.60
Phone check: 57.7 fps, 0.03% late frames.
2026-10-29 05:05:33 -03:00
waozi ac19ebafaf Prepare Inner Breeze 2.1.60 2026-10-29 04:13:12 -03:00
waozi f7e09e709c Use shared reorder grips and unify Profile rows in Inbe 2026-10-29 02:43:23 -03:00
waozi b46306d1e3 Hide apps from the library and restore them through Edit 2026-10-28 23:21:10 -03:00
waozi cee04c12a4 Release Inner Breeze 2.1.59
Phone check: 57.7 fps, 0.03% late frames.
2026-10-28 22:40:14 -03:00
waozi 4e2c52b4c9 Merge tested Inner Breeze 2.1.58 release history 2026-10-28 20:53:59 -03:00
waozi cdd6c86d0c Release Inner Breeze 2.1.58
Phone check: 57.7 fps, 0.03% late frames.
2026-10-28 20:53:59 -03:00
waozi b0f844c1c7 Merge compressed profile release candidate
Preserve the fixed 2.1.58 source while applying the optimized Entity artwork.
2026-10-28 20:52:00 -03:00
waozi 15d89c91e1 Pin compressed abstract profile images
Keep the fixed 2.1.58 release content within the universal APK budget by pinning the optimized upstream Entity artwork.
2026-10-28 20:14:07 -03:00
waozi 113d8dafdc Pin compressed abstract profile images 2026-10-28 19:57:13 -03:00
waozi 8e06d7a84c Release Inner Breeze 2.1.58
Phone check: 57.7 fps, 0.06% late frames.
2026-10-28 18:51:54 -03:00
waozi 025557456c Merge tested Inner Breeze 2.1.58 release history 2026-10-28 18:51:54 -03:00
waozi 0f314013f2 Pin immediate and restart-safe game appearance publication 2026-10-28 18:13:57 -03:00
waozi 458596eefc Pin immediate and restart-safe game appearance publication 2026-10-28 18:13:57 -03:00
waozi 18e0db51c5 Include friend pictures and equipped skins in the Inbe update 2026-10-28 18:07:43 -03:00
waozi 1c12568e0e Include friend pictures and equipped skins in the Inbe update 2026-10-28 18:07:43 -03:00
waozi 6084ea547b Repair release test providers 2026-10-28 17:56:38 -03:00
waozi b76c150489 Repair release test providers 2026-10-28 17:56:38 -03:00
waozi 75a1146475 Validate storage quota fix on repaired release fonts 2026-10-28 17:20:24 -03:00
waozi b2ab5d05ae Retain released glyphs in expanded profile fonts 2026-10-28 17:17:35 -03:00
waozi 477339273d Prepare Inner Breeze 2.1.58 2026-10-28 17:05:06 -03:00
waozi 341b340683 Fix Profile friend input, saved pictures and app reordering 2026-10-28 17:03:22 -03:00
waozi 3dea8b7233 Preserve Arcade installs and confirm premium usernames 2026-10-28 17:02:06 -03:00
waozi df906829d9 Close the owned Android app after automated phone tests 2026-10-28 15:40:49 -03:00
waozi b945252c5c Merge tested Inner Breeze 2.1.56 release history 2026-10-28 15:09:20 -03:00
waozi 7d2bd40c73 Repair signed Moto build setup and record APK provenance 2026-10-28 13:25:21 -03:00
74 changed files with 1855 additions and 254 deletions

No files matched your search

+36
View File
@@ -93,6 +93,10 @@ jobs:
timeout-minutes: 20
run: python3 .github/scripts/install-android-sdk.py
- name: Install Android build dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/android-packages.txt
- name: Prepare Android signing key
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
@@ -117,6 +121,18 @@ jobs:
SOURCE_COMMIT: ${{ inputs.source_commit }}
run: |
set -euo pipefail
python3 - <<'PY'
import importlib.util
import os
import subprocess
from pathlib import Path
spec = importlib.util.spec_from_file_location('phone_check', 'scripts/phone-check.py')
check = importlib.util.module_from_spec(spec)
spec.loader.exec_module(check)
revision = os.environ['SOURCE_COMMIT']
assert subprocess.check_output(['git', 'rev-parse', 'HEAD'], text=True).strip() == revision
assert check.app_tree(Path.cwd()) == check.app_tree(Path.cwd(), revision), 'App source differs from candidate'
PY
./droid/gradlew -p droid assembleRelease \
-Papp.onlyAbi=armeabi-v7a \
-Pkeystore.path="$HOME/.android/inbe-release.keystore" \
@@ -132,6 +148,26 @@ jobs:
cd build/release/moto
sha256sum "inbe-$VERSION-moto.apk" > "inbe-$VERSION-moto.apk.sha256"
)
python3 - <<'PY'
import hashlib
import importlib.util
import json
import os
from pathlib import Path
spec = importlib.util.spec_from_file_location('phone_check', 'scripts/phone-check.py')
check = importlib.util.module_from_spec(spec)
spec.loader.exec_module(check)
root = Path.cwd()
revision = os.environ['SOURCE_COMMIT']
content = check.app_tree(root, revision)
assert check.app_tree(root) == content, 'App source changed during build'
apk = next(Path('build/release/moto').glob('inbe-*-moto.apk'))
receipt = dict(schema=1, status='passed', source_commit=revision, app_tree=content,
apk=dict(sha256=hashlib.sha256(apk.read_bytes()).hexdigest(), **check.apk_identity(apk)),
workflow_run=os.environ['GITHUB_SERVER_URL'] + '/' + os.environ['GITHUB_REPOSITORY'] +
'/actions/runs/' + os.environ['GITHUB_RUN_ID'])
(apk.parent / 'build-receipt.json').write_text(json.dumps(receipt, indent=2) + '\n')
PY
- name: Remove signing key
if: always()
+18
View File
@@ -1,5 +1,23 @@
# Changelog
## [2.1.60] - 2026-10-29
- Hide apps from the library and restore them through Edit.
- Use one simple reorder grip to the left of app icons in list and grid views.
- Unify Profile rows and put sent friend requests beside names with a cancel action.
## [2.1.59] - 2026-10-28
- Keep habits, practices, session counts and game progress free of storage charges, even when account storage is full.
- Count custom notes, Diary and media toward storage, and keep progress syncing past queued uploads that need more space.
## [2.1.58] - 2026-10-28
- Show friend pictures and equipped Apfelwurm skins in leaderboards; hide repeated headings and single-choice selectors.
- Keep downloaded Arcade games and saved progress across updates.
- Show premium username prices, confirm Dew purchases and open top-up when needed. Existing usernames stay free to keep.
- Align Profile leaderboard columns and improve Friends input, profile pictures and app rearranging.
## [2.1.56] - 2026-10-28
- Open the keyboard when editing an account alias and copy the complete public ID from Profile.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.3.24] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.3.23] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.3.22] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.3.21] - 2026-10-28
- Open each day’s photos from a gallery icon, attach photos with the paperclip, and keep the entry’s layout steady while browsing its gallery.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.3.14] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.3.13] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.3.12] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.3.11] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.56.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [2.1.61] - 2026-10-29
- Bring Lumi 1.5.26, Habits 1.3.14, Practices 1.6.8, Lists 1.1.27, Diary 1.3.24 and Leaderboard 1.0.28 for Inner Breeze 2.1.60.
## [2.1.60] - 2026-10-28
- Bring Lumi 1.5.25, Habits 1.3.13, Practices 1.6.7, Lists 1.1.26, Diary 1.3.23 and Leaderboard 1.0.27 for Inner Breeze 2.1.59.
## [2.1.59] - 2026-10-28
- Bring Lumi 1.5.24, Habits 1.3.12, Practices 1.6.6, Lists 1.1.25, Diary 1.3.22 and Leaderboard 1.0.26 for Inner Breeze 2.1.58.
## [2.1.58] - 2026-10-28
- Bring Diary’s separate day gallery and attachment toolbar.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.0.28] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.0.27] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.0.26] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.0.25] - 2026-10-28
- Open the shared Profile leaderboard with practice, puzzle and Apfelwurm score and level rankings.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.1.27] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.1.26] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.1.25] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.1.24] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.56.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.5.26] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.5.25] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.5.24] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.5.23] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.56.
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.6.8] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.6.7] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.6.6] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.6.5] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.56.
+21 -21
View File
@@ -6,61 +6,61 @@
"apps": {
"inbe": {
"id": "inbe",
"version": "2.1.58",
"sequence": 55,
"version": "2.1.61",
"sequence": 58,
"bundled": true,
"host_api": 40,
"release": "2.1.56"
"release": "2.1.60"
},
"habits": {
"id": "inbe.habits",
"version": "1.3.11",
"sequence": 34,
"version": "1.3.14",
"sequence": 37,
"bundled": true,
"host_api": 38,
"oldest_host_api": 30,
"release": "2.1.56"
"release": "2.1.60"
},
"practices": {
"id": "inbe.practices",
"version": "1.6.5",
"sequence": 34,
"version": "1.6.8",
"sequence": 37,
"bundled": true,
"host_api": 37,
"oldest_host_api": 31,
"release": "2.1.56"
"release": "2.1.60"
},
"lists": {
"id": "inbe.lists",
"version": "1.1.24",
"sequence": 32,
"version": "1.1.27",
"sequence": 35,
"bundled": true,
"host_api": 27,
"release": "2.1.56"
"release": "2.1.60"
},
"diary": {
"id": "inbe.diary",
"version": "1.3.21",
"sequence": 38,
"version": "1.3.24",
"sequence": 41,
"bundled": true,
"host_api": 21,
"release": "2.1.56"
"release": "2.1.60"
},
"lumi": {
"id": "inbe.lumi",
"version": "1.5.23",
"sequence": 41,
"version": "1.5.26",
"sequence": 44,
"bundled": true,
"host_api": 20,
"release": "2.1.56"
"release": "2.1.60"
},
"leaderboard": {
"id": "inbe.leaderboard",
"version": "1.0.25",
"sequence": 26,
"version": "1.0.28",
"sequence": 29,
"bundled": true,
"host_api": 40,
"release": "2.1.56",
"release": "2.1.60",
"oldest_host_api": 40
}
},
Binary file not shown.
Binary file not shown.
+5 -1
View File
@@ -340,7 +340,11 @@ saved data and bundled package; the plus button adds it back immediately.
Settings is fixed last and is absent
from the editable list. Existing
profiles retain their selection and saved sidebar order.
Each app appears once, with active shortcuts in sidebar order and hidden apps
The Apps library normally omits apps hidden with Edit → Hide app. Edit shows
all hidden apps again with Show app so they can be restored. Hiding removes
the app's pinned shortcut but keeps its package and saved data. Visibility is
saved per app in the current account's device settings, including node offers.
Each app appears once, with pinned apps in sidebar order and the remaining apps
after them. The list shows icons, names and controls without status paragraphs.
## Practice content and narration
+2 -2
View File
@@ -69,8 +69,8 @@ android {
minSdk 21
targetSdk 36
testInstrumentationRunner "android.test.InstrumentationTestRunner"
versionCode 193
versionName "2.1.56"
versionCode 197
versionName "2.1.60"
manifestPlaceholders = [
inbeAppLabel: "Inner Breeze",
inbeUsesCleartextTraffic: "false"
@@ -0,0 +1,3 @@
- Keep downloaded Arcade games and saved progress across updates.
- Show premium username prices, confirm Dew purchases and open top-up when needed. Existing usernames stay free to keep.
- Align Profile leaderboard columns and improve Friends input, profile pictures and app rearranging.
@@ -0,0 +1,2 @@
- Keep habits, practices, session counts and game progress free of storage charges, even when account storage is full.
- Count custom notes, Diary and media toward storage, and keep progress syncing past queued uploads that need more space.
@@ -0,0 +1,3 @@
- Hide apps from the library and restore them through Edit.
- Use one simple reorder grip to the left of app icons in list and grid views.
- Unify Profile rows and put sent friend requests beside names with a cancel action.
+66 -6
View File
@@ -3271,7 +3271,7 @@ Doručení do schránky vývojáře není potvrzeno. Vaše zpětná vazba zůst
---
[sync_storage_full]
Synchronizační uzel nemá místo pro tyto změny, proto se nesynchronizují. Vypni pro něj nahrávání fotek v Profil › Data.
Úložiště je plné. Základní sledování pokračuje; poznámky, deník a média potřebují místo.
---
[profile_node_storage_title]
@@ -3279,7 +3279,7 @@ Synchronizační uzel nemá místo pro tyto změny, proto se nesynchronizují. V
---
[profile_node_storage_hint]
Místo, které tvůj účet zabírá na každém uzlu, se kterým se synchronizuješ.
Poznámky, deník a média zabírají úložiště. Návyky, cvičení a pokrok jsou zdarma.
---
[profile_node_storage_active]
@@ -3299,19 +3299,19 @@ Využito %s · bez limitu
---
[profile_node_storage_nearly_full]
Téměř plné. Až se zaplní, změny se sem přestanou synchronizovat.
Téměř plné. Základní sledování pokračuje; poznámky, deník a média potřebují volné místo.
---
[profile_node_storage_nearly_full_media]
Téměř plné. Nejrychleji ho plní fotky; vypni nahrávání fotek, aby se záznamy dál synchronizovaly.
Téměř plné. Základní sledování pokračuje; poznámky, deník a média potřebují volné místo.
---
[profile_node_storage_full]
Pro nejnovější změny není místo, proto se do tohoto uzlu nesynchronizují.
Úložiště je plné. Základní sledování pokračuje; poznámky, deník a média potřebují místo.
---
[profile_node_storage_full_media]
Pro nejnovější změny není místo, proto se do tohoto uzlu nesynchronizují. Vypni níže nahrávání fotek, aby se synchronizovalo vše ostatní.
Úložiště je plné. Základní sledování pokračuje. Nahrávání fotek můžete vypnout níže.
---
[profile_node_storage_photos]
@@ -7541,3 +7541,63 @@ Otevírání aplikací
[leaderboard_refresh_failed]
Žebříček se nepodařilo aktualizovat.
---
[sync_alias_pending]
Nákup uživatelského jména je třeba zopakovat.
---
[sync_alias_retry]
Zkontrolovat čekající nákup
---
[sync_alias_current]
Toto je vaše současné uživatelské jméno. Jeho ponechání je zdarma.
---
[sync_alias_taken]
Toto uživatelské jméno je již obsazené.
---
[sync_alias_premium_available]
Prémiové uživatelské jméno je dostupné
---
[sync_alias_buy]
Koupit uživatelské jméno
---
[sync_alias_free]
Dostupné zdarma
---
[sync_alias_check]
Ověřit dostupnost
---
[sync_alias_checking]
Ověřování dostupnosti…
---
[sync_alias_premium]
Prémiové uživatelské jméno
---
[sync_alias_once]
Jednorázový nákup. Vaše uživatelské jméno se změní až po potvrzení uzlem.
---
[sync_alias_insufficient]
Nemáte dost Dew. Doplňte zůstatek a poté se vraťte potvrdit nákup.
---
[launcher_move_app]
Přesunout aplikaci
---
[launcher_hide_app]
Skrýt aplikaci
---
[launcher_show_app]
Zobrazit aplikaci
---
+66 -6
View File
@@ -3265,7 +3265,7 @@ Die Zustellung an den Entwicklereingang ist nicht bestätigt. Dein Feedback blei
---
[sync_storage_full]
Der Sync-Knoten hat keinen Platz für diese Änderungen, daher werden sie nicht synchronisiert. Schalte den Foto-Upload für ihn unter Profil › Daten aus.
Der Speicher ist voll. Die grundlegende Erfassung läuft weiter; Notizen, Tagebuch und Medien brauchen Platz.
---
[profile_node_storage_title]
@@ -3273,7 +3273,7 @@ Knotenspeicher
---
[profile_node_storage_hint]
Speicher, den dein Konto auf jedem Knoten belegt, mit dem du synchronisierst.
Notizen, Tagebuch und Medien belegen Speicher. Gewohnheiten, Übungen und Fortschritt sind kostenlos.
---
[profile_node_storage_active]
@@ -3293,19 +3293,19 @@ Die Nutzung erscheint nach der nächsten Synchronisierung mit diesem Knoten.
---
[profile_node_storage_nearly_full]
Fast voll. Ist er voll, werden Änderungen hier nicht mehr synchronisiert.
Fast voll. Die grundlegende Erfassung läuft weiter; Notizen, Tagebuch und Medien brauchen freien Platz.
---
[profile_node_storage_nearly_full_media]
Fast voll. Fotos füllen ihn am schnellsten; schalte den Foto-Upload aus, damit deine Einträge weiter synchronisiert werden.
Fast voll. Die grundlegende Erfassung läuft weiter; Notizen, Tagebuch und Medien brauchen freien Platz.
---
[profile_node_storage_full]
Kein Platz für die neuesten Änderungen, daher werden sie nicht mit diesem Knoten synchronisiert.
Der Speicher ist voll. Die grundlegende Erfassung läuft weiter; Notizen, Tagebuch und Medien brauchen Platz.
---
[profile_node_storage_full_media]
Kein Platz für die neuesten Änderungen, daher werden sie nicht mit diesem Knoten synchronisiert. Schalte unten den Foto-Upload aus, damit alles andere synchronisiert wird.
Der Speicher ist voll. Die grundlegende Erfassung läuft weiter. Das Hochladen von Fotos kannst du unten ausschalten.
---
[profile_node_storage_photos]
@@ -7535,3 +7535,63 @@ Apps werden geöffnet
[leaderboard_refresh_failed]
Die Rangliste konnte nicht aktualisiert werden.
---
[sync_alias_pending]
Der Kauf eines Benutzernamens muss erneut versucht werden.
---
[sync_alias_retry]
Ausstehenden Kauf prüfen
---
[sync_alias_current]
Dies ist dein aktueller Benutzername. Du kannst ihn kostenlos behalten.
---
[sync_alias_taken]
Dieser Benutzername ist bereits vergeben.
---
[sync_alias_premium_available]
Premium-Benutzername verfügbar
---
[sync_alias_buy]
Benutzernamen kaufen
---
[sync_alias_free]
Kostenlos verfügbar
---
[sync_alias_check]
Verfügbarkeit prüfen
---
[sync_alias_checking]
Verfügbarkeit wird geprüft…
---
[sync_alias_premium]
Premium-Benutzername
---
[sync_alias_once]
Einmaliger Kauf. Dein Benutzername ändert sich erst nach der Bestätigung durch den Knoten.
---
[sync_alias_insufficient]
Nicht genug Dew. Lade dein Guthaben auf und kehre zurück, um den Kauf zu bestätigen.
---
[launcher_move_app]
App verschieben
---
[launcher_hide_app]
App ausblenden
---
[launcher_show_app]
App einblenden
---
+66 -6
View File
@@ -3289,7 +3289,7 @@ Delivery to the developer inbox is not confirmed. Your feedback is saved on this
---
[sync_storage_full]
The sync node has no room for these changes, so they are not syncing. Turn off photo upload for it in Profile › Data.
Storage is full. Basic tracking continues; notes, Diary and media need space.
---
[profile_node_storage_title]
@@ -3297,7 +3297,7 @@ Node storage
---
[profile_node_storage_hint]
Space your account uses on each node you sync with.
Notes, Diary and media use storage. Habits, practices and progress are free.
---
[profile_node_storage_active]
@@ -3317,19 +3317,19 @@ Usage appears after the next sync with this node.
---
[profile_node_storage_nearly_full]
Almost full. Changes stop syncing here when it is full.
Almost full. Basic tracking continues; notes, Diary and media need available space.
---
[profile_node_storage_nearly_full_media]
Almost full. Photos fill it fastest; turn off photo upload to keep your entries syncing.
Almost full. Basic tracking continues; notes, Diary and media need available space.
---
[profile_node_storage_full]
No room for the latest changes, so they are not syncing to this node.
Storage is full. Basic tracking continues; notes, Diary and media need space.
---
[profile_node_storage_full_media]
No room for the latest changes, so they are not syncing to this node. Turn off photo upload below to sync everything else.
Storage is full. Basic tracking continues. You can turn off photo upload below.
---
[profile_node_storage_photos]
@@ -7559,3 +7559,63 @@ Opening apps
[leaderboard_refresh_failed]
Could not refresh the leaderboard.
---
[sync_alias_pending]
A username purchase needs a retry.
---
[sync_alias_retry]
Review pending purchase
---
[sync_alias_current]
This is your current username. Keeping it is free.
---
[sync_alias_taken]
That username is already taken.
---
[sync_alias_premium_available]
Premium username available
---
[sync_alias_buy]
Buy username
---
[sync_alias_free]
Available for free
---
[sync_alias_check]
Check availability
---
[sync_alias_checking]
Checking availability…
---
[sync_alias_premium]
Premium username
---
[sync_alias_once]
One-time purchase. Your current username changes only after the node confirms.
---
[sync_alias_insufficient]
Not enough Dew. Top up, then return to confirm the purchase.
---
[launcher_move_app]
Move app
---
[launcher_hide_app]
Hide app
---
[launcher_show_app]
Show app
---
+66 -6
View File
@@ -3265,7 +3265,7 @@ No se ha confirmado la entrega al buzón del desarrollador. Tus comentarios est
---
[sync_storage_full]
El nodo de sincronización no tiene espacio para estos cambios, así que no se sincronizan. Desactiva la subida de fotos para él en Perfil › Datos.
El almacenamiento está lleno. El seguimiento básico continúa; las notas, el Diario y los archivos multimedia necesitan espacio.
---
[profile_node_storage_title]
@@ -3273,7 +3273,7 @@ Almacenamiento en nodos
---
[profile_node_storage_hint]
Espacio que usa tu cuenta en cada nodo con el que sincronizas.
Las notas, el Diario y los archivos multimedia usan almacenamiento. Los hábitos, las prácticas y el progreso no consumen espacio.
---
[profile_node_storage_active]
@@ -3293,19 +3293,19 @@ El uso aparecerá tras la próxima sincronización con este nodo.
---
[profile_node_storage_nearly_full]
Casi lleno. Cuando se llene, los cambios dejarán de sincronizarse aquí.
Casi lleno. El seguimiento básico continúa; las notas, el Diario y los archivos multimedia necesitan espacio disponible.
---
[profile_node_storage_nearly_full_media]
Casi lleno. Las fotos lo llenan más rápido; desactiva la subida de fotos para que tus entradas sigan sincronizándose.
Casi lleno. El seguimiento básico continúa; las notas, el Diario y los archivos multimedia necesitan espacio disponible.
---
[profile_node_storage_full]
No hay espacio para los últimos cambios, así que no se sincronizan con este nodo.
El almacenamiento está lleno. El seguimiento básico continúa; las notas, el Diario y los archivos multimedia necesitan espacio.
---
[profile_node_storage_full_media]
No hay espacio para los últimos cambios, así que no se sincronizan con este nodo. Desactiva abajo la subida de fotos para sincronizar todo lo demás.
El almacenamiento está lleno. El seguimiento básico continúa. Puedes desactivar la subida de fotos abajo.
---
[profile_node_storage_photos]
@@ -7535,3 +7535,63 @@ Abriendo aplicaciones
[leaderboard_refresh_failed]
No se pudo actualizar la clasificación.
---
[sync_alias_pending]
Hay que reintentar la compra de un nombre de usuario.
---
[sync_alias_retry]
Revisar compra pendiente
---
[sync_alias_current]
Este es tu nombre de usuario actual. Conservarlo es gratis.
---
[sync_alias_taken]
Ese nombre de usuario ya está ocupado.
---
[sync_alias_premium_available]
Nombre de usuario prémium disponible
---
[sync_alias_buy]
Comprar nombre de usuario
---
[sync_alias_free]
Disponible gratis
---
[sync_alias_check]
Comprobar disponibilidad
---
[sync_alias_checking]
Comprobando disponibilidad…
---
[sync_alias_premium]
Nombre de usuario prémium
---
[sync_alias_once]
Compra única. Tu nombre de usuario solo cambia cuando el nodo lo confirma.
---
[sync_alias_insufficient]
No tienes suficiente Dew. Recarga y vuelve para confirmar la compra.
---
[launcher_move_app]
Mover aplicación
---
[launcher_hide_app]
Ocultar aplicación
---
[launcher_show_app]
Mostrar aplicación
---
+66 -6
View File
@@ -3253,7 +3253,7 @@ La livraison à la boîte du développeur n’est pas confirmée. Votre retour r
---
[sync_storage_full]
Le nœud de synchronisation n’a pas de place pour ces modifications, elles ne se synchronisent donc pas. Désactive l’envoi de photos pour ce nœud dans Profil › Données.
Le stockage est plein. Le suivi de base continue ; les notes, le Journal et les médias ont besoin de place.
---
[profile_node_storage_title]
@@ -3261,7 +3261,7 @@ Stockage des nœuds
---
[profile_node_storage_hint]
Espace utilisé par ton compte sur chaque nœud avec lequel tu synchronises.
Les notes, le Journal et les médias utilisent le stockage. Les habitudes, les pratiques et la progression sont gratuites.
---
[profile_node_storage_active]
@@ -3281,19 +3281,19 @@ L’utilisation s’affichera après la prochaine synchronisation avec ce nœud.
---
[profile_node_storage_nearly_full]
Presque plein. Une fois plein, les modifications ne s’y synchronisent plus.
Presque plein. Le suivi de base continue ; les notes, le Journal et les médias ont besoin de place disponible.
---
[profile_node_storage_nearly_full_media]
Presque plein. Les photos le remplissent le plus vite ; désactive l’envoi de photos pour que tes entrées continuent à se synchroniser.
Presque plein. Le suivi de base continue ; les notes, le Journal et les médias ont besoin de place disponible.
---
[profile_node_storage_full]
Pas de place pour les dernières modifications, elles ne se synchronisent donc pas avec ce nœud.
Le stockage est plein. Le suivi de base continue ; les notes, le Journal et les médias ont besoin de place.
---
[profile_node_storage_full_media]
Pas de place pour les dernières modifications, elles ne se synchronisent donc pas avec ce nœud. Désactive l’envoi de photos ci-dessous pour synchroniser tout le reste.
Le stockage est plein. Le suivi de base continue. Vous pouvez désactiver l’envoi de photos ci-dessous.
---
[profile_node_storage_photos]
@@ -7523,3 +7523,63 @@ Ouverture des applications
[leaderboard_refresh_failed]
Impossible de mettre à jour le classement.
---
[sync_alias_pending]
Un achat de nom d’utilisateur doit être réessayé.
---
[sync_alias_retry]
Vérifier l’achat en attente
---
[sync_alias_current]
C’est votre nom d’utilisateur actuel. Le conserver est gratuit.
---
[sync_alias_taken]
Ce nom d’utilisateur est déjà pris.
---
[sync_alias_premium_available]
Nom d’utilisateur premium disponible
---
[sync_alias_buy]
Acheter le nom d’utilisateur
---
[sync_alias_free]
Disponible gratuitement
---
[sync_alias_check]
Vérifier la disponibilité
---
[sync_alias_checking]
Vérification de la disponibilité…
---
[sync_alias_premium]
Nom d’utilisateur premium
---
[sync_alias_once]
Achat unique. Votre nom d’utilisateur ne change qu’après confirmation du nœud.
---
[sync_alias_insufficient]
Pas assez de Dew. Rechargez votre solde, puis revenez confirmer l’achat.
---
[launcher_move_app]
Déplacer l’application
---
[launcher_hide_app]
Masquer l’application
---
[launcher_show_app]
Afficher l’application
---
+66 -6
View File
@@ -3254,7 +3254,7 @@ Pengiriman ke kotak masuk pengembang belum terkonfirmasi. Masukanmu tersimpan di
---
[sync_storage_full]
Simpul sinkronisasi tidak punya ruang untuk perubahan ini, jadi perubahan tidak disinkronkan. Matikan unggahan foto untuk simpul ini di Profil › Data.
Penyimpanan penuh. Pelacakan dasar tetap berjalan; catatan, Buku Harian, dan media memerlukan ruang.
---
[profile_node_storage_title]
@@ -3262,7 +3262,7 @@ Penyimpanan simpul
---
[profile_node_storage_hint]
Ruang yang dipakai akunmu di setiap simpul yang kamu sinkronkan.
Catatan, Buku Harian, dan media menggunakan penyimpanan. Kebiasaan, latihan, dan kemajuan tidak dihitung.
---
[profile_node_storage_active]
@@ -3282,19 +3282,19 @@ Penggunaan muncul setelah sinkronisasi berikutnya dengan simpul ini.
---
[profile_node_storage_nearly_full]
Hampir penuh. Setelah penuh, perubahan berhenti disinkronkan ke sini.
Hampir penuh. Pelacakan dasar tetap berjalan; catatan, Buku Harian, dan media memerlukan ruang kosong.
---
[profile_node_storage_nearly_full_media]
Hampir penuh. Foto paling cepat mengisinya; matikan unggahan foto agar catatanmu tetap tersinkron.
Hampir penuh. Pelacakan dasar tetap berjalan; catatan, Buku Harian, dan media memerlukan ruang kosong.
---
[profile_node_storage_full]
Tidak ada ruang untuk perubahan terbaru, jadi tidak disinkronkan ke simpul ini.
Penyimpanan penuh. Pelacakan dasar tetap berjalan; catatan, Buku Harian, dan media memerlukan ruang.
---
[profile_node_storage_full_media]
Tidak ada ruang untuk perubahan terbaru, jadi tidak disinkronkan ke simpul ini. Matikan unggahan foto di bawah agar semua yang lain tersinkron.
Penyimpanan penuh. Pelacakan dasar tetap berjalan. Anda dapat menonaktifkan unggahan foto di bawah.
---
[profile_node_storage_photos]
@@ -7524,3 +7524,63 @@ Membuka aplikasi-aplikasi
[leaderboard_refresh_failed]
Papan peringkat tidak dapat diperbarui.
---
[sync_alias_pending]
Pembelian nama pengguna perlu dicoba lagi.
---
[sync_alias_retry]
Tinjau pembelian tertunda
---
[sync_alias_current]
Ini nama pengguna Anda saat ini. Tetap menggunakannya gratis.
---
[sync_alias_taken]
Nama pengguna itu sudah dipakai.
---
[sync_alias_premium_available]
Nama pengguna premium tersedia
---
[sync_alias_buy]
Beli nama pengguna
---
[sync_alias_free]
Tersedia gratis
---
[sync_alias_check]
Periksa ketersediaan
---
[sync_alias_checking]
Memeriksa ketersediaan…
---
[sync_alias_premium]
Nama pengguna premium
---
[sync_alias_once]
Pembelian satu kali. Nama pengguna Anda hanya berubah setelah dikonfirmasi oleh node.
---
[sync_alias_insufficient]
Dew tidak cukup. Isi saldo, lalu kembali untuk mengonfirmasi pembelian.
---
[launcher_move_app]
Pindahkan aplikasi
---
[launcher_hide_app]
Sembunyikan aplikasi
---
[launcher_show_app]
Tampilkan aplikasi
---
+66 -6
View File
@@ -3254,7 +3254,7 @@ La consegna alla casella dello sviluppatore non è confermata. Il tuo feedback r
---
[sync_storage_full]
Il nodo di sincronizzazione non ha spazio per queste modifiche, quindi non vengono sincronizzate. Disattiva il caricamento delle foto per questo nodo in Profilo › Dati.
Lo spazio è pieno. Il monitoraggio di base continua; note, Diario e contenuti multimediali richiedono spazio.
---
[profile_node_storage_title]
@@ -3262,7 +3262,7 @@ Spazio sui nodi
---
[profile_node_storage_hint]
Spazio usato dal tuo account su ogni nodo con cui sincronizzi.
Note, Diario e contenuti multimediali occupano spazio. Abitudini, pratiche e progressi sono gratuiti.
---
[profile_node_storage_active]
@@ -3282,19 +3282,19 @@ L’utilizzo apparirà dopo la prossima sincronizzazione con questo nodo.
---
[profile_node_storage_nearly_full]
Quasi pieno. Quando sarà pieno, le modifiche smetteranno di sincronizzarsi qui.
Quasi pieno. Il monitoraggio di base continua; note, Diario e contenuti multimediali richiedono spazio disponibile.
---
[profile_node_storage_nearly_full_media]
Quasi pieno. Le foto lo riempiono più in fretta; disattiva il caricamento delle foto per continuare a sincronizzare le voci.
Quasi pieno. Il monitoraggio di base continua; note, Diario e contenuti multimediali richiedono spazio disponibile.
---
[profile_node_storage_full]
Non c’è spazio per le ultime modifiche, quindi non vengono sincronizzate con questo nodo.
Lo spazio è pieno. Il monitoraggio di base continua; note, Diario e contenuti multimediali richiedono spazio.
---
[profile_node_storage_full_media]
Non c’è spazio per le ultime modifiche, quindi non vengono sincronizzate con questo nodo. Disattiva qui sotto il caricamento delle foto per sincronizzare tutto il resto.
Lo spazio è pieno. Il monitoraggio di base continua. Puoi disattivare il caricamento delle foto qui sotto.
---
[profile_node_storage_photos]
@@ -7524,3 +7524,63 @@ Apertura delle app
[leaderboard_refresh_failed]
Impossibile aggiornare la classifica.
---
[sync_alias_pending]
L’acquisto di un nome utente deve essere riprovato.
---
[sync_alias_retry]
Controlla l’acquisto in sospeso
---
[sync_alias_current]
Questo è il tuo nome utente attuale. Mantenerlo è gratuito.
---
[sync_alias_taken]
Questo nome utente è già occupato.
---
[sync_alias_premium_available]
Nome utente premium disponibile
---
[sync_alias_buy]
Acquista nome utente
---
[sync_alias_free]
Disponibile gratuitamente
---
[sync_alias_check]
Verifica disponibilità
---
[sync_alias_checking]
Verifica della disponibilità…
---
[sync_alias_premium]
Nome utente premium
---
[sync_alias_once]
Acquisto unico. Il tuo nome utente cambia solo dopo la conferma del nodo.
---
[sync_alias_insufficient]
Dew insufficienti. Ricarica il saldo, poi torna per confermare l’acquisto.
---
[launcher_move_app]
Sposta app
---
[launcher_hide_app]
Nascondi app
---
[launcher_show_app]
Mostra app
---
+66 -6
View File
@@ -3250,7 +3250,7 @@ Lumiに相談
---
[sync_storage_full]
同期ノードにこれらの変更を保存する空きがないため、同期されていません。プロフィール › データで、このノードへの写真のアップロードをオフにしてください。
ストレージがいっぱいです。基本の記録は続けられます。メモ、日記、メディアには空き容量が必要です。
---
[profile_node_storage_title]
@@ -3258,7 +3258,7 @@ Lumiに相談
---
[profile_node_storage_hint]
同期している各ノードで、このアカウントが使っている容量です。
メモ、日記、メディアがストレージを使用します。習慣、練習、進捗は使用量に含まれません。
---
[profile_node_storage_active]
@@ -3278,19 +3278,19 @@ Lumiに相談
---
[profile_node_storage_nearly_full]
残りわずかです。いっぱいになると、ここへの変更は同期されなくなります。
もうすぐいっぱいです。基本の記録は続けられます。メモ、日記、メディアには空き容量が必要です。
---
[profile_node_storage_nearly_full_media]
残りわずかです。写真がいちばん容量を使います。写真のアップロードをオフにすると、日記は同期され続けます。
もうすぐいっぱいです。基本の記録は続けられます。メモ、日記、メディアには空き容量が必要です。
---
[profile_node_storage_full]
最新の変更を保存する空きがないため、このノードへ同期されていません。
ストレージがいっぱいです。基本の記録は続けられます。メモ、日記、メディアには空き容量が必要です。
---
[profile_node_storage_full_media]
最新の変更を保存する空きがないため、このノードへ同期されていません。下で写真のアップロードをオフにすると、ほかのデータは同期されます。
ストレージがいっぱいです。基本の記録は続けられます。下で写真のアップロードをオフにできます。
---
[profile_node_storage_photos]
@@ -7520,3 +7520,63 @@ Lumi や日記など、Inner Breeze 内のアプリを waozi.xyz から自動で
[leaderboard_refresh_failed]
ランキングを更新できませんでした。
---
[sync_alias_pending]
ユーザー名の購入を再試行する必要があります。
---
[sync_alias_retry]
保留中の購入を確認
---
[sync_alias_current]
これは現在のユーザー名です。無料で使い続けられます。
---
[sync_alias_taken]
このユーザー名はすでに使用されています。
---
[sync_alias_premium_available]
プレミアムユーザー名を購入できます
---
[sync_alias_buy]
ユーザー名を購入
---
[sync_alias_free]
無料で利用可能
---
[sync_alias_check]
空き状況を確認
---
[sync_alias_checking]
空き状況を確認中…
---
[sync_alias_premium]
プレミアムユーザー名
---
[sync_alias_once]
一度限りの購入です。ノードが確認するまで現在のユーザー名は変わりません。
---
[sync_alias_insufficient]
Dewが不足しています。チャージしてから戻り、購入を確定してください。
---
[launcher_move_app]
アプリを移動
---
[launcher_hide_app]
アプリを非表示
---
[launcher_show_app]
アプリを表示
---
+66 -6
View File
@@ -3260,7 +3260,7 @@ Lumi에게 요청
---
[sync_storage_full]
동기화 노드에 이 변경 사항을 저장할 공간이 없어 동기화되지 않습니다. 프로필 › 데이터에서 이 노드의 사진 업로드를 끄세요.
저장 공간이 가득 찼습니다. 기본 기록은 계속할 수 있으며 메모, 일기, 미디어에는 공간이 필요합니다.
---
[profile_node_storage_title]
@@ -3268,7 +3268,7 @@ Lumi에게 요청
---
[profile_node_storage_hint]
동기화하는 각 노드에서 계정이 사용하는 공간입니다.
메모, 일기, 미디어는 저장 공간을 사용합니다. 습관, 연습, 진행 상황은 사용량에 포함되지 않습니다.
---
[profile_node_storage_active]
@@ -3288,19 +3288,19 @@ Lumi에게 요청
---
[profile_node_storage_nearly_full]
거의 가득 찼습니다. 가득 차면 이곳으로 변경 사항이 동기화되지 않습니다.
저장 공간이 거의 가득 찼습니다. 기본 기록은 계속할 수 있으며 메모, 일기, 미디어에는 여유 공간이 필요합니다.
---
[profile_node_storage_nearly_full_media]
거의 가득 찼습니다. 사진이 가장 빨리 채웁니다. 사진 업로드를 끄면 일기는 계속 동기화됩니다.
저장 공간이 거의 가득 찼습니다. 기본 기록은 계속할 수 있으며 메모, 일기, 미디어에는 여유 공간이 필요합니다.
---
[profile_node_storage_full]
최신 변경 사항을 저장할 공간이 없어 이 노드로 동기화되지 않습니다.
저장 공간이 가득 찼습니다. 기본 기록은 계속할 수 있으며 메모, 일기, 미디어에는 공간이 필요합니다.
---
[profile_node_storage_full_media]
최신 변경 사항을 저장할 공간이 없어 이 노드로 동기화되지 않습니다. 아래에서 사진 업로드를 끄면 나머지는 모두 동기화됩니다.
저장 공간이 가득 찼습니다. 기본 기록은 계속할 수 있습니다. 아래에서 사진 업로드를 끌 수 있습니다.
---
[profile_node_storage_photos]
@@ -7530,3 +7530,63 @@ Lumi, 일기 등 Inner Breeze 안의 앱을 waozi.xyz에서 자동으로 업데
[leaderboard_refresh_failed]
순위표를 새로 고칠 수 없습니다.
---
[sync_alias_pending]
사용자 이름 구매를 다시 시도해야 합니다.
---
[sync_alias_retry]
대기 중인 구매 확인
---
[sync_alias_current]
현재 사용자 이름입니다. 무료로 계속 사용할 수 있습니다.
---
[sync_alias_taken]
이미 사용 중인 사용자 이름입니다.
---
[sync_alias_premium_available]
프리미엄 사용자 이름 구매 가능
---
[sync_alias_buy]
사용자 이름 구매
---
[sync_alias_free]
무료로 사용 가능
---
[sync_alias_check]
사용 가능 여부 확인
---
[sync_alias_checking]
사용 가능 여부 확인 중…
---
[sync_alias_premium]
프리미엄 사용자 이름
---
[sync_alias_once]
일회성 구매입니다. 노드에서 확인한 후에만 사용자 이름이 변경됩니다.
---
[sync_alias_insufficient]
Dew가 부족합니다. 충전한 다음 돌아와 구매를 확정하세요.
---
[launcher_move_app]
앱 이동
---
[launcher_hide_app]
앱 숨기기
---
[launcher_show_app]
앱 표시
---
+66 -6
View File
@@ -3263,7 +3263,7 @@ A entrega na caixa de entrada do programador não está confirmada. O teu coment
---
[sync_storage_full]
O nó de sincronização não tem espaço para estas alterações, por isso elas não estão sendo sincronizadas. Desative o envio de fotos para ele em Perfil › Dados.
O armazenamento está cheio. O acompanhamento básico continua; notas, Diário e mídia precisam de espaço.
---
[profile_node_storage_title]
@@ -3271,7 +3271,7 @@ Armazenamento nos nós
---
[profile_node_storage_hint]
Espaço que sua conta usa em cada nó com que você sincroniza.
Notas, Diário e mídia usam armazenamento. Hábitos, práticas e progresso não consomem espaço.
---
[profile_node_storage_active]
@@ -3291,19 +3291,19 @@ O uso aparece após a próxima sincronização com este nó.
---
[profile_node_storage_nearly_full]
Quase cheio. Quando encher, as alterações deixam de ser sincronizadas aqui.
Quase cheio. O acompanhamento básico continua; notas, Diário e mídia precisam de espaço disponível.
---
[profile_node_storage_nearly_full_media]
Quase cheio. As fotos o enchem mais rápido; desative o envio de fotos para continuar sincronizando suas entradas.
Quase cheio. O acompanhamento básico continua; notas, Diário e mídia precisam de espaço disponível.
---
[profile_node_storage_full]
Não há espaço para as alterações mais recentes, por isso elas não estão sendo sincronizadas com este nó.
O armazenamento está cheio. O acompanhamento básico continua; notas, Diário e mídia precisam de espaço.
---
[profile_node_storage_full_media]
Não há espaço para as alterações mais recentes, por isso elas não estão sendo sincronizadas com este nó. Desative abaixo o envio de fotos para sincronizar todo o resto.
O armazenamento está cheio. O acompanhamento básico continua. Você pode desativar o envio de fotos abaixo.
---
[profile_node_storage_photos]
@@ -7533,3 +7533,63 @@ Abrindo aplicativos
[leaderboard_refresh_failed]
Não foi possível atualizar a classificação.
---
[sync_alias_pending]
É preciso tentar novamente a compra de um nome de usuário.
---
[sync_alias_retry]
Revisar compra pendente
---
[sync_alias_current]
Este é seu nome de usuário atual. Mantê-lo é grátis.
---
[sync_alias_taken]
Esse nome de usuário já está em uso.
---
[sync_alias_premium_available]
Nome de usuário premium disponível
---
[sync_alias_buy]
Comprar nome de usuário
---
[sync_alias_free]
Disponível grátis
---
[sync_alias_check]
Verificar disponibilidade
---
[sync_alias_checking]
Verificando disponibilidade…
---
[sync_alias_premium]
Nome de usuário premium
---
[sync_alias_once]
Compra única. Seu nome de usuário só muda após a confirmação do nó.
---
[sync_alias_insufficient]
Dew insuficiente. Recarregue e volte para confirmar a compra.
---
[launcher_move_app]
Mover aplicação
---
[launcher_hide_app]
Ocultar aplicativo
---
[launcher_show_app]
Mostrar aplicativo
---
+66 -6
View File
@@ -3259,7 +3259,7 @@ Lumi остаётся без сети, пока вы не примете её у
---
[sync_storage_full]
На узле синхронизации нет места для этих изменений, поэтому они не синхронизируются. Отключите загрузку фото для этого узла в разделе Профиль › Данные.
Хранилище заполнено. Основной учёт продолжается; для заметок, дневника и медиа нужно место.
---
[profile_node_storage_title]
@@ -3267,7 +3267,7 @@ Lumi остаётся без сети, пока вы не примете её у
---
[profile_node_storage_hint]
Сколько места ваш аккаунт занимает на каждом узле, с которым вы синхронизируетесь.
Заметки, дневник и медиа занимают хранилище. Привычки, практики и прогресс не учитываются в его использовании.
---
[profile_node_storage_active]
@@ -3287,19 +3287,19 @@ Lumi остаётся без сети, пока вы не примете её у
---
[profile_node_storage_nearly_full]
Почти заполнено. Когда место закончится, изменения перестанут синхронизироваться сюда.
Почти заполнено. Основной учёт продолжается; для заметок, дневника и медиа нужно свободное место.
---
[profile_node_storage_nearly_full_media]
Почти заполнено. Быстрее всего место занимают фото; отключите загрузку фото, чтобы записи продолжали синхронизироваться.
Почти заполнено. Основной учёт продолжается; для заметок, дневника и медиа нужно свободное место.
---
[profile_node_storage_full]
Для последних изменений нет места, поэтому они не синхронизируются с этим узлом.
Хранилище заполнено. Основной учёт продолжается; для заметок, дневника и медиа нужно место.
---
[profile_node_storage_full_media]
Для последних изменений нет места, поэтому они не синхронизируются с этим узлом. Отключите ниже загрузку фото, чтобы синхронизировалось всё остальное.
Хранилище заполнено. Основной учёт продолжается. Ниже можно отключить загрузку фотографий.
---
[profile_node_storage_photos]
@@ -7529,3 +7529,63 @@ Inner Breeze обновлён до версии %s.
[leaderboard_refresh_failed]
Не удалось обновить таблицу лидеров.
---
[sync_alias_pending]
Покупку имени пользователя нужно повторить.
---
[sync_alias_retry]
Проверить ожидающую покупку
---
[sync_alias_current]
Это ваше текущее имя пользователя. Его можно сохранить бесплатно.
---
[sync_alias_taken]
Это имя пользователя уже занято.
---
[sync_alias_premium_available]
Премиальное имя пользователя доступно
---
[sync_alias_buy]
Купить имя пользователя
---
[sync_alias_free]
Доступно бесплатно
---
[sync_alias_check]
Проверить доступность
---
[sync_alias_checking]
Проверка доступности…
---
[sync_alias_premium]
Премиальное имя пользователя
---
[sync_alias_once]
Разовая покупка. Имя пользователя изменится только после подтверждения узлом.
---
[sync_alias_insufficient]
Недостаточно Dew. Пополните баланс и вернитесь, чтобы подтвердить покупку.
---
[launcher_move_app]
Переместить приложение
---
[launcher_hide_app]
Скрыть приложение
---
[launcher_show_app]
Показать приложение
---
+66 -6
View File
@@ -3265,7 +3265,7 @@ Daochi 节点
---
[sync_storage_full]
同步节点没有空间保存这些更改,因此无法同步。请在“个人资料 › 数据”中关闭该节点的照片上传。
存储空间已满。基本记录仍可继续;笔记、日记和图片和视频需要空间。
---
[profile_node_storage_title]
@@ -3273,7 +3273,7 @@ Daochi 节点
---
[profile_node_storage_hint]
你的账户在每个同步节点上占用的空间。
笔记、日记和图片和视频占用存储空间。习惯、练习和进度不计入用量。
---
[profile_node_storage_active]
@@ -3293,19 +3293,19 @@ Daochi 节点
---
[profile_node_storage_nearly_full]
即将用完。用完后,更改将不再同步到这里。
存储空间即将用完。基本记录仍可继续;笔记、日记和图片和视频需要可用空间。
---
[profile_node_storage_nearly_full_media]
即将用完。照片占用空间最快;关闭照片上传可让日记继续同步。
存储空间即将用完。基本记录仍可继续;笔记、日记和图片和视频需要可用空间。
---
[profile_node_storage_full]
没有空间保存最新的更改,因此无法同步到此节点。
存储空间已满。基本记录仍可继续;笔记、日记和图片和视频需要空间。
---
[profile_node_storage_full_media]
没有空间保存最新的更改,因此无法同步到此节点。在下方关闭照片上传后,其他内容会继续同步。
存储空间已满。基本记录仍可继续。你可以在下方关闭照片上传。
---
[profile_node_storage_photos]
@@ -7535,3 +7535,63 @@ Inner Breeze 已更新至 %s 版本。
[leaderboard_refresh_failed]
无法刷新排行榜。
---
[sync_alias_pending]
需要重试购买用户名。
---
[sync_alias_retry]
查看待处理的购买
---
[sync_alias_current]
这是您当前的用户名,可以继续免费使用。
---
[sync_alias_taken]
该用户名已被占用。
---
[sync_alias_premium_available]
高级用户名可供购买
---
[sync_alias_buy]
购买用户名
---
[sync_alias_free]
可免费使用
---
[sync_alias_check]
检查可用性
---
[sync_alias_checking]
正在检查可用性…
---
[sync_alias_premium]
高级用户名
---
[sync_alias_once]
一次性购买。节点确认后,您的用户名才会更改。
---
[sync_alias_insufficient]
Dew不足。请充值后返回确认购买。
---
[launcher_move_app]
移动应用
---
[launcher_hide_app]
隐藏应用
---
[launcher_show_app]
显示应用
---
+1 -1
View File
@@ -1,5 +1,5 @@
Package: inbe.waozi
Version: 2.1.56
Version: 2.1.60
Architecture: arm64
Maintainer: Waozi <[email protected]>
Click-Version: 0.4
+1 -1
View File
@@ -28,7 +28,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.56" date="2026-10-28"/>
<release version="2.1.60" date="2026-10-29"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "inbe",
"title": "Inner Breeze",
"version": "2.1.56",
"version": "2.1.60",
"architecture": "arm64",
"framework": "ubuntu-sdk-20.04",
"description": "Syncable breathing, meditation, and habit practice app.",
+1 -1
View File
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Inner Breeze",
"short_name": "Inbe",
"version": "2.1.56",
"version": "2.1.60",
"description": "Breathing, meditation, habit tracking, and encrypted sync.",
"permissions": [
"contextMenus"
+1 -1
View File
@@ -22,7 +22,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.56" date="2026-10-28"/>
<release version="2.1.60" date="2026-10-29"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -22,7 +22,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.56" date="2026-10-28"/>
<release version="2.1.60" date="2026-10-29"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -6,7 +6,7 @@ description: |
meditation, and habit tracking with visual and audio cues, meditation
timers, habit counters, session history, and optional sync.
version: '2.1.56'
version: '2.1.60'
license: BSD-3-Clause
base: core22
confinement: strict
+42
View File
@@ -0,0 +1,42 @@
{
"schema": 2,
"version": "2.1.58",
"app_tree": "6ed120045436e9126bed2ad21783a9759bc03700fc97f05384968f39a67bafb5",
"source_commit": "15d89c91e1472db0b94506ce475697e2d45f8988",
"uncommitted": [],
"apk": {
"sha256": "d16bce36a5abcbb27f094ab6b43b122911176908092ee9541dc235f3aee1bcee",
"package": "xyz.waozi.inbe.verification",
"version_code": 195,
"version_name": "2.1.58"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.7,
"frames": 3447,
"refresh_hz": 58.4,
"fps": 57.7,
"late_percent": 0.03,
"p95_frame_ms": 17.4,
"worst_frame_ms": 34.6,
"resume_layout_shift": 0.7
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0,
"maximum_resume_layout_shift": 2.0
},
"checks": [
"installed without clearing existing data",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-28T23:53:59+00:00"
}
+42
View File
@@ -0,0 +1,42 @@
{
"schema": 2,
"version": "2.1.59",
"app_tree": "fb709fa1319a47c1d0652264e21708fad97e97733996428baef92ad0b9e2ca4e",
"source_commit": "4e2c52b4c91aafdca0aaae90f8bf7d6a3377052d",
"uncommitted": [],
"apk": {
"sha256": "7c6c1a72b109a781830ed92d42c667ef15a56b990bd5cfb90e88a83df0e658e5",
"package": "xyz.waozi.inbe.verification",
"version_code": 196,
"version_name": "2.1.59"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.85,
"frames": 3456,
"refresh_hz": 58.4,
"fps": 57.7,
"late_percent": 0.03,
"p95_frame_ms": 17.4,
"worst_frame_ms": 34.6,
"resume_layout_shift": 0.7
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0,
"maximum_resume_layout_shift": 2.0
},
"checks": [
"installed without clearing existing data",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-29T01:40:14+00:00"
}
+42
View File
@@ -0,0 +1,42 @@
{
"schema": 2,
"version": "2.1.60",
"app_tree": "7a0554ed3a810f0450cf2f0db8c1e73b79891da52102b5e21a0442cc4975c3a4",
"source_commit": "ac19ebafaf83b62674d0523d5d4a3dc0697eaacf",
"uncommitted": [],
"apk": {
"sha256": "9fbe5ac64cc2a3982baeb1a1cfe535487cc9f78fbccd394701246f9be8575340",
"package": "xyz.waozi.inbe.verification",
"version_code": 197,
"version_name": "2.1.60"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.68,
"frames": 3446,
"refresh_hz": 58.4,
"fps": 57.7,
"late_percent": 0.03,
"p95_frame_ms": 17.4,
"worst_frame_ms": 34.6,
"resume_layout_shift": 0.7
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0,
"maximum_resume_layout_shift": 2.0
},
"checks": [
"installed without clearing existing data",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-29T08:05:33+00:00"
}
+9 -1
View File
@@ -32,7 +32,14 @@ capture() {
adb_run logcat -b crash -d > "$logs/android-smoke-crash.txt" 2>&1 || true
adb_run shell dumpsys activity exit-info "$app_id" > "$logs/android-smoke-exit-info.txt" 2>&1 || true
}
trap capture EXIT
started=0
cleanup() {
capture
if [ "$started" = 1 ]; then
adb_run shell am force-stop "$app_id" || true
fi
}
trap cleanup EXIT
if [ "${ANDROID_SMOKE_SKIP_EMULATOR:-0}" != 1 ]; then
env -u DISPLAY -u WAYLAND_DISPLAY ANDROID_EMULATOR_HEADLESS=1 bash scripts/emulator.sh
@@ -77,6 +84,7 @@ foreground() {
}
adb_run shell am force-stop "$app_id"
started=1
start
pid=$(process || true)
[ -n "$pid" ] || fail 'app exited during startup'
Executable → Regular
+3 -1
View File
@@ -39,7 +39,9 @@ mkdir -p build/entity
--module-path kryon=build/packages/kryon/src/ui --module-path build/packages/kryon/src/ui \
--module-path build/packages/ziran/std --module-path qrcode=build/packages/qrcode/src \
--define KRYON_HOSTED_UI \
--asset-dir "assets=$entity_dir/assets" --entry entity:Main -o build/entity/entity.zx "$entity_dir/src/entity.zi"
--entry entity:Main -o build/entity/entity.zx "$entity_dir/src/entity.zi"
# Entity's images are supplied once by the root package below. Its hosted
# child uses those same asset paths; embedding a second copy bloats every APK.
for feature in lists habits practices diary lumi leaderboard; do
source=$feature
entry=$feature
+31 -24
View File
@@ -326,30 +326,37 @@ def check(phone, apk, seconds, evidence):
phone.shell("input", "keyevent", "KEYCODE_WAKEUP")
phone.shell("wm", "dismiss-keyguard")
phone.shell("am", "force-stop", package)
phone.start(package)
time.sleep(4)
pid = phone.pid(package)
if not pid:
raise ValueError("Inner Breeze did not stay running after launch")
phone.screenshot(package, evidence / "launch.png")
phone.start(package, "-a", START_PRACTICE, "--ei", "practice_id", str(WIM_HOF))
time.sleep(3)
phone.screenshot(package, evidence / "practice-start.png")
timing = frame_timing(phone, package, seconds)
phone.screenshot(package, evidence / "practice-end.png")
if phone.pid(package) != pid:
raise ValueError("Inner Breeze restarted during the practice")
phone.shell("input", "keyevent", "KEYCODE_HOME")
time.sleep(2)
phone.start(package)
time.sleep(2)
if phone.pid(package) != pid:
raise ValueError("Inner Breeze restarted when it returned from the background")
phone.screenshot(package, evidence / "resume.png")
timing["resume_layout_shift"] = layout_shift(evidence / "practice-end.png", evidence / "resume.png")
model = phone.shell("getprop", "ro.product.model").strip()
android = phone.shell("getprop", "ro.build.version.release").strip()
return identity, timing, dict(model=model, android=android)
try:
phone.start(package)
time.sleep(4)
pid = phone.pid(package)
if not pid:
raise ValueError("Inner Breeze did not stay running after launch")
phone.screenshot(package, evidence / "launch.png")
phone.start(package, "-a", START_PRACTICE, "--ei", "practice_id", str(WIM_HOF))
time.sleep(3)
phone.screenshot(package, evidence / "practice-start.png")
timing = frame_timing(phone, package, seconds)
phone.screenshot(package, evidence / "practice-end.png")
if phone.pid(package) != pid:
raise ValueError("Inner Breeze restarted during the practice")
phone.shell("input", "keyevent", "KEYCODE_HOME")
time.sleep(2)
phone.start(package)
time.sleep(2)
if phone.pid(package) != pid:
raise ValueError("Inner Breeze restarted when it returned from the background")
phone.screenshot(package, evidence / "resume.png")
timing["resume_layout_shift"] = layout_shift(evidence / "practice-end.png", evidence / "resume.png")
model = phone.shell("getprop", "ro.product.model").strip()
android = phone.shell("getprop", "ro.build.version.release").strip()
return identity, timing, dict(model=model, android=android)
finally:
# This check refused a pre-existing process before installation. Stop
# only its own app, including any practice/audio still running.
phone.shell("am", "force-stop", package)
if phone.pid(package):
raise ValueError("the test app did not close after the phone check")
def resolve_host(host, serial):
+16 -6
View File
@@ -1,4 +1,5 @@
#import, file "app_types.zi";
#import, file "app_properties.zi";
#import, file "route_types.zi";
#import, file "../core/types.zi";
#import, file "app_route_state.zi";
@@ -90,14 +91,16 @@ app_launcher_update_drag :: (app: *InnerBreeze, point: Vector2) {
// Only the explicit handle captures a drag. The card retains its ordinary
// click and scroll gestures, even after another app has been moved.
app_launcher_drag_handle :: (app: *InnerBreeze, card: ButtonProps,
route: s32, vertical: bool) {
route: s32, vertical: bool, key: u64) {
if !app.launcher_editing { return }
key := card.key
node := TreeSubmitted(app.ui.session, TreeCurrentParent(app.ui.session), key, WidgetKindButton)
TreeSetLabel(app.ui.session, node, LocaleText("launcher_move_app"))
TreeSetDragCapture(app.ui.session, node, !card.disabled)
previous := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session),
key, WidgetKindButton)
drag := TreeTakeDragAt(app.ui.session, previous)
if drag.started {
app.launcher_drag_key = key
app.launcher_drag_key = card.key
app.launcher_drag_route = route
unused AppCopyText(LauncherLibraryName(route), app.launcher_drag_name[:])
app.launcher_drag_moving = false
@@ -106,13 +109,13 @@ app_launcher_drag_handle :: (app: *InnerBreeze, card: ButtonProps,
app.launcher_drag_bounds = card.bounds
app.launcher_drag_origin = Vector2.{drag.x, drag.y}
app.launcher_drag_grab = Vector2.{drag.grab_x, drag.grab_y}
row := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session), key - cast(u64)7, WidgetKindButton)
row := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session), card.key, WidgetKindButton)
if row >= 0 {
app.launcher_drag_bounds = TreeNodeAt(app.ui.session, row).bounds
app.launcher_drag_grab = Vector2.{drag.x - app.launcher_drag_bounds.x, drag.y - app.launcher_drag_bounds.y}
}
}
if (drag.active || drag.ended) && app.launcher_drag_key == key {
if (drag.active || drag.ended) && app.launcher_drag_key == card.key {
app_launcher_update_drag(app, Vector2.{drag.x, drag.y})
app.launcher_drag_released = drag.ended
}
@@ -353,6 +356,9 @@ app_draw_launcher :: (app: *InnerBreeze, dock_drawn: bool) {
// Favorite order is account-owned. The shared module filters and groups
// these entries, including native routes and undownloaded offers alike.
for index: cast(s32)0..app.launcher_favorite_count - 1 {
if !app.launcher_editing && AppPropertiesHidden(LauncherRouteName(app.launcher_favorites[index])) {
continue
}
launcher_screen_routes[count] = app.launcher_favorites[index]
count += 1
}
@@ -361,12 +367,16 @@ app_draw_launcher :: (app: *InnerBreeze, dock_drawn: bool) {
for route: routes {
if app_launcher_is_favorite(app, route) ||
(AppNavNodeSlot(route) >= 0 && !app_nav_route_available(app, route)) { continue }
if !app.launcher_editing && AppPropertiesHidden(LauncherRouteName(route)) {
continue
}
more_catalog[more_catalog_count] = route
more_catalog_count += 1
}
for offer: cast(s32)0..NodeAppOfferCount() - 1 {
name := NodeAppOfferName(offer)
if NodeAppOfferShown(offer) && NodeAppSlotFor(name) < 0 {
if NodeAppOfferShown(offer) && NodeAppSlotFor(name) < 0 &&
(app.launcher_editing || !AppPropertiesHidden(name)) {
more_catalog[more_catalog_count] = -offer - 2
more_catalog_count += 1
}
+45 -11
View File
@@ -1,3 +1,5 @@
#import "button_widget"
#import "control_props"
// Native launcher policy around the shared Apps cards and menus. Routes,
// account preferences and deferred mutations remain owned by Inbe.
Controller :: #import "apps/controller";
@@ -206,9 +208,12 @@ LauncherAppWidgets :: (context: *void, module: *u8, function: *u8,
card := WidgetDecodeButtonProps(arguments[1], *launcher_app_button_codec)
for index: cast(s32)0..group.count - 1 {
entry := group.entries[index]
// While editing, the whole card is the handle that drags it.
handle := group.owner.launcher_editing && card.key == Rules.AppCardKey(TextUntilNul(entry.id[:]))
if !handle { continue }
// Editing exposes an explicit handle; the card keeps its own gestures.
tile_key := Rules.AppCardKey(TextUntilNul(entry.id[:]))
reorder_key := Rules.AppReorderKey(TextUntilNul(entry.id[:]))
tile_button := card.key == tile_key
reorder_button := card.key == reorder_key
if !group.owner.launcher_editing || (!tile_button && !reorder_button) { continue }
item := entry.route
if item < 0 {
for offer: cast(s32)0..NodeAppOfferCount() - 1 {
@@ -218,10 +223,35 @@ LauncherAppWidgets :: (context: *void, module: *u8, function: *u8,
}
}
}
app_launcher_drag_handle(group.owner, card, item, group.owner.launcher_grid_view)
node := TreeSubmitted(group.owner.ui.session, TreeCurrentParent(group.owner.ui.session),
card.key, WidgetKindButton)
TreeSetDragCapture(group.owner.ui.session, node, !card.disabled)
if reorder_button {
tile := TreeSubmitted(group.owner.ui.session, TreeCurrentParent(group.owner.ui.session), tile_key, WidgetKindButton)
if tile >= 0 {
tile_card := card
tile_card.key = tile_key
tile_card.bounds = TreeNodeAt(group.owner.ui.session, tile).bounds
app_launcher_drag_handle(group.owner, tile_card, item, group.owner.launcher_grid_view, reorder_key)
}
break
}
name := LauncherLibraryName(item)
hidden := AppPropertiesHidden(name)
visibility: ButtonProps
visibility.key = card.key + cast(u64)30
visibility.label = LocaleText(ifx hidden then "launcher_show_app" else "launcher_hide_app")
visibility.icon_only = true
visibility.icon_shape = ifx hidden then "S1.8rr:M3 12Q12 1 21 12Q12 23 3 12ZM15 12A3 3 0 1 1 9 12A3 3 0 1 1 15 12" else "S1.8rr:M3 12Q12 1 21 12Q12 23 3 12ZM3 3L21 21"
visibility.selected = hidden
visibility.emphasis = cast(ButtonEmphasis)ButtonEmphasis.ButtonEmphasisSoft
visibility.bounds = Rectangle.{card.bounds.x + card.bounds.width - cast(float32)AppScale(44),
card.bounds.y, cast(float32)AppScale(44), cast(float32)AppScale(44)}
if Button(group.owner.ui.session, visibility) != 0 && AppPropertiesSetHidden(name, !hidden) {
if !hidden && item >= 0 && app_launcher_is_favorite(group.owner, item) {
group.owner.launcher_favorite_count = LauncherToggleFavorite(
group.owner.launcher_favorites[:], group.owner.launcher_favorite_count, item)
app_launcher_pins_changed(group.owner)
}
app_block_current_click(group.owner)
}
break
}
return called
@@ -409,13 +439,15 @@ LauncherAppCatalogEntry :: (group: *LauncherAppGroup, bytes: *Vec(u8), route: s3
LauncherAppQuoted(bytes, "icon_choice", AppPropertiesIcon(app_name))
}
favorite := route >= 0 && app_launcher_is_favorite(group.owner, route)
BuilderPrint(bytes, ",\"hidden\":%", AppPropertiesHidden(
ifx route >= 0 then LauncherRouteName(route) else NodeAppOfferName(offer)))
// A blocked frame's actions are rejected in LauncherAppDrain. Marking the
// cards disabled for that one frame changed the catalog twice whenever
// Apps opened, and each change re-parses it in the Apps controller:
// about 0.4 s on a slow phone.
BuilderPrint(bytes, ",\"installed\":%,\"favorite\":%,\"bytes\":%,\"actions\":[\"open\"",
BuilderPrint(bytes, ",\"installed\":%,\"favorite\":%,\"reorderable\":%,\"bytes\":%,\"actions\":[\"open\"",
ifx installed then "true" else "false", ifx favorite then "true" else "false",
size)
group.owner.launcher_editing, size)
if installed {
if !builtin { BuilderPrint(bytes, ",\"uninstall\"") }
BuilderPrint(bytes, ",\"%\"", ifx favorite then "unpin" else "pin")
@@ -503,8 +535,10 @@ app_launcher_shared_group :: (app: *InnerBreeze, section: s32, routes: []s32,
document: Vec(u8)
BuilderPrint(*document, "\"title\":\"\",\"locale\":")
Rules.AppsWriteQuoted(*document, LocaleActiveCode())
BuilderPrint(*document, ",\"presentation\":{\"mode\":\"%\",\"hide_sizes\":true,\"section_break\":%,\"columns\":%,\"tile_class\":%,\"action_class\":%,\"muted_class\":%",
ifx grid then "icon" else "list", section_break, columns, KssClassId(KssMakeName("launcher-tile")), KssClassId(KssMakeName("launcher-action")), KssClassId(KssMakeName("launcher-muted")))
// Editing changes the native controls attached to each shared card.
// Include it in the revision so a quiet frame cannot replay the old tree.
BuilderPrint(*document, ",\"presentation\":{\"mode\":\"%\",\"editing\":%,\"hide_sizes\":true,\"section_break\":%,\"columns\":%,\"tile_class\":%,\"action_class\":%,\"muted_class\":%",
ifx grid then "icon" else "list", app.launcher_editing, section_break, columns, KssClassId(KssMakeName("launcher-tile")), KssClassId(KssMakeName("launcher-action")), KssClassId(KssMakeName("launcher-muted")))
if app.launcher_pending_node > 0 {
LauncherAppQuoted(*document, "download_id", TextUntilNul(app.launcher_download_id[:]))
BuilderPrint(*document, ",\"download_request\":%", app.launcher_download_request)
+14
View File
@@ -137,3 +137,17 @@ AppPropertiesSaveSeen :: (name: string, digest: string) -> bool {
unused CopyCString(digest, app_properties[index].seen[:])
return true
}
// Hiding changes only launcher visibility; packages and saved data remain.
AppPropertiesHidden :: (name: string) -> bool {
value: [8]u8
AppPropertiesRead("app_hidden_", name, value[:])
return TextUntilNul(value[:]) == "1"
}
AppPropertiesSetHidden :: (name: string, hidden: bool) -> bool {
if name.count == 0 || name.count >= 32 {
return false
}
return AppPropertiesStore("app_hidden_", name, ifx hidden then "1" else "0")
}
+14 -2
View File
@@ -33,6 +33,7 @@ app_force_dark_mode :: () -> bool #foreign c;
#import, file "../apps/inbe_types.zi";
#import, file "../apps/catalog.zi";
#import, file "profile_picture_policy.zi";
ProfileEntity :: #import "entity/model";
#import, file "../platform/environment.zi";
#import, file "../platform/telegram_bridge.zi";
#import, file "../platform/web_storage.zi";
@@ -71,8 +72,19 @@ load_navigation_mode :: () -> s32 {
}
load_profile_picture_icon :: () -> s32 {
saved := SettingsCacheInt("profile_picture_icon", ProfilePictureDefault())
return ProfilePictureSelected(saved)
saved := SettingsCacheInt("profile_picture_icon", -1)
if saved >= 0 {
return ProfilePictureSelected(saved)
}
owner := storage_get_setting_text("sync_public_id")
if owner.count != 64 {
return ProfilePictureDefault()
}
allowed := 268435455 & ~((1 << 21) | (1 << 22) | (1 << 23))
picture := ProfileEntity.EntityInitialPicture(owner, cast(s32)allowed)
icon := ifx picture >= 25 then 124 + picture - 25 else 41 + picture
storage_set_setting_int("profile_picture_icon", icon)
return icon
}
load_bottom_nav_routes :: (app: *InnerBreeze) {
+16
View File
@@ -110,6 +110,7 @@ SyncCoordinator :: struct {
social_refresh_running: s32
remote_sync_due: s32
retry_requested: bool
storage_recovery_attempted: bool
}
SyncWorkerArgs :: struct {
@@ -186,6 +187,14 @@ sync_unlock :: () {
app_sync_record_result :: (result: s32) {
SettingsStoreInt("sync_last_result", result)
// A refused mixed upload gets one fresh attempt with the node's full
// state, which selects free tracking ahead of pending custom content.
if result == SYNC_STORAGE_FULL && !g_sync.storage_recovery_attempted {
g_sync.storage_recovery_attempted = true
g_sync.retry_requested = true
} else if result == SYNC_OK {
g_sync.storage_recovery_attempted = false
}
if retry_is_temporary(result) && AppSyncNodeFailover() {
g_sync.dirty_sync_at = GetTime() + 1.0
}
@@ -255,6 +264,7 @@ app_clear_disconnected_sync_work :: () {
g_sync.remote_sync_due = 0
g_sync.retry_requested = false
g_sync.social_retry_at = 0.0
g_sync.storage_recovery_attempted = false
g_sync.social_retry_attempt = 0
g_sync.social_refresh_pending = 0
SocialQueueClear()
@@ -1173,6 +1183,12 @@ app_auto_sync :: (app: *InnerBreeze) -> s32 {
}
now = GetTime()
g_sync.last_input_at = now
// New local work must get an attempt even while old charged content
// waits for space. Repeated refusals without new work still stop.
if SettingsReadInt("sync_last_result", SYNC_OK) == SYNC_STORAGE_FULL {
g_sync.storage_recovery_attempted = false
g_sync.retry_requested = true
}
due = now + sync_input_quiet_seconds
if g_sync.dirty_sync_at <= 0.0 || due < g_sync.dirty_sync_at {
g_sync.dirty_sync_at = due
+2
View File
@@ -549,6 +549,8 @@ InnerBreeze :: struct {
// Advances whenever saved or fetched leaderboard results change.
leaderboard_revision: s32
profile_friend_input_cursor: s32
profile_friend_input_anchor: s32
profile_friend_input_scroll_x: s32
profile_friend_input_focused: s32
profile_friends_loaded: s32
profile_name_cursor: s32
+15
View File
@@ -276,6 +276,21 @@ EntityHostLocale :: (key: string) -> string {
if key == "entity.copy_id" { return LocaleText("sync_copy_id_button") }
if key == "entity.copied" { return LocaleText("sync_public_id_copied") }
if key == "entity.alias" { return LocaleText("sync_alias_title") }
if key == "entity.alias_rule" { return LocaleText("sync_alias_rule") }
if key == "entity.alias_pending" { return LocaleText("sync_alias_pending") }
if key == "entity.alias_retry" { return LocaleText("sync_alias_retry") }
if key == "entity.alias_current" { return LocaleText("sync_alias_current") }
if key == "entity.alias_taken" { return LocaleText("sync_alias_taken") }
if key == "entity.alias_premium_available" { return LocaleText("sync_alias_premium_available") }
if key == "entity.alias_buy" { return LocaleText("sync_alias_buy") }
if key == "entity.alias_free" { return LocaleText("sync_alias_free") }
if key == "entity.alias_check" { return LocaleText("sync_alias_check") }
if key == "entity.alias_checking" { return LocaleText("sync_alias_checking") }
if key == "entity.alias_premium" { return LocaleText("sync_alias_premium") }
if key == "entity.alias_once" { return LocaleText("sync_alias_once") }
if key == "entity.alias_insufficient" { return LocaleText("sync_alias_insufficient") }
if key == "entity.retry" { return LocaleText("retry_button") }
if key == "entity.refresh" { return LocaleText("elist_refresh") }
if key == "entity.save" { return LocaleText("save_button") }
if key == "entity.sync" { return LocaleText("sync_status_title") }
if key == "entity.sync_now" { return LocaleText("sync_now_button") }
+37
View File
@@ -30,6 +30,7 @@ PairingTypes :: #import "entity/pairing";
#import, file "../storage/daochi_account.zi";
#import, file "../storage/data.zi";
#import, file "../platform/environment.zi";
#import, file "../platform/web_storage.zi";
#import, file "../platform/android/android_import.zi";
using SyncAccountSaveResult;
@@ -123,6 +124,15 @@ InbeRecoveryApply :: (context: *void, incoming: *Recovery.Recovery, choice: s32)
if !InbeManagementConnect(context) {
return 0
}
if TextUntilNul(entity_management.queue.request.operation[:]) == "create" {
state := Entity.EntityDefault()
state.pictures &= ~((1 << 21) | (1 << 22) | (1 << 23))
state.picture = Entity.EntityInitialPicture(TextUntilNul(incoming.keys.public_id[:]), state.pictures)
icon := ifx state.picture >= 25 then 124 + state.picture - 25 else 41 + state.picture
storage_set_setting_int("profile_picture_icon", icon)
state.owner_id = incoming.keys.public_id
unused Native.SharedProfileSave(TextUntilNul(state.owner_id[:]), state)
}
EntityReloadData(app, 0)
unused EntityRequestSync(app)
return 1
@@ -304,6 +314,33 @@ InbeManagementAction :: (context: *void, request: *Manage.ManagementRequest) ->
storage_set_setting_text("sync_account_alias", TextUntilNul(request.value[:]))
return 1
}
if operation == "alias_purchase_load" || operation == "alias_purchase_save" || operation == "alias_purchase_clear" {
owner_buffer: [65]u8
if !InbeEntityOwner(owner_buffer[:]) ||
TextUntilNul(owner_buffer[:]) != TextUntilNul(request.owner_id[:]) {
return 0
}
name: Vec(u8)
BuilderPrint(*name, "username.%.purchase.json", TextUntilNul(owner_buffer[:]))
file := BuilderFinish(name)
defer {
Entity.EntityFree(file)
}
path_buffer: [4096]u8
path := Native.NativeJoin(path_buffer[:], data_root(), file)
if operation == "alias_purchase_load" {
count := Native.NativeRead(path, request.value[:])
if count < 0 {
return ifx PathExists(path) then 0 else 2
}
return ifx count > 2 then 1 else 2
}
document := ifx operation == "alias_purchase_clear" then "{}" else TextUntilNul(request.value[:])
if !Native.NativeWrite(path, document) || sync_web_storage_critical() == 0 {
return 0
}
return 1
}
if operation == "link_show" {
unused InbeEntityOwner(entity_management_link_owner[:])
entity_management_delivered = false
+6 -1
View File
@@ -32,5 +32,10 @@ ProfilePictureSelected :: (saved: s32) -> s32 {
ProfilePictureFromRemote :: (saved: s32) -> s32 {
legacy: [12]s32 = .[0, 42, 43, 46, 53, 54, 55, 62, 63, 64, 65, 65]
if saved >= 0 && saved <= 11 { return legacy[saved] }
return ifx ProfilePictureValid(saved) then saved else 0
// Friends may choose a picture in another app's larger picker. The
// local selection policy must not replace that valid remote picture.
if saved >= 41 && saved <= 65 || saved >= 124 && saved <= 126 {
return saved
}
return 0
}
+7 -1
View File
@@ -2,7 +2,10 @@
// bytes, but cannot select or replace the host's controller trust anchor.
// Collections built before the ZX format carried ZIB controllers, which this
// runtime cannot run; earlier ZX controllers stay trusted for collections.
AppsControllerSha256 :: "a81eb5b14d2066925d19c3fd922865af40c90673cf54fb11bd7f9bf89a29cb98"
AppsControllerSha256 :: "a4c32798cb17c56ffe052cd5a35ba800df82674fdf851ab79b00720455d13398"
// Existing collections keep the controller from before the reorder gutter.
AppsControllerBeforeReorderGutter :: "a1b56259e0b8581188459cc366736feacda3969b2db3055e8425a81065b065e1"
// Existing collections keep the controller from before shared saved records.
AppsControllerBeforeSharedRecords :: "a99851fc40d67a8ca820841722ce2ddde5ca51844e0778c4762681570c488289"
@@ -23,3 +26,6 @@ AppsControllerBeforeCoverGrid :: "0b350b5a5ae9813e9e0521ad6089bda78ee125483cefa0
// Collections that pack the controller from before small phone covers,
// such as Arcade 0.7.77, keep opening.
AppsControllerBeforeSmallCovers :: "5490a8e61f5fa218e813b6e3d78bece6198d2ed935c42fc77b7d5e4aeed9bfe3"
// Collections published before installation completion was retained.
AppsControllerBeforeInstalledDownloads :: "a81eb5b14d2066925d19c3fd922865af40c90673cf54fb11bd7f9bf89a29cb98"
+2
View File
@@ -496,6 +496,8 @@ NodeTreeStart :: (runner: *NodeAppRunner, bytes: string, verified: string,
unused AppHostTrustHarness(host, AppsControllerBeforeSmallCovers)
unused AppHostTrustHarness(host, AppsControllerBeforeDownload)
unused AppHostTrustHarness(host, AppsControllerBeforeSeparateDownloads)
unused AppHostTrustHarness(host, AppsControllerBeforeInstalledDownloads)
unused AppHostTrustHarness(host, AppsControllerBeforeReorderGutter)
platform := AppPlatform.{.context = cast(*void)runner, .allows = NodeTreeAllows, .call = NodeTreeCall,
.widgets = NodeTreeWidgets, .save = NodeTreeSave, .state = NodeTreeState,
.effect = NodeTreeEffect, .bundle = NodeChildBundle,
+41 -6
View File
@@ -109,6 +109,33 @@ NodeChildBundle :: (context: *void, parent: *AppNode, entry: *AppEntry) -> Hoste
return HostedAsset.{.found = true, .data = node_children[index].bytes}
}
NodeChildDependsOn :: (catalog: *AppCatalog, entry: *AppEntry, wanted: *AppEntry, depth: s32) -> bool {
if entry == wanted { return true }
if entry == null || depth >= 32 { return false }
for index: cast(s32)0..entry.dependency_count - 1 {
dependency := AppCatalogAt(catalog, AppCatalogFind(catalog, TextUntilNul(entry.dependencies[index][:])))
if NodeChildDependsOn(catalog, dependency, wanted, depth + 1) { return true }
}
return false
}
// Installation belongs to a publisher and app ID, not one release digest.
// A new catalog may update an installed game and its libraries, while games
// the account has never installed still require the download dialog.
NodeChildInstalled :: (parent: *AppNode, entry: *AppEntry) -> bool {
if parent == null { return false }
item := parent.catalog.children
while item != null {
if NodeChildDependsOn(*parent.catalog, *item.entry, entry, 0) {
identity := AppIdentity.{.authority = parent.identity.authority, .id = item.entry.id}
state: AppState
if NodeTreeState(null, NodeTreeAccount(), *identity, *state) && state.installed { return true }
}
item = item.next
}
return false
}
NodeChildDownload :: (context: *void, parent: *AppNode, entry: *AppEntry,
download: *AppDownload) -> bool {
runner := cast(*NodeAppRunner)context
@@ -122,6 +149,10 @@ NodeChildDownload :: (context: *void, parent: *AppNode, entry: *AppEntry,
}
child := *node_children[index]
if child.status == 2 { return false }
if child.status == 0 && PackageAutomaticEnabled() && NodeChildInstalled(parent, entry) {
child.requested = true
child.status = 1
}
download.downloading = child.status == 1
download.failed = child.status == 3
download.bytes = child.size
@@ -223,19 +254,23 @@ NodeChildPump :: () {
}
if node_child_work != null {
if !PackageWorkReady(node_child_work) { return }
ok := !child.retired && node_child_work.ok &&
TextUntilNul(node_child_work.digest[:]) == TextUntilNul(child.digest[:]) && node_child_work.bytes.count > 0 &&
node_child_work.bytes.count <= NODE_CHILD_MEMORY_LIMIT - node_child_memory
if ok && node_child_work.path != child.path {
ok = RenamePath(node_child_work.path, child.path)
verified := node_child_work.ok &&
TextUntilNul(node_child_work.digest[:]) == TextUntilNul(child.digest[:]) && node_child_work.bytes.count > 0
stored := verified
if stored && node_child_work.path != child.path {
stored = RenamePath(node_child_work.path, child.path)
}
ok := !child.retired && stored &&
node_child_work.bytes.count <= NODE_CHILD_MEMORY_LIMIT - node_child_memory
if ok {
child.bytes = node_child_work.bytes
node_child_work.bytes = ""
child.size = child.bytes.count
node_child_memory += child.bytes.count
}
if !ok && !child.retired { unused RemoveFile(node_child_work.path) }
// Memory pressure or a closed collection must not uninstall a valid
// download. Only an invalid payload is removed from persistent storage.
if !verified && !child.retired { unused RemoveFile(node_child_work.path) }
PackageWorkFree(node_child_work)
node_child_work = null
NodeChildFinish(ok)
+2 -2
View File
@@ -3,7 +3,7 @@ PackageBundledVersion :: (index: s32) -> string {
if index < 0 || index >= 7 {
return ""
}
versions: [7]string = .["2.1.58", "1.1.24", "1.3.11", "1.6.5", "1.3.21", "1.5.23", "1.0.25"]
versions: [7]string = .["2.1.61", "1.1.27", "1.3.14", "1.6.8", "1.3.24", "1.5.26", "1.0.28"]
return versions[index]
}
@@ -11,7 +11,7 @@ PackageBundledSequence :: (index: s32) -> s32 {
if index < 0 || index >= 7 {
return 0
}
sequences: [7]s32 = .[55, 32, 34, 34, 38, 41, 26]
sequences: [7]s32 = .[58, 35, 37, 37, 41, 44, 29]
return sequences[index]
}
+2 -2
View File
@@ -3,7 +3,7 @@
#define APP_VERSION_MAJOR 2
#define APP_VERSION_MINOR 1
#define APP_VERSION_PATCH 56
#define APP_VERSION_STRING "2.1.56"
#define APP_VERSION_PATCH 60
#define APP_VERSION_STRING "2.1.60"
#endif
+2 -2
View File
@@ -1,5 +1,5 @@
// Generated by update_version.sh from CHANGELOG.md. Do not edit by hand.
VersionMajor :: 2
VersionMinor :: 1
VersionPatch :: 56
VersionString :: "2.1.56"
VersionPatch :: 60
VersionString :: "2.1.60"
+21 -16
View File
@@ -32,6 +32,7 @@ using TextWrap;
#import "button_props"
#import "dropdown_props"
#import "text_input_props"
#import, file "../platform/raylib_text_input.zi";
#import, file "settings/settings_status.zi";
#import, file "../storage/account_types.zi";
#import "url"
@@ -391,13 +392,6 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
"outgoing")
y.* += AppScale(16)
Text(CurrentApp().ui.session, TextProps.{
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, 0, 0},
.text = (LocaleText("profile_friends_title")),
.wrap = cast(TextWrap)TextWrapNone
})
y.* += AppScale(30)
Text(CurrentApp().ui.session, TextProps.{
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, 0, 0},
.text = (LocaleText("profile_friend_input_label")),
@@ -405,16 +399,31 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
})
y.* += AppScale(28)
typed: [128]u8
field_result := TextField(CurrentApp().ui.session, TextFieldProps.{
.key = 810,
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, cast(float32)w, cast(float32)AppScale(44)},
.value = AppTextFromCString(*app.profile_friend_input[0], 80),
.value = FrameTextHold(*app.ui.frame_text, AppTextFromCString(*app.profile_friend_input[0], 80)),
.cursor = app.profile_friend_input_cursor,
.anchor = app.profile_friend_input_anchor,
.scroll_x = app.profile_friend_input_scroll_x,
.focused = app.profile_friend_input_focused != 0,
.input = SampleTextFieldInput(app.profile_friend_input_focused != 0, typed[:]),
.max_bytes = 79,
.max_codepoints = 79,
.focus_id = 810
})
if field_result.edit.changed {
unused AppReplaceText(app.profile_friend_input[:], field_result.edit.start,
field_result.edit.end, field_result.edit.replacement)
}
app.profile_friend_input_cursor = field_result.cursor
app.profile_friend_input_anchor = field_result.anchor
app.profile_friend_input_scroll_x = field_result.scroll_x
app.profile_friend_input_focused = ifx (field_result.focused) then (1) else (0)
if field_result.clipboard_write {
unused TextInputWriteClipboard(field_result.clipboard_text)
}
if field_result.committed {
commit = 1
}
@@ -437,6 +446,8 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
load_friends_cache(app)
app.profile_friend_input[0] = cast(u8)0
app.profile_friend_input_cursor = 0
app.profile_friend_input_anchor = 0
app.profile_friend_input_scroll_x = 0
} else {
settings_screen_set_status_error(
LocaleText("profile_friend_invalid"))
@@ -460,12 +471,6 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
y.* += AppScale(16)
}
Text(CurrentApp().ui.session, TextProps.{
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, 0, 0},
.text = (LocaleText("profile_friends_title")),
.wrap = cast(TextWrap)TextWrapNone
})
y.* += AppScale(28)
draw_json_people(AppTextFromCString(*app.profile_friends_json[0], 8192), "friends", x, w, y, 0, app)
if outgoing_count > 0 {
@@ -482,7 +487,7 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
}
friends_content_height :: (app: *InnerBreeze, content_w: s32) -> s32 {
h := AppScale(16) + AppScale(30) + AppScale(28) + AppScale(56) + AppScale(44) + AppScale(24)
h := AppScale(16) + AppScale(28) + AppScale(56) + AppScale(44) + AppScale(24)
incoming_count: s32 = 0
outgoing_count: s32 = 0
friends: s32 = 0
@@ -501,7 +506,7 @@ friends_content_height :: (app: *InnerBreeze, content_w: s32) -> s32 {
if incoming_count > 0 {
h += AppScale(28) + incoming_count * AppScale(108) + AppScale(16)
}
h += AppScale(28) + (ifx (friends > 0) then (friends * AppScale(64)) else (AppScale(24)))
h += ifx friends > 0 then friends * AppScale(64) else AppScale(24)
if outgoing_count > 0 {
h += AppScale(16) + AppScale(28) + outgoing_count * AppScale(64)
}
+17 -4
View File
@@ -19,6 +19,7 @@ Habits :: #import, file "storage_habits.zi";
#import, file "sync_state.zi";
#import, file "storage_settings.zi";
#import, file "sync_record_crypto.zi";
#import, file "sync_storage_usage.zi";
#import, file "storage_json_sql.zi";
#import, file "sync_apply.zi";
#import, file "sync_page_store.zi";
@@ -55,6 +56,13 @@ BuildStoredSyncPayload :: (user_id_hash: string, public_key_hex: string, maximum
if maximum_records > 0 && storage_meta_int64(STORAGE_SYNC_BACKFILL_KEY, 0) == 0 {
storage_enqueue_all_sync_state()
}
if maximum_records > 0 && storage_meta_int64("sync_storage_notes_v1", 0) == 0 {
if exec_sql("INSERT INTO sync_outbox(entity_type,entity_id,local_date,queued_at) SELECT 'session',id,0,updated_at FROM sessions WHERE user_id=(SELECT id FROM users LIMIT 1) ON CONFLICT(entity_type,entity_id,local_date) DO NOTHING") == 0 ||
exec_sql("INSERT INTO sync_outbox(entity_type,entity_id,local_date,queued_at) SELECT 'habit_entry',id,0,updated_at FROM habit_entries WHERE user_id=(SELECT id FROM users LIMIT 1) ON CONFLICT(entity_type,entity_id,local_date) DO NOTHING") == 0 {
return null
}
storage_set_meta_int64("sync_storage_notes_v1", 1)
}
// A node set not to store photos must not receive them from any queue.
if storage_withhold_node_media() == 0 {
return null
@@ -87,9 +95,9 @@ BuildStoredSyncPayload :: (user_id_hash: string, public_key_hex: string, maximum
if batch_limit > 64 && db_select_int64_text("SELECT EXISTS(SELECT 1 FROM sync_outbox WHERE entity_type='cell_record')", 0) != 0 {
batch_limit = 64
}
through_seq = 0
if maximum_records > 0 {
through_seq = storage_sync_outbox_batch_seq(batch_limit)
through_seq = storage_prepare_upload_receipts(batch_limit)
if through_seq < 0 {
return null
}
if storage_sync_records_download_first() {
through_seq = 0
@@ -243,7 +251,12 @@ ApplyStoredSyncResponse :: (response_json: string, page: *SyncPageState) -> s32
if exec_sql("SAVEPOINT sync_apply") == 0 {
return 0
}
storage_clear_uploaded_outbox(storage_state_handle().pending_sync_outbox_seq)
if storage_state_handle().pending_sync_outbox_seq > 0 &&
exec_sql("DELETE FROM sync_outbox WHERE seq IN (SELECT seq FROM sync_upload_receipts)") == 0 {
exec_sql("ROLLBACK TO sync_apply")
exec_sql("RELEASE sync_apply")
return 0
}
if storage_apply_sync_records(response_json) == 0 || (page != null && !SaveStoredSyncPage(storage_get_setting_text("sync_server_url"), page)) {
exec_sql("ROLLBACK TO sync_apply")
exec_sql("RELEASE sync_apply")
+18
View File
@@ -9,6 +9,7 @@
#import "text"
#import "vec"
#import, file "storage_settings.zi";
#import, file "storage_core.zi";
#import, file "sync_nodes.zi";
#import, file "db.zi";
#import, file "sql_query.zi";
@@ -172,6 +173,23 @@ SyncRecordPackageSequence :: (response: string) {
// A successful sync replaces the node's report and clears a full state.
SyncNodeStorageRecordResponse :: (address: string, response: string) {
SyncRecordPackageSequence(response)
// A node may upgrade after this device. Refresh mixed records once it
// advertises note accounting, including records just downloaded there.
capabilities := FieldAt(response, 0, "server_capabilities")
count := ArrayCount(response, capabilities)
for index: cast(s32)0..count - 1 {
capability: [64]u8
length := ReadStringText(response, ElementAt(response, capabilities, index), capability[:])
if length > 0 && TextFromBytes(capability[:length]) == "basic-storage-free-v1" {
key := SyncNodeStorageKey(address, "basic_storage_v1")
defer { PackageFree(key) }
if key.count > 0 && storage_get_setting_text(key) != "1" {
storage_set_meta_int64("sync_storage_notes_v1", 0)
storage_set_setting_text(key, "1")
}
break
}
}
storage: SyncNodeStorage
if !SyncNodeStorageFromJson(response, *storage) {
return
+10 -2
View File
@@ -14,6 +14,7 @@
#import, file "storage_core.zi";
#import, file "storage_settings.zi";
#import, file "sync_record_codec.zi";
#import, file "sync_storage_usage.zi";
#import, file "sync_collections.zi";
#import, file "entity_records.zi";
#import, file "../apps/package_files.zi";
@@ -274,6 +275,13 @@ storage_append_encrypted_record_json :: (json: *StorageJsonBuilder, key: *u8, co
}
storage_json_builder_append_text(json, ",")
storage_json_builder_key_value_text(json, "content_hash", AppTextFromCString(*content_hash[0], ACCOUNT_PUBLIC_ID_HEX_SIZE))
note_bytes := storage_sync_note_bytes(collection,
AppTextFromCString(plain.data, cast(s32)(plain.len + 1)))
if note_bytes >= 0 {
// Charge UTF-8 note bytes, excluding encryption and structural fields.
record_bytes := collection.count + record_id.count + key_id.count + 24 + sealed_len * 2 + 64
storage_json_append_int_field(json, "free_bytes", record_bytes - note_bytes)
}
storage_json_builder_append_text(json, ",\"schema_version\":1")
storage_json_builder_append_text(json, "}")
ok = json.ok
@@ -389,8 +397,8 @@ storage_append_encrypted_records_json :: (json: *StorageJsonBuilder, through_seq
if storage_db_handle() == null {
json.ok = 0
} else {
sql_cx13: [98] u8
AppCopyText("SELECT seq,entity_type,entity_id,local_date,queued_at FROM sync_outbox WHERE seq<=?1 ORDER BY seq", sql_cx13[:])
sql_cx13: [256] u8
AppCopyText("SELECT seq,entity_type,entity_id,local_date,queued_at FROM sync_outbox WHERE seq<=?1 AND seq IN (SELECT seq FROM sync_upload_receipts) ORDER BY seq", sql_cx13[:])
if SqlitePrepare(storage_db_handle(), *sql_cx13[0], -1, *stmt, null) == SQLITE_OK {
SqliteBindInt64(stmt, 1, through_seq)
while true {
+92
View File
@@ -0,0 +1,92 @@
// Storage charges custom notes, not the structured fields around them.
#import, file "sqlite.zi";
#import, file "db.zi";
#import, file "state.zi";
#import, file "sql_query.zi";
#import "text_buffer"
#import, file "storage_settings.zi";
#import, file "sync_node_storage.zi";
#import, file "storage_core.zi";
#import, file "../app/text_buffers.zi";
// -1 means this is ordinary content, whose complete encrypted record counts.
storage_sync_note_bytes :: (collection: string, plain: string) -> s64 {
query: string
if collection == "private.inbe.v1.sessions" {
query = "SELECT LENGTH(CAST(COALESCE(json_extract(?1,'$.note'),'') AS BLOB))+LENGTH(CAST(COALESCE(json_extract(?1,'$.tags'),'') AS BLOB))"
} else if collection == "private.inbe.v1.habit-entries" {
query = "SELECT COALESCE(SUM(LENGTH(CAST(json_extract(value,'$.value') AS BLOB))),0) FROM json_each(COALESCE(NULLIF(json_extract(?1,'$.answers'),''),'[]')) WHERE json_extract(value,'$.type')='text'"
} else {
return -1
}
statement: *void
if SqlitePrepareText(storage_db_handle(), query, -1, *statement, null) != SQLITE_OK {
return -1
}
defer { SqliteFinalize(statement) }
bind_text(statement, 1, plain)
if SqliteStep(statement) != SQLITE_ROW {
return -1
}
return SqliteColumnInt64(statement, 0)
}
// Select free tracking before charged uploads. Receipts name only records
// actually submitted, so a full Diary cannot hold later progress behind it.
StorageFreeOutboxSQL :: #string SQL_END
SELECT o.seq FROM sync_outbox o WHERE
o.entity_type IN ('habit','habit_day','habit_setting','habit_change','habit_reward','habit_coin','app_preference','app_order','app_install')
OR (o.entity_type='entity_record' AND (o.entity_id GLOB 'entity.game-progress.*' OR o.entity_id GLOB 'entity.profile.*'))
OR (o.entity_type='cell_record' AND o.entity_id GLOB 'cell.achievement.*')
OR (o.entity_type='session' AND EXISTS(SELECT 1 FROM sessions s WHERE s.id=o.entity_id AND s.user_id=(SELECT id FROM users LIMIT 1) AND (s.deleted_at>0 OR (s.note='' AND s.tags=''))))
OR (o.entity_type='habit_entry' AND EXISTS(SELECT 1 FROM habit_entries e WHERE e.id=o.entity_id AND e.user_id=(SELECT id FROM users LIMIT 1) AND (e.deleted_at>0 OR NOT EXISTS(SELECT 1 FROM json_each(CASE WHEN json_valid(e.answers) THEN e.answers ELSE '[]' END) a WHERE json_extract(a.value,'$.type')='text' AND COALESCE(json_extract(a.value,'$.value'),'')<>''))))
SQL_END;
storage_prepare_upload_receipts :: (limit: s32) -> s64 {
if exec_sql("CREATE TEMP TABLE IF NOT EXISTS sync_upload_receipts(seq INTEGER PRIMARY KEY)") == 0 ||
exec_sql("DELETE FROM sync_upload_receipts") == 0 {
return -1
}
if limit <= 0 {
return 0
}
query: [4096]u8
unused AppCopyText("INSERT INTO sync_upload_receipts SELECT seq FROM (", query[:])
storage := SyncNodeStorageRead(storage_get_setting_text("sync_server_url"))
if storage.full {
unused AppAppendText(StorageFreeOutboxSQL, query[:])
} else {
unused AppAppendText("SELECT seq FROM sync_outbox", query[:])
}
unused AppAppendText(") ORDER BY seq LIMIT ?1", query[:])
statement: *void
if SqlitePrepareText(storage_db_handle(), TextUntilNul(query[:]), -1, *statement, null) != SQLITE_OK {
return -1
}
unused SqliteBindInt64(statement, 1, cast(s64)limit)
step := SqliteStep(statement)
SqliteFinalize(statement)
if step != SQLITE_DONE {
return -1
}
if db_select_int64_text("SELECT COUNT(*) FROM sync_upload_receipts", 0) == 0 {
// A numeric edit to an entry with an unchanged note can still fit.
// Try mixed tracking separately so a queued photo cannot reject it.
fallback := "INSERT INTO sync_upload_receipts SELECT seq FROM sync_outbox ORDER BY seq LIMIT ?1"
if storage.full {
fallback = "INSERT INTO sync_upload_receipts SELECT seq FROM sync_outbox ORDER BY CASE WHEN entity_type IN ('session','habit_entry') THEN 0 ELSE 1 END,queued_at DESC,seq DESC LIMIT ?1"
limit = 1
}
if SqlitePrepareText(storage_db_handle(), fallback,
-1, *statement, null) != SQLITE_OK {
return -1
}
unused SqliteBindInt64(statement, 1, cast(s64)limit)
step = SqliteStep(statement)
SqliteFinalize(statement)
if step != SQLITE_DONE {
return -1
}
}
return db_select_int64_text("SELECT COALESCE(MAX(seq),0) FROM sync_upload_receipts", 0)
}
+12 -5
View File
@@ -142,8 +142,8 @@ with contextlib.ExitStack() as stack:
driver.wait(label=label, role="text", visible=False)
assert not driver.find(label="Progress", role="button"), "Activity still uses a separate row"
driver.press(label="Change picture", role="button")
driver.wait(label="Profile picture", role="button")
driver.press(label="Profile picture", role="button", index=1)
driver.wait(focus_id=76401, role="button")
driver.press(focus_id=76401, role="button")
deadline = time.monotonic() + 15
while time.monotonic() < deadline:
if shared.exists() and json.loads(shared.read_text()).get("picture") == 1:
@@ -156,13 +156,12 @@ with contextlib.ExitStack() as stack:
assert document["owner_id"] == owner, "Entity used a different account"
assert credentials() == before, "Editing Entity changed Inbe account keys"
assert not (Path(environment["ENTITY_DATA"]) / "account.key").exists(), "Entity made another account"
driver.press(label="Done", role="button")
driver.wait(label="Dew balance", role="text")
with application("restart"):
open_profile()
driver.press(label="Change picture", role="button")
pictures = driver.find(label="Profile picture", role="button", visible=True)
assert len(pictures) > 1 and pictures[1].get("selected"), "Picture edit was lost after restart"
selected = driver.wait(focus_id=76401, role="button")
assert selected.get("selected"), "Picture edit was lost after restart"
assert credentials() == before, "Restart changed Inbe account keys"
assert json.loads(shared.read_text())["owner_id"] == owner
@@ -178,6 +177,14 @@ with contextlib.ExitStack() as stack:
with application("friends") as process:
open_profile()
driver.press(label="Friends", role="button")
field = driver.wait(focus_id=810, role="text_field")
driver.press(focus_id=810, role="text_field")
driver.type("@soft_keyboard_friend")
assert driver.wait(focus_id=810, role="text_field")["value"] == "@soft_keyboard_friend", "Friends discarded typed text"
driver.key("backspace")
assert driver.wait(focus_id=810, role="text_field")["value"] == "@soft_keyboard_frien", "Friends discarded edits"
assert not [node for node in driver.find(label="Friends", role="text", visible=True)
if node["y"] > 80], "Duplicate Friends heading remains in the page"
rows = [driver.wait(label="@" + name, role="button") for name in ("willow", "river", "fern")]
for row in rows:
picture = driver.wait(label=row["label"], role="image")
+64 -11
View File
@@ -33,6 +33,7 @@ parser.add_argument("--views-only", action="store_true")
parser.add_argument("--root-bundle", type=Path, help="Exercise an older root with the native launcher")
parser.add_argument("--measure", action="store_true", help="Measure cold Apps opens in disposable profiles")
parser.add_argument("--dock-only", action="store_true")
parser.add_argument("--visibility-only", action="store_true")
parser.add_argument("--properties-only", action="store_true",
help="Rename an app and change its icon in Apps › Properties")
parser.add_argument("--profile-navigation-only", action="store_true",
@@ -189,7 +190,7 @@ with contextlib.ExitStack() as stack:
# Each section's shared Apps group sits inside the page's scroll.
grid = [node for node in tree if node["kind"] == "button"
and under(tree, node, "scroll") and not under(tree, node, "navigation_bar")
and node["label"] not in ("Install", "Download", "App options", "Move app")]
and node["label"] not in ("Install", "Download", "App options", "Move app", "Hide app", "Show app")]
divider = [node for node in tree if node["kind"] == "separator" and under(tree, node, "scroll")]
more_top = divider[0]["y"] if divider else float("inf")
pinned = [node for node in grid if node["y"] < more_top]
@@ -399,9 +400,9 @@ with contextlib.ExitStack() as stack:
assert 0 not in active_pins, "Legacy Profile pin was not removed"
if width == 390 and placement == 4 and not pinned:
capture(window, name)
reveal_action("Connect Account")
driver.press(label="Connect Account", role="button")
driver.wait(contains="Create", role="button")
reveal_action("Import Account Key")
driver.press(label="Import Account Key", role="button")
driver.wait(label="Choose key file", role="button")
one_header("Profile")
driver.press(label="Back", role="button")
driver.wait(label="Change picture", role="button", visible=False)
@@ -409,9 +410,9 @@ with contextlib.ExitStack() as stack:
for label in ("Today", "Active days", "Sessions"):
driver.wait(label=label, role="text", visible=False)
assert not driver.find(label="Activity", role="button"), "Inline Activity still has a route"
reveal_action("Manage data")
driver.press(label="Manage data", role="button")
one_header("Data")
reveal_action("Friends")
driver.press(label="Friends", role="button")
one_header("Friends")
driver.press(label="Back", role="button")
driver.wait(label="Change picture", role="button", visible=False)
one_header("Profile")
@@ -419,7 +420,7 @@ with contextlib.ExitStack() as stack:
driver.wait(label="Pinned")
assert not driver.find(role="title_bar", visible=True)
print(f"{name}: one header and complete Back stack passed", flush=True)
print("Profile: one header, Account/Data Back stack, inline Activity, pinned/unpinned, saved top/bottom/side navigation passed")
print("Profile: one header, account import/Friends Back stack, inline Activity, pinned/unpinned, saved top/bottom/side navigation passed")
if arguments.profile_identity_only:
with tempfile.TemporaryDirectory(prefix="inbe-profile-identity-") as temporary:
@@ -515,6 +516,12 @@ with contextlib.ExitStack() as stack:
wait_setting(profile, "launcher_grid_view", 1)
pinned, more, tree = cards()
assert all(abs(card["height"] - 88) <= 1 for card in pinned + more), cards()
handles = driver.find(label="Move app", role="button", visible=True)
for card in pinned + more:
matches = [node for node in handles
if abs(node["y"] - card["y"]) < 2
and abs(node["x"] + node["width"] - card["x"]) < 2]
assert len(matches) == 1, (card, matches)
if width > 500:
assert abs(pinned[0]["y"] - pinned[1]["y"]) < 1 and pinned[1]["x"] > pinned[0]["x"], pinned
capture(window, f"views-{width}-grid")
@@ -676,7 +683,7 @@ with contextlib.ExitStack() as stack:
print("Fitted dock: 3–5 pins, narrow windows, zoom, top/bottom and both rails passed")
raise SystemExit(0)
if arguments.properties_only:
if arguments.properties_only or arguments.visibility_only:
with tempfile.TemporaryDirectory(prefix="inbe-properties-") as temporary:
profile = Path(temporary)
user = None
@@ -693,6 +700,46 @@ with contextlib.ExitStack() as stack:
def labels():
return [item["label"] for item in navigation()]
if arguments.visibility_only:
def card_names():
pinned, more, _ = cards()
return [node["label"] for node in pinned + more]
def visibility_action(label, action):
pinned, more, tree = cards()
card = next(node for node in pinned + more if node["label"] == label)
buttons = [node for node in tree if node["label"] == action
and card["x"] <= node["x"] < card["x"] + card["width"]
and card["y"] <= node["y"] < card["y"] + card["height"]]
assert len(buttons) == 1, (card, buttons)
press(buttons[0])
with application(profile, "visibility", width=390, height=844):
open_apps()
installed_before = {key: value for key, value in settings(profile).items()
if key.startswith("app_used_")}
driver.press(label="Edit apps", role="button")
driver.wait(label="Done", role="button")
visibility_action("Habits", "Hide app")
wait_setting(profile, "app_hidden_habits", "1")
assert "Habits" in card_names(), "Edit must keep hidden apps reachable"
driver.press(label="Done", role="button")
wait_for(lambda: "Habits" not in card_names(), "Hidden app remains in Apps")
assert "Habits" not in labels(), "Hidden app remains pinned"
with application(profile, "visibility-restart", width=390, height=844):
open_apps()
assert "Habits" not in card_names(), "Restart lost hidden state"
driver.press(label="Edit apps", role="button")
driver.wait(label="Done", role="button")
visibility_action("Habits", "Show app")
wait_setting(profile, "app_hidden_habits", "0")
driver.press(label="Done", role="button")
wait_for(lambda: "Habits" in card_names(), "Restored app is missing")
assert {key: value for key, value in settings(profile).items()
if key.startswith("app_used_")} == installed_before, "Hiding changed app installation"
print("Launcher visibility: Edit, hide, restart and restore passed")
raise SystemExit(0)
def open_properties(label):
pinned, more, tree = cards()
card = next(card for card in pinned + more if card["label"] == label)
@@ -794,7 +841,8 @@ with contextlib.ExitStack() as stack:
# Practice is the third pinned card in the same grid as the rest.
pinned, more, tree = cards()
assert [card["label"] for card in pinned] == ["Lumi", "Habits", "Practice"], pinned
assert [round(card["x"]) for card in pinned] == [round(card["x"]) for card in more[:len(pinned)]], \
shared_columns = min(len(pinned), len(more))
assert [round(card["x"]) for card in pinned[:shared_columns]] == [round(card["x"]) for card in more[:shared_columns]], \
"Pinned and More apps cards use different columns"
press(pinned[2])
wait_setting(profile, "apps_setup_done", 1, log.read_text())
@@ -912,6 +960,8 @@ with contextlib.ExitStack() as stack:
assert favorites(profile) == [11, 1, 2], "Restart changed personal pins"
assert settings(profile)["language_setup_done"] == "1"
assert [item["label"] for item in navigation()] == ["Diary", "Habits", "Practice", "Apps"]
if arguments.drag_only:
continue
with application(profile, name + "-manage", width, height) as (window, log):
open_apps()
with database(profile) as db:
@@ -960,4 +1010,7 @@ with contextlib.ExitStack() as stack:
open_profile(log)
assert favorites(profile) == []
check_profile_navigation()
print("Launcher: first-run voice question, desktop defaults, clean sections, click/hold/drag, profile and persistence passed")
if arguments.drag_only:
print("Launcher: click/hold/scroll, edit-only reorder, saved order and Profile navigation passed")
else:
print("Launcher: first-run voice question, desktop defaults, clean sections, click/hold/drag, profile and persistence passed")
-1
View File
@@ -75,7 +75,6 @@ chess_you_lost
chess_you_resigned
chess_you_won
chess_your_move
elist_refresh
elist_share_detail
elist_no_friends
elist_accepted
+151 -19
View File
@@ -6,7 +6,9 @@ import json
import os
from pathlib import Path
import re
import shutil
import sqlite3
import struct
import subprocess
import sys
import tempfile
@@ -18,8 +20,24 @@ from ui_driver import UiDriver
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / 'scripts'))
from practice_content import bundle_assets
sys.path.insert(0, str(ROOT.parent / 'shovey/tests'))
from inbe_apps import open_arcade
def open_arcade(driver):
driver.press(label='Apps', role='button')
if not driver.find(label='Arcade', role='button', visible=True):
driver.press(label='Find an app', role='text_field')
driver.type('Arcade')
driver.press(label='Arcade', role='button')
deadline = time.monotonic() + 60
while driver.find(label='Find an app', role='text_field', visible=True):
assert time.monotonic() < deadline, 'Arcade did not open: ' + driver.text()
cancel = driver.find(label='Cancel', role='button', visible=True)
if cancel:
downloads = driver.find(label='Download', role='button', visible=True)
nearest = min(range(len(downloads)), key=lambda at: abs(downloads[at]['y'] - cancel[0]['y']))
driver.press(label='Download', role='button', index=nearest)
elif driver.find(label='Ready to open', role='text', visible=True):
driver.press(label='Open', role='button')
time.sleep(.1)
BINARY, CATALOG = (Path(value).resolve() for value in sys.argv[1:3])
BUNDLE = Path(sys.argv[3]).resolve() if len(sys.argv) > 3 else ROOT / 'build/inbe-full.zx'
@@ -32,14 +50,74 @@ catalog_assets = bundle_assets(CATALOG.read_bytes())
catalog = json.loads(catalog_assets['assets/apps/catalog.json'])
assert catalog['id'] == 'inbe.arcade'
assert all(entry['bundle'] not in catalog_assets for entry in catalog['children'])
controller_digest = hashlib.sha256(catalog_assets[catalog['harness']]).hexdigest()
host_controller = bundle_assets(BUNDLE.read_bytes())['assets/apps/apps.zx']
assert controller_digest == hashlib.sha256(host_controller).hexdigest(), 'Catalog uses another controller'
controller_digest = hashlib.sha256(host_controller).hexdigest()
if catalog['harness'] in catalog_assets:
assert controller_digest == hashlib.sha256(catalog_assets[catalog['harness']]).hexdigest(), 'Catalog uses another controller'
classic = next(entry for entry in catalog['children'] if entry['expected_id'] == 'shovey')
payloads = CATALOG.with_suffix('.games')
game = (payloads / (classic['sha256'] + '.zx')).read_bytes()
assert hashlib.sha256(game).hexdigest() == classic['sha256']
requests = []
updated_game = None
updated_digest = None
def rewrite_assets(source, destination, replacements=None, additions=None):
"""Keep executable sections intact while streaming fixture resource changes."""
replacements = replacements or {}
additions = additions or {}
with source.open('rb') as incoming, destination.open('wb') as outgoing:
def number():
return struct.unpack('<I', incoming.read(4))[0]
def skip_text():
incoming.seek(number(), 1)
assert incoming.read(8) == b'ZX\0\0\x1a\0\0\0'
skip_text(); skip_text()
for _ in range(number()):
skip_text(); skip_text()
for _ in range(number()):
for _ in range(7):
skip_text()
incoming.seek(8, 1); skip_text(); incoming.seek(4, 1)
for _ in range(number()):
for _ in range(3):
skip_text()
incoming.seek(number(), 1)
count_at = incoming.tell()
count = number()
incoming.seek(0)
outgoing.write(incoming.read(count_at))
incoming.seek(4, 1)
outgoing.write(struct.pack('<I', count + len(additions)))
for _ in range(count):
name = incoming.read(number())
length = number()
outgoing.write(struct.pack('<I', len(name)) + name)
replacement = replacements.get(name.decode())
if replacement is not None:
outgoing.write(struct.pack('<I', len(replacement)) + replacement)
incoming.seek(length, 1)
else:
outgoing.write(struct.pack('<I', length))
remaining = length
while remaining:
block = incoming.read(min(remaining, 65536))
assert block, 'Truncated fixture bundle'
outgoing.write(block)
remaining -= len(block)
assert incoming.read(1) == b''
for name, content in additions.items():
encoded = name.encode()
outgoing.write(struct.pack('<I', len(encoded)) + encoded)
outgoing.write(struct.pack('<I', len(content)) + content)
def digest_file(path):
with path.open('rb') as source:
return hashlib.file_digest(source, 'sha256').hexdigest()
identities = dict(binary=str(BINARY), runtime_bundle=str(BUNDLE), catalog=str(CATALOG),
binary_sha256=hashlib.sha256(BINARY.read_bytes()).hexdigest(),
runtime_bundle_sha256=hashlib.sha256(BUNDLE.read_bytes()).hexdigest(),
@@ -52,19 +130,24 @@ class Handler(http.server.BaseHTTPRequestHandler):
def do_GET(self):
requests.append(self.path)
wanted = '/api/v2/packages/inbe.arcade/' + classic['sha256'] + '.zx'
if self.path != wanted:
upgrade = updated_digest and self.path == '/api/v2/packages/inbe.arcade/' + updated_digest + '.zx'
if self.path != wanted and not upgrade:
self.send_error(404)
return
# The first response has the correct length and a deliberately bad hash.
body = game if len(requests) > 1 else game[:-1] + bytes([game[-1] ^ 1])
self.send_response(200)
self.send_header('Content-Length', str(len(body)))
self.send_header('Content-Length', str(updated_game.stat().st_size if upgrade else len(game)))
self.end_headers()
try:
for start in range(0, len(body), 65536):
self.wfile.write(body[start:start + 65536])
self.wfile.flush()
time.sleep(.02)
if upgrade:
with updated_game.open('rb') as source:
shutil.copyfileobj(source, self.wfile, 65536)
else:
body = game if len(requests) > 1 else game[:-1] + bytes([game[-1] ^ 1])
for start in range(0, len(body), 65536):
self.wfile.write(body[start:start + 65536])
self.wfile.flush()
time.sleep(.02)
except (BrokenPipeError, ConnectionResetError):
pass
@@ -84,6 +167,14 @@ def stop(process):
with contextlib.ExitStack() as stack:
profile = Path(stack.enter_context(tempfile.TemporaryDirectory(prefix='child-download-', dir=OUTPUT)))
active_catalog = profile / 'arcade.zx'
rewrite_assets(CATALOG, active_catalog,
replacements={'assets/apps/catalog.json': json.dumps(catalog).encode()})
if 'art' in catalog:
cache = profile / 'packages'
cache.mkdir()
art_digest = catalog['art']['sha256']
shutil.copyfile(payloads / (art_digest + '.zx'), cache / ('child-inbe.arcade-' + art_digest + '.zx'))
audio = profile / 'alsa.conf'
audio.write_text('pcm.!default { type null }\n')
server = http.server.ThreadingHTTPServer(('127.0.0.1', 0), Handler)
@@ -98,9 +189,10 @@ with contextlib.ExitStack() as stack:
env.pop(key, None)
env.update(driver.environment())
env.update(APP_DATA_ROOT=str(profile), APP_NO_TRAY='1', YUE_DESKTOP_RECOVERY='0',
INBE_NODE_APP_FILE=str(CATALOG),
INBE_NODE_APP_FILE=str(active_catalog),
INBE_LOCAL_PACKAGE_ORIGIN='http://127.0.0.1:' + str(server.server_port),
NO_PROXY='127.0.0.1', SDL_VIDEODRIVER='x11', LIBGL_ALWAYS_SOFTWARE='1',
NO_PROXY='127.0.0.1', http_proxy='http://127.0.0.1:9', https_proxy='http://127.0.0.1:9',
SDL_VIDEODRIVER='x11', LIBGL_ALWAYS_SOFTWARE='1',
LP_NUM_THREADS='2', ALSA_CONFIG_PATH=str(audio))
display_log = stack.enter_context((OUTPUT / 'display.log').open('w'))
display = subprocess.Popen(['Xvfb', ':975', '-noreset', '-displayfd', '1',
@@ -175,11 +267,11 @@ with contextlib.ExitStack() as stack:
# Discovery continues after the first painted frame. The catalog must
# stay open while its declared games are still absent.
time.sleep(1)
assert driver.find(label='Play', role='button', visible=True), driver.text()
driver.press(label='Play', role='button')
assert driver.find(label='Download', role='button', visible=True), driver.text()
driver.press(label='Download', role='button', index=0)
driver.wait(role='modal')
assert not requests, 'Opening the dialog downloaded before consent'
driver.press(label='Download', role='button')
driver.press(label='Download', role='button', index=len(driver.find(label='Download', role='button', visible=True)) - 1)
wait_for_download('Download failed')
assert not driver.find(contains='Level 1 / ', visible=True), 'Corrupt bytes opened'
driver.press(label='Try again', role='button')
@@ -191,12 +283,52 @@ with contextlib.ExitStack() as stack:
with application('offline-restart'):
open_arcade(driver)
driver.wait_idle(frames=4)
driver.press(label='Play', role='button')
driver.press(label=classic['title'], role='button', index=0)
wait_for_download('Level 1 / ')
assert len(requests) == count, 'Restart downloaded the cached game again'
# An updated root catalog retains the installed identity, even when the
# game has a new exact digest. Only that game's update may be downloaded.
updated_game = profile / 'updated-game.zx'
rewrite_assets(payloads / (classic['sha256'] + '.zx'), updated_game,
additions={'assets/' + classic['expected_id'] + '/test-update.txt': b'updated game fixture'})
updated_digest = digest_file(updated_game)
updated_catalog = json.loads(json.dumps(catalog))
updated_child = next(entry for entry in updated_catalog['children'] if entry['id'] == classic['id'])
updated_child.update(sha256=updated_digest, bytes=updated_game.stat().st_size, version='999.0.1')
rewrite_assets(CATALOG, active_catalog,
replacements={'assets/apps/catalog.json': json.dumps(updated_catalog).encode()})
with sqlite3.connect(profile / 'inbe.db') as db:
db.execute("UPDATE settings SET value='1' WHERE user_id=? AND key='package_updates_allowed'", (user,))
save_identity = hashlib.sha256(('local-development\n' + classic['id']).encode()).hexdigest()
save_key = 'nested.' + save_identity + '.test_progress'
save_value = '{"level":7,"score":420}'
db.execute('INSERT INTO settings(user_id,key,value,updated_at) VALUES(?,?,?,1)',
(user, save_key, save_value))
with application('catalog-update'):
open_arcade(driver)
deadline = time.monotonic() + 60
while len(requests) == count and time.monotonic() < deadline:
driver.wait_idle(frames=2)
time.sleep(.05)
assert requests[count:] == ['/api/v2/packages/inbe.arcade/' + updated_digest + '.zx'], requests
driver.wait(label='App options', role='button', timeout=60)
driver.press(label=classic['title'], role='button', index=0)
wait_for_download('Level 1 / ')
assert not driver.find(role='modal', visible=True), 'Installed game required installation again'
count = len(requests)
with application('updated-offline-restart'):
open_arcade(driver)
driver.press(label=classic['title'], role='button', index=0)
wait_for_download('Level 1 / ')
assert len(requests) == count, 'Updated cached game downloaded on restart'
with sqlite3.connect(profile / 'inbe.db') as db:
assert db.execute('SELECT value FROM settings WHERE user_id=? AND key=?',
(user, save_key)).fetchone() == (save_value,), 'Saved game record changed during update'
(OUTPUT / 'result.json').write_text(json.dumps(dict(
passed=True, **identities, requests=requests, percentages=percentages,
corrupt_payload_rejected=True, automatic_open=True, offline_restart=True), indent=2) + '\n')
corrupt_payload_rejected=True, automatic_open=True, offline_restart=True,
installed_game_update=True, updated_offline_restart=True), indent=2) + '\n')
print('Separate game download: visible progress, corruption rejection, retry, automatic open and offline restart passed')
print('Arcade local tests passed: download consent, corruption rejection, retry, installed catalog update, saved progress and offline restarts.')
+13
View File
@@ -100,6 +100,19 @@ class PhoneCheckGateTest(unittest.TestCase):
self.assertEqual(phone.adb.call_args_list, [mock.call("get-state")])
phone.shell.assert_not_called()
def test_practice_failure_still_closes_the_owned_app(self):
phone = mock.Mock()
phone.host = "local"
phone.adb.side_effect = [b"device\n", b"Success\n"]
phone.pid.side_effect = ["", "4321", ""]
phone.screenshot.side_effect = RuntimeError("fixture screenshot failed")
with mock.patch.object(phone_check, "apk_identity", return_value={"package": "fixture.debug"}), \
mock.patch.object(phone_check.time, "sleep"):
with self.assertRaisesRegex(RuntimeError, "fixture screenshot failed"):
phone_check.check(phone, self.root / "candidate.apk", 60, self.root)
self.assertEqual(phone.shell.call_args, mock.call("am", "force-stop", "fixture.debug"))
self.assertEqual(phone.pid.call_args, mock.call("fixture.debug"))
def test_missing_process_is_empty_but_adb_failure_is_not_ignored(self):
phone = phone_check.Phone("local", "Fixture")
with mock.patch.object(phone, "shell", side_effect=subprocess.CalledProcessError(
+2
View File
@@ -14,5 +14,7 @@ Answer :: () -> s32 {
ProfilePictureSelected(999) != 41 { return 6 }
if ProfilePictureFromRemote(1) != 42 || ProfilePictureFromRemote(11) != 65 ||
ProfilePictureFromRemote(126) != 126 || ProfilePictureFromRemote(999) != 0 { return 7 }
if ProfilePictureFromRemote(62) != 62 || ProfilePictureFromRemote(63) != 63 ||
ProfilePictureFromRemote(64) != 64 { return 8 }
return 42
}
+42
View File
@@ -7,6 +7,7 @@
#import, file "../src/storage/data.zi";
#import, file "../src/storage/state.zi";
#import, file "../src/storage/db.zi";
#import, file "../src/storage/sql_query.zi";
#import, file "../src/storage/session_mood.zi";
#import, file "../src/storage/storage_core.zi";
#import, file "../src/storage/sync_outbox.zi";
@@ -45,6 +46,7 @@
#import, file "../src/apps/catalog.zi";
#import, file "../src/storage/sync_nodes.zi";
#import, file "../src/storage/sync_node_storage.zi";
#import, file "../src/storage/sync_storage_usage.zi";
#import, file "../src/storage/media_records.zi";
#import, file "../src/storage/entity_records.zi";
#import, file "../src/storage/entity_record_crypto.zi";
@@ -2543,10 +2545,50 @@ test_game_score_upgrade :: () {
storage_close()
}
test_storage_note_accounting :: () {
root := make_root("sync-note-accounting")
check_true("init quota accounting db", storage_init(root) != 0)
set_account()
storage_set_setting_text("sync_server_url", "https://api.waozi.xyz")
check_true("session numbers have no charge", storage_sync_note_bytes(
"private.inbe.v1.sessions", "{\"note\":\"\",\"tags\":\"\",\"rounds\":[{\"seconds\":999}]}") == 0)
check_true("notes count UTF-8 bytes", storage_sync_note_bytes(
"private.inbe.v1.sessions", "{\"note\":\"é日\",\"tags\":\"x\"}") == 6)
check_true("numeric habit answers remain free", storage_sync_note_bytes(
"private.inbe.v1.habit-entries", "{\"answers\":\"[{\\\"type\\\":\\\"number\\\",\\\"value\\\":\\\"12345\\\"}]\"}") == 0)
check_true("only custom habit answers count", storage_sync_note_bytes(
"private.inbe.v1.habit-entries", "{\"answers\":\"[{\\\"type\\\":\\\"number\\\",\\\"value\\\":\\\"12345\\\"},{\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"é日\\\"}]\"}") == 5)
check_true("Diary keeps its full charge", storage_sync_note_bytes(
LegacyPrivateAppsCollection, "{}") == -1)
storage_set_meta_int64(STORAGE_SYNC_BACKFILL_KEY, 1)
storage_set_meta_int64("sync_storage_notes_v1", 1)
check_true("prepare tracking fixture", exec_sql("INSERT INTO habits(id,user_id,name,color_r,color_g,color_b,sync_mode,sync_activity,counter_enabled,sort_order,deleted_at,updated_at) VALUES('free-habit',(SELECT id FROM users LIMIT 1),'Basic tracking',10,20,30,0,0,1,1,0,1782300000)") != 0)
exec_sql("DELETE FROM sync_outbox")
check_true("queue charged Diary first", BundledAppRecordWrite("cell.diary.file.pending", "keep this pending"))
unused storage_enqueue_sync_habit("free-habit")
check_true("mark node full", SyncNodeStorageRecordFull("https://api.waozi.xyz",
"{\"code\":\"storage_full\",\"account_storage\":{\"used_bytes\":100,\"limit_bytes\":1}}"))
check_true("build free progress above quota", build_payload())
check_true("later progress bypasses Diary", contains(payload(), "private.inbe.v1.habits") && !contains(payload(), "cell.diary.file.pending"))
check_true("acknowledge free upload", storage_apply_sync_response_json(
"{\"protocol_version\":6,\"server_version\":1,\"server_clock\":1,\"changes\":{\"encrypted_records\":[]}}") != 0)
check_true("charged Diary remains queued", db_select_int64_text("SELECT COUNT(*) FROM sync_outbox WHERE entity_id='cell.diary.file.pending'", 0) == 1)
check_true("only submitted tracking is acknowledged", db_select_int64_text("SELECT COUNT(*) FROM sync_outbox WHERE entity_id='free-habit'", 0) == 0)
SyncNodeStorageRecordResponse("https://api.waozi.xyz",
"{\"server_capabilities\":[\"basic-storage-free-v1\"]}")
check_true("a newly upgraded node refreshes existing notes", storage_meta_int64("sync_storage_notes_v1", 1) == 0)
storage_set_meta_int64("sync_storage_notes_v1", 1)
SyncNodeStorageRecordResponse("https://api.waozi.xyz",
"{\"server_capabilities\":[\"basic-storage-free-v1\"]}")
check_true("node policy refresh only runs once", storage_meta_int64("sync_storage_notes_v1", 0) == 1)
storage_close()
}
#program_export
Check :: () -> s32 {
guard := support_begin("/tmp/inbe-storage-sync-zi-test/")
if guard != 0 { return guard }
test_storage_note_accounting()
test_game_score_upgrade()
test_practice_session_details()
test_node_cursors()
+3
View File
@@ -28,6 +28,9 @@ static int requests;
int32_t ConnectionRequests(void) { return requests; }
int32_t app_request_sync(void *app) { (void)app; requests++; return 1; }
void app_reload_after_import(void *app, int32_t settings) { (void)app; (void)settings; }
int32_t app_web_storage_flush_critical(int32_t timeout_ms, int32_t log_success) {
(void)timeout_ms; (void)log_success; return 1;
}
int main(void) {
int result = Check();
if (result) fprintf(stderr, "Sync connection checks failed: %d\n", result);
+13
View File
@@ -4,6 +4,8 @@
#import, file "../src/app/sync_retry.zi";
#import, file "../src/app/app_types.zi";
#import, file "../src/storage/sync_status.zi";
#import, file "../src/storage/sync_result.zi";
using SyncResult;
#import, file "background_audio_stub.zi";
// Host state the C side provides: the clock, the account switch, and the
@@ -115,6 +117,17 @@ Answer :: () -> s32 {
// A payload that could not be built retries on its schedule, Sync now
// tries at once, and the old failure is not reported as a success.
app: InnerBreeze
app_sync_record_result(SYNC_STORAGE_FULL)
if !g_sync.retry_requested || !app_sync_retry_ready(SYNC_STORAGE_FULL, now) { return 60 }
g_sync.retry_requested = false
app_sync_record_result(SYNC_STORAGE_FULL)
if g_sync.retry_requested || app_sync_retry_ready(SYNC_STORAGE_FULL, now) { return 61 }
if app_auto_sync(*app) == 0 || !g_sync.retry_requested { return 62 }
g_sync.retry_requested = false
app_sync_record_result(SYNC_STORAGE_FULL)
if !g_sync.retry_requested { return 63 }
g_sync.retry_requested = false
app_sync_record_result(SYNC_OK)
app_sync_record_result(3)
if app_sync_retry_ready(3, now) { return 30 }
if app_auto_sync(*app) == 0 || g_sync.retry_requested { return 31 }
+4 -4
View File
@@ -6,8 +6,8 @@ IDI_APP_ICON ICON "inbe.ico"
IDI_NOTIFICATION_ICON ICON "inbe.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,1,56,0
PRODUCTVERSION 2,1,56,0
FILEVERSION 2,1,60,0
PRODUCTVERSION 2,1,60,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -24,11 +24,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "waozi"
VALUE "FileDescription", "Inner Breeze"
VALUE "FileVersion", "2.1.56"
VALUE "FileVersion", "2.1.60"
VALUE "InternalName", "breeze"
VALUE "OriginalFilename", "breeze-windows-x86_64.exe"
VALUE "ProductName", "Inner Breeze"
VALUE "ProductVersion", "2.1.56"
VALUE "ProductVersion", "2.1.60"
END
END
BLOCK "VarFileInfo"
+29 -29
View File
@@ -20,7 +20,7 @@
},
{
"commit": "1cb9df183089a77c8a16448a556186f30b261a98",
"dependencies": {"kryon": "p7213416dd56f3a5c"},
"dependencies": {"kryon": "p678dfe3877859170"},
"id": "p1b13dda539ed2a39",
"name": "Kss",
"ref": "master",
@@ -28,24 +28,16 @@
},
{
"commit": "bad2caaa84ef3eae61e40c99bf572d2b060d0ca2",
"dependencies": {"kryon": "p7213416dd56f3a5c"},
"dependencies": {"kryon": "p678dfe3877859170"},
"id": "p20eb23d3e6db3711",
"name": "Game2D",
"ref": "master",
"url": "https://github.com/kryonlabs/game2d.git"
},
{
"commit": "b1e4ed4b0f7283e2b7a8ae7740f283d5729b3b04",
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p7213416dd56f3a5c"},
"id": "p4158fd507db6061e",
"name": "Apps",
"ref": "b1e4ed4b0f7283e2b7a8ae7740f283d5729b3b04",
"url": "https://github.com/waozixyz/apps.git"
},
{
"commit": "2062597cecba5ce1bf54a20e6d5a2bdda148a06b",
"dependencies": {"daochi_client": "p9972fcdd2d5ba999", "kryon": "p7213416dd56f3a5c", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p523d96ecdb68b57a",
"commit": "d420622f7f530b573d28f52ca5fbebbaa9c3cc24",
"dependencies": {"daochi_client": "pf7b24c15869d6839", "kryon": "p678dfe3877859170", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p2d0aef8034912fe3",
"name": "Entity",
"ref": "master",
"url": "https://github.com/waozixyz/entity.git"
@@ -59,6 +51,14 @@
"source": true,
"url": "https://github.com/raysan5/raylib.git"
},
{
"commit": "2839954d916c614e562d6c25c448928923d4190b",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p678dfe3877859170",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "22d2ddbdc236796953c905a05a2cebf5ab1b4ff3",
"dependencies": {"liboqs": "pecdb097af6ab16f7"},
@@ -67,14 +67,6 @@
"ref": "master",
"url": "https://github.com/ziranlang/oqs.git"
},
{
"commit": "5b2bfb71fef6111fcbaeb0446ba02ab6b0cd8f89",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p7213416dd56f3a5c",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "f5f0a19a5dc6c14a49adb3cd63ea79a60f6ba77b",
"dependencies": {},
@@ -94,16 +86,16 @@
"url": "https://github.com/waozixyz/practices.git"
},
{
"commit": "25d9f649c43a8de44a5fea602d2835e33e6ca999",
"dependencies": {"crypto": "pc23fbf455e97614d", "oqs": "p7098ac9cd92f7e5f"},
"id": "p9972fcdd2d5ba999",
"name": "DaochiClient",
"ref": "master",
"url": "https://github.com/ziranlang/daochi-client.git"
"commit": "becce9220e092d33b26a2ec106b93e43714f3946",
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p678dfe3877859170"},
"id": "p9c41020c62c76410",
"name": "Apps",
"ref": "becce9220e092d33b26a2ec106b93e43714f3946",
"url": "https://github.com/waozixyz/apps.git"
},
{
"commit": "3f888653b6b97010163d824c4cc72476be3214f3",
"dependencies": {"kryon": "p7213416dd56f3a5c"},
"dependencies": {"kryon": "p678dfe3877859170"},
"id": "pab5377a2950368a2",
"name": "plot",
"ref": "master",
@@ -151,10 +143,18 @@
"ref": "main",
"source": true,
"url": "https://github.com/open-quantum-safe/liboqs.git"
},
{
"commit": "e948c3f280e2e3fa3ef7317dfaca27bd36a4900b",
"dependencies": {"crypto": "pc23fbf455e97614d", "oqs": "p7098ac9cd92f7e5f"},
"id": "pf7b24c15869d6839",
"name": "DaochiClient",
"ref": "master",
"url": "https://github.com/ziranlang/daochi-client.git"
}
],
"root": {
"dependencies": {"apps": "p4158fd507db6061e", "crypto": "pc23fbf455e97614d", "curl": "pd4bcd11b7d623073", "daochi_client": "p9972fcdd2d5ba999", "entity": "p523d96ecdb68b57a", "game2d": "p20eb23d3e6db3711", "kryon": "p7213416dd56f3a5c", "kss": "p1b13dda539ed2a39", "liboqs": "pecdb097af6ab16f7", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
"dependencies": {"apps": "p9c41020c62c76410", "crypto": "pc23fbf455e97614d", "curl": "pd4bcd11b7d623073", "daochi_client": "pf7b24c15869d6839", "entity": "p2d0aef8034912fe3", "game2d": "p20eb23d3e6db3711", "kryon": "p678dfe3877859170", "kss": "p1b13dda539ed2a39", "liboqs": "pecdb097af6ab16f7", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
"name": "Inbe"
},
"toolchain": {
+1 -1
View File
@@ -74,7 +74,7 @@ ref = "master"
[dependencies.apps]
git = "https://github.com/waozixyz/apps.git"
ref = "b1e4ed4b0f7283e2b7a8ae7740f283d5729b3b04"
ref = "becce9220e092d33b26a2ec106b93e43714f3946"
# The practices' pictures, course data and recordings (scripts/practice_media.py).
[dependencies.practices]