5941 Commits

Author SHA1 Message Date
CVIUS
3ec11cb81f Fix category tabs incorrect scroll position (#7120)
(cherry picked from commit 6d655ff7574c0c51c41cfc6b3abed57fb2115acc)
(cherry picked from commit 58db04d8ddf5d10c00dbf06c27f09d44321f4c09)
2022-07-13 11:13:19 -04:00
nzoba
960d67ec26 Add switch to DownloadPageLoader when chapter is downloaded (#7119)
(cherry picked from commit 63627c81ebd6b3a9b1ee017f385a72b6fc8c8a49)
(cherry picked from commit f7a57d2ddd1bdc51ec97078617a89b5ecbe2225f)
2022-07-13 11:13:08 -04:00
CVIUS
832107b932 Fix "Move to top" showing at the most top item in download queue (#7109)
(cherry picked from commit b26daf8824e09922f063db6d6410b78d6281957b)
(cherry picked from commit 054e6b839ed4277e66fc5351f46d08652bdfd610)
2022-07-13 11:12:59 -04:00
Jobobby04
a575770be0 Update build workflow actions
(cherry picked from commit c1c934011f79fd61d691792289d5e7a47986fbca)
2022-07-13 11:12:50 -04:00
nicki
a7979b8323 Check for app updates by comparing semver (#7100)
Instead of just checking whether the current app version *matches* with
latest app version in GitHub Releases, compare the semver from the tag
names to check whether the latter is greater and the app needs an update

Reference: semver spec #11 https://semver.org/#spec-item-11

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
(cherry picked from commit e7ed130f2a4fcd7452737476189687fbd130c80d)
(cherry picked from commit 81bdc190755a5a49a6e49a89ef3962f9ecf5c0d0)
2022-07-13 11:12:36 -04:00
CVIUS
e7cd7c06fa Use theme primary color for slider track (#7102)
(cherry picked from commit bc053580ad21669cf507dea1aa14a8dd5cb59ef6)
(cherry picked from commit ea9ea11eaf8a3e0613c101b0d9324ea6700a234e)
2022-07-13 11:12:25 -04:00
nicki
4cee1b3583 Don't save categories in backup if not selected (#7101)
Currently, manually created backups contain list of categories even if
Categories option is not selected during Backup Prompt. This leads to
empty categories being created when restoring such backup files

This commit adds a check before saving categories list info to the
backup file. The check is the same check which is used while backing up
category info of manga in library

Tested and worked successfully on app installed on Android 12

(cherry picked from commit 11c01235ac32c8fd3de864c37cab82367b4a9e41)
(cherry picked from commit 1269d71d1a608515c4243226bc2bbd53f6cab8dd)
2022-07-13 11:12:16 -04:00
arkon
dfa9b7462f Rename "navigation layout" to "tap zones"
(cherry picked from commit c49d862fc58fb4a750ee6de006054823f94e3263)
(cherry picked from commit ec9d55e9e8ec1cd6d1f7f639faff66c8c3ecf93a)
2022-07-13 11:12:06 -04:00
FourTOne5
b456e38cc5 Fix removing manga from library reverts during global update (#7063)
* Fix removing manga from library reverts during global update

* Review Changes

* Review changes 2
# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt

(cherry picked from commit f966940d1544cef96cc2ba6c6d884cacfa55e085)
2022-07-13 11:11:58 -04:00
FourTOne5
b8e0b86df8 Add -r flag to ShizukuInstaller createCommand (#7080)
(cherry picked from commit 3865384cccfd4fc2a9a458f01dafada808dd35d7)
2022-07-13 11:11:48 -04:00
arkon
c48f4770ee Fix Android 13 icon sizing
(cherry picked from commit 3a4f107ab7d811071faf0ed6d55a5a3f7e86aab9)

# Conflicts:
#	app/build.gradle.kts
2022-07-13 11:10:51 -04:00
arkon
5191d7abb1 Add links to website FAQ for library update and download warning notifications
(cherry picked from commit 70698e64940eb01032e948245a01c4191ccd60f0)
(cherry picked from commit b846bc2044c0ea2f7f8a7c2186e875744ecf579c)
2022-07-13 11:09:50 -04:00
FourTOne5
9da8a09cb4 Download new chapters when only excluded categories is selected (#6984)
(cherry picked from commit 06bec0ad54954e0a0c76949206814747df5a8370)
(cherry picked from commit 7ed22e5d9027be54bdd480aa3785adb19c8a8b80)
2022-07-13 11:09:40 -04:00
arkon
98d5173507 Fix skipped library entries and size warning notifications using same ID
(cherry picked from commit 91ed3a4a5facaaa335d4408e7c5342dcca430f47)
(cherry picked from commit da739dfc077d98be66ca140c2bb492e576bf300c)
2022-07-13 11:09:32 -04:00
arkon
ff9fbc5265 Fix update warning notifications being cut off (fixes #6983)
(cherry picked from commit 20145f7a12c5f14a27ab01f16ceee3cfca77fdab)
(cherry picked from commit 92af7291d54e20d98f9d9cc1c8f61f8c7a6ec7b6)
2022-07-13 11:09:23 -04:00
arkon
c721b90dc3 Default to downloading as CBZ (closes #6942)
Generally seems fine. People with weak devices may experience some issues, but they can toggle it off/extract the archives separately if needed.

(cherry picked from commit 883945e3e8b4c3fe5ec1bb151c247db7404b037c)
(cherry picked from commit f22ff7d3f06b722b153ffb02b6e4dde3dc92c897)
2022-07-13 11:09:14 -04:00
arkon
77ebecd87d Add battery not low restriction for global updates (closes #6980)
(cherry picked from commit 3feea7114614726cd0f5b87729a6c6195d180949)
(cherry picked from commit 4804dcf644695406465d39a1b6d4518afe7c5ce0)
2022-07-13 11:08:56 -04:00
ItsLogic
518f2c1faa Fix chapter transition setting for one page chapters (#6998)
(cherry picked from commit 5e32b8e49fc7879559366357743bc450099453ca)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt
(cherry picked from commit 6df5497dc60498abe5ed67b830a7cca78212086c)
2022-07-13 11:08:37 -04:00
arkon
33f4c0ad08 Delete entire app_webview folder when clearing WebView data
(cherry picked from commit 6e95fde4ece64e5959c04bb4b7fb69299ef37ca5)
(cherry picked from commit 1d0520e71646beb89ec228608a9ca9c0b78b324c)
2022-07-13 11:08:28 -04:00
arkon
8d0bfcd55e Move clear webview data action to network group
(cherry picked from commit bf0bb5aa88f91b0567cf9de085a35d660e7e41a1)
(cherry picked from commit 93b7881505de293bc676f20f5894107c3f3b99af)
2022-07-13 11:08:19 -04:00
Jobobby04
263c0fae8c Release v1.8.3 1.8.3 2022-04-22 19:39:42 -04:00
Howard Wu
7756f25312
Add Simplified Chinese translation (#584)
* Add Simplified Chinese translation

Work In Program
Part 1

* Add more translate

* Add more translate

* Add more translate

* Add more translate

* Fix

* Minor changes

* Fix some strings

* Fix some strings
2022-04-22 19:38:51 -04:00
Jobobby04
6a0b523e86 Revert history Compose/SQLDelight changes 2022-04-22 19:27:15 -04:00
arkon
070e2d94c7 Temporarily remove chapter name cleaning
To be added back in a more consistent manner later around the app. Probably when more things are Compose-y with less repetition.

(cherry picked from commit c0214103a95e84e7f993831e497afc8560bed3ab)
2022-04-22 19:23:45 -04:00
arkon
743482dfd2 Add advanced setting to clear WebView data
(cherry picked from commit 2b76a9798901cf077c55550bd03b9f484c5262cd)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2022-04-22 19:23:37 -04:00
Andreas
f6b7f9e29f Enable verbose logging in dev flavor by default (#6979)
(cherry picked from commit 9d77052d9c36d18ef421074589b40b0fa37e51af)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2022-04-22 19:22:12 -04:00
Andreas
5c9f98bff1 Add indexes to creational tables (#6974)
(cherry picked from commit b4981058a24a150c55626d515358612aa0f61a12)
2022-04-22 19:21:09 -04:00
arkon
d375d7d8c8 Lift Compose theme to abstract controller
(cherry picked from commit 032aa64195bf821d0fc25d5c7d2f36ba39d3de68)
2022-04-22 19:21:01 -04:00
arkon
a88bcb0fa2 Simplify history item description building
(cherry picked from commit 7c8e8317a8c24261b62645c477028fdd3717e4e8)
2022-04-22 19:20:54 -04:00
arkon
5512c6eb79 Add abstract ComposeController
(cherry picked from commit eb1cfc4cd48c9e593a19469bcc4bf16e71682aa3)
2022-04-22 19:20:46 -04:00
arkon
97e4b0e248 Add placeholder color for Compose manga covers
(cherry picked from commit f1e5cccee727f06f56d8e5f496858fb5e2a954ea)
2022-04-22 19:20:39 -04:00
arkon
99a94150ea Default auto backups to 2
(cherry picked from commit bc2ed763bdd5e0ee7e3837b2a2e510891f175d59)
2022-04-22 19:20:32 -04:00
Jobobby04
26b30adf4a Migrate saved search and feed saved search to SQLDelight 2022-04-22 19:19:50 -04:00
Jobobby04
4a115785eb Add SY specific queries to sqldelight files 2022-04-22 19:16:48 -04:00
Andreas
a8cb77cc7e Migrate History screen database calls to SQLDelight (#6933)
* Migrate History screen database call to SQLDelight

- Move all migrations to SQLDelight
- Move all tables to SQLDelight

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>

* Changes from review comments

* Add adapters to database

* Remove logging of database version in App

* Change query name for paging source queries

* Update migrations

* Make SQLite Callback handle migration

- To ensure it updates the database

* Use SQLDelight Schema version for Callback database version

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
(cherry picked from commit b1f46ed8302411fbd884bbc3c26fe28a378fd91a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DatabaseHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/HistoryQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/tables/CategoryTable.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/tables/MangaTable.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/database/ClearDatabasePresenter.kt
#	build.gradle.kts
2022-04-22 10:08:31 -04:00
arkon
c44c37383d Make links in new update dialog clickable
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit 6c1565a7d43a54daa54257c1b5257d6f802e0bf6)
2022-04-21 17:07:12 -04:00
arkon
8e72394910 Replace ignore button in new update dialog with link to GitHub page
Not enough room for 3 buttons. Users can still tap outside or back out of the dialog if they want to ignore it.

(cherry picked from commit 2ca6b655ad7d55856d9c0723fd42d009b29c6bd5)
2022-04-21 17:06:57 -04:00
arkon
e5349a3d33 Update junrar
(cherry picked from commit a83a481ac8734c6fb598c16a9f33d0f85c948be4)
2022-04-21 17:06:50 -04:00
arkon
e6aa6f02e4 Move chapter name cleaning logic to holder (fixes #6955)
(cherry picked from commit 65a8b63b3b91dbe65fc7c0f034a7bf1453c28754)
2022-04-21 17:06:39 -04:00
Andreas
231c75df65 Fix AppBar not unlifting when scrolling using ComposeView (#6952)
(cherry picked from commit b20ca36db955fd0dc35a435e17823a8688b69b1e)
2022-04-21 17:06:31 -04:00
arkon
08c2bfd263 Show better error message when empty backup creation is attempted (closes #6941)
(cherry picked from commit 189f92d7e8f9b0588ae7c0727e2ad7f6d03b0a90)
2022-04-21 17:06:25 -04:00
arkon
33bdf011b4 Increase default OkHttp call timeout to 2 minutes
Which is still stupidly high, but maybe it'll be lenient enough for certain people.

(cherry picked from commit cdd4ec623342de5894857f467bca2f2388b3f46d)
2022-04-21 17:06:18 -04:00
arkon
26deb46219 Show parsed Markdown for new version info (closes #6940)
(cherry picked from commit ef1bb4e8002e72a7416b5ecf6b4754c03da49cb9)
2022-04-21 17:06:11 -04:00
Andreas
45bfd5f72c Migrate History screen to Compose (#6922)
* Migrate History screen to Compose

- Migrate screen
- Strip logic from presenter into use cases and repository
- Setup for other screen being able to migrate to Compose with Theme

* Changes from review comments

(cherry picked from commit c475acd1eaf9f1fd9394f126a8a6f3c0daf52048)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/HistoryQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	settings.gradle.kts
2022-04-21 17:06:03 -04:00
CrepeTF
32d81eb1fa Add elevation to navigation rails (#6947)
Co-authored-by: CrepeTF <trungnguyen02@outlookcom>
(cherry picked from commit 7d50d7ff526641ec3238f0845f6515398c045556)
2022-04-21 17:01:34 -04:00
Jobobby04
4309b4c0d7 Release v1.8.2 1.8.2 2022-04-15 18:25:54 -04:00
Jozef Hollý
2c3f7f5206 Weblate translations (#6890)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eduard Ereza Martínez <eduard@ereza.cat>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: GTX155 <kirchoabv@mail.bg>
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: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Jozef Hollý <j2.00ghz@gmail.com>
Co-authored-by: Lauri <lauri.kangasaho@hotmail.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: Milo Ivir <mail@milotype.de>
Co-authored-by: Nicol Bolas <creepyweirdo1031@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pierre Kim <admin@manateeshome.com>
Co-authored-by: Pilfer <pescao@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rikishaaa <jebote90@gmail.com>
Co-authored-by: Santiago José Gutiérrez Llanod <gutierrezapata17@gmail.com>
Co-authored-by: Sebastian Mihai Crap <sebastiancrap@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Subham Jena <subhamjena8465@gmail.com>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: altinat <poiiiii4yy@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Co-authored-by: אילון קטן <eilonkatan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/bg/
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/
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/he/
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/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ja/
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/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/or/
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/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/
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: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eduard Ereza Martínez <eduard@ereza.cat>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: GTX155 <kirchoabv@mail.bg>
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: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Lauri <lauri.kangasaho@hotmail.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: Milo Ivir <mail@milotype.de>
Co-authored-by: Nicol Bolas <creepyweirdo1031@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pierre Kim <admin@manateeshome.com>
Co-authored-by: Pilfer <pescao@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rikishaaa <jebote90@gmail.com>
Co-authored-by: Santiago José Gutiérrez Llanod <gutierrezapata17@gmail.com>
Co-authored-by: Sebastian Mihai Crap <sebastiancrap@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Subham Jena <subhamjena8465@gmail.com>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: altinat <poiiiii4yy@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Co-authored-by: אילון קטן <eilonkatan@gmail.com>
(cherry picked from commit ec3a227a02adb342d542de00e824690d73aed67f)
2022-04-15 17:52:11 -04:00
arkon
d670d29169 Always remove manga title from if it prefixes chapter names (related to #6913)
(cherry picked from commit 89decf34746eaace93b186f7dc41baa6e42a96f0)
2022-04-15 17:52:00 -04:00
arkon
a4c61e49f4 Limit package name overriding to Android 8+ (related to #6846)
(cherry picked from commit 0b2794e843d499a6d1990b01a037a462c3c6466b)
2022-04-15 17:51:53 -04:00
arkon
3d00e85dc2 Bump Material Components
(cherry picked from commit 554dfb5874b8b6ab2deee4d784804977676b2681)
2022-04-15 17:51:47 -04:00