Commit graph

4152 commits

Author SHA1 Message Date
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
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
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
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
Ivan Iskandar
035a1518ad Less hacky way to make sure bottom action toolbar doesn't scroll down (#5871)
* Less hacky way to make sure bottom action toolbar doesn't scroll down

* Fix action toolbar overlapping on landscape

* Disable app bar transparency when ActionMode is present

(cherry picked from commit 7b3c18bb97e1ca6b8889d7aa271d715cfee684d4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-09-12 13:10:33 -04:00
Ivan Iskandar
889a61704f MangaController: Fix listeners cancelled when pushing new controller within (#5883)
(cherry picked from commit f41bde5ee1562a1ed46d7ef6f00dc194c5071772)
2021-09-12 13:10:04 -04:00
Gauthier
b7c0c7a094 use chapter_number instead of ordinal index for syncChaptersWithTrackServiceTwoWay (#5846)
use v2 api for Komga tracker for series

(cherry picked from commit 6151318ac18aa816bb01170e101f33a53c19ed70)
2021-09-12 13:09:56 -04:00
Ivan Iskandar
3d71e643e1 MangaController: Title fixes (#5879)
* MangaController: Move toolbar's TextView reference to ElevationAppBarLayout

* MangaController: Update title alpha earlier when exiting

(cherry picked from commit b45c3227291228e9b9a7de0b24f33e97f6c66981)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-09-12 13:09:49 -04:00
Jobobby04
e38255e895 Migrate to the new mangadex list response 2021-09-12 13:07:18 -04:00
Jobobby04
98f285f777 Cleanup 2021-09-11 11:48:32 -04:00
Jobobby04
982f4d6a97 Debug function to clear watched sources 2021-09-11 11:48:17 -04:00
Jobobby04
972716d884 Only use site specific handlers if data is empty 2021-09-11 11:43:16 -04:00
Jobobby04
6f93fdd089 Cover includes on user follows 2021-09-11 11:42:51 -04:00
Jobobby04
f0329cfafa Improve mangadex title selection 2021-09-11 11:42:19 -04:00
Jobobby04
95e14a9ef9 Cleanup 2021-09-06 16:41:09 -04:00
FourTOne5
c66b57a3b4 Use "isOnline" utils in DownloadService (#5863)
* Use isOnline

* when -> if/else

(cherry picked from commit 156feb6e8effa76431bc3c0baf0c588803869ec8)
2021-09-06 16:40:36 -04:00
arkon
71533fb2bc Read from streams for local source manga details and legacy backups
(cherry picked from commit e942b8a4023be55737d9c11e5e62c7ea9b072c3f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
2021-09-06 16:40:36 -04:00
Andreas
cf742c65aa Remove the remaining MotionLayout (#5854)
* Remove the remaining MotionLayout

* Use ImageButton instead of Blank View to handle taps in dead area

And some tweaks

(cherry picked from commit abdb67a123d714401ede9760dfae797f37bb8c56)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/xml/manga_summary_section_scene.xml
2021-09-06 16:40:35 -04:00
arkon
2f5718c92f Retain GLUtil.maxTextureSize
(cherry picked from commit ee20787c5e95ef0100e763f5a634b7086ca1fecf)
2021-09-06 16:39:05 -04:00
arkon
97ddafe539 Clean up some companion object usages
(cherry picked from commit ec4e631760607700481d453fef21f38bd4aebf49)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsDownloadController.kt
2021-09-06 16:39:04 -04:00
Aran Leite
0f0937adf5 Skip bookmark check when cancelling downloads (#5853)
* Skip bookmark check when cancelling downloads

* DownloadManager: simplified filteredChapters declaration

* Completed documentation of DownloadManager's deleteChapters()

(cherry picked from commit 02b430a5bf3bdf7db6c9e04fd3f954cce4558d12)
2021-09-06 16:39:03 -04:00
arkon
6eac0f6f98 Fix crash in settings search (fixes #5855)
(cherry picked from commit 7878053df2e7c431f7d7a61b418567e4891bf87f)
2021-09-06 16:39:03 -04:00
arkon
66d4966463 Queue tracking updates when offline (closes #1497)
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit 5ae4621da10710acb5a966f6570e1603d0d3ca3f)
2021-09-06 16:39:01 -04:00
arkon
e734f7d13d Fix chapters getting deleted when marking as unread from library (fixes #5755)
(cherry picked from commit 5ea8d0546e1eed8f799c3e49a50aa2f05d31bb1e)
2021-09-06 16:39:00 -04:00
arkon
f29717272d Minor cleanup
(cherry picked from commit 8a064c118f8661192d15c6b88ad890d044d2d029)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-09-06 16:39:00 -04:00
arkon
50a9a907de Don't allow focus on reader containers (closes #5727)
(cherry picked from commit 2f91c27df2eec0a86a41936a7185c39424838931)
2021-09-06 16:38:59 -04:00
Soitora
3cb05b1442 Hide language tag when only one language is used (#5834)
* Hide lang tag when only one lang used

* Comment the code

Can't be too useless and do nothing, Ghostbear practically wrote the entire PR for me

* Exclude 'all' from counting as a language

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Use existing Preferences directly from Presenter

* Replace regex with an existing value

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
(cherry picked from commit 763bd54707ce48ef67a0d5062cfbe014675ef522)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-09-06 16:38:58 -04:00
arkon
f51f9eb371 Retain scroll position when selecting app theme preference
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit 0de3558ab3d96e9aa38c77d78b78e0870c0b64bf)
2021-09-06 16:38:57 -04:00
arkon
eda451a2e4 Rearrange themes, rename "Blue" to "Legacy Blue"
(cherry picked from commit 069f4e12d8b6a05d647f4fcebf639dd298eca13c)
2021-09-06 16:38:56 -04:00
Quang Kieu
98da48ad73 Edit mangas' Categories in Library using TriState list (#5422)
* Use QuadState Categories to edit mangas in Library

Add updateMangasToCategories to build build correct Categories list for
  each manga using Common and Mix list
Update QuadState Multi-Choice to either Action or Display List
  Display list would have different state sequece from Action
  Uncheck-> Indeterminate (only if initial so)-> Check

fixup manga categories logic as Windows and push request comments

* fixup: Use QuadStateTextView.State enum

Update function to use  QuadStateTextView.State enum that missed in last change

* fixup: missing closing bracket and type cast

Co-authored-by: quangkieu <quangkieu1993@gmail.com>
(cherry picked from commit ee711dc0fb317bf1a661ede66ad392b8d1416274)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-09-06 16:38:55 -04:00
arkon
ca1699aabb Migrate to flow version of ReactiveNetwork
(cherry picked from commit c316e7faabf078229b7a12d811a1ef5815778f8b)
2021-09-06 16:38:55 -04:00
arkon
c45019e19c Don't show update progress notifications if job isn't active anymore (closes #5844)
(cherry picked from commit 7083b3d912a93b774f80adf760fdc32540c09b8d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2021-09-06 16:38:54 -04:00
Ivan Iskandar
0feb9d338f Tablet UI override (#5830)
* Tablet UI override

* Tablet UI advanced pref

(cherry picked from commit 0df23ab87870b87190a3942585da834eff5ed97a)

# 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/setting/SettingsAdvancedController.kt
2021-09-06 16:38:53 -04:00
Jobobby04
9dc5aedba4 Hide the option to change cover on expand 2021-09-06 16:38:52 -04:00
Jobobby04
cc38579fca Cleanup 2021-09-06 16:38:51 -04:00
Jobobby04
52cdb636c9 MangaDex, add support for Bilibili chapters 2021-09-06 16:38:50 -04:00
Soitora
7e162c99ce
Add SY-specific status icons (#412)
For MangaDex
2021-09-03 16:47:10 -04:00
Soitora
d294bc0b2a Add status icons to manga info (#5832)
* Add icons to manga status

* Slightly better formatting

Mixed in with a dose of syntactic sugar

* Remove unnecessary lines

I think they are, at least

* Change according to review comments

- Fix forgotten Tablet code removal
- Change 'android:background' to 'app:srcCompat'

* Adjust size of icon

Smaller and more fitting to the environment

(cherry picked from commit d935e22f0df88d59e6e527cbc3db5dd7d908df35)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-09-03 15:28:00 -04:00
Jobobby04
e34c61c750 Manga Info Header onDestroyView 2021-09-03 15:25:24 -04:00
Jobobby04
d9c9ed45bb Orginization 2021-09-01 18:41:16 -04:00
Jobobby04
19a00ce582 Temp fix for clear db, dont click it 2021-09-01 18:41:15 -04:00
Jobobby04
42d8b97f9b Improve loading display of namespace tags 2021-09-01 18:41:14 -04:00
Jobobby04
af4979fcba Fix name mismatch warning 2021-09-01 18:41:14 -04:00
Jobobby04
b571ccccaa Fix tag margins 2021-09-01 18:41:13 -04:00
Jobobby04
94595a99ac Support Comikey chapters 2021-09-01 18:41:12 -04:00
Jobobby04
adc6398589 Fix compiling 2021-09-01 18:41:12 -04:00
arkon
aa144603e2 Use ShapeableImageView for rounded thumbnails instead of Coil transformations
(cherry picked from commit 0e26abf7a63e7d9a9e719ae9e25483c5a6d9b21f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
2021-09-01 18:41:11 -04:00
arkon
4624754895 Added a getting started guide action for when the library is empty
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit b9f7660a91b901ea84fca6dde1655513582d64a0)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
2021-09-01 18:41:10 -04:00
Ivan Iskandar
7da6af5138 Fix MangaController's loading view initial position (#5827)
Make sure the loading view is hidden before updating the offset.

(cherry picked from commit 18b5250ed1067423f2c4bb0955f14350697afc5b)
2021-09-01 18:41:09 -04:00
nicki
15cd238223 Trim line breaks in manga info only when collapsed (#5818)
* don't trim newlines if summary expanded

* move description trim logic to separate function

* logic error oops

* let's try something

* fix bug on first load

makes it so that, description text is trimmed when entering manga from
library

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

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

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-09-01 18:41:09 -04:00
Ivan Iskandar
44b6983b3d Fix animated image detection (#5826)
(cherry picked from commit bd033db84c5b7fe2dbb01886f99c0df456b8f930)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-09-01 18:41:08 -04:00
Andreas
09a6e3661f Handle small cover better (#5815)
(cherry picked from commit ab036312a488650279bb5dba18550490e7524b15)
2021-09-01 18:41:07 -04:00
Jays2Kings
efd085cbcf Update kitsu to not show "null" for empty descriptions
(cherry picked from commit e6ea530532523ed033fd232fcea2da8f17b973f7)
(cherry picked from commit 634da1519184a1cbfbce7ed7e9bcc7bc7e7cf1b2)
2021-09-01 18:41:07 -04:00
arkon
79c3c7f356 Make appearance settings searchable (fixes #5814)
(cherry picked from commit cea1720ea07b60245e55f6ce491a377fe84ae59a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/search/SettingsSearchHelper.kt
2021-09-01 18:41:06 -04:00
arkon
28a3dfeeea Fix crash when tapping title of "App theme" preference
(cherry picked from commit b77edb2b5b1e2c2f21cfbbc97f8cadbf307e7cc8)
2021-09-01 18:41:05 -04:00
arkon
28ffb9288f Fix reader action sheet not opening
(cherry picked from commit 1b699bb814ac68b72098e09073dd2b6eeb11e569)
2021-09-01 18:41:05 -04:00
arkon
b530216f21 Clean up reader action sheet layout
(cherry picked from commit 333c035fede73d0baca6550d8ce020ffb28f877c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
#	app/src/main/res/layout/reader_page_sheet.xml
2021-09-01 18:41:04 -04:00
Andreas
74437e6809 Replace MotionLayout with full screen dialog (#5806)
* Remove MotionLayout and add full screen dialog for enlarged cover

* Address some of the review comments

(cherry picked from commit e7d6dfff530db08a8380e68425b9f9d11da497cb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/res/xml/manga_info_header_scene.xml
#	app/src/main/res/xml/manga_info_header_scene_sw720dp.xml
2021-09-01 18:41:03 -04:00
arkon
b916907491 Register TachiyomiImageDecoder after built-in Coil decoders
Not sure if this is related to #5702.

(cherry picked from commit eebfad5a95e8ae88e1ee519c1919d996d924088c)
2021-09-01 18:41:03 -04:00
arkon
b045ee1ba6 Tweak theme preference item UI
(cherry picked from commit 77c0a93ac6dfdfece022928d48464630ee5e46b2)
2021-09-01 18:41:02 -04:00
arkon
5d46569137 Rename Layout category to Navigation
(cherry picked from commit 63a3e126b3b6ef545d62360bb9ca3d7af75fe07a)
2021-09-01 18:41:01 -04:00
Ivan Iskandar
8875c3f9bb Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled (#5801)
* Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled

Tested with Gboard only.

* Revert "Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled"

This reverts commit 068399db

* Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text inputs when incognito is enabled

Source preference is not affected.

* Source preference stuff

(cherry picked from commit 3ea84cf0ce23d37a1787663834ab9922f10577f8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt
2021-09-01 18:41:01 -04:00
arkon
676d8c85a0 Only update chapter/viewer flags for library manga instead of everything (addresses #5809)
(cherry picked from commit 7fa80ae556de6492cbb60c10a3d751ade5c14c72)
2021-09-01 18:41:00 -04:00
arkon
8d757ff37a Clean up track button changes
(cherry picked from commit 925f71af15b777d436cb1f8f7f00f3eae817ec76)
2021-09-01 18:41:00 -04:00
OncePunchedMan
6deab45e80 Tracking: replace tick with button (#5768)
* make check only visible after selecting an item

* replace tick with button and send to bottom

* fixed button visibility

* grey btn out

* resolving some bits

* removing the tick from appbar

* remove useless lines, appl insetter

(cherry picked from commit c666dd623d2efdac2ec5a853cd5761a97ef6fd3a)
2021-09-01 18:40:59 -04:00
Gauthier
54bd0c155f change Track.last_chapter_read to Float (#5802)
each TrackService can convert it to Int if decimal chapters are not supported

(cherry picked from commit 2cd87332125e8b4c703d2b8f47cfc0d540118a97)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
2021-09-01 18:40:59 -04:00
arkon
6b1e7a8b55 Clean up imports
(cherry picked from commit 4b2a9bc6216d07c4d68902e8161ab75919fcee47)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/MangaQueries.kt
2021-09-01 18:40:58 -04:00
Taco
dafff19fff Use more Compat utilities (#5786)
* Use ActivityCompat.recreate

* Use more KTX extensions

* Use PackageInfoCompat.getLongVersionCode

* Remove unnecessary compat usages

(cherry picked from commit 12a9d0575d432a4bc2f2c471e864d26205aba953)
2021-09-01 18:40:58 -04:00
arkon
f2a8ee3c20 Tweak theme preference item UI (closes #5805)
(cherry picked from commit edcfa28b0b01dae7718b656b9ad4aa30b26227d9)
2021-09-01 18:40:57 -04:00
Jobobby04
baeec9e2e7 Update to support the latest Mangadex API 2021-09-01 18:40:56 -04:00
arkon
402e494cf7 Group advanced battery optimization setting entries
(cherry picked from commit b5e118e2b4078e53049540fb5c74814ff4bdbf99)
2021-09-01 18:40:56 -04:00
Ivan Iskandar
499b07f988 Remove reader page number inset margin (#5661)
(cherry picked from commit 5aea21a194c427d317368a3687f648b56dd6d0d4)
2021-09-01 18:40:55 -04:00
arkon
6b70bdd732 Replace Wi-Fi connection check with WifiManager
Previous implementation couldn't detect Wi-Fi connection while using a VPN.

(cherry picked from commit 3155829994348af8325691b1b86f9e89e5eec249)
2021-09-01 18:40:54 -04:00
nicki
7e8e1fab11
Create Navbar category in Appearance settings (#404)
* add new category for navbar appearance

* update strings for new appearance settings

also adds `pref_category_navbar` for new Navbar settings sub section

* Update SettingsAppearanceController.kt

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2021-08-27 21:26:22 -04:00
Jobobby04
325ac2b43e Cleanup 2021-08-27 13:13:28 -04:00
Jobobby04
9ddadae078 Use "No Group" properly in mangadex 2021-08-27 12:51:06 -04:00
Jobobby04
c29dc695ae Ktlint ignore some stuff 2021-08-27 12:51:06 -04:00
Jobobby04
ff965efcae Tweak chip stroke weight for E-Hentai manga 2021-08-27 12:51:05 -04:00
Jobobby04
c7a43cb36e Fix wildcard import 2021-08-27 12:51:05 -04:00
Jobobby04
4554813588 Build fixes 2021-08-27 12:51:04 -04:00
Hunter Nickel
cfa6c180e7 Apply system animation scale to parts of Tachiyomi that don't respect it by default (#5794)
* Add initial code for scaling animations, apply scale to reader nav overlay

* Rename extension function, apply system animator scale to ActionToolbar

* Apply system animator scale to expanding manga cover animation

* Apply system animator scale to image crossfade (also disables animated covers when browsing)

* Add documentation, make MotionScene Transition comment a bit more clear

* Disable animated covers in MangaInfoHeaderAdapter if animator duration scale is 0

* Disable animated covers in Library if animator duration scale is 0

* Convert loadAny listener to extension function

(cherry picked from commit df683375b1d7a15c03d315e85d4a0327b49f8ceb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCompactGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-08-27 12:51:04 -04:00
Taco
18deebf728 Replace NetworkInfo with NetworkCapabilities (#5785)
(cherry picked from commit 6922394b8ec1a886f6552b86b6d5dc9504f8de10)
2021-08-27 12:51:03 -04:00
Taco
f7e219e9ac Use NotificationChannelCompat utilities (#5781)
(cherry picked from commit 24fd82d7736a34e5fb628a8a8e810d8d9dc93025)
2021-08-27 12:51:02 -04:00
Soitora
5b18769f70 New manga info expander (#5771)
* Replace "More" with Arrows

We used to have arrows but it was set away from the description which took a lot of space.

It was changed to "More" text, but with the recent design changes I think it'd look better to get a mix between them both.

* Properly align icons

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Expand support to Tablets

Get it... expand... hehe 😎

* Fix expanded width

Also fixes so that the constraint for the toggleLess is dependant on the right thing

* Give info toggles its own space

Uses its own margin now to push info rather than just being attached as a info margin.

* Remove weird duplicates I did not add

I did not add these but I don't see a reason to keep dupes

* Add bottom scrim

* Change to centered arrow under info

Anyone wanna experiment/build on top off then feel free to tweak

* Add background glow to icon for contrast

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
Co-authored-by: Andreas <andreas.everos@gmail.com>
(cherry picked from commit 57aefcd9176450c6413d8e34482fb6c57d120498)

# Conflicts:
#	app/src/main/res/drawable/manga_info_more_gradient.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/xml/manga_summary_section_scene.xml
2021-08-27 12:51:02 -04:00
Ivan Iskandar
2bc64c2096 Fix reader crash on Android 9 (#5789)
* Fix failed reader context creation on v28

* Re-apply the reader styles manually after overriding night mode

This commit replaces the ThemeCompat.rebase() call since the private API used is
in dark greylist max target P, thus making it unreachable.

* Revert "Fix failed reader context creation on v28"

This reverts commit 6e2104d7

(cherry picked from commit b3854ad3829dbb97831cd8db3defeb967a89334e)
2021-08-27 12:51:01 -04:00
arkon
e8c67999bc Split out appearance settings from general section
(cherry picked from commit 0493e77cff6e71bcdb8ff679440c4d3df434f326)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
2021-08-27 12:51:00 -04:00
arkon
ae392192f2 Update app theme preference UI
Heavily influenced by TachiyomiJ2K.

(cherry picked from commit 6240fe1dfc9615b0be4bee6e54070e9d21a68b87)
2021-08-27 12:51:00 -04:00
arkon
3fdd433d89 Update tracker services logo layout (closes #5625)
(cherry picked from commit 7094fef37f32c3c598c1808161a59085d27b26d3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt
#	app/src/main/java/eu/kanade/tachiyomi/widget/preference/LoginPreference.kt
#	app/src/main/res/layout/pref_widget_imageview.xml
2021-08-27 12:50:58 -04:00
arkon
3cf1ae0aa4 Use custom tabs instead of browser (closes #5754)
(cherry picked from commit 6c527d52fb3ace3c26ac2b1e25a764e2dd99231d)
2021-08-27 12:50:57 -04:00
Ivan Iskandar
6ac95ffcd6 Add haptic feedback to reader page slider (#5763)
(cherry picked from commit 887b1570564cfc6c6ff5cf7f438ce6c6634df544)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-08-27 12:50:54 -04:00
nicki
517cb437be update Anilist tracking title during refresh (#5760)
Co-authored-by: Andreas <andreas.everos@gmail.com>

Co-authored-by: Andreas <andreas.everos@gmail.com>
(cherry picked from commit 50b282f58ba37dd927a71c93a2a70938358e139a)
2021-08-27 12:50:53 -04:00
arkon
cc384d1f25 Minor cleanup
(cherry picked from commit 7d2caeb27060e8f14c2192f6e7a8931657976e2c)

# Conflicts:
#	.github/ISSUE_TEMPLATE/report_issue.yml
2021-08-27 12:50:52 -04:00
arkon
015327829d Minor cleanup
(cherry picked from commit b8ea57e097f26403171ac70e90fd67cfb8f7aec0)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt
2021-08-27 12:50:51 -04:00
nicki
b293b52cf6 Use user preferred title language in Anilist (#5758)
* Use user preferred title language in Anilist

Since Anilist is only used by authenticated users, the title language
can be set using the `userPreferred` field (defaults to romaji)

Changed wherever `title>romaji` was being used. Shouldn't have missed
any. `userPreferred` is also available for Staff and Character but not
relevant to Tachiyomi for now.

Users might need to go Logout and log back in on Anilist to see the
change. Actual setting can be found at https://anilist.co/settings/media

closes https://github.com/tachiyomiorg/tachiyomi/issues/5757

* correct title in anilist model

indicates the fact that userPreferred title is used

* convert forgotten `type` to `format` as well

leads to NPE when using `findLibManga`.
missed one query in https://github.com/tachiyomiorg/tachiyomi/pull/5741

(cherry picked from commit 708e71a35a275836f1f04ccc5f6de0725c4456f6)
2021-08-27 12:50:51 -04:00
Ivan Iskandar
4603465783 Hide reader progress indicator right away (#5750)
The image will be drawn over it so the animation won't be visible anyway

(cherry picked from commit 4eaccc966eba26a47ed3e6d645dcccf8a4edf8ea)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-08-27 12:50:50 -04:00
Andreas
d621ef0b3a Make default category translatable (#5751)
* Make default category translatable

* Replace duplicate strings with common one

(cherry picked from commit 3670d649b8b011fd3bb10f66e33f221aea2c3b72)
2021-08-27 12:50:49 -04:00
Ivan Iskandar
56a2fec004 Require authentication-confirmation to change biometric lock settings (#5695)
* Requires authentication-confirmation to change biometric lock settings

* Prevent double authentications on older APIs when confirming settings changes

* Use new AuthPrompt API for app lock

With this commit, the app lock will only explicitly require Class 2 biometrics
or screen lock credential. Class 3 biometrics are guaranteed to meet Class 2
requirements thus will also be used when available.

* Use extension toast

(cherry picked from commit 90ab04e81d6ff26656488d3ab4dc3eca4976c5a9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt
2021-08-27 12:50:49 -04:00
Ivan Iskandar
f79ac55182 Partial revert 914b686c8eaf3954e291355975532eb28662c38c (#5749)
Didn't mean to remove this line, this fixes resuming to read downloaded chapter.

(cherry picked from commit 26b8df5354ad6d8a6e147801de009ac3e77d028d)
2021-08-27 12:50:48 -04:00
Ivan Iskandar
add234ce0b PagerPageHolder: Move chooseBackground call to IO thread (#5737)
* ImageUtil.chooseBackground: Use built-in decoder

* PagerPageHolder: Move chooseBackground call to IO thread

Also move stuffs and reuse image stream as bytes

(cherry picked from commit 11a8046c5fa00a6abbaf387ab5c75a9a294a01b8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-08-27 12:50:48 -04:00
Ivan Iskandar
acbc4c48fa Edge-to-edge manga details view (#5613)
* Prepare for edge-to-edge MangaController

* Fix derpy liftToScroll with our own implementation

* Edge-to-edge MangaController

Except when legacy blue theme is used.

* Save app bar lift state for controller backstack

* Fix expanded cover position after the view recycled

* Handle overlap changes when incognito mode disabled

* Tablet fixes

* Revert "Handle overlap changes when incognito mode disabled"

This reverts commit 1f492449

Breaks on rotation changes.

* Fix MangaController's swipe refresh position

* All controllers are now doing lift app bar on scroll by default

They are already doing that before so this pretty much just a cleanups.

* TachiyomiCoordinatorLayout: Support ViewPager for app bar lift state check

I'm willing to revert this if this minute detail solution is deemed too hacky xD

* Fix app bar not lifted when scrolled without fling

* Save app bar lift state across configuration changes

* Fix MangaController's swipe refresh position after configuration change

* TachiyomiCoordinatorLayout: Update ViewPager reference when controller is changed

(cherry picked from commit da16110e1c571526baea34275db41937f68c7e8c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/ConductorExtensions.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-08-27 12:50:47 -04:00
Ivan Iskandar
32fa99377d ReaderTransitionView: Use context theme color for texts (#5738)
* Put themed reader context in adapter

This avoids creating themed context everytime the page holder is created, this
also allows the transition view to use the same themed context.

* Check against app night mode to create themed reader context

* ReaderTransitionView: Use context theme color for texts

The whole reader will need to be recreated when changing reader background while
webtoon mode is used, because recreating just the RecyclerView without messing
up the scroll position is impossible (I hope I just missed something).

(cherry picked from commit 914b686c8eaf3954e291355975532eb28662c38c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
2021-08-27 12:50:47 -04:00
nicki
6aa59325d0 Label one-shots correctly in anilist track search (#5741)
* use format instead of type in anilist search

As per anilist graphql docs, `type` refers to whether anime/manga and is
redundant (since we already limit it to `MANGA`). What we actually want
is `format` which includes whether the media is a One-shot or Manga

This should help in making search a bit better as one no longer needs to
rely on the Date to figure out if its the One-shot entry or the Manga
entry

* Revert "use format instead of type in anilist search"

This reverts commit 6f0ba4888669f414a2093d7632eb1fab109d74de.

Accidentally changed the wrong query while further testing whoops

* use format instead of type in anilist search

As per anilist graphql docs, `type` refers to whether anime/manga and is
redundant (since we already limit it to `MANGA`). What we actually want
is `format` which includes whether the media is a One-shot or Manga

Changes search query and corresponding JSONALManga structure

(cherry picked from commit 27133520fcede737fb2390014443c67dbb8801cb)
2021-08-27 12:50:46 -04:00
Hunter Nickel
b3b1d2abf4 Fix start/resume fab showing up when entering and then exiting action mode (#5735)
(cherry picked from commit 24b967ad5c06cb663f19e98a31b59ed8ec4a4b1f)
2021-08-27 12:50:46 -04:00
Jobobby04
14be5c75ee Fuck motion layout 2021-08-27 12:50:45 -04:00
Hunter Nickel
77138aba72 Add check for current controller before setting extension update tab badge (#5733)
(cherry picked from commit faef35ec4758b9a14bbcddb9a8edc20b7b623769)
2021-08-27 12:50:45 -04:00
Andreas
8da397c7ed Fix today still being displayed even though relative time is off (#5732)
(cherry picked from commit 326d4c2641a37bb20fe1f43528d8b827a6c829d4)
2021-08-27 12:50:44 -04:00
Riztard Lanthorn
ac75ad7489 add Theme "Teal & Turquoise" (#5681)
* add Theme "Teal & Turquoise"

* re sorting & change tertiary dark

* use alpha on ripple color & capitalize

(cherry picked from commit 83436c9550fb46f6322959b01959542e967ec84e)
2021-08-27 12:50:43 -04:00
arkon
2f2352e938 Use separate string for toRelativeString "Today"
Apparently 0 quantity is ignored for some locales...

(cherry picked from commit 071bad123208274a8d4858038b4073a0ce208aa3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-08-27 12:50:42 -04:00
arkon
26e9b45687 Use toRelativeString in Updates and History headings
(cherry picked from commit ae1a76da2bf99d3fb06cede954f188c2169637fa)
2021-08-27 12:50:42 -04:00
Andreas
d33b868991 Use relative time in ChapterHolder (#5719)
* Use relative time in ChapterHolder

Similar to how J2K does it

* Use custom implementation for relative time

* Changes based on review comments

(cherry picked from commit 57a5862840eafc0848c5226376f2f22c48693e5a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
2021-08-27 12:50:42 -04:00
Jobobby04
3059008476 Cleanup 2021-08-27 12:50:41 -04:00
Arraiment
a79c4babae Allow FilterList to be passed with default values (#5716)
(cherry picked from commit 91fbccdbaa9f30bedd7758634aa01478270d1eed)
2021-08-27 12:50:41 -04:00
Long
7b56261719 DNS-over-HTTPS (Adguard) (#5715)
* Update DohProviders.kt

* Update NetworkHelper.kt

* Update SettingsAdvancedController.kt

* fix typo

* Fix typo

* Fix typo

(cherry picked from commit 0ab0dd95ae9a427137d6d94e256284ad4d58fbcb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-08-27 12:50:40 -04:00
Hunter Nickel
dc56b47e16 Add toggle to invert page color in reader color filter settings (#5713)
(cherry picked from commit 4c8dfd0c0cad40c1412d211cd40355f86152559b)
2021-08-27 12:50:40 -04:00
arkon
06976401a5 Open tracker page when clicking logo (closes #5624)
(cherry picked from commit 79da33b597728f93b24fd8461e7c3a63b41e49f0)
2021-08-27 12:50:38 -04:00
arkon
c69bb5b33d Always re-setup background jobs on migration runs
(cherry picked from commit 7d67450e5800c90a6bb3f2d401b048e1acc5b0d0)
2021-08-27 12:50:37 -04:00
arkon
cde6f127b1 Do background app/extension checks less frequently
Since the in-app checks occur at least once a day anyway.

(cherry picked from commit 8aa11951bffd491f52d89815f0f61b40187e37ef)
2021-08-27 12:50:37 -04:00
arkon
4248a3132a Add in-app app update check
(cherry picked from commit f23f22ab0139da91b4da5afcb96541c302566653)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterJob.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-08-27 12:50:36 -04:00
Hunter Nickel
47a534c454 Apply app theme styling to reader page errors and progress dialog (#5705)
(cherry picked from commit d1bb0fdf1dabd59cae2949c707dce441f054d1cf)
2021-08-27 12:50:35 -04:00
Jobobby04
10c8c3baee Add a option to force migrate all nhentai manga to the nhentai other lang
Dont blame me if this breaks your library
2021-08-27 12:50:34 -04:00
Jobobby04
e284c7a921 Add E/Exh popular as the default browse menu, add a Toplists filter for E-Hentai 2021-08-27 12:50:34 -04:00
Ivan Iskandar
374ecde463 Use correct color for reader loading indicator (#5685)
* Revert "Revert "Use correct color for reader loading indicator (#5645)" (fixes #5669)"

This reverts commit a4eba50c

* Fix crash on older APIs

(cherry picked from commit 5e77ae208da1c21eb58f1eb092ac1e9f3151c14a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
2021-08-27 12:50:33 -04:00
Jobobby04
eb7a2ab191 Fix build 2021-08-27 12:50:32 -04:00
arkon
98dfec8fdf Replace AboutLibraries activity with custom controller
(cherry picked from commit 1d10d29fa94f3c22a6e59861c4e1951cdd11dd18)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-08-27 12:50:31 -04:00
Andreas
e3ee972bf3 Add ability to tweak auto hide sensitivity in Webtoon Reader (#5650)
* Tweak threshold

* Put setting under Webtoon instead

Because it only affects Webtoon related viewers

(cherry picked from commit 7907a4fc24c972811feb6dbf14e99200210e3925)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
2021-08-27 12:50:29 -04:00
Jobobby04
f5645a8382 Revert "Use correct color for reader loading indicator (#5685)"
This reverts commit de698fc2334030faeddc787ac3b224f4bc32d316.
2021-08-27 12:50:28 -04:00
arkon
7b038951b0 Remove ability to set in-app language differently from system's
(cherry picked from commit 03980b2f27bc80bc578808f86a1e114a72a3559e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
2021-08-27 12:50:28 -04:00
arkon
bcb15d7ee3 Remove janky tracker icon UI
(cherry picked from commit ab46bd56b03592d2838dfedacd7ab80603932091)
2021-08-27 12:50:27 -04:00
Ivan Iskandar
a90f99c445 Use correct color for reader loading indicator (#5685)
* Revert "Revert "Use correct color for reader loading indicator (#5645)" (fixes #5669)"

This reverts commit a4eba50c

* Fix crash on older APIs

(cherry picked from commit 5e77ae208da1c21eb58f1eb092ac1e9f3151c14a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
2021-08-27 12:50:26 -04:00
Andreas
82f0bf809d Fix weird behaviour in library when switching display mode (#5640)
(cherry picked from commit fd45de5c586d5806ca1bf7f2ced06e27febab92d)
2021-08-27 12:50:24 -04:00
Ivan Iskandar
306deb5e6a Fix forced secure screen disabled after disabling incognito
(cherry picked from commit 245132a1d136d41b5c139c09c58711ce224b6494)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt
2021-08-27 12:50:24 -04:00
Jobobby04
ac6e0acc5d Drop blank 2021-08-27 12:50:23 -04:00
Jobobby04
8bcf2f7b82 Add uploader as a virtual tag 2021-08-27 12:50:04 -04:00
Jobobby04
5598ccf9e6 Search EHentai uploader on click 2021-08-27 12:50:04 -04:00
Jobobby04
478d7f989d Improve Hitomi tag list 2021-08-27 12:50:03 -04:00
Andy Bao
b6f454ba66
Sync J2K fields in BackupManga to fix dupe ID (#400)
See: https://github.com/Jays2Kings/tachiyomiJ2K/issues/878
2021-08-20 18:30:26 -04:00
Riztard Lanthorn
c613784fc4
fix toolbar btn color (#395)
* fix prev btn color in vert seekbar

* fix migration button color

use colorOnToolbar instead of colorOnPrimary
2021-08-16 23:01:41 -04:00
Ivan Iskandar
6257d261b3 Fix wonky webtoon layout on less faster devices
(cherry picked from commit 0d28fb31a39c92f19e8cb8fc0ecf5ca1523c1085)
2021-08-04 23:05:29 -04:00
Jobobby04
3c24137810 Probably fix some weird bug when adding a tag 2021-08-04 22:56:33 -04:00
Jobobby04
03dbd617f9 Revert "Fix webtoon page takes up entire screen even if it's smaller (#5622)"
This reverts commit 4adf840f4b.
2021-08-04 15:10:08 -04:00
Jobobby04
8d7aa4b6a2 Fix filtered scanlators 2021-08-02 00:30:19 -04:00
Jobobby04
ae99b733e7 Better way to logout 2021-08-02 00:18:08 -04:00
Ivan Iskandar
d5423caf91 Change BottomNavigationView behavior (#5603)
Similar to app bar's scroll behavior

(cherry picked from commit ff2a4e69526a2edfa5f3bd7570c09204e5ebb9f9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-08-01 23:55:38 -04:00
Andreas
2b4adc0c7d Don't hide menu when scrolling through with ReaderSeekBar (#5611)
(cherry picked from commit 7660751f7f85112d6c03872b5a3dc13148f425e0)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt
2021-08-01 23:45:35 -04:00
Hunter Nickel
c673385653 Add functionality to open SettingsMainController when double-tapping the "more" button (#5633)
(cherry picked from commit 41c060e28b94362779d1e51d05ff019d2bcdcb56)
2021-08-01 23:39:13 -04:00
Ivan Iskandar
e02057a066 Fix reader activity not using preferred language (#5630)
(cherry picked from commit a3090e62f5491d1a50bb97206dc5534e086959db)
2021-08-01 23:38:39 -04:00
Ivan Iskandar
4adf840f4b Fix webtoon page takes up entire screen even if it's smaller (#5622)
(cherry picked from commit 39b7024be02a98c557633df4b06272ceb85fa1fa)
2021-08-01 23:38:28 -04:00
Jobobby04
9916d89296 New attempt to logout 2021-08-01 21:56:04 -04:00
Gauthier
f56fef667b fix regression in cover fetching (#5621)
introduced in https://github.com/tachiyomiorg/tachiyomi/pull/4870
this was previously done here: 7d23fd8ef5/app/src/main/java/eu/kanade/tachiyomi/data/glide/MangaThumbnailModelLoader.kt (L95) as part of https://github.com/tachiyomiorg/tachiyomi/pull/2908

this impacts Komga extension, where server url is manually provided by the user, but due to auto-correct on mobile keyboards the `http` prefix sometimes get capitalized to `Http`.

(cherry picked from commit 20264eecb9c0e583b8ffc10f9437e8b3797bb0f1)
2021-07-28 17:03:08 -04:00
Ivan Iskandar
404c773fd7 ReaderProgressIndicator: Set indeterminate as default state (#5605)
Will also set to indeterminate if progress is 0.

(cherry picked from commit cc55453076b5055fcd202fa10fa56e86493679c7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-07-28 17:02:58 -04:00
Ivan Iskandar
c177b4516e Fix list scrolling on quad-state dialog (#5602)
(cherry picked from commit 00ac632d8f8a612f3b7479faabdea2c388faeb99)
2021-07-25 14:22:29 -04:00
arkon
2de36cac79 Use chooser intent for sharing saved pages
(cherry picked from commit 649209890d0a7db70dac23bb536d4e40cd8d4b00)
2021-07-25 14:22:20 -04:00
arkon
e422993c2e Remove unnecessary MultiDex library
(cherry picked from commit f2fca0f13d67ca1800b59ca807280316d700d55d)

# Conflicts:
#	app/build.gradle.kts
2021-07-25 14:22:12 -04:00
FlaminSarge
c89f88de16 Revert changes to last_update behavior from #5436 (#5590)
(cherry picked from commit 4084d5e69a2b19470fc32860b9b7c2722841a0f2)
2021-07-25 14:21:41 -04:00
arkon
9e264a3b89 Relax MIUI backup/restore warning
(cherry picked from commit 0e4ce0f1ae8d8edf17519195b9a9ff62fb3b624e)
2021-07-25 14:21:25 -04:00
Ivan Iskandar
673869bd13 Apply default night mode earlier (#5593)
(cherry picked from commit c42d517f6b13652a7fe9edf21b2441bf35ee75b1)
2021-07-25 14:21:17 -04:00
Jobobby04
e40fbbecbb Add a few source helper functions 2021-07-25 14:16:16 -04:00
Jobobby04
81af5a5654 Cleanup 2021-07-25 14:15:27 -04:00
Jobobby04
1699c2ed67 Fix fab appearing after closing cover expand when no chapters are unread 2021-07-24 13:33:33 -04:00
Jobobby04
877adee4f7 Cleanup 2021-07-24 12:49:09 -04:00
Jobobby04
75f5d46f6a Delete the tokens on logout 2021-07-24 12:40:18 -04:00
Jobobby04
464f2b01a1 Manually try authenticating mangadex logout, skip if it fails 2021-07-24 12:38:55 -04:00
Jobobby04
d22b14734d Cleanup 2021-07-22 20:20:51 -04:00
Jobobby04
b30491c8fb Maybe fix crashing from J2k backups 2021-07-22 20:20:35 -04:00
Jobobby04
0c3e8f977c Fix crash with open in webview after migrate 2021-07-22 19:46:42 -04:00