Commit graph

8087 commits

Author SHA1 Message Date
AntsyLich
335f0956b4
Remove detekt (mihonapp/mihon#1130)
Annoying. More annoying in this project.

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

* Refactor archive support with libarchive

* Revert string resource changs

* Only mark archive formats as supported

Comic book archives should not be compressed.

* Fixup

* Remove epub from archive format list

* Move to mihon package

* Format

* Cleanup

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

* handle incorrect passwords

* lint

* fixed broken encryption detection + small tweaks

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

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

* detekt

* lint: Make detekt happy

---------

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

(cherry picked from commit e620665dda9eb5cc39f09e6087ea4f60a3cbe150)

* fixed ArchiveReaderMode CACHE_TO_DISK

* Added some missing SY --> comments

---------

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

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

* add flags to Extensions Filter

* add flags to Sources & Extensions screen

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

* Change language icon for local source from Folder to Globe

* adjust size & padding for icon & badge

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

* new

* Revert "new"

This reverts commit f3230fb879fb35dd90d0d321850e07ceedc37894.

* everything done

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

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

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

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

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

---------

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

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

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

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

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

* Add 'Copy To Clipboard' to tracker item menu

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

* Add 'Copy link' to locales.

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

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

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

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

---------

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

(cherry picked from commit 97c81fadb426d71ac99c9443ab0e89f4089046ef)
2024-08-12 22:35:45 +08:00
Cuong-Tran
84e7e4f385
change domain from kitsu.io to kitsu.app 2024-08-12 00:19:43 +08:00
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