Commit graph

4840 commits

Author SHA1 Message Date
E3FxGaming
2a39a9105e Fix Cover sharing and saving (#5335)
* Fix Cover sharing and saving

The newly added manga cover sharing only worked with manga saved to the library (due to the implemented CoverCache only recording covers of library manga).
The changes made with this commit fixes that behaviour by implementing a fallback: the cover can now also be retrieved from the Coil memoryCache.

* Removal of coil MemoryKey usage

No longer uses the coil memory key, instead starts a new Coil request for the cover retrieval.

* Removed try-/catch-wrapper and added context-passing

useCoverAsBitmap lost its try-/catch-wrapper and doesn't call for the context anymore.
Instead shareCover and saveCover now pass their activity as context to useCoverAsBitmap.

* Added missing parameter description for useCoverAsBitmap

(cherry picked from commit fcd6fe5d8a132c1f3773e23777d93b4d73e063ce)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-07-22 15:34:28 -04:00
arkon
5e89c1c11c Require Komga to be installed when attempting to setup tracker (closes #5491)
(cherry picked from commit a69a8337169798710f9e0cd7072b3fd3be4a5917)
2021-07-22 15:32:43 -04:00
arkon
4bad159174 Warn on backup creation for MIUI users
(cherry picked from commit 697b082591987756dfe197b4ac23c14e8d6cd9e7)
2021-07-22 15:32:35 -04:00
Jobobby04
fda6458821 Implement manga dir rename 2021-07-21 13:56:30 -04:00
Jobobby04
e4debc89f0 Cleanup 2021-07-19 21:34:35 -04:00
Jobobby04
afa267f88b Remove old strings 2021-07-18 22:14:28 -04:00
Jobobby04
e2a81b1f0c Support new tracking feature in MDList 2021-07-18 22:04:21 -04:00
Ivan Iskandar
699490685f Add Dynamic theme for Android 12 (#5569)
* Add Dynamic theme for Android 12

* Also theme text colors

(cherry picked from commit b2d58e04d262ef30e9232c46e917d45e6dc34c8d)
2021-07-18 22:02:54 -04:00
arkon
3fb7140587 Put Komga tracker in separate group
(cherry picked from commit 8bfc5f045084ff06ba36460fdee1fcd26fa10a93)
2021-07-18 22:02:47 -04:00
arkon
d0b2f6eaec Update detection of disabled MIUI Optimization
(cherry picked from commit a252a8acee8c26ce8ca39f1ae8758d5ed2af0c8e)
2021-07-18 22:02:38 -04:00
Andreas
dd25cd04c1 Add support for start/end fields for Kitsu (#5573)
(cherry picked from commit 447ee4bd09b7e8a2e9cafa5149d825f36f4058aa)
2021-07-18 22:02:31 -04:00
Jozef Hollý
1696e90eeb Weblate translations (#5276)
Co-authored-by: Aagaman Luitel <aagaman@disroot.org>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: Cypral <cypral@hotmail.fr>
Co-authored-by: Daniele Tricoli <eriol@mornie.org>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Edmerson Pizarra <edmerpizarra@gmail.com>
Co-authored-by: Elosy <gaudic99@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Fellow Turkish <f3ll0wm4il3r_12@protonmail.com>
Co-authored-by: HeavenShadow <heavenshadow@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jarel Sawangin <jarelsawangin18@gmail.com>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Khane Mcdaddy <kumakichi.houtarou@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Laurant Marijnissen <laurant@gigafyde.dev>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Mubarek Seyd Juhar <mubareksd@gmail.com>
Co-authored-by: Mubarek Seyd Juhar <mubareksej@gmail.com>
Co-authored-by: Neo <ohmaytt@naver.com>
Co-authored-by: Norbert Kovács <kovinor123@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shashank Pujari <shashankppujari@gmail.com>
Co-authored-by: Shippo <shiposhouyou@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Silvio Pastore <silvioppastore@gmail.com>
Co-authored-by: Techeira Damián <damian.techeira@mercadolibre.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
Co-authored-by: 殺Mustafa <mustafasheref8@gmail.com>
Co-authored-by: 莊景翔 <sean1781031@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es_419/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/kn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ne/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ti/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/
Translation: Tachiyomi/Tachiyomi 0.x

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Aagaman Luitel <aagaman@disroot.org>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: Cypral <cypral@hotmail.fr>
Co-authored-by: Daniele Tricoli <eriol@mornie.org>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Edmerson Pizarra <edmerpizarra@gmail.com>
Co-authored-by: Elosy <gaudic99@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Fellow Turkish <f3ll0wm4il3r_12@protonmail.com>
Co-authored-by: HeavenShadow <heavenshadow@outlook.com>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jarel Sawangin <jarelsawangin18@gmail.com>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Khane Mcdaddy <kumakichi.houtarou@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Laurant Marijnissen <laurant@gigafyde.dev>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Mubarek Seyd Juhar <mubareksd@gmail.com>
Co-authored-by: Mubarek Seyd Juhar <mubareksej@gmail.com>
Co-authored-by: Neo <ohmaytt@naver.com>
Co-authored-by: Norbert Kovács <kovinor123@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shashank Pujari <shashankppujari@gmail.com>
Co-authored-by: Shippo <shiposhouyou@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Silvio Pastore <silvioppastore@gmail.com>
Co-authored-by: Techeira Damián <damian.techeira@mercadolibre.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
Co-authored-by: 殺Mustafa <mustafasheref8@gmail.com>
Co-authored-by: 莊景翔 <sean1781031@gmail.com>
(cherry picked from commit 3cd6382795ad2fb8714cf7fcb5ef33530b99c14c)
2021-07-18 22:02:21 -04:00
arkon
6f73261e21 Add link to Don't Kill My App! in advanced settings
(cherry picked from commit 5d1134dfa8918d045504f393a0286c78b6e91556)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-07-18 22:02:00 -04:00
Ivan Iskandar
f2bd785c57 Fix splash screen icon on Android 12 (#5565)
* Use Core Splashscreen for splashscreen stuff

* Keep splash screen until activity ready

Ready as in the data inside starting screen is finished showing

* Use custom splash screen exit animation on older android version

* Add splash screen minimum duration to prevent exit jank

* Fix broken AMOLED theme

* Improvements

(cherry picked from commit 05e7b0dc22dbd9d180e3410fdfa8c3fa1759e57d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/res/drawable/ic_tachi_splash.xml
2021-07-18 22:01:04 -04:00
Andreas
ec7f70e71c Make default tracking status depend if the user has read chapter or not (#5567)
- When user reads a chapter change tracking status to reading

(cherry picked from commit c0647c311002e66c54c3f85d1d075cd216124c86)
2021-07-18 20:21:25 -04:00
Ivan Iskandar
c2f9e4637c Bump compileSdk to 31 (#5563)
(cherry picked from commit ef84ed4982013e6babca3bc62ea6a3fe62a138fe)
2021-07-18 20:20:50 -04:00
Hunter Nickel
6e6d69b6b1 Add cover actions to a dialog when long-pressing manga cover (#5556)
(cherry picked from commit a1e83b9f19844b8590d637f024cb2ee6550f6765)
2021-07-18 20:20:41 -04:00
Soitora
6e45ed3c1d Make incognito bar use primary colors (#5558)
Looks better than the odd forced gray used for all themes

(cherry picked from commit 4ce4ee3c007a500cfb3833b5dda87af812bfd814)
2021-07-18 20:20:33 -04:00
Soitora
a17747e2b4 Added "Tako" theme (#5546)
* Added "Ninomae" theme

Based on the lovely Ninomae Ina'nis, for Arkon and Flat

* Use updated colors from Ghostbear

Adapted after feedback

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Tweak the Ninomae theme further

* Sort themes alphabetically

- Sorts themes alphabetically.
- Use the same capital word system in colors.xml for themes.xml as well.
- Rename AMOLED theme to AMOLED mode in theme.xml and color.xml references.

* More tweaks

* Style incognito bar

Uses a dark purple which looks super clean instead of a washed out gray

This sets the groundwork for other themes too

* Tweak final onPrimary color

* Rename Ninomae to Tako

RIP

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
(cherry picked from commit 0d62aedfbb183fbe7c1a4886ed7505c5ce6c8518)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
2021-07-18 20:20:26 -04:00
Ivan Iskandar
e0b62b9cd1 Don't show navigation overlay if tap navigation is disabled (#5534)
* Don't show navigation overlay if tap navigation is disabled

* Apply feedback

(cherry picked from commit b7c2890250ea8ec4244b939c554bfd0a99c9f799)
2021-07-18 20:19:03 -04:00
Jobobby04
65b6f7df44 Fix build errors because of JSoup update 2021-07-18 20:18:20 -04:00
Jobobby04
cf54851342 Replace material-dialogs with Material Components' SY 2021-07-18 20:17:58 -04:00
Ivan Iskandar
d4993d1b71 Replace material-dialogs usage with Material Components' (#5423)
* Use Material Components' dialogs

For all dialogs that has direct replacement.

* Convert text input dialogs

* Convert quad-state multi choices dialogs

* Convert date picker dialogs

This also changes the flow to remove selected start/finish tracking date and
the track item itself

* Remove material-dialogs dependencies

(cherry picked from commit ae97bb04458c6a754c6e0ca05a2a3b96ce16894f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/WhatsNewDialogController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsDownloadController.kt
2021-07-18 20:15:30 -04:00
arkon
d8054b3f7b Chop long titles in library update notification, fix incrementing when updating covers
(cherry picked from commit 117fd4bd0fe0be3d1f14f8fba736a813332730a0)
2021-07-18 13:10:14 -04:00
FourTOne5
1587923162 Update Libary update notification. (#5545)
* Update LibraryUpdateNotifier.kt

* Update LibraryUpdateService.kt

(cherry picked from commit 1dddba7f251dbda4b935db5f86bd7937fec73fab)
2021-07-18 13:09:56 -04:00
Hunter Nickel
10a927f9d7 Hide the reader seekbar for single-page chapters (#5551)
(cherry picked from commit 7fd75b7501391934d0e966cb4357100303f1ae91)
2021-07-18 13:09:47 -04:00
arkon
051e360793 Update jsoup and Coil
(cherry picked from commit ef9c4576815ded83c8c07e165b73fc9f9ff3d4f3)
2021-07-18 13:08:20 -04:00
Hunter Nickel
a46e62eee3 Hide Start/Resume FAB unless there are unread chapters and during loading (#5458)
* Hide Start/Resume FAB unless there are unread chapters

* Remove dead code, rewrite logic for hiding FAB

(cherry picked from commit a6d4a3b785b2ce922b3f0a058ead66d333ab8d12)
2021-07-18 13:08:13 -04:00
Riztard Lanthorn
290efebf27 fix yin & yang theme (#5535)
refresh arrow color didnt change in dark mode

(cherry picked from commit 2e487f8a3fd2621b6d84a75b913784dee875f6cf)
2021-07-18 13:08:05 -04:00
Ivan Iskandar
05dbfd94e7 Fix incognito mode disabled after URL intent launched (#5533)
(cherry picked from commit 2423a70abd0213a3f675921a4e5b3925bdb9d20f)
2021-07-18 13:07:53 -04:00
Soitora
d34147803c Tweak chip contrast (#5526)
* Set better contrast for chips

* Set custom chip colors for Yin Yang

(cherry picked from commit 13d39fc942c9f32027597b75b09a019d46229fca)
2021-07-18 13:07:43 -04:00
Soitora
640b0f84f7 Optimize the Green Apple theme variant (#5530)
(cherry picked from commit b7547a84585c8c58e64d17a3374ee7ae47900015)
2021-07-18 13:07:34 -04:00
arkon
085358d39c Remove unnecessary DB calls when setting chapter flag defaults
(cherry picked from commit 8931dbb657cfd243a48e537b25d2a8b782a6a982)
2021-07-18 13:07:25 -04:00
arkon
8d88467aa0 Fix Incognito Mode toggle not updating after disabled via notification
(cherry picked from commit 52416ff3a85bd6f17fb12f218398c5c9fd198397)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt
2021-07-18 13:07:16 -04:00
Soitora
ee51813069 Improve Green Apple color in Light theme (#5528)
(cherry picked from commit 3dbfee91f6029442470e429c7299e346be364687)
2021-07-18 13:06:49 -04:00
Jobobby04
2bdead3e5f Cleanup mangadex, hopefully mitigate freezing 2021-07-18 13:06:12 -04:00
Jobobby04
dee3abd0c3 Logout even if the logout response doesnt return ok 2021-07-18 13:05:35 -04:00
Jobobby04
09ea9deb67 Stop excluding Tsumino from library updates 2021-07-12 12:26:41 -04:00
Jobobby04
866c4a77a3 Use a empty title if none is found 2021-07-11 21:24:24 -04:00
Jobobby04
a856ea20b4 Cleanup 2021-07-10 17:33:25 -04:00
Jobobby04
e6cb339ff5 Mangadex fixes 2021-07-10 17:27:21 -04:00
arkon
7377892942 Reword delete chapter settings (closes #5494)
(cherry picked from commit 09d4901781d9cf5beee16172a0ac8d6198e03889)
2021-07-10 17:23:02 -04:00
arkon
b7321ca204 Improving genre search started from the manga page of a popular manga (#4375)
Co-authored-by: E3FxGaming <E3FxGaming@users.noreply.github.com>
(cherry picked from commit 62955e73852ed1ca69a1168c855721076da9fb05)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-07-10 17:22:54 -04:00
Ivan Iskandar
db395f5e37 Support more image formats for covers (#5524)
* 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)
2021-07-10 17:18:50 -04:00
arkon
7891b4de31 Use jsDelivr as fallback when GitHub can't be reached for extensions list (closes #5517)
(cherry picked from commit 24bb2f02dce135e0ceb2856618ecfc0e30dce875)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
2021-07-10 17:18:37 -04:00
arkon
15707d933a Use fade transactions when handling shortcuts
(cherry picked from commit 627698d81fe9559ae23acfe3aec492bacfe1eceb)
2021-07-10 15:48:10 -04:00
arkon
6516a4285f Add warning for MIUI users when trying to restore backups with MIUI Optimization disabled
(cherry picked from commit d4c8480dee8bb26ec7ea34f0744534e585a3f685)
2021-07-10 15:48:01 -04:00
arkon
5a1f09e904 Parallel cover update job
(cherry picked from commit 015e8deb799a652b923649d58f329ad78d69d2b9)
2021-07-09 17:52:45 -04:00
jmir1
a844c636a6 show correct number of items in the library tit... (#5516)
...le, even when all manga are in a category that isn't the default
category.

(cherry picked from commit 8d5f7985915f45bd50ad889707a4049b50400124)
2021-07-09 17:52:37 -04:00
arkon
9ade06c6f7 Update dependencies
(cherry picked from commit 714aa4b4ba4c981bbb8510efdbf0acb5cefd3395)

# Conflicts:
#	app/build.gradle.kts
2021-07-09 17:52:14 -04:00
arkon
b5f4eb79d9 Show all currently updating manga in library update notification
(cherry picked from commit e65f59b3dfdaf776cd101b0e80d049a1ae4cdac8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt
2021-07-08 23:34:28 -04:00
arkon
cec05194eb Update dependencies
(cherry picked from commit 67128937ca61937f2f778342a0c3c2e34750a255)

# Conflicts:
#	app/build.gradle.kts
2021-07-08 23:10:14 -04:00
Riztard Lanthorn
22fd34088f add Yin Yang Theme (#5508)
* add Yin Yang Theme

* change download badge color to yin yang as well

* update string

* fix &

(cherry picked from commit d9ea621e544981062c2a67b8f4bb196cb0da904f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
2021-07-08 23:08:47 -04:00
SBence
04326d17bf Sanitize manga title in page download subfolder name (#5514)
(cherry picked from commit fb35d7af59d3f5ed89506b5ac70c07669b00ef44)
2021-07-08 23:05:29 -04:00
Jobobby04
4e8142b5b8 Cleanup library update a bit 2021-07-08 23:05:08 -04:00
Jobobby04
a29ddaaf1c Add debug function to reset viewer for all manga 2021-07-07 20:53:52 -04:00
Andreas
102811f781 Make Automatic Reader Theme pick background/text color based on dark mode preference (#5505)
* Make Automatic Reader Theme pick background/text color based on theme

* Use extension method

(cherry picked from commit c254aa6fcc511eb572f8337a776e4d9cee0cfe8e)
2021-07-07 20:37:26 -04:00
Jobobby04
b49c64d4ff Cleanup 2021-07-07 20:37:14 -04:00
Ivan Iskandar
52b748d935 Simplify locale override (#5509)
(cherry picked from commit 37d30eb887d0580fc98eb6a6fd5d6a08bc585721)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
2021-07-07 20:37:02 -04:00
w
4d95306cd9 Update image decoder to add JPEG XL support (#5512)
(cherry picked from commit 49cdcc644c974a8b8bee4977def4af6d28d0bded)
2021-07-07 20:24:08 -04:00
arkon
811be77144 Fix chapter source order not working correctly and allow refresh to update source order
Based on 00f916a4f0

Co-authored-by: CarlosEsco <CarlosEsco@users.noreply.github.com>
(cherry picked from commit 07e5525c7433914f8e4b7dad03eb3081e622df48)
2021-07-07 20:24:00 -04:00
arkon
6323306693 Only update in-library manga chapter settings instead of all
(cherry picked from commit 776194f5b27c1e37023efe61b6893a8874ab75e5)
2021-07-07 20:23:48 -04:00
arkon
c2b07717fc Sanitize spaces when setting URLs without domain
It throws an URISyntaxException otherwise.

(cherry picked from commit ed80ee98a7ebf0b3a546a6269f06f375d4ec4270)
2021-07-07 20:23:42 -04:00
Jobobby04
aaad902d6a Fix filter theme 2021-07-07 16:00:34 -04:00
Jobobby04
bfb018d1b4 Fix migration menu icons 2021-07-06 17:08:50 -04:00
Jobobby04
211e0912a3 Fix intercept activity toolbar 2021-07-06 17:01:52 -04:00
Jobobby04
d788585d14 ReImplement Mangadex deeplink 2021-07-06 16:58:09 -04:00
Jobobby04
90654dc027 Fix page reporting 2021-07-06 15:28:32 -04:00
arkon
183da5cc84 Resource cleanup post-theme removal
(cherry picked from commit 040bac3da2a215802ebad02f8e6a418bb200cb9c)
2021-07-05 18:43:55 -04:00
arkon
693b57b14c Add DARK_BLUE enum value back to avoid crash
(cherry picked from commit 9df721d1586b06ce59321a15dadb7a4f0a65bce1)
2021-07-05 18:43:48 -04:00
arkon
243f6b3851 Update dependencies
(cherry picked from commit ba0907ae594f4f1fc8390d12afa44ed3878fc48a)

# Conflicts:
#	app/build.gradle.kts
2021-07-05 18:43:39 -04:00
arkon
988249b177 Remove Hot Pink theme
The old AMOLED Hot Pink theme is pretty close to what Midnight Dusk + AMOLED is now.

(cherry picked from commit e9dce32a9820e829b1caa1957d2ec1ab9cc9f3c6)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
2021-07-05 18:42:30 -04:00
arkon
e6a4d1e2b4 Rename "Dark Blue" theme to "Blue"
(cherry picked from commit 535cc0d81e03380d6e0e87d7be751a04c2a12aa4)
2021-07-05 18:41:17 -04:00
Jobobby04
20d8cf6c10 Update Mangadex 2021-07-05 18:31:30 -04:00
Jobobby04
efba76380a Reader cleanup 2021-07-04 17:14:21 -04:00
Jays2Kings
60f1c6a2b4 Fixed double page layout showing pages from other chapters
(cherry picked from commit 8ac340eff0451e59a1fdfeb3577c38db5eb7da00)
2021-07-04 17:14:20 -04:00
Jobobby04
f9ba8b0072 Fix reader toolbar insets 2021-07-04 14:59:24 -04:00
Jobobby04
2173a83196 Fix E-Hentai browse images being compressed 2021-07-04 14:53:52 -04:00
Jobobby04
ad04fab21a Always show mark as read 2021-07-04 14:49:55 -04:00
Jobobby04
74c94b9879 Small reader fixes 2021-07-04 14:49:41 -04:00
Jobobby04
3bdd508a81 Only show mark as read and mark as unread in library if there is room 2021-07-04 14:00:38 -04:00
Jobobby04
c9438d55e0 Fix words dissapearing 2021-07-03 22:49:12 -04:00
Jobobby04
33c48412be Multiple bugfixes for the reader, includes double page and chapter buttons 2021-07-03 22:37:25 -04:00
Jobobby04
a6cf6ffca8 Reorganize the code in the reader 2021-07-03 20:05:22 -04:00
Jobobby04
7d09c4da0d Use the Main Executor to schedule the EH Updater 2021-07-03 19:29:46 -04:00
arkon
b71694fb54 Update to Conductor 3.0.0
(cherry picked from commit 01a1a9ebab09bb81fcb35412b171be794bfb91bf)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchController.kt
2021-07-03 19:08:00 -04:00
arkon
6daa93fd24 Fix category selected state
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
(cherry picked from commit 438bad964914ae73736a2ca6f7506d1131692a08)
2021-07-03 18:59:27 -04:00
arkon
3ee68f5127 Fix some views being click-through-able
(cherry picked from commit fe3b36caebda84ab61753f32d5f112f1c7c12654)
2021-07-03 18:59:20 -04:00
Ivan Iskandar
30f478ea80 Track search dialog adjustments (#5479)
* Add clear text button to track search dialog text input

* Track search item adjustments

(cherry picked from commit 64b1c9636b5d3f463754a5d0bf84366cee1cd078)
2021-07-03 18:59:03 -04:00
FourTOne5
c4374240e8 Sort Installed, Update, Untrusted Extenion by Name in Extensions Tab (#5486)
* Update ExtensionPresenter.kt

* Update ExtensionPresenter.kt

* Update ExtensionPresenter.kt

(cherry picked from commit db0c1b26341582020abd6f0e1142c7763adb02b1)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionPresenter.kt
2021-07-03 18:58:50 -04:00
arkon
dc6906250d Use current locale when sorting library "alphabetically" (closes #5281)
This _should_ handle things like Chinese that aren't actually alphabetical.

(cherry picked from commit 568c4d8c8e67f681002a1f9bb1e9500ad2cd592c)
2021-07-03 18:57:25 -04:00
arkon
e480001585 Update dependencies
(cherry picked from commit d645507eeb07cdcf7072778a2234bbb0f454a171)
2021-07-03 18:57:18 -04:00
arkon
3df4389fc4 Update delete history icon (closes #5482)
(cherry picked from commit 3548112ab2f898c43dc6dcc55296cd7455b0c662)
2021-07-03 18:57:09 -04:00
arkon
aa23de77bc Remove en-GB option since we don't actually localize different English locales
(cherry picked from commit 0cb042cd93d5bd2ad249a71af7d7bf87da5a6a89)

# Conflicts:
#	app/build.gradle.kts
2021-07-03 18:56:53 -04:00
Ivan Iskandar
ad2bbd0e3c Merge light and dark themes (#5470)
* Merge AMOLED and regular dark themes

This allows all variants of dark themes to use black backgrounds as a
separate preference.

* Merge light and dark themes

* Fix ReaderSeekBar color on Dark Blue theme

* Color fixes

* Fix Dark Blue bars ripple

* Simplify night mode check

(cherry picked from commit 0eadc028b6f9daf38cae083cfdc2ff44a1836623)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
2021-07-03 18:55:12 -04:00
stinky-lizard
0e636d68c4 Imported implementation for updating library by next expected update from Neko (#5436)
* Imported implementation for updating library by next expected update from Neko. This sort uses the last 4 updates for a manga to compute an average time between updates and then extrapolates when the next update should occur.

Currently seems to work perfectly. However, I may have silently messed something up along the way.

All code and algorithms are credited to kyjibo on GitHub. The original commit adding this functionality is here: 681003926a

* Imported implementation for updating library by next expected update from Neko. This sort uses the last 4 updates for a manga to compute an average time between updates and then extrapolates when the next update should occur.

Currently seems to work perfectly. However, I may have silently messed something up along the way.

All code and algorithms are credited to kyjibo on GitHub. The original commit adding this functionality is here: 681003926a

* Remove commented-out line from LibraryUpdateRanker

I missed removing this when first committing. The removed line is a holdover from Neko, which requires 7+, but I removed the function that requires this.

(cherry picked from commit 70ed49e4782579d6ce2e91ace75ef44f8460a64a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/MangaQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/tables/MangaTable.kt
2021-07-03 18:22:38 -04:00
Andreas
e59789f777 Change wording for "Per-category display setting" (#5484)
(cherry picked from commit 3c67a36b60ce8db4bc188c49aa6da9c7b73444e8)
2021-07-03 18:14:07 -04:00
Jobobby04
69d762c131 Support WorkManager items in the debug list scheduled jobs option 2021-07-02 17:51:02 -04:00
Jobobby04
e9e3340c08 Convert EH Gallery Updater from a JobService to WorkManager 2021-07-02 17:50:22 -04:00
Jobobby04
60f9391b4e Cleanup 2021-06-29 19:00:34 -04:00
Eugene
56f4b1f224
[Translation]RU (#364)
* [Translation]RU

* more intuitive "zoom out" mode
2021-06-29 00:07:11 -04:00
simakover
c123df4637
Add Migrate button marginTop and implement Hide not found manga for mass migration (#372)
* Add Migrate button marginTop and implement Hide not found manga in mass migration

* if else change

* move variable to adapter

* horizontal scroll view for checkboxes in migration_bottom_sheet.xml
2021-06-29 00:06:55 -04:00
Jobobby04
1cf48b3ab7 Update crashlytics 2021-06-29 00:06:12 -04:00
Jobobby04
ee73c0e282 Fix crashing library 2021-06-29 00:05:49 -04:00
Ivan Iskandar
b7b1175207 Tracking sheet and search adjustments (#5427)
* Tracking sheet and search visual adjustments

* Remove track item divider

* Add start margin to "add tracking" button

* Fix track search dialog crash when no item chosen

* Show "remove" action only when track item is previously set

* Remove placeholder for total chapters

* Cleanups

* Add track search error/empty result message

* Make track search dialog fullscreen

* Use AutofitRecyclerView for track search dialog

* Fix text input overlapping

* Run track search from IME action instead

* Remove deprecated method

* Reformat

* Set track search error message on the placeholder

* Use payload to notify track search item change

* Fix track search action icon tint color

(cherry picked from commit cb71d44024816780ba7e0110099a766bdc47f74a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
#	app/src/main/res/values/styles.xml
2021-06-28 14:38:36 -04:00
curche
9903a6bde8 Extend library search by adding -<source> option (#5387)
* extend library search to enable -<source> search

library search already allows for <source> search to select manga from a
particular source. Similarly, -<source> allows to search for manga that
aren't from the said source. TachiyomiSy has this feature but it heavily
depends on exh methods

A problem when you directly add a negation check is that although
it will work, the genre search kicks in adds back every manga since
-<source> returns true for all genres of a manga

Thus, the solution I decided on was do source search first, and then
move to genre check when it fails. A perhaps useful addition is that,
now you're able to search like this:
 <genre1>, -<source>, -<genre2>

* make if-else statements more readable

* refactor containsSourceOrGenre() using `when`

* add comment describing the function

* remove lazy

not really required anymore now that containsSourceOrGenre was rewritten
using `when`

(cherry picked from commit 7e3ea9074c65297177746182a5dfffb5e884c456)
2021-06-28 14:24:37 -04:00
Ivan Iskandar
da0b4bb94a Reader fixes after #5450 (#5465)
* Fix ReaderActivity system bars behavior

* Fix ReaderActivity transition view text color

* Don't change reader navbar color when windowLightNavigationBar is not available

(cherry picked from commit e2cf15785766f5a386c536154d055e18970adfac)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-06-28 14:23:47 -04:00
Jobobby04
99042352fb Protect against a random library crash 2021-06-28 01:22:18 -04:00
Jobobby04
a132435967 Fix flashing library 2021-06-28 01:10:01 -04:00
Jobobby04
417c345946 Fix manga info 2021-06-28 00:16:22 -04:00
Andreas
6f6e6ad326 Sort per category (#5408)
* Add flags for sorting per category

* Add logic to LibrarySettingsSheet

* Add  logic to LibraryPresenter

* Minor tweaks

* Use enum instead of variables

Also deprecates LibrarySort in favour of the new enum classes

* Remove debug log and suppress deprecation

* Convert DisplayMode setting to enum

Also fix bug were adapter would get de-synced with the current per category setting

* Fix migration crashing app due to values being access before migration

(cherry picked from commit 60890147c3c24ac30a75bfb8c4fab7b8cccd60be)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/data/database/models/Category.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-06-26 22:41:34 -04:00
Ivan Iskandar
32e7750b7d Match ReaderActivity theme with the rest of the app (#5450)
* Match ReaderActivity theme with the rest of the app

* Fix viewer inset when fullscreen reader is off

* Fix incorrect toolbar color after recreate

* Remove animated inset

* Move isDarkMode to PreferencesHelper

(cherry picked from commit 64c95305b9831762cc0be72f7ab47b006da07fa8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/res/layout/reader_activity.xml
2021-06-26 22:38:56 -04:00
Soitora
2975acd8db Add favorited badge to browse and search (#5440)
(cherry picked from commit 88fd799a3069ac28dd667e84383662a103c0c12a)
2021-06-26 22:38:55 -04:00
inorichi
fe51ad5d4b Update image decoder with better AVIF support
(cherry picked from commit ef937f277e747dceba7683f37e07e0615e738766)
2021-06-26 22:38:54 -04:00
Ivan Iskandar
a59168f8b6 Fix issues on older API versions and tablets (#5433)
* Fix tablet's navigation rail and toolbar color

* Fix tracking sheet crash on older APIs

* Fix settings crash on older APIs

(cherry picked from commit c3fb5af3fcbeee4f3579435b832907d8165cb42e)
2021-06-26 22:38:54 -04:00
Ivan Iskandar
f61bbfa77a More themes cleanup (#5410), remove AMOLED Blue
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
(cherry picked from commit 932c92412c29fe4a8d1410d29a6e77557ad48707)

# Conflicts:
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/menu/library_selection.xml
#	app/src/main/res/menu/reader.xml
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/dimens.xml
2021-06-26 22:38:53 -04:00
Riztard Lanthorn
6283754ce5 add start download now (#5386)
* add start download now

download now for selected chapter
from j2k

Co-Authored-By: Jays2Kings <jays@outlook.com>

* change string to action

* move to bottom

* oopsie

Co-authored-by: Jays2Kings <jays@outlook.com>
(cherry picked from commit 05771ddf6dc7cf61540c51ba1c2e1d4008778f64)
2021-06-26 22:38:52 -04:00
Hunter Nickel
ed78bca33e Add AlertDialog styles to Reader themes (#5426)
(cherry picked from commit 848d387ec48bd087e77ef729f7374e1bc14dab29)
2021-06-26 22:38:52 -04:00
jmir1
9e38b5231c Fix crash when opening the MangaController from... (#5419)
...the browse search
null safe cast to TextView because when searching for manga in a source,
the toolbar has no children and
find() returns null.

(cherry picked from commit ac6b4235b9293c032ad9a290347e0e2ded0a36b8)
2021-06-26 22:38:52 -04:00
Ivan Iskandar
4706493057 Fix incorrect toolbar text color after theme change (#5388)
(cherry picked from commit ab73e9807521b722d48d94e57d982f39e37fff03)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-06-26 22:38:51 -04:00
Soitora
18a76c6bc2 Move "Delete sweep" out from overflow (#5392)
Places it as its own icon, having an overflow with only one item doesn't make much sense when that's not the behavior in other parts of the app.

(cherry picked from commit aecdd04e04e701c39bbb4d7976e183fbaa974994)
2021-06-26 22:38:51 -04:00
Jobobby04
104e200b4a Favorites sync show currently processing title after 5 seconds in case of issues 2021-06-26 22:38:50 -04:00
Jobobby04
9af351e0dd Cleanup 2021-06-26 22:38:50 -04:00
arkon
1ddfe956a7 Downgrade WorkManager
Related to #5364

(cherry picked from commit e5cdf74587afe9dde61a7f69d45f101d8ce0a5b8)
2021-06-26 22:38:50 -04:00
Sam-Oak
40efaeafe1
tweak the PT-BR translation (#363) 2021-06-17 09:40:05 -04:00
Jobobby04
2b4cdfaee4 Support autofill for tracker logins 2021-06-13 20:00:53 -04:00
Jobobby04
e2324df0cc Use the same thread for db operations in places where trans are possible 2021-06-13 19:56:17 -04:00
Jobobby04
447ddfd8d5 Support autofill in source login dialog 2021-06-13 16:15:04 -04:00
Jobobby04
96a932264b Use the clear selection function to destroy the action mode 2021-06-13 14:41:14 -04:00
arkon
d04161cc9e Surface exceptions when fetching pages properly (fixes #5377)
(cherry picked from commit 8d25ce732307f2aee41f40a5a3c656458863f0da)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt
2021-06-13 14:36:55 -04:00
Hunter Nickel
03c45f676a Added text to category changing dialog when shown with no categories (#5345)
* Added text to ChangeMangaCategoriesDialog if invoked with empty category list

* Change dialog text, add negative button, and change positive button to open CategoryController

* Tiny bit of code cleanup and reorganizing

(cherry picked from commit 8deca3b63a5a9348933fa8c5fcfaa13bb85311e4)
2021-06-13 14:36:04 -04:00
Zakhar Timoshenko
56fa39387f Added "Yotsuba" theme (#5290)
(cherry picked from commit 9b967177c51a93c5db3fe2079cc6581e5b065970)
2021-06-13 14:35:40 -04:00
Soitora
60704ad3a7 Improvements to the new library item selectors (#5379)
* Increase card selector radius

* Add themed overlay to library selector

(cherry picked from commit 4dfb3cc972de12f3c6eacee0ddd7716a5d28794e)
2021-06-13 14:35:29 -04:00
Jobobby04
e3fd17f550 Fix Mangadex random 2021-06-12 20:00:28 -04:00
Jobobby04
1dcf49200a Saved searches tweaks 2021-06-11 19:51:34 -04:00
Jobobby04
d5638c6204 Cleanup recs 2021-06-10 17:20:54 -04:00
Jobobby04
bf97dce150 Update firebase 2021-06-10 17:20:41 -04:00
Jobobby04
9e80f47e9f Help with favorites sync db locking 2021-06-10 17:20:29 -04:00
Ivan Iskandar
963b85f756 Add background to draggable items (#5353)
(cherry picked from commit 73e5e9ecd9f39af88183eaadc2832e8d8b87063e)
2021-06-10 16:44:58 -04:00
Soitora
fc141cb92a Fix black icon for small notifications on EMUI (#5350)
* Set notification icon fillColor to Android white

Closes #5340

* Remove '_black' suffix from the glasses icon drawable

(cherry picked from commit 653b7ffcd0fa5213668096059b43766f8ad8ed59)

# Conflicts:
#	app/src/main/res/drawable/ic_tachi.xml
2021-06-10 16:44:49 -04:00
jmir1
0bdddb365f Fix library settings sheet causing app to crash... (#5354)
...when the category list is empty

(cherry picked from commit 8791b72cb1ebdd4b803bbd7d7828630f82fe8a9f)
2021-06-10 16:43:04 -04:00
arkon
0521c362c9 Revert "Set background job expedited policies"
This reverts commit c69420373a7e61c1b4eea038447cff6f0409a201.

Caused crashes in TachiyomiSY for some reason. Will have to redo this once we target Android 12.

(cherry picked from commit 07de367476cb337f597880b6f73e8c53e9b2fd19)
2021-06-10 16:42:53 -04:00
Ivan Iskandar
8cc51c7f71 Fix download status not updated properly after starting batch download (#5348)
(cherry picked from commit 31d96c2bf0a2ae87978bd4c2774eed0cf050e6ec)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2021-06-10 16:42:43 -04:00
Ivan Iskandar
eafce1ee5d Enable secure screen when incognito mode is enabled (#5339)
* Enable secure screen when incognito mode is enabled

* Fix incognito banner not showing up after configuration changes

(cherry picked from commit fb8aafb69f252efbf9e58bdb80180b3afb59b866)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt
2021-06-10 16:41:38 -04:00
Soitora
341543da24 Add ripple to history items (#5341)
- Replaces margin with padding.
- Adds the drawable ripple background.
- Changes height to match the padding so it doesn't look odd.

(cherry picked from commit 3d58b780628733d78f4867055fe77eb7f7530f50)
2021-06-10 16:40:38 -04:00
arkon
65afc99ead Show global update error notifications by default
(cherry picked from commit ec5e6958ef4f12f6cdf6694a37637770ca1e67da)
2021-06-10 16:40:26 -04:00
arkon
c301def4bc Fix crash on source page load error
(cherry picked from commit 71bd5fe36779ef91f62874020ddf276d4f5caf98)
2021-06-10 16:40:15 -04:00
arkon
a33a7c0844 Draw tablet manga info column under navbar (fixes #5323)
(cherry picked from commit d43255e688cffe54d12ac33fe327ef2adefe15ac)
2021-06-10 16:39:27 -04:00
Ivan Iskandar
710196d514 Coil: Caching adjustments (#5311)
* Coil: Enable disk cache for source items

* MangaCoverFetcher: Let Coil's OkHttp client handle caching for non-library cover

(cherry picked from commit 3527dedc993afc0d88143c4fd03fbaf953a4e715)
2021-06-10 16:39:14 -04:00
arkon
216065fb38 Use coroutine job for fetching next source page
(cherry picked from commit e6f3cd03bbc8b9e0ea2203f981cda94062d5186c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2021-06-10 16:36:14 -04:00
arkon
708c4b6905 Add shortcut to tracking guide on website
(cherry picked from commit a1e31549a223f2a0d2006814db443702c9fc0138)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesController.kt
2021-06-10 16:17:48 -04:00
arkon
3536c359f3 Address some build warnings
(cherry picked from commit 71d225c56286d4b868c1634316a4748a494037ea)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt
2021-06-10 16:16:12 -04:00
arkon
a3dbf6ff24 Don't expand source filter sheet on show (closes #5253)
(cherry picked from commit 7c232128502ed75053ebc0651024ed6a77dfdba3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt
2021-06-10 16:15:38 -04:00
Hunter Nickel
13235f3a37 Add behavior for modifying reader buttons depending on prev/next chapters (#5305)
(cherry picked from commit fdf178d4df5ca4819c972ca2730e86ef173beeca)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-06-05 16:09:45 -04:00
arkon
74636f4b1a Use smallest width instead of width for alt layouts
(cherry picked from commit 04ebca8413403693870e58540eda02b1391f3b61)

# Conflicts:
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
2021-06-05 16:08:59 -04:00
arkon
9275d9ab55 Set orientation icon correctly when opening reader
(cherry picked from commit edeee54fb2ebe09466bddd6be0abc64180955fc0)
2021-06-05 16:08:20 -04:00
Andreas
89249c9895 Added category-wise display setting (#5232)
* Added category-wise display setting

Co-authored-by: Rogavactive <30288842+Rogavactive@users.noreply.github.com>

* Use flag instead of preference

* Remove database call in LibraryItem

* Remove unnecessary code

Co-authored-by: Rogavactive <30288842+Rogavactive@users.noreply.github.com>
(cherry picked from commit a906e9b302f4aa4ce0d5c30b2a52d266b44eaaf5)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/models/Category.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySettingsSheet.kt
2021-06-05 16:07:57 -04:00
arkon
9b85b009a4 Fix image type build error
(cherry picked from commit fff72b61dfef494260bbfa544b21be820fbaeafc)
2021-06-05 15:40:33 -04:00
arkon
e017617612 Handle HEIF images (partly addresses #4756)
(cherry picked from commit 74381ef59e9c05129d77e82dac17ab0f0b9e3406)
2021-06-05 15:40:26 -04:00
Jobobby04
38f2a93c0f Use PageHandler for page requests 2021-06-05 15:24:02 -04:00
Carlos
143dfc6ad2 pass auth header to md@home request when logged in
(cherry picked from commit c63bf955b308cbb67fcdda884eff76eaec901898)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/MangaDex.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/PageHandler.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
2021-06-05 14:36:58 -04:00
Carlos
d82967ea3d switch to dex covers
(cherry picked from commit 28d83509dadb0ddaca2e13e98f5e5f6e3df2d2a7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/MangaDexCache.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/FollowsHandler.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/PopularHandler.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/SearchHandler.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/SimilarHandler.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt
#	app/src/main/java/exh/md/utils/MdUtil.kt
2021-06-05 14:31:51 -04:00
Jobobby04
eab7571feb Cleanup 2021-06-05 13:58:30 -04:00
Hunter Nickel
09eab48b1b Add check for backstack size before pushing DownloadController (#5312)
(cherry picked from commit 64f95af3e51bc721db1be137e34007e72ee4aeb9)
2021-06-04 20:43:25 -04:00
jobobby04
9196a24eb1 Legacy backup conversion to Kotlin Serialization (#5282)
* Legacy backup conversion to Kotlin Serialization

* Fix BackupTest compiling

(cherry picked from commit 597cec306455678f2cfe2ad2f632688292353b9e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/models/Backup.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/serializer/MangaTypeAdapter.kt
2021-06-04 19:27:19 -04:00
arkon
4f9eb19ead Update tablet UI
- Only used when width is >= 720dp instead of 600dp (typically 10" tablets)
- Fix fastscroll in manga view (fixes #5267)

(cherry picked from commit b03ebc1fa4d2fd4321ff736ddd9eda239fa2fdde)

# Conflicts:
#	app/src/main/res/layout-w720dp/manga_controller.xml
2021-06-04 19:09:21 -04:00
Jobobby04
3d33d50c63 Cleanup some constructors 2021-06-04 19:07:30 -04:00
Eugene
9e17ecbd4a
Rus new strings (+fix original) (#348)
* Rus new strings and fix original in meaning

* Title Case

* from j2k
2021-06-04 18:12:12 -04:00
Sam-Oak
a535d22f78
update the PT-BR translation (#347)
* update brazilian portuguese translation

* continue brazilian portuguese translation update

* final brazilian portuguese translation update

hopefully
2021-06-04 18:11:42 -04:00
Eugene
826602afb6
Fix black/invisible nav in blue theme (#350) 2021-06-04 18:11:27 -04:00
Jobobby04
b35aa30ea7 Address some lints 2021-06-03 16:28:38 -04:00
arkon
330b7990fe Allow center aligned side nav icons (closes #5177)
(cherry picked from commit 6c53bb4d515d15c39bb4ba8e0eae46341fd58c45)
2021-06-03 14:01:13 -04:00
arkon
84330af417 Address some build warnings
(cherry picked from commit fb7a458747e8a9fe2abe73d8ef6982f3bc0298e2)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-06-03 14:01:05 -04:00
arkon
e0945e4409 Support AVIF and HEIF images (closes #4756)
Co-authored-by: inorichi <inorichi@users.noreply.github.com>
(cherry picked from commit db25a9ae4f19f40123670131d26fb29a3c16d02e)
2021-06-03 14:00:08 -04:00
arkon
ac8e53b9a7 Set background job expedited policies
(cherry picked from commit c69420373a7e61c1b4eea038447cff6f0409a201)
2021-06-03 13:59:44 -04:00
arkon
bdc9e43e9e Update dependencies
(cherry picked from commit 2b8347f8998f07ebc771d7be8e24971d08c1f37b)
2021-06-03 13:59:27 -04:00
arkon
88102b9705 Add share and save cover actions (closes #3011)
(cherry picked from commit 281a3911f69b96050bae4b232af94ca3671b92ae)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-06-03 13:59:08 -04:00
Jobobby04
6d7e8cdcb9 Comment out more 2021-06-03 01:07:09 -04:00
Jobobby04
359ccdd052 Fix refactor for show history and updates button 2021-06-03 01:06:55 -04:00
Jobobby04
57ca396b46 Load chapters in the dialog instantly 2021-06-02 21:21:38 -04:00
Jobobby04
78d2881b4b Remove TachiEH Android 7 SSL Workaround, no idea why it was used 2021-06-02 21:04:51 -04:00
Jobobby04
cafce0ed5f Old saved searches can load now, but now toast on click 2021-06-02 21:04:06 -04:00
Jobobby04
3adde57db9 Use the same chapter sort that the chapters use in the reader dialog 2021-06-02 17:46:33 -04:00
Jobobby04
503ecb8076 Rename the reader chapter sheet to a dialog 2021-06-02 17:39:25 -04:00
Jobobby04
01d6dbba86 Add cancel button to reader chapters dialog 2021-06-02 17:34:08 -04:00
Jobobby04
b0bcad861f Open merged manga in webview properly 2021-06-02 17:17:11 -04:00
Jobobby04
d70a8848ec Fix merged manga delete after read 2021-06-02 16:53:00 -04:00
Jobobby04
c8426e71eb When browsing on Exh notify if the user has a bad igneous cookie 2021-06-02 16:10:26 -04:00
OncePunchedMan
b523e47102
Fix label visibility for tablet ui (#343)
* fix label visibility for tablet ui

* change to less code
2021-06-02 15:44:11 -04:00
Jobobby04
57dde4c922 Refactor show history and updates buttons 2021-06-02 14:12:57 -04:00
Jobobby04
34c16015e5 Update kotlin serialization to 1.2.1 2021-06-02 14:05:15 -04:00
Jobobby04
8387492a9b Add biometric lock days, fix biometric time range 2021-06-02 13:39:04 -04:00
Jobobby04
114ba42af7 Fix duel page spread not marking chapters read 2021-06-02 00:11:55 -04:00
Jobobby04
aeaf52cb58 Handle more deprecated items 2021-06-02 00:10:36 -04:00
OncePunchedMan
1e55a3f21a add AMOLED prefix to theme name (#5263)
(cherry picked from commit 9b77dd9a2b44c404dec4240545b33a4c72dbbb76)
2021-06-01 21:52:35 -04:00
Soitora
4fdb19d002 Add better library item selectors (#5240)
* Add better library item selectors

Inspired by the J2K method of library item selection.

* Tweak theme selection colors

It was missing for Hot Pink and Midnight Dusk.

The selector color is 75% alpha of the color accent, this looked fitting for all themes.

(cherry picked from commit 88d9ffe92e41ab8a4d24655a32aa87a20ee8bd01)
2021-06-01 21:09:18 -04:00
Jobobby04
d30c9f7120 Address some deprecation warnings 2021-06-01 21:09:03 -04:00
arkon
9697bffc5e Consolidate some of the app update classes
We only use GitHub for all update checks, so the abstraction isn't useful.

(cherry picked from commit 5113c78ab6d599286e3e2bd445b5b21dd7abf994)
2021-06-01 20:52:56 -04:00
arkon
65249a4ee7 Address some Kotlin language warnings
(cherry picked from commit 3854995ef23df814da32ef7bc6522007e7882f35)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceFilterController.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterRecognition.kt
2021-06-01 20:52:49 -04:00
arkon
d5b72c3d3a Only show automatically refresh trackers setting if logged in to some trackers
(cherry picked from commit 36e14b951a2e36c42fa49fcadd503a4f01952c49)
2021-06-01 20:51:36 -04:00
Jobobby04
86bd55268f Revert "Temporarily disable Double Page Spread"
This reverts commit 02601aa32a.
2021-06-01 20:49:43 -04:00
Jobobby04
8563342d0f Revert "Temporarily disable Mangadex delegation"
This reverts commit 60e520e37e.
2021-06-01 20:49:26 -04:00
Jobobby04
d057b61158 Revert "Temporarily hide Komga tracker"
This reverts commit 3fb4b565fa.
2021-06-01 20:49:21 -04:00
Jobobby04
51a109285a Release 1.7.0 2021-06-01 20:48:37 -04:00
Jobobby04
02601aa32a Temporarily disable Double Page Spread 2021-06-01 18:40:42 -04:00
Jobobby04
60e520e37e Temporarily disable Mangadex delegation 2021-06-01 18:33:48 -04:00
arkon
3fb4b565fa Temporarily hide Komga tracker
(cherry picked from commit 31997fe50af7fb8a5308682a246ceece710deb0d)
2021-06-01 18:22:12 -04:00
arkon
b2e33ab950 Update some icons
(cherry picked from commit 5e5ceef122856a1a6ff2f06e97fcfece917b33b5)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceController.kt
2021-06-01 18:22:00 -04:00
Jozef Hollý
acad70d8db Weblate translations (#5141)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Dhimas Admaja <dhimasadmaja@gmail.com>
Co-authored-by: Elosy <gaudic99@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: HeavenShadow <heavenshadow@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Jozef Hollý <j2.00ghz@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Riztard Lanthorn <riyanluqman@gmail.com>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Wojciech Kosztyła <wojtex1221@gmail.com>
Co-authored-by: matdeluis <luisdebonoir@protonmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/jv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/
Translation: Tachiyomi/Tachiyomi 0.x

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Dhimas Admaja <dhimasadmaja@gmail.com>
Co-authored-by: Elosy <gaudic99@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: HeavenShadow <heavenshadow@outlook.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Riztard Lanthorn <riyanluqman@gmail.com>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Wojciech Kosztyła <wojtex1221@gmail.com>
Co-authored-by: matdeluis <luisdebonoir@protonmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
(cherry picked from commit 40edbac7f081eee7979e02c4be276d61c0e9e1a6)
2021-06-01 18:17:40 -04:00
Jobobby04
ebc1f2bb41 Update string reference 2021-06-01 18:17:06 -04:00
arkon
391e477e04 Remove more unused strings
(cherry picked from commit 8622e6492c35ff725e266a9d023aa38e45cc5d03)
2021-05-31 23:48:06 -04:00
arkon
5fa3d55bc9 Show toast when toggling crop borders
Consistent with reading mode and orientation shortcuts.

(cherry picked from commit 1feac9c5594e85a9e8ef82ac69cb048b7eda2598)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-05-31 23:47:48 -04:00
Jobobby04
ef02bd112c Fix some string references 2021-05-31 23:44:15 -04:00
arkon
ae7d94a1f2 Remove unused strings
(cherry picked from commit fce81dd6d99b23b5a5526239a896d8f9e154e8fa)
2021-05-31 23:44:15 -04:00
arkon
0a96252ce8 Fix last library category not being saved
(cherry picked from commit aa50554f06f3e6cfbd5ac41a296fe2ad790f5352)
2021-05-31 23:44:15 -04:00
Jobobby04
7907723623 Move rec button higher on tablet view 2021-05-31 23:44:14 -04:00
Eugene
8d3c0199b4
Rus locale fix/additions (#330)
* Rus locale fix/additions

* Delete Gallery types (because filters are still in English)

* New strings

* New 2

* fix1
2021-05-31 23:26:24 -04:00
arkon
d5fcded898 Fix toolbar menu being broken on transition (fixes #5135)
(cherry picked from commit 034506f56b96b7f01c2d27021236e55f0542c559)
2021-05-29 18:19:40 -04:00
arkon
674a9c5067 Fix double free when when parsing webp images (fixes #5227)
Co-authored-by: inorichi <inorichi@users.noreply.github.com>
(cherry picked from commit 2d8858edb43b3b98a1640ee3edabecb19dff8131)
2021-05-29 18:19:32 -04:00
arkon
36c45c9450 Run formatter on some resources
(cherry picked from commit 8099f561c557e6e01908d4063691dca713d42160)
2021-05-29 18:19:16 -04:00
arkon
d92e790c5e Try to avoid some Webview-related crashes
Related to #5218

(cherry picked from commit 3d9383ce674dd4046b5f46eea70d5fddb61e193c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
2021-05-29 18:18:56 -04:00
Ivan Iskandar
7d659f559e Adjust chapter download button visual (#5213)
* Removed the blinking icon and added back the indeterminate indicator for
queued items
* Make the downloading indicator a solid circle

(cherry picked from commit 9de07c11a624072a8ce7e13721103a06078dee67)
2021-05-29 18:18:10 -04:00
Jobobby04
3a20e24ad0 Fix some drawable references 2021-05-29 18:17:54 -04:00
Ivan Iskandar
9a97a97aa7 More bottom sheet improvements (#5183)
* Edge-to-edge bottom sheet when possible

* ReaderSettingsSheet: Animate background dim changes

* Adjust modal bottom sheet in-out animation

* Use public method to get bottom sheet behavior

* Set bottom sheet peek size to 50% screen height

The current auto peek height gives too low value on landscape orientation

* Set bottom sheet navigation bar scrim when needed

(cherry picked from commit 9f744bc44589a3e44fb8b655615c2184d1748c0a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-05-29 17:58:17 -04:00
Soitora
84076c2582 Add animations for Bottom Navigation items (#5181)
* Animated icon for the Library tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Animated icon for the More tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Rename more_vert to overflow

Should maybe help any confusion together with the other more_horiz changes.

* Animated icon for the History tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Clarify names and clean files

* Animated icon for the Updates tab

* Animated icon for the Browse tab

* Recreate the animated icon for the History tab

History icons look better when the internal clock is not moving.

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
(cherry picked from commit aed6e12119b1b71710a4dd4139e776ca63b4636c)
2021-05-29 17:57:44 -04:00
Jobobby04
b67d2bba40 Last chapter can be null 2021-05-28 21:17:26 -04:00
Jobobby04
9fa278f708 Fix SY themes a bit more 2021-05-28 14:36:53 -04:00
Jobobby04
56ea025e20 Update coroutines, fix E-Hentai gallery update restrictions 2021-05-28 14:36:52 -04:00
arkon
fbfad27c27 Dependency updates
(cherry picked from commit 2c6bcb85a0b0e62f7b007e3f49bf330b70cf9e95)
2021-05-28 14:36:51 -04:00
Soitora
a93129c4f2 Allow themes to style more objects (#5197)
* Add Tertiary color and use it for Badges

* Define ripple color for Material Dialog

Although it doesn't do anything, but it should

* Add tertiary colors for Green Apple theme

* Use the correct theme accent in AlertDialog

* Declare a global colorControlHighlight

Fixes some of the ripples listed on #5154.

* Change md_ripple_color to primary ripple color

(cherry picked from commit 11a232a2dfd42094ebabba1a1c02997931fcdd10)
2021-05-28 14:36:51 -04:00
Hunter Nickel
89531cd549 Implement feature to hide "Local" badge from library manga (#5202)
(cherry picked from commit 8dcd919ff0c4df78343e501400294cfb079dc901)
2021-05-28 14:36:51 -04:00
Gauthier
e50f04ec54 Display the currently active restrictions in the library update preference (#5187)
* display the currently active restrictions in the library update preference

* removed first line

* use constant instead of literal string

* remove spanned string builder

(cherry picked from commit d9c27e7109fb01db4a103a2d55b5573c2cfe2185)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt
2021-05-28 14:36:50 -04:00
arkon
d8b40c2dc4 Add link to official subreddit
(cherry picked from commit 8af8c57bb414beafb4eed2bfb448b072f2fe60e4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutLinksPreference.kt
2021-05-28 14:36:50 -04:00
arkon
d62de90b77 Update dependencies
(cherry picked from commit a1a4916abfbbad905efa890f4ce9ac3388b23ef9)
2021-05-28 14:36:49 -04:00
Soitora
ab14ce0d75 Set grey setting sheet for Grey background option (#5193)
(cherry picked from commit 9be8f675acbf0fec283180fa129e643cd5b167fe)
2021-05-28 14:36:49 -04:00
inorichi
f2efe49ea1 Fix GIF detection on previous commit
(cherry picked from commit a271c3726eda98affc8e9a6877516a31c3451205)
2021-05-28 14:36:49 -04:00
inorichi
2eb5436b25 Display animated webp whenever possible, otherwise fallback to static image. Fixes #5139
(cherry picked from commit 8c18a14dfd4ed51001b135a469434fe6f8103929)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt
2021-05-28 14:36:48 -04:00
Gauthier
fba4bd163b Hide the score display on the tracksheet if not supported (#5169)
* hide the score display on the tracksheet if not supported

* Convert track item to use LinearLayout

Co-authored-by: Andreas E <andreas.everos@gmail.com>
(cherry picked from commit 9a801cfdfba407634532a5ceac0170a9f4716447)
2021-05-28 14:36:48 -04:00
Soitora
ae073f9207 Added "Green Apple" theme (#5184)
* Added "Green Apple" theme

Totally not stolen from other forks.

Although to cover all my bases I co-author all people who adapted the theme in any form.

Neko, J2K and Tako

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: Jays2Kings <jays@outlook.com>
Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add black as the OnSecondary color

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-authored-by: Jays2Kings <jays@outlook.com>
Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
(cherry picked from commit 4af13e3536493db7de3ff5e24ae5794c1efe3661)
2021-05-28 14:36:47 -04:00
Gauthier
1c084d42df Background tracker update during Library update (#5166)
* add preference to auto update trackers during library update

* also update trackers when updating chapters and preference is set

* remove unnecessary launch/join

* perform tracking update within the same chapter update loop to avoid double notifications

(cherry picked from commit e76e903060658530909455664c954cc4a639527d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2021-05-28 14:36:47 -04:00
Jobobby04
f245bbcfeb Move Kapt 2021-05-28 14:36:47 -04:00
arkon
29310c86e2 Use 1.x source-api artifact from Maven Central
(cherry picked from commit d8251224cb32d3678f6ee917055ab1228c5954f8)
2021-05-28 14:36:46 -04:00
Gauthier
f492ad2529 Refactor TrackService.kt to remove unused add function (#5164)
* removed the add function from TrackService.kt as it's not used except within the tracker implementations

* add private modifier

(cherry picked from commit acd927a937e1d7a7253dfd3954969ee9bb00d610)
2021-05-28 14:36:46 -04:00
Jobobby04
33b6912c22 nullIfEmpty 2021-05-28 14:36:45 -04:00
Jobobby04
9e63f32a82 Localize Find in another source 2021-05-28 14:36:45 -04:00
arkon
834e3d78ab Put shortcut to backup menu in More
(cherry picked from commit a498f940c6169a486f61be546759c59045be414e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt
2021-05-28 14:36:45 -04:00
arkon
2d2378a1e2 Use Title Case for theme names
(cherry picked from commit 948cb31d1ac0f2f564047de14ffeb765290becb2)
2021-05-28 14:36:44 -04:00
arkon
3cc61bc3b8 Make some strings in LocalSource translatable (closes #5178)
(cherry picked from commit 179cb8eb50951955611036f4140d6128e6fce781)
2021-05-28 14:36:44 -04:00
arkon
6b771b4a70 Handle toolbar title in manga details on tablets similar to on phones
(cherry picked from commit 47f865aa720c47faa7853f4be3065e3ba718f1ba)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-05-28 14:36:43 -04:00
arkon
9c2eadd8ca Remove unused Gson singleton factory
We don't inject it anywhere anymore.

(cherry picked from commit b47face2f8cea2d5425b5fe9daaa566ffda55042)
2021-05-28 14:36:43 -04:00