Commit graph

8323 commits

Author SHA1 Message Date
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
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
f72be9c810
fix build 2024-11-08 11:23:11 +07:00
Cuong-Tran
e93b917cae
SY, try doing it properly would you 2024-11-08 10:57:53 +07:00
Jobobby04
54aecf3ff6
Fix a possible crash with auto-zoom
(cherry picked from commit 26cfb4811fef4059fb7e8e03361c141932fec6b5)
2024-11-08 10:52:34 +07:00
Jobobby04
2524488162
Fix multiple issues with the E-Hentai updater
(cherry picked from commit f0b621dfe582b7493356bf0ccf86cab400bff72e)
2024-11-08 10:52:28 +07:00
Cuong-Tran
c801a8c7d1
support comma (,) delimiter when searching library 2024-11-07 14:52:08 +07:00
Cuong-Tran
256cedcec1
add log to apk update download 2024-11-06 21:58:27 +07:00
Cuong-Tran
6fc03aa0a1
fix Reader's dialog font size 2024-11-06 19:58:46 +07:00
Cuong-Tran
814e3acd74
Fix crash on MigrationListScreen with null accessing a mutableState when it's being put in the background 2024-11-05 10:38:36 +07:00
Cuong-Tran
0e951d8ac1
Fix pager flow messed up Loading screen 2024-11-04 13:04:01 +07:00
AntsyLich
ee81c3e905
Cleanup some code
(cherry picked from commit 2f4bb7cadb0297492cfb21393e75ca276e0539d7)
2024-11-04 12:53:52 +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
Jobobby04
2834fe9763
Fix app onStart sync
(cherry picked from commit b430e31da4c6178a3f8e1502945b039f11751bef)
2024-11-04 12:16:22 +07:00
Jobobby04
a27a44aea7
Fix crashes from Exh Updater
(cherry picked from commit 271f2d37bb1980eaf64a4d9830a44854095dce6b)
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
Cuong-Tran
3a5b8c452c
SY code block 2024-11-04 12:16:08 +07:00
Jobobby04
6215d8460a
Fix InterceptActivity crash
(cherry picked from commit c2df6ee54ab417dd78d60873c0a83b5cf91b6424)
2024-11-04 12:00:16 +07:00
AntsyLich
3c0c45eb81
Address some build warnings and cleanup (mihonapp/mihon#1412)
(cherry picked from commit a1c60897916f418726107fec80ad79b2a4b8d500)
2024-11-01 10:37:52 +07:00
AntsyLich
3a12f5e83e
Fix long strip images not loading in some old devices
Fixes mihonapp/mihon#1398

(cherry picked from commit 06efc3b25c5af51f42448af27a269ee459d9093d)
2024-11-01 10:37:52 +07:00
AntsyLich
d13abbd223
Fix a rare crash when invoking "Mark previous as read" action
Closes mihonapp/mihon#1421

(cherry picked from commit f508d10ad13560d7316df8642bc93fe66c05b9a8)
2024-11-01 10:37:52 +07:00
MajorTanya
e9f65510c4
Some improvements to Bangumi tracker search (#1396)
In short:
- fetch & show actual summary
- fallback to "name" if "name_cn" is empty
- request larger responseGroup to get & display the summary & rating
- add type filter query param to make Bangumi filter, not us

Previously, we only displayed the "name" in the summary area and used
"name_cn" as the entry name. However, "name_cn" (Chinese name) can be
an empty string at times, resulting in an awkward looking search
result list where some, many, or even all the results have no title
displayed and only show the "name" (Japanese name) in the summary
area. This has been solved by using "name" as a fallback value should
"name_cn" be empty.

If a Chinese name is available, the original name is prepended to the
summary with the addition "作品原名:" (meaning "original series title").

By using the "responseGroup=large" query parameter, we can request
the required data we need to display the actual summary for an entry
and the entry's average rating.
The "name" is prepended to the summary contents, if any exist, so it
is still accessible for series identification if a "name_cn" exists
too and was used for the result title.

Adding the "type=1" filter query parameter means Bangumi will only
return entries of type 1 ("book") instead of all types and Mihon
needing to filter, resulting in potentially missed entry matches.

(cherry picked from commit 78f9a84b14e0ece988f80d61011f63c0f7e92a67)
2024-10-31 10:54:40 +07:00
MajorTanya
b0ccbb07f0
Fix sporadically recurring spotless CI failure (mihonapp/mihon#1407)
Somehow this specific issue keeps getting flagged by unrelated PRs'
CI runs (but only sometimes? Somehow? Other times the CI run would
succeed with no spotless issues.)

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ed9e13a365ba1b55cec21c26b93b1c62d29485c8)
2024-10-31 10:54:40 +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
renovate[bot]
a68510edbb
Update dependency com.materialkolor:material-kolor to v2 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 17:13:35 +07:00
Cuong-Tran
8b0f84144a
fix unable to migrate after manually cancel & search for entry 2024-10-29 17:10:09 +07:00
Cuong-Tran
dd0c3a516e
fix crash if cancel migration too soon 2024-10-29 17:09:07 +07:00
Cuong-Tran
55906548ee
add Back button on Migration screen 2024-10-29 16:49:02 +07:00
Cuong-Tran
cd990df3ee
Migration integrated H enable 2024-10-29 16:46:19 +07:00
Cuong-Tran
fde71c0b70
Fix release update version checking & update release note template 2024-10-29 16:21:30 +07:00
Cuong-Tran
3f00487e95
bump release version
Also:
- change release note heading size
- fix release notes
- fix workflow
2024-10-29 02:17:46 +07:00
Cuong-Tran
453f6b0d8f
bump version & update changelogs 2024-10-28 23:52:57 +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
6b6e6a7fba
fix dependencies 2024-10-28 23:12:15 +07:00
Cuong-Tran
d8f6e7840b
Loading screen for Upcomping/Updating screen 2024-10-28 23:12:15 +07:00
Luqman
fdf086e3c8
allow chapter 0 dupe auto mark as read (jobobby04/tachiyomiSY#1291)
(cherry picked from commit 3c09343f7bf08b8567330d8bc9576b799751259f)
2024-10-28 23:12:14 +07:00
jobobby04
ab57496ac5
Fix for ExHentai
(cherry picked from commit b48556aa9fa0999be6ee9a0477ca79085db2591b)
2024-10-28 23:12:14 +07:00
Cuong-Tran
552d2673d9
update all trackers based on common data when new tracker is added 2024-10-28 23:12:14 +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
Cuong-Tran
bcb05c4b3a
Fix sync progress from tracker not working if chapters' order is messed up after backup restoration 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
Cuong-Tran
a0806e0986
Fix app crash when removing tracked entry from tracker
if select option to "Also remove from <Tracker>" while the entry is already removed from tracker's service
2024-10-28 22:11:48 +07:00
AntsyLich
4ba654c29a
Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0
Co-authored-by: Mend Renovate <bot@renovateapp.com>
(cherry picked from commit 140083ee39df7d458e5ff9abc6d0ee9831d99387)
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
94515957ee
fix title for Checking update screen to "To be updated" 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
a88d8b43b3
update changelog 2024-10-23 17:17:09 +07:00
Cuong-Tran
07fe2d097e
always enable panorama cover for Feed & Global search 2024-10-23 17:16:04 +07:00
Cuong-Tran
cc0d7cddc7
only load suggestions after entry finished loading info & chapters 2024-10-23 16:34:52 +07:00
Cuong-Tran
7bc9f9ac06
fix color when using custom theme with AndroidView on DownloadQueue & MigrationBottomSheetDialog
close #401
2024-10-23 16:30:53 +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
Cuong-Tran
b93d5b937f
hide Filter save-button on SourceFeedScreen 2024-10-23 14:19:46 +07:00
Cuong-Tran
7f082b9c97
Reload saved-searches when screen is navigated back to 2024-10-23 14:19:46 +07:00
Cuong-Tran
1ebbbdb344
auto select saved-search tab if opened from another screen 2024-10-23 14:19:46 +07:00
Cuong-Tran
94a0022baf
fix: late loading saved-searches when jump from SourceFeedScreen or FeedScreen
close #322
2024-10-23 14:19:46 +07:00
Cuong-Tran
6178e1cf41
Fix CrashlyticsPrinter & preview_version 2024-10-23 14:19:46 +07:00
AntsyLich
38fd20eabf
Pass uncaught exception to default handler in GlobalExceptionHandler
Fixes mihonapp/mihon#1347

(cherry picked from commit f3a2f566c8a09ab862758ae69b43da2a2cd8f1db)
2024-10-23 14:19:46 +07:00
AntsyLich
5ed4dd409d
Rework Firebase setup
Fixes mihonapp/mihon#1332
Closes mihonapp/mihon#1339

(cherry picked from commit 15e3f28aa36bec3c31f212c572ab57ce960cc862)
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
AntsyLich
1f748d6ec6
Address deprecation, suggestion and spotless
(cherry picked from commit 3bf70b230fc2c3eda58c4d46dec3fb75668e4f69)
2024-10-23 14:19:45 +07:00
Cuong-Tran
6fd67bd240
show all entries going to be checked for Smart update on Upcoming screen 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
AntsyLich
00b4e7bdb9
Change "Invalidate downloads index" to "Reindex downloads"
(cherry picked from commit d2afbfe4ede283076aae40633c79c3f90b4390e7)
2024-10-23 14:19:45 +07:00
Cuong-Tran
7b37d1cf0e
fix bulk selection continuously adding mangas to the list even though they are added 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
6bb8535af4
make global search pinned/all sticky 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
Cuong-Tran
949e326616
Revert commit 11c2ae70 to automatically sync marked read chapters to trackers 2024-10-23 14:19:45 +07:00
Jobobby04
0e0061cc32
Fix issue with not showing source names in merged manga sometimes
(cherry picked from commit 2ea8449eb76cca92ae050b0d31c70067e9761cd0)
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
34bb78ea0e
Allow adding multiple tags separated by commas (jobobby04/TachiyomiSY#1282)
(cherry picked from commit 41e523e074917759b7118a50deab062bd700060c)
2024-10-23 14:19:45 +07:00
NGB-Was-Taken
45c85183d8
Respect the altTitlesInDesc preference (MD) (jobobby04/TachiyomiSY#1283)
* Respect the `altTitlesInDesc` preference (MD)

* Replace hardcoded "Alternative Titles" with localized string

(cherry picked from commit dee543c7c50ad1d458cef461915482f83a08f691)
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
AntsyLich
7d8f96d856
Cleanup .gitignore files
(cherry picked from commit afa50029882655af8d5eea40aed7644fce4564d8)
2024-10-23 14:19:38 +07:00
Roshan Varughese
f839334c1c
Add option to backup non-library read entries (mihonapp/mihon#1324)
Co-authored-by: jobobby04 <jobobby04@gmail.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit de36357da834bff4110dbb56dd7ce7aad04d3c7d)

(cherry picked from commit 943555c0af49b48abaa18a47395e5516f3357bae)
2024-10-23 13:08:42 +07:00
brewkunz
bddfef47e5
Fix EnhancedTracker not auto binding when adding manga to library (mihonapp/mihon#1298)
(cherry picked from commit 3ed8a91c7b37ed89e6c4cab91daa79e6c846abe3)
2024-10-23 13:08:41 +07:00
Roshan Varughese
9eeb4a5032
Confirmation dialog when removing privately installed extensions (mihonapp/mihon#1320)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 87db3f90dee8aa566038b46d0bdc975e715ab8f6)
2024-10-23 13:08:41 +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
Roshan Varughese
5e595ea7b9
Add Quantity Badge to Upcoming Screen (mihonapp/mihon#1250)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 6b2bba4e5495274552787adc20db390a89d783b6)
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
AntsyLich
bf6e1abbc7
ChapterNavigator: dispatch page change only when needed
Co-authored-by: p
(cherry picked from commit f84d9a08b4af768b1e9920c43cc445c86f5427fc)
2024-10-23 13:08:41 +07:00
AntsyLich
80063ffba4
Bump compile sdk to 35
Co-authored-by: p
(cherry picked from commit 37419cdc26c2b5c4f8583fc2ba439b08fab42856)
2024-10-23 13:08:41 +07:00
AntsyLich
eaaaaa0fdd
Update resources exclusion rules
Co-authored-by: p
(cherry picked from commit 481cfedf08576cecfbb35616837bd8f627d8f959)
2024-10-23 13:08:41 +07:00
AntsyLich
f3c48d3ad8
Cleanup LibraryScreenModel LibraryMap.applySort and some more
(cherry picked from commit 2beb89d53163a6d288f8acdebe0f5d26fea8ab3e)
2024-10-23 13:08:41 +07:00
Cuong-Tran
b99389d2d0
bulk-selection: reverse selection 2024-10-23 13:08:40 +07:00
Cuong-Tran
a40385554c
show loading indicator while bulk-selection is running 2024-10-23 13:08:23 +07:00
brewkunz
774f99e0b6
Retain remote last chapter read if it's higher than the local one for EnhancedTracker (mihonapp/mihon#1301)
(cherry picked from commit 44aab7a2437ffdab354ee5ed82593fbaabb06a64)
2024-10-11 19:18:30 +07:00