Commit graph

295 commits

Author SHA1 Message Date
AntsyLich
eaea06aee9
Use uy.kohesive.injekt instead of com.github.inorichi.injekt (mihonapp/mihon#1205)
(cherry picked from commit c4f235ae07c2b510577a86a1ec8ca894742f5fc5)
2024-09-08 02:06:32 +07:00
Cuong-Tran
ffd5b4ebc1
Fix crashlytics while using custom global exception handler (#338)
* Add crashlytics to standard builds

(cherry picked from commit 3c611b95fb79e5ac972019b76c7b24f46a3087fd)

* Testing crashlytics

* working

* cleanup

* Revert "Auxiliary commit to revert individual files from 84232c7fe229bf557680a787fa02c055ca18dc66"

This reverts commit 2c9b6277b276f108a25e90e6be9a227440136063.

* Revert "Auxiliary commit to revert individual files from cf3f5fe1586f40fabf5b75a649ab332282608a08"

This reverts commit 708f6b1d3803374b0440d163560a682f0cfc618e.

* Only send crashlytics on Standard & Release/Preview build

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-09-05 15:29:28 +07:00
renovate[bot]
e552b3fff5
fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2.1.2 (#333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 19:28:08 +07:00
AntsyLich
6b14769331
Migrate some classpaths to gradle plugins
(cherry picked from commit fc1c804bfda1d76c0399bbb6214e75b3def951cc)

# Conflicts:
#	app/build.gradle.kts
#	build.gradle.kts
#	i18n/build.gradle.kts
2024-09-04 19:07:51 +07:00
AntsyLich
6d78d96850
Add stable marker to Manga data class
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 4ee31bfea5b6908e7131e2c46e4cb46155005abf)
2024-09-04 16:27:35 +07:00
renovate[bot]
f4b8fdc59e
fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2.1.1 (#312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 00:15:41 +07:00
renovate[bot]
40ef2cfc39
fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2.1.0 (#300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 07:43:04 +07:00
renovate[bot]
7d5dfdf78b
fix(deps): update moko to v0.24.2 (#281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:08:38 +07:00
renovate[bot]
3e6514b732
fix(deps): update aboutlib.version to v11.2.3 (#284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:08:38 +07:00
renovate[bot]
579b9cc350
fix(deps): update dependency com.google.firebase:firebase-analytics to v22.1.0 (#279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:08:38 +07:00
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