Commit graph

7683 commits

Author SHA1 Message Date
Secozzi
ccc66a8a8c
fix(deps): update aboutlib.version to v11 (major)
* fix(deps): update aboutlib.version to v11

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 14:50:50 +02:00
Secozzi
a21c83aca8
chore(deps): update kotlin
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 14:47:20 +02:00
Secozzi
caf269a787
Rework Duplicate Dialog and Allow Migration
* (Mostly) Working Manga screen migration via duplicate dialog

* Fully working migrate from Browse Search

* Small tweaks for Antsy

* Update app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceScreenModel.kt

* Update app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreen.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-07-02 14:39:20 +02:00
Secozzi
1e75c9ca8c
Fix webtoon last visible item position calculation
Covers the case when image height > screen height.

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-02 14:08:03 +02:00
Secozzi
e3c66826ab
chore(deps): update actions/dependency-review-action action to v4.2.3
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 14:05:52 +02:00
Secozzi
6b49a5d41a
Fix recycled item's height being 0 in webtoon mode (#563)
Which will prevent the new image from being decoded until it's visible.

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-02 14:05:04 +02:00
Secozzi
8378c5a400
Address detekt issues
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 14:03:25 +02:00
Secozzi
6d1717788b
Update image-decoder, color management
* Update image-decoder, color management

* move display profile pref

* remove true color pref

* Move Display Profile settings to a new section

* Partially revert "remove true color pref"

This partially reverts commit e1a7581.

* Tweak label

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: w <19401176+wwww-wwww@users.noreply.github.com>
2024-07-02 14:01:47 +02:00
Secozzi
e016c0e393
Switch to seconds for DATE_MODIFIED of saved pages
While most Android skins are seemingly able to handle the millisecond
format, the documentation technically specifies seconds. This seems to
be causing issues on Samsung devices using the Samsung Gallery app,
which renders the millisecond timestamps as if they were second ones,
causing the dates to be set at some point in the year 56189.

This change should fix that issue on Samsung devices and have no real
impact on the rest.

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-07-02 13:46:50 +02:00
Secozzi
3c9cfda1ed
Fix regression from coil3 migration
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2024-07-02 13:45:22 +02:00
Secozzi
ea87921981
Check for dependency update every Friday
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 13:41:15 +02:00
Secozzi
81a5335783
Use SHA for GitHub actions version
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 13:40:22 +02:00
Secozzi
e9f91522a8
Disable SerialVersionUIDInSerializableClass detekt rule
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 13:29:28 +02:00
Secozzi
fd5d568a10
Fix multiple issues regarding sources loading too late
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 13:19:38 +02:00
Secozzi
94730b153e
Fix crash in track date selection dialog
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 12:44:54 +02:00
Weblate (bot)
f54a1a417c
Translations update from Hosted Weblate (#445)
* Translated using Weblate (Esperanto)

Currently translated at 65.1% (517 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/eo/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/es/

* Translated using Weblate (Croatian)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/hr/

* Translated using Weblate (Serbian)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/sr/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/zh_Hans/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/zh_Hant/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/es/

* Translated using Weblate (Croatian)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/hr/

* Translated using Weblate (Serbian)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/sr/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/zh_Hans/

* Translated using Weblate (Filipino)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/fil/

* Translated using Weblate (Filipino)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/fil/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/zh_Hant/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/hu/

* Translated using Weblate (Nepali)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ne/

* Translated using Weblate (Polish)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/pl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/pl/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/hu/

* Translated using Weblate (Russian)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ru/

* Translated using Weblate (Russian)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/ru/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/id/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/ja/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (18 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/id/

* Translated using Weblate (Dutch)

Currently translated at 94.2% (748 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/nl/

* Translated using Weblate (Dutch)

Currently translated at 94.4% (17 of 18 strings)

Translation: Mihon/Mihon Plurals
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon-plurals/nl/

* Translated using Weblate (German)

Currently translated at 100.0% (794 of 794 strings)

Translation: Mihon/Mihon
Translate-URL: https://hosted.weblate.org/projects/mihon/mihon/de/

---------

Co-authored-by: Radoŝ Porka <animatorzPolski@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: David Katrinka <davidkatrinka1995@gmail.com>
Co-authored-by: gekka <1778962971@qq.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: B4LiN7 <B4LiN7@users.noreply.hosted.weblate.org>
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: Tim Bolhoeve <bolhoevetim@gmail.com>
Co-authored-by: Lyfja <45209212+lyfja@users.noreply.github.com>

(cherry picked from commit edd7d0522c305a8aec8ab524214d3a26106dac31)
2024-07-02 00:14:27 +02:00
Secozzi
c9161b32c7
feat: db changes to accommodate new cross device syncing logic.
* feat: db changes to accommodate new syncing logic.

Using timestamp to sync is a bit skewed due to system clock etc and therefore there was a lot of issues with it such as removing a manga that shouldn't have been removed. Marking chapters as unread even though it was marked as a read. Hopefully by using versioning system it should eliminate those issues.

* chore: add new line.

* chore: remove isSyncing from Chapter/Manga model.

* chore: remove isSyncing leftover.

* chore: remove isSyncing.

* refactor: remove isSync guard.

Just use it directly to 1 now since we don't have the isSyncing field in Manga or Chapter.

* Lint and stuff

* Add missing ,

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: KaiserBh <41852205+kaiserbh@users.noreply.github.com>
2024-07-02 00:10:22 +02:00
Secozzi
c42c7ffd28
Fix shizuku being buggy for multi user setups
Fetch the current userid separately because shizuku always runs as the main user and would otherwise install and update for the main user

* Update app/src/main/java/eu/kanade/tachiyomi/extension/installer/ShizukuInstaller.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Redjard <47570415+Redjard@users.noreply.github.com>
2024-07-01 23:19:44 +02:00
Secozzi
7778a2e3f9
Fix dual page split for local source
`InputStream.available()` is implementation-dependent, should never assume it will return the total number of bytes in the stream.

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-01 22:38:36 +02:00
Secozzi
2b469339de
Fix ChapterDownloadIndicator
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:35:14 +02:00
Secozzi
5e5cb55e17
Small cleanup
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:33:40 +02:00
Secozzi
1d4f5f615e
Revert changes to gradle.properties
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:27:57 +02:00
Secozzi
d0a7a0aa9e
detekt my beloved
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:27:08 +02:00
Secozzi
58fe2c8d25
Update dependency me.saket.swipe:swipe to v1.3.0
* Update dependency me.saket.swipe:swipe to v1.3.0

* Update MangaChapterListItem.kt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2024-07-01 21:56:51 +02:00
Secozzi
99cf0cd4d5
Switch to Coil3
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 21:29:11 +02:00
Secozzi
0cf34a4759
Remove custom Pager
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 20:17:49 +02:00
Secozzi
e4a97eeef9
ChapterDownloadIndicator: Remove composed modifier usage
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 20:01:32 +02:00
Secozzi
d52d93cf33
Upgrade Compose
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 19:52:56 +02:00
Secozzi
bf8b570c7a
Address ZipFile deprecation warning
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 19:40:57 +02:00
Secozzi
962b60a1eb
Made some changes to ComicInfo metadata
* Made some changes to ComicInfo metadata

The web field now contains a " " separated list of source and tracker urls.
The translator field will now use the source name if the scanlator field is empty.

* lint

* use already existing source instance

* made translator not nullable

* implemented requested changes

created new Mihon exclusive ComicInfo source field  and populated it with SourceName

reverted previous changes to translator field

* Update core-metadata/src/main/java/tachiyomi/core/metadata/comicinfo/ComicInfo.kt

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

* Update app/src/main/java/eu/kanade/domain/manga/model/Manga.kt

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

* Update app/src/main/java/eu/kanade/domain/manga/model/Manga.kt

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

* Update app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt

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

* Update app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Shamicen <84282253+Shamicen@users.noreply.github.com>
2024-07-01 19:33:43 +02:00
jmir1
5045fa18ce
fix(proguard): Use a newer proguard release 2024-07-01 18:49:22 +02:00
jmir1
a7644c2681
fix(proguard): Don't optimize anything 2024-07-01 18:16:41 +02:00
jmir1
a8cd7233df
fix(deps): Update detekt dependencies 2024-07-01 17:38:19 +02:00
jmir1
98d252866e
fix(proguard): Don't optimize kotlin classes 2024-07-01 17:22:30 +02:00
Weblate (bot)
ebcaf0f33e
chore(i18n): Translations update from Hosted Weblate (#1534)
Co-authored-by: Lolen10 <leonmichler1000@gmail.com>
Co-authored-by: gekka <1778962971@qq.com>
Co-authored-by: kek w <verl4ssener@gmail.com>
Co-authored-by: ID J <tabby4442@gmail.com>
Co-authored-by: LEGEND OG (LEGEND) <jsjdjsjsjjsjsjjsjd@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Renn <mcperenan134@gmail.com>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: N. Hao <nguyenviethao2002@gmail.com>
Co-authored-by: Rick <rickeits153@gmail.com>
Co-authored-by: Mark Cielo <mark31yr2009@gmail.com>
Co-authored-by: Efe Devirgen <efedevirgen@gmail.com>
Co-authored-by: YOGIAOGI <wiatromen05@gmail.com>
Co-authored-by: Asmodeus <colligare1Asmodeum@gmail.com>
Co-authored-by: Itsmechinmoy <gituborah280@gmail.com>
Co-authored-by: Matt <contact.mattdev@gmail.com>
Co-authored-by: Vitalii Panyk <likenistop4ik@gmail.com>
Co-authored-by: Marek Fura <marekfura80@gmail.com>
Co-authored-by: hugoalh <hugoalh@users.noreply.hosted.weblate.org>
Co-authored-by: Akhil Raj <akhilakae07@gmail.com>
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-07-01 14:06:30 +02:00
Secozzi
affe6512ee
feat: Add detekt in the project (#1651)
Co-authored-by: Theo L.M. <9647399+theolm@users.noreply.github.com>
2024-07-01 13:55:45 +02:00
jmir1
1b80548686
fix(proguard): Don't optimize string calsses 2024-07-01 13:45:15 +02:00
jmir1
53686808b9
chore: Update version name 2024-06-30 23:34:05 +02:00
jmir1
fb9f463316
fix(player): Check for phone's maximum brightness value 2024-06-30 23:32:45 +02:00
jmir1
39ba4324e2
fix(datasaver): Escape image URL in data saver requests 2024-06-30 23:11:28 +02:00
jmir1
02c5672d29
fix(player): Tweak some subtitle options 2024-06-30 23:06:35 +02:00
renovate[bot]
b563d1c0c5
fix(deps): Update kotlinx-serialization and kotlinx-coroutines (#1646) 2024-06-30 21:39:41 +02:00
jmir1
2a49f04db0
chore: Delete useless workflow 2024-06-30 21:35:45 +02:00
jmir1
a423b560eb
fix(deps) Update a lot of dependencies 2024-06-30 21:29:59 +02:00
jmir1
72a95081fa
fix(deps): Fix incompatible compose library versions 2024-06-30 19:18:15 +02:00
renovate[bot]
49405fdeb2
fix(deps): Update androidx.activity:activity-compose to v1.9.0 (#1638) 2024-06-30 18:16:14 +02:00
renovate[bot]
56d7adcbf3
chore(deps): Update gradle to v8.8 (#1637) 2024-06-30 18:15:51 +02:00
renovate[bot]
20a3dca0ac
fix(deps): Update sqldelight to v2.0.2 (#1636) 2024-06-30 18:15:29 +02:00
renovate[bot]
821b3ac39c
fix(deps): Update org.junit.jupiter:junit-jupiter to v5.10.3 (#1634) 2024-06-30 18:15:11 +02:00
renovate[bot]
5c958466af
fix(deps): Update org.apache.commons:commons-compress to v1.26.2 (#1633) 2024-06-30 18:14:54 +02:00