3874 Commits

Author SHA1 Message Date
Ivan Iskandar
8ad6e89ca6 MinMaxNumberPicker: Set IME input to use number only (#6286)
* MinMaxNumberPicker: Set IME input to use number only

* MinMaxNumberPicker: Auto disable keyboard input when needed

(cherry picked from commit 3463d6c752cfc1145f4c8db9f65f145002ece5fb)
2021-12-02 19:29:00 -05:00
Henrik
f4f898c5c5 fix MAL search novel filter (#6279)
(cherry picked from commit 8acce011b507db125f71e1dff5cdd76fc5be914c)
2021-12-02 19:28:51 -05:00
arkon
f2b071ee9d Fix crash in clear database screen (fixes #6271)
(cherry picked from commit 6cfd2c510b9ee15bc393db44ad4adce0dfc5c915)
2021-12-02 19:28:23 -05:00
arkon
fba5b999dd Add tertiary badge in appearance preview (closes #5867)
(cherry picked from commit 430ff80198b4441fab9c693ddbe906f74b1d7069)
2021-12-02 19:28:15 -05:00
arkon
43ef18cdc3 Partially migrate LocalSource to 1.x methods
(cherry picked from commit 46a4b0e0b676f72fa747a65bedbb00a68ebdb501)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
2021-12-02 19:27:53 -05:00
arkon
295d80e741 Add ability to clear cookies per-extension (closes #3153)
(cherry picked from commit bba7372556b7760350d507bb9484043aebfb2050)
2021-12-02 19:22:44 -05:00
Hunter Nickel
7efde9c74c Add feature to clear database manga by source (#6241)
* Implement feature to selectively clear manga from database based on it's source

* Code cleanup and refactoring

(cherry picked from commit 9fe1a7e2ae14c4d7e70bfd85516d91c44514f04a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/MangaQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/RawQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-12-02 19:22:32 -05:00
arkon
475dc87604 Option to clear chapter cache when MainActivity is closed (closes #5651)
(cherry picked from commit 98822a39d9524b08f5954f6bb58ac1d9c704b76d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-12-02 19:12:09 -05:00
arkon
f049e1e2db Tweak app theme preference selection (closes #5866)
(cherry picked from commit a2c830b90812e57a228dccfbebfb6976dc856fd6)
2021-12-02 19:11:34 -05:00
Ivan Iskandar
4b25e3c31e Replace Resume FAB reveal animation with container transform (#6250)
(cherry picked from commit bdef2cfdfb50800c35c028a7d41343a99bf95f60)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/widget/RevealAnimationView.kt
2021-12-02 19:11:20 -05:00
Andreas
ecbd80c55d Tweak relative date function (#6249)
* Tweak relative date function

* Cleanup

(cherry picked from commit f229a5e2ec66c45847db36e64efe73f52cc86b8e)
2021-12-02 19:01:47 -05:00
Ivan Iskandar
1fd495f8d8 Reinstate elevation overlay (#6243)
* Theme default elevation overlay

* Fix app bar elevation overlay

Elevation overlay is disabled when tabs are visible

* Remove custom elevation overlay in tracking sheet item

* upsi

(cherry picked from commit 845e06138299c0333ca90ed9578422567779a9ac)
2021-12-02 19:01:41 -05:00
arkon
1a2311e7ba Update dependencies
(cherry picked from commit b4ba56bfb4db31ce121975e4f04db3b666cc4009)
2021-12-02 19:01:25 -05:00
Jobobby04
af89ebaa42 Remove Pure red theme 2021-12-02 19:00:09 -05:00
arkon
19cdcdcab7 Address some Android lint warnings
(cherry picked from commit ad49a028799b669b9abfe82639c78dee8a7a073f)

# Conflicts:
#	app/src/main/res/anim/fade_in_long.xml
#	app/src/main/res/drawable/ic_broken_image_grey_24dp.xml
2021-11-14 18:48:37 -05:00
Andreas
bc73e9f1d8 Fix "Check for updates" not working due to time cooldown (#6232)
* Fix "Check for updates" not working due to time cooldown

* Update AppUpdateChecker.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>
(cherry picked from commit c0d0ff66b6b73efae29635a61e4ee2ea13a925b3)
2021-11-14 18:35:15 -05:00
Jobobby04
4ea72f5342 Keep future chapters on Mangadex like Billibi and Comikey 2021-11-14 18:34:22 -05:00
Jobobby04
0df5376545 Mangadex support completed status 2021-11-13 22:46:03 -05:00
Jobobby04
508f025092 Minor cleanup and fix build 2021-11-13 17:43:40 -05:00
Jobobby04
b41c4cac47 Cleanup filter sheet adapter 2021-11-13 17:43:17 -05:00
arkon
4795c16877 Only allow digits in custom download range dialog (closes #6220)
(cherry picked from commit 1e4d7f8c6e94669b929435cfe1da570a460faa35)
2021-11-13 17:31:42 -05:00
arkon
a9dc395e19 Initial pass of Material 3 styling
Adjustments/fixes to follow.

(cherry picked from commit a8a761aa5f6487fa6bf70d192cc73eb5a345d91c)
2021-11-13 17:31:35 -05:00
OncePunchedMan
49afc8c559 Added tabletUI option: "Automatic" (#6208)
* added automatic tablet ui option; useful for foldables

* set automatic as default, rename setting

* remove redundant checks

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

* remove redundant checks

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

* fix defaultValue

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 41952f02156c888c68157ce123f82c1a6f8a323c)
2021-11-13 17:31:26 -05:00
arkon
1cf6e030ef Don't auto-download chapters if excluded but no categories selected (fixes #6126)
(cherry picked from commit 39722055f5a776263dd1b9080271fbeabff9b82b)
2021-11-13 17:31:09 -05:00
arkon
0f70c14879 Remove legacy blue theme
Causing too many theming issues/complexity. This will make the Material 3 transition easier.

(cherry picked from commit f85dfa90b867c80b7a456c07ee03f99c9b71a987)
2021-11-13 17:31:00 -05:00
arkon
e4f493503d Default to only updating non-completed manga
(cherry picked from commit 0a4163d236a971a2c0a5a1f723b308940c755cc3)
2021-11-13 17:30:52 -05:00
Andreas
ab6445d010 Fix SwipeRefresh initial position in MangaController (#6211)
* Lower position of swipe refresh

* Tweak existing code that sets swipe refresh position

(cherry picked from commit 78de11a9e3d0b09698ad7605e798c2ab8a8c7606)
2021-11-13 17:30:44 -05:00
arkon
188f2bf4f2 Use sw720dp for tablet UI threshold
(cherry picked from commit d2fc6d9f44c402263f1811636de103279db04b8a)
2021-11-13 17:30:37 -05:00
arkon
9af4751095 Fix cutoff ripple for extension install cancel button
(cherry picked from commit abf31f4a798f56b859b115cc8c9121e6bd4211a0)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionHolder.kt
2021-11-13 17:30:27 -05:00
arkon
c67193d00f Avoid crashing when notification channels can't be created/deleted
For example, the application may be launched from a service, where channels cannot be deleted.

(cherry picked from commit d4aeeadb26b19d0eccbf9c9adcfd459d7a3927da)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
2021-11-13 17:28:03 -05:00
arkon
683c9a9c69 Disable updates badge by default
(cherry picked from commit 7ce0110158d1d6cd05060974395f6d34c0e54b41)
2021-11-13 17:26:28 -05:00
Jobobby04
2e4120d436 Should fix crash with migration 2021-11-07 17:05:31 -05:00
Jobobby04
892f64829b Fix some weird behavior with saved searches 2021-11-02 19:47:20 -04:00
Jobobby04
bfe6ed1c12 Lint 2021-11-02 19:30:38 -04:00
Jobobby04
93f8a42742 Only show push to mdlist if mdlist is logged in 2021-11-02 19:14:18 -04:00
arkon
4d3e4bbea8 Update metadata in same scope as the rest of library update (fixes #5702, probably)
(cherry picked from commit 7c1e55eb7fa7568f99577ae3534a61876842b362)
2021-11-02 19:09:02 -04:00
jmir1
c04550fe15 Fix crash when updating library whithout manga to update (#6181)
(cherry picked from commit 27542bc81d24e08f077af5996dc354bfefac76f5)
2021-11-02 19:08:54 -04:00
arkon
be2e95db38 Clean up local source chapter name cleaning (closes #5969)
(cherry picked from commit 9ebbfb2d908778e993723847bba74a1abcf78281)
2021-11-02 19:08:47 -04:00
arkon
39449b66e1 Fix bottom nav sometimes appearing within navbar area
(cherry picked from commit 701b1ee7445ad5194df3bbbe3babd7a7cfb10590)
2021-11-02 19:08:37 -04:00
arkon
d95833fce7 Move app and extension update notifications to new channels/group (closes #6168)
(cherry picked from commit 0edc981cd2331e70b43ff71f5c23ed74758d934e)
2021-11-02 19:08:30 -04:00
arkon
13f1f37a3e Remove unused fast scroll bubble drawable and accidentally committed file
(cherry picked from commit da5942b398cd015173dce1059fc723d58ef56bf8)
2021-11-02 19:08:21 -04:00
arkon
d699d3899c Move unread chapters badge setting to General section
(cherry picked from commit 709de81814c672aaf5042d1ff6c84c8360563681)
2021-11-02 19:08:15 -04:00
Ivan Iskandar
4ad33540f3 Extension "Update all" button (#6171)
Disabled for legacy installer

(cherry picked from commit 90b312a56e38adb7e161178e00ab1934398f18e0)
2021-11-02 19:08:08 -04:00
Hunter Nickel
951418b576 Add badge to bottom bar Updates tab indicating how many unread chapter updates are available (#5620)
Co-authored-by: arkon <arkon@users.noreply.github.com>
(cherry picked from commit 459759bfe5950db2e7203f5675e422c2014b083d)
2021-11-02 19:08:00 -04:00
Riztard Lanthorn
af6b42cec7 Hide cutout toggle button if fullscreen is off (#6150)
(cherry picked from commit 33a02b47d5e54b207fe2d50cfe0b754db22a6c4b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderGeneralSettings.kt
2021-11-02 19:07:29 -04:00
Tom Briden
ec6b6ae779 Fix storing covers for local manga (#6127)
getCoverFile only returns a cover if it already exists, meaning
the block of code to write it from the inputstream never executes.
If getCoverFile returns null, then use previous behaviour of setting
it to cover.jpg so that if the file doesn't exist it's created

(cherry picked from commit f0a5557e603e31a53117c40426237d2340142bc2)
2021-11-02 19:06:35 -04:00
FlaminSarge
23fae05694 Allow manga titles to update from source if they are not in library (#6177)
The previous rationale for not allowing manga titles to update (at all) was that it would be confusing for users if a manga's title arbitrarily changed when the source changed it. Presumably, users would care less about this arbitrary change for manga that is not in library, so this provides a path for getting a manga's title updated, and prevents incorrect titles from persisting in the DB for manga that get title updates but aren't in library.

(cherry picked from commit 58a871c8cc600dbf59691e9c51413ef9b7da3796)
2021-11-02 19:06:09 -04:00
arkon
eb49df6ee8 Validate backup during creation
(cherry picked from commit 4f560717869f5ac9fe0b1626cedf3ce5affce74b)
2021-11-02 19:06:02 -04:00
Andreas
29a24fa047 Change zoom from 3x to 5x (#6164)
Because some people actually read images with really small text

*I hope they have some extreme high quality pictures else I don't know how they read the raster images*

(cherry picked from commit 8f00d34b0b3a5dc30f12ff5a22fd242ade84defe)
2021-11-02 19:05:45 -04:00
arkon
d8407e20da Sync view state with controller on activity resume
Hopefully fixes some weird states where the bottom nav shows up when it shouldn't.

(cherry picked from commit 593091a5e304eff771604ff2a91cdc0c886c4d68)
2021-11-02 19:05:27 -04:00