To be included in extension-lib 1.3 (or whatever it's going to be). This applies to sources like Komga or Lanragi, where large numbers of update/download aren't of concern since they're (usually) self-hosted.
(cherry picked from commit 3ea3b0bf2ecc3f74a790af2012dd4f4a6b2ab3f7)
* fix local source cover changing
* Remove unnecessary check for `exists()`
* fix for when there is no thumbnail_url in the db
(cherry picked from commit 10ddeeb7999214f1ed2fa579dadab7e9e379c1a6)
getCoverFile only returns a cover if it already exists, meaning
the block of code to write it from the inputstream never executes.
If getCoverFile returns null, then use previous behaviour of setting
it to cover.jpg so that if the file doesn't exist it's created
(cherry picked from commit f0a5557e603e31a53117c40426237d2340142bc2)
* group LocalSource and Other lang source together
* use better kotlin syntactic sugar
* add lang "other" to local
* remove duplicate LocalSource entries in Browse
* linting
* revert unnecessary linting
was a manually adding change
* Revert previous two commit but not the most recent
This reverts commit 30250f2f82fc5e38a1b30c7b55c445efec23a114
This also reversts commit 359ed5a8cda91577216b593a4138280e971e0126
* better way to avoid duplicate Local Sources
* more linting by plugin
* `""` lang is no longer used anywhere
(cherry picked from commit 2d1404d15523484d5f900ae3808c7f31058c2a8c)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourcePresenter.kt
* Add TachiyomiImageDecoder for Coil
Is currently used to decode AVIF and JPEG XL images.
* LocalSource: Check against file name for cover
This allows file with all supported formats to be set as cover
* TachiyomiImageDecoder: Handle HEIF on Android 7 and older
(cherry picked from commit 1ef77225040842af778282168e6fb8b11c339eeb)
* Fill manga and chapter metadata with EPUB metadata where appropriate.
* Use fuzzy-match to remove manga titles from chapter names.
This allows removing manga titles from the metadata title of local EPUB chapters with characters that can't be in the manga directory's name due to filesystem limitations.
* Use more standard way of parsing EPUB dates.
* Use date format compatible with lower Android versions for EPUBs.
* Delete old reader
* Add utility methods
* Update dependencies
* Add new reader
* Update tracking services. Extract transition strings into resources
* Restore delete read chapters
* Documentation and some minor changes
* Remove content providers for compressed files, they are not needed anymore
* Update subsampling. New changes allow to parse magic numbers and decode tiles with a single stream. Drop support for custom image decoders. Other minor fixes