Commit graph

4436 commits

Author SHA1 Message Date
Jays2Kings
1ad3034a3d More updates to filtered library
Remove swipe to refresh on this screen
Remove filter sheet and throw group library and display options into the toolbar
2022-12-17 14:36:41 -05:00
Jays2Kings
f9fcd8fab7 fix last commit 2022-12-17 13:50:39 -05:00
Jays2Kings
35d81dfd97 Update stats details library if something is removed/migrated 2022-12-17 04:10:57 -05:00
Jays2Kings
4b56d84428 include source language in name only when needed in stats
+ warning fixes
2022-12-17 04:09:39 -05:00
Jays2Kings
8e2b35182b only hide category header name in filtered list if using category as the main stat
in the stat details page of course
2022-12-17 03:26:26 -05:00
Jays2Kings
4cd9c81b92 Fix stats count not being accurate when filtering categories
only happens when manga are in multiple categories
2022-12-17 03:07:07 -05:00
Jays2Kings
0c94c8fa82 Fix library/manga details back button not working correctly while selecting items 2022-12-17 03:05:47 -05:00
Jays2Kings
698456f4b2 Use FilteredLibrary to search on manga details
instead of going back to library it'll open our new subscreen to search. Also giving that option on browse manga detail pages (only for tags, title/author will still directly global search)
2022-12-17 03:05:17 -05:00
Jays2Kings
3bf27c5da3 Hide collapse all button in filtered library 2022-12-17 02:38:07 -05:00
Jays2Kings
21cd9c7f6a Support categories in filtered library/stats
ok so I did the last one
2022-12-16 23:02:52 -05:00
Jays2Kings
0b9cf41c75 Support chapter length in filtered library/stats
All that leaves is category, which I wont bother with
Also show "x chapters" in the length
Also part of last commit: show a star beside score in details page
2022-12-16 19:46:44 -05:00
Jays2Kings
f75c3d7acf Remove StatsData.casedLabel
just use the regular label and uppercase it
2022-12-16 19:25:14 -05:00
Jays2Kings
f10c36348c use controller context for StatsDetailsPresenter
so it respects the language selected
2022-12-16 18:48:10 -05:00
Jays2Kings
fcaec5a030 random cleanup 2022-12-16 18:45:50 -05:00
Jays2Kings
93d8ce7918 show source langauge when using an ALL langauge source if the extension supports multiple langauge
ie "Special Source Name" will show "Special Source Name (ALL)" when using that using the ALL source, even if English & All id the only languages on, but the Eng source will only show "Special Source Name"
2022-12-16 18:44:59 -05:00
Jays2Kings
8b918e370f convert chapters_plural to use string instead of digits 2022-12-16 16:46:21 -05:00
Weblate (bot)
112ae5ce2e
Weblate translations (#1451)
Co-authored-by: Abay Emes <abayemes@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Bujdosf <bujdos.f01@gmail.com>
Co-authored-by: CherryMonster222 <eljubeily+github@pm.me>
Co-authored-by: Christian Elbrianno <crse@protonmail.ch>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ID-86 <id86dev@gmail.com>
Co-authored-by: InfinityDouki56 <ced.paltep10@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Kostiantyn Kopelets <kostyakopkop@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Ricardo <contatorms7@tutamail.com>
Co-authored-by: Rostyslav Haitkulov <info@ubilling.net.ua>
Co-authored-by: Saïd Boudjenane <said.boudjenane@protonmail.ch>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: Uzuki Shimamura <hzy980512@126.com>
Co-authored-by: alex <hdhdhfhfbbffhhfhfjfjf@gmail.com>
Co-authored-by: altinat <altinat@duck.com>
Co-authored-by: aşina orkan göksel aşina <examplehuman@outlook.com>
Co-authored-by: fangzheng <fz0000@sina.com>
Co-authored-by: for gdrive <gdrivefor00@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: nestra2 <jordigf987@gmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
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/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
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/eo/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
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/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/kk/
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/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nb_NO/
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/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
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: Abay Emes <abayemes@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Bujdosf <bujdos.f01@gmail.com>
Co-authored-by: CherryMonster222 <eljubeily+github@pm.me>
Co-authored-by: Christian Elbrianno <crse@protonmail.ch>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: ID-86 <id86dev@gmail.com>
Co-authored-by: InfinityDouki56 <ced.paltep10@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: Kostiantyn Kopelets <kostyakopkop@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Ricardo <contatorms7@tutamail.com>
Co-authored-by: Rostyslav Haitkulov <info@ubilling.net.ua>
Co-authored-by: Saïd Boudjenane <said.boudjenane@protonmail.ch>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: Uzuki Shimamura <hzy980512@126.com>
Co-authored-by: alex <hdhdhfhfbbffhhfhfjfjf@gmail.com>
Co-authored-by: altinat <altinat@duck.com>
Co-authored-by: aşina orkan göksel aşina <examplehuman@outlook.com>
Co-authored-by: fangzheng <fz0000@sina.com>
Co-authored-by: for gdrive <gdrivefor00@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: nestra2 <jordigf987@gmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
2022-12-16 16:27:56 -05:00
Jays2Kings
7e0a446d76 Added filtered results for score/start year/language
also fixed filtering of language
2022-12-16 15:55:31 -05:00
Jays2Kings
9c24bb752b Clean up warnings in LibraryPresenter 2022-12-16 13:35:04 -05:00
Jays2Kings
2bf895c549 Updates to filtered library
Chip filters in stat details page now carry over to the filtered library list
No longer showing "search globally" header
2022-12-16 13:29:28 -05:00
Jays2Kings
8f71492a77 Remove itemAnimator in manga detail tablet header 2022-12-16 02:04:41 -05:00
Jays2Kings
067f6997a5 Merge branch 'hinge-support' 2022-12-16 01:58:07 -05:00
Jays2Kings
b1fe58c237 More hinge support
Better sizing for the hinge gap for split images
Support natural double page spreads + single pages
Also support on manga details

this is as far as i go with this so like it or not it closes #1384

I'm so sorry Carlos, I used none of the code you showed me 😔
2022-12-16 01:57:40 -05:00
Jays2Kings
6875463333 Update PagerTransitionHolder.kt 2022-12-16 01:27:40 -05:00
Jays2Kings
d2217f44d7 Suppress ClickableViewAccessibility in MangaDetailsController 2022-12-16 01:27:17 -05:00
Jays2Kings
82cc5840d4 Fix crash for fresh installs 2022-12-16 01:26:47 -05:00
Jays2Kings
4f0caca3c0 hinge support 2022-12-15 18:55:39 -05:00
Jays2Kings
0572287693 Prevent invalid user agent header values from being set
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-12-15 17:49:48 -05:00
Jays2Kings
e9087583a0 Fix series type filters not showing when returning to library sometimes 2022-12-15 17:27:10 -05:00
Jays2Kings
173fc8b32c Add option to tap on certain stats for a filtered library
For series type, status, source, tracker, and tag; open a subclass of the library to only show the filtered results
2022-12-15 17:26:50 -05:00
Jays2Kings
46e0eb4233 Remove onShowAllClicked from CategoryRecyclerView 2022-12-15 16:23:54 -05:00
Jays2Kings
50d8ef2ffa cleanup StatsDetailsController 2022-12-15 16:23:26 -05:00
Jays2Kings
f84ca6930f force open in browser to open full browser
also force tracking links to open in custom tabs
2022-12-15 12:18:31 -05:00
Jays2Kings
c2a043c85b Refactor stat details
more optimized by making the chart/sort part of the header in a recycler, removing the nested scroll view
Change Mean score to "Mean tracking score", removing the tooltip
Allow clicking on the detail items in read duration, allowing to go to manga details (and maybe will enable for more screens later
Removing nested scrollview also means activity config changes (ie rotation/theme changes) do not reset everything
Some cleaner animations when changing sorts or filters
2022-12-15 01:13:09 -05:00
Jays2Kings
831647df76 fix ktlint warnings 2022-12-15 00:48:58 -05:00
Jays2Kings
b6fe149ea0 Refactor ExtensionGithubApi
to main with main
2022-12-14 17:21:24 -05:00
Jays2Kings
eb9069dbdf Fix ExtensionInstallService not updating when exts have the same version code but new libversion 2022-12-14 16:36:25 -05:00
Jays2Kings
e3d131a993 Fix downloading notification not being ongoing 2022-12-14 16:18:37 -05:00
Jays2Kings
1f935070bb Prompt Extension update if ext-lib is updated
Co-Authored-By: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2022-12-13 16:40:10 -05:00
nzoba
92513e11d1
Fix stats range changed when using arrows (#1452) 2022-12-13 14:36:36 -05:00
Jays2Kings
4904337ad5 Add JavaScriptEngine abstraction to extensions-lib 2022-12-13 00:53:35 -05:00
Jays2Kings
576089193a Add methods to get manga and chapter url
Also added a way to open manga's chapter in webview via long pressing a chapter on the details page
2022-12-13 00:52:47 -05:00
Jays2Kings
34869c20bb Add support to update strategy on global update
+ Requests: add `GET(HttpUrl)` overload

Starting line for Extensions on 1.5
2022-12-13 00:21:59 -05:00
Jays2Kings
f411eafef9 Automatically dismiss library filters on load when filters are active 2022-11-11 16:54:57 -05:00
Jays2Kings
c0509b5821 Fix stats detail button background 2022-11-11 16:54:29 -05:00
Jays2Kings
e115221773 more linting 2022-11-11 16:24:49 -05:00
Jays2Kings
275f157e0b lint fixes 2022-11-11 16:20:41 -05:00
Jays2Kings
e7ada294f7 update other libs
gms and kotlinter
2022-11-11 15:56:46 -05:00
Jays2Kings
91984df91e Update kotlin to 1.7.20 2022-11-11 15:47:23 -05:00
Jays2Kings
fe243adb84 Update user agent + fix issue with newlines in useragent 2022-11-11 15:22:32 -05:00