* 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>
* Make a protobuf based backup system
* Cleanup
* More cleanup
* Fix restores always loading the full backup restore, even when legacy restore was used
* Make offline the default
(cherry picked from commit f6fd8a8ddb90869f3e28fd8fcd81a2125f8e0527)
* Find chapter based on the url
(cherry picked from commit 326dc2700944a60da381d82cd9782c5f0d335902)
* Dont break after finding one chapter
(cherry picked from commit f91d1af37398619cf371e4920b60f6d309799c74)
* Also apply changes to online restore
(cherry picked from commit e7c16cd0d14ea5d50ce4a9a3dfa8ca768be702f2)
* Rewrite backup categories
(cherry picked from commit f4200e2146a9c540675767206ed4664894aa1216)
* Dedupe some code, move over read and bookmarks properly
(cherry picked from commit d9ce86aca66945c831670a1523d8bc69966312df)
* Move some functions to the abstract backup manager
(cherry picked from commit b0c658741a2f506bc31823f1f0347772bc119d2e)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupManager.kt
# app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt
* Fix some backup duplication issues
(cherry picked from commit a4a1c2827c4537d2d07a0cb589dc1c3be1d65185)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt
* Fix a missed bundleOf
* So glad this wasnt merged before now, everything should be working with this commit