Commit graph

7092 commits

Author SHA1 Message Date
Cuong-Tran
4068267cc2
remove unused EhAssets 2025-02-18 13:46:04 +07:00
Cuong-Tran
4c08f61f68
Fix: ktlint config for SY code (#712)
* Add more editor configs and move ktlint config to it (mihonapp/mihon#1731)

(cherry picked from commit 34d1e6fa278846dd8eb6ea82c936818d4610d3c2)

* more ktlint config

* fix compile

* restore comment-wrapping

* restore all of them

* disable in gradle.kts

* cleanup

* remove filenamktlint_standard_filename

* fix filename

* remove unused EhAssets

* ktlint_standard_multiline-expression-wrapping

* property-naming & function-naming

* ktlint_standard_argument-list-wrapping

* fix argument-list-wrapping

* Improve  in case source is null

related to commit 343cd372

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* Revert "Improve  in case source is null"

This reverts commit 08e317bb075b4b634f0c6f19f11eb78b99406e59.

* Revert "remove unused EhAssets"

This reverts commit e2cfc3e0c2b8d5b8bac41f2dfc4d9baef332f83e.

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2025-02-18 13:44:57 +07:00
Cuong-Tran
20d0b87b3a
Fix (IntegratedHentaiMigration): correctly migrate old users 2025-02-17 15:22:24 +07:00
Cuong-Tran
1247d4e466
Fix (BrowseSourceScreen): don't expand manga description if it's favorited 2025-02-17 14:37:09 +07:00
Cuong-Tran
2d6cf074ff (EditMergedSettings): Allow open merge children manga 2025-02-14 12:21:26 +07:00
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
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
AntsyLich
7d0c9f6f29
Rework slider UI
Fixes mihonapp/mihon#1474

(cherry picked from commit e8c9cb2c2e4c24443368f0d653c5283f9671ffec)
2025-02-06 11:17:06 +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
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
c7c76d22dd
Support RecommendsScreen even if MangaDex/Comick is not installed 2025-01-24 17:15:59 +07:00
Cuong-Tran
343cd3727c
Fix: crash upon open RecommendsScreen if source is removed 2025-01-24 14:58:30 +07:00
Cuong-Tran
7e16b56911
Fast browse for RecommendsScreen & remove bulk-selection on it 2025-01-24 03:34:50 +07:00
Jobobby04
aba9faff57
Minor improvements
(cherry picked from commit 2b890c20577100e64004e4983cbda2467ba695df)
2025-01-24 03:07:15 +07:00
Jobobby04
24f7d133f7
Minor cleanup
(cherry picked from commit 456db526538d67773ee939850fa435d52d785a29)
2025-01-24 03:07:15 +07:00
spicemace
724d10c086
Mangadex fix alt title being removed by cleanDescription (jobobby04/TachiyomiSY#1378)
* Update MdUtil.kt

* Update ApiMangaParser.kt

* Update MdUtil.kt

(cherry picked from commit 9b6600d31f67742a9cb053af51cc36735b8d9a66)
2025-01-24 03:07:10 +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
a087acd0b3
Fix: was not showing entry after opening from link on UrlImportableSource 2025-01-07 03:10:34 +07:00
Cuong-Tran
b6470d1072
Fix: add entry to favorite when open from link on UrlImportableSource sources 2025-01-07 03:08:28 +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
a66dd25eed
fix some debug functions name (#614) 2024-12-31 10:57:58 +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
Jobobby04
f424324a34
Return newpage joineditems check
(cherry picked from commit de6cd169d02d2bee3c22fbff51fde63be3eedc19)
2024-12-09 13:04:38 +07:00
Jobobby04
24f9fe3fc9
Increase new updates count when updates found
(cherry picked from commit c720f0ac5c6a39ff418518ac5652b142c91579ee)
2024-12-09 13:04:38 +07:00
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
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
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
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
AntsyLich
e3d17184a6
Improve hardware bitmap threshold option
Also `spotlessApply`

(cherry picked from commit d6dfd24548eaa05a8c3e478068fe2e08f2ee4473)
2024-11-21 09:39:44 +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
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
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
Cuong-Tran
e2ca729277
allow using saved-search while migration source search
also fix keyboard always show up when migration source search
2024-11-10 02:47:50 +07:00
Cuong-Tran
3383a835dd
fix: allow reset filters on SourceFeedScreen 2024-11-10 01:00:07 +07:00
Cuong-Tran
d45eb34d1a
Trying to load saved-search as much as possible even though filterList might changed 2024-11-09 22:44:44 +07:00
Cuong-Tran
3610f4a6f2
Revert "Cleanup some code"
This reverts commit ee81c3e905.
2024-11-08 22:29:37 +07:00