Commit graph

4816 commits

Author SHA1 Message Date
Jays2Kings
66f77aafc0 Fix download button colors 2023-03-02 22:39:01 -05:00
Jays2Kings
57daa70c07 refactor recent_manga_item 2023-03-02 22:29:12 -05:00
Jays2Kings
0a2991de96 Show scanlator's name in updates if grouped updates also has the same chapter
Also fixes to the xml preview of the download button
2023-03-02 20:07:29 -05:00
Jays2Kings
9a48186d7f Update & unify error layout in reader
matches upstream, few extra changes with it though
also refactoring on the material button main theme

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2023-03-02 17:25:10 -05:00
Jays2Kings
5e44436361 Fix download status not updating in recents 2023-03-02 14:15:04 -05:00
Jays2Kings
991d46c8aa Replace RxJava in SettingsAdvancedController 2023-03-02 01:50:34 -05:00
Jays2Kings
9c521e23ce Replace RxJava in webtoonholder 2023-03-02 01:45:48 -05:00
Jays2Kings
b7fc06d2ad Replace RxJava in reader transitions
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2023-03-02 01:17:42 -05:00
Jays2Kings
d2d650da70 fix opening recents from widget from cold app start 2023-03-02 00:06:49 -05:00
Jays2Kings
c4a59fd711 fixed collapsing/expanding state in recents update when resuming app 2023-03-01 17:26:44 -05:00
Jays2Kings
ec30ad1930 Combine grouped chapters if more are fetched while paginated 2023-03-01 17:14:51 -05:00
Jays2Kings
6182ae73d7 cleanup unused methods in last commit 2023-03-01 16:44:50 -05:00
Jays2Kings
3a1855bc1d Updates to update section in recents
Fetched header now updated to be a bit more modern; no more shadow
Manga with multiple updates in a day are now grouped together, with the first unread chapter at the top (or last read chapter first)
Few fixes to the ghost view behind the recycler (might adapt to other places soon enough)
Group chapters together setting now changed to collapse grouped chapters, by default the lists are expanded
This change also means that when grouping, manga will show again on a different day when previously it did not
2023-03-01 16:15:49 -05:00
Jays2Kings
c4901ce732 helper method for hiding chapter titles
also fix invalid chapter numbers showing "Chapter -1"
2023-03-01 15:48:10 -05:00
Jays2Kings
90054bf9d2 update download button's ripple 2023-03-01 15:22:43 -05:00
Jays2Kings
f1768d3918 random cleanup 2023-03-01 15:22:32 -05:00
Jays2Kings
953f3c48f0 Open updates when tapping on an empty space on the widget 2023-02-28 16:31:56 -05:00
Jays2Kings
4b523f6b9e clean up import in PagerPageHolder 2023-02-28 16:30:53 -05:00
Jays2Kings
6872616db5 replace subscription with job in PagerPageHolder
also more fixes to the auto shifting
2023-02-28 02:27:46 -05:00
Jays2Kings
d93f9d6a45 More fixes to auto shifting
such as when the first page is a full page and the 2nd page is the left page of a manga (so page 1 and 2 need to be by themselves)
2023-02-27 02:02:48 -05:00
Jays2Kings
a29a14970d clean up ImageUtil 2023-02-26 20:43:57 -05:00
Jays2Kings
87fe634b1c minor tweaks to automatic double shifting
Making sure the 2nd page doesn't undo a shift when the first page needs it + fixes to the page landed on when switching between single and double page via settings
2023-02-26 20:43:47 -05:00
Jays2Kings
a925f72a0a Automatically shift double pages if first page is an end page
Basically if page 1 is the left page in a manga's set of pages, isolate that page and page 2 and 3 would be stitched together instead. This same logic is applied if page 2 is the right page (as page 1 could be a scanlator credits page or misc, which be hard to tell where to place it)
2023-02-26 18:56:48 -05:00
Jays2Kings
ceb971302f fix preload reader page setting not reflecting 2023-02-26 15:45:09 -05:00
Jays2Kings
8dda29c783 light cleanup in MangaPlus file 2023-02-26 15:43:39 -05:00
Jays2Kings
e09ae4d347 Avoid uncaught exceptions from OkHttp interceptors crashing entire app
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2023-02-26 15:43:25 -05:00
Jays2Kings
00e45a5edd Version 1.6.2
Happy version code 100!
2023-02-17 13:43:19 -05:00
Jays2Kings
37314ba675 Fix local sources showing a download button in details 2023-02-17 13:43:19 -05:00
Weblate (bot)
d683af3f96
Weblate translations (#1506)
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bg/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ceb/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/eu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fa/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/gl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/he/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ka/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/kk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/km/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/lt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/lv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/te/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hant/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Cliff Heraldo <123844876+clxf12@users.noreply.github.com>
Co-authored-by: ID-86 <id86dev@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: PedroJLR <jacobnchrono@gmail.com>
Co-authored-by: Yurical <yurical1@outlook.com>
Co-authored-by: altinat <altinat@duck.com>
Co-authored-by: aşina orkan göksel aşina <examplehuman@outlook.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: jinu147 <nesqea20@gmail.com>
Co-authored-by: manuel kristo <manuelkristo12@gmail.com>
Co-authored-by: saurus <sokphanun@gmail.com>
Co-authored-by: shadowzephyr <shadowzephyr88@gmail.com>
Co-authored-by: 朔夜月 <a03175ii0@gmail.com>
2023-02-17 12:53:42 -05:00
Jays2Kings
8d45237c18 revert back part of the build gradle 2023-02-16 21:46:02 -05:00
Jays2Kings
b153883f05 update other libs 2023-02-16 21:44:38 -05:00
Jays2Kings
1bd7df254b Update appcompat to 1.6.1 2023-02-16 21:37:40 -05:00
Jays2Kings
a70a05c99b Reader no longer hides menu when double page spreads zoom in for certain conditions
For example, while scrubbing through chapters and when scrolling through pages while the current page is zooming in
2023-02-16 17:06:39 -05:00
Jays2Kings
480567419f Handle unimplented chapter urls 2023-02-16 17:04:56 -05:00
Jays2Kings
98cba545a5 Show tracking error while reading
Shows the tracking logo when a single tracker failed, says "failed to update tracker names" if multiple failed
2023-02-16 16:14:31 -05:00
Jays2Kings
a99dac2b23 refactor Context.isOnline() 2023-02-16 16:13:56 -05:00
Jays2Kings
05d5e89c58 Filter enhanced trackers from manga details when not supported 2023-02-16 13:49:45 -05:00
Jays2Kings
ab98376091 Cleanup the reader save logic a bit 2023-02-15 19:08:18 -05:00
Jays2Kings
66d65dff2f Fix requested page, when device config changes when app is in BG 2023-02-15 14:29:22 -05:00
Jays2Kings
ab735491c9 Cleanup in reader 2023-02-15 14:28:51 -05:00
Jays2Kings
72e35f590b Reset requested page in reader for read content
Also fixed page index not being remembered when switching chapters in reader
2023-02-14 20:59:27 -05:00
Jays2Kings
d75a2318a9 Add Reader Setting to Skip Dupe Chapters
Add reader setting to filter dupe chapters with same scanlator priority.

Slightly changed to check if any of the current chapter's scanlators are in another chapter (since scan groups like to collab)

Co-Authored-By: MCAxiaz <mcaxiaz@gmail.com>
2023-02-14 20:35:38 -05:00
Jays2Kings
a64753b4ac Add option to hide entries already in library when browsing sources
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2023-02-14 20:35:10 -05:00
Jays2Kings
a09fd8ac48 Glance widget for Recents
Recents because its using the same logic as app shortcuts already use

Also added Compose + Kotlin 1.8.10 but no one cares about that

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2023-02-14 20:35:10 -05:00
Jays2Kings
71e2a54d13 Fix crash in reader when rotating sometimes 2023-02-14 14:36:30 -05:00
Jays2Kings
15a16048ae Allow deleting bookmarked chapters option
Some minor tweaks to this:
* tapping delete download on manga details/recents WILL delete the chapter, regardless of bookmark status
* Tapping Remove all downloads in manga details will remove all downloads still, since there's an option to remove all but bookmarks anyway (library like upstream still deletes all)

closes #1470

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2023-02-14 14:03:10 -05:00
Jays2Kings
3fecc0bedb Combine Popular & Latest Source screens
#stillNoTabs
Closes #1471 one way or another
2023-02-14 13:19:32 -05:00
Jays2Kings
d443da4dcc Convert ReaderPresenter to ReaderViewModel
Also fixed certain sources without a contenttype not loading
Also remove HTTP 103 interceptor
Also upgrade some serialization libraries
Look a lot of stuff got taken from upstream if you're reading this commit and you work on main your code is probably is in this commit

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2023-02-14 03:13:21 -05:00
Jays2Kings
98319daba4 Version 1.6.1 2023-02-12 17:20:21 -05:00
Jays2Kings
41eb012592 Fix pressing back clearing search on A13 while keyboard is showing
Fixes #1473
2023-02-12 16:27:01 -05:00