Commit graph

7403 commits

Author SHA1 Message Date
MajorTanya
4bb55a5104
Migrate to Bangumi's newer v0 API (mihonapp/mihon#1748)
This comes with many benefits:
- Starting dates are now available and shown to users
- Lays groundwork to add private tracking for Bangumi, e.g. in mihonapp/mihon#1736
- Mihon makes approximately 2-4 times fewer calls to Bangumi's API
- Simplified interceptor for the access token addition
  - v0 does not allow access tokens in the query string
- There is actively maintained documentation for it

Also shrunk the DTOs for Bangumi by removing attributes we have no
use for either now or in the foreseeable future. Volume data remains
in case Mihon wants to ever support volumes. But attributes such as
user avatars, nicknames, data relating to Bangumi's tag & meta-tag
systems, etc. have been removed or just not added to the DTOs.

Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit a96fbba3dc354e363b85923c52feceb88dc34447)
2025-02-26 23:38:45 +07:00
Cuong-Tran
707d9854ec
Change backup proto & improve code of backup/restore category related preferences (mihonapp/mihon#1726)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit e1724d1aa0e3340e1404cfd80bd264831d86a879)
2025-02-26 10:29:59 +07:00
Cuong-Tran
ccebe08d00
Reuse AppBar in manga screen (mihonapp/mihon#1367)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 2cd52d5a1ff48b0f9cf17245c1bfa66f99b8c187)
2025-02-26 10:29:59 +07:00
AntsyLich
42748f310f
Cleanup and tweak preference widgets (mihonapp/mihon#1769)
This reverts commit ed2c214ef3

Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit ebfbbf0741c04dc450a943d2cf77f48eed5c6dfa)
2025-02-26 10:29:59 +07:00
Cuong-Tran
2f33754c20
Fix App's preferences referencing deleted categories (mihonapp/mihon#1734) 2025-02-25 16:41:11 +07:00
Roshan Varughese
3dded3568a
Add button to favorite manga from history screen (mihonapp/mihon#1733)
Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit 7e71a34256e79b03a8a8ea50334b1ccece4b7154)
2025-02-25 16:41:10 +07:00
NGB-Was-Taken
405e1b8640
Apply "Downloaded only" filter to all entries regardless of favourite status (mihonapp/mihon#1603)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 29ee53f4612b6ec9b399da9d29f18cfd0b1a2768)
2025-02-25 12:58:36 +07:00
Cuong-Tran
c37eac905b
Remove unused MigrationSourcesScreen 2025-02-23 00:26:28 +07:00
Cuong-Tran
8838573a93
Fix: Migrate filter Obsolete was showing E-H/ExH source 2025-02-22 23:45:04 +07:00
Cuong-Tran
d5f41b6c25
priority manga update list 2025-02-20 15:06:54 +07:00
Cuong-Tran
c2bfeb443d
remove MetadataUpdateJob (migrated into LibraryUpdateJob.updateCovers) 2025-02-18 14:58:46 +07:00
Cuong-Tran
4068267cc2
remove unused EhAssets 2025-02-18 13:46:04 +07:00
Cuong-Tran
4c08f61f68
Fix: ktlint config for SY code (#712)
* Add more editor configs and move ktlint config to it (mihonapp/mihon#1731)

(cherry picked from commit 34d1e6fa278846dd8eb6ea82c936818d4610d3c2)

* more ktlint config

* fix compile

* restore comment-wrapping

* restore all of them

* disable in gradle.kts

* cleanup

* remove filenamktlint_standard_filename

* fix filename

* remove unused EhAssets

* ktlint_standard_multiline-expression-wrapping

* property-naming & function-naming

* ktlint_standard_argument-list-wrapping

* fix argument-list-wrapping

* Improve  in case source is null

related to commit 343cd372

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* Revert "Improve  in case source is null"

This reverts commit 08e317bb075b4b634f0c6f19f11eb78b99406e59.

* Revert "remove unused EhAssets"

This reverts commit e2cfc3e0c2b8d5b8bac41f2dfc4d9baef332f83e.

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2025-02-18 13:44:57 +07:00
Cuong-Tran
20d0b87b3a
Fix (IntegratedHentaiMigration): correctly migrate old users 2025-02-17 15:22:24 +07:00
Cuong-Tran
1247d4e466
Fix (BrowseSourceScreen): don't expand manga description if it's favorited 2025-02-17 14:37:09 +07:00
Cuong-Tran
2d6cf074ff (EditMergedSettings): Allow open merge children manga 2025-02-14 12:21:26 +07:00
Cuong-Tran
ff8d48bf4c Fix (PreferenceRestorer): correctly backup/restore preferences related to category 2025-02-14 12:21:26 +07:00
Cuong-Tran
a2da8fdd35 Fix (BackupRestorer): avoid issue of late restoring categories
in cases where categories-depend settings/mangas being restored when that category hasn't been restored yet due to running in coroutine
2025-02-14 12:21:26 +07:00
Cuong-Tran
4211fadb43 Fix (MangaRestorer): avoid chapter's order mixed up when backup restore/sync 2025-02-14 12:21:26 +07:00
Cuong-Tran
235dec019d Fix (EXH): Migrate old source to new source for merge references 2025-02-14 12:21:26 +07:00
Cuong-Tran
caa0d9b92e Fix (MangaRestorer): avoid exception caused by duplicate entries
Duplicate chapters or duplicate merge-reference which would leads to the whole manga failed to restore/add to library
2025-02-14 12:21:26 +07:00
Cuong-Tran
58dc3b3e79 chore (MangaRestorer): use getChapterByUrlAndMangaId directly instead of getChapterByUrl then find 2025-02-14 12:21:26 +07:00
Cuong-Tran
f2bf5d8664 chore (MangaRestorer): move sorting Merged source to sort function 2025-02-14 12:21:26 +07:00
Cuong-Tran
ad8a9edc12 also resetup AppUpdateJob after restore preferences 2025-02-14 12:21:26 +07:00
Cuong-Tran
4b8d0331f6
Merge branch 'release' 2025-02-13 22:55:28 +07:00
Cuong-Tran
d127ce9805
rename repo 2025-02-13 22:53:19 +07:00
AntsyLich
7d0c9f6f29
Rework slider UI
Fixes mihonapp/mihon#1474

(cherry picked from commit e8c9cb2c2e4c24443368f0d653c5283f9671ffec)
2025-02-06 11:17:06 +07:00
az4521
16b889500b
fixed the dumbest crash in the world
(cherry picked from commit 6ebfbf4246191bd85775f9c14a55f741ca3db9f4)
2025-02-04 19:33:31 +07:00
MajorTanya
3ff0601289
Fix MAL tracker losing track of login expiration (#1682)
* Add missing @EncodeDefault annotation to MALOAuth

Similar to the situation with Bangumi, the missing annotation means
kotlinx.serialization would _provide_ the default value upon
instantiation but not serialise it to disk. This means the isExpired()
calculation would effectively rarely/never do its job correctly,
leading to Mihon sending expired tokens to MAL and causing problems
for everyone involved.

Overall, this change _could_ (should) lead to a drastic reduction in
MAL requests failing, leading to users having to relink their MAL
accounts.

Also switched createdAt to be in seconds instead of milliseconds as
all other trackers use seconds for timestamps (except for AniList,
which uses milliseconds but doesn't use a createdAt timestamp anyway).

* Add CHANGELOG.md entry

(cherry picked from commit 29ec7c125a3f1a1f39a90f8eba2d3e39b5af9797)
2025-02-01 13:36:48 +07:00
MajorTanya
9a34d6222d
Fix Bangumi tracker losing track of login expiration (#1681)
* Fix Bangumi tracking losing track of login state

kotlinx.serialization does NOT serialize default values (like
createdAt in BGMOAuth.kt), so every time the Bangumi tracker
deserialized the tracker OAuth, createdAt was set to the time of the
read, not the time of issuance.

Separately, BangumiInterceptor did correctly fetch new OAuth
credentials upon detected expiry of the stored credentials and saved
them, but did not use them for the current request (the new
credentials were used for all subsequent requests only). This led to
401 errors from Bangumi because the expired access_token was provided.
 A subsequent request using the newly acquired access_token would end
 up being successful.

* Add CHANGELOG.md entry

(cherry picked from commit dce6aacf02d07f3f123b19b1b74cbbe18c28852b)
2025-02-01 13:36:48 +07:00
Cuong-Tran
967bbe6c04
Merge branch 'release' 2025-02-01 13:36:27 +07:00
Cuong-Tran
9d2a030bf5
Remove extensions repo 2025-02-01 03:35:58 +07:00
Cuong-Tran
ea3e53e6ae
Add manual install button to App installing notification 2025-02-01 03:23:17 +07:00
Cuong-Tran
f6776df151
Remove custom extension readme/changelog URLs
This reverts commit 6d255f25ad.
2025-01-31 19:13:19 +07:00
Cuong-Tran
107e990300
Fix: loading Merged source should be independent of integrated-H switch 2025-01-29 12:16:52 +07:00
MajorTanya
723e19f399
Add zoned "Current time" to debug info and include year & timezone in logcat output (#1672)
* Add zoned date & time to debug info & logs

This should help distinguish log entries that happened recently and
may be related to crashes from older entries that occurred before now.

* Change logcat date and time output format

After some discussion, it was decided to adjust the logcat date and
time display to include the year and the timezone in the logcat
output. This results in a line start like this:

`2025-01-27 18:37:46.662 +0100`

which follows the following DateTimeFormatter pattern:

`yyyy-MM-dd HH:mm:ss.SSS Z`

* Add CHANGELOG.md entry

(cherry picked from commit 503d0be66772c37e08e69e5d022475245b706fd1)
2025-01-29 11:13:10 +07:00
Cuong-Tran
01e3520416
Fix crash when open manga/chapter link caused by #612 2025-01-28 18:17:01 +07:00
Cuong-Tran
2e744ed5e9
built-in EH compatible with extension (#613)
* switch off integrated H to show E-H source & extension

* More languages for E-H/ExH, also more popular with rate 5

* Don't hide Multi source when toggle Integrated H

* Avoid crash trying to load ehentaiBrowseDisplayMode

* change source ID to matching general extension

* migration old source ID to new source ID

* Allow importing of EHentai extension backups

* limit library update & metadata source to only Multi lang

* update app version

* fix spotless

* also migrate saved search/feed & pinned EH/EXH source ID when restore from backup or update app
2025-01-26 02:20:06 +07:00
Cuong-Tran
747cd48abc
update website link (#655) 2025-01-26 02:04:20 +07:00
Cuong-Tran
4a0c1384d0
Restore chapter's bookmark & oldest dateUpload from backup (#659) 2025-01-26 01:58:32 +07:00
Cuong-Tran
4c7563294d
Notification color & icon (#620)
* add color to notification

* add app icon to extension update notification

* add app icon to download error notification

* add large app icon to all the notification

* set large image for chapter update & save image notification
2025-01-26 01:58:08 +07:00
Cuong-Tran
af77a962c1
Drag to reorder feeds (#660) 2025-01-26 01:56:11 +07:00
Cuong-Tran
5b775366b8
Fix: custom theme color in various AndroidView (#656)
* Fix: background color of download list when using custom theme

* Fix background color in Migration's source list

* Fix custom theme color in manga's Edit Info

* Fix custom theme color in manga's Migration Config

* Fix custom theme color in manga's Migration Config

* Fix custom theme color & relayout merge setting's dialog

* using CustomColorScheme for DownloadQueue

* using CustomColorScheme for metadata source
2025-01-26 01:22:26 +07:00
Cuong-Tran
c7c76d22dd
Support RecommendsScreen even if MangaDex/Comick is not installed 2025-01-24 17:15:59 +07:00
Cuong-Tran
343cd3727c
Fix: crash upon open RecommendsScreen if source is removed 2025-01-24 14:58:30 +07:00
Cuong-Tran
7e16b56911
Fast browse for RecommendsScreen & remove bulk-selection on it 2025-01-24 03:34:50 +07:00
Jobobby04
aba9faff57
Minor improvements
(cherry picked from commit 2b890c20577100e64004e4983cbda2467ba695df)
2025-01-24 03:07:15 +07:00
Jobobby04
24f7d133f7
Minor cleanup
(cherry picked from commit 456db526538d67773ee939850fa435d52d785a29)
2025-01-24 03:07:15 +07:00
spicemace
724d10c086
Mangadex fix alt title being removed by cleanDescription (jobobby04/TachiyomiSY#1378)
* Update MdUtil.kt

* Update ApiMangaParser.kt

* Update MdUtil.kt

(cherry picked from commit 9b6600d31f67742a9cb053af51cc36735b8d9a66)
2025-01-24 03:07:10 +07:00
Tim Schneeberger
69b1af8534
feat: add global search shortcut to SmartSearch (jobobby04/TachiyomiSY#1377)
* feat: add global search shortcut to SmartSearch

* feat: add global search shortcut to SmartSearch

* feat: add back button to BrowseTabWrapper

(cherry picked from commit 46dea6d598a61b5b1df186be68122a9dd20285b1)
2025-01-24 03:07:06 +07:00
Cuong-Tran
c643d8a55b
Add bulk-selection & improve display mode in RecommendsScreen 2025-01-24 03:06:59 +07:00
Tim Schneeberger
7b30a2a10f
feat: unify recommendation screens and add more sources (jobobby04/TachiyomiSY#1376)
* feat(recommendations): add mangaupdates.com support

* feat(recommendations): display all tracker recommendation sources

* refactor(recommendations): apply spotless

* refactor: split RecommendationPagingSources

* feat(recommendations): unify MangaDex & community recommendations

* refactor: remove old screen

* fix: update comment

* style: fix formatting

* refactor: move onClick handlers

* fix: handle external recommendation links correctly

* fix: apply spotless

* feat: add comick recommendation source

* fix: mark recs from comick as not initialized to force fetching missing metadata

* Update app/src/main/java/exh/recs/BrowseRecommendsScreen.kt

---------

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit d80ad3f145868f9c79bc6d94c08ed847c650e6d6)
2025-01-24 03:06:59 +07:00
AntsyLich
869e1626f8
Address some deprecations
(cherry picked from commit d53a3828b12daead9c898bea12c9a1497d07366f)
2025-01-24 00:44:22 +07:00
Trrrrw
e8034cfd81
Update BangumiModels.kt (Jays2Kings/tachiyomiJ2K#1833)
(cherry picked from commit b71d16681aeba661243b9a8110b0c45b32362d52)
2025-01-13 10:30:02 +07:00
sdaqo
19a62fc046
Add option to enable incognito mode per extension (mihonapp/mihon#157)
* add per Extension Incognito Mode

* migrate incognito sources when extension is updated

* remove incognito sources when extension is uninstalled

* remove not used variable

* address change requests

address change requests

* Rebase and cleanup code

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit c283abefb03f79ce6652492db71cde410f828f78)
2025-01-13 10:26:04 +07:00
Cuong-Tran
37ac0757c1
add webview to Extension detail screen 2025-01-08 17:11:36 +07:00
Cuong-Tran
1399f15747
Remove custom extension readme/changelog URLs
This reverts commit 6d255f25ad.
2025-01-08 17:05:15 +07:00
Cuong-Tran
a087acd0b3
Fix: was not showing entry after opening from link on UrlImportableSource 2025-01-07 03:10:34 +07:00
Cuong-Tran
b6470d1072
Fix: add entry to favorite when open from link on UrlImportableSource sources 2025-01-07 03:08:28 +07:00
Cuong-Tran
f37a7b1580
Fix crash when open manga/chapter link caused by #612 2025-01-07 01:30:28 +07:00
Cuong-Tran
51f545768f
Trying to fix screen-transition key used multiple times 2025-01-06 12:01:11 +07:00
Ahmad Ansori Palembani
136bfe2833
fix(myanimelist): Fix nullability and fallback to medium cover if large
cover is null

(cherry picked from commit a3672be7282c553017d35b310fb5a148d677ff14)
2025-01-06 11:28:24 +07:00
Ahmad Ansori Palembani
eddabbc04e
fix(download): Making sure archive tmp file is created properly
(cherry picked from commit fc87410d46ed4a44a44ad74870c9fe13214581b0)
2025-01-06 09:47:51 +07:00
Cuong-Tran
5fc9e202e8
Fast browsing (#612)
* BrowseTab: serialized data object must have readResolve

* simplify usage of bulk-selection select-all/reverse

* hide bulk-selection select-all/reverse

* fast browsing by avoid insert every entries into DB
2024-12-31 11:52:04 +07:00
Cuong-Tran
1f3d2cbd3c
Group update entries together (#610)
* collapsible grouping Updates

* - Reverse chapter order

- Only show cover & marker on the first one

* - Bigger cover & support panorama view
2024-12-31 11:46:53 +07:00
Cuong-Tran
a6f3a2cdcf
allow edit migration options while already being searching (#616) 2024-12-31 11:46:16 +07:00
Cuong-Tran
468529cd47
Fix: Exclude categories when delete read chapter, except manually deleting (#611)
* fix: exclude categories to delete chapter when mark as read

* Revert "Auxiliary commit to revert individual files from 3d3bbb7e4d56010af5bbec8a7c353da220d1f8d3"

This reverts commit d2db2fb1e3eb9b0b15958722a8d4e3cfd91efc2c.

* ignore category exclusion when manually delete downloaded chapters

* fix: properly ignore categories exclusion when manual delete

* also ignore bookmark chapter if manually delete single chapter
2024-12-31 11:29:35 +07:00
Cuong-Tran
8c4b43c5aa
Fix: duplicate chapters on backup restoring (#565) 2024-12-31 11:27:11 +07:00
Cuong-Tran
23d53a4560
Drag & Drop to reorder category quickly in Settings/Category screen (#508)
* drag to reorder Category list

* smaller padding

* cleanup code

* fix build
2024-12-31 11:26:40 +07:00
Cuong-Tran
bc6a4959b2
don't auto-expand manga when browsing if is favorited (#530) 2024-12-31 11:26:07 +07:00
Cuong-Tran
ec97db588a
fix: download job stops all together even if 1 entry is failed to create directory (#510)
Also, when some entry failed to create download folder, it shows a notification saying only "invalid location: /downloads" which is misleading.

* more detail notification on invalid download location
* fix: download job stops all together even if 1 entry is failed to create directory
2024-12-31 11:07:43 +07:00
Cuong-Tran
a66dd25eed
fix some debug functions name (#614) 2024-12-31 10:57:58 +07:00
Cuong-Tran
aa336aecf1
move SourceUtil from exh to matching with upstream 2024-12-30 11:59:45 +07:00
Cuong-Tran
c72ea1e1ac
Allow disable app auto-update 2024-12-28 17:56:37 +07:00
Cuong-Tran
42bc4e4c51
fix color Fill manga info from tracker 2024-12-26 17:11:01 +07:00
AntsyLich
a68d35acca
Revert "Revert "Add option to always use SSIV for image decoding""
This reverts commit 1909126921ac78309f7f7c7c2aa85606611531b8

(cherry picked from commit c5655e8803bc32d0931657f0b7bc6afeab70feaf)
2024-12-23 22:13:06 +07:00
Cuong-Tran
7c2467aed5
fix: Nhentai cover (#587)
* fix nh images not loading

(cherry picked from commit 3278e2fe918de87056528eb4aeaf57be6d71d35a)

* fix thumbs on nh

(cherry picked from commit aa295377e78a0d5a658ec983f7a28b6345d86c09)

* default to media server 1 for old nh entries

(cherry picked from commit 2990a5e7ab98de5dc89c0affe7e265827d3244a3)

---------

Co-authored-by: az4521 <18432684+az4521@users.noreply.github.com>
2024-12-18 12:26:20 +07:00
Luca Auer
573f1cf20a
Maintain correct source order even when receiving new chapters from a sync service (jobobby04/TachiyomiSY#1360)
* Maintain correct source order even when receiving new chapters from sync service

* Add comma required by build service

(cherry picked from commit a32c7186e43fe616c5956f04c0cef50b450d97c1)
2024-12-18 12:12:25 +07:00
Cuong-Tran
ed2c214ef3
fix null categories in Settings/Downloads/Exclude 2024-12-14 00:16:57 +07:00
NGB-Was-Taken
78d7544f85
Get manga info from tracker (jobobby04/tachiyomiSY#1271)
* Barebones setup (only AniList works)

* Show tracker selection dialog when entry has more than one tracker

* MangaUpdates implementation

* Add logging and toast on error.

* MyAnimeList implementation

* Kitsu implementation

* Fix MAL authors and artists

* Decode AL description

* Throw NotImplementedError instead of returning null

* Use logcat from LogcatExtensions

* Replace strings with MR strings

* Missed a string

* Delete unused Author class.

* Add Bangumi & Shikimori support for info edit (#2)

This adds the necessary API calls and DTOs to allow for editing an
entry's data to the data from a tracker, specifically adding support
for Bangumi and Shikimori.

* Exclude enhanced trackers from tracker select dialog

* MdList implementation

* Remember getTracks and trackerManager

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>

---------

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit fd120c5081a74393f0f2c174f2b3573b14c6d4e4)
2024-12-09 14:54:53 +07:00
Weblate (bot)
256d1c44bd
Translations update from Hosted Weblate (jobobby04/tachiyomiSY#1299)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/hr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/es/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/fil/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/hr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/id/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/it/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/pt/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hant/
Translation: Mihon/TachiyomiSY
Translation: Mihon/TachiyomiSY Plurals

Co-authored-by: Cauã Oliveira <caua.oli.santos@gmail.com>
Co-authored-by: Frosted <frosted@users.noreply.hosted.weblate.org>
Co-authored-by: Homura Akemi <amber_c001@protonmail.com>
Co-authored-by: Igor Coimbra Carvalheira <igorccarvalheira111@gmail.com>
Co-authored-by: Illia Stoianov <Walrus_Morj@protonmail.com>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Itsmechinmoy <itsmechinmoy@users.noreply.hosted.weblate.org>
Co-authored-by: KenjieDec <kenjiedec@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Paulo Victor <paulovictorbarrosdecarvalho@gmail.com>
Co-authored-by: Ruben Lopes <lopes.ruben@ua.pt>
Co-authored-by: TheKingTermux <50316075+TheKingTermux@users.noreply.github.com>
Co-authored-by: cannnAvar <bartucanavar@proton.me>
Co-authored-by: jobobby04 <jobobby04@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
(cherry picked from commit b7f7187293a38f80d2e4d89926a75fc967b9d279)
2024-12-09 14:52:57 +07:00
Jobobby04
76496daa75
Minor cleanup
(cherry picked from commit 1b3d76398baa785196817faf3f99355b0e0ca854)
2024-12-09 14:52:57 +07:00
AntsyLich
a3ef057e15
Update usage of work:work-runtime
Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>

Update dependency androidx.work:work-runtime to v2.10.0

(cherry picked from commit 57e6e198b8101aa4ea60da89aea371f827b5f7e4)
2024-12-09 14:52:57 +07:00
Jobobby04
c38178b789
Fix idle status set
(cherry picked from commit b9fffc45cc0b3e53d3058d2260e5e656092ae84a)
2024-12-09 13:04:38 +07:00
Jobobby04
f424324a34
Return newpage joineditems check
(cherry picked from commit de6cd169d02d2bee3c22fbff51fde63be3eedc19)
2024-12-09 13:04:38 +07:00
Jobobby04
24f9fe3fc9
Increase new updates count when updates found
(cherry picked from commit c720f0ac5c6a39ff418518ac5652b142c91579ee)
2024-12-09 13:04:38 +07:00
Jobobby04
45f98eb2e2
Improve favorites sync statuses
(cherry picked from commit 76af3b59f0b92a22904239b4597013704ac6b79a)
2024-12-09 13:03:54 +07:00
Jobobby04
a37e388534
Update tag lists
(cherry picked from commit 3f8cce8a323b12b7759a56a5ef22ba45b2fc11bf)
2024-12-09 12:34:14 +07:00
MajorTanya
42ac5e0e70
Always use software bitmap on certain devices (mihonapp/mihon#1543)
* Include Coil's broken hardware bitmap device list

Declares all listed devices as unable to use hardware bitmaps.

Might fix mihonapp/mihon#1541.

* Hide Hardware Bitmap Threshold setting if unusable

This hides the setting from the UI if the user's device in on Coil's
list of devices with problematic hardware bitmap implementations.

Also moved HARDWARE_BITMAP_UNSUPPORTED into the ImageUtil as a
property for more ergonomic access across the project.

* Add missing negation

* Update CHANGELOG.md

* Update CHANGELOG.md

* Needs to be and not or

Also fix typo in CHANGELOG.md

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 7f2cfb5eb224896d6d0ffa6960f0a98c7325e240)
2024-12-06 23:39:22 +07:00
Cuong-Tran
a8c587829c
Auto install app update (#561)
* migrating

* - Fix Broadcaster
- Include Updater for Debug
- json to emulate Github call

* - resetup AppUpdateJob when changing settings
- Fix ACTION_MY_PACKAGE_REPLACED

* improve notification

* update icon

* app update to high important

* - Run auto install on AppUpdateJob
- Add release link to job

* idle state & network aware

* fix duplicated job start

* don't show notification & start job for peek-into-preview

* allow cancel auto update job when set to NEVER

* always notify on install complete

* rearm AppUpdateJob each time MainActivity already checked for update

* MainActivity checks every 2 days, rearm AutoUpdateJob in 3 days

* - fix install error notification ID
- add timeout for manual installation if package manager crash

* settings & spotless

* restriction settings & auto run download-install if not in restrictions

* clean up
2024-12-05 15:41:50 +07:00
Cuong-Tran
5a893927a3
App update retry/resume (#523)
* custom timeout for NetworkHelper.client

* support retry/resume downloading app update apk

* retain app update download progress over retries

* increase app update download timeout to 180 seconds / 3 minutes from previously 2 minutes
2024-11-28 22:06:48 +07:00
Cuong-Tran
05a52f2e13
avoid crash with bad xml format (#551) 2024-11-26 07:20:47 +07:00
Cuong-Tran
6d6fb8da77
remember migrate screen's obsolete option (#529)
* remember migrate screen's obsolete option

* also filter not-installed source
2024-11-25 10:09:24 +07:00
AntsyLich
e3d17184a6
Improve hardware bitmap threshold option
Also `spotlessApply`

(cherry picked from commit d6dfd24548eaa05a8c3e478068fe2e08f2ee4473)
2024-11-21 09:39:44 +07:00
Cuong-Tran
cdd67bfff0
new separated ID or app update error notification 2024-11-21 02:09:25 +07:00
AntsyLich
21bdefb4ce
Fix loading screen not appearing when changing query in browser screen
Fixes #mihonapp/mihon1438
Closes #mihonapp/mihon1441

(cherry picked from commit 9aef08c333397caa4b897514cf76966592d3849c)
2024-11-21 02:06:19 +07:00
AntsyLich
8be6eff7b2
Cleanup some code
(cherry picked from commit 2f4bb7cadb0297492cfb21393e75ca276e0539d7)
(cherry picked from commit ee81c3e905)
2024-11-21 02:06:19 +07:00
AntsyLich
de0692c185
Slightly tweak Preference.PreferenceItem.CustomPreference
(cherry picked from commit 81effea01c33d4b47f6802a3d5e31fa39609a6fb)
2024-11-21 02:06:19 +07:00
AntsyLich
f6eaad8439
Add option to lower the threshold for hardware bitmaps
Closes #mihonapp/mihon1436
Closes #mihonapp/mihon1486

(cherry picked from commit dcddac5daaff3ec89c8507c35dc13d345ffdb6d7)
2024-11-21 02:06:18 +07:00
AntsyLich
9d3b99ec1a
Switch to hardware bitmap in reader only if device can handle it
Closes #mihonapp/mihon1460

(cherry picked from commit e6d96bd348ea5d18a005d6465222ad5f5123103e)
2024-11-21 02:06:18 +07:00
AntsyLich
77863480c9
Revert "Add option to always use SSIV for image decoding"
This reverts commit bb4d9fc81a043ac4f2d0105f19c09974ae2f7201.

(cherry picked from commit 1909126921ac78309f7f7c7c2aa85606611531b8)
2024-11-21 01:14:40 +07:00
Cuong-Tran
2385593001
Fix reader transition color scheme in auto background mode (#536)
also cleanup SY code
2024-11-18 02:27:27 +07:00
Cuong-Tran
398d50a3e5
migrate to dev.chrisbanes.haze:haze to v1 2024-11-13 02:12:59 +07:00
Cuong-Tran
99386aebe2
add manual download & error message to app update error notification 2024-11-12 22:20:12 +07:00
Cuong-Tran
75122e7a12
fix: app update error notification always disappeared 2024-11-11 23:20:52 +07:00
Cuong-Tran
de72201aae
filter only Obsolete sources in Migration screen 2024-11-10 13:42:57 +07:00
Cuong-Tran
b685d82096
Improve saved-search usage (#518)
* reload saved-searches every time reseting filters

* always reload saved-search & reset filter list when click on saved-search
2024-11-10 03:31:22 +07:00
Cuong-Tran
e2ca729277
allow using saved-search while migration source search
also fix keyboard always show up when migration source search
2024-11-10 02:47:50 +07:00
Cuong-Tran
3383a835dd
fix: allow reset filters on SourceFeedScreen 2024-11-10 01:00:07 +07:00
Cuong-Tran
d45eb34d1a
Trying to load saved-search as much as possible even though filterList might changed 2024-11-09 22:44:44 +07:00
Cuong-Tran
3610f4a6f2
Revert "Cleanup some code"
This reverts commit ee81c3e905.
2024-11-08 22:29:37 +07:00
Cuong-Tran
2d1ee3c7d8
Revert "Fix pager flow messed up Loading screen"
This reverts commit 0e951d8ac1.
2024-11-08 22:29:30 +07:00
Cuong-Tran
fed40c1391
fix source-search clear causing disappearance of search box 2024-11-08 15:43:38 +07:00
Cuong-Tran
f72be9c810
fix build 2024-11-08 11:23:11 +07:00
Cuong-Tran
e93b917cae
SY, try doing it properly would you 2024-11-08 10:57:53 +07:00
Jobobby04
54aecf3ff6
Fix a possible crash with auto-zoom
(cherry picked from commit 26cfb4811fef4059fb7e8e03361c141932fec6b5)
2024-11-08 10:52:34 +07:00
Jobobby04
2524488162
Fix multiple issues with the E-Hentai updater
(cherry picked from commit f0b621dfe582b7493356bf0ccf86cab400bff72e)
2024-11-08 10:52:28 +07:00
Cuong-Tran
c801a8c7d1
support comma (,) delimiter when searching library 2024-11-07 14:52:08 +07:00
Cuong-Tran
256cedcec1
add log to apk update download 2024-11-06 21:58:27 +07:00
Cuong-Tran
6fc03aa0a1
fix Reader's dialog font size 2024-11-06 19:58:46 +07:00
Cuong-Tran
814e3acd74
Fix crash on MigrationListScreen with null accessing a mutableState when it's being put in the background 2024-11-05 10:38:36 +07:00
Cuong-Tran
0e951d8ac1
Fix pager flow messed up Loading screen 2024-11-04 13:04:01 +07:00
AntsyLich
ee81c3e905
Cleanup some code
(cherry picked from commit 2f4bb7cadb0297492cfb21393e75ca276e0539d7)
2024-11-04 12:53:52 +07:00
NGB-Was-Taken
781dfa06f3
Do not sync automatically when not connected to a network. (jobobby04/TachiyomiSY#1312)
(cherry picked from commit d88f570f65c23d8478c6a781633aa7db3ea8731f)
2024-11-04 12:16:22 +07:00
Jobobby04
2834fe9763
Fix app onStart sync
(cherry picked from commit b430e31da4c6178a3f8e1502945b039f11751bef)
2024-11-04 12:16:22 +07:00
Jobobby04
a27a44aea7
Fix crashes from Exh Updater
(cherry picked from commit 271f2d37bb1980eaf64a4d9830a44854095dce6b)
2024-11-04 12:16:22 +07:00
AntsyLich
3c1aadca36
Add option to always use SSIV for image decoding
(cherry picked from commit bb4d9fc81a043ac4f2d0105f19c09974ae2f7201)
2024-11-04 12:16:22 +07:00
Cuong-Tran
3a5b8c452c
SY code block 2024-11-04 12:16:08 +07:00
Jobobby04
6215d8460a
Fix InterceptActivity crash
(cherry picked from commit c2df6ee54ab417dd78d60873c0a83b5cf91b6424)
2024-11-04 12:00:16 +07:00
AntsyLich
3c0c45eb81
Address some build warnings and cleanup (mihonapp/mihon#1412)
(cherry picked from commit a1c60897916f418726107fec80ad79b2a4b8d500)
2024-11-01 10:37:52 +07:00
AntsyLich
3a12f5e83e
Fix long strip images not loading in some old devices
Fixes mihonapp/mihon#1398

(cherry picked from commit 06efc3b25c5af51f42448af27a269ee459d9093d)
2024-11-01 10:37:52 +07:00
AntsyLich
d13abbd223
Fix a rare crash when invoking "Mark previous as read" action
Closes mihonapp/mihon#1421

(cherry picked from commit f508d10ad13560d7316df8642bc93fe66c05b9a8)
2024-11-01 10:37:52 +07:00
MajorTanya
e9f65510c4
Some improvements to Bangumi tracker search (#1396)
In short:
- fetch & show actual summary
- fallback to "name" if "name_cn" is empty
- request larger responseGroup to get & display the summary & rating
- add type filter query param to make Bangumi filter, not us

Previously, we only displayed the "name" in the summary area and used
"name_cn" as the entry name. However, "name_cn" (Chinese name) can be
an empty string at times, resulting in an awkward looking search
result list where some, many, or even all the results have no title
displayed and only show the "name" (Japanese name) in the summary
area. This has been solved by using "name" as a fallback value should
"name_cn" be empty.

If a Chinese name is available, the original name is prepended to the
summary with the addition "作品原名:" (meaning "original series title").

By using the "responseGroup=large" query parameter, we can request
the required data we need to display the actual summary for an entry
and the entry's average rating.
The "name" is prepended to the summary contents, if any exist, so it
is still accessible for series identification if a "name_cn" exists
too and was used for the result title.

Adding the "type=1" filter query parameter means Bangumi will only
return entries of type 1 ("book") instead of all types and Mihon
needing to filter, resulting in potentially missed entry matches.

(cherry picked from commit 78f9a84b14e0ece988f80d61011f63c0f7e92a67)
2024-10-31 10:54:40 +07:00
MajorTanya
b0ccbb07f0
Fix sporadically recurring spotless CI failure (mihonapp/mihon#1407)
Somehow this specific issue keeps getting flagged by unrelated PRs'
CI runs (but only sometimes? Somehow? Other times the CI run would
succeed with no spotless issues.)

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ed9e13a365ba1b55cec21c26b93b1c62d29485c8)
2024-10-31 10:54:40 +07:00
AntsyLich
eebcfa7371
Here lies "currentTab was used multiple times"
Fixes #282
2024-10-31 10:51:08 +07:00
Cuong-Tran
b8608ce6d1
change bulk-favorite icon to Heart 2024-10-31 10:29:22 +07:00
Cuong-Tran
8b0f84144a
fix unable to migrate after manually cancel & search for entry 2024-10-29 17:10:09 +07:00
Cuong-Tran
dd0c3a516e
fix crash if cancel migration too soon 2024-10-29 17:09:07 +07:00
Cuong-Tran
55906548ee
add Back button on Migration screen 2024-10-29 16:49:02 +07:00
Cuong-Tran
cd990df3ee
Migration integrated H enable 2024-10-29 16:46:19 +07:00
Cuong-Tran
fde71c0b70
Fix release update version checking & update release note template 2024-10-29 16:21:30 +07:00
Cuong-Tran
457b27ea04
Update translation from Crowdin 2024-10-28 23:12:15 +07:00
Cuong-Tran
467c39b899
Range-selection for Migration (#466)
- Select a range of entries for migration
- Better bottom bar
- Show obsolete sources

---------

Co-authored-by: ImaginaryDesignation <108343184+ImaginaryDesignation@users.noreply.github.com>
2024-10-28 23:12:15 +07:00
Cuong-Tran
d8f6e7840b
Loading screen for Upcomping/Updating screen 2024-10-28 23:12:15 +07:00
Luqman
fdf086e3c8
allow chapter 0 dupe auto mark as read (jobobby04/tachiyomiSY#1291)
(cherry picked from commit 3c09343f7bf08b8567330d8bc9576b799751259f)
2024-10-28 23:12:14 +07:00
jobobby04
ab57496ac5
Fix for ExHentai
(cherry picked from commit b48556aa9fa0999be6ee9a0477ca79085db2591b)
2024-10-28 23:12:14 +07:00
Cuong-Tran
552d2673d9
update all trackers based on common data when new tracker is added 2024-10-28 23:12:14 +07:00
Cuong-Tran
451fe433cf
Error screen (#462)
- A dedicated screen in Settings for error list when updating library
- Allow to jump to Error screen if click on notification
- Allow to migrate error entry
- Create error on each entry updated instead of waiting for the whole updating list to finished
- Overwrite entry's error if new error happens after updating
- Clear entry's error if it successfully updated
- Clear un-relevant errors (entry which was removed from Library) on next update
- List of errors can jump to top/bottom or next/previous errors group
- Won't create error file anymore

* Added library update errors screen

(cherry picked from commit 7cf37d52f959ac65f53cf7657563fb4428bd9188)

* Open library update errors screen on clicking library update error notification

(cherry picked from commit d2d22f437a1d61b086f1e19dfbcd2c0a2bc125f4)

* LibraryUpdateErrorScreen's bottom UI with scroll to top/bottom buttons

(cherry picked from commit 859ce54474d456232510e21f4f6795af65489be2)

* migrate to AppBar

* sticky header

* scroll to next/previous group of errors

* insert error entry one by one

* delete error from DB when successfully updated

* clean un-relevant errors from DB on every updates

* fix errors & clean up

* catch exception & fix notification intent

---------

Co-authored-by: ImaginaryDesignation <108343184+ImaginaryDesignation@users.noreply.github.com>
2024-10-28 23:12:14 +07:00
Cuong-Tran
e31a0016fb
rework panorama cover settings 2024-10-28 22:11:48 +07:00
Cuong-Tran
cb6566e500
show a toast whenever progress is synced from Trackers 2024-10-28 22:11:48 +07:00
Cuong-Tran
bcb05c4b3a
Fix sync progress from tracker not working if chapters' order is messed up after backup restoration 2024-10-28 22:11:48 +07:00
Roshan Varughese
b33d9bf044
Allow completely disabling "Update tracker" snackbar on mark as read (mihonapp/mihon#1374)
Also fixes mihonapp/mihon#1369

(cherry picked from commit fc2f339ea1cdc43c0041b2fed497dcfda853b85e)
2024-10-28 22:11:48 +07:00
Cuong-Tran
a0806e0986
Fix app crash when removing tracked entry from tracker
if select option to "Also remove from <Tracker>" while the entry is already removed from tracker's service
2024-10-28 22:11:48 +07:00
AntsyLich
4ba654c29a
Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0
Co-authored-by: Mend Renovate <bot@renovateapp.com>
(cherry picked from commit 140083ee39df7d458e5ff9abc6d0ee9831d99387)
2024-10-28 22:11:48 +07:00
AntsyLich
f106090ded
Cleanup Slider usage
Also for Vertical mode:
- Fix page's text color
- Fix steps visual (tachiyomiorg/tachiyomi#9461)
- Dispatch page change only when needed

(cherry picked from commit df9fff60da3a38acd8fcd540b5fdd275be93f2d5)
2024-10-28 22:11:48 +07:00
Cuong-Tran
94515957ee
fix title for Checking update screen to "To be updated" 2024-10-28 22:11:48 +07:00
Cuong-Tran
e6c46a60b8
Avoid blocking call to load categories in settings 2024-10-28 22:11:48 +07:00
Roshan Varughese
0085e22a1c
Rework Auto Track on Mark as Read (mihonapp/mihon#1365)
(cherry picked from commit c153ac01f545ce9259c58aa5d5f7223d2f8f628b)
2024-10-28 22:11:48 +07:00
Cuong-Tran
07fe2d097e
always enable panorama cover for Feed & Global search 2024-10-23 17:16:04 +07:00
Cuong-Tran
cc0d7cddc7
only load suggestions after entry finished loading info & chapters 2024-10-23 16:34:52 +07:00
Cuong-Tran
7bc9f9ac06
fix color when using custom theme with AndroidView on DownloadQueue & MigrationBottomSheetDialog
close #401
2024-10-23 16:30:53 +07:00
Cuong-Tran
e874092d3e
show duplicating manga cover on Duplicate dialog 2024-10-23 14:19:46 +07:00
Cuong-Tran
3a48f424f8
only print ScreenTransition on preview build only 2024-10-23 14:19:46 +07:00
Cuong-Tran
b93d5b937f
hide Filter save-button on SourceFeedScreen 2024-10-23 14:19:46 +07:00
Cuong-Tran
7f082b9c97
Reload saved-searches when screen is navigated back to 2024-10-23 14:19:46 +07:00
Cuong-Tran
1ebbbdb344
auto select saved-search tab if opened from another screen 2024-10-23 14:19:46 +07:00
Cuong-Tran
94a0022baf
fix: late loading saved-searches when jump from SourceFeedScreen or FeedScreen
close #322
2024-10-23 14:19:46 +07:00
Cuong-Tran
6178e1cf41
Fix CrashlyticsPrinter & preview_version 2024-10-23 14:19:46 +07:00
AntsyLich
38fd20eabf
Pass uncaught exception to default handler in GlobalExceptionHandler
Fixes mihonapp/mihon#1347

(cherry picked from commit f3a2f566c8a09ab862758ae69b43da2a2cd8f1db)
2024-10-23 14:19:46 +07:00
AntsyLich
5ed4dd409d
Rework Firebase setup
Fixes mihonapp/mihon#1332
Closes mihonapp/mihon#1339

(cherry picked from commit 15e3f28aa36bec3c31f212c572ab57ce960cc862)
2024-10-23 14:19:46 +07:00
Roshan Varughese
8eb2582a88
Add option to opt out of Analytics and Crashlytics (mihonapp/mihon#1237)
(cherry picked from commit 7c7af72f8cb12decc06b76c36852dcc54696236d)
2024-10-23 14:19:45 +07:00
AntsyLich
1f748d6ec6
Address deprecation, suggestion and spotless
(cherry picked from commit 3bf70b230fc2c3eda58c4d46dec3fb75668e4f69)
2024-10-23 14:19:45 +07:00
Cuong-Tran
6fd67bd240
show all entries going to be checked for Smart update on Upcoming screen 2024-10-23 14:19:45 +07:00
renovate[bot]
461d709eb1
Update xml.serialization.version to v0.90.2 (#420)
* Update xml.serialization.version to v0.90.2

* fix import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-10-23 14:19:45 +07:00
AntsyLich
00b4e7bdb9
Change "Invalidate downloads index" to "Reindex downloads"
(cherry picked from commit d2afbfe4ede283076aae40633c79c3f90b4390e7)
2024-10-23 14:19:45 +07:00
Cuong-Tran
7b37d1cf0e
fix bulk selection continuously adding mangas to the list even though they are added 2024-10-23 14:19:45 +07:00
Cuong-Tran
5a458ac39c
allow Feed to hide entries already in Library
close #438
2024-10-23 14:19:45 +07:00
Cuong-Tran
8895015388
hide Pinned chip in Global/Migrate Search if no pinned sources available 2024-10-23 14:19:45 +07:00
Cuong-Tran
6bb8535af4
make global search pinned/all sticky 2024-10-23 14:19:45 +07:00
Cuong-Tran
3decc8b86f
fix source search box's height 2024-10-23 14:19:45 +07:00
Cuong-Tran
949e326616
Revert commit 11c2ae70 to automatically sync marked read chapters to trackers 2024-10-23 14:19:45 +07:00
Jobobby04
0e0061cc32
Fix issue with not showing source names in merged manga sometimes
(cherry picked from commit 2ea8449eb76cca92ae050b0d31c70067e9761cd0)
2024-10-23 14:19:45 +07:00
Fuad Hasan
14abec23bf
Hide sync library option when sync is disabled (jobobby04/TachiyomiSY#1275)
* Hide sync library option when sync is disabled

- Add isSyncEnabled parameter to LibraryToolbar and LibraryRegularToolbar
- Pass isSyncEnabled from LibraryTab to LibraryToolbar
- Conditionally display sync library action based on isSyncEnabled
- Update LibraryContent to include isSyncEnabled parameter
- Adjust LibraryTab to handle sync-related functionality
- Remove direct dependency on SyncPreferences in LibraryToolbar

* Update LibraryScreenModel to react to sync service changes

- Replace static isSyncEnabled update with dynamic observation
- Use syncPreferences.syncService().changes() to update isSyncEnabled state
- Ensure isSyncEnabled is updated whenever the sync service changes

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>

* Fix sync service state update in LibraryScreenModel

- Resolve ambiguity in lambda parameters
- Correctly update isSyncEnabled state based on syncService value

* Optimize sync service state updates in LibraryScreenModel

- Add distinctUntilChanged() to filter out consecutive duplicate emissions
- Simplify mutableState.update lambda for better readability
- Remove redundant boolean comparison in isSyncEnabled assignment

---------

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit 697b0de22691eca7078a42f1abbc0636efd9f0e8)
2024-10-23 14:19:45 +07:00
NGB-Was-Taken
34bb78ea0e
Allow adding multiple tags separated by commas (jobobby04/TachiyomiSY#1282)
(cherry picked from commit 41e523e074917759b7118a50deab062bd700060c)
2024-10-23 14:19:45 +07:00
NGB-Was-Taken
45c85183d8
Respect the altTitlesInDesc preference (MD) (jobobby04/TachiyomiSY#1283)
* Respect the `altTitlesInDesc` preference (MD)

* Replace hardcoded "Alternative Titles" with localized string

(cherry picked from commit dee543c7c50ad1d458cef461915482f83a08f691)
2024-10-23 14:19:45 +07:00
NGB-Was-Taken
8952c03b09
Show download state and progress on reader chapter list. (jobobby04/TachiyomiSY#1263)
* Show download state and progress on reader chapter list.

* Update download indicator on progress and status change.

(cherry picked from commit 558ce084c81ca8e82b540b62890ac3eb4e65aa18)
2024-10-23 14:19:45 +07:00
Cuong-Tran
721229b90e
matching source with SY 2024-10-23 14:19:45 +07:00
AntsyLich
5d47ca755e
Make sure random library sort is at the bottom
(cherry picked from commit 2e2c8d36c1e23bf274c7c19f1242e14b0c7afbc1)

(cherry picked from commit 91d61a75e3dc2f044de250f32a88f3bac6e72cd0)
2024-10-23 14:19:45 +07:00
AntsyLich
3e473e5698
Reorder reader menu overflow items
(cherry picked from commit 788235feeca241228eac0561339dd07b5ea0b77d)
2024-10-23 14:19:45 +07:00
Roshan Varughese
f839334c1c
Add option to backup non-library read entries (mihonapp/mihon#1324)
Co-authored-by: jobobby04 <jobobby04@gmail.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit de36357da834bff4110dbb56dd7ce7aad04d3c7d)

(cherry picked from commit 943555c0af49b48abaa18a47395e5516f3357bae)
2024-10-23 13:08:42 +07:00
brewkunz
bddfef47e5
Fix EnhancedTracker not auto binding when adding manga to library (mihonapp/mihon#1298)
(cherry picked from commit 3ed8a91c7b37ed89e6c4cab91daa79e6c846abe3)
2024-10-23 13:08:41 +07:00
Roshan Varughese
9eeb4a5032
Confirmation dialog when removing privately installed extensions (mihonapp/mihon#1320)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 87db3f90dee8aa566038b46d0bdc975e715ab8f6)
2024-10-23 13:08:41 +07:00
Jack Hamilton
dacea90f10
Added random library sort (mihonapp/mihon#1317)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a72db41bf1746db095fd27bbbce9765c06453581)
2024-10-23 13:08:41 +07:00
Roshan Varughese
5e595ea7b9
Add Quantity Badge to Upcoming Screen (mihonapp/mihon#1250)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 6b2bba4e5495274552787adc20db390a89d783b6)
2024-10-23 13:08:41 +07:00
AntsyLich
a076793e13
Tweak profile compilation status output
Co-authored-by: p
(cherry picked from commit c8bb78d91afc2824baaca999f0095559c49d1306)
2024-10-23 13:08:41 +07:00
AntsyLich
890941fc02
Remove usage of deprecated accompanist SystemUiController
Co-authored-by: p
(cherry picked from commit 2ba3f0612c08c7021fed2f6d96cd538da2f34a13)
2024-10-23 13:08:41 +07:00
AntsyLich
bf6e1abbc7
ChapterNavigator: dispatch page change only when needed
Co-authored-by: p
(cherry picked from commit f84d9a08b4af768b1e9920c43cc445c86f5427fc)
2024-10-23 13:08:41 +07:00
AntsyLich
80063ffba4
Bump compile sdk to 35
Co-authored-by: p
(cherry picked from commit 37419cdc26c2b5c4f8583fc2ba439b08fab42856)
2024-10-23 13:08:41 +07:00
AntsyLich
f3c48d3ad8
Cleanup LibraryScreenModel LibraryMap.applySort and some more
(cherry picked from commit 2beb89d53163a6d288f8acdebe0f5d26fea8ab3e)
2024-10-23 13:08:41 +07:00
Cuong-Tran
b99389d2d0
bulk-selection: reverse selection 2024-10-23 13:08:40 +07:00
Cuong-Tran
a40385554c
show loading indicator while bulk-selection is running 2024-10-23 13:08:23 +07:00
brewkunz
774f99e0b6
Retain remote last chapter read if it's higher than the local one for EnhancedTracker (mihonapp/mihon#1301)
(cherry picked from commit 44aab7a2437ffdab354ee5ed82593fbaabb06a64)
2024-10-11 19:18:30 +07:00
Cuong-Tran
a96984b4ef
Fix Custom theme breaking Compose preview 2024-10-06 21:31:42 +07:00
Secozzi
697f59c943
Fix AniList ALSearchItem.status nullibility (mihonapp/mihon#1297)
(cherry picked from commit 76e0aba70cc3a744e6ef4950a89ff6a498a54909)
2024-10-06 21:00:08 +07:00
Cuong-Tran
147a36a709
feat(ui): Panorama cover
* support panorama cover

* bigger panorama cover size in GlobalSearchCardRow

* setting to enable/disable

* panorama cover for History items

* Keep panorama cover position in Library View centered for better visual

* fix: update ratio in Detail page if cover doesn't reload anew

* adjust ratio to switch to panorma

* panorama cover for Migration items

* center panorama cover & add dominant background color

* panorama cover for EditMangaInfo

* Fix size on GlobalSearchCardRow

* display mode for manual panorama cover

* Fix LibraryFlagsTest
2024-09-27 11:58:16 +07:00
Cuong-Tran
d09949e2bb
feat(ui): read/resume button movable
* material3: update scaffold to support FabPosition.Start

also fix fab's width calculation with inset

* Moveable Read button & sticky to either size of screen
2024-09-24 00:52:51 +07:00
Cuong-Tran
444f199225
Colors palette for Custom theme
* colors palette

* color button styling & scroll to top

* button's color animation

* Color change with hex. Also using default BrightnessSlider
2024-09-23 19:59:43 +07:00
Cuong-Tran
b72d910cc9
Improve custom theme
* update string

* migrate to use DynamicMaterialTheme instead

* support various style for custom theme

* use BaseColorScheme with dynamicColorScheme instead, to avoid Activity being recreated

* apply theme right when changing theme style

* change default style to Fidelity

* adaptable to system contrast with Custom theme & Theme based cover
2024-09-23 19:41:34 +07:00
Cuong-Tran
fc84f2ad13
add MangaDex to Batch-Add example 2024-09-23 12:50:22 +07:00
Riztard
76f43ec9ab
hide batch add if integrated H & Delegated src is off 2024-09-23 12:50:22 +07:00
Cuong-Tran
a4a18361c9
enable hidden categories by default 2024-09-23 12:49:23 +07:00
Roshan Varughese
f701db1dbe
Re-enable fetching chapters list for entries with licenced status (mihonapp/mihon#1230)
Enable Licensed

(cherry picked from commit 9cc7d42dd9676319559eddc7a4a264fca155e1ca)
2024-09-18 13:54:43 +07:00
MajorTanya
4ad0748c4e
Fix Kitsu synopsis nullability (mihonapp/mihon#1233)
This time, the Kitsu API docs are silent on whether this field (or
any other field) can be null/undefined/etc, but it can happen and
caused an error during search and update. This change just ensures the
attribute is nullable and is set to an empty String when it is null.

(cherry picked from commit f5c6d2e1a6896c031b8f4583375ee868f252822a)
2024-09-18 13:54:43 +07:00
Cuong-Tran
dd58a90588
fix: wrong feed adding when filter search (#366) 2024-09-18 13:54:43 +07:00
Cuong-Tran
c74a4bcc28
ui: show number of entries on upcoming screen (#363)
close #362
2024-09-18 13:54:43 +07:00
Cuong-Tran
326581e784
feat(ui): saved search tabs for browse source (#361)
Make all saved searchs to tabs in BrowseSource
2024-09-18 13:54:43 +07:00
Cuong-Tran
ef58951bac
feat: feed reorder screen (#356)
* feat: Add screen to reorder Feeds

* refactor: Update icons/title and add preview for FeedOrderListItem

* refactor & cleanup

* feat(source): Add functionality to reorder feeds in source feed screen.

* feat: Add sorting functionality to source feed order screen

* refactor: Update SourceFeedScreen AppBar buttons

* refactor: Reuse FeedDeleteConfirmDialog and FeedSortAlphabeticallyDialog

* refactor: Reuse FeedOrderListItem
2024-09-18 13:54:43 +07:00
kana-shii
ba43e5584c
disable smart-update for individual & fix custom interval (#318)
* set custom disabled interval

* fix wrong calculation of nextUpdate when setting custom fetchInterval

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-09-13 00:48:13 +07:00
Cuong-Tran
6c9dfb82f4
feat: Hidden categories (#348)
* support hide categories (merged from Aniyomi)

* styling CategoryScreen: always showing all categories & shading the hidden one

* Hide categories directly on Library tab and load it as a flow

* fix: hidden categories got reset after delete/reorder

* remove unnecessary code
2024-09-11 18:06:37 +07:00
Cuong-Tran
4a2f8a7895
revert repo's hide/unhide icon 2024-09-11 17:40:12 +07:00
AntsyLich
81d70c5ce3
Use new library for injekt with inorichi patch
(cherry picked from commit 83fd4746eda1b99f35292b0c2211e606a421b3eb)
2024-09-08 23:04:57 +07:00
AntsyLich
2fe0236384
Use TextFieldState in BasicTextField where applicable (mihonapp/mihon#1201)
Co-authored-by: p
(cherry picked from commit bec549cc444328c8b46594c67a84d25dcc1aca6f)
2024-09-08 02:06:53 +07:00
NGB-Was-Taken
e730ae0837
Show toast for app restart when User-Agent is changed (mihonapp/mihon#1204)
(cherry picked from commit c8ad6cdf31a14bce9a525cfc2a0616e8ac51d7c3)
2024-09-08 02:06:48 +07:00
AntsyLich
e24f4b2a71
Reduce ChapterNavigator horizontal padding on small ui (mihonapp/mihon#1202)
Co-authored-by: p
(cherry picked from commit 6f422745ba6db135514ac4959216923932565760)
2024-09-08 02:06:37 +07:00
Cuong-Tran
18b4b071a8
e-hentai language flag (#343)
* add language flag to BrowseList

* add Japanese support

* show language flag in metadata view
2024-09-08 00:44:47 +07:00
Cuong-Tran
2e0eb6ce85
hide display mode for e-hentai (#342) 2024-09-07 22:10:40 +07:00
Cuong-Tran
03f42ac2cf
remove option clean invalid downloads (#341) 2024-09-07 20:53:46 +07:00
bapeey
8fa56c5efb
Ignore "intent://" urls on webview (mihonapp/mihon#1193)
ignore intent urls

(cherry picked from commit b56a97bb8eaf336c75e69e7fb32b87431d991bb3)
2024-09-05 22:02:44 +07:00
AntsyLich
a1e0a1cd4b
Move archive related code to :core:archive
(cherry picked from commit bd7b35419861df6d426d6ec0a188391910d0f615)
2024-09-05 22:00:46 +07:00
Cuong-Tran
ffd5b4ebc1
Fix crashlytics while using custom global exception handler (#338)
* Add crashlytics to standard builds

(cherry picked from commit 3c611b95fb79e5ac972019b76c7b24f46a3087fd)

* Testing crashlytics

* working

* cleanup

* Revert "Auxiliary commit to revert individual files from 84232c7fe229bf557680a787fa02c055ca18dc66"

This reverts commit 2c9b6277b276f108a25e90e6be9a227440136063.

* Revert "Auxiliary commit to revert individual files from cf3f5fe1586f40fabf5b75a649ab332282608a08"

This reverts commit 708f6b1d3803374b0440d163560a682f0cfc618e.

* Only send crashlytics on Standard & Release/Preview build

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-09-05 15:29:28 +07:00
MajorTanya
586001c9a7
Fix Kitsu ratingTwenty being typed as String (mihonapp/mihon#1191)
The API docs and the responses type `ratingTwenty` as a "number" (Int
in Kotlin, it's divided by 2 for a .5 step scale 0-10). It's nullable
because an entry without a user rating returns `null` in that field.

(cherry picked from commit 001249a89dd4824a3df5661733062662c0ab44bd)
2024-09-05 15:26:10 +07:00
Roshan Varughese
11c2ae70dd
Option to update trackers when chapter marked as read (mihonapp/mihon#1177)
* Track when marked as read

* Add dismiss to snack bar

* i18n & ignore decimal chapters

* Detekt would have caught that 🤣

* `Ok` > `Yes`

* Dont prompt if untracked or current > new

* Move to MangaScreenModel

* Suggestions

Co-Authored-By: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Review 2

* toggleAllSelections first

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit abfb72c89c008973db866bf4b696b699db155574)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt
2024-09-04 19:07:51 +07:00
Cuong-Tran
66077917af
Fix DTO API for MangaDex tracker 2024-09-04 19:07:51 +07:00
MajorTanya
a4d556affc
Use DTOs to parse tracking API responses (mihonapp/mihon#1103)
* Migrate tracking APIs to DTOs

Changes the handling of tracker API responses to be parsed to DTOs
instead of doing so "manually" by use of `jsonPrimitive`s and/or
`Json.decodeFromString` invocations.

This greatly simplifies the API response handling.

Renamed constants to SCREAMING_SNAKE_CASE.

Largely tried to name the DTOs in a uniform pattern, with the
tracker's (short) name at the beginning of file and data class names
(ALOAuth instead of OAuth, etc).

With these changes, no area of the code base should be using
`jsonPrimitive` and/or `Json.decodeFromString` anymore.

* Fix wrong types in KitsuAlgoliaSearchItem

This API returns start and end dates as Long and the score as Double.

Kitsu's docs claim they're strings (and they are, when requesting
manga details from Kitsu directly) but the Algolia search results
return Longs and Double, respectively.

* Apply review changes

- Renamed `BangumiX` classes to `BGMX` classes.
- Renamed `toXStatus` and `toXScore` to `toApiStatus` and `toApiScore`

* Handle migration from detekt to spotless

Removed Suppressions added for detekt.

Specifically removed:
- `SwallowedException` where an exception ends as a default value
- `MagicNumber`
- `CyclomaticComplexMethod`
- `TooGenericExceptionThrown`

Also ran spotlessApply which changed SMAddMangaResponse

* Fix Kitsu failing to add series

The `included` attribute seems to only appear when the user already
has the entry in their Kitsu list.

Since both `data` and `included` are required for `firstToTrack`, a
guard clause has been added before all its calls.

* Fix empty Bangumi error when entry doesn't exist

Previously, the non-null assertion (!!) would cause a
NullPointerException and a Toast with
"Bangumi error: " (no message) when the user had removed their list
entry from Bangumi through other means like the website.

Now it will show "Bangumi error: Could not find manga".

This is analogous to the error shown by Kitsu under these
circumstances.

* Fix Shikimori ignoring missing remote entry

The user would see no indication that Shikimori could not properly
refresh the track from the remote. This change causes the error Toast
notification to pop up with the following message
"Shikimori error: Could not find manga".

This is analogous to Kitsu and Bangumi.

* Remove usage of let where not needed

These particular occurrences weren't needed because properties are
directly accessible to further act upon. This neatly simplifies these
clauses.

* Remove missed let

(cherry picked from commit 9f99f038f341e325c4f56372a5ce950cf9f7cd6d)
2024-09-04 19:07:51 +07:00
Dani
10d155b9a0
Support skip-downloading-duplicate-read-chapters for merged entries
(cherry picked from commit e19c62a8aef2203eb287ef2f450c95b642f7f2f0)
2024-09-04 17:22:29 +07:00
NGB-Was-Taken
4f0960309b
Move "Choose what to sync" out of "Sync now" (jobobby04/TachiyomiSY#1264)
(cherry picked from commit 19bc08659b84498b1c1786ddc3d925528765f4d9)
2024-09-04 17:22:29 +07:00
NGB-Was-Taken
99e2e24b6d
Show local chapters as downloaded on merged entries. (jobobby04/TachiyomiSY#1262)
* Show local chapters as downloaded on merged entries.

* Disable downloadIndicator for local chapters on merged entries.

(cherry picked from commit 2cb8f8f872f055275bf6126f1ed4ef2617c69ea8)
2024-09-04 17:22:23 +07:00
NGB-Was-Taken
4a656f3e84
Respect thumbnailQuality and tryUsingFirstVolumeCover preferences. (MD) (jobobby04/TachiyomiSY#1260)
(cherry picked from commit bdb8553e28bd839c29785012ded2dde93cc885ab)
2024-09-04 17:22:18 +07:00
AntsyLich
6d78d96850
Add stable marker to Manga data class
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 4ee31bfea5b6908e7131e2c46e4cb46155005abf)
2024-09-04 16:27:35 +07:00
AntsyLich
09a38669e8
Collect MangaScreen state with lifecycle
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 03eb756ecba0692d88d3a76254afc4c157fa225b)
2024-09-04 16:27:29 +07:00
AntsyLich
9f09ac94b9
PagerPageHolder: lazy init loading indicator
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit a45eb5e5288159dbbbbb5f92140ce0dd32a8f3ab)
2024-09-04 15:56:28 +07:00
AntsyLich
96669f6ca4
Remove legacy broken source and history backup
(cherry picked from commit 518abf032ccb9bb45d197927be2a5faca4167d29)
2024-09-04 15:46:42 +07:00
Cuong-Tran
c498e77ced
fix extension won't update (#328) 2024-09-01 03:05:07 +07:00
Cuong-Tran
e372542faa
fix: ext obsolete status (#327)
* fix: ext obsolete status

it was flip-flop each time refreshed

* reformat
2024-09-01 02:37:57 +07:00
Cuong-Tran
dfc33f983f
adjust source search's padding (#325) 2024-08-31 01:59:39 +07:00
Cuong-Tran
eb62927c1b
Add source search, icon & flag on Feed adding dialog (#324)
* add language flag

* add source icon

* source search
2024-08-31 01:23:20 +07:00
Cuong-Tran
af212480ae
Serializable object must implement 'readResolve' 2024-08-29 23:14:46 +07:00
Cuong-Tran
a979e3cda5
rename Related Titles to Suggestions (#317)
* Rename RelatedTitles to RelatedMangas/Suggestions

* Website suggestions
2024-08-29 23:13:42 +07:00
Cuong-Tran
ce6bd7cbad
Show language flags in AppLanguageScreen 2024-08-29 16:48:39 +07:00
Cuong-Tran
8b50cba75a
More language flags 2024-08-29 16:48:09 +07:00
Cuong-Tran
32e25f7959
use FlagEmoji instead of vector flags in some places 2024-08-29 16:21:08 +07:00
Cuong-Tran
9fc6ea65a5
use UN flag for language All 2024-08-29 16:14:35 +07:00
Cuong-Tran
454228e78f
Hide language icon for LocalSource 2024-08-29 02:14:58 +07:00
Tran M. Cuong
19b36d724c
revert: language badge for ALL (#314) 2024-08-29 00:15:27 +07:00
Tran M. Cuong
593aac4d0a
language flags for SourceFilter (#315) 2024-08-29 00:15:00 +07:00
Tran M. Cuong
ce727d6d42
fix: correctly using language flag in source name to avoid it appears in folder name (#313)
* fix: correctly using language flag in source name to avoid it appears in folder name

* using flag language in PreMigration list
2024-08-28 23:54:39 +07:00
Tran M. Cuong
9def7e7380
add back button on smartsearch source (#309) 2024-08-28 18:37:05 +07:00
Tran M. Cuong
9a12a904ba
safe-guard some edge-cases where chapters are duplicated some how on a merged entry (#311) 2024-08-28 18:36:52 +07:00
Tran M. Cuong
37a817e8f8
don't expand description on the manga found by smart search being used for merging, so user can see the button 'Merge with another' (#310) 2024-08-28 18:36:36 +07:00
Tran M. Cuong
eb311ee27a
feat: merge multiple library entries (#302)
* extract SmartSearchMerge to a separated class

* multiple select & merging from library

* fix various case when merging an already merged entry

* allow run 1 manga search-merging directly from Library screen

* allow remove merged entries after merging

* Open the newly-created merged manga after merging

* don't expand description on the merged manga being opened after merging
2024-08-28 18:26:00 +07:00
Roshan Varughese
c4f54e54b3
Hide keyboard when a Tracker SearchResultItem is clicked (mihonapp/mihon#1168)
* Hide keyboard on select

* Code Review Suggestion

(cherry picked from commit 7ca64a67c5c64103aa3a5c7efb9227d3a98b715d)
2024-08-28 00:00:37 +07:00
Tran M. Cuong
dadcfe6e21
Don't show Related Titles for merged entries (#308)
Also fix the case it was always showing Related Titles on overflow menu.
2024-08-27 23:58:42 +07:00
Tran M. Cuong
2d73e5e526
move dropdown menu to correct position (#303) 2024-08-27 18:21:12 +07:00
Catting
3791c1adb3
Add "show entry" action to download notifications (mihonapp/mihon#1159)
* Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* fixup! Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* fixup! Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* spotless! Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* fixup! spotless- Apply suggestions from code review

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

---------

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 952a98c1804b2134e59fcb471c54cf7c4e1f415e)
2024-08-26 22:31:25 +07:00
Cuong-Tran
b7896dbb0e
Using emoji flags in manga detail page
Fix source's error icon background
2024-08-26 18:11:14 +07:00
Roshan Varughese
c28ed2317b
Add confirmation when adding repo via URI (mihonapp/mihon#1158)
* Add confirmation when adding repo via URI

* Blank lines

* Suggestions

* Reverting Changes

* Removing Unused Imports

(cherry picked from commit 45628b14db477b266eb1f1f4ca9bec0b43f741cc)
2024-08-26 13:43:14 +07:00
Roshan Varughese
4c5c5f45da
Respect privacy settings in extension update notification (mihonapp/mihon#1156)
* Hide Extension Names in Update Notifications when Content is Hidden

* Moving `val` inside if

* [skip ci] Update CHANGELOG.md

(cherry picked from commit 5dc6569a683da47f5323c252fce1bd4094a5d232)
2024-08-26 13:42:23 +07:00
Tran M. Cuong
b67f0eceb0
add extensions list refresh menu (#296) 2024-08-26 13:40:20 +07:00
Tran M. Cuong
a876742d74
fix: separate same-name extension's installing status from different repos (#295) 2024-08-26 13:27:56 +07:00
Tran M. Cuong
228abc31c4
feat: allow ext from multiple repos & show their name (#294)
* show repo name

* Fix Obsolete status when disable/enable repo

* find extension's repo correctly using pkgName together with signature

* Don't filter out extension with same pkgname from different repo (signature)

* Preview

* Revert "Update CrashLog to include Unofficial ext’s info"

This reverts commit 7c11ddfc1e.

* remove Unofficial status

* show repo's short name if possible
2024-08-26 12:56:14 +07:00
Tran M. Cuong
8a7c005d61
repo icon for Komikku & Keiyoushi (#291) 2024-08-26 00:08:38 +07:00
Tran M. Cuong
50b837c976
feat: enable/disable repo (#288)
* Enable/Disable repo

* update extensions list when refresh
2024-08-26 00:08:38 +07:00
Tran M. Cuong
2536e5a77e
Remove built-in Komikku repo (#286)
* Add Help to Repo EmptyScreen

* Migration: insert Official Repo for old users

* button to auto fill official KMK extension repo

* 'More extensions' button to go to Repo page

* Remove default official repo

* fix spotless
2024-08-26 00:08:38 +07:00
Dani
94acbb08d7
Add option to skip downloading duplicate read chapters (mihonapp/mihon#1125)
* Add query to get chapter count by manga and chapter number

* Add functions to get chapter count by manga and chapter number

* Only count read chapters

* Add interactor

* Savepoint

* Extract new chapter logic to separate function

* Update javadocs

* Add preference to toggle new functionality

* Add todo

* Add debug logcat

* Use string resource instead of hardcoding title

* Add temporary logcat for debugging

* Fix detekt issues

* Update javadocs

* Update download unread chapters preference

* Remove debug logcat calls

* Update javadocs

* Resolve issue where read chapters were still being downloaded during manual manga fetch

* Apply code review changes

* Apply code review changes

* Revert "Apply code review changes"

This reverts commit 1a2dce78acc66a7c529ce5b572bdaf94804b1a30.

* Revert "Apply code review changes"

This reverts commit ac2a77829313967ad39ce3cb0c0231083b9d640d.

* Group download chapter logic inside the interactor GetChaptersToDownload

* Update javadocs

* Apply code review

* Apply code review

* Apply code review

* Update CHANGELOG.md to include the new feature

* Run spotless

* Update domain/src/main/java/mihon/domain/chapter/interactor/FilterChaptersForDownload.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ca968f162ef7a61a9036b7ab9bea407a6334801d)
2024-08-26 00:08:38 +07:00
kana-shii
266f449614
Smart updates fix (#268)
* Allow check completed entries for update if un-tick option "Skip completed..."
* Always predict next-release date for all entries, even if it's completed.
2024-08-26 00:08:38 +07:00
kana-shii
2266447745
Custom themes (#269)
* Update SettingsAppearanceScreen.kt

* Update SettingsAppearanceScreen.kt

* fix spotless

* improve

- Put custom theme in front
- Set default color for custom theme
- Using pre-defined padding values
- Make the color picker scrollable for phone in landscape mode

* fixes and new name

* Update ThemeColorPickerWidget.kt
2024-08-26 00:08:38 +07:00
Cuong-Tran
be9dbc50ea
Allow sync Feeds & extensionRepoSettings 2024-08-26 00:08:38 +07:00
Cuong-Tran
87133eb571
Option to not backup Saved searches & Feeds 2024-08-26 00:08:38 +07:00
kana-shii
ba73b0aeb3
Add option to update library each 6 hours (#278) 2024-08-26 00:08:38 +07:00
Cuong-Tran
48d874342e
Address more spotless lint errors from KMK & SY 2024-08-26 00:08:37 +07:00
AntsyLich
e7ca892f65
Address spotless lint errors (mihonapp/mihon#1138)
* Add spotless (with ktlint)

* Run spotlessApply

* screaming case screaming case screaming case

* Update PagerViewerAdapter.kt

* Update ReaderTransitionView.kt

(cherry picked from commit d6252ab7703d52ecf9f43de3ee36fd63e665a31f)
2024-08-26 00:08:37 +07:00
AntsyLich
335f0956b4
Remove detekt (mihonapp/mihon#1130)
Annoying. More annoying in this project.

(cherry picked from commit 777ae2461e1eb277a3aa0c998ff69e4f100387a1)
2024-08-26 00:08:37 +07:00
Shamicen
e6d2b1b930
Libarchive refactor (jobobby04/TachiyomiSY#1249)
* Refactor archive support with libarchive

* Refactor archive support with libarchive

* Revert string resource changs

* Only mark archive formats as supported

Comic book archives should not be compressed.

* Fixup

* Remove epub from archive format list

* Move to mihon package

* Format

* Cleanup

Co-authored-by: Shamicen <84282253+Shamicen@users.noreply.github.com>
(cherry picked from commit 239c38982c4fd55d4d86b37fd9c3c51c3b47d098)

* handle incorrect passwords

* lint

* fixed broken encryption detection + small tweaks

* Add safeguard to prevent ArchiveInputStream from being closed twice (#967)

* fix: Add safeguard to prevent ArchiveInputStream from being closed twice

* detekt

* lint: Make detekt happy

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

(cherry picked from commit e620665dda9eb5cc39f09e6087ea4f60a3cbe150)

* fixed ArchiveReaderMode CACHE_TO_DISK

* Added some missing SY --> comments

---------

Co-authored-by: FooIbar <118464521+fooibar@users.noreply.github.com>
Co-authored-by: Ahmad Ansori Palembani <46041660+null2264@users.noreply.github.com>
(cherry picked from commit 95c834581b106f73a28ade78b7aa4a6769633507)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ArchivePageLoader.kt
#	core/common/src/main/kotlin/eu/kanade/tachiyomi/util/storage/EpubFile.kt
#	gradle/libs.versions.toml
#	source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt
2024-08-26 00:08:37 +07:00
NGB-Was-Taken
a9a41f3621
Delete duplicate downloaded chapters when they are automatically marked as read (jobobby04/TachiyomiSY#1252)
(cherry picked from commit 71f2daf8f31238f7d643f86d2f2589f1c8050bf0)
2024-08-26 00:08:37 +07:00
Tran M. Cuong
8c6cca09a4
feat (ui): source language flags (#272)
* add countries flags
add flags & simplify/sizing
add flagkit

* add flags to Extensions Filter

* add flags to Sources & Extensions screen

* show language flag in Library
2024-08-26 00:07:56 +07:00
Tran M. Cuong
29eeccad1b
feat (ui): showing source icon in library (#261)
* showing source icon in library

* Change language icon for local source from Folder to Globe

* adjust size & padding for icon & badge

* Setting enable/disable source icon
2024-08-19 12:50:16 +07:00
kana-shii
ea4261e47e
add more auto backup hours (#252)
* add more auto backup hours

* new

* Revert "new"

This reverts commit f3230fb879fb35dd90d0d321850e07ceedc37894.

* everything done

missing te and sdh strings (both of them doesn't have the update x hours string)
2024-08-16 23:35:07 +07:00
Cuong-Tran
69715fa73d
change Reader's open-in-browser icon to Explore 2024-08-15 10:33:46 +07:00
FooIbar
1a9c712627
Add comment about RecyclerView cache size (mihonapp/mihon#1119)
Note for forks: Increasing cache size may cause OOM on API < 26, better
to make it API 26+ only.

(cherry picked from commit 1c47a6b9b35c622200c731cdbbc076f5263e8d06)
2024-08-14 02:54:20 +08:00
Cuong-Tran
0d2968440e
fix: setting to hide home button while browsing Related titles 2024-08-13 22:44:23 +08:00
Cuong-Tran
ae7c421d29
ui: put Related titles in overflow
close #248
2024-08-13 02:17:44 +08:00
Cuong-Tran
eb4d5fcbf0
fix: settings to show/hide progress-banner were not working 2024-08-13 01:35:14 +08:00
Tim Schneeberger
8fe7dcb167
feat(migration): add option to only show entries with new chapters (jobobby04/TachiyomiSY#1238)
(cherry picked from commit f7202e67cc3452676f5e2532015741811cd505bb)
2024-08-12 23:55:23 +08:00
Catting
a827601186
Add an "open in browser" button to reader menu (mihonapp/mihon#1110)
* Add an "open in browser" button to reader menu

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* fixup! Add an "open in browser" button to reader menu

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

---------

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>
(cherry picked from commit c5994e057b37484fec3a5300491946afe377a90a)
2024-08-12 23:55:19 +08:00
AntsyLich
40d2350576
Handle Android SDK 35 API collision
(cherry picked from commit fdb96179c6373eb0a8e7d6daea671a315d5ce5f0)
2024-08-12 23:55:09 +08:00
Jobobby04
fd92238852
Fix SY migrations
(cherry picked from commit 07c89890bc3eb2d7404120891c88bb7051495ded)
2024-08-12 23:55:03 +08:00
MajorTanya
34ef197aeb
Fix some migrations never running (mihonapp/mihon#1114)
Both `SetupBackupCreateMigration` and `SetupLibraryUpdateMigration` were
trying to get the `App` class from Injekt which is never provided via
the `AppModule`. Using `Application` instead works since the
`workManager` property used by the respective `setupTask` functions is
an extension property on `Context`.

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit be124ebe86377ad77de5abd1594afd7aedf9050c)
2024-08-12 22:36:56 +08:00
AntsyLich
39f3dc970c
Fix UI freeze after migration
Fixes mihonapp/mihon#938

(cherry picked from commit 3f1d28c3833e6b868152149ed02b3fb8c54eccef)
2024-08-12 22:36:51 +08:00
AntsyLich
184507ccdf
Add a button to select all scanlators
Resolves mihonapp/mihon#943
Closes mihonapp/mihon#1109

(cherry picked from commit 84b2164787a795f3fd757c325cbfb6ef660ac3a3)
2024-08-12 22:36:16 +08:00
Catting
75bc8a2db5
Add Copy Tracker URL on icon long press (mihonapp/mihon#1101)
* Add Copy Tracker URL on icon long press

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Add 'Copy To Clipboard' to tracker item menu

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Add 'Copy link' to locales.

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Implement code review suggestions
>
> Co-authored-by: AntsyLich  <59261191+AntsyLich@users.noreply.github.com>

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Update app/src/main/java/eu/kanade/presentation/track/components/TrackLogoIcon.kt

---------

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 200d39e023af79b02276554a1bef1d7d53e3b903)
2024-08-12 22:35:59 +08:00
MajorTanya
19c924ce69
Fix MAL search results not showing start dates (mihonapp/mihon#1098)
The previous approach would always throw an Exception because
`SimpleDateFormat.format()` expects the input to be of type `Date` or
`Number`, not `String`.

(cherry picked from commit 97c81fadb426d71ac99c9443ab0e89f4089046ef)
2024-08-12 22:35:45 +08:00
Cuong-Tran
84e7e4f385
change domain from kitsu.io to kitsu.app 2024-08-12 00:19:43 +08:00
Roshan Varughese
652126c398
Add Backup and Restore of Extension Repos (mihonapp/mihon#1057)
* Backup/Restore Extension Repos

* Refactor

* Moving to Under App Settings

* Sort by URL, Check existing by SHA and Error Logging

Untested. Currently in a lecture and can't test if the changes really work.

* Changes to logic

* Don't ask me what's happening here

* Renaming Variables

* Fixing restoreAmount & changes to logic

Co-Authored-By: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 31263084eca3ba98624d258a317d53094bba2256)
2024-08-09 00:25:37 +07:00
AntsyLich
9658c25d2f
ExpandableMangaDescription: Adjust size transform anim spec
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 1c16fc79c2ac4c4be30308fed84ffb371dab5902)
2024-08-09 00:25:16 +07:00
AntsyLich
be9735f42d
Rename backup restore error log file
(cherry picked from commit 2858ef835fec8d7278b1d0cad1b5664104d1e4b0)
2024-08-09 00:24:30 +07:00
Cuong-Tran
006d30ed36 feat: allow canceling search for a migrating manga without remove it
so user can perform manual search without waiting
2024-08-08 18:48:08 +07:00
Cuong-Tran
27ca4af744 fix: wrong initial number of migrating items 2024-08-08 18:48:08 +07:00
Cuong-Tran
2b3f082690 feat: add source search to pre-migration screen 2024-08-08 18:48:08 +07:00
FooIbar
9a339319a1
Don't crash on ill-formed URLs (mihonapp/mihon#1084)
(cherry picked from commit 854474f85ffc41eccdc2b3a6cf105fa2805ebc3c)
2024-08-06 22:49:00 +07:00
Tran M. Cuong
8da0a145bc
feat(ui): Add sources search to Migrate Source Screen (#232) 2024-08-06 03:42:08 +07:00
Tran M. Cuong
515496f058
add description to long-press on saved searches (#225)
* add description to long-press on saved searches

* more i18n string
2024-08-05 18:44:14 +07:00
Tran M. Cuong
c43015439d
restore-feed-order (#223)
* fix: possible duplicate saved search restored if query or filters is null

* refactor: change backup structure so it allows keeping feeds' order
2024-08-05 18:15:33 +07:00
FooIbar
d5844286b9
Match extra layout space with scroll distance (mihonapp/mihon#1076)
And increase recycler item view cache size.

(cherry picked from commit a3dfd2efe6ace7a2a4d79bd09fb1a729989f1094)
2024-08-05 11:07:14 +07:00
Tran M. Cuong
c6165c3c51
feat: change feed's order (#220)
allow change feed's order manually by moving up/down

partially implement #130

* add feed_order

- add/migrate feed_order column
- auto increament feed_order when adding new feed
- showing feed in order using feed_order

* refactor code to support feedOrder

* swap feed order

* Fix generating feed's order when no feed existed
2024-08-04 03:02:19 +07:00
Cuong-Tran
64a2c98ad7 Fix: missing feed if saved searches already exists 2024-08-04 03:01:19 +07:00
Vetle Ledaal
0c3c9e9952
Improve error message if restoring from JSON file (mihonapp/mihon#1056)
* Improve error message if restoring from JSON file

* Replace Exception with IOException

* Use more generic error message if protobuf fails

* fix lint

(cherry picked from commit de8ef6dad7c89afb7041ccb489d68539a4849cb5)
2024-08-02 13:19:11 +07:00
AntsyLich
b018272d3b
Cleanup backup/restore related code
(cherry picked from commit c201b341a716b90d378dcda4bd9b8ac4a343d4fc)
2024-07-30 18:29:04 +07:00
AntsyLich
2500317134
Fix library is backed up when disabled and make categories backup/restore independent
(cherry picked from commit 56fb4f62a152e87a71892aa68c78cac51a2c8596)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupCreator.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupOptions.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/RestoreOptions.kt
2024-07-30 18:29:04 +07:00
Cuong-Tran
ccde68f4f8
feat: request for writing storage permission when saving pictures (Android P & below) 2024-07-30 18:29:04 +07:00
Cuong-Tran
c16ed41c2f
feat: Add onboarding permissions request for external storage
support save covers & using custom covers depends on the Android version
2024-07-30 18:29:04 +07:00
Cuong-Tran
5a3c6dae4a
fix: canceling job didn't hide status banner 2024-07-30 18:29:04 +07:00
Cuong-Tran
93be3f15b7
fix: copy icon (migration whole list) was always migrating instead of copy 2024-07-30 18:29:04 +07:00
Cuong-Tran
1042726a74
fix: migrate/copy manga untick delete downloaded had no effect & always delete 2024-07-30 18:29:04 +07:00
Roshan Varughese
4c19c80013
Adds Option to Copy Panel to Clipboard (mihonapp/mihon#1003)
* Add Copy to Clipboard

* Removing Unused Import

* Reusing onShare function

* Commit Suggestion

* Early Return on null

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 0af90999c8eed4b6c56a94418e5558833f273aa9)
2024-07-30 18:27:55 +07:00
Cuong-Tran
486dc91be7
Don't use animateItem's fade-in/fade-out in FastScrollLazyColumn 2024-07-30 18:27:55 +07:00
Jobobby04
67bf243f9b
Fix build errors
(cherry picked from commit 7899474a36c3e097163246e5081ff57def79263c)
2024-07-30 18:27:55 +07:00
AntsyLich
a650dae97e
Fix issue with creating and restoring backup
Fixes mihonapp/mihon#881

(cherry picked from commit f696f209c6b3efb3148e1d587af9e42c71d8dc6f)
2024-07-30 18:27:54 +07:00
renovate[bot]
b939492dcb fix(deps): update dependency dev.chrisbanes.compose:compose-bom to v2024.05.00-alpha03 (#60, mihonapp/mihon#843)
* fix(deps): update dependency dev.chrisbanes.compose:compose-bom to v2024.05.00-alpha03

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 777a071f4a2f32efc3447d118afd8b48006b3919)
2024-07-27 02:13:27 +07:00
AntsyLich
fa8f519ffc Bump compose version
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit e473c7f09fc009161145aca94bd70027f042b0bf)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/browse/ExtensionFilterScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/GlobalSearchScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/SourcesFilterScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/components/GlobalSearchResultItems.kt
#	app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt
#	app/src/main/java/eu/kanade/presentation/manga/components/MangaInfoHeader.kt
#	gradle/compose.versions.toml
2024-07-27 02:13:27 +07:00
Roshan Varughese
ee92333aea
Format Category String on Subtitle Display (mihonapp/mihon#1030)
* Fixes mihonapp/mihon#1029

* Max Line Length Fix

* Update SettingsLibraryScreen.kt

No idea how this works.

Co-authored-by: Foolbar <118464521+Foolbar@users.noreply.github.com>

---------

Co-authored-by: Foolbar <118464521+Foolbar@users.noreply.github.com>
(cherry picked from commit 88efde8796b0e1cc8fba6cd987bdc487bd97f248)
2024-07-26 23:11:20 +07:00
Cuong-Tran
a1dbcc022d feat: Add option to show manga from download queue item
close #116
2024-07-22 22:54:21 +07:00
renovate[bot]
51ab4e0255
fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha08 (#157)
* fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07

* fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07 (mihonapp/mihon#960)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit c0f9de88e70ef1db97c521993462ae27550b5790)

* Fix build

* Bump coil version and some cleanup

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit e65634cb427eafe9e3bd192f9e8bf71f2243ce6c)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-07-22 14:15:46 +07:00
Cuong-Tran
1d9ed72f93 feat: update E-Hentai to support libraryColored, bulk-selection overlay & hide-cover
also update in-library badge
2024-07-22 13:35:04 +07:00
Cuong-Tran
afbb4b70b1 feat: show libraryColored by default on all list/grid 2024-07-22 13:35:04 +07:00
Cuong-Tran
4c4c6ae292 refactor: Fix bgColor when selected 2024-07-22 13:35:04 +07:00
Cuong-Tran
0e7a4a7066 Debug setting to hide cover image showing only color 2024-07-22 13:35:04 +07:00
Cuong-Tran
a67d63a4d8 refactor: rework cover's loading animation performance
Close #159
2024-07-22 13:35:04 +07:00
Cuong-Tran
c7bab00379 Setting for pre-load cover's library color 2024-07-22 13:34:33 +07:00
Cuong-Tran
314ced0e8d Load cover color with IO scope instead of UI
Fix laggy issue (#159) when opening multiple entries continuously
2024-07-22 13:34:33 +07:00
Cuong-Tran
de4da5e829 Revert "remove duplicate chapter's filter icon"
This reverts commit 70ef686f34.
2024-07-22 13:34:33 +07:00
Cuong-Tran
7ca0e02bee
refactor: rename 2024-07-22 13:26:31 +07:00
Tran M. Cuong
050c661c9e
progress-banner (#163)
* feat: banner showing updating status

* showing progress for updating

* showing progress for syncing & backup restoring too

* preferences for progress banner
2024-07-09 15:00:37 +07:00
FooIbar
0496c608c0
Fix some issues when reading/saving images
(mihonapp/mihon#993)

* Fix unsupported mime type error when saving images

Avoid using platform mime type map to get extensions as it may not have
all mime types we support.

* Fix jxl images downloading/reading

(cherry picked from commit daa47e049327c4d8b1fe4724ed1b84897d81fcf2)
2024-07-08 21:07:56 +07:00
AntsyLich
b12735732f
Fix login prompts despite being logged in to trackers in Manga screen
(cherry picked from commit cbcd8bd6682023f728568f2b44da26124618aed7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt
2024-07-08 21:00:03 +07:00
Cuong-Tran
74a71de53e
Fix MdList isLoggedInFlow 2024-07-08 17:10:40 +07:00
Cuong-Tran
16401ea86f
refactor: limit Navigator log to Preview/Debug only 2024-07-08 11:35:35 +07:00
Cuong-Tran
1e34b95b51
feat: add search drop-down menu for entry's author/artist/source 2024-07-08 00:57:02 +07:00
Tran M. Cuong
271aa166aa
feat: search entry's title in library (#158)
* feat: add library title search

* do library search only, won't do source search
2024-07-08 00:02:04 +07:00
renovate[bot]
241c6ff4c1
fix(deps): update dependency com.google.apis:google-api-services-drive to v3-rev20240521-2.0.0 (#15)
* fix(deps): update dependency com.google.apis:google-api-services-drive to v3-rev20240521-2.0.0

* Migrate from deprecated Jackson to Gson & fix "2 files found with path 'META-INF/INDEX.LIST'"

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-07-07 22:50:10 +07:00
AntsyLich
e5c830d08b
Observe tracker login state instead of fetching once (mihonapp/mihon#987)
* Observe tracker login state instead of fetching once

* Review changes

(cherry picked from commit 2092c81bad59fd745a8514af320e534ecf40a5da)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/library/LibrarySettingsDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryScreenModel.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt
2024-07-07 02:17:29 +07:00
Cuong-Tran
274aefb3b3 feat(ui): Add restoring & syncing banner 2024-07-05 22:28:47 +07:00
Jobobby04
54bc3d883d
Fix some MDLang issues
(cherry picked from commit c7bbad93b2e7d4114d0b1c20b172b0800b4a6286)
2024-07-05 15:03:25 +07:00
Jobobby04
688f11a3e5
Codestral(ChatGPT) cleanup of some double pages code
(cherry picked from commit 1a4a2506f4c3a82b8ba36b76c43ccff6f5a99a59)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt
2024-07-05 15:03:13 +07:00
gelionexists
9615cc20bd
Update LewdMangaChecker.kt (jobobby04/TachiyomiSY#1204)
- Added the `mature` tag
- Added `doujins` (doujins.com) and `luscious` (luscious.net) as filter keywords

(cherry picked from commit 7b7a594ddbcb26ebafde7ba2f7a0659eda2a899b)
2024-07-05 14:59:57 +07:00
KaiserBh
94c0154ee3
chore: improve google drive sync. (jobobby04/TachiyomiSY#1200)
improve google drive sync, removes the lock, change to protobuf, and potentially fix deviceId not being unique, since it wasn't appState...

(cherry picked from commit c2eece0fff7c8b4395bf0aa02c7ef6012f9bbf8d)
2024-07-05 14:59:57 +07:00
AntsyLich
e079b9bfd8
Make global search "Has result" sticky
Closes mihonapp/mihon#133

(cherry picked from commit 5a61ca5535fe0d9e8e7bcb9e665ba2f9cb0cf649)

# Conflicts:
#	app/src/main/java/eu/kanade/domain/source/service/SourcePreferences.kt
2024-07-05 14:47:32 +07:00
Roshan Varughese
3d4917f7da
Smart Update Dialog Tweak (mihonapp/mihon#977)
* Smart Update Dialog Fix

* Build Fail Change 1

* Commit Suggested Change

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Build Fail Change 2

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ddba71df37359e6abbbcc96b18685435961710dc)
2024-07-05 14:47:31 +07:00
Maddie Witman
f0fad0c603
Added configuration options to e-ink page flashes (mihonapp/mihon#625)
* Recommit for e-ink pref changes

* Fixed state holder for flash interval

* Detekt

* Refactor suggested by Antsy

* inverted currentDisplayRefresh check for early exit

(cherry picked from commit 2f86f25d5b24c2054a604802dc65b8bc3a99c7c0)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt
#	app/src/main/java/eu/kanade/presentation/reader/settings/GeneralSettingsPage.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderPreferences.kt
2024-07-05 14:47:21 +07:00
Cuong-Tran
9ffeb13ef3 refactor: Update usage of delegated sources' ids 2024-07-05 10:37:43 +07:00
Cuong-Tran
7c63f84f5f feat: Add support for backing up and storing source's feeds along with saved searches 2024-07-05 10:37:43 +07:00
Cuong-Tran
9d36c1ae15 feat: Add support for backing up and restoring global popular/latest feeds 2024-07-05 10:37:43 +07:00
Cuong-Tran
0147f830be feat: Add back navigation to clear source search query 2024-07-05 10:37:08 +07:00
Cuong-Tran
a0a6c677e3 improve: don't show arrow if related titles are from Recommends 2024-07-04 15:47:12 +07:00
Cuong-Tran
45e9d19a75
fix GDrive error message 2024-07-02 13:54:50 +07:00
Cuong-Tran
a8e65dd63a
really fixed duplicate issue with Related titles row 2024-07-02 13:50:26 +07:00
Cuong-Tran
a32316ddb4
refactor: check source loaded with launch instead of launchIO 2024-07-02 12:33:39 +07:00
CrepeTF
387a707b18
Theme fixes (mihonapp/mihon#963)
* Fix theme issue with download progress indicator

* Fix theme issue with download progress indicator + better contrast

(cherry picked from commit e132cc405f23e18dd8d73626730821eae9051149)
2024-07-02 02:13:45 +07:00
Cuong-Tran
159d5e31d7 refactor: Improve error message handling in GoogleDriveSyncService 2024-07-02 01:24:41 +07:00
Cuong-Tran
f24c101d78 refactor: switch to Crossfade for RelatedTitlesScreen 2024-07-02 01:24:41 +07:00
Cuong-Tran
780523b221 fix: filter duplicate related entries using ID instead of URL
solve #120
2024-07-02 01:24:41 +07:00
Cuong-Tran
e25ff219eb refactor: Update seedColor usage in ReaderActivity
- Using state to update seed color when there is change
- Fix: loading seed color in case manga is late to init
- improve: change chapter's slider's text color
2024-07-02 01:22:01 +07:00
Cuong-Tran
c49c4c9c6d refactor(navigation): Add navigateUp functionality to SourceFeedScreen and SourceFeedToolbar
directly navigate back instead of just close search bar
2024-07-02 01:16:34 +07:00
Cuong-Tran
c92fdb5231 improve: retry to load source in some case it's late 2024-07-02 01:16:34 +07:00
Tran M. Cuong
19890ef4d4
update-color-schemes (#121)
* feat: Add more color theme

- CloudFlare
- CottonCandy
- Doom
- Matrix
- Mocha
- Sapphire

* generate full color for Cottoncandy

* generate full color for Mocha

* refactor(ui): reorder themes

close #114
2024-07-02 01:14:27 +07:00
AntsyLich
a8ce6061d7
Cleanup in CommonMangaItem.kt
Closes mihonapp/mihon#19

Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
(cherry picked from commit e17f70f7226ea031fc1f962c9dfea3e404ba53ad)
2024-06-25 18:01:18 +07:00
Cuong-Tran
6651483741 chore: showing changelog in preview build 2024-06-25 16:48:11 +07:00
Cuong-Tran
11cfa733e9 refactor: Improve key generation for list items 2024-06-25 12:48:12 +07:00
Cuong-Tran
05565900db Add log to ScreenTransition to track screen transition by key used multiple times issue 2024-06-25 12:00:09 +07:00
Cuong-Tran
4555ac9c89 feat(ui): better cover_loading size 2024-06-25 01:35:05 +07:00
Cuong-Tran
a2b0103e98 feat(ui): better cover_error size 2024-06-25 00:43:22 +07:00
Cuong-Tran
06004de0f1 refactor(ui): Update text and icon colors in metadata description adapters for delegated sources 2024-06-24 23:31:15 +07:00
Cuong-Tran
e89f50c845 chore: Simplify pop conditions when search in MangaScreen 2024-06-25 12:55:09 +07:00
Cuong-Tran
069a38a46f feat(ui): improve navigation when using manga's Home button 2024-06-24 23:52:22 +07:00
Cuong-Tran
43852b8b79
feat(ui): Improve navigation flow when click on manga's source 2024-06-24 18:41:25 +07:00
Cuong-Tran
5d9a7a1189 MangaScreen only shows Home button if previous screen is also MangaScreen 2024-06-24 18:13:37 +07:00
Cuong-Tran
a4ded07f6f refactor: leverage DynamicMaterialTheme with TachiyomiTheme 2024-06-24 16:39:33 +07:00
Cuong-Tran
5d6aa7f98a Fix typo 2024-06-24 16:02:16 +07:00
Cuong-Tran
763f3fdb15 primary color for page count in reader 2024-06-24 15:29:56 +07:00
Cuong-Tran
1d5f906a06
refactor: Use modifier instead of contentPadding for ScrollbarLazyColumn to support stickerHeader 2024-06-24 15:16:29 +07:00
Cuong-Tran
b491ad4c5f
Fix ExtensionsScreen padding 2024-06-24 15:16:29 +07:00
Tran M. Cuong
004ecc62bb
feat: SourcesFilterScreen: add sticky header & show language in SourceFiler's items
sticky header without language name

This reverts commit a676891d98964eaf9288199630cf0289830f0212.

show language in SourceFiler's items
correct padding to fix scrollbar overlaping
2024-06-24 15:16:28 +07:00
Cuong-Tran
4b8fe6868e
feat: scrollbar for related mangas screen
Fast scroll for RelatedMangasList

also fix padding
refactor: Replace contentPadding with modifier in RelatedMangasList
2024-06-24 15:16:28 +07:00
Cuong-Tran
e326358523
feat: Add option to show home icon on related titles
Add an option to show a home icon while browsing related titles, allowing users
to navigate directly back to home screen.
2024-06-24 15:16:28 +07:00
Tran M. Cuong
4726126c6b
improve delegated's Metadata view (#110)
* Fix more_info was preloaded with default color before being set correct color

* Remove the "meta" on delegated entries

* Fix title overlaps more-info in 8muses's metadata view

* better delegated genre's color
2024-06-24 15:16:28 +07:00
Cuong-Tran
a8728f332c
color for reader's loading/progress indicator 2024-06-24 15:16:28 +07:00
Cuong-Tran
c8c4ad7be6
color for icons in reader
close #107
2024-06-24 15:16:28 +07:00
Cuong-Tran
2bbda8c0bd
Fix crashing issues with Screen 2024-06-22 22:43:44 +07:00
Cuong-Tran
1c61efd8e9
change color for full-cover icon & reading button
also remove the divider of related-titles in tablet view
2024-06-22 22:22:28 +07:00
Cuong-Tran
f1e0c51e6c
better background for full cover view
close #69
2024-06-22 21:41:17 +07:00
Cuong-Tran
0a3d9121ae
avoid loading cover's color if theme cover based is disabled 2024-06-20 19:52:53 +07:00