4693 Commits

Author SHA1 Message Date
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 02601aa32a7fc2bb69a376cfa47510622217a62d.
2021-06-01 20:49:43 -04:00
Jobobby04
8563342d0f Revert "Temporarily disable Mangadex delegation"
This reverts commit 60e520e37e60a5da239ada7a16dbdf7b71ba2a02.
2021-06-01 20:49:26 -04:00
Jobobby04
d057b61158 Revert "Temporarily hide Komga tracker"
This reverts commit 3fb4b565fa74320ec9a580c19da6a359dcfa23e1.
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