Torsten Grote
37a16ed42e
Show proper transport labels for OS transport selection
...
If an AOSP-based ROM allows the user to choose a backup transport, these labels will be shown.
2020-10-22 04:08:21 +05:30
Torsten Grote
b974c31515
Always show Nextcloud as an option, offer to install or set up account
...
Outside of SetupWizard restore, we don't offer to set up an account,
because we don't know if one already exists and the app was locked with
a passcode.
2020-10-22 03:22:49 +05:30
Torsten Grote
9f85a66235
Show a different text for stopped apps in app backups status page
2020-10-22 03:22:49 +05:30
Torsten Grote
965431149e
Treat stopped apps different from opt-out apps
...
Apps that have FLAG_STOPPED will not get backed up, just like apps
without flag ALLOW_BACKUP will not get backed up.
In the UI both cases are shown the same way: app does not allow backup
This can be confusing for the user as it is not true for stopped apps.
Therefore, this commit introduces a new stopped state for apps,
so we can differentiate between both cases.
2020-10-22 03:22:49 +05:30
Torsten Grote
30e70527fb
Don't let the user start a new backup when one is already in progress
2020-10-22 03:22:49 +05:30
Torsten Grote
a425ae706e
Show percentages in progress notification and x of n status at the end
...
Fine-grained progress reporting causes apps to show up twice which is
confusing. Also @pm@ metadata and opt-out APKs are too much detail for
normal users. So we decided to only show a percentage in the progress
notification.
When the backup finished, the app now shows "x of n apps backed up"
which is more positive when the previous negative message of how many
apps were not backed up.
Some further minor tweets were done to app counting to report proper
totals.
2020-10-22 03:22:49 +05:30
Torsten Grote
d2c426db93
Let backup notification report more fine-grained progress
...
This adds @pm@ record backup and APK backup of opt-out apps to the
progress reporting since these two operations are slow when using a
cloud storage SAF backend.
2020-10-22 03:22:49 +05:30
Michael Bestas
b563893304
String improvements
...
* Don't use camel case, following AOSP applications
* Set app name and Nextcloud as untranslatable
2020-10-22 03:22:49 +05:30
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
fcf17fe23a
Show list of apps and their backup status
2020-01-18 16:38:55 -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
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
3f73119b52
Show restore data progress bar and improve readability of log messages
2020-01-14 07:45:40 -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
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
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
cf86c57760
Merge pull request #52 from grote/about-page
...
Add About page
2019-12-07 15:13:01 -05:00
Torsten Grote
88a250ff5c
Use separate dev config and document existing config
...
Attention: This also changes the action to launch restore activity
2019-12-06 12:33:50 -03:00
Torsten Grote
49ce4b393f
Add a configurable white-list for backup storage
2019-12-06 12:21:49 -03:00
Torsten Grote
3093e3a789
Add About DialogFragment reachable from main overflow menu
2019-12-06 09:31:48 -03:00
Steve Soltys
32f558faf1
Rebrand application as 'Seedvault'
2019-10-28 21:57:47 -04:00
Torsten Grote
c9a29810fc
Remove unused code and resources
2019-09-25 11:04:24 -03:00
Torsten Grote
007dd7759d
Save the time of the last backup and only do automatic flash drive backups once a day
...
This commit also turns SettingsManager into a class, so we can mock
and later also inject it.
2019-09-23 10:10:27 -03:00
Torsten Grote
0e5f9cff0f
Remove the progress bar for restore operation as progress reporting is bugyy
...
This also adds an additional warning when the user is using ejectable storage
2019-09-18 09:26:32 -03:00
Torsten Grote
55d92aec39
Adapt UI and text to the different use-cases (backup vs. restore)
2019-09-17 15:48:59 -03:00
Torsten Grote
10ad6d6b2d
Improve error message when no backups could be found for restore
2019-09-17 12:14:53 -03:00
Torsten Grote
54ad762eb1
Save more information about current storage location
...
Show storage name in settings
2019-09-17 12:14:53 -03:00
Torsten Grote
4efaa08881
Show notification right away when requesting manual backup
2019-09-17 12:14:53 -03:00
Torsten Grote
6d8178f6b1
Use the MANAGE_DOCUMENTS permission to show possible storage locations
...
This also auto-grants the needed Uri permission,
so the user does not need to go through the OS folder selection activity.
2019-09-17 12:14:51 -03:00
Torsten Grote
9cede639f3
When restoring, ask for location first and then restore code
...
This also checks if there's a backup at the chosen location
and requires the user to select another once,
if we can not find a backup.
2019-09-11 17:26:03 -03:00
Torsten Grote
1a7fdfa59a
Implement restoring of backup and show progress in UI
...
Note that the progress view is not exact as the progress reporting of
AOSP seems to be buggy.
2019-09-10 13:35:58 -03:00
Torsten Grote
491789e8e0
Add a RestoreActivity that lists available RestoreSets (backups)
...
and allows the user to select one to get restored.
2019-09-10 13:35:57 -03:00
Torsten Grote
c714a4e7e1
Show error notification when backup fails
...
The implementation is rudimentary for now.
E.g. The notification is only shown when a device init fails
which seems to be triggered after the first failure.
2019-09-02 17:07:21 -03:00
Torsten Grote
2685f2b48a
Don't show rejected packages (usually 0 size) as failed
...
Also change notification ID to not collide with Nextcloud's ID.
2019-09-02 09:47:52 -03:00
Torsten Grote
2ce625ac87
Huge refactoring of backup transport
...
* to get rid of global state
* to have a testable architecture
* to allow for authenticated encryption
* to have a backup format version
* to potentially allow for other storage plugins
2019-09-02 09:47:49 -03:00
Torsten Grote
87b25aa4ec
Re-implement manual backup run and show notification during manual backups
2019-07-09 10:41:58 +02:00
Torsten Grote
4c79d41963
Show Backup Location screen before letting user choose backup folder
...
This screen can also be reached by tapping the previously inactive backup location setting.
2019-07-09 10:25:30 +02:00
Torsten Grote
66c0919eb5
Let user write down recovery code on first start
2019-07-08 13:21:32 +02:00
Torsten Grote
b983414295
Add custom settings UI
2019-07-03 12:46:55 +02:00
Torsten Grote
2f2fba8305
Pre-select all packages and give option to unselect all
2019-06-14 16:33:04 -03:00
Torsten Grote
b8e9e60666
Add a button to change the backup storage location
2019-06-04 16:54:46 -04:00
Torsten Grote
2434fe30f4
Several small nitpicks and fixes
2019-06-04 09:04:25 -03:00
Steve Soltys
03c92efc24
Add initialization message to loading popup window
2019-02-22 01:05:55 -05:00
Steve Soltys
023750be6e
Add loading popup when fetching packages for backup or restore
2019-02-21 22:41:54 -05:00
Steve Soltys
656b7702e0
Allow user to select all packages during backup and restore
2019-02-11 22:07:57 -05:00