Commit graph

6605 commits

Author SHA1 Message Date
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
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
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
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
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
Cuong M. Tran
6c844e9ecb
Won't show Related title row if nothing found 2024-05-30 15:34:48 +07:00
Cuong Tran
8dff9ea669
Add Timber logging 2024-05-27 01:49:53 +07:00
Cuong M. Tran
296c2946a2
Avoid set chapter 1 as Read if Tracker is in Wish list/Plan to read/Unread 2024-05-24 01:49:37 +07:00
Cuong M. Tran
6bd8f399d8
Fix auto-sync read from Trackers switch 2024-05-24 00:42:38 +07:00
Cuong M. Tran
6876d82982 Fix Related Mangas (#29)
* using mangaDetailsRequest for relatedMangaListRequest

* rethrow exception if extension failed to get related mangas

* improve coroutine

* More like these

* Fix missing unique mess up LazyRow/LazyGrid order
2024-05-23 11:02:49 +07:00
Cuong M. Tran
ce7177efc6 Auto sync read chapters from Trackers & mark read to update (#28)
* Mark chapter(s) as read will update Tracking

* Fix: sync tracking 2 ways for all trackers

* automatically sync read chapters from Trackers
2024-05-23 11:02:49 +07:00
Cuong M. Tran
81376ae818
[skip ci] update discord 2024-05-22 10:17:26 +07:00
Cuong M. Tran
6cf789e747
Revert back LazyList.isScroll... & fix menuAnchor deprecation caused by Bump compose version (#9682b8d9) 2024-05-20 13:16:47 +07:00
Cuong M. Tran
ac86a9a2d9
Fix fetching related mangas from extensions was not concurrently 2024-05-20 12:38:25 +07:00
CrepeTF
28fb304229
Update themes to follow new compose update changes (#766)
* Update Green Apple theme

* Add some Green Apple theme comments

* Update Lavender theme

* Update Midnight Dusk theme

* Update Nord theme

* Update Strawberry Daiquiri theme

* Update Tako theme

* Update Teal & Turquoise theme

* Update Lavender secondaryContainer and onSecondaryContainer colour

* Update M.Dusk secondaryContainer and onSecondaryContainer colour

* Update Tako secondaryContainer and onSecondaryContainer colour

* Comments

* Update Tidal Wave theme

* Update Yin Yang theme

* Update Yotsuba theme

* Fix navbar tinted background on pure black

* Add surfaceContainer levels to Lavender theme

* Resolve detekt issues

* Add surfaceContainer levels to Midnight Dusk theme

* Add surfaceContainer levels to Nord theme

* Add surfaceContainer levels to Tako theme

* Add surfaceContainer levels to Teal & Turquoise theme

* Add surfaceContainer levels to Tidal Wave theme

* Add surfaceContainer levels to Yin Yang theme

* Add surfaceContainer levels to Yotsuba theme

* Add dark theme surfaceContainer levels to Yotsuba theme

* surfaceContainer tweaks to Yotsuba theme

* surfaceContainer tweaks to Strawberry Daiquiri theme

* surfaceContainer tweaks to Nord theme

* surfaceContainer tweaks to Lavender theme

* Update Tachiyomi theme

* Update Pure Black theme

* Resolve detekt issues

* Oopsie
2024-05-19 02:52:52 +07:00
AntsyLich
33c24ad6ff
Use new SurfaceContainer color roles
Non-dynamic themes need to be updated

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/reader/ReaderPageActionsDialog.kt
2024-05-19 02:52:52 +07:00
FooIbar
05b349c508
Fix tap control area shifting after zooming out (#767) 2024-05-19 02:52:52 +07:00
AntsyLich
dc2dd3dc58
Fix search bar style
(cherry picked from commit ca7391bbf3d49428f6321aa6baa03b0d2b5abff9)
2024-05-19 02:52:52 +07:00
Cuong M. Tran
7f567eaad2
What's New & Preview peeking
- Showing What's New from all Github's release notes
- Add button to show What's Coming from Preview repo
- Add regex to styling Github's comparing link

(cherry picked from commit 06cfba58998fa7d1ff39be80770f16833f81409c)
2024-05-19 02:52:52 +07:00
Cuong M. Tran
bdd8a652c2
A dedicated screen for related entries, fetching directly from sources
* Faster loading of related entries

* Enable fetching related entries from site's entry page (things like "More like this", "Recommendations" etc.)

* Improve & fix bugs of algorithm looking for related entries

(cherry picked from commit 54d91c3f71557becd4fc22ec8500e05f79dc48d8)
2024-05-19 02:52:52 +07:00
Jobobby04
d90a4da895
Possibly fix extension obsolete bug
(cherry picked from commit 46bf139f019fbe6284dc0fa8823715ac877a96b5)
2024-05-19 02:52:52 +07:00
Reagan
b54b3c6267
Change keyboard type in extension repo dialog (#764)
(cherry picked from commit 550f1197e818c35c7c05fd6184e69c7d29559e9f)
(cherry picked from commit 000a4ffc3fd5578890edbca6a8cdd765c4b842df)
2024-05-19 02:52:52 +07:00
Jobobby04
28d9778d49
Minor cleanup
(cherry picked from commit 253060a3bcc7f70f409944ec5212d3e2cd4542f8)
2024-05-19 02:52:52 +07:00
Jobobby04
4465aae0fd
Get new page url on image fetch failure for EHentai
(cherry picked from commit b6b33e8c00b616b70254bdbc13d240f4c13409bb)
2024-05-19 02:52:52 +07:00
Jobobby04
087121a5ec
Add getImageUrl override to EHentai
(cherry picked from commit 2e4f8110908e0f5f61377907e57f13e51790b4dc)
2024-05-19 02:52:52 +07:00
Jobobby04
0d89d0184d
Include lewd filter in filter highlight
(cherry picked from commit 215a1908f700ce30bb117ef6d627ed1b16a11911)
2024-05-19 02:52:52 +07:00
Jobobby04
4ea7aad280
Update dependencies and cleanup
(cherry picked from commit 2d1240b27455fd781fece76173b5f35641df7cd1)
2024-05-19 02:52:52 +07:00
Cuong M. Tran
6f5b8903c0
Fix warning 2024-05-19 02:52:52 +07:00
AntsyLich
9682b8d9d2
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/components/GlobalSearchResultItems.kt
#	app/src/main/java/eu/kanade/presentation/manga/components/MangaInfoHeader.kt
(cherry picked from commit 5550ddad4ef023b335024d9648a59c36ae242168)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/browse/ExtensionFilterScreen.kt
#	app/src/main/java/eu/kanade/presentation/browse/GlobalSearchScreen.kt
2024-05-19 02:52:52 +07:00
Radon Rosborough
7df4ec93b0
Massively improve findFile performance (#728)
* Massively improve findFile performance

* Update libs.versions.toml

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 7ec2108812fbe0483111dbe996e29e5a621b583a)
(cherry picked from commit 089e6268e7777394fe2b2b572ad65e59bdf3477d)
2024-05-19 02:52:52 +07:00
AntsyLich
20230046ae
Trust extension by repo (#570)
(cherry picked from commit 70cd688ac245a70a3146e2ac7374f24b0c3453ab)
(cherry picked from commit bbc8adc3e8d1614f75075a1a81f1cb1b61457168)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt
2024-05-19 02:52:52 +07:00
AntsyLich
59144028c1
Fix some extension related issue and cleanups
- Extension being marked as not installed instead of untrusted after updating with private installer
- Extension update counter not updating due to extension being marked as untrusted
- Minimize `Key "extension-XXX-YYY" was already used` crash

(cherry picked from commit 21145144cdf550aa775047603e06e261951ebc42)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt
(cherry picked from commit 077b673c0aaa78cf94356cdfc43a4730e5b1f787)
2024-05-19 02:52:52 +07:00
FooIbar
5625b0a49f
Log app crash exceptions in dumped crash logs (#742)
(cherry picked from commit a3d438e2f5b427eb8b4c391ab9fe10c5a83baf29)
(cherry picked from commit 14dae420f5f1cd0df8fd91e5e393a598ef853333)
2024-05-19 02:52:52 +07:00
FooIbar
dc75025d78
Use Coil pipeline instead of SSIV for image decode (#692)
(cherry picked from commit c3e7bb12f4cccf42dd3ea169111c771876e640fe)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt
(cherry picked from commit 5ae350866538cb21e43bd92f4fde42472da5afb8)
2024-05-19 02:52:51 +07:00
FooIbar
b226027dce
Use Okio instead of java.io for image processing (#691)
(cherry picked from commit b152e3881bffd9050a8a0ed4030823886e3fe04f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	core/common/src/main/kotlin/tachiyomi/core/common/util/system/ImageUtil.kt
(cherry picked from commit aeeff72bed2a568812e8f09b3089d86df6bfea4d)
2024-05-19 02:52:51 +07:00
FooIbar
35522c75a1
Use m3 ripple and clean up interactionSource usage (#675)
Also remove a leftover of scoped storage adaptation.

(cherry picked from commit f27ca3b1b2f92258c213bca6b27d8eff4c7363ad)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/manga/components/MangaBottomActionMenu.kt
(cherry picked from commit 5895e78b398b8d3b3c58cb742f2511f20c8103d1)
2024-05-19 02:52:51 +07:00
Cuong M. Tran
1eefa745ea
Updater: similar to Mihon
- Preview version now name Beta, use different package & repo
- Drop syDebugVersion, use commitCount
- Fix Firebase analytics for both Release & Preview build
- Create separate variant for Preview build instead of using syDebugVersion
- Preview version showing changelog_debug.xml
- Release version showing changelog_release.xml
2024-05-08 11:55:10 +07:00
Cuong M. Tran
4161b6cac9
WhatsNewDialog: add button to open Github's release version 2024-05-08 11:12:54 +07:00
Cuong M. Tran
533caa0cc2
AboutScreen: remove Mihon's link & update Komikku's link 2024-05-08 11:01:16 +07:00
Cuong M. Tran
1044e1d115
Change WhatsNew confirm button from Cancel to OK 2024-05-03 18:08:13 +07:00
Cuong M. Tran
0f29586723
Disable invalidate_download_cache since it's not working yet 2024-05-03 18:07:41 +07:00
Cuong M. Tran
5942daa4e1
Related titles: switch to Map to avoid duplicated entries 2024-05-03 10:21:22 +07:00
Cuong M. Tran
2f752e0fc5
Navigate from SourceFeedScreen will allow go back to it instead of Home screen 2024-05-02 16:12:38 +07:00
Cuong M. Tran
5392999e39
Click on the missing Source name in MangaScreen will search for missing extension in ExtensionsScreen 2024-05-02 15:53:43 +07:00
Cuong M. Tran
ba1414d70d
Click uninstalled source in MangaScreen will open extensionsTab 2024-05-02 15:53:43 +07:00
Cuong M. Tran
01007bf870
Add WebView button to SourceFeedScreen 2024-05-02 13:42:50 +07:00
Cuong M. Tran
329417c431
Click on Source name in MangaScreen will open Source's Browsing instead of Global searching 2024-05-02 12:38:49 +07:00
Cuong M. Tran
d9e440084e
Support showing related titles for all extensions...
...by using getSearchManga (if extension support searching)

Drop old API style (using suspend function instead of RxJava)

Cleanup
2024-04-30 02:33:54 +07:00
Cuong Tran
f6be3a494c
BulkSelection: “Select all” for all screens
(cherry picked from commit bddcc089df738e23331b351cc20c8425cb316c74)
2024-04-26 12:44:49 +07:00
Cuong Tran
45553eb096
BulkSelection: avoid using toggle when Select all
(cherry picked from commit 695f872b381feca1051f0f5133a0288d252691e5)
2024-04-26 12:33:05 +07:00
Cuong Tran
097ce0e2c3
Hide bulkSelection’s “Select all” button when not used
(cherry picked from commit 8f8214f65467cde97161a5fd9edab5b1543b333e)
2024-04-26 12:06:29 +07:00
Cuong M. Tran
fddfe6280a
Select All for GlobalSearch
(cherry picked from commit a28233735cac5bce5a630de84555b501ffcccc8d)
2024-04-26 11:45:09 +07:00
Cuong M. Tran
5d870559e7
Merge branch 'master' into bulk-favorite 2024-04-26 11:38:17 +07:00
Cologler
30ab6153ca
fix: check order before restore from backup (#1156) 2024-04-26 11:35:16 +07:00
KaiserBh
e3e5c55a5a
feat: syncing etag and overall improvement. (#1155)
* chore: don't log the access token from google.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* chore: don't log the access token from google.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* chore: forgot to add sy stuff.

The customInfo and readEntries wasn't taken into account, so when it was disabled it will always sync it because it's true by default in BackupOptions.kt. Should be fixed and now it doesn't reset the check mark.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* fix: same device sync.

When same device is initiating the sync just update the remote that.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* refactor: throw early.

When there is network failure or any sort during downloading just throw exception and stop syncing.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* refactor(gdrive): stream the json.

People with over 3k library can't sync because we are hitting OOM ```java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 370950192 byte allocation with 25165824 free bytes and 281MB until OOM, target footprint 333990992, growth limit 603979776```. This should fix that for them but only gdrive.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* feat: a demo for sync with new api

* refactor: perform early null checks

* feat: restore even if push failed

* feat: switch to protobuf

* chore: show error notification when sync fails.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* fix: update order by merge

* fix: call pushSyncData twice

---------

Signed-off-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: Cologler <skyoflw@gmail.com>
2024-04-26 11:35:16 +07:00
Jobobby04
9681b8f055
Move sync strings to SY files 2024-04-26 11:35:15 +07:00
AntsyLich
9b66027ad8
MangaCoverFetcher: Small cleanups
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 13656959ae0606736f6ca9eb62699dc23e467c2f)
2024-04-26 11:35:15 +07:00
AntsyLich
4836ddfffc
Remove unused imports
(cherry picked from commit 20e4cb26d6c264b13edb357ecfa25a6db21f19b8)
2024-04-26 11:35:15 +07:00
AntsyLich
b07a1428a3
Fix build time zone in about screen
And slight cleanup

(cherry picked from commit aed53d3bdc85ce0e899fbb90b9f9cad0f1b86480)
2024-04-26 11:35:15 +07:00
Maddie Witman
ffed74b74c
New Feature: Introduce Upcoming page to Mihon (#420)
* Work in progress upcoming feature

* Checkpointing WIP upcoming feature

* Functional Upcoming Screen

* Rename UpdateCalendar to UpdateUpcoming

* Converted Strings to resources

* Cleanup

* Fixed detekt issues

* Removed Link icon per @AntsyLich's suggestion.

* Detekt

* Fixed Calendar display on wide form factor devices

* Added Key to upcoming lazycolumn

* Updated tablet mode UI to support two column view

* Updated header creation logic

* Updated header creation logic... again

* Moved stray string to resources

* Fixed PR Comments and query refactor

* Tweaks to query, refactored to flow, comments on calendar

* Switched to Date Formatter

* Cleaned up date formatter

* More Refactor work

* Updated Calendar to support localized week formats

* Fixed year format

* Refactored Header animation

* Moved upcoming FAQ

* Completed YearMonth Migration

* Replaced currentYearMonth with delegate

* Even more cleanup

* cleaned up alignment modifiers

* Click Handler and other refactors

* Removed Wrapped Content Height/Size/extra clips

* Huge Refactor for CalendarDay

* Another cleanup attempt

* Migrated to new mihon.feature.* module pattern

* changed access modifier

* A Bunch of changes from the next round of reviews

* Cleanups

* Cleanup 2

---------

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

# Conflicts:
#	app/src/main/java/eu/kanade/domain/DomainModule.kt
#	gradle/libs.versions.toml
2024-04-26 11:35:15 +07:00
Andreas
19035174cb
Migrator improvements (#588)
(cherry picked from commit 0265c16eb239518d52b7e9fb4200b5b003418d5d)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2024-04-26 11:35:15 +07:00
Jobobby04
8b4caf11c3
Reduce build warnings 2024-04-26 11:35:15 +07:00
Jobobby04
ae8e931a4a
Fix build 2024-04-26 11:35:15 +07:00
Maddie Witman
1d039752dd
Migrated from Accompanist Webview to KevinZou WebView (#569)
* Migrated from Accompanist Webview to KevinZou WebView to preempt deprecation

* Removed old webview from version library

(cherry picked from commit ba9cfd867c028551c0b0740922c5130b14455c9f)
2024-04-26 11:35:15 +07:00
Andreas
0f9add0eca
Rewrite Migrations (#577)
* Rewrite Migrations

* Fix Detekt errors

* Do migrations synchronous

* Filter and sort migrations

* Review changes

* Review changes 2

* Fix Detekt errors

(cherry picked from commit 666d6aa117756f0a9a57b31f91b7acb0ee5d7409)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/Migrations.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2024-04-26 11:35:15 +07:00
Jobobby04
8c651a1d0f
Fix build 2024-04-26 11:35:15 +07:00
Jobobby04
7a482c64e4
Revert "Migrated from Accompanist Webview to KevinZou WebView (#569)"
This reverts commit 268b4831826df121f2b7fb7529ad367389bc731c.
2024-04-26 11:35:15 +07:00
AntsyLich
e258770407
Fix more TypeReference issues and cleanup
(cherry picked from commit e020ae5ed558e80742ef0ad8bfa0f69af0959d5a)
2024-04-26 11:35:15 +07:00
MajorTanya
4ffdc2d426
Fix extension repo crash with TypeReference issue (#574)
Fix by @AntsyLich.

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 05071b420572a8fa93a55ab02c743c7da4fd3b3a)
2024-04-26 11:35:15 +07:00
MajorTanya
ee4b89ccf9
Fix repo name used for URL instead of baseUrl (#572)
* Fix repo name used for URL instead of baseUrl

This applies to both the item being shown in the screen as well as the
"copy to clipboard" button. Before, copying a repo url would return
"The Repo Name/index.json.min". This PR fixes that.

* Correct Misunderstanding

Passing the whole ExtensionRepo data class through now, using the name
for display purposes and the baseUrl for copying the URL.

(cherry picked from commit da20d00481f112802aade5d63fc1eca15c5496ba)
2024-04-26 11:35:15 +07:00
Maddie Witman
7aefe011fa
Migrated from Accompanist Webview to KevinZou WebView (#569)
* Migrated from Accompanist Webview to KevinZou WebView to preempt deprecation

* Removed old webview from version library

(cherry picked from commit ba9cfd867c028551c0b0740922c5130b14455c9f)
2024-04-26 11:35:14 +07:00
Maddie Witman
93f9bc02d0
Grab extension repo detail from repo.json and include in DB (#506)
* WIP Extension Repo DB Support

* Wired in to extension screen, browse settings screen

* Detekt changes

* Ui tweaks and open in browser

* Migrate ExtensionRepos on Update

* Migration Cleanup

* Slight cleanup / error handling

* Update ExtensionRepo from Repo.json during extension search.
Added Manual refresh in extension repos page.

* Split repo fetching into separate API module, major refactor work

* Removed development strings

* Moved migration to #3

* Fixed rebase

* Detekt changes

* Added Replace Repository Dialog

* Cleanup, removed platform specific code, PR comments

* Removed extra function, reverted small change

* Detekt cleanup

* Apply suggestions from code review

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

* Fixed error introduced in cleanup

* Tweak for multiline when

* Moved getCount() to flow

* changed getCount to non-suspend, used property delegation

* Apply suggestions from code review

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

* Fixed formatting with updated comment string

* Big wave of PR comments, renaming/other tweaks

* onOpenWebsite changes

* onOpenWebsite changes

* trying to make single line

* Renamed ExtensionRepoApi.kt to ExtensionRepoService.kt

---------

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

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/Migrations.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	data/src/main/sqldelight/tachiyomi/migrations/3.sqm

# Conflicts:
#	app/src/main/java/eu/kanade/domain/extension/interactor/CreateExtensionRepo.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionApi.kt
2024-04-26 11:35:14 +07:00
renovate[bot]
bc4ee3af78
fix(deps): update aboutlib.version to v11 (major) (#473)
* fix(deps): update aboutlib.version to v11

* 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 e75488f5d98fb600408d065d1c5060520a8921a4)

# Conflicts:
#	gradle/libs.versions.toml
2024-04-26 11:35:14 +07:00
Maddie Witman
a3fa240253
Rework Duplicate Dialog and Allow Migration (#492)
* (Mostly) Working Manga screen migration via duplicate dialog

* Fully working migrate from Browse Search

* Small tweaks for Antsy

* Update app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceScreenModel.kt

* Update app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreen.kt

---------

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

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchScreen.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceScreen.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceScreenModel.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreen.kt

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/manga/DuplicateMangaDialog.kt
#	app/src/main/java/exh/md/follows/MangaDexFollowsScreen.kt
2024-04-26 11:35:14 +07:00
FooIbar
085af9793f
Fix webtoon last visible item position calculation (#562)
Covers the case when image height > screen height.

(cherry picked from commit 34930920a50be25ca05024200bf871512962e3d0)
2024-04-26 11:35:14 +07:00
FooIbar
c8217051b9
Fix recycled item's height being 0 in webtoon mode (#563)
Which will prevent the new image from being decoded until it's visible.

(cherry picked from commit ef6cad58fe0eeb7bfec7e8df33ada87946fa85d3)
2024-04-26 11:35:14 +07:00
AntsyLich
af5dcb6eeb
Address detekt issues
(cherry picked from commit 7e9340aa7f1021eabb4ae01eb0f4cbdfb6cc0589)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2024-04-26 11:35:14 +07:00
w
a43e5355b7
Update image-decoder, color management (#523)
* Update image-decoder, color management

* move display profile pref

* remove true color pref

* Move Display Profile settings to a new section

* Partially revert "remove true color pref"

This partially reverts commit e1a75816950e100936699279e1618adb2fa341aa.

* Tweak label

---------

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

# Conflicts:
#	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/ui/reader/ReaderActivity.kt
#	gradle/libs.versions.toml
2024-04-26 11:35:14 +07:00
MajorTanya
4a715c2ff5
Switch to seconds for DATE_MODIFIED of saved pages (#552)
While most Android skins are seemingly able to handle the millisecond
format, the documentation technically specifies seconds. This seems to
be causing issues on Samsung devices using the Samsung Gallery app,
which renders the millisecond timestamps as if they were second ones,
causing the dates to be set at some point in the year 56189.

This change should fix that issue on Samsung devices and have no real
impact on the rest.

(cherry picked from commit 0ea0138a73466af3d371a48e344753844e9bc3d8)
2024-04-26 11:35:14 +07:00
Jobobby04
ed7792b4ee
Fix sync stalled 2024-04-26 11:35:14 +07:00
Cuong M. Tran
7e4fba9bfe
Bulk-selection: Fix warning in BrowseSource 2024-04-26 02:17:29 +07:00
Cuong Tran
8888bfec9d
detekt: cleanup code
# Conflicts:
#	app/src/main/java/eu/kanade/presentation/browse/FeedScreen.kt
2024-04-26 02:05:02 +07:00
Cuong Tran
3ea1738838
reuse method to add/remove single manga 2024-04-26 01:48:48 +07:00
Cuong Tran
56cabe3c22
reuse bulkSelectionButton as AppBar.Action 2024-04-26 01:48:48 +07:00
Cuong Tran
722ebe757e
reuse Dialog composer 2024-04-26 01:48:48 +07:00
Cuong Tran
55226e3016
fix detekt 2024-04-26 01:48:48 +07:00
Cuong Tran
cd016ab29e
fix: won’t show dialog if skip all then selection list is empty 2024-04-26 01:48:48 +07:00
Cuong Tran
89a5f2e702
no need using builder to create AppBarAction 2024-04-26 01:48:48 +07:00
Cuong M. Tran
a7c6232a50
add BulkSelection to the rest of Migrate, MangaDex… 2024-04-26 01:48:48 +07:00
Cuong M. Tran
df229af0eb
migrate the rest to BulkSelectionScreenModel 2024-04-26 01:48:48 +07:00
Cuong M. Tran
cc5b6a1d5f
separate BulkSelection into standalone BulkFavoriteScreenModel 2024-04-26 01:48:48 +07:00
Cuong M. Tran
42022bf661
improve: toggle selection mode when last item is unselected 2024-04-26 01:48:48 +07:00
Cuong M. Tran
0ad2680b45
renovate code 2024-04-26 01:48:48 +07:00
Cuong M. Tran
3bc673ae17
Feat: allow long click to favorite on GlobalSearch 2024-04-26 01:48:48 +07:00
Cuong M. Tran
c30a8873a2
Bulk favorite for GlobalSearchScreen & MigrateSearchScreen 2024-04-26 01:48:48 +07:00
Cuong M. Tran
8d46ab8fc2
renovate: move SelectionToolbar to its own component 2024-04-26 01:48:48 +07:00
Cuong M. Tran
2df7f13e4e
Fix: Won’t try call favorite if none selected 2024-04-26 01:48:48 +07:00
Cuong M. Tran
a617528fda
Allow/Skip one by one 2024-04-26 01:48:48 +07:00
Cuong M. Tran
83910501b7
Allow skip duplicates 2024-04-26 01:48:48 +07:00
Cuong M. Tran
b64c7f30c0
Bulk selection mode for BrowseSourceScreen 2024-04-26 01:48:48 +07:00
Cuong M. Tran
93fb56b771
rename 2024-04-26 01:48:47 +07:00
Cuong M. Tran
0da6b78d74
Bulk selection for SourceFeedScreen 2024-04-26 01:48:47 +07:00
Cuong M. Tran
46ad83a79b
Use topBar action to add favorite instead of bottomBar
some minor name changes
2024-04-26 01:48:47 +07:00
Cuong M. Tran
8ed81b91ba
Allow bulk-favoite default category 2024-04-26 01:48:47 +07:00
Cuong M. Tran
466f2b0c77
Hide BottomNav when in selection mode 2024-04-26 01:48:47 +07:00
Cuong M. Tran
e3e2141282
Selection:
* Clear selection after set Favorite
* Keep selection when editing categories
2024-04-26 01:48:47 +07:00