4046 Commits

Author SHA1 Message Date
Jobobby04
6e8ee38238 Improve data saver handling 2021-12-12 12:16:07 -05:00
Jobobby04
7e7f707c1b Fix redundant extensions 2021-12-11 15:37:59 -05:00
arkon
b9fdb774f5 Refactor backup restore process to stop relying on file extension
(cherry picked from commit 6107f5f3d20cc5788411a1c3a53aace373575762)
2021-12-11 15:02:33 -05:00
arkon
7c30cb0e21 Show version name in new update notification
(cherry picked from commit 13afa9f47673a54fb3fca112fd53ab67617bc6d9)
2021-12-11 15:02:25 -05:00
arkon
5d5df6f502 Don't preselect any options in library remove manga/downloads dialog (closes #6333)
Since apparently people don't read and either option is considered destructive to different people.

(cherry picked from commit cd87c7e88efafd5800b563d51c2ede4a84ad5e4b)
2021-12-11 15:02:18 -05:00
arkon
08d022d5e2 Update notification icons
Although no recent version of Android even shows these....

(cherry picked from commit ed4dea86860d39ba1e7d18c2191f4ee697753f7b)
2021-12-11 15:02:10 -05:00
KieuQ
d5d6f9428c Add download action to New Chapters Notification (#6336)
(cherry picked from commit 808177f8c9385a6f12a0467428384ef02a2456ab)
2021-12-11 15:01:59 -05:00
arkon
d1d8e8ed84 Check if dynamic colors are available using official API
(cherry picked from commit 9b64b0139cf4e768ed70dd0b9bb11078efc8d664)
2021-12-11 15:01:03 -05:00
Carlos Ruiz
1b04ce0ac6 Add sui support (#6318)
* Update shizuku api version

* SettingsAdvanced Controller: Verify if Sui is available

(cherry picked from commit 0a6160d7cf8a343ebe60ec814c42e3272a015d2e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-12-11 15:00:55 -05:00
Ivan Iskandar
3a4641f32c SourcePreferencesController: Also call onBindEditText listener set by extension (#6310)
(cherry picked from commit e51a6d332ec61aee94f516f7770e8a8568130cde)
2021-12-11 15:00:08 -05:00
jmir1
83ef443e59 Automatically set tracker as completed after reading the last chapter (#6289)
* Automatically set tracker as completed after reading the last chapter.

* use integer value in comparison

* also set `started_reading` date

* don't use source manga's status

* remove useless line

(cherry picked from commit a9d2741e6ab1f2c54398703a3ae7c0272a458b89)
2021-12-11 14:59:59 -05:00
Ivan Iskandar
81c089299e Tabbed bottom sheet adjustments (#6309)
* SimpleNavigationView: Don't set background and elevation

* Add divider for tabs in bottom sheet

(cherry picked from commit be0a23d9ad6a82ed9b26eaa6248807a80876db63)
2021-12-11 14:59:40 -05:00
Ivan Iskandar
d71ca9ae0f Apply elevation overlay to colored navbar (#6308)
(cherry picked from commit 458a0e608ac9cff97e8152f1a6f9bb4242b69dc2)
2021-12-11 14:59:33 -05:00
Jobobby04
c5b2aa180e Data saver: Long click a source to exclude, also downloader can be excluded.
Small rewrite of Data saver
2021-12-04 14:12:20 -05:00
Jobobby04
21346eefe2 Minor lint fixes 2021-12-02 20:54:54 -05:00
Jobobby04
42da9abe3e Build fixes after cherry picking 2021-12-02 20:44:05 -05:00
arkon
df07276e20 Avoid loading available extensions list if it seems too small
(cherry picked from commit 6a39c8fc13821a3b6d8f0efd738254154f4b7148)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
2021-12-02 19:35:35 -05:00
arkon
4a87181d3b Throw exceptions if some of the deprecated source methods are used
(cherry picked from commit be4f27028c8abfd5f115909bee4024160c3c3fc3)
2021-12-02 19:30:10 -05:00
arkon
c49c2b28eb Allow loading extension-lib 1.3
(Which doesn't actually exist yet, but will at some point after the next major release)

(cherry picked from commit 60e73e2d1f89e254616fb5659d9f53f6399bbdba)
2021-12-02 19:30:02 -05:00
arkon
586bd3301d Add convenience extension functions for rate limit interceptors
To be included in extension-lib 1.3 as a replacement for the lib that's currently compiled in tachiyomi-extensions.

(cherry picked from commit e8f284d377ebe6930e147cd36494020d4ae96f47)
2021-12-02 19:29:56 -05:00
arkon
a3a27dc1c6 Add UnmeteredSource interface
To be included in extension-lib 1.3 (or whatever it's going to be). This applies to sources like Komga or Lanragi, where large numbers of update/download aren't of concern since they're (usually) self-hosted.

(cherry picked from commit 3ea3b0bf2ecc3f74a790af2012dd4f4a6b2ab3f7)
2021-12-02 19:29:50 -05:00
jmir1
b2b5854910 Fix local source cover changing (#6252)
* fix local source cover changing

* Remove unnecessary check for `exists()`

* fix for when there is no thumbnail_url in the db

(cherry picked from commit 10ddeeb7999214f1ed2fa579dadab7e9e379c1a6)
2021-12-02 19:29:08 -05:00
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