Commit graph

8074 commits

Author SHA1 Message Date
Tim Schneeberger
8fe7dcb167
feat(migration): add option to only show entries with new chapters (jobobby04/TachiyomiSY#1238)
(cherry picked from commit f7202e67cc3452676f5e2532015741811cd505bb)
2024-08-12 23:55:23 +08:00
Catting
a827601186
Add an "open in browser" button to reader menu (mihonapp/mihon#1110)
* Add an "open in browser" button to reader menu

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

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

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

---------

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

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

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

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

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

* Add 'Copy To Clipboard' to tracker item menu

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

* Add 'Copy link' to locales.

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

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

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

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

---------

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

(cherry picked from commit 97c81fadb426d71ac99c9443ab0e89f4089046ef)
2024-08-12 22:35:45 +08:00
Cuong-Tran
84e7e4f385
change domain from kitsu.io to kitsu.app 2024-08-12 00:19:43 +08:00
Cuong-Tran
9e79b8d181
Merge tag 'v1.11.2' 2024-08-09 02:37:34 +07:00
Cuong-Tran
911bae08fc
Bump version 1.11.2 & update changelog 2024-08-09 02:36:08 +07: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
Cuong-Tran
f5394facf1
update changelog_preview 2024-08-06 12:47:38 +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
Cuong-Tran
2ee0fd4415 fix: dialog's button wrong order
in manga's Edit Info's Add tag
2024-08-04 03:03:06 +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
Cuong-Tran
2cc174ae02
update changelog 2024-07-30 18:29:04 +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
Cuong Tran
82e4aed881 Fix MigratorTest after update to Kotlin 2.0.0 2024-07-27 02:13:27 +07:00
renovate[bot]
a0971e36a9 chore(deps): update kotlin and compose compiler to v2 (major) (#26, #82, mihonapp/mihon#819)
* chore(deps): update kotlin and compose compiler to v2

* Update .gitignore

* 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 46003ec25139319079abc9fde89b3afd344a1a11)
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
ff057f1c01
Update changelog_preview 2024-07-22 22:56:18 +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