Commit graph

9276 commits

Author SHA1 Message Date
Cuong-Tran
8781c0bc89
workflow delete merged PR branch only run on current repo 2024-08-26 00:08:38 +07:00
Dani
94acbb08d7
Add option to skip downloading duplicate read chapters (mihonapp/mihon#1125)
* Add query to get chapter count by manga and chapter number

* Add functions to get chapter count by manga and chapter number

* Only count read chapters

* Add interactor

* Savepoint

* Extract new chapter logic to separate function

* Update javadocs

* Add preference to toggle new functionality

* Add todo

* Add debug logcat

* Use string resource instead of hardcoding title

* Add temporary logcat for debugging

* Fix detekt issues

* Update javadocs

* Update download unread chapters preference

* Remove debug logcat calls

* Update javadocs

* Resolve issue where read chapters were still being downloaded during manual manga fetch

* Apply code review changes

* Apply code review changes

* Revert "Apply code review changes"

This reverts commit 1a2dce78acc66a7c529ce5b572bdaf94804b1a30.

* Revert "Apply code review changes"

This reverts commit ac2a77829313967ad39ce3cb0c0231083b9d640d.

* Group download chapter logic inside the interactor GetChaptersToDownload

* Update javadocs

* Apply code review

* Apply code review

* Apply code review

* Update CHANGELOG.md to include the new feature

* Run spotless

* Update domain/src/main/java/mihon/domain/chapter/interactor/FilterChaptersForDownload.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ca968f162ef7a61a9036b7ab9bea407a6334801d)
2024-08-26 00:08:38 +07:00
kana-shii
266f449614
Smart updates fix (#268)
* Allow check completed entries for update if un-tick option "Skip completed..."
* Always predict next-release date for all entries, even if it's completed.
2024-08-26 00:08:38 +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
kana-shii
2266447745
Custom themes (#269)
* Update SettingsAppearanceScreen.kt

* Update SettingsAppearanceScreen.kt

* fix spotless

* improve

- Put custom theme in front
- Set default color for custom theme
- Using pre-defined padding values
- Make the color picker scrollable for phone in landscape mode

* fixes and new name

* Update ThemeColorPickerWidget.kt
2024-08-26 00:08:38 +07:00
renovate[bot]
840829a127
chore(deps): update actions/checkout action to v4 (#285)
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
renovate[bot]
750d7f4022
chore(deps): pin actions/checkout action to f43a0e5 (#283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:08:38 +07:00
Tran M. Cuong
4ae222e247
fix delete_merged_branch (#282) 2024-08-26 00:08:38 +07:00
Cuong-Tran
be9dbc50ea
Allow sync Feeds & extensionRepoSettings 2024-08-26 00:08:38 +07:00
Cuong-Tran
87133eb571
Option to not backup Saved searches & Feeds 2024-08-26 00:08:38 +07:00
Weblate (bot)
982ffe94da
Translations update from Hosted Weblate (jobobby04/TachiyomiSY#1253)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/fil/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ja/
Translation: Mihon/TachiyomiSY

Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: akir45 <akkn0708@gmail.com>
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit 7f544f7163b3821df2c0f5717292a3bc911f2507)
2024-08-26 00:08:38 +07:00
kana-shii
ba73b0aeb3
Add option to update library each 6 hours (#278) 2024-08-26 00:08:38 +07:00
renovate[bot]
242b1ed9a3
fix(deps): update dependency androidx.benchmark:benchmark-macro-junit4 to v1.3.0 (#273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:08:38 +07:00
Cuong-Tran
ebcabc2492
script to auto delete merged branch 2024-08-26 00:08:38 +07:00
MajorTanya
bf87d24d6f
Add PR or commit refs to CHANGELOG.md (mihonapp/mihon#1117)
* [skip ci] Add PR or commit refs to CHANGELOG.md

* [skip ci] Update CHANGELOG.md

* [skip ci] Make usernames, PRs, hashes clickable

GFM autolinking for those is not applied to all Markdown documents.

* Change commit style

* [skip ci] Add ref to #1057

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit aac4d6e548910a2ed1c197ca5d20b49e375aa063)
2024-08-26 00:08:38 +07:00
Hosted Weblate
3507094271
Translations update from Hosted Weblate
Co-authored-by: Ahmed seif al-nasr <ahmdsyfalnsr2@gmail.com>
Co-authored-by: Anas KANJO <anas.kanjo2022@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: Frosted <cinardogan110@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Lyfja <45209212+lyfja@users.noreply.github.com>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: gekka <1778962971@qq.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ar/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/de/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/es/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/fil/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/id/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ja/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/sv/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/zh_Hant/
Translation: Mihon/Mihon
Translation: Mihon/Mihon Plurals
(cherry picked from commit 4387ae5ff3131dd4aaaacd75fa6e82e7b322d474)
2024-08-26 00:08:37 +07:00
Cuong-Tran
48d874342e
Address more spotless lint errors from KMK & SY 2024-08-26 00:08:37 +07:00
AntsyLich
e7ca892f65
Address spotless lint errors (mihonapp/mihon#1138)
* Add spotless (with ktlint)

* Run spotlessApply

* screaming case screaming case screaming case

* Update PagerViewerAdapter.kt

* Update ReaderTransitionView.kt

(cherry picked from commit d6252ab7703d52ecf9f43de3ee36fd63e665a31f)
2024-08-26 00:08:37 +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
7aa20b60df
Generate locales_config.xml in build dir
(cherry picked from commit ac41bffdc97b4cfed923de6b9e8e01cccf3eb6eb)
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
Weblate (bot)
20b02f0894
Translations update from Hosted Weblate (jobobby04/TachiyomiSY#1247)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/ar/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ar/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/fil/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/id/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hant/
Translation: Mihon/TachiyomiSY
Translation: Mihon/TachiyomiSY Plurals

Co-authored-by: Ahmed seif al-nasr <ahmdsyfalnsr2@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: Howard Wu <HowardWu20@outlook.com>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: TawfikSharaf <tawfikahmed132.wa@gmail.com>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: Tim Schneeberger <thebone.main@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
(cherry picked from commit 0f0f4cf4a9b3fc77dea574848855768992fc9a58)
2024-08-26 00:08:37 +07:00
akir45
b60c5e418c
Add japanese Translation (jobobby04/TachiyomiSY#1248)
* Add plurals.xml

* Add string.xml

(cherry picked from commit 426ef651026a3762a7975bb4c24730d5e249e812)
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
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]
1a15d5ca62
fix(deps): update dependency net.zetetic:sqlcipher-android to v4.6.1 (#271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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
renovate[bot]
49e1759a05
fix(deps): update dependency com.google.apis:google-api-services-drive to v3-rev20240809-2.0.0 (#258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 09:54:34 +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
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
0fbb829a2d
add pull_request action for forked repo 2024-08-16 13:47:13 +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]
15555ecabf
chore(deps): update dependency gradle to v8.10 (#254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 12:50:41 +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
AntsyLich
93f228c8e1
Remove WebViewClientCompat
(cherry picked from commit f4348df8709529b7b2319485fc8eb54c6e8173c7)
2024-08-13 22:44:52 +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
AntsyLich
55d6887379
Create CHANGELOG.md
(cherry picked from commit b404a71e26526844600a9918eb796219667be498)
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
Weblate (bot)
a8116577a0
Translations update from Hosted Weblate (jobobby04/TachiyomiSY#1228)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/ar/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy-plurals/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ar/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hant/
Translation: Mihon/TachiyomiSY
Translation: Mihon/TachiyomiSY Plurals

Co-authored-by: Ahmed seif al-nasr <ahmdsyfalnsr2@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: Howard Wu <HowardWu20@outlook.com>
Co-authored-by: TawfikSharaf <tawfikahmed132.wa@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
(cherry picked from commit 64a54f55b3d1f4724922acce7e7201cc61091188)
2024-08-12 23:55:27 +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