Commit graph

6858 commits

Author SHA1 Message Date
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
Jobobby04
688f11a3e5
Codestral(ChatGPT) cleanup of some double pages code
(cherry picked from commit 1a4a2506f4c3a82b8ba36b76c43ccff6f5a99a59)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt
2024-07-05 15:03:13 +07:00
gelionexists
9615cc20bd
Update LewdMangaChecker.kt (jobobby04/TachiyomiSY#1204)
- Added the `mature` tag
- Added `doujins` (doujins.com) and `luscious` (luscious.net) as filter keywords

(cherry picked from commit 7b7a594ddbcb26ebafde7ba2f7a0659eda2a899b)
2024-07-05 14:59:57 +07:00
KaiserBh
94c0154ee3
chore: improve google drive sync. (jobobby04/TachiyomiSY#1200)
improve google drive sync, removes the lock, change to protobuf, and potentially fix deviceId not being unique, since it wasn't appState...

(cherry picked from commit c2eece0fff7c8b4395bf0aa02c7ef6012f9bbf8d)
2024-07-05 14:59:57 +07:00
AntsyLich
e079b9bfd8
Make global search "Has result" sticky
Closes mihonapp/mihon#133

(cherry picked from commit 5a61ca5535fe0d9e8e7bcb9e665ba2f9cb0cf649)

# Conflicts:
#	app/src/main/java/eu/kanade/domain/source/service/SourcePreferences.kt
2024-07-05 14:47:32 +07:00
Roshan Varughese
3d4917f7da
Smart Update Dialog Tweak (mihonapp/mihon#977)
* Smart Update Dialog Fix

* Build Fail Change 1

* Commit Suggested Change

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

* Build Fail Change 2

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ddba71df37359e6abbbcc96b18685435961710dc)
2024-07-05 14:47:31 +07:00
Maddie Witman
f0fad0c603
Added configuration options to e-ink page flashes (mihonapp/mihon#625)
* Recommit for e-ink pref changes

* Fixed state holder for flash interval

* Detekt

* Refactor suggested by Antsy

* inverted currentDisplayRefresh check for early exit

(cherry picked from commit 2f86f25d5b24c2054a604802dc65b8bc3a99c7c0)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt
#	app/src/main/java/eu/kanade/presentation/reader/settings/GeneralSettingsPage.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderPreferences.kt
2024-07-05 14:47:21 +07:00
Cuong-Tran
9ffeb13ef3 refactor: Update usage of delegated sources' ids 2024-07-05 10:37:43 +07:00
Cuong-Tran
7c63f84f5f feat: Add support for backing up and storing source's feeds along with saved searches 2024-07-05 10:37:43 +07:00
Cuong-Tran
9d36c1ae15 feat: Add support for backing up and restoring global popular/latest feeds 2024-07-05 10:37:43 +07:00
Cuong-Tran
0147f830be feat: Add back navigation to clear source search query 2024-07-05 10:37:08 +07:00
Cuong-Tran
a0a6c677e3 improve: don't show arrow if related titles are from Recommends 2024-07-04 15:47:12 +07:00
Cuong-Tran
45e9d19a75
fix GDrive error message 2024-07-02 13:54:50 +07:00
Cuong-Tran
a8e65dd63a
really fixed duplicate issue with Related titles row 2024-07-02 13:50:26 +07:00
Cuong-Tran
a32316ddb4
refactor: check source loaded with launch instead of launchIO 2024-07-02 12:33:39 +07:00
CrepeTF
387a707b18
Theme fixes (mihonapp/mihon#963)
* Fix theme issue with download progress indicator

* Fix theme issue with download progress indicator + better contrast

(cherry picked from commit e132cc405f23e18dd8d73626730821eae9051149)
2024-07-02 02:13:45 +07:00
Cuong-Tran
159d5e31d7 refactor: Improve error message handling in GoogleDriveSyncService 2024-07-02 01:24:41 +07:00
Cuong-Tran
f24c101d78 refactor: switch to Crossfade for RelatedTitlesScreen 2024-07-02 01:24:41 +07:00
Cuong-Tran
780523b221 fix: filter duplicate related entries using ID instead of URL
solve #120
2024-07-02 01:24:41 +07:00
Cuong-Tran
e25ff219eb refactor: Update seedColor usage in ReaderActivity
- Using state to update seed color when there is change
- Fix: loading seed color in case manga is late to init
- improve: change chapter's slider's text color
2024-07-02 01:22:01 +07:00
Cuong-Tran
c49c4c9c6d refactor(navigation): Add navigateUp functionality to SourceFeedScreen and SourceFeedToolbar
directly navigate back instead of just close search bar
2024-07-02 01:16:34 +07:00
Cuong-Tran
c92fdb5231 improve: retry to load source in some case it's late 2024-07-02 01:16:34 +07:00
Tran M. Cuong
19890ef4d4
update-color-schemes (#121)
* feat: Add more color theme

- CloudFlare
- CottonCandy
- Doom
- Matrix
- Mocha
- Sapphire

* generate full color for Cottoncandy

* generate full color for Mocha

* refactor(ui): reorder themes

close #114
2024-07-02 01:14:27 +07:00
AntsyLich
a8ce6061d7
Cleanup in CommonMangaItem.kt
Closes mihonapp/mihon#19

Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
(cherry picked from commit e17f70f7226ea031fc1f962c9dfea3e404ba53ad)
2024-06-25 18:01:18 +07:00
Cuong-Tran
6651483741 chore: showing changelog in preview build 2024-06-25 16:48:11 +07:00
Cuong-Tran
11cfa733e9 refactor: Improve key generation for list items 2024-06-25 12:48:12 +07:00
Cuong-Tran
05565900db Add log to ScreenTransition to track screen transition by key used multiple times issue 2024-06-25 12:00:09 +07:00
Cuong-Tran
4555ac9c89 feat(ui): better cover_loading size 2024-06-25 01:35:05 +07:00
Cuong-Tran
a2b0103e98 feat(ui): better cover_error size 2024-06-25 00:43:22 +07:00
Cuong-Tran
06004de0f1 refactor(ui): Update text and icon colors in metadata description adapters for delegated sources 2024-06-24 23:31:15 +07:00
Cuong-Tran
e89f50c845 chore: Simplify pop conditions when search in MangaScreen 2024-06-25 12:55:09 +07:00
Cuong-Tran
069a38a46f feat(ui): improve navigation when using manga's Home button 2024-06-24 23:52:22 +07:00
Cuong-Tran
43852b8b79
feat(ui): Improve navigation flow when click on manga's source 2024-06-24 18:41:25 +07:00
Cuong-Tran
5d9a7a1189 MangaScreen only shows Home button if previous screen is also MangaScreen 2024-06-24 18:13:37 +07:00
Cuong-Tran
a4ded07f6f refactor: leverage DynamicMaterialTheme with TachiyomiTheme 2024-06-24 16:39:33 +07:00
Cuong-Tran
5d6aa7f98a Fix typo 2024-06-24 16:02:16 +07:00
Cuong-Tran
763f3fdb15 primary color for page count in reader 2024-06-24 15:29:56 +07:00
Cuong-Tran
1d5f906a06
refactor: Use modifier instead of contentPadding for ScrollbarLazyColumn to support stickerHeader 2024-06-24 15:16:29 +07:00
Cuong-Tran
b491ad4c5f
Fix ExtensionsScreen padding 2024-06-24 15:16:29 +07:00
Tran M. Cuong
004ecc62bb
feat: SourcesFilterScreen: add sticky header & show language in SourceFiler's items
sticky header without language name

This reverts commit a676891d98964eaf9288199630cf0289830f0212.

show language in SourceFiler's items
correct padding to fix scrollbar overlaping
2024-06-24 15:16:28 +07:00
Cuong-Tran
4b8fe6868e
feat: scrollbar for related mangas screen
Fast scroll for RelatedMangasList

also fix padding
refactor: Replace contentPadding with modifier in RelatedMangasList
2024-06-24 15:16:28 +07:00
Cuong-Tran
e326358523
feat: Add option to show home icon on related titles
Add an option to show a home icon while browsing related titles, allowing users
to navigate directly back to home screen.
2024-06-24 15:16:28 +07:00
Tran M. Cuong
4726126c6b
improve delegated's Metadata view (#110)
* Fix more_info was preloaded with default color before being set correct color

* Remove the "meta" on delegated entries

* Fix title overlaps more-info in 8muses's metadata view

* better delegated genre's color
2024-06-24 15:16:28 +07:00
Cuong-Tran
a8728f332c
color for reader's loading/progress indicator 2024-06-24 15:16:28 +07:00
Cuong-Tran
c8c4ad7be6
color for icons in reader
close #107
2024-06-24 15:16:28 +07:00
Cuong-Tran
2bbda8c0bd
Fix crashing issues with Screen 2024-06-22 22:43:44 +07:00
Cuong-Tran
1c61efd8e9
change color for full-cover icon & reading button
also remove the divider of related-titles in tablet view
2024-06-22 22:22:28 +07:00
Cuong-Tran
f1e0c51e6c
better background for full cover view
close #69
2024-06-22 21:41:17 +07:00
Cuong-Tran
0a3d9121ae
avoid loading cover's color if theme cover based is disabled 2024-06-20 19:52:53 +07:00
Tran M. Cuong
ddc7801436
update cover color state when set cover in reader 2024-06-20 18:54:32 +07:00
Cuong-Tran
c28b290f24
theme cover based for Reader 2024-06-20 00:11:01 +07:00
Cuong-Tran
fdefea9af2
add KMK comment 2024-06-19 22:43:20 +07:00
Tran M. Cuong
ae196d9602
enable help translate menu 2024-06-19 11:24:54 +07:00
Tran M. Cuong
10c49381a2
i18n for theme cover based style 2024-06-19 11:17:40 +07:00
Cuong-Tran
c930c57292
navigator back on ExtensionsScreen 2024-06-18 22:23:49 +07:00
Tran M. Cuong
a539028ec0
Change Recommendation button style & enable default showing it 2024-06-18 18:54:48 +07:00
Tran M. Cuong
edf222e535
better Display Mode selection for SimpleToolbar 2024-06-18 18:38:34 +07:00
Tran M. Cuong
c91cb19979
Fix RelatedMangasScreen crash 2024-06-18 17:50:48 +07:00
Cuong M. Tran
742126e4eb
Fix PaletteScreen crashing on app suspends 2024-06-18 12:29:20 +07:00
Cuong M. Tran
cd7bc8860e
Revert "composed Modifier changes (#9631)"
This reverts commit 434b8d3ae8.

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/manga/components/ChapterDownloadIndicator.kt
#	presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Tabs.kt
#	presentation-core/src/main/java/tachiyomi/presentation/core/util/Modifier.kt
2024-06-17 09:33:03 +07:00
Cuong M. Tran
bc16959170
Hide Colors Palette on Preview build 2024-06-17 09:33:03 +07:00
Cuong M. Tran
d11856fb42
enable mark read track & sync back from trackers by default 2024-06-17 09:33:03 +07:00
Tran M. Cuong
4ea29bbff6
add readResolve for Screen & Tab
(might fix the issue key currentTab was used multiple times?)
2024-06-17 01:11:29 +07:00
Tran M. Cuong
d7bc9d3021
fix warning 2024-06-16 20:20:10 +07:00
Tran M. Cuong
7a99a9a9b5
add KMK comment 2024-06-16 20:15:50 +07:00
Jobobby04
854ea8c7f0
Cleanup some build warnings
(cherry picked from commit 4deaa41c53fec59604d5cd4a0ba63c6e91add5b4)
2024-06-16 01:52:24 +07:00
Tran M. Cuong
70ef686f34
remove duplicate chapter's filter icon 2024-06-15 23:27:53 +07:00
Cuong Tran
61f97c0944
Fix some places using BuildConfig.BUILD_TYPE of preview 2024-06-14 23:16:42 +07:00
Cuong Tran
d3d0efdfcd
Hide Related titles if not found any 2024-06-14 23:16:42 +07:00
Cuong M. Tran
221b55536f
New app icon 2024-06-14 23:16:42 +07:00
renovate[bot]
42af9a12d1
fix(deps): update dependency com.github.a914-gowtham:compose-ratingbar to v1.3.12 (#20)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 21:51:01 +07:00
Cuong Tran
3e808f1098
Revert "Bump compose version" which causing laggy with scroll
This reverts commit 9682b8d9d2.
2024-06-13 19:35:25 +07:00
Cuong M. Tran
753285275f
Improve Theme cover based (#81)
* Support Pure dark mode
* Tag using elevated style (non pure-dark-mode) and more vibrant outline color (pure-dark-mode)
* More color for various icons
* Color theme for Metadata screen
* Always animated color change
* Always/Only use dominant color for library/update/upcoming cover's background
* Don't always generate color each time cover loaded (library/browse), only update color when new cover changed on detail page
* Fix the spinner background in Edit Manga Info
* Improve manga's backdrop color

Detail:
* Change Cover's color & ratio preference key to AppState

* using ElevatedSuggestionChip with color

* more icon color

* color theme for MetadataViewScreen

* enable animation by default

* Fix: can't turn off theme cover based

* Won't check pref for theme enabled everytime, instead always generate cover's color to run faster later

* Skip generate cover's vibrant color for browsing mangas if already generated, also won't even trying to read ratio for favorite mangas

* Only generate new seed color when cover loaded in detail page

* only use dominantColor for cover when cover is unable to load

* Don't use elevatedSuggestionChip for darkmode and change border color

* EditMangaInfo: Set Spinner's selected item's background color to transparent

* update chip color

* Colors Palette screen

* Support Amoled Dark Mode by upgrading Material-Kolor to 1.7.0

* improve manga's backdrop color

* only generate color while browsing if option is enabled, aslo fixed the case won't update dominant color if cover changed

* always using theme animation

* update translation
2024-06-12 18:22:44 +07:00
Cuong M. Tran
95fef0d019
Option to not show Related titles by default but using a button to open that screen 2024-06-12 17:39:40 +07:00
AntsyLich
167353747b
Remove some legacy folder/file name lookup for download
Related to mihonapp/mihon#705

(cherry picked from commit e55e5f6f64f872475d370d6ce0c186e2601776e4)
2024-06-11 00:04:02 +07:00
Cuong M. Tran
e10662f26a
Remove deprecated API for Android N 2024-06-11 00:04:02 +07:00
AntsyLich
cdac438f1e
Make the app Android 8+
(cherry picked from commit dfb3091e380dda3e9bfb64bf5c9a685cf3a03d0e)

# Conflicts:
#	README.md
#	app/src/debug/res/mipmap-hdpi/ic_launcher.png
#	app/src/debug/res/mipmap-hdpi/ic_launcher_round.png
#	app/src/debug/res/mipmap-mdpi/ic_launcher.png
#	app/src/debug/res/mipmap-mdpi/ic_launcher_round.png
#	app/src/debug/res/mipmap-xhdpi/ic_launcher.png
#	app/src/debug/res/mipmap-xhdpi/ic_launcher_round.png
#	app/src/debug/res/mipmap-xxhdpi/ic_launcher.png
#	app/src/debug/res/mipmap-xxhdpi/ic_launcher_round.png
#	app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png
#	app/src/debug/res/mipmap-xxxhdpi/ic_launcher_round.png
#	app/src/main/java/eu/kanade/domain/ui/UiPreferences.kt
#	app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsAdvancedScreen.kt
#	app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/installer/ShizukuInstaller.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ZipPageLoader.kt
#	app/src/main/res/mipmap-hdpi/ic_launcher.png
#	app/src/main/res/mipmap-hdpi/ic_launcher_round.png
#	app/src/main/res/mipmap-mdpi/ic_launcher.png
#	app/src/main/res/mipmap-mdpi/ic_launcher_round.png
#	app/src/main/res/mipmap-xhdpi/ic_launcher.png
#	app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
#	app/src/main/res/mipmap-xxhdpi/ic_launcher.png
#	app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
#	app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
#	app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
#	buildSrc/src/main/kotlin/AndroidConfig.kt
2024-06-11 00:04:02 +07:00
Cuong M. Tran
271e78eaf1
i18n for Komikku 2024-06-11 00:04:02 +07:00
Cuong M. Tran
1483b71cf0
Add NSFW filter & source search into Merge: Find in another source 2024-06-11 00:04:02 +07:00
renovate[bot]
b7062738ea
fix(deps): update okhttp monorepo to v5.0.0-alpha.14 (#18, mihonapp/mihon#688)
* fix(deps): update okhttp monorepo to v5.0.0-alpha.14

* 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 1edd55c981aa72faf49c06173f33bf0c2f99fe60)
2024-06-11 00:04:02 +07:00
Cuong M. Tran
6368672d19
Bangumi tracker for Komikku, thanks @jimlee0824
Close #73
2024-06-11 00:04:02 +07:00
Cuong M. Tran
40a190e75b
Default to put ShowRecommendation in overflow menu 2024-06-10 13:26:25 +07:00
AntsyLich
98de5ab5ff
Check category order before restoring from backup
Closes mihonapp/mihon#632

Co-authored-by: Cologler <10906962+Cologler@users.noreply.github.com>
(cherry picked from commit 119bcbf8ed2415664922ea77fadf0da1165d1732)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/CategoriesRestorer.kt
2024-06-10 13:26:25 +07:00
Cuong M. Tran
596b50914a
Fix sources' NSFW filter was being reverted
Also rework the filter a bit
2024-06-10 13:26:25 +07:00
AntsyLich
c9d9a44713
MangaChapterListItem: Don't use alpha modifier
Possibly fixes mihonapp/mihon#822

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 15d999229fcce865001d5fa77d0163e6e80e38db)
2024-06-10 13:26:24 +07:00
Jobobby04
d1671457e9
Fix WorkManager cancellation issues
(cherry picked from commit 7e6811692e8c16a074271ffb1ca01a73daeb4404)
2024-06-04 18:01:18 +07:00
Tim Schneeberger
3538cf8976
Add Namicomi support for external chapters on MD (jobobby04/TachiyomiSY#1188) 2024-06-04 17:08:12 +07:00
Cuong M. Tran
302fdfe979
Clean up some build warning 2024-06-04 17:03:11 +07:00
Sven
03581a8a63
fix: storage permission request for non-conforming devices (mihonapp/mihon#726)
* fix: storage permission request for non-conforming devices

* fix: catch more specific exception

* chore: add toast message to indicate missing persistent permissions

* chore: correct newly introduced translaction string

* Change error toast message

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-04 14:14:17 +07:00
Cuong M. Tran
4c713f118f
Cover's styling: color & loading animation (#42)
* use dominantCoverColors as background for cover so it's less tinted by theme color, also if CoverCache is corrupted, favorite entries can still show color

* add loading animation while cover is fetching image

* Bulk-selection using default isSelected style

* fix cover's background & tint when AsyncImage is Error/Fallback/PlaceHolder

* Widget's cover color when unable to load cover image
2024-06-04 13:59:00 +07:00
Cuong Tran
b6b7114c29
Fix Genre tag search while browsing related-titles or from Feed Screen 2024-06-04 13:56:36 +07:00
Cuong M. Tran
d5c57d1ee3
warning to private installer 2024-06-04 13:55:34 +07:00
Cuong M. Tran
0a7f828d77
Feature: details page's theme based on cover (#41)
* Using MaterialKolor & Pallete to generate MaterialTheme based on seedColor

* Fix MangaActionRow's color

* Merge ImageRequest methods into one

* add backdrop color

* support dynamic color in EnhancedSource's metadata view

* dynamic color for MetadataViewScreen

* dynamic color for all dialogs

* Remove palette buttons

* add settings preference

* Update MaterialKolor version to 1.6.1 to fix DynamicMaterialTheme & Add PalleteStyle

* split DynamicMaterialTheme content

* Missed text color in Tsumino & Cleanup & revert some unneeded changes

* Change icon color to secondary

* color for EditMangaDialog

* Custom Spinner's Dropdown style

* TextSelectionHandle color

* color for add-tag dialog

* setting for Style & Animate

* Palette does not support Hardware bitmap

* using MaterialTheme instead of DynamicMaterialTheme when no need for color animation

* reduce color on backdrop

* save/load manga's cover color & ratio with Preferences

* Trying to decode bitmap directly from response when coverCache is not available

* Update MangaCover.vibrantCoverColor map with new color

* Hide Style & Animate settings if theme-cover-based is not enable

* Only generate color if theme-cover-based is enabled

* seedColor by vibrantColor from MangaCover: setPaletteColor won't needed (almost), only when failed to load vibrantColor from MangaCover

* seedColor uses remember directly to the hashmap to recompose whenever cover is updated/changed. Drop successState.seedColor

* generate favorite manga's color every time, instead of just update ratio

* Move MangaCoverMetadata to coil
2024-06-04 00:18:49 +07:00
Cuong M. Tran
acfaab6102
only sync back read chapters from Trackers if chapter list is incremental
also click Tracker button won't sync back if Auto sync is not turned on
2024-05-30 16:47:17 +07:00