Commit graph

13 commits

Author SHA1 Message Date
Torsten Grote
d2a6282fbf Fix crash that happens when starting RestoreActivity without key
This instantiates all sorts of classes down to Restore which accessed the streamKey that is still unavailable at this point. Now it is only instantiated lazily when actually starting a restore.
2021-07-03 05:05:42 +05:30
Torsten Grote
4b32d18287 Remove storage snapshots from list if we can't decrypt them 2021-07-03 05:05:42 +05:30
Torsten Grote
1b08e30a4a Allow using the same storage location on different devices or user profiles
Previously, we would put our files directly in the root of the storage location and delete any existing backups there. When used by different devices or user profiles, these would keep deleting each other's backups.
2021-07-03 05:05:42 +05:30
Torsten Grote
4a60bf1683 Clear existing storage snapshots from storage medium
because that scenario isn't supported at the moment
2021-07-03 05:05:42 +05:30
Torsten Grote
05955a7b6a release 0.9.7 of storage demo app 2021-07-03 05:05:42 +05:30
Torsten Grote
0556709e2d add READMEs and tie them together in main README 2021-07-03 05:05:42 +05:30
Torsten Grote
e4a7041416 Update storage design document and add some TODOs to the code 2021-07-03 05:05:42 +05:30
Torsten Grote
bc953f82a0 Provide correct version to associated data 2021-07-03 05:05:42 +05:30
Torsten Grote
ebf2747752 Add version number to chunks cache
so we can later do in-place version upgrades and find out which chunks we need to store new versions for
2021-07-03 05:05:42 +05:30
Torsten Grote
9a1bb28873 Check that version in snapshot matches the one in chunks 2021-07-03 05:05:42 +05:30
Torsten Grote
057df58f8b Add storage design document 2021-07-03 05:05:42 +05:30
Torsten Grote
67c6c051fb apply ktlint to storage.lib as well 2021-07-03 05:05:42 +05:30
Torsten Grote
24443cb2f0 Add storage library (and demo app)
and use for periodic files backup
2021-07-03 05:05:42 +05:30