Commit graph

877 commits

Author SHA1 Message Date
Aayush Gupta
8b63a0a7f9 Set appropriate namespace in all modules
Required by new AGP versions

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:08:57 +08:00
Aayush Gupta
b330b7baa6 Switch to new Sdk version properties
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:08:57 +08:00
Aayush Gupta
cba065fe56 Sync appropriate protoc artifact for m1
Fixes compilation on M1 macOS. Check https://github.com/grpc/grpc-java/issues/7690 for further info

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:08:57 +08:00
Aayush Gupta
64ecd5c061 Drop buildToolsVersion
If you're using Android plugin for Gradle 3.0.0 or higher, your project automatically uses a default version of the build tools that the plugin specifies

Ref: https://developer.android.com/tools/releases/build-tools

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:08:57 +08:00
Aayush Gupta
d5320918dc Switch from -Xopt-in to -opt-in
w: Argument -Xopt-in is deprecated. Please use -opt-in instead
w: C:\Users\aayus\StudioProjects\seedvault\storage\demo\src\main\java\de\grobox\storagebackuptester\restore\DemoSnapshotFragment.kt: (34, 31): 'onBackPressed(): Unit' is deprecated. Overrides deprecated member in 'androidx.core.app.ComponentActivity'. Deprecated in Java

w: Argument -Xopt-in is deprecated. Please use -opt-in instead
w: C:\Users\aayus\StudioProjects\seedvault\storage\lib\src\main\java\org\calyxos\backup\storage\backup\BackupService.kt: (35, 9): This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
w: C:\Users\aayus\StudioProjects\seedvault\storage\lib\src\main\java\org\calyxos\backup\storage\restore\RestoreService.kt: (49, 9): This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:08:57 +08:00
Aayush Gupta
efee38ae39 Bump ktlint Gradle plugin to 11.3.1
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:08:53 +08:00
Aayush Gupta
845709246f Bump dependencies to Android 13 QPR2 release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:02:19 +08:00
Aayush Gupta
1d9cb146f8 Set root project's name to Seedvault
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-03 23:28:27 +05:30
Aayush Gupta
1943595f11 Migrate to new plugins and dependency management system
* Ensure every plugin is present in project's plugin block with version
* Switch to full plugin id for jetbrains plugins
* Move plugin and dependency repos to settings

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-03 23:28:27 +05:30
Aayush Gupta
b7c1459aca Bump to latest stable AGP and Gradle versions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-03 23:28:27 +05:30
Aayush Gupta
591e9dbc68 Bump kotlin to 1.7.20 based on Android 13 QPR2 release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-03 23:28:27 +05:30
Michael Bestas
90c8a3fb12 Remove androidx.annotation.VisibleForTesting.PRIVATE usage
VisibleForTesting defaults to private anyway, fixes build in 13 QPR3.

Change-Id: Icdbbd63f1f0fde2148491feefbc7221e91590881
2023-06-14 15:37:50 +05:30
Hosted Weblate
5448ef8652 Import translations from Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Pander <pander@users.sourceforge.net>
Co-authored-by: Ram <airavatam@tutanota.com>
Co-authored-by: Yuya <yuyaj@tutanota.com>
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/ja/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/nl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/hr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/ml/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ml/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2023-05-27 04:02:43 +05:30
nettnikl
cc86febbb9 Include extractor project in README.md 2023-05-19 21:09:16 +05:30
Hosted Weblate
8bea1be060 Import translations from Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/
Translation: CalyxOS/Seedvault
2023-03-29 19:49:31 +05:30
Hosted Weblate
80d3b0e880 Import translations from Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/
Translation: CalyxOS/Seedvault
2023-03-29 04:28:27 +05:30
Hosted Weblate
be5d2e0d53 Import translations from Weblate
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Felipe Nogueira <contato.fnog@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Leon Omelan <rozpierog@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pander <pander@users.sourceforge.net>
Co-authored-by: Reikimann <krellegaming@gmail.com>
Co-authored-by: Tom Sawyer <translate@grymkoll.simplelogin.com>
Co-authored-by: Translator-3000 <weblate.m1d0h@8shield.net>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: Zkdc <Zkdc2345@qq.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: gnu-ewm <gnu.ewm@protonmail.com>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: slundi <slundi@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/el/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/gl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/it/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/nl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_PT/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/sv/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/uk/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/da/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/nl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/nl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/pl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/pt/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/pt_BR/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2023-03-29 03:16:45 +05:30
Torsten Grote
923fb51f43 Ignore extra translations 2023-03-10 00:07:24 +05:30
Torsten Grote
480d3aa589 Add funding section to README 2023-03-10 00:07:24 +05:30
Torsten Grote
9ae32a9bac Redesign About dialog 2023-03-10 00:07:24 +05:30
Michael Bestas
0e147786b4 Remove compatibility symlinks for weblate translations
Weblate uses the correct locales now
2023-03-09 04:00:02 +05:30
Michael Bestas
f016724b1f Make contactsbackup REUSE compliant 2023-03-09 02:42:03 +05:30
Michael Bestas
076bd71c1d contactsbackup: Add SPDX copyright headers 2023-03-09 02:42:03 +05:30
Michael Bestas
efaa1316c8 Make storage REUSE compliant 2023-03-09 02:42:03 +05:30
Michael Bestas
66209f78f2 storage: Add SPDX copyright headers 2023-03-09 02:42:03 +05:30
Michael Bestas
366ea62895 storage: Add missing newlines at the end of the files 2023-03-09 02:42:03 +05:30
Michael Bestas
cd9ff5e6c6 Add .idea copyright configuration 2023-03-09 02:42:03 +05:30
Torsten Grote
630b2d1e70
Merge pull request #508 from chirayudesai/506-block-screenshots
Disable screenshots on more recovery code screens
2023-01-23 18:17:58 -03:00
Chirayu Desai
23abc02d69 Disable screenshots on more recovery code screens
* Basically try to cover all screens that may have a recovery code

Fixes: #506
Change-Id: If0143b71596ff470a04982d8f87b7a622d362309
2023-01-20 23:21:16 +05:30
Torsten Grote
8367e99421
Merge pull request #498 from chirayudesai/13-3.3
Bump version to 13-3.3
2023-01-17 14:31:31 -03:00
Chirayu Desai
eebeff90ff Bump version to 13-3.3
* Release early, release often

Change-Id: Id408dd7463a5c9a51dafea0e45cbda122ba26866
2023-01-11 19:23:02 +05:30
Chirayu Desai
ebed17ee58 Mark Nextcloud as not recommended
* We've had a love/hate relationship with the combination of
  SAF + Nextcloud app + Nextcloud server
* SAF is quite limiting, and that causes it's own issues
* On top of that, Nextcloud app has it's own issues. We've
  even sent patches for some things, but there's only so much one can do
  https://github.com/nextcloud/android/pulls?q=is%3Apr+author%3Agrote
* With the DAVx5 WebDAV support, it seems to work better.
* However, most recently a server side change broke things entirely, with either apps
  https://github.com/seedvault-app/seedvault/issues/490#issuecomment-1368032414
* Due of all of this, it just leads to a bad backup experience.
  As such, let's just say this is not recommended at all entirely
* Hopefully in the future we'll be able to support more options

Change-Id: I0b46dd11df7c31606131bf311583fe4777536463
2023-01-11 19:19:41 +05:30
t-m-w
5d0aca1b49 Warn before turning off backups
Let the user know that turning off backups will require a new backup
set to be created.

Requires: https://github.com/seedvault-app/seedvault/pull/496

Change-Id: I22a1cebd272ac43cab6c68b99ace5919d6a7a9f5
2023-01-06 20:09:38 +05:30
Torsten Grote
87a800438b Always start a new RestoreSet when initializing the device
This avoids deleting the current backup when the user disables backups (or the system decides to do a random re-init).
2023-01-06 20:09:16 +05:30
Denham McLaren
bedba071df Translated using Weblate (English (Australia))
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (182 of 182 strings)

Translated using Weblate (English (Australia))

Currently translated at 10.9% (20 of 182 strings)

Co-authored-by: Denham McLaren <denhamrock@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/en_AU/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/en_AU/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/en_AU/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2023-01-06 04:19:45 +05:30
Translator-3000
2685d57bda Translated using Weblate (Italian)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Translator-3000 <weblate.m1d0h@8shield.net>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/it/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/it/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/it/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2023-01-06 04:19:45 +05:30
Yaron Shahrabani
6a12cf9480 Translated using Weblate (Hebrew)
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
Егор Ермаков
45349e2e07 Translated using Weblate (Russian)
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Егор Ермаков <eg.ermakov2016@yandex.ru>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
Dan
b7f187451f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/uk/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/uk/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/uk/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2023-01-06 04:19:45 +05:30
nautilusx
2166cae00a Translated using Weblate (German)
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
Oğuz Ersen
5c4da3ffa6 Translated using Weblate (Turkish)
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
gallegonovato
43ca12686f Translated using Weblate (Spanish)
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
TobiGr
c43274e6a0 Translated using Weblate (German)
Currently translated at 99.4% (181 of 182 strings)

Co-authored-by: TobiGr <tobigr@mail.de>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
Eric
3e25c3f54f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Eric <hamburger1024@duck.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
Gediminas Murauskas
2d2e9dacb6 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (182 of 182 strings)

Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/lt/
Translation: CalyxOS/Seedvault
2023-01-06 04:19:45 +05:30
Torsten Grote
03ef65b5db Pre-grant ACCESS_MEDIA_LOCATION permission 2023-01-06 00:15:03 +05:30
Torsten Grote
4b9e2bb9f3 Show foreground notification right away when doing manual backup 2023-01-06 00:02:58 +05:30
Torsten Grote
594d5e17b5
Merge pull request #488 from chirayudesai/gh-actions
gh-actions: Upload debug apks as artifacts
2023-01-03 14:54:48 -03:00
Chirayu Desai
4520ed4fff
Bump version to 13-3.2 (#487)
* Spread out the version code a bit to allow for more
  releases per one name

Change-Id: I70b6ba92e359a1f229ee470f4032c04b9fd25e5b
2023-01-02 13:02:43 -03:00
Chirayu Desai
f20507fdc2 gh-actions: Upload debug apks as artifacts
Change-Id: I794a8cf20a77ed32d975a2eff834cdd703c6e35e
2022-12-30 03:43:07 +05:30