med-det-samme/app
Ole-Morten Duesund 90eb15ca0b Restore latest backup straight from the bucket
Settings gains 'Gjenopprett siste backup fra bøtta': lists the bucket
(classic query-less ListObjects — an empty canonical query sidesteps a
whole class of SigV4 encoding mismatches; keys filtered client-side),
picks the lexicographically newest timestamped key, downloads, then
runs the existing import path (format auto-detect, passphrase prompt,
replace-all, alarm re-arm). Closes the circle: after a device loss,
recovery is in-app instead of laptop + age -d. parseListKeys is pure
and unit-tested; first ListObjects page only (1000 keys), which the
bucket's lifecycle expiration keeps us far below.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 17:51:13 +02:00
..
schemas/no.naiv.meddetsamme.data.MedDatabase Inventory split: InventoryItem entity, schema v2 with tested migration, Lager screen 2026-06-10 15:13:28 +02:00
src Restore latest backup straight from the bucket 2026-06-11 17:51:13 +02:00
build.gradle.kts Guardrail: connected tests refuse to run without an emulator ANDROID_SERIAL 2026-06-10 15:39:25 +02:00