6724 Commits

Author SHA1 Message Date
arkon
4ddaba06f7 Formatting
(cherry picked from commit 1a52385b78ae4fc4aaa82d72508d4db52522bcc1)
2021-10-23 14:24:38 -04:00
Andreas
bd8a7c038e Remove extra padding when using list with Per Category setting (#5997)
* Remove padding when using list with Per Category setting (fixes #5636)

* Add view type to RecyclerViewPagerAdapter

Correctly this time (ノ◕ヮ◕)ノ*:・゚✧

* Minor tweaks

(cherry picked from commit 372e5005903d12f131088df04d50799e88ba2de4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
2021-10-23 14:24:37 -04:00
Ivan Iskandar
6f429cdb9c App-wide typography adjustments (#5931)
* Manga detail

Also adjust chapter item layout to accommodate bigger
display/font size

* Library

* Updates

* History

* Browse

* Preferences

* Button

* Navigation view

* category-download

* Google Sans

* Reader

* Chips

* Revert "Google Sans"

This reverts commit 5dd4c41f

* Misc

* Cleanups

* Section header text appearance

* Increase library manga title size

* Revert "Increase library manga title size"

This reverts commit 474be913

* Increase section header letter spacing

* Derps

(cherry picked from commit 6d650518a14953a1d5e74d1e56de841492929fb6)
2021-10-23 14:24:37 -04:00
FourTOne5
e1856e67c2 Sort and remove duplicates in genres (#6021)
* Sort and remove duplicates in genres

Co-authored-by: ivaniskandar <12537387+ivaniskandar@users.noreply.github.com>

* Remove Sort and filter out blank genre

Co-authored-by: ivaniskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 7940117577ce500816a61bc638455ffc2ff47017)
2021-10-23 14:24:36 -04:00
Ivan Iskandar
17fee7fba2 LicensesController: Move item init to IO thread (#6020)
(cherry picked from commit b0f87fdd2193b53b06976da7c45e9da2cfd66a4b)
2021-10-23 14:24:36 -04:00
arkon
32e0a70024 Switch to Material Slider in color filter settings
(cherry picked from commit dc92ffed874c7aad4c266c0a26ee934470b2bc33)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/widget/NegativeSeekBar.kt
2021-10-23 14:24:35 -04:00
Ivan Iskandar
619c306069 Apply navigation bar insets to fast scroller and settings search list (#6015)
(cherry picked from commit 4af578e3102ad4c07c40299cbd91902a7c2add4f)
2021-10-23 14:24:35 -04:00
FourTOne5
5f92fa0851 Check if wifi is connected rather than enabled while downloading. (#5967)
* Fixxy Wixxy

* Downgrade check from Android S to Android Q

(cherry picked from commit e22825d818edb9cdc71561e156546ccaf9088c9d)
2021-10-23 14:24:34 -04:00
arkon
d74e43b6a6 Switch to Material Slider for reader seekbar
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit d149017c60722ba26fe13487437ab542b9bbaebd)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-10-23 14:24:33 -04:00
arkon
7574b4baef Update dependencies
(cherry picked from commit afc400121b9a79c69998abdfec5418109afa9c2c)
2021-10-23 14:24:33 -04:00
Ivan Iskandar
602b33705b Fix MangaController toolbar title showing when editing category (#6005)
(cherry picked from commit ef993515c6b6169febf2a55df44fb9ca1b0b0a71)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-10-23 14:24:32 -04:00
arkon
53592d1f57 Don't bury sort menu in overflow in Migrate screen
(cherry picked from commit edb1d21ddc311d65a45f6720fa20cb0017e9bda9)
2021-10-23 14:24:32 -04:00
Andreas
ce4ab83ae9 Ability to order sources by library count when migrating (#6000)
* order sources by library count when migrating (closes #4703)

* Use plain menu instead of full-on sheet

(cherry picked from commit ba8abd94a8bcbe409e96cf7d606852a789e439ed)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesPresenter.kt
2021-10-23 14:24:31 -04:00
Andreas
f57c5d2f17 Move extensions enabled languages on top (closes #5694) (#5998)
(cherry picked from commit c6d4e4c15ff78d82c24e32f211cbeb086b77ede0)
2021-10-23 14:24:31 -04:00
Ivan Iskandar
d9e6e0c956 Fix incorrect appbar lift state when opening MangaController in hidden state (#5990)
(cherry picked from commit 09f0ac866f0c387c18b35136c970cee50cc929cd)
2021-10-23 14:24:30 -04:00
Hunter Nickel
e651bfc04f Add chapter bookmarking feature to Updates screen (#5984)
(cherry picked from commit 7ed25704d6fb425a24d0f5ec93be8c7ac5bf41a4)
2021-10-23 14:24:30 -04:00
FourTOne5
851a0c015b Fix variable name in isOnline (#5991)
(cherry picked from commit 2196dac63e6b53716e80901e41671d094ed8d784)
2021-10-23 14:24:29 -04:00
Ivan Iskandar
4bb6bf445b ReaderActivity: Block focus on viewer (#5996)
(cherry picked from commit c8f70efdedddef5c41b46245a25c2c68df01ed6c)
2021-10-23 14:24:28 -04:00
Jobobby04
e374281d21 Fix 437 2021-10-23 14:24:28 -04:00
Jobobby04
7a44fab5e7 Allow canceling a single migration job but keeping the manga 2021-10-23 14:24:27 -04:00
Jobobby04
29d786d8db Remove useless context switches 2021-10-23 14:24:27 -04:00
nicki
441358f1ae
Fix "+" appearing on ConfigurableSources in Browse > Extensions (#434)
* align text towards right end

aligns the text (`Settings/Settings+` etc) to the end of the Text rather
than letting it be centred

* append "+" only for two states

"+" needs to be added only if the following conditions are met:
 - Extension is Installed and is a ConfigurableSource (regardless of it
   having an Update or not)
 - Extension is in InstallStep.Idle state

* linting

* Revert "align text towards right end"

This reverts commit 5e4511d0beaff038e9dc31189095e1b6d853c020.
Since it was rejected and doesn't help much

* better if checking strategy

because installStep.idle holds true for all extensions, even uninstalled
ones, that leads to not having to check Ext.installed anyways for the
combined OR to return `false`
Checking for extension.Installed check first leads to getting `false`
faster
2021-10-23 14:23:39 -04:00
Jobobby04
7097363f26 Fix clear db crashing 2021-09-26 14:21:53 -04:00
arkon
f2caa59ec9 Mark installer names as non-translatable
(cherry picked from commit c2255b0a0f1d88cab7e22699267bb82d53333aba)
2021-09-26 14:14:42 -04:00
arkon
3337afcf97 Use data class to parse extensions list
(cherry picked from commit f754b081ce45b9c418986778e24b6a3265ba7735)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt
2021-09-26 14:12:28 -04:00
arkon
53cfe1c609 Update kotlinx.serialization
(cherry picked from commit 07771cb5e46f3d00d6e78f50b00e3262949eb554)
2021-09-26 13:29:29 -04:00
arkon
c06ccf2480 Show message in migrate screen if library is empty
(cherry picked from commit 690d8e43ae6e2b92c2c6fa31c9c31bb44a94ecb7)
2021-09-26 13:29:14 -04:00
Hunter Nickel
e38322c4dc Hide soft keyboard after submitting search query throughout app (#5837)
* Clear focus from SearchView when submitting a search query in BrowseSourceController

* Revert "Clear focus from SearchView when submitting a search query"

* Implement SearchView focus clearing in Tachiyomi's subclass to enable feature throughout app

* Add support for keyboard Enter key

Pressing enter on a keyboard (when using the emulator for example) now also submits the query

(cherry picked from commit 82f14a7d59120e9de31351409f81d10671e4e394)
2021-09-26 13:29:08 -04:00
Ivan Iskandar
fa14a1cb6d Implement new extension install methods (#5904)
* Implement new extension install methods

* Fixes

* Resolve feedback

* Keep pending status when waiting to install

* Cancellable installation

* Remove auto error now that we have cancellable job

(cherry picked from commit b284384f0ad318fea24e7324a4621e12eb9aca7f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-09-26 13:28:48 -04:00
Jobobby04
4c63c01501 Cleanup and reduce the amount of time it waits for logouts 2021-09-24 13:06:10 -04:00
Jobobby04
74ba072e01 Build fixes 2021-09-24 13:05:06 -04:00
Andreas
fef5578a17 Reattach after slight delay instead on every db update (#5956)
(cherry picked from commit 1ae0d1b5d0028d297b34eb9d72b6a32885eadfee)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
2021-09-24 12:55:01 -04:00
arkon
b2ee3bf176 Update dependencies
(cherry picked from commit 9de08c8166749a8959f27c78185060b00269e372)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
2021-09-24 12:54:31 -04:00
Ivan Iskandar
e47e6de9f4 Toolbar and bottom nav scroll snap (#5915)
(cherry picked from commit a2d007f2a9cb9273c9f5af3c388fbcebd3642b5b)
2021-09-24 12:53:09 -04:00
arkon
6c7a3fb809 Fix setting search re-animating on activity recreation (fixes #5882)
(cherry picked from commit 774f818bbb7928ac875412c114d29711086689d8)
2021-09-24 12:53:02 -04:00
arkon
dce264fcae Adjust snackbar durations (closes #5932)
(cherry picked from commit 0ec7121b8f814d39bef16e9830474121cd44b2c0)
2021-09-24 12:52:55 -04:00
arkon
b9fea9c045 Minor cleanup
(cherry picked from commit d7d46f4447746d5719cbc30532522e9ccdf405ca)
2021-09-24 12:52:47 -04:00
Andreas
3d5e5da022 Remove spaces at end of line before removing multiple new lines (#5928)
(cherry picked from commit 45fad147bfcc10d0fcece135d2196e74bda4a15e)
2021-09-24 12:52:39 -04:00
Aria Moradi
970967104e rewrite getFormat the kotlin way (#5930)
(cherry picked from commit 3664195c71a7b5f3f43f4307d85ec306152181eb)
2021-09-24 12:52:30 -04:00
arkon
c2543e6238 Remove setting to disable update error notifications and split out notification channel
Users can exclude things from updating if needed, or disable the notification channel from system settings.

(cherry picked from commit fce3cd00a1f7ed557c04a40d676c6a32a4237482)
2021-09-24 12:52:23 -04:00
arkon
f3d867f9aa Move extension app info button
Aligns with TachiyomiJ2K.

(cherry picked from commit 33b3be0d0ed66f249cc956587feed050ac3d2769)
2021-09-24 12:52:16 -04:00
Ivan Iskandar
6af5f085cf Fix toolbar title alpha (#5910)
(cherry picked from commit cfd1b4a6c6ae55118a985ec5cb1f7858cc3a3e87)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-09-24 12:52:05 -04:00
Gauthier
4ac2873a57 handle maxNumberSort from API (#5917)
(cherry picked from commit d45fefd6f0383fc39ceba461db25666e17405628)
2021-09-24 12:50:06 -04:00
Ivan Iskandar
240b485a65 Change how the bottom navigation is hidden (#5823)
* Change how the bottom navigation is hidden

Modifies the translationY instead of the height.

* Cleanups

(cherry picked from commit f125ab01ee07d7144f93e1c67cfcf425f0df5779)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-09-24 12:49:59 -04:00
Soitora
57b9376b83 Allow preferences to multi-line (#5905)
(cherry picked from commit 971d8a7e40d24950f472864e171fb07bd175832c)
2021-09-24 12:47:36 -04:00
arkon
6618f848ea Unify NSFW flagging for sources/extensions
Since multisource extensions are no longer a thing, we now simply rely on the flag at the extension level, i.e. the per-Source/SourceFactory `@Nsfw` annotation is no longer checked.
We'll have to remove all of the annotation usages from the existing sources, which will also effectively break the setting for older versions of the app.

(cherry picked from commit a2cf210a524894e5c1d1f062e4813086b46777a4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionPresenter.kt
2021-09-24 12:47:29 -04:00
Jozef Hollý
7d82320c82 Weblate translations (#5852)
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Ahmed gamal <12355.ahmedgamal.com@gmail.com>
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: DarKCroX <darkcrox.2020@outlook.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: 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: Long Nguyễn Khánh <khanhlong17112000@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Maciej Sładkiewicz <krecio555@gmail.com>
Co-authored-by: Madddog1997 <madddog1997@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Nguyễn Thanh Bình <sikea0801@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rocco Casadei <roccobot@gmail.com>
Co-authored-by: Scoop <Scoo0p@yandex.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Tymofii Lytvynenko <till.svit@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
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/es/
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/it/
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/sk/
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: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Ahmed gamal <12355.ahmedgamal.com@gmail.com>
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: DarKCroX <darkcrox.2020@outlook.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: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Long Nguyễn Khánh <khanhlong17112000@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Madddog1997 <madddog1997@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Nguyễn Thanh Bình <sikea0801@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rocco Casadei <roccobot@gmail.com>
Co-authored-by: Scoop <Scoo0p@yandex.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Tymofii Lytvynenko <till.svit@gmail.com>
Co-authored-by: monolifed <monolifed@protonmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
(cherry picked from commit b5d83bdb5658b58ec7a5b431bd235960695e6db7)
2021-09-24 12:45:55 -04:00
FourTOne5
e7803d305f Don't count "other" as a language. (#5901)
(cherry picked from commit 2c495c4119d050e330677e445798cd2ec8a9ff53)
2021-09-24 12:45:33 -04:00
Jobobby04
23928d3c89 Fix Merged Manga not refreshing 2021-09-17 16:16:59 -04:00
Jobobby04
7ffe1794d9 Fix more info crash 2021-09-17 15:40:39 -04:00