Commit graph

828 commits

Author SHA1 Message Date
Torsten Grote
1ff8e54748 Re-initialize backup location when changing recovery code
* delete all storage backups for current user
* clears the storage backup cache
* start a new app data restore set and initializes it

The reason is that old backups won't be readable anymore with the new key. We also can't delete other backups safely as we did before, because we can't be sure that they don't belong to a different device or user.
2021-07-05 20:08:29 +05:30
Torsten Grote
347d2a316f 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-05 20:08:29 +05:30
Torsten Grote
a762d1b64e Upgrade gradle and test libraries 2021-07-05 20:08:29 +05:30
Torsten Grote
342bd2068a Clear existing storage snapshots from storage medium
because that scenario isn't supported at the moment
2021-07-05 20:08:29 +05:30
Torsten Grote
f373f4bb97 release 0.9.7 of storage demo app 2021-07-05 20:08:29 +05:30
Torsten Grote
801dcc42ed add READMEs and tie them together in main README 2021-07-05 20:08:29 +05:30
Torsten Grote
e77d5cad2c Update storage design document and add some TODOs to the code 2021-07-05 20:08:29 +05:30
Torsten Grote
858954e82d Add user dictionary to repo for spellchecker 2021-07-05 20:08:29 +05:30
Torsten Grote
0aee5cc2aa Provide correct version to associated data 2021-07-05 20:08:29 +05:30
Torsten Grote
e7a8ad50e8 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-05 20:08:29 +05:30
Torsten Grote
61fe823a04 Check that version in snapshot matches the one in chunks 2021-07-05 20:08:29 +05:30
Torsten Grote
be9a84d704 Add storage design document 2021-07-05 20:08:29 +05:30
Torsten Grote
e21207de32 Only require network for storage backups when storage needs network 2021-07-05 20:08:29 +05:30
Torsten Grote
b8ac11e724 apply ktlint to storage.lib as well 2021-07-05 20:08:29 +05:30
Torsten Grote
d6bd36ad8b Backup now: run storage backup before app backup 2021-07-05 20:08:29 +05:30
Torsten Grote
9ca6cf2aae Allow to skip app restore to reach file restore 2021-07-05 20:08:29 +05:30
Torsten Grote
bdefb04a0d Add UI for restoring files after app restore 2021-07-05 20:08:29 +05:30
Torsten Grote
fa123f07a0 Improve finding restore sets
now that we store more things in the same folder
2021-07-05 20:08:29 +05:30
Torsten Grote
5b2b75047e handle storage backup when USB is used as target 2021-07-05 20:08:29 +05:30
Torsten Grote
6c633b70c3 Add storage library (and demo app)
and use for periodic files backup
2021-07-05 20:08:29 +05:30
Torsten Grote
1cd3a3a0e6 Fix log message when canceling full backup 2021-07-05 20:08:29 +05:30
Chirayu Desai
8e18b68608
Merge pull request #278 from seedvault-app/android11-merge-master/11-1.2
11-1.2:
2021-07-05 20:01:17 +05:30
Chirayu Desai
cda1e0c98e
Merge branch 'android11' into android11-merge-master/11-1.2 2021-07-05 19:46:24 +05:30
Chirayu Desai
5bfc5da3f7 Bump version to 11-1.2
Change-Id: I3817cf2320379504a8205125e7fa4894e3e57deb
2021-07-05 19:38:58 +05:30
Dhina17
7f9c2b4eb1 colors: Sync with Settings theme
Change-Id: I69366b7744a76658607bd48a81e06975c4c6060c
2021-07-05 19:20:08 +05:30
Torsten Grote
11564c8c35 Make recovery code fit on smaller screens 2021-07-05 18:56:01 +05:30
Chirayu Desai
d7e2cd67e9 l10n: zh-rCN: Fix xliff:g
Change-Id: I2506aa8f92ec57bd2bb1a1426c45742a283b1400
2021-07-05 18:21:48 +05:30
Chirayu Desai
c102fb5166 l10n: my: Remove English strings
* Only added since I couldn't figure out how to delete this translation from weblate

Change-Id: I8127dbee63a9dcf15ef8d404ce4313a52d7ca4b4
2021-07-05 18:21:48 +05:30
Chirayu Desai
12fe1ef6ef l10n: fi,it: Fix < and >
Change-Id: I28b19ca0de11eb07d233416271fd5f5a0fd76ac3
2021-07-05 18:21:48 +05:30
Chirayu Desai
bf70bec4f0 Translated using Weblate (Burmese)
Currently translated at 51.1% (69 of 135 strings)

Translated using Weblate (Burmese)

Currently translated at 50.3% (68 of 135 strings)

Translated using Weblate (Burmese)

Currently translated at 48.8% (66 of 135 strings)

Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/my/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Daisuke Masamura
3c2eeb089f Translated using Weblate (Japanese)
Currently translated at 17.7% (24 of 135 strings)

Co-authored-by: Daisuke Masamura <weblate.p1q2j@8shield.net>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
matuo
cb967f874f Translated using Weblate (Japanese)
Currently translated at 17.7% (24 of 135 strings)

Co-authored-by: matuo <longman.longest@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Daimar Stein
964f13c63e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Daimar Stein <570cxat11@relay.firefox.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_BR/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Artem
71c016e68c Translated using Weblate (Russian)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Michael Bestas
abfc82c981 Translated using Weblate (Greek)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/el/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
m4sk1n
8ee9b2555a Translated using Weblate (Polish)
Currently translated at 99.2% (134 of 135 strings)

Translated using Weblate (Polish)

Currently translated at 51.8% (70 of 135 strings)

Co-authored-by: m4sk1n <me@m4sk.in>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Jim_Di
c26b679804 Translated using Weblate (Russian)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Jim_Di <jim_digriz@bk.ru>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Jan Myler
50427c0493 Translated using Weblate (Czech)
Currently translated at 99.2% (134 of 135 strings)

Co-authored-by: Jan Myler <weblate@jm24.4wrd.cc>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/cs/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Alexandre Brochand
d1465d085d Translated using Weblate (French)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Alexandre Brochand <armandleborgne@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Iris S
b9e0d163d9 Translated using Weblate (Greek)
Currently translated at 99.2% (134 of 135 strings)

Co-authored-by: Iris S <iris.sousouni@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/el/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Óscar Fernández Díaz
247775c77c Translated using Weblate (Spanish)
Currently translated at 100.0% (135 of 135 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (135 of 135 strings)

Translated using Weblate (Spanish)

Currently translated at 97.0% (131 of 135 strings)

Co-authored-by: Óscar Fernández Díaz <oscfdezdz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Oscar Nydza
cd3d0bc493 Translated using Weblate (Spanish)
Currently translated at 100.0% (135 of 135 strings)

Translated using Weblate (Spanish)

Currently translated at 97.0% (131 of 135 strings)

Translated using Weblate (Spanish)

Currently translated at 91.8% (124 of 135 strings)

Co-authored-by: Oscar Nydza <onn.tico@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
ssantos
d20cdb2112 Translated using Weblate (Portuguese)
Currently translated at 88.8% (120 of 135 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 88.1% (119 of 135 strings)

Translated using Weblate (Portuguese)

Currently translated at 88.8% (120 of 135 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_PT/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Nikita Epifanov
31ad6afe2e Translated using Weblate (Russian)
Currently translated at 97.7% (132 of 135 strings)

Co-authored-by: Nikita Epifanov <nikgreens@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Eric
c3baa62d3c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Chaitanya Chowdary
a20bd468c8 Translated using Weblate (Telugu)
Currently translated at 20.0% (27 of 135 strings)

Translated using Weblate (Telugu)

Currently translated at 21.7% (27 of 124 strings)

Co-authored-by: Chaitanya Chowdary <chaitanyachowdaryy@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/te/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Przemysław Kuciel
ab67ab62aa Translated using Weblate (Polish)
Currently translated at 27.4% (34 of 124 strings)

Co-authored-by: Przemysław Kuciel <kludummy@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
nader ahmed
a082b3c603 Translated using Weblate (Arabic)
Currently translated at 12.0% (15 of 124 strings)

Co-authored-by: nader ahmed <naderabdalmonem0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ar/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Daniel Martins
8b44197837 Translated using Weblate (Portuguese)
Currently translated at 99.1% (123 of 124 strings)

Co-authored-by: Daniel Martins <daniel.tritone@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30
Joel D'Silva
06104068e5 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (124 of 124 strings)

Co-authored-by: Joel D'Silva <jdms.contato@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_BR/
Translation: CalyxOS/Seedvault
2021-07-05 18:13:56 +05:30