Andreas
86016de6cb
Recreate Backup worker with IS_AUTO_BACKUP_KEY flag ( #6742 )
...
* Recreate Backup worker with IS_AUTO_BACKUP_KEY flag
* Extra safety net to not delete backup folder
2022-03-06 08:36:47 -05:00
arkon
d06984e3a3
Use same name for manual backup job tag and work name
2022-03-05 09:49:21 -05:00
Ivan Iskandar
d53bb4c337
Use existing worker for manual backup creation ( #6718 )
...
* Use existing worker for manual backup creation
This will show the "creating backup" notification when auto backup is
running. Complete or error notification will continue to be shown only on
manual job.
* Make sure disabling auto backup don't cancel running manual backup job
2022-03-03 22:15:49 -05:00
啊o额iu鱼
6f5328f663
Fix corrupted backup file, fix #6424 ( #6691 )
...
Reappear stably on the api30 Android Studio Emulator,
first save a large backup file,
then save a small backup file, overwriting the previous larger backup file,
so you get a backup file with a larger size but only the first part is meaningful,
2022-02-23 09:12:24 -05:00
arkon
b459234ddc
Try to show more relevant exception messages when failing to restore a backup
2022-01-26 22:43:27 -05:00
arkon
76d2c676fd
Discard backup file if it fails to be created properly (e.g. fails validation)
2022-01-26 22:32:06 -05:00
arkon
d5015d37e1
Show error toast if empty URI is passed when trying to create/restore a backup
2022-01-26 22:31:28 -05:00
arkon
1b71e4cee7
Write job failure exceptions to error log
2022-01-26 22:21:01 -05:00
arkon
4f56071786
Validate backup during creation
2021-10-28 22:40:53 -04:00
arkon
9352e249ee
Make tapping library update and backup restore error notifications open log
2021-10-18 09:58:35 -04:00
Ivan Iskandar
2e127dff1f
Replace Timber with Square Logcat and make logging configurable ( #6062 )
...
* Replace Timber with Square Logcat
* Configurable logger
2021-10-07 22:12:55 -04:00
Jace
9a7a03e327
Change ProtoNumber of Backup Models for History and Source to a non-zero digit ( #5849 )
...
* Change ProtoNumber of Backup Models for History and Source to non-zero
Changed BackupHistory url and BackupSource name properties
* Provide backwards compatibility to current proto backups
- Added data class for zero-based protoNumber
- Restore both 'new' proto and old ones by mapping old to 'new' proto format
- Thanks to @jobobby04 for providing the initial solution.
* Fix on createBackup missing parameter for brokenSource
* Fix issues on build
* Fix missing import on FullBackupRestore
2021-09-11 18:10:10 -04:00
arkon
e942b8a402
Read from streams for local source manga details and legacy backups
2021-09-06 11:54:00 -04:00
Gauthier
2cd8733212
change Track.last_chapter_read to Float ( #5802 )
...
each TrackService can convert it to Int if decimal chapters are not supported
2021-08-28 10:37:45 -04:00
arkon
07de367476
Revert "Set background job expedited policies"
...
This reverts commit c69420373a .
Caused crashes in TachiyomiSY for some reason. Will have to redo this once we target Android 12.
2021-06-09 17:11:23 -04:00
arkon
71d225c562
Address some build warnings
2021-06-05 17:49:20 -04:00
jobobby04
597cec3064
Legacy backup conversion to Kotlin Serialization ( #5282 )
...
* Legacy backup conversion to Kotlin Serialization
* Fix BackupTest compiling
2021-06-04 18:50:22 -04:00
arkon
c69420373a
Set background job expedited policies
2021-06-02 22:58:03 -04:00
Ivan Iskandar
ef8a87a30f
Bump compileSdk to 30 ( #5140 )
2021-05-22 14:48:27 -04:00
arkon
5e37f72d74
Remove legacy backup creation
2021-05-17 11:41:12 -04:00
Andreas
0fef546a0d
Add manga-wised rotation mode settings ( #4841 )
...
* Add manga-wised rotation mode settings
Based on #3522
Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com >
* Fix small mistakes
* Complete TODOs
* Rename functions
rotation -> orientation
* Fix orientation icon not changing
Bug from video
* Fix bug with force portrait not being force if a default value
Bug from video
* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash
* Make viewer_flags nullable so old backups viewer gets restored
* Add migration for old rotation and viewer to new defaults ones
* Rename variable in enums
* Fix migration after OrientationType was changed
* Remove untrue comment
Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com >
2021-04-28 08:32:47 -04:00
arkon
a82e5f5452
Make library update/backup error log action clearer for non-technical users
2021-04-11 16:19:56 -04:00
arkon
ff36901007
Don't repeatedly vibrate/make sounds on download progress
2021-04-01 12:18:54 -04:00
arkon
4a5bceb4e4
Fix offline restore ignoring manga from not installed sources ( fixes #4679 )
2021-03-20 10:03:13 -04:00
arkon
94f5117941
Remove online protobuf backup restore option
2021-03-13 18:45:22 -05:00
arkon
aded11e599
Make backup restoring logic more sequential
2021-02-12 12:27:40 -05:00
arkon
41d7cee020
Remove ExperimentalSerializationApi opt-in annotations
2021-02-12 12:27:40 -05:00
arkon
9facb51f22
Add action to directly share crash log file from notification
2021-02-07 23:05:13 -05:00
Jobobby04
9f9f9872eb
Fix legacy backups
...
(cherry picked from commit ded58541f5903c109b70799683829e26018d2af6)
2021-02-07 22:33:07 -05:00
arkon
bbee093c63
Remove some logic around old legacy backup versions + minor optimizations
2021-02-06 12:15:34 -05:00
arkon
2e9ef373f3
Minor optimizations for restoring full backups
...
Based on https://github.com/jobobby04/TachiyomiSY/commit/fc6d9aaf519ce8830d3b45fd704b32e37f3f786f
2021-02-06 09:32:00 -05:00
arkon
0a54901eb0
Refactor tracker name strings
2021-01-24 16:06:28 -05:00
arkon
a93c0577ac
Minor cleanup
2021-01-24 11:04:25 -05:00
arkon
cf7ec6aa76
Use proper method to clear notification actions
2021-01-21 18:21:21 -05:00
arkon
0cd551d4fd
Revert removal of tracker start/end date
2021-01-16 15:48:20 -05:00
arkon
c9cf9cfff0
More coroutine tweaks
2021-01-10 11:01:10 -05:00
arkon
990fb22d3e
Remove usage of RxJava from backup/restore
2021-01-04 15:30:05 -05:00
arkon
2d0a5eb02c
Convert more TrackService methods to coroutines
2021-01-03 23:33:21 -05:00
arkon
54dc01253d
Replace usages of fetchChapterList with 1.x getChapterList API
2021-01-01 19:19:11 -05:00
arkon
4db9a90da2
Replace usages of fetchMangaDetails with 1.x getMangaDetails API
2021-01-01 19:08:12 -05:00
arkon
3bb2102eb4
Include source name in backup restore error logs ( closes #4230 )
2021-01-01 16:43:32 -05:00
arkon
6e7fefb8b2
Strip out no longer used tracker start/end date code
...
Unfortunately MAL was the only one that supported it in the app, but the official API doesn't support it, so now no trackers have it.
2020-12-18 23:31:28 -05:00
arkon
e8627800fe
Remove bundled fallback file picker
2020-12-13 12:42:10 -05:00
Taco
c2b8fea291
Update libraries, some lints ( #4099 )
...
* Update some plugins
* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
arkon
c8316c7254
Move NSFW source setting into Browse settings
2020-11-28 12:43:17 -05:00
arkon
6b9180844d
Fall back to filename in backup creation notification if path not available
2020-11-27 21:38:26 -05:00
arkon
368c30a2cc
More restore code cleanup, remove some SY-specific logic
2020-11-22 12:43:23 -05:00
arkon
781971ee81
Set preview/experimental compiler flags instead of using annotations
2020-11-22 11:43:16 -05:00
arkon
cf6c48744a
Some more code cleanup
2020-11-21 15:30:04 -05:00
arkon
858664bfd7
Some more code cleanup
2020-11-21 15:09:56 -05:00