Commit graph

10250 commits

Author SHA1 Message Date
renovate[bot]
05f5905b72
fix(deps): update dependency androidx.activity:activity-compose to v1.11.0 (#1143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-06 15:18:12 +07:00
Cuong-Tran
ed537f97f0
Bump compileSdk to 36 (#1191) 2025-10-06 15:00:15 +07:00
Cuong-Tran
dfc93fab39
fix(deps): update dependency androidx.compose:compose-bom to v2025.09.01 (#1189) 2025-10-06 14:25:15 +07:00
AntsyLich
f76539743d Replace compose-stable-marker with compose-runtime-annotation
(cherry picked from commit 4ac9fcd4d3ff2eed59d9c8454d7463b7c9e6dda6)
2025-10-06 14:00:20 +07:00
Mend Renovate
6100fc4c24 Update dependency androidx.compose:compose-bom to v2025.09.00 2025-10-06 14:00:20 +07:00
Cuong-Tran
6ac5b6b9d2 Revert "Bump targetSdk to 35"
This reverts commit 0c4fd329e0.
2025-10-06 13:02:29 +07:00
Cuong-Tran
92ec4e8732
fix(strings): update Mihon name to Komikku strings (#1186) 2025-10-06 13:01:50 +07:00
Cuong-Tran
61c6918e11
chore(build): bump version code to 76 and version name to 1.13.4 2025-09-15 12:40:55 +07:00
Weblate (bot)
f196ce832a
Translations update from Hosted Weblate (#1129)
* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (184 of 184 strings)

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

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

Currently translated at 100.0% (190 of 190 strings)

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

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

Currently translated at 99.4% (190 of 191 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 72.2% (138 of 191 strings)

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

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

Currently translated at 100.0% (191 of 191 strings)

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

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

Currently translated at 100.0% (191 of 191 strings)

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

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
2025-09-15 12:40:47 +07:00
Cuong-Tran
4aa8f5a201
fix(webtoon-scale): Improve webtoon scale type handling & listener (#1150)
* fix(webtoon): improve webtoon scale type handling and listener invocation

* fix(webtoon): streamline webtoon scale type handling and improve listener invocation

* add retry

* qualifier

* remove listener on destroy to avoid memory leaks

* using an object expression for the listener

* ensure listener is removed only if viewTreeObserver is alive

* refactor layout listener to improve retry logic and ensure proper removal

* using doOnLayout

* use doOnLayout for scaling logic to ensure proper execution after view is laid out
2025-09-15 11:45:32 +07:00
renovate[bot]
80f8e33324 fix(deps): update dependency androidx.test.espresso:espresso-core to v3.7.0 2025-09-11 19:07:31 +07:00
renovate[bot]
325a0f424d fix(deps): update dependency org.jsoup:jsoup to v1.21.2 2025-09-11 14:06:27 +07:00
renovate[bot]
f5384d9dd8 fix(deps): update dependency androidx.work:work-runtime to v2.10.4 2025-09-11 09:11:18 +07:00
renovate[bot]
be8f59543d fix(deps): update dependency dev.chrisbanes.haze:haze to v1.6.10 2025-09-11 08:46:13 +07:00
renovate[bot]
6b9bcce507 fix(deps): update dependency com.google.apis:google-api-services-drive to v3-rev20250829-2.0.0 2025-09-11 08:45:59 +07:00
renovate[bot]
84b2a4b97d fix(deps): update dependency com.github.skydoves:compose-stable-marker to v1.0.7 2025-09-11 08:45:33 +07:00
renovate[bot]
c5325e84b2 chore(deps): update plugin firebase-crashlytics to v3.0.6 2025-09-11 08:44:41 +07:00
renovate[bot]
957c80ca0b chore(deps): update github actions 2025-09-11 08:44:27 +07:00
renovate[bot]
4ff00f052a
fix(deps): update serialization.version to v1.9.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-09-10 13:45:36 +07:00
renovate[bot]
01df0e6979 fix(deps): update okhttp monorepo to v5.1.0 2025-09-10 13:06:21 +07:00
renovate[bot]
eb3e7a4b2e fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.3.0 2025-09-10 13:06:05 +07:00
renovate[bot]
4b33af7368 fix(deps): update kotlin monorepo to v2.2.10 2025-09-10 13:05:49 +07:00
renovate[bot]
a2a3e1c92e fix(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v7.2.1 2025-09-10 13:05:33 +07:00
renovate[bot]
fcbdebedfd fix(deps): update lifecycle.version to v2.9.3 2025-09-10 12:56:52 +07:00
Cuong-Tran
11c26a32fa
chore(dialog): Consistent text style (#1133)
* remove filtered_scanlators (old field not used anymore)

* Improve coding

* Revert "remove filtered_scanlators (old field not used anymore)"

This reverts commit 24042c17a432ff4c5012010155476aedbed3825f.

* consistent text style

* add comment
2025-09-10 12:43:09 +07:00
Cuong-Tran
89fb6ab753
fix(download): Apply filtering when fetching chapters for download (#1134) 2025-09-10 12:30:21 +07:00
Cuong-Tran
8f2ab5b87e
fix(merged-manga): Fix download ahead for merged entries (#1132)
* Fix download ahead for merged entries

* correctly handle merged manga
2025-09-10 12:04:29 +07:00
Fermín Cirella
004b63dfb5
feat(library): Add library preference to show empty categories during search/filtering (#1088)
* feat(library): Add library preference to show empty categories during search/filtering

* Add comment back

* Fix formatting

* subscribe to changes & refactor Regex

* format

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-09-10 10:02:36 +07:00
Cuong-Tran
756da72536
chore(pr_label): Update permissions and label conditions for pull requests (#1131)
* chore(pr_label): Update permissions and label conditions for pull requests

* revert author
2025-09-09 14:00:35 +07:00
Cuong-Tran
632856c2f2
fix(track): wrongly set track's status when start tracking (#1076) 2025-09-09 13:33:26 +07:00
Cuong-Tran
a0e2d2942a
feat(webtoon): Adaptive scale for wider screen size (#1130)
* feat: Add webtoon scale type option

This commit introduces a new setting for webtoon reading mode that allows users to select a scale type for webtoon images.

The available scale types are:
- Fit Screen
- 16:9
- 20:9
- 4:3
- 3:2

This setting can be found in both the reader settings sheet and the global reader settings.

* mutable

* add to Reader's settings page & fix size calculation

* option for long strip gap preference

* fix: ensure recycler scales to default when screen ratio is less than desired

* hide smart scale for long strip gap preference

* Avoid zero division

* using forEach

* improve readability

* better viewer size calculation & optimize list
2025-09-09 13:20:55 +07:00
Cuong-Tran
9f7309fd2a
Translations update from Hosted Weblate (#1126)
* Translated using Weblate (German)

Currently translated at 100.0% (138 of 138 strings)

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

* Translated using Weblate (Filipino)

Currently translated at 86.9% (120 of 138 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (138 of 138 strings)

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

* Translated using Weblate (Assamese)

Currently translated at 100.0% (138 of 138 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (138 of 138 strings)

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

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

Currently translated at 100.0% (138 of 138 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (138 of 138 strings)

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

* Translated using Weblate (Assamese)

Currently translated at 100.0% (138 of 138 strings)

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

* Update i18n-kmk/src/commonMain/moko-resources/uk/strings.xml

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* reset

* Update i18n-kmk/src/commonMain/moko-resources/fil/strings.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n-kmk/src/commonMain/moko-resources/ru/strings.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n-kmk/src/commonMain/moko-resources/ru/strings.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n-kmk/src/commonMain/moko-resources/uk/strings.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n-kmk/src/commonMain/moko-resources/uk/strings.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n-kmk/src/commonMain/moko-resources/vi/strings.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Reptalica <reptalica20@gmail.com>
Co-authored-by: Itsmechinmoy <itsmechinmoy@users.noreply.hosted.weblate.org>
Co-authored-by: amigo browser <juniperforest1@proton.me>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
Co-authored-by: Oleksandr Starushkevych <empxzsbaonlnylyuqi@nesopf.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-05 13:10:12 +07:00
Cuong-Tran
683bf172bf
feat(reader): Add zoom option for Automatically zoom wide images (#1124)
* feat(reader): Add zoom option for `Automatically zoom wide images`

* improve
2025-09-05 01:23:35 +07:00
Cuong-Tran
9e5069a376
feat(reader-paged): Add options to disable zoom in or double tap to zoom for paged-reader (#1123) 2025-09-04 17:03:49 +07:00
Stefano Russo
242b980e57
feat(webtoon): Add option to enable/disable pinch to zoom in webtoon viewer (#1101)
* feat: Add option to disable pinch to zoom in webtoon viewer

* Change default settings & also include settings for Paged mode

* refactor webtoon

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-09-04 16:19:54 +07:00
David Brochero
91a208ada2
fix(reader): gifs not animating (#1105)
* fix: gifs not animating

* add missing proguard coil3 rules

* add comment
2025-09-04 13:07:08 +07:00
Cuong-Tran
58eccf9ddb
chore(settings): Always display App Language text in settings (#1122)
* chore(settings): Add App language text all the time

* spotless

* English variants
2025-09-04 12:54:29 +07:00
kana-shii
c41d5fb847
feat(discord): Discord RPC from Anikku (#1100)
* Add RPC [Barebone, barely works]

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* refactor connections

* RPC (#223)

* Add error handling and refactor DiscordRPCService methods

* Add Discord RPC customization options and preferences

* Update Discord RPC button labels and clean up comments

* Refactor DiscordRPCService to improve readability by adding braces for null checks

* Refactor ConnectionsPreferences to improve code clarity and organization

* Refactor ConnectionsPreferences to improve code clarity and organization

(cherry picked from commit df42d196368d28c3c9dcee3692f3f9140da7f2a1)

* Feat: implement Discord account management enhancements and RPC restart functionality (#245)

* fix: correct indentation in CastManager for better readability

* feat: implement Discord account management enhancements and RPC restart functionality

(cherry picked from commit b7c50f1f0184dd717c5cc4dee0310053bfb8d613)

* Notification color & icon for DiscordRPC

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* Change foss variant application id suffix to '.foss' and more (mihonapp/mihon#1831)

- Remove `BuildConfig.PREVIEW`
- Rename `BuildConfig.INCLUDE_ANALYTICS` -> `BuildConfig.ANALYTICS_INCLUDED`
- Rename `BuildConfig.INCLUDE_UPDATER` -> `BuildConfig.UPDATER_ENABLED`
- Rename build property `with-analytics` -> `include-analytics`
- Rename build property `with-updater` -> `enable-updater`
- Add build property to disable code shrink
- Add build property to include dependency info in apk/app bundle

(cherry picked from commit 0893609ad2c4791dc404d72a5e69a2e0373517ae)

* feat(discord): update App/icon & fully works with all screens

* update Discord Rich Presence application ID and icon URLs

* Fix updateDiscordRPC for all screens (also reuse code)

* integrate Discord Rich Presence for WebViewScreen

* feat: ghibli style images for Discord RPC

* optimize code

* further optimize

* supprest useless warning

* refactor: simplify setScreen calls related to lastUsedScreen

* optimize whole file

* a

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* fix(discord): update download button URL to point to the official website

* feat(discord): allow stop Discord RPC from notification

also improve error handling

* fix(i18n): Torrent server "stop" multi-lang

* Start DiscordRPCService as foreground service on Android O+

This commit modifies the `DiscordRPCService` to start as a foreground service on Android O (API level 26) and above. This change ensures the service continues to run in the background, especially when the app is not in the foreground.

- Added a conditional check using `Build.VERSION.SDK_INT` to detect if the device is running Android O or later.
- If the device is running Android O or later, `startForegroundService` is called instead of `startService` to ensure it runs as foreground service.
- If the device is running a version prior to Android O, `startService` is called.

(cherry picked from commit 869617d8cac3aa8461158f1f9a34b9e29147e8f0)

* fix(discord): episode/chapter formating

* fix(discord): Fix & improve Discord login/accounts

* New webview with DiscordLoginScreen

* Add appbar

* Using Webview directly instead of AndroidView and add clearCookies, browsing navigation

* Using coroutine instead of thread

* Revert service

* use response block

* save preference in coroutine too

* no web navigator

* address comments for DiscordLoginScreen

* Refactor Settings screen & dialog

* Using serialization to parse JSON to avoid blocking API

* Don't clear all cookies and web storage aggressively

* Extract constant

* Fix login

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* fix(discord): Fix screen crash & token retrievement

* Update images to my liking

* spotless

* small fixes

* Update strings.xml

* Revert "Update images to my liking"

This reverts commit 4ad3b9f84fdada45ee480ae7dc242b6e1b4bc18a.

* small fixes

* hopeful fix + chapter progress

* Update ReaderActivity.kt

* Update ReaderActivity.kt

* remove timestamps

* Remove isNSFW check

because 95% of tachi extensions are rated as +18, even when there is sfw content

* Clean up

* Fix ReaderActivity

* Cleanup Settings

* Fix login

* Fix lag when getting categories

* Fix jump to pages

* Remove old SDK check

* Fix status when back from reading

* Remove pages progress

* Only set necessary action in ReaderActivity

* Using IO coroutine instead

* Add back timestamps

* Fix strings & settings

* Fix crash

* ActivityType

* Adjust description

* refactor Discord settings menu

* Using its own scope

* Optimize the connection waiting

* remove source.isNSFW

* Using screenModelScope

* Fix state access

* add modifier

* sharing OkHttpClient instance for better resource management

* Restart RPC directly via service intent instead of toggling

* remove lint suppression

* add back showProgress

* Fix set Discord status

* Fix Discord login no avatar

* Handle API rate limits and errors in getDiscordUri

* Token-based isLogged checking

* Make Discord token sensitive data and not in backup

* Minor fix

* remove debug message

---------

Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
Co-authored-by: Dark25 <nadiecaca2000@gmail.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Jery <jery99961@gmail.com>
2025-09-04 12:40:32 +07:00
kana-shii
5280caa60d
feat(reader): Download from reader chapter list (#1110)
* Download from reader

* Fix for localsource

* Fix actions for merged entries

* fix spotless

* refactor code

* catching Exception instead of Throwable

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-09-03 18:12:38 +07:00
Cuong-Tran
46f0e26dd3
fix(merged-reader): Fix chapter list's download badge in Reader (#1117)
* Fix chapter list's download badge in Reader

* improve
2025-08-29 18:11:38 +07:00
Cuong-Tran
d385dfe808
fix(merged-chapters) Fix chapter's webview (#1116)
* Fix chapter's webview

* combine null check

* variable name

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-29 18:10:55 +07:00
Cuong-Tran
8cfab79227
fix(merged-entries): Fix manga folder opening and source click (#1115)
* Fix open manga folder

* Fix source click

* fix null

* warning
2025-08-29 17:53:29 +07:00
Cuong-Tran
b067690678
fix(merged-entries): Fix deletion of chapters and data folders in merged entries (#1114)
* fix(merged-entries): Fix delete chapters or data folders

* spotless

* comment

* safely using state.source
2025-08-29 17:00:57 +07:00
AntsyLich
0c4fd329e0
Bump targetSdk to 35
(cherry picked from commit 4bc3b9f3b6fc87a9285ad3ca1aa8c81d8269d373)
2025-08-27 14:32:30 +07:00
AntsyLich
2e3de9aa99
Switch to a fork of QuickJS Java
(cherry picked from commit 498317de52c119a08daaa8d38f3f7d859e7b4990)
2025-08-27 14:32:30 +07:00
Cuong-Tran
21d221a048 chore(library): Using fastFilter, fastAny, fastMap 2025-08-27 14:29:01 +07:00
Cuong-Tran
4e2445d60c feat(library): Optimize trackers filter speed 2025-08-27 14:29:01 +07:00
krysanify
639459f8af Fix crash opening filter sheet with empty library and mark as read/unread for selected items (mihonapp/mihon#2355)
(cherry picked from commit d88dbe6409b9c4dd7fbb37757e89c09af73f1fd3)
2025-08-27 14:29:01 +07:00
AntsyLich
395f68f71f Fix 'Default' category showing in library with no user-added categories (mihonapp/mihon#2371)
(cherry picked from commit 7d717ee7fd9779b85fee29cadc946292cfdcee89)
2025-08-27 14:29:01 +07:00
AntsyLich
3ccf255d4e Potentially fix library IndexOutOfBound crash (mihonapp/mihon#2341)
(cherry picked from commit c4407eda0eed5a7faed47d4470d79e6b1512b5c2)
2025-08-27 14:29:01 +07:00