Commit graph

9623 commits

Author SHA1 Message Date
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
Weblate (bot)
bafb10442c
Translations update from Hosted Weblate (mihonapp/mihon#1531)
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/hr/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/uk/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/vi/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/hr/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/uk/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/vi/
Translation: Mihon/Mihon
Translation: Mihon/Mihon Plurals

Co-authored-by: Illia Stoianov <Walrus_Morj@protonmail.com>
Co-authored-by: Itsmechinmoy <itsmechinmoy@users.noreply.hosted.weblate.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
(cherry picked from commit b4ad9ae0634330eb4b3a9479cd522de48819a886)
2024-12-07 01:26:21 +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
renovate[bot]
376d8e8a74
Update dependency com.google.firebase:firebase-bom to v33.7.0 (#570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 14:51:32 +07:00
renovate[bot]
04e93bee8e
Update dependency com.pinterest.ktlint:ktlint-cli to v1.5.0 (#569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 12:32:01 +07:00
renovate[bot]
24bba4d6a6
Update dependency dev.chrisbanes.haze:haze to v1.1.1 (#568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 12:31:53 +07:00
Weblate (bot)
174f8d0251
Translations update from Hosted Weblate (mihonapp/mihon#1423)
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/sc/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/am/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/bg/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ceb/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/da/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/de/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/el/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/eo/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/es/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/eu/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/fa/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/fi/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/fil/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/hi/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/id/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/it/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ja/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ka/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/kn/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ml/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/my/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ne/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/nn/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/pt/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/sa/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/sah/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/sc/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/sk/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/zh_Hant/
Translation: Mihon/Mihon
Translation: Mihon/Mihon Plurals

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Akhil Raj <89210430+akhi07rx@users.noreply.github.com>
Co-authored-by: AntsyLich <antsylich@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: FateXBlood <fatexblood@gmail.com>
Co-authored-by: Frosted <frosted@users.noreply.hosted.weblate.org>
Co-authored-by: Giorgio Sanna <sannagiorgio1997@gmail.com>
Co-authored-by: Horace Johnson <horacejohnson99@gmail.com>
Co-authored-by: Igor Coimbra Carvalheira <igorccarvalheira111@gmail.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: Leandro Cândido <123888466+marshfellow42@users.noreply.github.com>
Co-authored-by: Lyfja <45209212+lyfja@users.noreply.github.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: ZerOriSama <godarms2010@live.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
(cherry picked from commit a807722838d1f10141b29721957cbac5a95f147d)
2024-12-05 15:42:28 +07:00
renovate[bot]
1ddebebfb2
Update dependency dev.chrisbanes.haze:haze to v1.1.0 (#567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:24 +07:00
renovate[bot]
f4d6bf6709
Update dependency com.android.tools.build:gradle to v8.7.3 (#566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:24 +07:00
renovate[bot]
05f74d007f
Update dependency org.jsoup:jsoup to v1.18.3 (#562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:24 +07:00
renovate[bot]
f37f96d042
Update kotlin monorepo to v2.1.0 (#559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:12 +07:00
renovate[bot]
1933d6df70
Update dependency org.jsoup:jsoup to v1.18.2 (#558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:12 +07:00
renovate[bot]
b59dda9d6f
Update dependency io.coil-kt.coil3:coil-bom to v3.0.4 (#556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:12 +07:00
renovate[bot]
3759f57d3c
Update dependency gradle to v8.11.1 (#547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 15:42:12 +07:00
Cuong-Tran
bf2b3d2153
update changelog 2024-12-05 15:42:12 +07:00
MajorTanya
af34b13fe3
Add a Honor system app to list of invalid browsers (mihonapp/mihon#1520)
Closes mihonapp/mihon#1348.

Specifically adds com.hihonor.android.internal.app to the list of
invalid browsers. It's very similar to the existing entry for Huawei,
so it stands to reason it is the same/similar problem as with Huawei's
internal app.

(cherry picked from commit 3bd8d3ecb7023d1b01930ab0f91482c23e89c946)
2024-12-05 15:42:12 +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
7628e064e5
custom timeout for NetworkHelper.client (#524) 2024-11-28 22:06:13 +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
renovate[bot]
ca1330dc4e
Update actions/dependency-review-action action to v4.5.0 (#548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 09:40:32 +07:00
AntsyLich
e3d17184a6
Improve hardware bitmap threshold option
Also `spotlessApply`

(cherry picked from commit d6dfd24548eaa05a8c3e478068fe2e08f2ee4473)
2024-11-21 09:39:44 +07:00
renovate[bot]
d3a2236010
Update gradle/actions digest to cc4fc85 (#543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 02:10:28 +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
renovate[bot]
91c146d741
Update dependency com.google.firebase:firebase-bom to v33.6.0 (#537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 02:12:24 +07:00
renovate[bot]
d9112fa926
Update dependency io.coil-kt.coil3:coil-bom to v3.0.3 (#532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 02:12:17 +07:00
renovate[bot]
96da02d6e5
Update dependency dev.chrisbanes.haze:haze to v1.0.2 (#513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 02:12:08 +07:00
renovate[bot]
088d509df8
Update dependency androidx.viewpager:viewpager to v1.1.0-rc01 (#526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:38:28 +07:00
renovate[bot]
beac777d3a
Update paging.version to v3.3.4 (#527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:38:19 +07:00
renovate[bot]
3b949c430c
Update dependency androidx.compose:compose-bom to v2024.11.00 (#528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:38:10 +07:00
Cuong-Tran
b27ee2111c
fix: Github release regex for link 2024-11-14 08:06:51 +07:00
renovate[bot]
7a0d064065
Update GitHub Actions (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 02:14:04 +07:00
renovate[bot]
89c5ae8617
Update dependency gradle to v8.11 (#521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 02:13:56 +07:00
renovate[bot]
a2e49596f7
Update dependency io.coil-kt.coil3:coil-bom to v3.0.2 (#519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 02:13:45 +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
az4521
88f98ea0b4
add webp support to nh
(cherry picked from commit 839056a959a69610d4611d56a64160f86f7aa727)
2024-11-10 17:51:56 +07:00
Cuong-Tran
11beafeaa7
update changelog 2024-11-10 14:27:51 +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