5302 Commits

Author SHA1 Message Date
Jozef Hollý
323ce4dbab Weblate translations (#4973)
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: Allen Chang <allen.ty.chang@gmail.com>
Co-authored-by: Andreas <howangandreas@gmail.com>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Christian Elbrianno <christian.elbrianno41@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Hajba Károly <karoly.hajba98@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jacque Fresco <aidter@use.startmail.com>
Co-authored-by: Jakub Fabijan <animatorzPolski@gmail.com>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: K. Sz. Bence <tudi20@protonmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: LigthA_ <ligthaa@gmail.com>
Co-authored-by: Lyaiya <hipsnafoha@outlook.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: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Maxime Dias <maxime-dias_student2021@wilder.school>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Narin <narin.tana@hotmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Paulo Pinho <kebrus@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Pratik Subedi <pratikk.subedee@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: SmolderingGummy <bairamsaieesh@gmail.com>
Co-authored-by: Techeira Damián <damian.techeira@mercadolibre.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: dmswd <Bmswad1@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: plr20 <hobdob@tuta.io>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Николаев Павел Дмитриевич <pavliknikolaev128@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/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/cv/
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/eo/
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/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hu/
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/ne/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nl/
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/sah/
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/te/
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/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: Allen Chang <allen.ty.chang@gmail.com>
Co-authored-by: Andreas <howangandreas@gmail.com>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Christian Elbrianno <christian.elbrianno41@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Hajba Károly <karoly.hajba98@gmail.com>
Co-authored-by: Jacque Fresco <aidter@use.startmail.com>
Co-authored-by: Jakub Fabijan <animatorzPolski@gmail.com>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: K. Sz. Bence <tudi20@protonmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: LigthA_ <ligthaa@gmail.com>
Co-authored-by: Lyaiya <hipsnafoha@outlook.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: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Maxime Dias <maxime-dias_student2021@wilder.school>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Narin <narin.tana@hotmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Paulo Pinho <kebrus@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Pratik Subedi <pratikk.subedee@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: SmolderingGummy <bairamsaieesh@gmail.com>
Co-authored-by: Techeira Damián <damian.techeira@mercadolibre.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: dmswd <Bmswad1@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: plr20 <hobdob@tuta.io>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Николаев Павел Дмитриевич <pavliknikolaev128@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
(cherry picked from commit a62628423fa87009711d23bba27b360d623cc8fc)
2021-05-22 18:07:43 -04:00
Ivan Iskandar
a802eb1cca Bump compileSdk to 30 (#5140)
(cherry picked from commit ef8a87a30fb5e6e7ff5f89ebcad71ca6f8a9f8c8)
2021-05-22 18:07:27 -04:00
arkon
3bb005acb2 Disable swiping on switch in SwitchSettingsPreference
(cherry picked from commit 147978b932497d4ac914dd95807159b7e023fe2c)
2021-05-22 17:56:44 -04:00
arkon
d8ee654a65 Rename some biometrics things since it's no longer specifically for biometric auth
(cherry picked from commit c741920ec0e698da28469f96b2c5ecc6cbf36f5e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt
2021-05-22 17:56:36 -04:00
CrepeTF
2b075b5a39 Fixed tracker sheet corner radius not being rounded on start (#4799)
(cherry picked from commit bbbcb18b919e0a55949b4f77937211265b33c96c)
2021-05-22 17:49:55 -04:00
Gauthier
e085855ec6 Add Komga as an unattended track service (#5049)
* fix: prevent crash if TrackService.getScoreList() is empty

* disabled track score button if service doesn't support scoring

* first implementation of the Komga tracking
this doesn't work for read lists

* auto track when adding to library

* handle refresh

* 2-way sync of chapters for unattended tracking services

* Update app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSheet.kt

Co-authored-by: Andreas <andreas.everos@gmail.com>

* group strings together

* support for read lists

* sync read chapters on bind

* only mark local chapters as read during 2-way sync (incoming)

* local progress from read chapters will be sent to remote tracker on bind/refresh
this enables syncing after reading offline

* remove unused variable

* refactor the 2-way sync in a util function

* handle auto add to track for unattended services from the browse source screen when long clicking
this will also sync chapters, as it is possible to have read or marked as read chapters from there

* 2-way sync when library update for TRACKING

* refactor

* better handling of what has been read server side

* refactor: extract function

* fix: localLastRead could be -1 when all chapters are read

* refactor to rethrow exception so it can be shown in toast

* extract strings

* replace komga logo

Co-authored-by: Andreas <andreas.everos@gmail.com>
(cherry picked from commit d6b3b0baf70b3a6caccffd367b707f26c1e6010d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2021-05-22 17:49:45 -04:00
arkon
1518c2aa25 Run formatter on drawables and layouts
(cherry picked from commit dbe8931cf0a3839b10ec3deed9c0a262a493d891)

# Conflicts:
#	app/src/main/res/drawable/ic_launcher_foreground.xml
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/reader_general_settings.xml
2021-05-22 17:47:08 -04:00
arkon
623b64aa79 Fix top padding in up Updates/History
(cherry picked from commit d2eb5d7f45a960125e6317886c8309de8d76dbad)
2021-05-22 17:41:05 -04:00
Soitora
2f9069765e Ripple overhaul (#5109)
* Create drawables for the ripples

Temporary colors in them to aid in unifying the ripples.

The 'ripple_circular' and 'ripple_normal' are probably going to be merge as one in the end.

* Change selectableItems to drawables

Changes 'selectableItemBackgroundBorderless' to 'ripple_circular' drawable.

Changes 'selectableItemBackground' to 'selectable_item_background' drawable.

* Add temporary colors to aid in finding unstyled ripples

* Fix button sizes to not make oval ripples

* Make the chip selectable follow ripple color

* Style using the built in rippleColor when possible

* Ripple away 💸

* Set ripple color for tabs

Main activity tabs as well as sheet tabs

* Set ripple color in seekbar buttons

* Fix ripple color for the toolbar

* Round off and start to finish the ripples

* Set custom colorful ripple for bottom navigation

Makes the app a little more fun than just black and white. Took inspiration from a ton of updated Google apps.

* Revert two layout changes

These were not necessary for the ripple as it is designed now, but it was before.

Co-authored-by: Andreas E <andreas.everos@gmail.com>
(cherry picked from commit 562dce60ee144be75434957d64ec7ab916dcce6a)

# Conflicts:
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/values/styles.xml
2021-05-22 17:40:53 -04:00
arkon
eaa2bb22ed Remove 1 or 2 hour library updates to avoid DDoSing sources
(cherry picked from commit 569df39fb88e534fa0deb5b9a412f84936006859)

# Conflicts:
#	app/build.gradle.kts
2021-05-22 17:33:29 -04:00
arkon
1389649553 Try to avoid crashing when source fails to return pages
(cherry picked from commit 2f7f00c7a24d1081775a30430086f6c007a7e3b7)
2021-05-22 17:29:26 -04:00
Ivan Iskandar
b3ddc1dfa3 Remove material-design-dimens (#5133)
(cherry picked from commit afd59eabbb5071b358f8dc04752788d73e4cc553)
2021-05-22 17:29:16 -04:00
arkon
d55802a2f2 Adjust tablet layout (closes #5113)
(cherry picked from commit cf99446a12f894d6b4a513aaf668520f52b40170)
2021-05-22 17:17:54 -04:00
Jobobby04
08cb46f6cd Make github link point to the SY github 2021-05-22 17:17:41 -04:00
arkon
15482914ef Tweak About view, make links actually clickable
(cherry picked from commit 68286b2accbdfe6fb111f17f38311e41bd4dfdb7)
2021-05-22 17:13:58 -04:00
arkon
3e5e983b9e Collapse about links into a single row
(cherry picked from commit a410184e0aeeef067915090a3530f79f8f8348e9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt
2021-05-22 17:13:53 -04:00
Soitora
36484bc349 Add icons for links in the About section (#5117)
* Add an icon for each link in About

* Add icon for Open source licenses

* Reorder Facebook and Discord

* Revert "Add icon for Open source licenses"

This reverts commit 9b73f8443d1afea60f8bc4165663c8bef0ebf108.

(cherry picked from commit d3ceecf6200654649fc543cda0322b8ee2b3cccc)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-05-22 17:09:54 -04:00
arkon
85362e2030 Refactor BaseBottomSheetDialog to set maxWidth with newer API
(cherry picked from commit 940c5b3838eeb2e1cdd657779eedb733fec673c3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt
2021-05-22 17:03:50 -04:00
Soitora
2a32c9cb5d Increase padding to progress bar (#5110)
(cherry picked from commit 0dbb79359bf01aa93305efedf4ef80c1e0c0ecb8)
2021-05-22 16:53:42 -04:00
Hunter Nickel
677f93a6ec Change ordering of labels in "when" clause (#5103)
(cherry picked from commit 19f39fcdb0f23a2a88c85d3cad2b495cd8ae275a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionHolder.kt
2021-05-22 16:53:35 -04:00
arkon
584f7b516f Restore original preference background after highlight animation (fixes #5094)
(cherry picked from commit ab021c1302dddedac8bfda5beb2402d7eb74ed0a)
2021-05-22 16:52:20 -04:00
Riztard Lanthorn
7d49479783 library update notif text progress (#5098)
(cherry picked from commit cf4b870846f90c8c220cf1c6a6274bf11483c8a4)
2021-05-22 16:52:09 -04:00
arkon
970e6e2560 Remove legacy backup creation
(cherry picked from commit 5e37f72d74ddc84eab1a50ba2f837af7787f8ff4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt
2021-05-22 16:51:59 -04:00
inorichi
19d539b197 Fix decoder crash with 1px images and crop borders
(cherry picked from commit 6843dbf7e1dcd22ae59f8d2523c61250b45a8d0d)
2021-05-22 16:48:54 -04:00
arkon
97e47b98b1 Avoid invalid reading mode/orientation selections
Related to #5068

(cherry picked from commit 09c07faafd30c096d8a06aac46715a0261b6c151)
2021-05-22 16:48:36 -04:00
arkon
844fb8129c Don't hide side nav when opening ActionToolbar on tablets
(cherry picked from commit fa872f6cf7d08dd6f07e66a6ca55210238100460)
2021-05-22 16:47:48 -04:00
arkon
7a9c2afe87 Fix grid columns on tablets, split out common main_activity layout sections
(cherry picked from commit ef53d4ec070ace3a863f7ba22749b3b511a1b4a6)
2021-05-22 16:47:40 -04:00
arkon
35879921dd Initial tablet NavigationRailView implementation
TODO:
- Make the side nav go beside the toolbar too
- Extract out common main_activity stuff to remove duplicated code

(cherry picked from commit de35a4c62a7636650b1ff88c33de0cc0695f6411)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/res/layout/main_activity.xml
2021-05-22 16:47:17 -04:00
arkon
f5a90d46ec Minor cleanup
(cherry picked from commit fcde6c2b84d83735675207144f1c0519070412d2)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt
2021-05-22 16:34:09 -04:00
arkon
d332f98b34 Update dependencies
(cherry picked from commit 9cbe053e79a089ca966efa18b9fd638957f6fd44)
2021-05-22 16:30:08 -04:00
Riztard Lanthorn
b339bd4f3f Add cancel all for series in download queue (#5062)
Co-authored-by: Jays2Kings <jays@outlook.com>
(cherry picked from commit 7ba43ae5c283daf2aa63810d03bab04220be4ece)
2021-05-22 16:29:46 -04:00
arkon
de414fb49b Instantiate extension preferences with proper datastore earlier
(cherry picked from commit 5700c7a0c7bf532faadf50e261a03b84f36c6fe1)
2021-05-22 16:29:37 -04:00
arkon
185b7fe70e Fix MultiSelectListPreference crash in extensions
(cherry picked from commit 5069d8dee6bfda42f9841112048b276d761ebec6)
2021-05-22 16:29:25 -04:00
arkon
a947fcd9b9 Fix rotation shortcut tooltip
(cherry picked from commit 47c120e58c0c7e3740164cbd3570efda09e54c69)
2021-05-22 16:29:13 -04:00
arkon
7b9f5474bb Don't toggle favorite status from snackbar if already added (fixes #5038)
(cherry picked from commit 8d7ab13f5ce49d5b41700b9089eebe6bd2cc3013)
2021-05-22 16:28:55 -04:00
Andreas
6238f06d39 Automatic background color for PagerViewer (#4996)
* Add J2K implementation of automatic background

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>

* Tweak the monstrosity called automatic background

* Add ability to choose Automatic as a background

* More tweaks

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
(cherry picked from commit 122cdae5bcbb0421c98e271521d32fadc7c95beb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt
#	app/src/main/res/values/arrays.xml
2021-05-22 16:28:40 -04:00
Jobobby04
7e612e63b4 Proguard fixes 2021-05-22 16:07:11 -04:00
simakover
63139a5c08
hide update and history buttons option (#324)
* hide update and history buttons option

* Move updates and history button in More then hiding

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2021-05-22 15:17:35 -04:00
Jobobby04
b63df25f7b Cleanup 2021-05-22 14:40:44 -04:00
Jobobby04
44385ed9cc Update some dependencies 2021-05-22 14:40:11 -04:00
Jobobby04
9eb1927d2e Better handling of Okhttp in awaitResponse 2021-05-22 14:39:22 -04:00
Jobobby04
20cbadb23d Update mangadex to api 5.0.10 2021-05-22 14:38:47 -04:00
Jobobby04
e37d4afce6 Revert "Fix duplicates in E-Hentai search 99% of the time, keep that 1% so it doesnt error"
This reverts commit fbc98ddb0ab0dfeeed47f14eba56c38b2f37b60b.
2021-05-21 21:06:45 -04:00
Jobobby04
fbc98ddb0a Fix duplicates in E-Hentai search 99% of the time, keep that 1% so it doesnt error 2021-05-21 19:15:17 -04:00
Jobobby04
91ca176c28 When throttling E-Hentai, suspend the thread instead of sleeping it 2021-05-21 17:06:40 -04:00
Jobobby04
fd65db51c1 Fix some text colors 2021-05-18 13:05:40 -04:00
Jobobby04
33a590d895 Mangadex fixes 2021-05-17 12:45:33 -04:00
Jobobby04
bc871cd2ee Dismiss the filter sheet when a button is pressed 2021-05-14 13:54:46 -04:00
Jobobby04
65f66630cf Make backing up read manga optional 2021-05-14 13:47:36 -04:00
Jobobby04
ab0f5d107f Use a unofficial cover api for mangadex browse
Co-authored-by: Henrik <henrik9999@users.noreply.github.com>
2021-05-13 14:07:22 -04:00