Commit Graph

5199 Commits

Author SHA1 Message Date
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 c666dd623d)
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 2cd8733212)

# 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 4b2a9bc621)

# 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 12a9d0575d)
2021-09-01 18:40:58 -04:00
arkon f2a8ee3c20 Tweak theme preference item UI (closes #5805)
(cherry picked from commit edcfa28b0b)
2021-09-01 18:40:57 -04:00
Jobobby04 3ba3f4bbb2 Update depenancies 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 b5e118e2b4)
2021-09-01 18:40:56 -04:00
arkon fe4344c518 Keep coroutine methods (fixes #5662)
(cherry picked from commit dfec0e45ed)
2021-09-01 18:40:55 -04:00
Ivan Iskandar 499b07f988 Remove reader page number inset margin (#5661)
(cherry picked from commit 5aea21a194)
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 3155829994)
2021-09-01 18:40:54 -04:00
Soitora 3ab7c18e32 Fix shadow behind the Expand Info icon (#5804)
(cherry picked from commit d25707554e)
2021-09-01 18:40:54 -04:00
e-shl 11d6098d2b [Translation]RU (#406) 2021-09-01 17:35:21 -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 6f85f0a6d5 Fix tablet layout crash 2021-08-27 12:51:05 -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 df683375b1)

# 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
arkon e36957f00b Update Kotlin and Kotlinter
(cherry picked from commit cc3cbbc4bb)
2021-08-27 12:51:03 -04:00
Taco 18deebf728 Replace NetworkInfo with NetworkCapabilities (#5785)
(cherry picked from commit 6922394b8e)
2021-08-27 12:51:03 -04:00
Taco f7e219e9ac Use NotificationChannelCompat utilities (#5781)
(cherry picked from commit 24fd82d773)
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 57aefcd917)

# 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 b3854ad382)
2021-08-27 12:51:01 -04:00
arkon 9a4e6bef7f Fix toolbar text color in light blue theme
(cherry picked from commit 5f5fc77877)
2021-08-27 12:51:01 -04:00
arkon e8c67999bc Split out appearance settings from general section
(cherry picked from commit 0493e77cff)

# 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 6240fe1dfc)
2021-08-27 12:51:00 -04:00
arkon a9a8e44ef6 Make nav overlay non-clickable (maybe fixes #5727)
(cherry picked from commit beb7f90908)
2021-08-27 12:50:59 -04:00
arkon 1559250f90 Update deprecated Android Gradle DSL calls
(cherry picked from commit a3917972b4)

# Conflicts:
#	app/build.gradle.kts
2021-08-27 12:50:59 -04:00
arkon 3fdd433d89 Update tracker services logo layout (closes #5625)
(cherry picked from commit 7094fef37f)

# 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 b6143467b6 [skip ci] Move acknowledgements to bottom of issue templates
(cherry picked from commit 0f41e56a24)

# Conflicts:
#	.github/ISSUE_TEMPLATE/report_issue.yml
#	.github/ISSUE_TEMPLATE/request_feature.yml
2021-08-27 12:50:58 -04:00
arkon 3cf1ae0aa4 Use custom tabs instead of browser (closes #5754)
(cherry picked from commit 6c527d52fb)
2021-08-27 12:50:57 -04:00
arkon 49916667a7 Fix blue background under action mode text selection handlers in blue theme
(cherry picked from commit 909aed4262)
2021-08-27 12:50:57 -04:00
arkon b40d25f929 Update dependencies
(cherry picked from commit 9a45983f17)

# Conflicts:
#	app/build.gradle.kts
2021-08-27 12:50:57 -04:00
Soitora 6d0f620629 Bold author and artist fields (#5770)
(cherry picked from commit 11926014da)
2021-08-27 12:50:56 -04:00
Andreas 6d8ab85ef5 Tweak MangaInfoHeader (#5766)
Make margin between transparent toolbar and cover more match 1.x
Fixes from when view was redone with MotionLayout

(cherry picked from commit 72002c13d6)

# Conflicts:
#	app/src/main/res/xml/manga_info_header_scene.xml
2021-08-27 12:50:56 -04:00
arkon 51c864fb86 Move PR template
(cherry picked from commit 6ed767ae84)
2021-08-27 12:50:55 -04:00
Soitora 9a5787af29 Add a much more clean design to Chips (#5765)
Based on the default chips and what is seen on J2K/Neko

(cherry picked from commit 3826b307f7)
2021-08-27 12:50:55 -04:00
Ivan Iskandar 6ac95ffcd6 Add haptic feedback to reader page slider (#5763)
(cherry picked from commit 887b157056)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-08-27 12:50:54 -04:00
Soitora 41a16b6e83 Add a Pull Request template (#5764)
(cherry picked from commit d36dd39743)
2021-08-27 12:50:54 -04:00
arkon 1b2e0d1b11 Adjust blue theme
(cherry picked from commit dd008bc13a)
2021-08-27 12:50:53 -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 50b282f58b)
2021-08-27 12:50:53 -04:00
arkon cc384d1f25 Minor cleanup
(cherry picked from commit 7d2caeb270)

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

# 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 708e71a35a)
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 4eaccc966e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-08-27 12:50:50 -04:00