Commit graph

9764 commits

Author SHA1 Message Date
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
Weblate (bot)
f9614d6d05
Translations update from Hosted Weblate (#686)
* Added translation using Weblate (Hindi)

* Translated using Weblate (Swedish)

Currently translated at 100.0% (124 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/sv/

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (124 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/pt/

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (124 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/vi/

* Translated using Weblate (Arabic)

Currently translated at 98.3% (122 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/ar/

* Translated using Weblate (Assamese)

Currently translated at 35.4% (44 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/as/

* Translated using Weblate (Catalan)

Currently translated at 8.8% (11 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/ca/

* Translated using Weblate (Czech)

Currently translated at 93.5% (116 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/cs/

* Translated using Weblate (Danish)

Currently translated at 93.5% (116 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/da/

* Translated using Weblate (German)

Currently translated at 94.3% (117 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/de/

* Translated using Weblate (Greek)

Currently translated at 94.3% (117 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/el/

* Translated using Weblate (Spanish)

Currently translated at 94.3% (117 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/es/

* Translated using Weblate (Finnish)

Currently translated at 92.7% (115 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/fi/

* Translated using Weblate (Filipino)

Currently translated at 79.0% (98 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/fil/

* Translated using Weblate (French)

Currently translated at 92.7% (115 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/fr/

* Translated using Weblate (Croatian)

Currently translated at 0.8% (1 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/hr/

* Translated using Weblate (Indonesian)

Currently translated at 54.8% (68 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/id/

* Translated using Weblate (Italian)

Currently translated at 94.3% (117 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/it/

* Translated using Weblate (Japanese)

Currently translated at 94.3% (117 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/ja/

* Translated using Weblate (Dutch)

Currently translated at 93.5% (116 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/nl/

* Translated using Weblate (Polish)

Currently translated at 92.7% (115 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/pl/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 95.9% (119 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/pt_BR/

* Translated using Weblate (Portuguese)

Currently translated at 96.7% (120 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/pt/

* Translated using Weblate (Romanian)

Currently translated at 93.5% (116 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/ro/

* Translated using Weblate (Russian)

Currently translated at 96.7% (120 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/ru/

* Translated using Weblate (Swedish)

Currently translated at 95.1% (118 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/sv/

* Translated using Weblate (Turkish)

Currently translated at 80.6% (100 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/tr/

* Translated using Weblate (Ukrainian)

Currently translated at 95.9% (119 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/uk/

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (124 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/zh_Hant/

* Update translation files

Updated by "Remove blank strings" add-on in Weblate.

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/

* Translated using Weblate (German)

Currently translated at 100.0% (124 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/de/

* Translated using Weblate (Polish)

Currently translated at 97.5% (121 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/pl/

* Translated using Weblate (Italian)

Currently translated at 100.0% (124 of 124 strings)

Translation: Komikku-App/Komikku
Translate-URL: https://hosted.weblate.org/projects/komikku-app/komikku/it/

---------

Co-authored-by: Itsmechinmoy <itsmechinmoy@users.noreply.hosted.weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: Bruno Fragoso <darth_signa@hotmail.com>
Co-authored-by: Cuong Tran <cuongtran.tm@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: pasquale ruotolo <pachiruo@gmail.com>
2025-02-14 12:04:25 +07:00
renovate[bot]
d23607971a
Update plugin firebase-crashlytics to v3.0.3 (#687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 12:04:15 +07:00
renovate[bot]
17a2bc1269
Update dependency com.google.firebase:firebase-bom to v33.9.0 (#688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 12:04:07 +07:00
renovate[bot]
3164359b31
Update dependency dev.chrisbanes.haze:haze to v1.3.1 (#690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 12:03:55 +07:00
renovate[bot]
09b556bb27
Update paging.version to v3.3.6 (#695)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 12:03:32 +07:00
renovate[bot]
3a7dc6c1ab
Update dependency androidx.compose:compose-bom to v2025.02.00 (#696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 12:03:24 +07:00
renovate[bot]
6964ff533b
Update dependency com.android.tools.build:gradle to v8.8.1 (#700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 11:50:33 +07:00
renovate[bot]
0e97da5230
Update dependency io.coil-kt.coil3:coil-bom to v3.1.0 (#684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 11:50:18 +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
Cuong-Tran
2c5cc8ef19
bump version 2025-02-13 17:43:27 +07:00
Cuong-Tran
6f7543676b
update changelog 2025-02-13 01:26:01 +07:00
Cuong-Tran
126aa174ac
Fix (MangasPage): crash when extensions trying to destructuring MangasPage 2025-02-13 01:23:21 +07:00
Cuong-Tran
de9473b239
Fix (MangasPage): crash when extensions trying to destructuring MangasPage 2025-02-12 00:05:50 +07:00
renovate[bot]
8f7bbadb52
Update GitHub Actions (#670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:40:53 +07:00
renovate[bot]
66c5890a31
Update dependency dev.chrisbanes.haze:haze to v1.3.0 (#667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:40:44 +07:00
renovate[bot]
09bacca059
Update dependency com.materialkolor:material-kolor to v2.0.2 (#665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:24:09 +07:00
renovate[bot]
0e4be5c33d
Update dependency com.google.apis:google-api-services-drive to v3-rev20250122-2.0.0 (#657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:24:02 +07:00
renovate[bot]
6d65ada3d6
Update aboutlib.version to v11.5.0 (#661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:23:55 +07:00
renovate[bot]
4ffe305f05
Update moko to v0.24.5 (#677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:23:44 +07:00
renovate[bot]
fd3b0cc03d
Update dependency androidx.compose:compose-bom to v2025.01.01 (#672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:23:29 +07:00
renovate[bot]
38ae4612bf
Update dependency gradle to v8.12.1 (#658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 19:23:21 +07:00
Cuong-Tran
b15ee52220
update README to inclue weblate 2025-02-06 11:43:07 +07:00
Cuong-Tran
8ad7b8dc2d
remove untranslated string 2025-02-06 11:34:24 +07:00
AntsyLich
7d0c9f6f29
Rework slider UI
Fixes mihonapp/mihon#1474

(cherry picked from commit e8c9cb2c2e4c24443368f0d653c5283f9671ffec)
2025-02-06 11:17:06 +07:00
Cuong-Tran
c6d0d248d8
update translation from Crowdin 2025-02-06 11:12:18 +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
db3fa582ce
Add Infinix system app to list of invalid browsers (mihonapp/mihon#1684)
* Add Infinix system app to list of invalid browsers

`com.transsion.resolver` being picked by the system as a suitable
browser caused a Mihon user with an Infinix device to be unable to
open any links in browsers, including tracker login and opening a
WebView page in a real browser.

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

* Add docstring to DeviceUtil.invalidDefaultBrowsers

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit bfc8320aa4720dc3b908aab1b8a1ffb99d43193b)
2025-02-04 19:30:44 +07:00
Cuong-Tran
a271a7c947
[README] update download count 2025-02-01 13:50:23 +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
eb1df3ddd5
update changelog 1.12.4 2025-02-01 03:40:01 +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
1af7d9ec72
Merge release 2025-01-29 11:12:55 +07:00
Cuong-Tran
0d493a3eb9
release v1.13.0 2025-01-28 18:30:29 +07:00
Cuong-Tran
085bf8c2ae
release v1.12.3 2025-01-28 18:17:11 +07:00
Cuong-Tran
01e3520416
Fix crash when open manga/chapter link caused by #612 2025-01-28 18:17:01 +07:00