Commit graph

7647 commits

Author SHA1 Message Date
renovate[bot]
127e3d5eb1
fix(deps): update dependency com.github.jmir1:ffmpeg-kit to v5 2024-06-30 21:35:07 +00: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
Secozzi
d481da4668
Tweak detekt config
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:48:45 +02:00
Secozzi
87348bbff6
Cleanup [BaseColorScheme.getColorScheme]
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:46:57 +02:00
Secozzi
edae0f5222
Update gradle.properties
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:43:41 +02:00
Secozzi
eabd93c726
Small cleanup in WorkerInfoScreen
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:41:40 +02:00
Secozzi
7a72c3b565
Ignore detekt [LongParameterList] for composables
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:39:40 +02:00
Secozzi
2a875f6c86
thank you android studio, very cool 2024-06-06 00:32:44 +02:00
Secozzi
f72df3f620
Refactor use of Java.util.date to Java.time.*, to fix localized date …
…issues. (#402)

* Add support for localdate based relative times

* Update History Screen to use new localdate based relative times

* Update Updates Screen to use new localdate based relative times

* Cleaned up date util classes

* Updated build time display

* Code cleanup

* Fixed crash in settings

* Updated Preferences item

* Worker Info works

* Fixed Tracker date display

* Code changes to pass detekt

Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-06-06 00:17:28 +02:00
Secozzi
a2c293de8c
Minor refactor of theming when expressions
* Minor refactor of theming when expressions

Avoids triggering detekt's CyclomaticComplexMethod warning because of
too many when branches, which would happen with one more theme being
added in these two locations.

In TachiyomiTheme, the Monet theme is separated because it requires
the current Compose context to function. The other themes do not and
are delegated to a Map.

* Implement requested changes

- moved themeResources out of the ThemingDelegate interface
- replaced single condition when with if expression

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-06-05 15:16:07 +02:00
Secozzi
2448072923
Update dependency androidx.test.ext:junit-ktx to v1.2.0-alpha03
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:59:15 +02:00
Secozzi
88a5ff1105
Update dependency androidx.test.espresso:espresso-core to v3.6.0-alph…
…a03

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:58:44 +02:00
Secozzi
1ee407c213
Update lifecycle.version to v2.7.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:58:21 +02:00
Secozzi
8481be6366
Update dependency com.github.requery:sqlite-android to v3.45.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:57:52 +02:00