Commit graph

7672 commits

Author SHA1 Message Date
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
renovate[bot]
893b5ab9b5
fix(deps): Update io.mockk:mockk to v1.13.11 (#1632) 2024-06-30 18:14:30 +02:00
renovate[bot]
259fd8047a
fix(deps): Update io.github.fornewid:material-motion-compose-core to v1.2.1 (#1631) 2024-06-30 18:14:09 +02:00
renovate[bot]
18fa46d2f1
fix(deps): Update androidx.test.uiautomator:uiautomator to v2.3.0 (#1630) 2024-06-30 18:13:49 +02:00
renovate[bot]
d3c1db8029
fix(deps): Update androidx.test.ext:junit-ktx to v1.2.1 (#1629) 2024-06-30 18:13:26 +02:00
renovate[bot]
68ce36ca86
fix(deps): Update okhttp monorepo to v5.0.0-alpha.14 (#1635)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-06-30 18:12:52 +02:00
perokhe
2a0f185186
fix: Advanced player settings crash in Android 10 and lower (#1627) 2024-06-30 17:06:55 +02:00
renovate[bot]
192928ce06
fix(deps): Update androidx.benchmark:benchmark-macro-junit4 to v1.2.4 (#1624) 2024-06-29 18:45:31 +02:00
renovate[bot]
ff8cef134c
fix(deps): Update androidx.test.espresso:espresso-core to v3.6.1 (#1625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 20:24:42 +02:00
jmir1
9baf6adce5
chore: Merge branch 'mihonmerge' 2024-06-20 11:41:44 +02:00
Quickdev
495b68bf84
refactor(player): Implement more enums (#1609) 2024-06-20 11:32:18 +02:00
Secozzi
631c206822
lint(lint): lint 2024-06-12 22:08:13 +02:00