Commit graph

574 commits

Author SHA1 Message Date
Maxime Leroy
ec53059cfa Translated using Weblate (French)
Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (French)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translation: CalyxOS/Seedvault
2022-12-01 06:27:15 +05:30
kbci_wcn
aae2f5dabb Translated using Weblate (Catalan)
Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: kbci_wcn <kbci_wcn@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ca/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ca/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Егор Ермаков
8041680e19 Translated using Weblate (Russian)
Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 98.8% (177 of 179 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Егор Ермаков <eg.ermakov2016@yandex.ru>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ru/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Micovec
15dda1bfab Translated using Weblate (Czech)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Czech)

Currently translated at 97.2% (174 of 179 strings)

Translated using Weblate (Czech)

Currently translated at 96.6% (173 of 179 strings)

Translated using Weblate (Czech)

Currently translated at 99.4% (169 of 170 strings)

Co-authored-by: Micovec <jiri.vokrinek@email.cz>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/cs/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/cs/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Pietro Cappuccino
31b3af2a05 Translated using Weblate (Italian)
Currently translated at 70.0% (119 of 170 strings)

Co-authored-by: Pietro Cappuccino <p.cappuccino@tiscali.it>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/it/
Translation: CalyxOS/Seedvault
2022-12-01 06:27:15 +05:30
Doan Quan Tien
e2c73b0660 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Doan Quan Tien <doanquantien1@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/vi/
Translation: CalyxOS/Seedvault
2022-12-01 06:27:15 +05:30
Michael Bestas
a27541f87a Translated using Weblate (Greek)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/el/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/el/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Óscar Fernández Díaz
b89c97370f Translated using Weblate (Spanish)
Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (170 of 170 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
2022-12-01 06:27:15 +05:30
fawaz006
edad362ea8 Translated using Weblate (Arabic)
Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Arabic)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Arabic)

Currently translated at 13.5% (23 of 170 strings)

Co-authored-by: fawaz006 <fawaz27000@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ar/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/ar/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ar/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Eric
a30ea61693 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/zh_Hans/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Yaron Shahrabani
d233775501 Translated using Weblate (Hebrew)
Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/he/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
nautilusx
df99fc6a1e Translated using Weblate (German)
Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (German)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (German)

Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (German)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/de/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Oğuz Ersen
edb2c7ae40 Translated using Weblate (Turkish)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (179 of 179 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/tr/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Allan Nordhøy
7a00678372 Translated using Weblate (Norwegian Bokmål)
Currently translated at 87.5% (14 of 16 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 76.9% (130 of 169 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/nb_NO/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
lx3k
c9f3324ec0 Translated using Weblate (Japanese)
Currently translated at 93.7% (15 of 16 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Japanese)

Currently translated at 88.1% (149 of 169 strings)

Co-authored-by: lx3k <lx3kvdms@anonaddy.me>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/ja/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ja/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-12-01 06:27:15 +05:30
Weblate
8193233c8f Added translation using Weblate (Asturian)
Added translation using Weblate (Gaelic)

Added translation using Weblate (Asturian)

Added translation using Weblate (Welsh)

Added translation using Weblate (Gaelic)

Added translation using Weblate (Welsh)

Added translation using Weblate (Asturian)

Added translation using Weblate (Gaelic)

Added translation using Weblate (Welsh)

Co-authored-by: Weblate <noreply@weblate.org>
2022-12-01 06:27:15 +05:30
Torsten Grote
271b9a560f Remove some code warnings 2022-11-16 19:19:56 +05:30
Torsten Grote
1a7fc5f028 Add expert option to save logs 2022-11-16 19:19:56 +05:30
Torsten Grote
374ba8b64f Remove permission requirement in a better way for debug builds
and reformat some SettingsFragment details
2022-11-12 03:38:14 +05:30
Chirayu Desai
c6a77904a6
RecoveryCode: Allow screenshots on debug builds (#446)
* We already pre-fill the code on debug builds to make testing easier
* Allow screenshots too so we don't have to note down the code right away
  when testing

Change-Id: Ie9cc3080616b78a6e5f9b427c080f10c146a036d
2022-10-14 16:30:18 -03:00
Alexander Martinz
0106c1911a Document POST_NOTIFICATIONS permission usage
Change-Id: Ie9d2b9bc06aba0dfbd268408220ba54081137b26
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-10-06 20:07:13 +05:30
Alexander Martinz
7799ad1339 Document that MANAGE_DOCUMENTS is optional
MR #151 implemented a fallback if MANAGE_DOCUMENTS is not granted,
which falls back to show a file chooser to the user to manually
select the storage root.

Document this behavior in the manifest as well, as the permission
causes some certification tests to fail (#453).

Change-Id: I3271b7969aacc014349766a022f13a00bea9ff85
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-10-06 20:07:13 +05:30
Torsten Grote
dfc9aeee28
Expect BackupObserver to be called with null packages 2022-09-08 17:45:17 -03:00
Torsten Grote
848ed51de4
Expect ApplicationInfo#splitSourceDirs to be null
Also handle errors like these a bit better
2022-09-08 17:40:41 -03:00
Torsten Grote
4e0fab1883
Bump version code and version name
also add changelog entry
2022-08-23 11:44:19 -03:00
Torsten Grote
6ea33632cd
Upgrade more dependencies for Android 13
Now is a good time as we need to thoroughly test everything again anyway.
2022-08-23 11:44:18 -03:00
Torsten Grote
46e19516cd
Add POST_NOTIFICATIONS permission and pre-grant it 2022-08-23 11:44:18 -03:00
Torsten Grote
82f23b7800
Set minSdk to 32 and remove code for old SDKs
We can't go to 33 yet, because roboelectric doesn't support that
2022-08-23 11:44:18 -03:00
Aayush Gupta
02af9a27a8 restore: install: Cast any() to Int to avoid oevrload errors
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 18:36:42 +05:30
Torsten Grote
d72bee523b Mock ApplicationInfo
as it now calls the native SystemClock.uptimeMillis() method which is hard to mock
2022-08-23 18:30:55 +05:30
Aayush Gupta
65fa49132e settings: AppListRetriever: Switch to lowercase() method
W: 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 18:30:43 +05:30
Aayush Gupta
584a54b127 gradle: Upgrade robolectric and add explicit dependency on hamcrest
Current hamcrest dependency was coming from robolectric but upgrading it
removed it.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 18:30:43 +05:30
Aayush Gupta
4b8427821b gradle: Enable java 11 language features
Also unify the style while at it

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:34 +05:30
Aayush Gupta
c48aa73ad0 gradle: Bump kotlin and dependencies version for Android 13
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:33 +05:30
Torsten Grote
3aa1b9f03d
Merge pull request #422 from t-m-w/do-not-restore-storage-provider
Exclude storage provider from restore
2022-08-15 17:29:01 -03:00
t-m-w
7901aec408 Exclude storage provider from restore and update affected unit tests,
additionally adding a test to ensure the storage provider is excluded.

Otherwise, when the storage provider (i.e. DAVx5 or Nextcloud) is installed,
it will be terminated, and the restoration process will be interrupted.

Change-Id: Ic1be201b673d718b416009ff61f5d975c89b6a62
2022-07-11 16:58:52 -04:00
Torsten Grote
49c9425166 Expose app status information to screen readers
This is for backup, restore and re-install status.
2022-07-08 20:11:38 +05:30
José Rebelo
976e898656 Mark background backup notification as ongoing 2022-06-07 03:15:07 +05:30
Michael W
19ed570a4e Tell user about non enabled backup
* Pressing "Backup now" should not just ignore you when it's not actually
  enabled
* Add a toast message telling you it's not enabled

Fixes: #390
Change-Id: I5d698a244652e094b0acfc42cdea017a0af9a20b
2022-06-07 03:14:55 +05:30
Michael W
c97375b294 Seedvault: Fix button on code output
* Missed in the SuW redesign commit

Change-Id: Ie035b77470672248ccc531334cea5a3005fb1e20
2022-06-07 03:14:45 +05:30
Michael W
4576c6d332 Seedvault: Redesign SUW activities for 12
* New SetupWizard uses external/setupdesign (sud) and
  external/setupcompat (suc) to achieve the desired looks
* It prevents proper previews when included in any app, though, so
  we better try achieving the same by manually styling the activities
  for 12
* This patch mimics the design by applying styles similar to the ones
  from sud, sometimes reusing parts taken from there

Change-Id: Iccf588e5239aeb00645f97b095910986f32c52d0
2022-05-26 12:35:48 +02:00
Michel Le Bihan
e26081fcfa Translated using Weblate (Polish)
Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Polish)

Currently translated at 84.6% (143 of 169 strings)

Co-authored-by: Michel Le Bihan <michel@lebihan.pl>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/pl/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-04-29 23:55:05 +05:30
Jeffree Romero
1df679ad8f Translated using Weblate (Spanish)
Currently translated at 100.0% (169 of 169 strings)

Co-authored-by: Jeffree Romero <jeffree.s.romero@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2022-04-29 23:55:05 +05:30
Егор Ермаков
7dc67a9104 Translated using Weblate (Russian)
Currently translated at 100.0% (169 of 169 strings)

Co-authored-by: Егор Ермаков <eg.ermakov2016@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2022-04-29 23:55:05 +05:30
Torsten Grote
d598aac81e Clean up system USB storage feature a bit 2022-04-29 23:43:09 +05:30
Torsten Grote
81d5281a94 Save restore storage only when it had backups
Incidentally this gets rid of the need to pass an implementation-specific Uri to the StoragePlugin.
2022-04-29 23:43:09 +05:30
Oliver Scott
d7910a84b4 Save storage unconditionally on location set
The storage plugin cannot find USB backups for secondary users if it is not saved before checking if backups exist
2022-04-29 23:43:09 +05:30
Oliver Scott
dd57828697 Allow secondary user backup to USB
By default, Android exposes USB devices only to the main user.
In order to query, read and write to it, the signature permission INTERACT_ACROSS_USERS_FULL (optional) is granted to create Seedvault's context as the system user.

Issue: calyxos#437
Issue: https://github.com/seedvault-app/seedvault/issues/77
Change-Id: I0b1b4c8c5aeeb226419ff94e15f631ebe1db66df
2022-04-29 23:43:09 +05:30
Nextross
fa93d5dfcc Translated using Weblate (Czech)
Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Czech)

Currently translated at 99.4% (168 of 169 strings)

Co-authored-by: Nextross <onlineservices.aminolysis@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/cs/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/cs/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
Chirayu Desai
c832f71a29 Deleted translation using Weblate (Uyghur)
Deleted translation using Weblate (Uyghur)

Deleted translation using Weblate (Uyghur)

Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
2022-03-24 21:18:05 +05:30