9231 Commits

Author SHA1 Message Date
MajorTanya
c179b1812c 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)

# Conflicts:
#	CHANGELOG.md
2025-03-02 11:42:08 -05:00
MajorTanya
1fa05703fa 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)

# Conflicts:
#	CHANGELOG.md
2025-03-02 11:40:49 -05:00
MajorTanya
b34f807d33 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)

# Conflicts:
#	CHANGELOG.md
2025-03-02 11:40:32 -05:00
renovate[bot]
fda27e6eba
Update dependency com.google.oauth-client:google-oauth-client to v1.38.0 (#1402)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 11:38:14 -05:00
Tim Schneeberger
217503eab0
feat(MangaDex): use tracker links to associate mangas automatically with trackers (#1387)
* feat: add searchById support to trackers (MAL, AniList, MangaUpdates only)

* feat: add new preference to toggle auto selection of tracker items using source metadata if available

* feat: add new preference to toggle auto selection of tracker items using source metadata if available

* feat: add automatic title selection using source metadata to TrackInfoDialog.kt

* style: apply spotless

* refactor: remove hardcoded MangaDexSearchMetadata cast and introduce common interface
2025-03-02 11:37:50 -05:00
lord-ne
8d062cecfd
Use COMPLETE category when sync finishes (#1385) 2025-03-02 11:37:07 -05:00
BrutuZ
614839c023
Fix CDN subdomain for delegated source covers (#1384) 2025-03-02 11:36:41 -05:00
Tim Schneeberger
254980695b
feat: batch processing for recommendations & sort by relevancy (#1383)
* refactor: use NoResultsException

* refactor: cleanup RecommendationPagingSources

* refactor: turn wake/wifi lock functions into reusable extensions

* feat: implement batch recommendation (initial version)

* fix: serialization issues

* fix: wrong source id

* refactor: increase performance using virtual paging

* refactor: update string

* refactor: handle 404 of MD source correctly

* style: add newline

* refactor: create universal throttle manager

* refactor: throttle requests

* chore: remove unused strings

* feat: rank recommendations by match count

* feat: add badges indicating match count to batch recommendations

* fix: handle rec search with no results

* fix: validate flags in pre-search bottom sheet

* feat: implement 'hide library entries' for recommendation search using custom SmartSearchEngine for library items

* style: run spotless

* fix: cancel button

* fix: racing condition causing loss of state
2025-03-02 11:36:07 -05:00
Weblate (bot)
28cca49635
Translations update from Hosted Weblate (#1379)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/de/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/fil/
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/ja/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/vi/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hant/
Translation: Mihon/TachiyomiSY

Co-authored-by: Corrado Belmonte <corrado.spam@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: Eji-san <ejierubani@gmail.com>
Co-authored-by: Frosted <frosted@users.noreply.hosted.weblate.org>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Itsmechinmoy <itsmechinmoy@users.noreply.hosted.weblate.org>
Co-authored-by: Lyfja <45209212+lyfja@users.noreply.github.com>
Co-authored-by: Nam Pai <namhg911@gmail.com>
Co-authored-by: Shiratori <kuromaruhatake@gmail.com>
Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
Co-authored-by: quangpao <ddquangbao@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
2025-03-02 11:32:25 -05:00
Jobobby04
c95d7fe30f Re-add Android SDK preview-170 2025-01-22 13:31:24 -05:00
Jobobby04
2b890c2057 Minor improvements preview-169 2025-01-22 12:58:26 -05:00
Jobobby04
456db52653 Minor cleanup 2025-01-21 18:21:44 -05:00
Weblate (bot)
0a5e9dce24
Translations update from Hosted Weblate (#1340)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/fr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/hr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/ta/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/de/
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/fr/
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/ja/
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/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ta/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hant/
Translation: Mihon/TachiyomiSY
Translation: Mihon/TachiyomiSY Plurals

Co-authored-by: Acelith <joel.jon@moix.me>
Co-authored-by: Andrés sigampa <fixiho3273@bawsny.com>
Co-authored-by: Barrel-Whisky-Fermentation <entomavasilissazeta790@gmail.com>
Co-authored-by: Bokutowo <stephaniejin47@gmail.com>
Co-authored-by: C0LiSii0N <paul.31@hotmail.com>
Co-authored-by: Cauã Oliveira <caua.oli.santos@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@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: Mochammad Nopal Attasya <meleboy22@gmail.com>
Co-authored-by: NormalRandomPeople <normal.scribe833@silomails.com>
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: mirukupc <mirukupc.jp@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
2025-01-21 17:56:55 -05:00
spicemace
9b6600d31f
Mangadex fix alt title being removed by cleanDescription (#1378)
* Update MdUtil.kt

* Update ApiMangaParser.kt

* Update MdUtil.kt
2025-01-21 17:12:11 -05:00
Mend Renovate
5f19859589 Update dependency com.google.firebase:firebase-bom to v33.8.0 (#1652)
(cherry picked from commit 82fd89cee65f6663a6eddd09c73eaff23d3c2947)
2025-01-21 14:48:18 -05:00
Mend Renovate
a189780e7f Update dependency androidx.recyclerview:recyclerview to v1.4.0 (#1650)
(cherry picked from commit 643f95f046e98d7403daedf06ff01d0c9708249d)
2025-01-21 14:48:10 -05:00
Mend Renovate
664fcfd787 Update dependency androidx.activity:activity-compose to v1.10.0 (#1649)
(cherry picked from commit 9c81f2486cd8db6dbdb68e6e273cc8587814b21d)
2025-01-21 14:48:02 -05:00
Mend Renovate
64e3e03a02 Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7.0.2 (#1647)
(cherry picked from commit e59d2d381d2c105cae41918d30cc215ab3317551)
2025-01-21 14:47:56 -05:00
AntsyLich
3139aa5e51 Remove unnecessary filters for pseudolocales
(cherry picked from commit da90064c948c629ebaf6d6a97ca0b6f52cb570f1)
2025-01-21 14:47:46 -05:00
AntsyLich
2744a8bd96 Address some deprecations
(cherry picked from commit d53a3828b12daead9c898bea12c9a1497d07366f)
2025-01-21 14:47:39 -05:00
sdaqo
0ab7d18ad3 Add option to enable incognito mode per extension (#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)

# Conflicts:
#	CHANGELOG.md
#	app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceScreenModel.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt
2025-01-21 14:47:32 -05:00
Mend Renovate
853288f71b Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7.0.1 (#1630)
(cherry picked from commit 5a9367603beb82aac350c47c9ea2a6c343be0c1e)
2025-01-21 14:44:34 -05:00
Mend Renovate
4a2a81df80 Update dependency com.squareup.okio:okio to v3.10.2 (#1631)
(cherry picked from commit c01e9f3e92b9b2aa92aa50af5e3066affed419ad)
2025-01-21 14:44:27 -05:00
Mend Renovate
6827a0899c Update dependency com.android.tools.build:gradle to v8.8.0 (#1634)
(cherry picked from commit ae9753a1ea72b9e8d3271d56ed6cc202b8973ca2)
2025-01-21 14:44:20 -05:00
Mend Renovate
dd1cbb07f7 Update dependency io.mockk:mockk to v1.13.16 (#1636)
(cherry picked from commit 1fe4d6cbd41f38676cb3cd858974ac105d272786)
2025-01-21 14:44:13 -05:00
Jobobby04
7f20006622 Use Adoptium distributed Java in workflows 2025-01-21 14:44:04 -05:00
Mend Renovate
8d25074a3e Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7.0.0 (#1628)
(cherry picked from commit 3a3abc6854c8035e0d489750a04fba8400ef2c84)
2025-01-21 14:42:58 -05:00
Mend Renovate
73a265f5ad Update serialization.version to v1.8.0 (#1627)
(cherry picked from commit d9a550b9350a6fb46bac783833b54c4b199e719b)
2025-01-21 14:42:51 -05:00
Mend Renovate
02da349080 Update aboutlib.version to v11.4.0 (#1621)
(cherry picked from commit 1617f8eb49a210808326bc46b536b87d62095658)
2025-01-21 14:42:44 -05:00
Jobobby04
e218234f91 Tweak build workflow 2025-01-21 14:42:35 -05:00
MajorTanya
47b4be7fcf Fix MAL main_picture nullability breaking search if a result doesn't have a cover set (#1618)
* Fix MAL manga cover nullability

If a manga doesn't have a cover, MAL doesn't provide the
`main_picture` element in the API response at all.

* Add CHANGELOG.md entry

(cherry picked from commit d60802721b78870082af9445201338fbcfa0a780)

# Conflicts:
#	CHANGELOG.md
2025-01-21 14:38:08 -05:00
AntsyLich
fea11eaa06 Revert "Revert "Add option to always use SSIV for image decoding""
This reverts commit 1909126921ac78309f7f7c7c2aa85606611531b8

(cherry picked from commit c5655e8803bc32d0931657f0b7bc6afeab70feaf)

# Conflicts:
#	CHANGELOG.md
2025-01-21 14:37:36 -05:00
Mend Renovate
99ef619603 Update dependency gradle to v8.12 (#1605)
(cherry picked from commit d3973f4ad88b2d61e49974b032a118a7f67b9a7b)
2025-01-21 14:37:08 -05:00
Mend Renovate
93a5e70bbe Update dependency androidx.compose:compose-bom to v2024.12.01 (#1564)
(cherry picked from commit bb230fd6a77651ea2b5b1b3f1e42124a98b63016)
2025-01-21 14:36:59 -05:00
Mend Renovate
a3c1c63332 Update paging.version to v3.3.5 (#1563)
(cherry picked from commit e526fd44c618ab26fd4860a0b7b147efc89d5bf1)
2025-01-21 14:36:52 -05:00
Mend Renovate
4348862e46 Update dependency androidx.viewpager:viewpager to v1.1.0 (#1571)
(cherry picked from commit f61f039a453cf562fdb10e9eeac64b55b2d9eb31)
2025-01-21 14:36:42 -05:00
Mend Renovate
5a6aaf8dcf Update dependency org.junit.jupiter:junit-jupiter to v5.11.4 (#1580)
(cherry picked from commit 79eb02d8f066e7cd2465938c24a9649a9a61f48a)
2025-01-21 14:36:35 -05:00
Mend Renovate
bc28f7a4e9 Update voyager to v1.0.1 (#1595)
(cherry picked from commit 814584d35b4ad79da941b21178f452dc2dd601f3)
2025-01-21 14:36:28 -05:00
Mend Renovate
27f6ed4338 Update dependency com.android.tools:desugar_jdk_libs to v2.1.4 (#1599)
(cherry picked from commit 87513073018d9a0a31c64b898f10a11bddc4772c)
2025-01-21 14:36:18 -05:00
Mend Renovate
4ec0a6d148 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-bom to v1.10.1 (#1596)
(cherry picked from commit bcff2262b33004a4dec229c59c43cf27a04e72d3)
2025-01-21 14:36:11 -05:00
Mend Renovate
9e7a3c9e41 Update dependency io.mockk:mockk to v1.13.14 (#1601)
(cherry picked from commit 04454ecdbe49f0690c874b95becc3c164bb66f41)
2025-01-21 14:36:05 -05:00
Mend Renovate
8794b7f5de Update moko-resources to v0.24.4 (#1553)
(cherry picked from commit e86aeee9c417dea66d321fd4cbbad7ffdf41b106)
2025-01-21 14:35:49 -05:00
Mend Renovate
2f02aa07c7 Update dependency com.google.firebase:firebase-bom to v33.7.0 (#1545)
(cherry picked from commit be37f214d87c40f8876bd114cc96f55e0092ca90)
2025-01-21 14:35:40 -05:00
Mend Renovate
62f9c2b187 Update dependency com.android.tools.build:gradle to v8.7.3 (#1535)
(cherry picked from commit 1a833e88b1831fa4c8aacadeedc777adda256f36)
2025-01-21 14:35:33 -05:00
Mend Renovate
900ecfe372 Update dependency com.pinterest.ktlint:ktlint-cli to v1.5.0 (#1540)
(cherry picked from commit 4c84878adc541181ff37ebe23d1f8e7f7521d0d6)
2025-01-21 14:35:26 -05:00
Mend Renovate
72a19fc349 Update dependency org.jsoup:jsoup to v1.18.3 (#1533)
(cherry picked from commit 054198e78f80d6d3c9867a94317deb2d80950db9)
2025-01-21 14:35:13 -05:00
Mend Renovate
9e24276b59 Update kotlin monorepo to v2.1.0 (#1518)
(cherry picked from commit d522d81164d26d405517f7b6ad4d4882c86b54f2)
2025-01-21 14:35:01 -05:00
Tim Schneeberger
46dea6d598
feat: add global search shortcut to SmartSearch (#1377)
* feat: add global search shortcut to SmartSearch

* feat: add global search shortcut to SmartSearch

* feat: add back button to BrowseTabWrapper
2025-01-21 14:30:28 -05:00
Tim Schneeberger
d80ad3f145
feat: unify recommendation screens and add more sources (#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>
2025-01-21 14:29:32 -05:00
renovate[bot]
a7a3e5a2db
Update koin to v4.0.2 (#1370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 14:25:27 -05:00