Commit graph

7051 commits

Author SHA1 Message Date
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
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
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
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
Cuong-Tran
a96984b4ef
Fix Custom theme breaking Compose preview 2024-10-06 21:31:42 +07:00
Secozzi
697f59c943
Fix AniList ALSearchItem.status nullibility (mihonapp/mihon#1297)
(cherry picked from commit 76e0aba70cc3a744e6ef4950a89ff6a498a54909)
2024-10-06 21:00:08 +07:00
Cuong-Tran
147a36a709
feat(ui): Panorama cover
* support panorama cover

* bigger panorama cover size in GlobalSearchCardRow

* setting to enable/disable

* panorama cover for History items

* Keep panorama cover position in Library View centered for better visual

* fix: update ratio in Detail page if cover doesn't reload anew

* adjust ratio to switch to panorma

* panorama cover for Migration items

* center panorama cover & add dominant background color

* panorama cover for EditMangaInfo

* Fix size on GlobalSearchCardRow

* display mode for manual panorama cover

* Fix LibraryFlagsTest
2024-09-27 11:58:16 +07:00
Cuong-Tran
d09949e2bb
feat(ui): read/resume button movable
* material3: update scaffold to support FabPosition.Start

also fix fab's width calculation with inset

* Moveable Read button & sticky to either size of screen
2024-09-24 00:52:51 +07:00
Cuong-Tran
444f199225
Colors palette for Custom theme
* colors palette

* color button styling & scroll to top

* button's color animation

* Color change with hex. Also using default BrightnessSlider
2024-09-23 19:59:43 +07:00
Cuong-Tran
b72d910cc9
Improve custom theme
* update string

* migrate to use DynamicMaterialTheme instead

* support various style for custom theme

* use BaseColorScheme with dynamicColorScheme instead, to avoid Activity being recreated

* apply theme right when changing theme style

* change default style to Fidelity

* adaptable to system contrast with Custom theme & Theme based cover
2024-09-23 19:41:34 +07:00
Cuong-Tran
fc84f2ad13
add MangaDex to Batch-Add example 2024-09-23 12:50:22 +07:00
Riztard
76f43ec9ab
hide batch add if integrated H & Delegated src is off 2024-09-23 12:50:22 +07:00
Cuong-Tran
a4a18361c9
enable hidden categories by default 2024-09-23 12:49:23 +07:00
Roshan Varughese
f701db1dbe
Re-enable fetching chapters list for entries with licenced status (mihonapp/mihon#1230)
Enable Licensed

(cherry picked from commit 9cc7d42dd9676319559eddc7a4a264fca155e1ca)
2024-09-18 13:54:43 +07:00
MajorTanya
4ad0748c4e
Fix Kitsu synopsis nullability (mihonapp/mihon#1233)
This time, the Kitsu API docs are silent on whether this field (or
any other field) can be null/undefined/etc, but it can happen and
caused an error during search and update. This change just ensures the
attribute is nullable and is set to an empty String when it is null.

(cherry picked from commit f5c6d2e1a6896c031b8f4583375ee868f252822a)
2024-09-18 13:54:43 +07:00
Cuong-Tran
dd58a90588
fix: wrong feed adding when filter search (#366) 2024-09-18 13:54:43 +07:00
Cuong-Tran
c74a4bcc28
ui: show number of entries on upcoming screen (#363)
close #362
2024-09-18 13:54:43 +07:00
Cuong-Tran
326581e784
feat(ui): saved search tabs for browse source (#361)
Make all saved searchs to tabs in BrowseSource
2024-09-18 13:54:43 +07:00
Cuong-Tran
ef58951bac
feat: feed reorder screen (#356)
* feat: Add screen to reorder Feeds

* refactor: Update icons/title and add preview for FeedOrderListItem

* refactor & cleanup

* feat(source): Add functionality to reorder feeds in source feed screen.

* feat: Add sorting functionality to source feed order screen

* refactor: Update SourceFeedScreen AppBar buttons

* refactor: Reuse FeedDeleteConfirmDialog and FeedSortAlphabeticallyDialog

* refactor: Reuse FeedOrderListItem
2024-09-18 13:54:43 +07:00
kana-shii
ba43e5584c
disable smart-update for individual & fix custom interval (#318)
* set custom disabled interval

* fix wrong calculation of nextUpdate when setting custom fetchInterval

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-09-13 00:48:13 +07:00
Cuong-Tran
6c9dfb82f4
feat: Hidden categories (#348)
* support hide categories (merged from Aniyomi)

* styling CategoryScreen: always showing all categories & shading the hidden one

* Hide categories directly on Library tab and load it as a flow

* fix: hidden categories got reset after delete/reorder

* remove unnecessary code
2024-09-11 18:06:37 +07:00
Cuong-Tran
4a2f8a7895
revert repo's hide/unhide icon 2024-09-11 17:40:12 +07:00
AntsyLich
81d70c5ce3
Use new library for injekt with inorichi patch
(cherry picked from commit 83fd4746eda1b99f35292b0c2211e606a421b3eb)
2024-09-08 23:04:57 +07:00
AntsyLich
2fe0236384
Use TextFieldState in BasicTextField where applicable (mihonapp/mihon#1201)
Co-authored-by: p
(cherry picked from commit bec549cc444328c8b46594c67a84d25dcc1aca6f)
2024-09-08 02:06:53 +07:00
NGB-Was-Taken
e730ae0837
Show toast for app restart when User-Agent is changed (mihonapp/mihon#1204)
(cherry picked from commit c8ad6cdf31a14bce9a525cfc2a0616e8ac51d7c3)
2024-09-08 02:06:48 +07:00
AntsyLich
e24f4b2a71
Reduce ChapterNavigator horizontal padding on small ui (mihonapp/mihon#1202)
Co-authored-by: p
(cherry picked from commit 6f422745ba6db135514ac4959216923932565760)
2024-09-08 02:06:37 +07:00
Cuong-Tran
18b4b071a8
e-hentai language flag (#343)
* add language flag to BrowseList

* add Japanese support

* show language flag in metadata view
2024-09-08 00:44:47 +07:00
Cuong-Tran
2e0eb6ce85
hide display mode for e-hentai (#342) 2024-09-07 22:10:40 +07:00
Cuong-Tran
03f42ac2cf
remove option clean invalid downloads (#341) 2024-09-07 20:53:46 +07:00
bapeey
8fa56c5efb
Ignore "intent://" urls on webview (mihonapp/mihon#1193)
ignore intent urls

(cherry picked from commit b56a97bb8eaf336c75e69e7fb32b87431d991bb3)
2024-09-05 22:02:44 +07:00
AntsyLich
a1e0a1cd4b
Move archive related code to :core:archive
(cherry picked from commit bd7b35419861df6d426d6ec0a188391910d0f615)
2024-09-05 22:00:46 +07:00
Cuong-Tran
ffd5b4ebc1
Fix crashlytics while using custom global exception handler (#338)
* Add crashlytics to standard builds

(cherry picked from commit 3c611b95fb79e5ac972019b76c7b24f46a3087fd)

* Testing crashlytics

* working

* cleanup

* Revert "Auxiliary commit to revert individual files from 84232c7fe229bf557680a787fa02c055ca18dc66"

This reverts commit 2c9b6277b276f108a25e90e6be9a227440136063.

* Revert "Auxiliary commit to revert individual files from cf3f5fe1586f40fabf5b75a649ab332282608a08"

This reverts commit 708f6b1d3803374b0440d163560a682f0cfc618e.

* Only send crashlytics on Standard & Release/Preview build

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-09-05 15:29:28 +07:00
MajorTanya
586001c9a7
Fix Kitsu ratingTwenty being typed as String (mihonapp/mihon#1191)
The API docs and the responses type `ratingTwenty` as a "number" (Int
in Kotlin, it's divided by 2 for a .5 step scale 0-10). It's nullable
because an entry without a user rating returns `null` in that field.

(cherry picked from commit 001249a89dd4824a3df5661733062662c0ab44bd)
2024-09-05 15:26:10 +07:00
Roshan Varughese
11c2ae70dd
Option to update trackers when chapter marked as read (mihonapp/mihon#1177)
* Track when marked as read

* Add dismiss to snack bar

* i18n & ignore decimal chapters

* Detekt would have caught that 🤣

* `Ok` > `Yes`

* Dont prompt if untracked or current > new

* Move to MangaScreenModel

* Suggestions

Co-Authored-By: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Review 2

* toggleAllSelections first

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit abfb72c89c008973db866bf4b696b699db155574)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt
2024-09-04 19:07:51 +07:00
Cuong-Tran
66077917af
Fix DTO API for MangaDex tracker 2024-09-04 19:07:51 +07:00
MajorTanya
a4d556affc
Use DTOs to parse tracking API responses (mihonapp/mihon#1103)
* Migrate tracking APIs to DTOs

Changes the handling of tracker API responses to be parsed to DTOs
instead of doing so "manually" by use of `jsonPrimitive`s and/or
`Json.decodeFromString` invocations.

This greatly simplifies the API response handling.

Renamed constants to SCREAMING_SNAKE_CASE.

Largely tried to name the DTOs in a uniform pattern, with the
tracker's (short) name at the beginning of file and data class names
(ALOAuth instead of OAuth, etc).

With these changes, no area of the code base should be using
`jsonPrimitive` and/or `Json.decodeFromString` anymore.

* Fix wrong types in KitsuAlgoliaSearchItem

This API returns start and end dates as Long and the score as Double.

Kitsu's docs claim they're strings (and they are, when requesting
manga details from Kitsu directly) but the Algolia search results
return Longs and Double, respectively.

* Apply review changes

- Renamed `BangumiX` classes to `BGMX` classes.
- Renamed `toXStatus` and `toXScore` to `toApiStatus` and `toApiScore`

* Handle migration from detekt to spotless

Removed Suppressions added for detekt.

Specifically removed:
- `SwallowedException` where an exception ends as a default value
- `MagicNumber`
- `CyclomaticComplexMethod`
- `TooGenericExceptionThrown`

Also ran spotlessApply which changed SMAddMangaResponse

* Fix Kitsu failing to add series

The `included` attribute seems to only appear when the user already
has the entry in their Kitsu list.

Since both `data` and `included` are required for `firstToTrack`, a
guard clause has been added before all its calls.

* Fix empty Bangumi error when entry doesn't exist

Previously, the non-null assertion (!!) would cause a
NullPointerException and a Toast with
"Bangumi error: " (no message) when the user had removed their list
entry from Bangumi through other means like the website.

Now it will show "Bangumi error: Could not find manga".

This is analogous to the error shown by Kitsu under these
circumstances.

* Fix Shikimori ignoring missing remote entry

The user would see no indication that Shikimori could not properly
refresh the track from the remote. This change causes the error Toast
notification to pop up with the following message
"Shikimori error: Could not find manga".

This is analogous to Kitsu and Bangumi.

* Remove usage of let where not needed

These particular occurrences weren't needed because properties are
directly accessible to further act upon. This neatly simplifies these
clauses.

* Remove missed let

(cherry picked from commit 9f99f038f341e325c4f56372a5ce950cf9f7cd6d)
2024-09-04 19:07:51 +07:00
Dani
10d155b9a0
Support skip-downloading-duplicate-read-chapters for merged entries
(cherry picked from commit e19c62a8aef2203eb287ef2f450c95b642f7f2f0)
2024-09-04 17:22:29 +07:00
NGB-Was-Taken
4f0960309b
Move "Choose what to sync" out of "Sync now" (jobobby04/TachiyomiSY#1264)
(cherry picked from commit 19bc08659b84498b1c1786ddc3d925528765f4d9)
2024-09-04 17:22:29 +07:00
NGB-Was-Taken
99e2e24b6d
Show local chapters as downloaded on merged entries. (jobobby04/TachiyomiSY#1262)
* Show local chapters as downloaded on merged entries.

* Disable downloadIndicator for local chapters on merged entries.

(cherry picked from commit 2cb8f8f872f055275bf6126f1ed4ef2617c69ea8)
2024-09-04 17:22:23 +07:00
NGB-Was-Taken
4a656f3e84
Respect thumbnailQuality and tryUsingFirstVolumeCover preferences. (MD) (jobobby04/TachiyomiSY#1260)
(cherry picked from commit bdb8553e28bd839c29785012ded2dde93cc885ab)
2024-09-04 17:22:18 +07:00
AntsyLich
6d78d96850
Add stable marker to Manga data class
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 4ee31bfea5b6908e7131e2c46e4cb46155005abf)
2024-09-04 16:27:35 +07:00
AntsyLich
09a38669e8
Collect MangaScreen state with lifecycle
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 03eb756ecba0692d88d3a76254afc4c157fa225b)
2024-09-04 16:27:29 +07:00
AntsyLich
9f09ac94b9
PagerPageHolder: lazy init loading indicator
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit a45eb5e5288159dbbbbb5f92140ce0dd32a8f3ab)
2024-09-04 15:56:28 +07:00
AntsyLich
96669f6ca4
Remove legacy broken source and history backup
(cherry picked from commit 518abf032ccb9bb45d197927be2a5faca4167d29)
2024-09-04 15:46:42 +07:00
Cuong-Tran
c498e77ced
fix extension won't update (#328) 2024-09-01 03:05:07 +07:00
Cuong-Tran
e372542faa
fix: ext obsolete status (#327)
* fix: ext obsolete status

it was flip-flop each time refreshed

* reformat
2024-09-01 02:37:57 +07:00
Cuong-Tran
dfc33f983f
adjust source search's padding (#325) 2024-08-31 01:59:39 +07:00
Cuong-Tran
eb62927c1b
Add source search, icon & flag on Feed adding dialog (#324)
* add language flag

* add source icon

* source search
2024-08-31 01:23:20 +07:00
Cuong-Tran
af212480ae
Serializable object must implement 'readResolve' 2024-08-29 23:14:46 +07:00
Cuong-Tran
a979e3cda5
rename Related Titles to Suggestions (#317)
* Rename RelatedTitles to RelatedMangas/Suggestions

* Website suggestions
2024-08-29 23:13:42 +07:00
Cuong-Tran
ce6bd7cbad
Show language flags in AppLanguageScreen 2024-08-29 16:48:39 +07:00
Cuong-Tran
8b50cba75a
More language flags 2024-08-29 16:48:09 +07:00
Cuong-Tran
32e25f7959
use FlagEmoji instead of vector flags in some places 2024-08-29 16:21:08 +07:00
Cuong-Tran
9fc6ea65a5
use UN flag for language All 2024-08-29 16:14:35 +07:00
Cuong-Tran
454228e78f
Hide language icon for LocalSource 2024-08-29 02:14:58 +07:00
Tran M. Cuong
19b36d724c
revert: language badge for ALL (#314) 2024-08-29 00:15:27 +07:00
Tran M. Cuong
593aac4d0a
language flags for SourceFilter (#315) 2024-08-29 00:15:00 +07:00
Tran M. Cuong
ce727d6d42
fix: correctly using language flag in source name to avoid it appears in folder name (#313)
* fix: correctly using language flag in source name to avoid it appears in folder name

* using flag language in PreMigration list
2024-08-28 23:54:39 +07:00
Tran M. Cuong
9def7e7380
add back button on smartsearch source (#309) 2024-08-28 18:37:05 +07:00
Tran M. Cuong
9a12a904ba
safe-guard some edge-cases where chapters are duplicated some how on a merged entry (#311) 2024-08-28 18:36:52 +07:00
Tran M. Cuong
37a817e8f8
don't expand description on the manga found by smart search being used for merging, so user can see the button 'Merge with another' (#310) 2024-08-28 18:36:36 +07:00
Tran M. Cuong
eb311ee27a
feat: merge multiple library entries (#302)
* extract SmartSearchMerge to a separated class

* multiple select & merging from library

* fix various case when merging an already merged entry

* allow run 1 manga search-merging directly from Library screen

* allow remove merged entries after merging

* Open the newly-created merged manga after merging

* don't expand description on the merged manga being opened after merging
2024-08-28 18:26:00 +07:00
Roshan Varughese
c4f54e54b3
Hide keyboard when a Tracker SearchResultItem is clicked (mihonapp/mihon#1168)
* Hide keyboard on select

* Code Review Suggestion

(cherry picked from commit 7ca64a67c5c64103aa3a5c7efb9227d3a98b715d)
2024-08-28 00:00:37 +07:00
Tran M. Cuong
dadcfe6e21
Don't show Related Titles for merged entries (#308)
Also fix the case it was always showing Related Titles on overflow menu.
2024-08-27 23:58:42 +07:00
Tran M. Cuong
2d73e5e526
move dropdown menu to correct position (#303) 2024-08-27 18:21:12 +07:00
Catting
3791c1adb3
Add "show entry" action to download notifications (mihonapp/mihon#1159)
* Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* fixup! Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* fixup! Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* spotless! Add 'show entry' to download notifications

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* fixup! spotless- Apply suggestions from code review

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

---------

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 952a98c1804b2134e59fcb471c54cf7c4e1f415e)
2024-08-26 22:31:25 +07:00
Cuong-Tran
b7896dbb0e
Using emoji flags in manga detail page
Fix source's error icon background
2024-08-26 18:11:14 +07:00
Roshan Varughese
c28ed2317b
Add confirmation when adding repo via URI (mihonapp/mihon#1158)
* Add confirmation when adding repo via URI

* Blank lines

* Suggestions

* Reverting Changes

* Removing Unused Imports

(cherry picked from commit 45628b14db477b266eb1f1f4ca9bec0b43f741cc)
2024-08-26 13:43:14 +07:00
Roshan Varughese
4c5c5f45da
Respect privacy settings in extension update notification (mihonapp/mihon#1156)
* Hide Extension Names in Update Notifications when Content is Hidden

* Moving `val` inside if

* [skip ci] Update CHANGELOG.md

(cherry picked from commit 5dc6569a683da47f5323c252fce1bd4094a5d232)
2024-08-26 13:42:23 +07:00
Tran M. Cuong
b67f0eceb0
add extensions list refresh menu (#296) 2024-08-26 13:40:20 +07:00
Tran M. Cuong
a876742d74
fix: separate same-name extension's installing status from different repos (#295) 2024-08-26 13:27:56 +07:00
Tran M. Cuong
228abc31c4
feat: allow ext from multiple repos & show their name (#294)
* show repo name

* Fix Obsolete status when disable/enable repo

* find extension's repo correctly using pkgName together with signature

* Don't filter out extension with same pkgname from different repo (signature)

* Preview

* Revert "Update CrashLog to include Unofficial ext’s info"

This reverts commit 7c11ddfc1e.

* remove Unofficial status

* show repo's short name if possible
2024-08-26 12:56:14 +07:00
Tran M. Cuong
8a7c005d61
repo icon for Komikku & Keiyoushi (#291) 2024-08-26 00:08:38 +07:00
Tran M. Cuong
50b837c976
feat: enable/disable repo (#288)
* Enable/Disable repo

* update extensions list when refresh
2024-08-26 00:08:38 +07:00
Tran M. Cuong
2536e5a77e
Remove built-in Komikku repo (#286)
* Add Help to Repo EmptyScreen

* Migration: insert Official Repo for old users

* button to auto fill official KMK extension repo

* 'More extensions' button to go to Repo page

* Remove default official repo

* fix spotless
2024-08-26 00:08:38 +07:00
Dani
94acbb08d7
Add option to skip downloading duplicate read chapters (mihonapp/mihon#1125)
* Add query to get chapter count by manga and chapter number

* Add functions to get chapter count by manga and chapter number

* Only count read chapters

* Add interactor

* Savepoint

* Extract new chapter logic to separate function

* Update javadocs

* Add preference to toggle new functionality

* Add todo

* Add debug logcat

* Use string resource instead of hardcoding title

* Add temporary logcat for debugging

* Fix detekt issues

* Update javadocs

* Update download unread chapters preference

* Remove debug logcat calls

* Update javadocs

* Resolve issue where read chapters were still being downloaded during manual manga fetch

* Apply code review changes

* Apply code review changes

* Revert "Apply code review changes"

This reverts commit 1a2dce78acc66a7c529ce5b572bdaf94804b1a30.

* Revert "Apply code review changes"

This reverts commit ac2a77829313967ad39ce3cb0c0231083b9d640d.

* Group download chapter logic inside the interactor GetChaptersToDownload

* Update javadocs

* Apply code review

* Apply code review

* Apply code review

* Update CHANGELOG.md to include the new feature

* Run spotless

* Update domain/src/main/java/mihon/domain/chapter/interactor/FilterChaptersForDownload.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ca968f162ef7a61a9036b7ab9bea407a6334801d)
2024-08-26 00:08:38 +07:00
kana-shii
266f449614
Smart updates fix (#268)
* Allow check completed entries for update if un-tick option "Skip completed..."
* Always predict next-release date for all entries, even if it's completed.
2024-08-26 00:08:38 +07:00
kana-shii
2266447745
Custom themes (#269)
* Update SettingsAppearanceScreen.kt

* Update SettingsAppearanceScreen.kt

* fix spotless

* improve

- Put custom theme in front
- Set default color for custom theme
- Using pre-defined padding values
- Make the color picker scrollable for phone in landscape mode

* fixes and new name

* Update ThemeColorPickerWidget.kt
2024-08-26 00:08:38 +07:00
Cuong-Tran
be9dbc50ea
Allow sync Feeds & extensionRepoSettings 2024-08-26 00:08:38 +07:00
Cuong-Tran
87133eb571
Option to not backup Saved searches & Feeds 2024-08-26 00:08:38 +07:00
kana-shii
ba73b0aeb3
Add option to update library each 6 hours (#278) 2024-08-26 00:08:38 +07:00
Cuong-Tran
48d874342e
Address more spotless lint errors from KMK & SY 2024-08-26 00:08:37 +07:00
AntsyLich
e7ca892f65
Address spotless lint errors (mihonapp/mihon#1138)
* Add spotless (with ktlint)

* Run spotlessApply

* screaming case screaming case screaming case

* Update PagerViewerAdapter.kt

* Update ReaderTransitionView.kt

(cherry picked from commit d6252ab7703d52ecf9f43de3ee36fd63e665a31f)
2024-08-26 00:08:37 +07:00
AntsyLich
335f0956b4
Remove detekt (mihonapp/mihon#1130)
Annoying. More annoying in this project.

(cherry picked from commit 777ae2461e1eb277a3aa0c998ff69e4f100387a1)
2024-08-26 00:08:37 +07:00
Shamicen
e6d2b1b930
Libarchive refactor (jobobby04/TachiyomiSY#1249)
* Refactor archive support with libarchive

* Refactor archive support with libarchive

* Revert string resource changs

* Only mark archive formats as supported

Comic book archives should not be compressed.

* Fixup

* Remove epub from archive format list

* Move to mihon package

* Format

* Cleanup

Co-authored-by: Shamicen <84282253+Shamicen@users.noreply.github.com>
(cherry picked from commit 239c38982c4fd55d4d86b37fd9c3c51c3b47d098)

* handle incorrect passwords

* lint

* fixed broken encryption detection + small tweaks

* Add safeguard to prevent ArchiveInputStream from being closed twice (#967)

* fix: Add safeguard to prevent ArchiveInputStream from being closed twice

* detekt

* lint: Make detekt happy

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

(cherry picked from commit e620665dda9eb5cc39f09e6087ea4f60a3cbe150)

* fixed ArchiveReaderMode CACHE_TO_DISK

* Added some missing SY --> comments

---------

Co-authored-by: FooIbar <118464521+fooibar@users.noreply.github.com>
Co-authored-by: Ahmad Ansori Palembani <46041660+null2264@users.noreply.github.com>
(cherry picked from commit 95c834581b106f73a28ade78b7aa4a6769633507)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ArchivePageLoader.kt
#	core/common/src/main/kotlin/eu/kanade/tachiyomi/util/storage/EpubFile.kt
#	gradle/libs.versions.toml
#	source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt
2024-08-26 00:08:37 +07:00
NGB-Was-Taken
a9a41f3621
Delete duplicate downloaded chapters when they are automatically marked as read (jobobby04/TachiyomiSY#1252)
(cherry picked from commit 71f2daf8f31238f7d643f86d2f2589f1c8050bf0)
2024-08-26 00:08:37 +07:00
Tran M. Cuong
8c6cca09a4
feat (ui): source language flags (#272)
* add countries flags
add flags & simplify/sizing
add flagkit

* add flags to Extensions Filter

* add flags to Sources & Extensions screen

* show language flag in Library
2024-08-26 00:07:56 +07:00
Tran M. Cuong
29eeccad1b
feat (ui): showing source icon in library (#261)
* showing source icon in library

* Change language icon for local source from Folder to Globe

* adjust size & padding for icon & badge

* Setting enable/disable source icon
2024-08-19 12:50:16 +07:00
kana-shii
ea4261e47e
add more auto backup hours (#252)
* add more auto backup hours

* new

* Revert "new"

This reverts commit f3230fb879fb35dd90d0d321850e07ceedc37894.

* everything done

missing te and sdh strings (both of them doesn't have the update x hours string)
2024-08-16 23:35:07 +07:00
Cuong-Tran
69715fa73d
change Reader's open-in-browser icon to Explore 2024-08-15 10:33:46 +07:00
FooIbar
1a9c712627
Add comment about RecyclerView cache size (mihonapp/mihon#1119)
Note for forks: Increasing cache size may cause OOM on API < 26, better
to make it API 26+ only.

(cherry picked from commit 1c47a6b9b35c622200c731cdbbc076f5263e8d06)
2024-08-14 02:54:20 +08:00
Cuong-Tran
0d2968440e
fix: setting to hide home button while browsing Related titles 2024-08-13 22:44:23 +08:00
Cuong-Tran
ae7c421d29
ui: put Related titles in overflow
close #248
2024-08-13 02:17:44 +08:00
Cuong-Tran
eb4d5fcbf0
fix: settings to show/hide progress-banner were not working 2024-08-13 01:35:14 +08:00
Tim Schneeberger
8fe7dcb167
feat(migration): add option to only show entries with new chapters (jobobby04/TachiyomiSY#1238)
(cherry picked from commit f7202e67cc3452676f5e2532015741811cd505bb)
2024-08-12 23:55:23 +08:00
Catting
a827601186
Add an "open in browser" button to reader menu (mihonapp/mihon#1110)
* Add an "open in browser" button to reader menu

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

* fixup! Add an "open in browser" button to reader menu

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>

---------

Signed-off-by: Catting <5874051+mm12@users.noreply.github.com>
(cherry picked from commit c5994e057b37484fec3a5300491946afe377a90a)
2024-08-12 23:55:19 +08:00
AntsyLich
40d2350576
Handle Android SDK 35 API collision
(cherry picked from commit fdb96179c6373eb0a8e7d6daea671a315d5ce5f0)
2024-08-12 23:55:09 +08:00
Jobobby04
fd92238852
Fix SY migrations
(cherry picked from commit 07c89890bc3eb2d7404120891c88bb7051495ded)
2024-08-12 23:55:03 +08:00
MajorTanya
34ef197aeb
Fix some migrations never running (mihonapp/mihon#1114)
Both `SetupBackupCreateMigration` and `SetupLibraryUpdateMigration` were
trying to get the `App` class from Injekt which is never provided via
the `AppModule`. Using `Application` instead works since the
`workManager` property used by the respective `setupTask` functions is
an extension property on `Context`.

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit be124ebe86377ad77de5abd1594afd7aedf9050c)
2024-08-12 22:36:56 +08:00
AntsyLich
39f3dc970c
Fix UI freeze after migration
Fixes mihonapp/mihon#938

(cherry picked from commit 3f1d28c3833e6b868152149ed02b3fb8c54eccef)
2024-08-12 22:36:51 +08:00
AntsyLich
184507ccdf
Add a button to select all scanlators
Resolves mihonapp/mihon#943
Closes mihonapp/mihon#1109

(cherry picked from commit 84b2164787a795f3fd757c325cbfb6ef660ac3a3)
2024-08-12 22:36:16 +08:00
Catting
75bc8a2db5
Add Copy Tracker URL on icon long press (mihonapp/mihon#1101)
* Add Copy Tracker URL on icon long press

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Add 'Copy To Clipboard' to tracker item menu

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Add 'Copy link' to locales.

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Implement code review suggestions
>
> Co-authored-by: AntsyLich  <59261191+AntsyLich@users.noreply.github.com>

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>

* Update app/src/main/java/eu/kanade/presentation/track/components/TrackLogoIcon.kt

---------

Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 200d39e023af79b02276554a1bef1d7d53e3b903)
2024-08-12 22:35:59 +08:00
MajorTanya
19c924ce69
Fix MAL search results not showing start dates (mihonapp/mihon#1098)
The previous approach would always throw an Exception because
`SimpleDateFormat.format()` expects the input to be of type `Date` or
`Number`, not `String`.

(cherry picked from commit 97c81fadb426d71ac99c9443ab0e89f4089046ef)
2024-08-12 22:35:45 +08:00
Cuong-Tran
84e7e4f385
change domain from kitsu.io to kitsu.app 2024-08-12 00:19:43 +08:00
Roshan Varughese
652126c398
Add Backup and Restore of Extension Repos (mihonapp/mihon#1057)
* Backup/Restore Extension Repos

* Refactor

* Moving to Under App Settings

* Sort by URL, Check existing by SHA and Error Logging

Untested. Currently in a lecture and can't test if the changes really work.

* Changes to logic

* Don't ask me what's happening here

* Renaming Variables

* Fixing restoreAmount & changes to logic

Co-Authored-By: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 31263084eca3ba98624d258a317d53094bba2256)
2024-08-09 00:25:37 +07:00
AntsyLich
9658c25d2f
ExpandableMangaDescription: Adjust size transform anim spec
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 1c16fc79c2ac4c4be30308fed84ffb371dab5902)
2024-08-09 00:25:16 +07:00
AntsyLich
be9735f42d
Rename backup restore error log file
(cherry picked from commit 2858ef835fec8d7278b1d0cad1b5664104d1e4b0)
2024-08-09 00:24:30 +07:00
Cuong-Tran
006d30ed36 feat: allow canceling search for a migrating manga without remove it
so user can perform manual search without waiting
2024-08-08 18:48:08 +07:00
Cuong-Tran
27ca4af744 fix: wrong initial number of migrating items 2024-08-08 18:48:08 +07:00
Cuong-Tran
2b3f082690 feat: add source search to pre-migration screen 2024-08-08 18:48:08 +07:00
FooIbar
9a339319a1
Don't crash on ill-formed URLs (mihonapp/mihon#1084)
(cherry picked from commit 854474f85ffc41eccdc2b3a6cf105fa2805ebc3c)
2024-08-06 22:49:00 +07:00
Tran M. Cuong
8da0a145bc
feat(ui): Add sources search to Migrate Source Screen (#232) 2024-08-06 03:42:08 +07:00
Tran M. Cuong
515496f058
add description to long-press on saved searches (#225)
* add description to long-press on saved searches

* more i18n string
2024-08-05 18:44:14 +07:00
Tran M. Cuong
c43015439d
restore-feed-order (#223)
* fix: possible duplicate saved search restored if query or filters is null

* refactor: change backup structure so it allows keeping feeds' order
2024-08-05 18:15:33 +07:00
FooIbar
d5844286b9
Match extra layout space with scroll distance (mihonapp/mihon#1076)
And increase recycler item view cache size.

(cherry picked from commit a3dfd2efe6ace7a2a4d79bd09fb1a729989f1094)
2024-08-05 11:07:14 +07:00
Tran M. Cuong
c6165c3c51
feat: change feed's order (#220)
allow change feed's order manually by moving up/down

partially implement #130

* add feed_order

- add/migrate feed_order column
- auto increament feed_order when adding new feed
- showing feed in order using feed_order

* refactor code to support feedOrder

* swap feed order

* Fix generating feed's order when no feed existed
2024-08-04 03:02:19 +07:00
Cuong-Tran
64a2c98ad7 Fix: missing feed if saved searches already exists 2024-08-04 03:01:19 +07:00
Vetle Ledaal
0c3c9e9952
Improve error message if restoring from JSON file (mihonapp/mihon#1056)
* Improve error message if restoring from JSON file

* Replace Exception with IOException

* Use more generic error message if protobuf fails

* fix lint

(cherry picked from commit de8ef6dad7c89afb7041ccb489d68539a4849cb5)
2024-08-02 13:19:11 +07:00
AntsyLich
b018272d3b
Cleanup backup/restore related code
(cherry picked from commit c201b341a716b90d378dcda4bd9b8ac4a343d4fc)
2024-07-30 18:29:04 +07:00
AntsyLich
2500317134
Fix library is backed up when disabled and make categories backup/restore independent
(cherry picked from commit 56fb4f62a152e87a71892aa68c78cac51a2c8596)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupCreator.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupOptions.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/RestoreOptions.kt
2024-07-30 18:29:04 +07:00
Cuong-Tran
ccde68f4f8
feat: request for writing storage permission when saving pictures (Android P & below) 2024-07-30 18:29:04 +07:00
Cuong-Tran
c16ed41c2f
feat: Add onboarding permissions request for external storage
support save covers & using custom covers depends on the Android version
2024-07-30 18:29:04 +07:00
Cuong-Tran
5a3c6dae4a
fix: canceling job didn't hide status banner 2024-07-30 18:29:04 +07:00
Cuong-Tran
93be3f15b7
fix: copy icon (migration whole list) was always migrating instead of copy 2024-07-30 18:29:04 +07:00
Cuong-Tran
1042726a74
fix: migrate/copy manga untick delete downloaded had no effect & always delete 2024-07-30 18:29:04 +07:00
Roshan Varughese
4c19c80013
Adds Option to Copy Panel to Clipboard (mihonapp/mihon#1003)
* Add Copy to Clipboard

* Removing Unused Import

* Reusing onShare function

* Commit Suggestion

* Early Return on null

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 0af90999c8eed4b6c56a94418e5558833f273aa9)
2024-07-30 18:27:55 +07:00
Cuong-Tran
486dc91be7
Don't use animateItem's fade-in/fade-out in FastScrollLazyColumn 2024-07-30 18:27:55 +07:00
Jobobby04
67bf243f9b
Fix build errors
(cherry picked from commit 7899474a36c3e097163246e5081ff57def79263c)
2024-07-30 18:27:55 +07:00
AntsyLich
a650dae97e
Fix issue with creating and restoring backup
Fixes mihonapp/mihon#881

(cherry picked from commit f696f209c6b3efb3148e1d587af9e42c71d8dc6f)
2024-07-30 18:27:54 +07:00
renovate[bot]
b939492dcb fix(deps): update dependency dev.chrisbanes.compose:compose-bom to v2024.05.00-alpha03 (#60, mihonapp/mihon#843)
* fix(deps): update dependency dev.chrisbanes.compose:compose-bom to v2024.05.00-alpha03

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 777a071f4a2f32efc3447d118afd8b48006b3919)
2024-07-27 02:13:27 +07:00
AntsyLich
fa8f519ffc Bump compose version
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit e473c7f09fc009161145aca94bd70027f042b0bf)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/browse/ExtensionFilterScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/GlobalSearchScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/SourcesFilterScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/components/GlobalSearchResultItems.kt
#	app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt
#	app/src/main/java/eu/kanade/presentation/manga/components/MangaInfoHeader.kt
#	gradle/compose.versions.toml
2024-07-27 02:13:27 +07:00
Roshan Varughese
ee92333aea
Format Category String on Subtitle Display (mihonapp/mihon#1030)
* Fixes mihonapp/mihon#1029

* Max Line Length Fix

* Update SettingsLibraryScreen.kt

No idea how this works.

Co-authored-by: Foolbar <118464521+Foolbar@users.noreply.github.com>

---------

Co-authored-by: Foolbar <118464521+Foolbar@users.noreply.github.com>
(cherry picked from commit 88efde8796b0e1cc8fba6cd987bdc487bd97f248)
2024-07-26 23:11:20 +07:00
Cuong-Tran
a1dbcc022d feat: Add option to show manga from download queue item
close #116
2024-07-22 22:54:21 +07:00
renovate[bot]
51ab4e0255
fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha08 (#157)
* fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07

* fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07 (mihonapp/mihon#960)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit c0f9de88e70ef1db97c521993462ae27550b5790)

* Fix build

* Bump coil version and some cleanup

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit e65634cb427eafe9e3bd192f9e8bf71f2243ce6c)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-07-22 14:15:46 +07:00
Cuong-Tran
1d9ed72f93 feat: update E-Hentai to support libraryColored, bulk-selection overlay & hide-cover
also update in-library badge
2024-07-22 13:35:04 +07:00
Cuong-Tran
afbb4b70b1 feat: show libraryColored by default on all list/grid 2024-07-22 13:35:04 +07:00
Cuong-Tran
4c4c6ae292 refactor: Fix bgColor when selected 2024-07-22 13:35:04 +07:00
Cuong-Tran
0e7a4a7066 Debug setting to hide cover image showing only color 2024-07-22 13:35:04 +07:00
Cuong-Tran
a67d63a4d8 refactor: rework cover's loading animation performance
Close #159
2024-07-22 13:35:04 +07:00
Cuong-Tran
c7bab00379 Setting for pre-load cover's library color 2024-07-22 13:34:33 +07:00
Cuong-Tran
314ced0e8d Load cover color with IO scope instead of UI
Fix laggy issue (#159) when opening multiple entries continuously
2024-07-22 13:34:33 +07:00
Cuong-Tran
de4da5e829 Revert "remove duplicate chapter's filter icon"
This reverts commit 70ef686f34.
2024-07-22 13:34:33 +07:00
Cuong-Tran
7ca0e02bee
refactor: rename 2024-07-22 13:26:31 +07:00
Tran M. Cuong
050c661c9e
progress-banner (#163)
* feat: banner showing updating status

* showing progress for updating

* showing progress for syncing & backup restoring too

* preferences for progress banner
2024-07-09 15:00:37 +07:00
FooIbar
0496c608c0
Fix some issues when reading/saving images
(mihonapp/mihon#993)

* Fix unsupported mime type error when saving images

Avoid using platform mime type map to get extensions as it may not have
all mime types we support.

* Fix jxl images downloading/reading

(cherry picked from commit daa47e049327c4d8b1fe4724ed1b84897d81fcf2)
2024-07-08 21:07:56 +07:00
AntsyLich
b12735732f
Fix login prompts despite being logged in to trackers in Manga screen
(cherry picked from commit cbcd8bd6682023f728568f2b44da26124618aed7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt
2024-07-08 21:00:03 +07:00
Cuong-Tran
74a71de53e
Fix MdList isLoggedInFlow 2024-07-08 17:10:40 +07:00
Cuong-Tran
16401ea86f
refactor: limit Navigator log to Preview/Debug only 2024-07-08 11:35:35 +07:00
Cuong-Tran
1e34b95b51
feat: add search drop-down menu for entry's author/artist/source 2024-07-08 00:57:02 +07:00
Tran M. Cuong
271aa166aa
feat: search entry's title in library (#158)
* feat: add library title search

* do library search only, won't do source search
2024-07-08 00:02:04 +07:00
renovate[bot]
241c6ff4c1
fix(deps): update dependency com.google.apis:google-api-services-drive to v3-rev20240521-2.0.0 (#15)
* fix(deps): update dependency com.google.apis:google-api-services-drive to v3-rev20240521-2.0.0

* Migrate from deprecated Jackson to Gson & fix "2 files found with path 'META-INF/INDEX.LIST'"

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-07-07 22:50:10 +07:00
AntsyLich
e5c830d08b
Observe tracker login state instead of fetching once (mihonapp/mihon#987)
* Observe tracker login state instead of fetching once

* Review changes

(cherry picked from commit 2092c81bad59fd745a8514af320e534ecf40a5da)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/library/LibrarySettingsDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryScreenModel.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt
2024-07-07 02:17:29 +07:00
Cuong-Tran
274aefb3b3 feat(ui): Add restoring & syncing banner 2024-07-05 22:28:47 +07:00
Jobobby04
54bc3d883d
Fix some MDLang issues
(cherry picked from commit c7bbad93b2e7d4114d0b1c20b172b0800b4a6286)
2024-07-05 15:03:25 +07:00