Commit graph

1206 commits

Author SHA1 Message Date
Cuong-Tran
c72ea1e1ac
Allow disable app auto-update 2024-12-28 17:56:37 +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
ed2c214ef3
fix null categories in Settings/Downloads/Exclude 2024-12-14 00:16:57 +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
Jobobby04
45f98eb2e2
Improve favorites sync statuses
(cherry picked from commit 76af3b59f0b92a22904239b4597013704ac6b79a)
2024-12-09 13:03:54 +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
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
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
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
398d50a3e5
migrate to dev.chrisbanes.haze:haze to v1 2024-11-13 02:12:59 +07:00
Cuong-Tran
de72201aae
filter only Obsolete sources in Migration screen 2024-11-10 13:42:57 +07:00
Cuong-Tran
2d1ee3c7d8
Revert "Fix pager flow messed up Loading screen"
This reverts commit 0e951d8ac1.
2024-11-08 22:29:30 +07:00
Cuong-Tran
fed40c1391
fix source-search clear causing disappearance of search box 2024-11-08 15:43:38 +07:00
Cuong-Tran
6fc03aa0a1
fix Reader's dialog font size 2024-11-06 19:58:46 +07:00
Cuong-Tran
0e951d8ac1
Fix pager flow messed up Loading screen 2024-11-04 13:04:01 +07:00
NGB-Was-Taken
781dfa06f3
Do not sync automatically when not connected to a network. (jobobby04/TachiyomiSY#1312)
(cherry picked from commit d88f570f65c23d8478c6a781633aa7db3ea8731f)
2024-11-04 12:16:22 +07:00
AntsyLich
3c1aadca36
Add option to always use SSIV for image decoding
(cherry picked from commit bb4d9fc81a043ac4f2d0105f19c09974ae2f7201)
2024-11-04 12:16:22 +07:00
AntsyLich
eebcfa7371
Here lies "currentTab was used multiple times"
Fixes #282
2024-10-31 10:51:08 +07:00
Cuong-Tran
b8608ce6d1
change bulk-favorite icon to Heart 2024-10-31 10:29:22 +07:00
Cuong-Tran
55906548ee
add Back button on Migration screen 2024-10-29 16:49:02 +07:00
Cuong-Tran
457b27ea04
Update translation from Crowdin 2024-10-28 23:12:15 +07:00
Cuong-Tran
467c39b899
Range-selection for Migration (#466)
- Select a range of entries for migration
- Better bottom bar
- Show obsolete sources

---------

Co-authored-by: ImaginaryDesignation <108343184+ImaginaryDesignation@users.noreply.github.com>
2024-10-28 23:12:15 +07:00
Cuong-Tran
451fe433cf
Error screen (#462)
- A dedicated screen in Settings for error list when updating library
- Allow to jump to Error screen if click on notification
- Allow to migrate error entry
- Create error on each entry updated instead of waiting for the whole updating list to finished
- Overwrite entry's error if new error happens after updating
- Clear entry's error if it successfully updated
- Clear un-relevant errors (entry which was removed from Library) on next update
- List of errors can jump to top/bottom or next/previous errors group
- Won't create error file anymore

* Added library update errors screen

(cherry picked from commit 7cf37d52f959ac65f53cf7657563fb4428bd9188)

* Open library update errors screen on clicking library update error notification

(cherry picked from commit d2d22f437a1d61b086f1e19dfbcd2c0a2bc125f4)

* LibraryUpdateErrorScreen's bottom UI with scroll to top/bottom buttons

(cherry picked from commit 859ce54474d456232510e21f4f6795af65489be2)

* migrate to AppBar

* sticky header

* scroll to next/previous group of errors

* insert error entry one by one

* delete error from DB when successfully updated

* clean un-relevant errors from DB on every updates

* fix errors & clean up

* catch exception & fix notification intent

---------

Co-authored-by: ImaginaryDesignation <108343184+ImaginaryDesignation@users.noreply.github.com>
2024-10-28 23:12:14 +07:00
Cuong-Tran
e31a0016fb
rework panorama cover settings 2024-10-28 22:11:48 +07:00
Cuong-Tran
cb6566e500
show a toast whenever progress is synced from Trackers 2024-10-28 22:11:48 +07:00
Roshan Varughese
b33d9bf044
Allow completely disabling "Update tracker" snackbar on mark as read (mihonapp/mihon#1374)
Also fixes mihonapp/mihon#1369

(cherry picked from commit fc2f339ea1cdc43c0041b2fed497dcfda853b85e)
2024-10-28 22:11:48 +07:00
AntsyLich
f106090ded
Cleanup Slider usage
Also for Vertical mode:
- Fix page's text color
- Fix steps visual (tachiyomiorg/tachiyomi#9461)
- Dispatch page change only when needed

(cherry picked from commit df9fff60da3a38acd8fcd540b5fdd275be93f2d5)
2024-10-28 22:11:48 +07:00
Cuong-Tran
e6c46a60b8
Avoid blocking call to load categories in settings 2024-10-28 22:11:48 +07:00
Roshan Varughese
0085e22a1c
Rework Auto Track on Mark as Read (mihonapp/mihon#1365)
(cherry picked from commit c153ac01f545ce9259c58aa5d5f7223d2f8f628b)
2024-10-28 22:11:48 +07:00
Cuong-Tran
07fe2d097e
always enable panorama cover for Feed & Global search 2024-10-23 17:16:04 +07:00
Cuong-Tran
e874092d3e
show duplicating manga cover on Duplicate dialog 2024-10-23 14:19:46 +07:00
Cuong-Tran
3a48f424f8
only print ScreenTransition on preview build only 2024-10-23 14:19:46 +07:00
Roshan Varughese
8eb2582a88
Add option to opt out of Analytics and Crashlytics (mihonapp/mihon#1237)
(cherry picked from commit 7c7af72f8cb12decc06b76c36852dcc54696236d)
2024-10-23 14:19:45 +07:00
renovate[bot]
461d709eb1
Update xml.serialization.version to v0.90.2 (#420)
* Update xml.serialization.version to v0.90.2

* fix import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-10-23 14:19:45 +07:00
Cuong-Tran
5a458ac39c
allow Feed to hide entries already in Library
close #438
2024-10-23 14:19:45 +07:00
Cuong-Tran
8895015388
hide Pinned chip in Global/Migrate Search if no pinned sources available 2024-10-23 14:19:45 +07:00
Cuong-Tran
3decc8b86f
fix source search box's height 2024-10-23 14:19:45 +07:00
Fuad Hasan
14abec23bf
Hide sync library option when sync is disabled (jobobby04/TachiyomiSY#1275)
* Hide sync library option when sync is disabled

- Add isSyncEnabled parameter to LibraryToolbar and LibraryRegularToolbar
- Pass isSyncEnabled from LibraryTab to LibraryToolbar
- Conditionally display sync library action based on isSyncEnabled
- Update LibraryContent to include isSyncEnabled parameter
- Adjust LibraryTab to handle sync-related functionality
- Remove direct dependency on SyncPreferences in LibraryToolbar

* Update LibraryScreenModel to react to sync service changes

- Replace static isSyncEnabled update with dynamic observation
- Use syncPreferences.syncService().changes() to update isSyncEnabled state
- Ensure isSyncEnabled is updated whenever the sync service changes

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>

* Fix sync service state update in LibraryScreenModel

- Resolve ambiguity in lambda parameters
- Correctly update isSyncEnabled state based on syncService value

* Optimize sync service state updates in LibraryScreenModel

- Add distinctUntilChanged() to filter out consecutive duplicate emissions
- Simplify mutableState.update lambda for better readability
- Remove redundant boolean comparison in isSyncEnabled assignment

---------

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit 697b0de22691eca7078a42f1abbc0636efd9f0e8)
2024-10-23 14:19:45 +07:00
NGB-Was-Taken
8952c03b09
Show download state and progress on reader chapter list. (jobobby04/TachiyomiSY#1263)
* Show download state and progress on reader chapter list.

* Update download indicator on progress and status change.

(cherry picked from commit 558ce084c81ca8e82b540b62890ac3eb4e65aa18)
2024-10-23 14:19:45 +07:00
Cuong-Tran
721229b90e
matching source with SY 2024-10-23 14:19:45 +07:00
AntsyLich
5d47ca755e
Make sure random library sort is at the bottom
(cherry picked from commit 2e2c8d36c1e23bf274c7c19f1242e14b0c7afbc1)

(cherry picked from commit 91d61a75e3dc2f044de250f32a88f3bac6e72cd0)
2024-10-23 14:19:45 +07:00
AntsyLich
3e473e5698
Reorder reader menu overflow items
(cherry picked from commit 788235feeca241228eac0561339dd07b5ea0b77d)
2024-10-23 14:19:45 +07:00
Jack Hamilton
dacea90f10
Added random library sort (mihonapp/mihon#1317)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a72db41bf1746db095fd27bbbce9765c06453581)
2024-10-23 13:08:41 +07:00
AntsyLich
a076793e13
Tweak profile compilation status output
Co-authored-by: p
(cherry picked from commit c8bb78d91afc2824baaca999f0095559c49d1306)
2024-10-23 13:08:41 +07:00
AntsyLich
890941fc02
Remove usage of deprecated accompanist SystemUiController
Co-authored-by: p
(cherry picked from commit 2ba3f0612c08c7021fed2f6d96cd538da2f34a13)
2024-10-23 13:08:41 +07:00