5724 Commits

Author SHA1 Message Date
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
paulo27ms
31dfac3ece [skip ci] Update issue closer to ignore myanimelist (#5911)
Not sure if there's any limitation for the regex but this will ignore myanimelist strings, in practice.

(cherry picked from commit be001d090c251d0b126cec4d22b4fca5d0124b0c)
2021-09-24 12:47:45 -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
Jobobby04
3b0523268a Fix build errors 2021-09-12 14:49:52 -04:00
arkon
5c3326e47d Fix scroller getting dragged incorrectly in RTL (fixes #5496)
(cherry picked from commit 7c72d6cb7cefc4d649d453c5f36bd7a10ff8f313)
2021-09-12 14:44:27 -04:00
arkon
f269483072 Don't show option to delete chapters for local manga (closes #5243)
(cherry picked from commit 8362bf0886d5c12e2a588895d470098fedf68529)
2021-09-12 14:44:19 -04:00
arkon
8717c30498 Add link to help translate in about
(cherry picked from commit 1a8155c45b087eca4ecf6283402c5ff2c4cdfbe6)

# Conflicts:
#	app/src/main/res/values/strings.xml
2021-09-12 14:44:10 -04:00
FourTOne5
a4dd13f491 Update ExtensionPresenter.kt (#5895)
(cherry picked from commit 3f2f94601917ddba9eaee1056790490ae8fe5ffc)
2021-09-12 14:43:13 -04:00
arkon
823bd024b7 Minor cleanup for download delete exclusion
(cherry picked from commit 2c14a8dee168b297ecab13894316934916ed03be)
2021-09-12 14:43:05 -04:00
arkon
eac2301e76 Fix manga info expand button background
(cherry picked from commit 917a283bd1562a7410cef1df281cbd1f56e59fa5)
2021-09-12 14:42:57 -04:00
arkon
01401b6312 Opt out of WebView metrics and disable Google Safe Browsing
cf. https://developer.android.com/guide/webapps/managing-webview

(cherry picked from commit 3e403d5ab36160257ddc630e4f00a2a0b7337a15)

# Conflicts:
#	app/src/main/AndroidManifest.xml
2021-09-12 14:42:47 -04:00
Ivan Iskandar
4a93a93839 Reuse reader's image view in MangaFullCoverDialog (#5824)
* MangaFullCoverDialog: Support animated drawable

* Scaled zoom duration

* Wrap reader's image view to be reused in MangaFullCoverDialog

* Cleanups

* Forgot animated stuff for webtoon view

* Cleanups

* Oopsie

* Cleanups

* Consistent max scale for SubsamplingScaleImageView

The max scale will be obtained from the default scale times 3 for
consistent 3x zoom scale.

(cherry picked from commit 746d35b52be76b1ba75be62cdc1192a769fb9661)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
2021-09-12 14:42:13 -04:00
Jace
f77ac8cb36 Change ProtoNumber of Backup Models for History and Source to a non-zero digit (#5849)
* Change ProtoNumber of Backup Models for History and Source to non-zero

Changed BackupHistory url and BackupSource name properties

* Provide backwards compatibility to current proto backups

- Added data class for zero-based protoNumber
- Restore both 'new' proto and old ones by mapping old to 'new' proto format
- Thanks to @jobobby04  for providing the initial solution.

* Fix on createBackup missing parameter for brokenSource

* Fix issues on build

* Fix missing import on FullBackupRestore

(cherry picked from commit 9a7a03e32744a966f01ad184cad3775b9e715dd8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/models/Backup.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/models/BackupManga.kt
2021-09-12 13:34:54 -04:00
tobinstultiens
d9d94ed321 Allow exclusion on Delete After Read per category (#5857)
* Added the exclude category from delete after being read

* Stopped it from adding a wildcard to the import

* Placed the remove after read to the download manager

(cherry picked from commit a051079c6a2719e5f7429b289281ea3b3138aace)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsDownloadController.kt
2021-09-12 13:33:36 -04:00