Luca Stefani
bc24c7804d
Don't backup on metered networks
...
* We better not overuse metered networks as such connections
* are usually sensitive to heavy data usage due to monetary costs and/or data limitations.
2021-08-25 14:59:49 +02:00
Chirayu Desai
96ffcc258d
Bump version to 11-2.1
...
* Only change here is the BIP39 dependency replacement, however
I'm still bumping version so that it's easy to figure out in case
there ever was a build with just 2.0 and not this due to whatever reason
Change-Id: I9783d5e038d002e871c09be6fe61174c5a5b901f
2021-07-06 00:02:14 +05:30
Torsten Grote
05640ebb63
Replace novacrypt BIP39 library with the zcash one
...
which is MIT licensed instead of GPLv3
Change-Id: I30041de5ab1c1f8c7d5f57d6c60e28300a285259
2021-07-05 23:50:18 +05:30
Chirayu Desai
fd4c92bd84
SeedVault 2.0: Now with storage backup!
...
Change-Id: Ifd639c3c9205b417d1ec37c8e7a11a2119b5cb48
2021-07-05 22:35:08 +05:30
Torsten Grote
d13b9ea3fd
Always run storage backups in a foreground service
...
otherwise we get killed for using too much CPU
2021-07-05 20:08:29 +05:30
Torsten Grote
26e35e1820
Make 'skip' buttons bigger so they are easier to tap
2021-07-05 20:08:29 +05:30
Torsten Grote
a4cbb0b6df
Only request app backup when it is actually enabled
2021-07-05 20:08:29 +05:30
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
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
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
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
02c7ba28b9
On phones we tap, not click!
...
Change-Id: Id0f0587b5174810de9e7d8036ca7e1264ea43c76
2021-05-26 23:07:25 +05:30
Michael Bestas
ee61be8361
Fix a couple camel case issues in strings
...
* This should finally cover all strings
2021-05-26 22:52:19 +05:30
Michael Bestas
d53f0fcde2
Switch all text references to github.com/seedvault-app
2021-04-20 03:59:01 +05:30
Chirayu Desai
d5b32d1410
Bump to 11-1.1
...
Also bump contactsbackup to keep the version consistent
Change-Id: I334cd6ea92b241f0ab57a68f05f9b15894b3f543
2021-04-16 22:49:43 +05:30
Chirayu Desai
b08b1f55f7
Change signing configuration to use AOSP platform key
...
* https://stackoverflow.com/a/40145242
Change-Id: I12d09f299f4f0f7d8879a631d4f3298a18409683
2021-03-05 02:37:27 +05:30
Torsten Grote
43dbcdfa79
Merge branch 'master' into main-key
2021-02-17 08:19:54 -03:00
Torsten Grote
68543dcb91
Store main key also when verifying recovery code
...
in case it wasn't stored before
2021-02-15 12:16:27 -03:00
Torsten Grote
851407037e
Store main key for key derivations from 512-bit BIP39 recovery code
...
This main key will be used later to derive sub-keys for other crypto operations.
2021-02-15 12:16:27 -03:00
Torsten Grote
2cd2f73241
Use a TestApp for UnitTests so we can use different modules for injection
2021-02-15 12:16:27 -03:00
Torsten Grote
fcd8afe072
Don't crash when storage app gets uninstalled
2021-02-09 15:37:05 -03:00
Torsten Grote
263531fec9
Fix camel case in recovery code strings
2021-01-20 03:44:01 +05:30
Torsten Grote
f758bb3110
Delete all backups (if possible) when user generates a new recovery code
2021-01-20 03:44:01 +05:30
Torsten Grote
ca2a56f023
Allow user to generate new recovery code
2021-01-20 03:44:01 +05:30
Torsten Grote
9dc29e4b0a
Allow user to verify existing recovery code
2021-01-20 03:44:01 +05:30
Torsten Grote
b7aedda90c
Add message to AssertionError to track down why it happens
2020-12-18 08:45:18 -03:00
Michael Bestas
4906a00786
strings: Avoid using camel case
...
Change-Id: I0365a381f4c2f28d3d61b4f90c66af9e557a50d2
2020-11-26 01:26:37 +05:30
Michael Bestas
34dcc083d4
Fix translations for master branch
...
Change-Id: Ic0a03f6806cce85b00e22dfe70c2d9b1a27b5602
2020-11-26 00:49:04 +05:30
Pera Petrovic
e8de37c549
Translated using Weblate (Serbian (latin))
...
Currently translated at 8.7% (10 of 114 strings)
Co-authored-by: Pera Petrovic <srdjan.todorovic.872019@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/sr_Latn/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Milo Ivir
b0b4391606
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (114 of 114 strings)
Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/hr/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
caioau
68c1029633
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (114 of 114 strings)
Co-authored-by: caioau <caioau@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_BR/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Michael Bestas
fe94d45f25
Compatibility symlinks for weblate translations
...
* Map weblate locale code to AOSP locale
Change-Id: I9e03b48ca00d8446416681a48c1ad3c2f5f63c42
2020-11-26 00:49:04 +05:30
Michael Bestas
3803a22dfe
Fix broken translations
...
Change-Id: I5c3aa867cbc3952c1ea19b85bc3694476e69be7d
2020-11-26 00:49:04 +05:30
Óscar Fernández Díaz
663d12db4a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (114 of 114 strings)
Co-authored-by: Óscar Fernández Díaz <oscfdezdz00@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
sock-et
c3e4e62374
Translated using Weblate (Italian)
...
Currently translated at 60.5% (69 of 114 strings)
Co-authored-by: sock-et <inline.py@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/it/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Yurical
a42aa90594
Translated using Weblate (Korean)
...
Currently translated at 94.7% (108 of 114 strings)
Translated using Weblate (Korean)
Currently translated at 88.5% (101 of 114 strings)
Co-authored-by: Yurical <yurical1@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ko/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Eric
8387ee09ae
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (114 of 114 strings)
Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
tamer dab
2570befba8
Translated using Weblate (Arabic)
...
Currently translated at 8.7% (10 of 114 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (114 of 114 strings)
Co-authored-by: tamer dab <dabsantamer@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ar/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
LOyoujoLI
09888a228d
Translated using Weblate (Russian)
...
Currently translated at 96.4% (110 of 114 strings)
Co-authored-by: LOyoujoLI <minion2018@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30