7685 Commits

Author SHA1 Message Date
Midyan Hamdoun
ed5c3f327c Fix double increment when updating covers (#6138)
* Fix double increment when updating covers

* Remove redundant block

(cherry picked from commit ccd7c8df53a6d14af44b3973aa5f68fafb5fd591)
2021-10-23 14:25:12 -04:00
Jobobby04
72b33a1c52 Tweak mangadex integration 2021-10-23 14:25:11 -04:00
Jobobby04
8c23c07c78 Update dependancies 2021-10-23 14:25:11 -04:00
Jobobby04
f2c881cb42 Update WI-FI restriction for EXH update worker 2021-10-23 14:25:10 -04:00
arkon
0b3a4e651e Remove jcenter usage (closes #4387)
(cherry picked from commit 5b3bd3f47001de32c42babbb3bc2dcba73f6cbff)
2021-10-23 14:25:10 -04:00
arkon
9840e8ab57 Change tablet UI threshold to w720dp (closes #6054)
Was previously sw720dp. Now matches J2K.

(cherry picked from commit bf1b7f44b641686b012e1d28ca46ed222162df87)
2021-10-23 14:25:09 -04:00
arkon
cdb9768335 Adjust update/download warnings
- Uses toasts now
- Adjusted wording to emphasize effect on sources
- Download warning has a different threshold (15 chapters per source, vs. 60 entries per source for library update)

(cherry picked from commit 538dd60580f1b97993620b05d353db883e44b552)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2021-10-23 14:25:08 -04:00
Platiplus
4e5a8668fc [6068] - Use semibold text for Browse items primary text (#6087)
* Changing the text on source title (browse items) to semibold and fixing the color of the subtitle on global search

* Updated history_item, updates_item and global_search to not have bold titles

* Changing global_search_controller_card

* Changing back history_item

(cherry picked from commit f453236840dc3cb1599cf15dd8e362d8418e49f5)
2021-10-23 14:25:08 -04:00
arkon
7849c7970e Minor cleanup
(cherry picked from commit bfe7aa1ed21e1fd789db5a330dba51c622666377)
2021-10-23 14:25:07 -04:00
arkon
5bf424af40 Remove global update intervals below 12 hours, add every 3 day interval
Users with smaller libraries have a lower change of getting updates frequently. "Power users" are actively hurting sources by updating frequently.

(cherry picked from commit 9e2ef82902369908503e860af12e8536a004bd43)

# Conflicts:
#	app/build.gradle.kts
2021-10-23 14:25:07 -04:00
arkon
456fdbe4e9 Make tapping library update and backup restore error notifications open log
(cherry picked from commit 9352e249ee7cfbfefe66aab6856ebb0b0410c403)
2021-10-23 14:25:06 -04:00
Midyan Hamdoun
5802bf7626 Fix crashing when clicking the search icon (#6128)
(cherry picked from commit 38000652306e866e0ad50e380a840120774872da)
2021-10-23 14:25:06 -04:00
arkon
62c0f50314 Remove paused text when resuming downloads with info hidden (fixes #6119)
(cherry picked from commit ebc2c4f73ab6691c545cf2029cb3c82e17b5e0ea)
2021-10-23 14:25:05 -04:00
arkon
cb55a46717 Use natural ordering when sorting by chapter numbers (fixes #6121)
(cherry picked from commit f057440cc1ebfc62bd1d3b85b284781ea9bce9bc)
2021-10-23 14:25:05 -04:00
Jozef Hollý
8761451412 Weblate translations (#6047)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Archie <careless.archie@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: DatTran MLL <tranthanhdat1142003@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Forqen <krecio555@gmail.com>
Co-authored-by: Giorgio Sanna <sannagiorgio1997@gmail.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: Jendrej <ejjendrej@gmail.com>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Jozef Hollý <j2.00ghz@gmail.com>
Co-authored-by: KasukeLp <kasukelp23@yahoo.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matey Krastev <matey_krastev2@abv.bg>
Co-authored-by: Pedro <pedro-mediavilla@hotmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Ric <rikku.debec@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Shippo <shiposhouyou@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: jTnqr <juliuspanjul25@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: swastik <smokexd676@gmail.com>
Co-authored-by: turhv jbufv <turhvjbufv@gmail.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/bg/
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/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es_419/
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/he/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/
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/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/
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/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/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: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Archie <careless.archie@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: DatTran MLL <tranthanhdat1142003@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Forqen <krecio555@gmail.com>
Co-authored-by: Giorgio Sanna <sannagiorgio1997@gmail.com>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: KasukeLp <kasukelp23@yahoo.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matey Krastev <matey_krastev2@abv.bg>
Co-authored-by: Pedro <pedro-mediavilla@hotmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Ric <rikku.debec@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Shippo <shiposhouyou@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: jTnqr <juliuspanjul25@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: swastik <smokexd676@gmail.com>
Co-authored-by: turhv jbufv <turhvjbufv@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
(cherry picked from commit 506f9cfca8c91d05cf0de76ef5fd6513704ec8d4)
2021-10-23 14:25:04 -04:00
arkon
819075a8f1 Change global update unmetered connection restriction to connected to Wi-Fi (closes #6117)
(cherry picked from commit 8a70c3353fa6a1851561e7dedf4e9702750ca3af)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt
2021-10-23 14:25:04 -04:00
arkon
01778c0c42 Add notification action to open GitHub release page
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit 3d8f123e053c4612cda5feebca3c18f93fff7ae4)
2021-10-23 14:25:03 -04:00
arkon
b01e38f4c0 Update dependencies
(cherry picked from commit a8c8f15e07be0800e41969792bfa7f17266708f6)

# Conflicts:
#	app/build.gradle.kts
2021-10-23 14:25:02 -04:00
arkon
c4f06d9830 Rename app updating classes
So I stop confusing it for updaters of other things.

(cherry picked from commit 21e647017b629d1ec07a32b548d27342810a2c6b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/Migrations.kt
2021-10-23 14:25:02 -04:00
Midyan Hamdoun
59d05af9ef Fix reappearing indicator in the History tab (#6105)
(cherry picked from commit 2a1bb3dc27fc78f3fb108801a0fc0e77db4490b5)
2021-10-23 14:25:01 -04:00
Ivan Iskandar
e63bd150e9 Fix AppBar lift state when snapped (#6103)
status bar foreground alpha is now handled separately

(cherry picked from commit 55a3094a65fe65fdb5e4492e319578f6446da23c)
2021-10-23 14:25:01 -04:00
Andreas
bfadfd0fc8 Fix inset not applying when in landscape (#6104)
Reverts inset change from #5997, was changed due to it not changing the padding when using setPadding

(cherry picked from commit b4490e209ba74e657c192dddc983b17e8bc3217a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
2021-10-23 14:25:00 -04:00
Jays2Kings
70c866d8f3 Use default source filters in global search (fixes #5583)
Based on 45fbd9d2f5

(cherry picked from commit 9aa676333c1e9263138ae0fe55a9152dca33f867)
2021-10-23 14:25:00 -04:00
Ivan Iskandar
28b57f4f42 Fix MangaController fast scroller position (#6090)
(cherry picked from commit bb06895145e0da0e217bf6dd953d9ae4a7f612f2)
2021-10-23 14:24:59 -04:00
Jobobby04
01e4697a04 Fix badges binding 2021-10-23 14:24:59 -04:00
Ivan Iskandar
b116f5e1fd MangaController optimizations (#6089)
* MangaController: Fix ignored stable ids

* MangaController: Replace notifyDataSetChanged

* ChaptersSettingsSheet: Optimizations

(cherry picked from commit 684965f3e56ceb64f8f7be0a23d6a884480eaed2)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-10-23 14:24:58 -04:00
Jays2Kings
7fb4cd29dc Add migration to add "all" to enabled langauges
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit e621f4e2fa80fec866f244e13d9b594d57f03453)

# Conflicts:
#	app/build.gradle.kts
2021-10-23 14:24:57 -04:00
Jays2Kings
042bf4d4f6 Update missing chapters warning
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit 028ea572322ba9a06b4ee83e38cf24215dae2205)
2021-10-23 14:24:57 -04:00
arkon
6dac25855b Bump queue warning threshold to 60
Aligns with J2K.

(cherry picked from commit 718fa25c108156669b5d6b47ce2b2c219bc48f9b)
2021-10-23 14:24:57 -04:00
arkon
f4d1f5ff95 Minor cleanup
(cherry picked from commit cb9c5a35cb3065bb2c153951861d72c9639d57b3)
2021-10-23 14:24:56 -04:00
arkon
e202c108ff Handle HTTP 403 responses with CloudflareInterceptor
Based on 8d34da591e

Co-authored-by: jmir1 <jmir1@users.noreply.github.com>
(cherry picked from commit fadaefeaef2bfa54d23997e39701f02698cfde67)
2021-10-23 14:24:55 -04:00
arkon
848a2ec4f6 Adjust update/download warning threshold
(cherry picked from commit b17b882a3b79999b82732adc6923499741fa602b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
2021-10-23 14:24:55 -04:00
jmir1
def5bdca28 Fix issues with NSFW sources setting (#6085)
(cherry picked from commit f0f3afd5f16b0a95c0080ef6bb7695ef490fd3e9)
2021-10-23 14:24:54 -04:00
arkon
e0a09cdac7 Allow hiding "All" section in extensions list (closes #6081)
(cherry picked from commit 42026b49bfdfd0cc0683be4d7fd11305ed8e74d2)
2021-10-23 14:24:54 -04:00
arkon
eea2d7b0e0 Reword missing chapters warning (closes #6074)
(cherry picked from commit 151193c4c3630ca39fbe35c8869c7b71fd7bd310)
2021-10-23 14:24:53 -04:00
jmir1
7e11f3952f Fix crash when deleting last item in library (#6079)
(cherry picked from commit 3448751e0e2f1d96d547a019ce2d274c9be5a0e6)
2021-10-23 14:24:52 -04:00
arkon
a9a93e2f8f Use SwitchMaterial for preferences too (closes #5724)
(cherry picked from commit aae011ed83713e6a57405d62686e0d9db2ae6e58)
2021-10-23 14:24:51 -04:00
arkon
38f1af7577 Use single layout for grid badges
(cherry picked from commit c95a269460e5aa611b2ca744770334d7ef8c6a55)

# Conflicts:
#	app/src/main/res/layout/source_comfortable_grid_item.xml
#	app/src/main/res/layout/source_compact_grid_item.xml
2021-10-23 14:24:51 -04:00
arkon
155b36a0bc Reword badge titles
(cherry picked from commit 98c0e5271f0af1f75467aac8be1006065a57ac76)
2021-10-23 14:24:50 -04:00
arkon
806b35d024 Require authentication to toggle showing NSFW sources
(cherry picked from commit f3431318021eeee60c37db7c1a48b30068694b51)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt
2021-10-23 14:24:50 -04:00
arkon
8bbaa60a1b Allow searching for multiple extensions at once (closes #5922)
(cherry picked from commit ea34ba53b9d22293af4f7ffd60b021eed237d4a3)
2021-10-23 14:24:49 -04:00
arkon
bedb3f2bd8 Add some info about automatic backups
(cherry picked from commit b8d8cf19d903948bcc5baf91d00a42b8bd904693)
2021-10-23 14:24:49 -04:00
arkon
6b0927298a Smaller font size for reader page indicator (closes #6071)
(cherry picked from commit c9be4093e7190289f1a744634fdb3169eb0fa745)
2021-10-23 14:24:48 -04:00
arkon
d9487ea7e9 Add warnings when library and download queues are considered large (closes #5950)
Arbitrarily set at a size of 100 for now. We could adjust this in the future as appropriate if needed.

(cherry picked from commit 082eef708fc50f4b26b499bfd50e9046ec26637a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
2021-10-23 14:24:48 -04:00
Ivan Iskandar
8a85d82587 Grouped chapter download list by source (#5575)
(cherry picked from commit 9106fc5b940e8b55b0299888ee0914cae2bec829)
2021-10-23 14:24:47 -04:00
Platiplus
59655ccfd1 [5893] - Implemented Language Badge (#6050)
* Implemented language badge on library items

* Added left margin for better viewing the badge on list view

* Adjusting borders on badges, cleaning string interpolation and cleaning code

* Improving readability on Holders and removing unused background and text on grid items

(cherry picked from commit 918502742d9cd26ac70b0db067bfae02bb4c4e88)
2021-10-23 14:24:47 -04:00
Ivan Iskandar
6bb8ae0d1e Manga description adjustments (#6011)
* Manga description adjustments

- Animated state changes
- Adjust scrim position to fully show 2 lines when shrunk
- Set minLines to avoid scrim hiding oneliner

* Change icon and adjust animation

* Revert fancy scrim animation

(cherry picked from commit f32f1eeaa547dbf3a7a6d0069ee6332d8a440fe7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
2021-10-23 14:24:46 -04:00
nicki
1d80725ea9 Fix Local and Other lang sources showing up in seperate Other Categories (#6024)
* 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
2021-10-23 14:24:45 -04:00
arkon
353a3ffe00 Hide slider tooltip label everywhere
(cherry picked from commit a56997e98c45f14abb790a14fbe1f902487fe2b4)
2021-10-23 14:24:45 -04:00
arkon
d0e6297995 Update dependencies
(cherry picked from commit ef918078d120347be5a6df860f346a680ccba7c7)

# Conflicts:
#	app/build.gradle.kts
2021-10-23 14:24:44 -04:00