Commit graph

312 commits

Author SHA1 Message Date
Chirayu Desai
0e3147b365 Bump to 11-1.1
Also bump contactsbackup to keep the version consistent

Change-Id: I334cd6ea92b241f0ab57a68f05f9b15894b3f543
2021-04-16 23:04:30 +05:30
Chirayu Desai
54ae006652 Change signing configuration to use AOSP platform key
* https://stackoverflow.com/a/40145242

Change-Id: I12d09f299f4f0f7d8879a631d4f3298a18409683
2021-04-16 23:04:30 +05:30
Torsten Grote
100a99484a Store main key also when verifying recovery code
in case it wasn't stored before
2021-04-16 23:04:30 +05:30
Torsten Grote
c8a7e763d6 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-04-16 23:04:30 +05:30
Torsten Grote
6a5eaea2fd Use a TestApp for UnitTests so we can use different modules for injection 2021-04-16 23:04:30 +05:30
Torsten Grote
e8fbc3fbe7 Don't crash when storage app gets uninstalled 2021-04-16 23:04:30 +05:30
Torsten Grote
1bbaf3f55b Fix camel case in recovery code strings 2021-04-16 23:04:30 +05:30
Torsten Grote
4271fd6005 Delete all backups (if possible) when user generates a new recovery code 2021-04-16 23:04:30 +05:30
Torsten Grote
395cc4c899 Allow user to generate new recovery code 2021-04-16 23:04:30 +05:30
Torsten Grote
d64413a7c3 Allow user to verify existing recovery code 2021-04-16 23:04:30 +05:30
Torsten Grote
9bba81ed5c Add message to AssertionError to track down why it happens 2021-04-16 23:04:30 +05:30
Michael Bestas
af45233e02 strings: Avoid using camel case
Change-Id: I0365a381f4c2f28d3d61b4f90c66af9e557a50d2
2021-04-16 23:04:30 +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
Kyuzial
51f8a29316 Translated using Weblate (French)
Currently translated at 99.1% (113 of 114 strings)

Co-authored-by: Kyuzial <kyuzial@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
nautilusx
3189773443 Translated using Weblate (German)
Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: nautilusx <mail.ka@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Nikita Epifanov
5fef513d86 Translated using Weblate (Russian)
Currently translated at 94.7% (108 of 114 strings)

Co-authored-by: Nikita Epifanov <nikgreens@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Michael Bestas
d357b68a91 Translated using Weblate (Greek)
Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/el/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Oğuz Ersen
1b991dd83b Translated using Weblate (Turkish)
Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Atrate
9c4be5194e Translated using Weblate (Polish)
Currently translated at 25.0% (28 of 112 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
2020-11-26 00:49:04 +05:30
Allan Nordhøy
4f9c13657b Translated using Weblate (Norwegian Bokmål)
Currently translated at 78.5% (88 of 112 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/nb_NO/
2020-11-26 00:49:04 +05:30
ssantos
36bb4c6494 Translated using Weblate (Portuguese)
Currently translated at 97.3% (109 of 112 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Atrate
d1225ef61b Translated using Weblate (Polish)
Currently translated at 22.3% (25 of 112 strings)

Co-authored-by: Atrate <Atrate@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Milo Ivir
7199e78e6b Translated using Weblate (Croatian)
Currently translated at 100.0% (112 of 112 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
Yaron Shahrabani
607df522af Translated using Weblate (Hebrew)
Currently translated at 100.0% (112 of 112 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
Translation: CalyxOS/Seedvault
Change-Id: Id58ce22954ae88f5856ae64879c7fbd56b2d1a62
2020-11-26 00:49:04 +05:30
Chirayu Desai
9ce543812f Translated using Weblate (French)
Currently translated at 80.3% (90 of 112 strings)

Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Nikita Epifanov
746882587b Translated using Weblate (Russian)
Currently translated at 100.0% (112 of 112 strings)

Translated using Weblate (Russian)

Currently translated at 98.2% (110 of 112 strings)

Co-authored-by: Nikita Epifanov <nikgreens@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2020-11-26 00:49:04 +05:30
Torsten Grote
c885499faf
Remove string that isn't needed anymore and change one 2020-11-25 08:41:46 -03:00
Torsten Grote
4ea563f8a3
Handle local contacts backup specially in app list
as it might not be installed
2020-11-18 17:21:10 -03:00
Torsten Grote
14f6e5ad93
Adapt main screen to new design 2020-11-18 17:14:24 -03:00
Torsten Grote
020a50533c
exclude apps from backup: react also when only switch is tapped
Fixes #83
2020-11-18 17:05:26 -03:00
Torsten Grote
b1a0c1b2e2
Group app status list into three sections
* important system apps
* user apps
* apps not allowing backup
2020-11-18 16:35:45 -03:00
Steve Soltys
9daaeea55d Move CI to GitHub Actions 2020-11-10 16:34:40 -05:00
Torsten Grote
7694eb3cf9 Move to different versioning scheme and show version in About dialog 2020-10-29 20:50:53 +05:30
Torsten Grote
81cd67217b Show backup status of select system apps 2020-10-29 20:23:01 +05:30
Torsten Grote
e9f3c08220
Make MANAGE_DOCUMENTS permission optional
for those who can not or do not want to use it

Fixes #58
2020-10-23 07:37:16 -03:00
Torsten Grote
f5e9c30d17
Also check internet access when determining whether backup storage is available
This commit also refactors the code in SettingsFragment and moves it into the SettingsViewModel.
The UsbMonitor turned out not to be reliable in determining changes to USB storage, so it was replaced with a ContentObserver which works for other storage types as well.
2020-10-23 07:34:00 -03:00
Torsten Grote
82048f2754
Don't mess with backup system settings as they can't be used to reliably prevent automatic updates anyway 2020-10-23 07:34:00 -03:00
Torsten Grote
e2f0d19f77
Pretend to make successful @pm@ backup when no backup is possible
This is the same behavior as Google backup when it has no internet connection and after extensive research the only option we can keep the system from considering the backup state to be compromised.

K/V backups are run at least every day, no matter what backup interval we set in settings and when they run, we don't get asked before, if now is a good time for backups. So we need to fake an OK for @pm@ backup and can error out afterwards without compromising state.
2020-10-23 07:33:59 -03:00
Torsten Grote
141fe7575d
Check also availability of internet access when using online storage
This moves these availability checks into the Storage class, so they can be used in various places without duplicating code.
2020-10-23 07:33:59 -03:00