Commit graph

285 commits

Author SHA1 Message Date
AntsyLich
62507fc3cd
Add spotless (with ktlint) (mihonapp/mihon#1136)
(cherry picked from commit 5ae8095ef1ed2ae9f98486f9148e933c77a28692)

# Conflicts:
#	.github/workflows/build_pull_request.yml
#	.github/workflows/build_push.yml
2024-08-26 00:08:37 +07:00
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
renovate[bot]
6dc3e31f06
fix(deps): update dependency org.apache.commons:commons-compress to v1.27.1 (#270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:08:37 +07:00
renovate[bot]
4dc3f7cb83
fix(deps): update dependency org.conscrypt:conscrypt-android to v2.5.3 (#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 09:54:07 +07:00
renovate[bot]
07a7b76aa4
fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.11.0 (#253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 14:06:14 +07:00
renovate[bot]
56691d1974
fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha10 (#240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 13:12:38 +07:00
renovate[bot]
dd258efc59
fix(deps): update dependency org.apache.commons:commons-compress to v1.27.0 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 13:12:12 +07:00
renovate[bot]
801a1e9e0e fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha09 2024-07-26 23:27:06 +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
renovate[bot]
f2865aa59a fix(deps): update dependency dev.chrisbanes.haze:haze to v0.7.3 2024-07-22 13:54:29 +07:00
renovate[bot]
6aecc8eac5 fix(deps): update dependency org.jsoup:jsoup to v1.18.1 2024-07-22 13:42:13 +07:00
renovate[bot]
07cccb2e7b fix(deps): update dependency io.mockk:mockk to v1.13.12 2024-07-15 23:49:53 +07:00
renovate[bot]
9dcaf02dff fix(deps): update dependency io.github.fornewid:material-motion-compose-core to v2.0.1 2024-07-07 10:42:48 +07:00
renovate[bot]
f79b99cc20 fix(deps): update aboutlib.version to v11.2.2 2024-07-07 10:21:37 +07:00
renovate[bot]
c92f7ba656 fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.10.3 2024-07-07 09:44:38 +07:00
renovate[bot]
1b6e0c0264 fix(deps): update dependency com.google.firebase:firebase-analytics to v22.0.2 2024-07-07 08:26:21 +07:00
renovate[bot]
a9c0c77b96
fix(deps): update moko to v0.24.1 (#78)
* fix(deps): update moko to v0.24.1

* fix(deps): update moko to v0.24.1 (mihonapp/mihon#933)

---------

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 f58a05e91828a69c01d49d629e5bfa9ec7ae3ffc)

* Fix build for i18n-kmk & i18n-sy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-07-07 07:40:54 +07:00
Jobobby04
8c3d99889c
Move some libs to sylibs
(cherry picked from commit f929a4bc26641fa43afcaabfec07cd76cff6f483)

# Conflicts:
#	gradle/libs.versions.toml
#	gradle/sy.versions.toml
2024-07-05 15:22:54 +07:00
WerctFourth
25832165f1
Update image-decoder revision (mihonapp/mihon#971)
(cherry picked from commit bff6183cf3ef400d8ddcdccf7180e4139816cc09)

# Conflicts:
#	gradle/libs.versions.toml
2024-07-05 14:47:31 +07:00
Cuong-Tran
f1e0c51e6c
better background for full cover view
close #69
2024-06-22 21:41:17 +07:00
renovate[bot]
7cd92b438c
fix(deps): update dependency com.google.oauth-client:google-oauth-client to v1.36.0 (#21)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 23:16:42 +07:00
renovate[bot]
0878559291
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.4.4 (#22)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 19:10:10 +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
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
renovate[bot]
4e5436f526
fix(deps): update dependency io.github.fornewid:material-motion-compose-core to v2 (#77)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 00:04:02 +07:00
renovate[bot]
16031051e0
fix(deps): update dependency io.kotest:kotest-assertions-core to v5.9.1 (#75)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 00:04:02 +07:00
renovate[bot]
5f6d60a27c
fix(deps): update dependency io.github.fornewid:material-motion-compose-core to v1.2.1 (#61)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 00:04:02 +07:00
renovate[bot]
d67223751b
fix(deps): update dependency com.jakewharton.timber:timber to v5 (#58)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 17:40:37 +07:00
renovate[bot]
3c1bc8bc69
fix(deps): update dependency com.google.gms:google-services to v4.4.2 (#57)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 16:07:28 +07:00
renovate[bot]
4bd5abb7fd
fix(deps): update dependency com.google.firebase:firebase-analytics to v22.0.1 (#48)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 15:58:32 +07:00
renovate[bot]
30f037a744
fix(deps): update dependency org.apache.commons:commons-compress to v1.26.2 (#46)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cuong M. Tran <cuongtran.tm@gmail.com>
2024-06-04 15:04:15 +07:00
renovate[bot]
946fe89bbe
fix(deps): update dependency androidx.test.espresso:espresso-core to v3.6.0-rc01 (#43)
* fix(deps): update dependency com.github.tachiyomiorg:unifile to v1 (#27)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency androidx.test.espresso:espresso-core to v3.6.0-rc01

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:58:11 +07:00
renovate[bot]
277be123c6
fix(deps): update aboutlib.version to v11.2.1 (#45)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:48:21 +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 Tran
8dff9ea669
Add Timber logging 2024-05-27 01:49:53 +07:00
renovate[bot]
fc7b9ea48c
fix(deps): update dependency io.mockk:mockk to v1.13.11 (#803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 99b550ae0d9eaf530d644f7755162d9705c302f4)
2024-05-20 14:17:57 +07:00
renovate[bot]
8b5250825e
fix(deps): update dependency com.google.android.material:material to v1.12.0 (#754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 653d5d3e252ff2508b100b0f291fdcfaf2a98097)
2024-05-20 14:17:57 +07:00
renovate[bot]
3c6977e6f0
fix(deps): update dependency io.kotest:kotest-assertions-core to v5.9.0 (#774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit d3306e8cfe9e3e373a9fd688bdcd0d91fc5f4277)
2024-05-20 14:17:01 +07:00
Jobobby04
4ea7aad280
Update dependencies and cleanup
(cherry picked from commit 2d1240b27455fd781fece76173b5f35641df7cd1)
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
75c6ce7542
Address firebase ktx module deprecation
(cherry picked from commit 28dca3b7b818ad095008e7cd49ec07a82b0ebcad)

# Conflicts:
#	gradle/libs.versions.toml
(cherry picked from commit 712cd1493f4e567f8e5f6829155aad24e9c60cb6)
2024-05-19 02:52:52 +07:00
renovate[bot]
55ae65bacb
fix(deps): update leakcanary to v2.14 (#715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit fa6dba6cc76f0b08cbc9bf222b0e087f4fb16d76)

# Conflicts:
#	gradle/libs.versions.toml
(cherry picked from commit 49eacf51782e26b433459d2dc4d1162863f36545)
2024-05-19 02:52:52 +07:00
renovate[bot]
3bc46b331c
fix(deps): update aboutlib.version to v11.1.4 (#744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 6290cf222df922240575e2199459ab7b707d6ae2)

# Conflicts:
#	gradle/libs.versions.toml
(cherry picked from commit 08c4989aa38a7a267ecdb751501573798db2dadc)
2024-05-19 02:52:52 +07:00
w
cdf63046d5
Update subsampling-scale-image-view (#687)
Update libs.versions.toml

(cherry picked from commit 80461d883f7d6ca2203ae7455223ff49e8ef96ab)
(cherry picked from commit 65ed3c5ae674d44b630c9d92c98f5f007f9e7768)
2024-05-19 02:52:51 +07:00
renovate[bot]
c5b4011956
fix(deps): update dependency com.google.firebase:firebase-analytics-ktx to v21.6.2 (#656)
Update dependency com.google.firebase:firebase-analytics-ktx to v21.6.2

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit f080a4937e61d3dde5473876c34db8f16844e30c)

# Conflicts:
#	gradle/libs.versions.toml
(cherry picked from commit d551619d9d0399fec683a4c4bd320eec9b0aefad)
2024-05-19 02:52:51 +07:00
renovate[bot]
d9a4240970
Update aboutlib.version to v11.1.3 (#654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 4c43a0ef66e9c8a321fb745b860319aaa074c57f)

# Conflicts:
#	gradle/libs.versions.toml
(cherry picked from commit 06ad6c2e16c57794eb1223abfab6571e3c45014a)
2024-05-19 02:52:51 +07:00
renovate[bot]
17134d46bb
fix(deps): update sqldelight to v2.0.2 (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit d77f2f429d2603a5c2b805f2dc7255af41474cf8)
2024-04-26 11:35:15 +07:00
renovate[bot]
55686ede0c
fix(deps): update detekt to v1.23.6 (#595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 86fbd20665613cacb8d3c733aed9731792a07392)
2024-04-26 11:35:15 +07:00
renovate[bot]
ac00537c83
fix(deps): update aboutlib.version to v11.1.1 (#592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit f1660beafc8303ba8d7ebfd160029e869a077f69)

# Conflicts:
#	gradle/libs.versions.toml
2024-04-26 11:35:15 +07:00