Commit graph

6650 commits

Author SHA1 Message Date
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
343cd3727c
Fix: crash upon open RecommendsScreen if source is removed 2025-01-24 14:58:30 +07:00
Jobobby04
aba9faff57
Minor improvements
(cherry picked from commit 2b890c20577100e64004e4983cbda2467ba695df)
2025-01-24 03:07:15 +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
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
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