Commit Graph

5572 Commits

Author SHA1 Message Date
Tom Briden ec6b6ae779 Fix storing covers for local manga (#6127)
getCoverFile only returns a cover if it already exists, meaning
the block of code to write it from the inputstream never executes.
If getCoverFile returns null, then use previous behaviour of setting
it to cover.jpg so that if the file doesn't exist it's created

(cherry picked from commit f0a5557e60)
2021-11-02 19:06:35 -04:00
FlaminSarge 23fae05694 Allow manga titles to update from source if they are not in library (#6177)
The previous rationale for not allowing manga titles to update (at all) was that it would be confusing for users if a manga's title arbitrarily changed when the source changed it. Presumably, users would care less about this arbitrary change for manga that is not in library, so this provides a path for getting a manga's title updated, and prevents incorrect titles from persisting in the DB for manga that get title updates but aren't in library.

(cherry picked from commit 58a871c8cc)
2021-11-02 19:06:09 -04:00
arkon eb49df6ee8 Validate backup during creation
(cherry picked from commit 4f56071786)
2021-11-02 19:06:02 -04:00
arkon 64b1b3ac5d Update dependencies
(cherry picked from commit f8b2c79aef)
2021-11-02 19:05:54 -04:00
Andreas 29a24fa047 Change zoom from 3x to 5x (#6164)
Because some people actually read images with really small text

*I hope they have some extreme high quality pictures else I don't know how they read the raster images*

(cherry picked from commit 8f00d34b0b)
2021-11-02 19:05:45 -04:00
Soitora 95bca82355 More sensical string for 'pref_hide_threshold' (#6157)
(cherry picked from commit 6129519e5a)
2021-11-02 19:05:37 -04:00
arkon d8407e20da Sync view state with controller on activity resume
Hopefully fixes some weird states where the bottom nav shows up when it shouldn't.

(cherry picked from commit 593091a5e3)
2021-11-02 19:05:27 -04:00
arkon e28d72bf9c Minor cleanup
(cherry picked from commit 93e2b88d41)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-11-02 19:05:18 -04:00
Jobobby04 8d291b1bc3 Implement invert double pages 2021-10-23 23:53:30 -04:00
Jobobby04 4d7d451fde Maybe help with double page jankyness 2021-10-23 22:35:07 -04:00
Jobobby04 ef9a4ee643 Launch the download warning toast in the UI thread 2021-10-23 16:44:21 -04:00
Jobobby04 04c683675f Fix MangaPlus errors 2021-10-23 16:36:42 -04:00
Jobobby04 f8d14827da Add some padding to the continue reading button if the lang badge is enabled 2021-10-23 16:30:20 -04:00
Jobobby04 c560b70b83 Fix extra padding if there is no namespace 2021-10-23 16:25:25 -04:00
Jobobby04 62ee9e6560 Fix vertical slider 2021-10-23 16:14:53 -04:00
Jobobby04 aa70a2e6f3 Fix reader slider not doing anything 2021-10-23 15:43:15 -04:00
Jobobby04 07d13aed4e Cleanup MangaPlus stuff, only keep what SY uses 2021-10-23 15:28:28 -04:00
Jobobby04 c0a3406335 fix imports 2021-10-23 14:35:15 -04:00
Jobobby04 0a91597dac Add in library badge to latest and new browse view 2021-10-23 14:25:14 -04:00
Jobobby04 b90f339476 Minor cleanup 2021-10-23 14:25:13 -04:00
Jobobby04 1f145ef0d4 Remove extra padding on namespace tags 2021-10-23 14:25:13 -04:00
Jobobby04 bb409e5ced Workaround for cbz long filename error 2021-10-23 14:25:12 -04:00
Midyan Hamdoun ed5c3f327c Fix double increment when updating covers (#6138)
* Fix double increment when updating covers

* Remove redundant block

(cherry picked from commit ccd7c8df53)
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 080d845270 Update realm to move off JCenter for SY 2021-10-23 14:25:10 -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 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