Commit graph

7659 commits

Author SHA1 Message Date
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
Secozzi
e3200933e0
lint(lint): lint 2024-06-12 11:31:45 +02:00
Secozzi
960538f870
lint(lint): lint 2024-06-12 11:25:56 +02:00
Secozzi
69ca0ee524
revert adding detekt 2024-06-12 11:14:04 +02:00
Secozzi
c5cd9947fd
Revert "Tweak detekt config"
This reverts commit d481da4668.
2024-06-12 11:12:16 +02:00
Quickdev
e1087abfb6
fix(pip): PiP not broadcasting intent in A14+ (#1603) 2024-06-09 07:40:38 +02:00
Secozzi
a23581d227
Update dependency com.squareup.okio:okio to v3.8.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 01:20:02 +02:00
Secozzi
f58624aa79
Update dependency org.apache.commons:commons-compress to v1.26.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 01:19:35 +02:00
Secozzi
09966bad71
Allow disabling reader's zoom out
* Allow disabling reader's zoom out (#62)

* Renamed disable zoom out pref and string

* Zoom to default rate if the scale is inferior

* Fixed null value check and formatting

* Fixed detekt

Co-authored-by: Splintor <55398298+Splintorien@users.noreply.github.com>
2024-06-06 01:17:57 +02:00
Weblate (bot)
1b7080f5b4
Translations update from Hosted Weblate (#301)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Chuvash)

Currently translated at 75.7% (601 of 793 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Chuvash)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 97.3% (772 of 793 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 94.1% (16 of 17 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Romanian)

Currently translated at 99.3% (788 of 793 strings)

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

* Translated using Weblate (Romanian)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Nepali)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (793 of 793 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 62.0% (492 of 793 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (17 of 17 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 63.6% (505 of 793 strings)

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

---------

Co-authored-by: bapeey <90949336+bapeey@users.noreply.github.com>
Co-authored-by: Eji-san <ejierubani@gmail.com>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: Radoŝ Porka <animatorzPolski@gmail.com>
Co-authored-by: Deniz <denizgezgin365@gmail.com>
Co-authored-by: Uzuki Shimamura <hzy980512@126.com>
Co-authored-by: sebastians17 <sebastians117.ss@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
Co-authored-by: B4LiN7 <B4LiN7@users.noreply.hosted.weblate.org>
Co-authored-by: Saft Octavian <saftoctavian@gmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Naga <yz2000.pro@gmail.com>

(cherry picked from commit 7edecae57f77ece7a5a3b457620c61e225fdc906)
2024-06-06 01:10:52 +02:00
Secozzi
22712d3b83
Fix some issues from 7ff95e2
* Fixed extra header introduced in 7ff95e2

* Removed parentheses to make detekt happy

* Updated relative date display for dates in the future

* Small cleanup for header creation logic

* replaced "and" with "&&" for better formatting

Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-06-06 01:10:02 +02:00
Secozzi
27ff22e297
[ExtensionLoader] Prioritize extension classpath over app classpath
Co-authored-by: beerpsi <92439990+beerpiss@users.noreply.github.com>
2024-06-06 01:00:15 +02:00
Secozzi
af7471e446
Fix DelayedTrackingUpdateJob spam on update errors
* Fix DelayedTrackingUpdateJob spam on update errors

DelayedTrackingUpdateJob would start spamming when it encountered an
error (e.g. a tracker has an issue) and never stop.
This seems to stem from a circular dependency between the Job's
`doWork` and TrackChapter's `await`.

TrackChapter sets up a completely new instance of the
DelayedTrackingUpdateJob if any Exception was thrown during the track
update.

This causes the Job to get replaced (as per the WorkManager's set
ExistingWorkPolicy).

Because of this, the guard clause at the start of doWork would never
trigger, as all instances of the Job would report being the 0th try
(because they were completely new instances).

This simple fix introduces a boolean `isRetry` parameter to
TrackChapter's await method, which is set to `false` by default.
DelayedTrackingUpdateJob however sets this parameter to `true`, which
means TrackChapter won't try to set up the Job again.

* Rename isRetry parameter to setupJobOnFailure

This also inverts the logic, so true & false were swapped.

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-06-06 00:56:22 +02:00
Secozzi
dcd34b53bb
Address overridePendingTransition deprecation
This function is deprecated starting with API 34 "UpsideDownCake" and
should be replaced with `overrideActivityTransition`.

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-06-06 00:52:54 +02:00