Commit graph

6765 commits

Author SHA1 Message Date
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