Torsten Grote
324da2a9e9
Allow the user to exclude apps from backup
...
Closes #70
2020-01-20 11:58:38 -03:00
Torsten Grote
c92b9a3606
Credit Glenn Sorrentino on About page
2020-01-20 10:01:44 -03:00
Torsten Grote
5d38f061d9
Make some app status list tweaks suggested by our designer Glenn
2020-01-20 09:53:51 -03:00
Steve Soltys
3ae600ea8e
Merge pull request #71 from grote/69-app-backup-status
...
Show list of apps and their backup status
2020-01-19 12:50:46 -05:00
Torsten Grote
a98364efbe
Back up APKs as early as possible to not miss any
...
Fixes #68
2020-01-18 16:42:26 -03:00
Torsten Grote
fcf17fe23a
Show list of apps and their backup status
2020-01-18 16:38:55 -03:00
Steve Soltys
6afdb7f4f7
Merge pull request #67 from grote/51-removable-storage-ux
...
Improve UX for auto-restore when using removable storage
2020-01-17 18:39:50 -05:00
Steve Soltys
97f82bc79e
Merge pull request #64 from grote/apk-backups
...
Optional App APK Backups
2020-01-14 23:58:40 -05:00
Torsten Grote
de16032905
Don't use wildcard imports, because they are considered harmful
2020-01-14 15:40:56 -03:00
Torsten Grote
6ed522bfb7
Show one single progress bar in the notification
...
Also don't show individual package results,
but a single dismissible status notification in the end.
Closes #59 , #61
2020-01-14 15:18:16 -03:00
Torsten Grote
2bcf82d607
Show heads-up notification when auto-restore fails due to removed storage
2020-01-14 10:17:38 -03:00
Torsten Grote
783e676be2
Optimize the restore of a single application (e.g. auto restore)
...
This restores only the @pm@ keys that are really needed
and thus speeds up installation with auto restore considerably
when using cloud storage such as NextCloud for example.
2020-01-14 10:17:37 -03:00
Torsten Grote
43184f4d23
Add note to auto-restore setting in case removable storage is used
...
This warns the user that auto-restore will only work when their storage
is plugged in.
2020-01-14 10:17:37 -03:00
Torsten Grote
22be36e2a7
When an app could not be restored, show the likely reason for it
2020-01-14 10:11:17 -03:00
Torsten Grote
74183d40d6
Add system app flag to metadata and check before installing system apps
...
that they are present as an older system app on the restore system.
Also ignore system apps without data to backup.
2020-01-14 10:11:17 -03:00
Torsten Grote
2a4ff39531
Simplify PackageService and use standard PackageManager
...
@stevesoltys this removes your old way of retreiving installed packages
via getInstalledPackages(0, UserHandle.USER_SYSTEM) as I couldn't find a
difference to the official way.
Also IGNORED_PACKAGES isn't needed anymore since
filterAppsEligibleForBackupForUser() already filters those out.
2020-01-14 07:45:41 -03:00
Torsten Grote
fea53a759f
Also back-up APKs of apps that are not allowed to have their data backed up
2020-01-14 07:45:41 -03:00
Torsten Grote
3d296e1335
Also back up APKs of apps that have no data or are above quota
...
This should also affect apps that have other errors during the backup
process, but it does not affect apps that opt-out of backup completely.
First part of #65
2020-01-14 07:45:41 -03:00
Torsten Grote
3f73119b52
Show restore data progress bar and improve readability of log messages
2020-01-14 07:45:40 -03:00
Torsten Grote
1924db7779
Move date restore view state into ViewModel to survive configuration changes
2020-01-14 07:45:40 -03:00
Torsten Grote
5632f11878
Show when package restore failed
2020-01-14 07:45:40 -03:00
Torsten Grote
9f01d09962
Don't get or write to full backup output stream before we are not sure there will be data to write
2020-01-14 07:45:39 -03:00
Torsten Grote
7b27242625
Show apps that we could not restore data for
2020-01-14 07:45:39 -03:00
Torsten Grote
690017c050
Only back up APK and write metadata when app was actually backed up
...
Apps that have nothing to back up start a backup but then get a call to cancelFullBackup()
and never even call finishBackup().
Do not write metadata for such apps, the call got moved to finishBackup().
2020-01-14 07:45:39 -03:00
Torsten Grote
2f352fe828
Show list of packages that we could restore data for
2020-01-14 07:45:39 -03:00
Torsten Grote
96a4642f4f
Show list of re-installed apps and let the user review it before restoring data
2020-01-14 07:45:38 -03:00
Torsten Grote
debaca0e2c
Ignore RestoreSets with no last backup time
2020-01-14 07:45:38 -03:00
Torsten Grote
f562857514
Expose APK backup feature as a setting, so the user can disable it
...
The user might not want to have their apps copied to the storage,
because it is very slow or for other reasons.
2020-01-14 07:45:38 -03:00
Torsten Grote
7605762631
Re-install backed-up APKs before restoring from backup
2020-01-14 07:45:37 -03:00
Torsten Grote
569e3db385
Fix device initialization and generation of new backup tokens
2020-01-14 07:45:37 -03:00
Torsten Grote
81c2031ce7
Back up APKs to storage (when they changed) and save metadata about them
2020-01-14 07:45:37 -03:00
Torsten Grote
b9cac5ea87
Introduce MetadataManager to handle all metadata related to backups
...
This now updates the metadata on remote storage and internal cache
after each successful package backup.
2020-01-14 07:45:36 -03:00
Torsten Grote
e1d55c8a4e
Add information about packages to backup metadata
...
This will be needed when backing up APKs.
ATTENTION: This is a breaking change, we only do because the app hasn't
been released.
2020-01-14 07:45:36 -03:00
Steve Soltys
f8846ffe45
Merge pull request #47 from stevesoltys/develop
...
Merge develop into master
2019-12-22 20:31:55 -05:00
Steve Soltys
01098a4d97
Merge pull request #60 from grote/check-messages
...
Encrypt values of key/value backups with multiple segments if needed
2019-12-22 20:24:33 -05:00
Steve Soltys
b9f748a009
Merge pull request #56 from grote/koin
...
Use dependency injection with Koin
2019-12-22 20:23:48 -05:00
Steve Soltys
217f498c2f
Merge pull request #55 from stevesoltys/feature/update-license-changelog
...
Update license and changelog
2019-12-22 20:21:07 -05:00
Steve Soltys
c140981576
Update license to Apache-2.0
2019-12-22 20:20:19 -05:00
Steve Soltys
dcfdb5a2e6
Update changelog and readme for 1.0.0-alpha1
2019-12-22 20:20:12 -05:00
Torsten Grote
58a8f29b51
Encrypt values of key/value backups with multiple segments if needed
...
This turned out to be necessary, because some values on production
devices are exceeding the maximum segment size.
2019-12-19 08:55:57 -03:00
Torsten Grote
177e714001
Add error messages for unexpected state to ease debugging
2019-12-18 15:50:34 -03:00
Torsten Grote
94c7663daf
Use dependency injection with Koin
2019-12-17 09:56:45 -03:00
Steve Soltys
bb9d498ea8
Merge pull request #54 from grote/nextcloud-restore
...
Support restore from Nextcloud account even if not installed or set up
2019-12-16 11:47:46 -05:00
Torsten Grote
137e8033a7
Update time of backup progress notifications
2019-12-16 09:11:53 -03:00
Torsten Grote
d30cb309ca
Be more forgiving when checking available restore sets
2019-12-16 09:11:53 -03:00
Torsten Grote
440491425a
Work around DocumentFile bug happening with cloud-based DocumentsProviders
...
These might return outdated or now content when queried,
then check their cloud storage and report back with up-to-date content.
We now detect this (when looking for backups on newly setup storage)
and wait until the content has been loaded before acting on the
response.
This is affecting and was tested with NextCloud.
2019-12-16 09:11:52 -03:00
Torsten Grote
bbc8bdfaa5
Allow the user to leave the recovery code input if called from setup wizard
2019-12-11 13:48:00 -03:00
Torsten Grote
791f68300d
Allow to setup NextCloud account during restore
...
This is especially useful when restore is only allowed during
SetupWizard and the backup was stored on a NextCloud account.
2019-12-11 13:48:00 -03:00
Steve Soltys
2ebc7c9479
Merge pull request #48 from stevesoltys/feature/update-readme
...
Update README.md to reflect latest features and permissions
2019-12-07 22:32:35 -05:00
Steve Soltys
cf86c57760
Merge pull request #52 from grote/about-page
...
Add About page
2019-12-07 15:13:01 -05:00