Commit Graph

4783 Commits

Author SHA1 Message Date
Gauthier 1c084d42df Background tracker update during Library update (#5166)
* add preference to auto update trackers during library update

* also update trackers when updating chapters and preference is set

* remove unnecessary launch/join

* perform tracking update within the same chapter update loop to avoid double notifications

(cherry picked from commit e76e903060)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2021-05-28 14:36:47 -04:00
Jobobby04 f245bbcfeb Move Kapt 2021-05-28 14:36:47 -04:00
arkon 29310c86e2 Use 1.x source-api artifact from Maven Central
(cherry picked from commit d8251224cb)
2021-05-28 14:36:46 -04:00
Gauthier f492ad2529 Refactor TrackService.kt to remove unused add function (#5164)
* removed the add function from TrackService.kt as it's not used except within the tracker implementations

* add private modifier

(cherry picked from commit acd927a937)
2021-05-28 14:36:46 -04:00
Jobobby04 33b6912c22 nullIfEmpty 2021-05-28 14:36:45 -04:00
Jobobby04 9e63f32a82 Localize Find in another source 2021-05-28 14:36:45 -04:00
arkon 834e3d78ab Put shortcut to backup menu in More
(cherry picked from commit a498f940c6)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt
2021-05-28 14:36:45 -04:00
arkon 2d2378a1e2 Use Title Case for theme names
(cherry picked from commit 948cb31d1a)
2021-05-28 14:36:44 -04:00
arkon 3cc61bc3b8 Make some strings in LocalSource translatable (closes #5178)
(cherry picked from commit 179cb8eb50)
2021-05-28 14:36:44 -04:00
arkon 6b771b4a70 Handle toolbar title in manga details on tablets similar to on phones
(cherry picked from commit 47f865aa72)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-05-28 14:36:43 -04:00
arkon 9c2eadd8ca Remove unused Gson singleton factory
We don't inject it anywhere anymore.

(cherry picked from commit b47face2f8)
2021-05-28 14:36:43 -04:00
Ivan Iskandar f09c977661 TabbedBottomSheetDialog: Fix scrollable pages (#5173)
(cherry picked from commit 69869115f6)
2021-05-28 14:36:43 -04:00
Soitora 2acc364960 Added "Strawberry Daiquiri" theme (#5176)
(cherry picked from commit 0fb9ca3e8b)
2021-05-28 14:36:42 -04:00
arkon c63300d9ad Tweak tablet manga info column width
(cherry picked from commit eaf9c9b2d8)
2021-05-28 14:36:42 -04:00
arkon c90aec5c3d Organize some classes
(cherry picked from commit 70d9b0c390)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-05-28 14:36:41 -04:00
Gauthier 8e6f04f258 pull the rate limit interceptors from the extensions repo (#5163)
apply a rate limit to anilist, current limit is 90 per minute

(cherry picked from commit e57a999c9c)
2021-05-28 14:36:41 -04:00
arkon 354c61cf59 Update AGP and AboutLibraries
(cherry picked from commit 3b49289cfb)
2021-05-28 14:36:41 -04:00
Soitora 606101dc8b Add "Midnight Dusk" and "Hot Pink" themes (#5161)
* Organize and clarify themes file

Increases clarification with better commenting, should make it easier to add or modify current themes.

* Make AMOLED its own theme category

* Tweak ripples for AMOLED

* Add "Midnight Dusk" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add "Hot Pink" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>

* Make AMOLED a base theme

* Final tweaks

Rename "Toolbar.Light" to "Custom.PopupTheme"
Changes placing of backgroundDusk

Removes HotPink and MidnightDusk custom Toolbars, I believe they are unnecessary.

* Rename a Midnight Dusk color

* Make AMOLED independent from Dark as a theme

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
Co-authored-by: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>
(cherry picked from commit 176e984b56)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-28 14:36:40 -04:00
Ivan Iskandar 97eda86ac4 Remove top margin of PreferenceCategory if no title set (#5168)
(cherry picked from commit b5a700276a)
2021-05-28 14:36:40 -04:00
Ivan Iskandar dd4384767c Fix incognito mode disabled after the app kicked out of memory (#5167)
The application class onCreate will also be called when user navigates to an
activity after the app process is killed by the system.

So make sure the incognito is disabled only when the entry point of the app is
created from scratch (e.g. after being force closed by the user).

(cherry picked from commit 3c186a3c8d)
2021-05-28 14:36:39 -04:00
Jobobby04 b18075de14 Cleanup 2021-05-28 14:36:39 -04:00
Jobobby04 c39ec81f42 Metadata cleanup 2021-05-28 14:36:38 -04:00
Eugene 99d23a47b7 18+ tag to Lewd Check (#336) 2021-05-25 14:54:54 -04:00
Jobobby04 481f600056 Double page spread share/save options 2021-05-23 18:23:45 -04:00
Jobobby04 143d0d2518 Fix reader settings crash 2021-05-23 18:23:44 -04:00
Soitora 38fef11287 Fix SY themes after custom ripple changes (#332)
* Fix SY Themes and Ripples

* Slightly increase ripple brightness in AMOLED

* Override AMOLED highlight for the failure that is Hot Pink
2021-05-23 18:23:22 -04:00
arkon 9adbb1b115 Option to move nav rail buttons to bottom of screen (closes #5158)
Based on https://github.com/Jays2Kings/tachiyomiJ2K/commit/90be3e34948d41daf3fd695ef09d60eb6adf960e

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit a462ce3626)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/res/values/strings.xml
2021-05-23 15:40:27 -04:00
arkon ec9967d2d6 Fix reader chapter sort ordering (fixes #5157)
(cherry picked from commit 065cf42aea)
2021-05-23 15:36:20 -04:00
arkon ba0e353ea1 Revert "Prevent view from being removed if a to is found (#5135) (#5152)"
This reverts commit 974275a429.

(cherry picked from commit 986b709f2c)
2021-05-23 15:36:10 -04:00
Soitora e5131e1985 Create a toolbar variable for ripples (#5159)
* Rename rippleNavColor to rippleSecondaryColor

It's not just for the navigation anymore

* Add a rippleToolbarColor for toolbar ripples

Fixes so you can use specialized colors in case of using a theme such as Dark Blue or Light Blue

* Add so text buttons are also themed secondary color

Apparently this is also a common Google app thing

* Changes variable name for Navigation Rail

(cherry picked from commit fed6f44995)

# Conflicts:
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-23 15:35:59 -04:00
arkon 43555b3b1a Hide irrelevant settings on tablets
(cherry picked from commit 1b52acdad7)
2021-05-23 15:34:50 -04:00
arkon 3419bebb70 Update Discord logo asset (closes #5143)
(cherry picked from commit 10a638c6b8)
2021-05-23 15:34:42 -04:00
Jobobby04 b13ca1a097 Lint and build fixes 2021-05-23 15:34:29 -04:00
arkon dd914047f8 Tablet manga view
(cherry picked from commit 7875f363a8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-05-23 15:34:13 -04:00
arkon 666447faac Fix resume button not considering filters
(cherry picked from commit 685736b9ec)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2021-05-23 14:56:33 -04:00
arkon e9a21a6bbe Use same chapter sorting logic in manga and reader views
(cherry picked from commit aefd2bf6f8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2021-05-23 14:54:40 -04:00
arkon de4e0abef4 Update reader chapter list filtering to handle not downloaded/bookmarked (closes #5107)
(cherry picked from commit ce9fb2f1fe)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-05-23 14:51:35 -04:00
Antoine Gaudreau Simard ac7e2909ba Prevent view from being removed if a to is found (#5135) (#5152)
Introduced in c68e7c8da7

(cherry picked from commit 974275a429)
2021-05-23 14:49:55 -04:00
arkon 14de1973a3 Fix some RecyclerView heights (fixes #5146)
(cherry picked from commit 98461f9bca)
2021-05-23 14:49:46 -04:00
Jobobby04 3053bf9d5d Double page spread
(cherry picked from commit 7832d1abe1fdcdb962f388e5a86dd3fcecad6712)
2021-05-23 14:49:09 -04:00
Jobobby04 3192140421 Disable mangadex covers and use temp covers 2021-05-23 14:48:14 -04:00
Jobobby04 80cf38a70d Fix mangadex covers 2021-05-23 14:43:12 -04:00
arkon 42bbf07859 Update ripples for tablet NavigationRail (fixes #5145)
(cherry picked from commit 094f78fb41)
2021-05-22 18:28:39 -04:00
Soitora 9b4aac7ce5 Ripples patch (#5144)
* Combine ripple_dark and ripple_light

Fixes AMOLED theme and doesn't require two seperate items.

* Fix ripple for the new About icons

* Fixes nav/tab ripple in Dark Blue and Light Blue themes

* Theme some ripples using their Style instead

(cherry picked from commit 33dcdc1599)

# Conflicts:
#	app/src/main/res/values/themes.xml
2021-05-22 18:28:04 -04:00
arkon ab64e51c6b Fix action toolbar positioning (fixes #5099)
(cherry picked from commit 8870ccb18c)
2021-05-22 18:22:36 -04:00
arkon 82a92b9497 Fallback to default viewer properly (closes #5068)
(cherry picked from commit 2a7ed1375a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-05-22 18:22:21 -04:00
arkon a855c4a929 Fix vector from being rasterized during build
(cherry picked from commit 54b50cca71)
2021-05-22 18:08:28 -04:00
arkon de6c428d72 Enforce same height for about links
Discord is kind of scuffed because the icon isn't vertically centered properly.

(cherry picked from commit 1c10ba7925)
2021-05-22 18:08:20 -04:00
Soitora a34133f526 Change tab ripple color (#5142)
Does what Google apps does, uses the colored ripple for Tabs as well and not just bottom nav.

(cherry picked from commit 2b8df691ff)
2021-05-22 18:08:13 -04:00
arkon 56d127003f Shrink Komga logo asset
(cherry picked from commit 15da856303)
2021-05-22 18:07:55 -04:00