Commit Graph

5396 Commits

Author SHA1 Message Date
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 5b3bd3f470)
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 bf1b7f44b6)
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 538dd60580)

# 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 f453236840)
2021-10-23 14:25:08 -04:00
arkon 7849c7970e Minor cleanup
(cherry picked from commit bfe7aa1ed2)
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 9e2ef82902)

# 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 9352e249ee)
2021-10-23 14:25:06 -04:00
Midyan Hamdoun 5802bf7626 Fix crashing when clicking the search icon (#6128)
(cherry picked from commit 3800065230)
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 ebc2c4f73a)
2021-10-23 14:25:05 -04:00
arkon cb55a46717 Use natural ordering when sorting by chapter numbers (fixes #6121)
(cherry picked from commit f057440cc1)
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 506f9cfca8)
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 8a70c3353f)

# 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 3d8f123e05)
2021-10-23 14:25:03 -04:00
arkon b01e38f4c0 Update dependencies
(cherry picked from commit a8c8f15e07)

# 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 21e647017b)

# 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 2a1bb3dc27)
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 55a3094a65)
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 b4490e209b)

# 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 https://github.com/Jays2Kings/tachiyomiJ2K/commit/45fbd9d2f5eba03f0734a58ad46de16a047ae783

(cherry picked from commit 9aa676333c)
2021-10-23 14:25:00 -04:00
Ivan Iskandar 28b57f4f42 Fix MangaController fast scroller position (#6090)
(cherry picked from commit bb06895145)
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 684965f3e5)

# 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 e621f4e2fa)

# 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 028ea57232)
2021-10-23 14:24:57 -04:00
arkon 6dac25855b Bump queue warning threshold to 60
Aligns with J2K.

(cherry picked from commit 718fa25c10)
2021-10-23 14:24:57 -04:00
arkon 01b0f0bec1 Update AGP
(cherry picked from commit 90c9f28818)
2021-10-23 14:24:56 -04:00
arkon f4d1f5ff95 Minor cleanup
(cherry picked from commit cb9c5a35cb)
2021-10-23 14:24:56 -04:00
arkon e202c108ff Handle HTTP 403 responses with CloudflareInterceptor
Based on https://github.com/jmir1/aniyomi/commit/8d34da591ed8e4341f0f8312402164a7bc17bc68

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

# 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 f0f3afd5f1)
2021-10-23 14:24:54 -04:00
arkon e0a09cdac7 Allow hiding "All" section in extensions list (closes #6081)
(cherry picked from commit 42026b49bf)
2021-10-23 14:24:54 -04:00
arkon eea2d7b0e0 Reword missing chapters warning (closes #6074)
(cherry picked from commit 151193c4c3)
2021-10-23 14:24:53 -04:00
jmir1 7e11f3952f Fix crash when deleting last item in library (#6079)
(cherry picked from commit 3448751e0e)
2021-10-23 14:24:52 -04:00
arkon a9a93e2f8f Use SwitchMaterial for preferences too (closes #5724)
(cherry picked from commit aae011ed83)
2021-10-23 14:24:51 -04:00
arkon 38f1af7577 Use single layout for grid badges
(cherry picked from commit c95a269460)

# 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 98c0e5271f)
2021-10-23 14:24:50 -04:00
arkon 806b35d024 Require authentication to toggle showing NSFW sources
(cherry picked from commit f343131802)

# 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 ea34ba53b9)
2021-10-23 14:24:49 -04:00
arkon bedb3f2bd8 Add some info about automatic backups
(cherry picked from commit b8d8cf19d9)
2021-10-23 14:24:49 -04:00
arkon 6b0927298a Smaller font size for reader page indicator (closes #6071)
(cherry picked from commit c9be4093e7)
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 082eef708f)

# 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 9106fc5b94)
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 918502742d)
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 f32f1eeaa5)

# 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 2d1404d155)

# 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 a56997e98c)
2021-10-23 14:24:45 -04:00
arkon d0e6297995 Update dependencies
(cherry picked from commit ef918078d1)

# Conflicts:
#	app/build.gradle.kts
2021-10-23 14:24:44 -04:00
Jobobby04 be52ea6f18 Maybe fix a few crashes related to mangadex logins 2021-10-23 14:24:44 -04:00
Jobobby04 f76c48c8ae Fix SY text styles 2021-10-23 14:24:43 -04:00