Commit Graph

1601 Commits

Author SHA1 Message Date
schroda
168b76cb0c Feature/graphql download queue subscription send only updates (#1011)
* Emit only download changes instead of full status

The download subscription emitted the full download status, which, depending on how big the queue was, took forever because the graphql subscription does not support data loader batching, causing it to run into the n+1 problem

* Rename "DownloadManager#status" to "DownloadManager#updates"

* Add initial queue to download subscription type

Adds the current queue at the time of sending the initial message.
This field is null for all following messages after the initial one

* Optionally limit and omit download updates

To prevent the n+1 dataloader issue, the max number of updates included in the download subscription can be limited.
This way, the problem will be circumvented and instead, the latest download status should be (re-)fetched via the download status query, which does not run into this problem.

* Formatting
2024-11-14 18:07:14 -05:00
schroda
f5680c6d69 Switch to Koin from Injekt (#1109)
replace "com.github.inorichi.injekt" with "com.github.null2264:injekt-koin"
2024-11-09 11:32:51 -05:00
Mitchell Syer
654a3cc7ed Use Backup.serializer() (#1088) 2024-09-16 21:18:01 -04:00
Mitchell Syer
841cdc474f Remove Broken Sources and Broken History (#1084) 2024-09-15 00:19:47 -04:00
schroda
0adbea3a43 Remove manga artist, author length limit (#1080) 2024-09-15 00:10:23 -04:00
schroda
e12bada052 Use correct sync id (#1079) 2024-09-15 00:10:08 -04:00
renovate[bot]
68dbefc46f Update dependency gradle to v8.10.1 (#1072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:15:15 -04:00
renovate[bot]
9d71e9b177 Update twelvemonkeys to v3.11.0 (#1069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:15:06 -04:00
renovate[bot]
5b5801c2cf Update dependency com.squareup.okio:okio to v3.9.1 (#1071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:07:53 -04:00
Antoine Aflalo
df1cc2b8e9 fix(flaresolverr): fix cookie expiry for flaresolverr (#1070)
Cookie expiry is returned in seconds, the persistent cache expect it in miliseconds. Cookie is always considered as expired
2024-09-14 09:04:49 -04:00
renovate[bot]
18d399b3f7 Update settings to v1.2.0 (#1068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:04:22 -04:00
renovate[bot]
e9687fd182 Update serialization to v1.7.2 (#1067)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:04:13 -04:00
renovate[bot]
79137a074c Update plugin download to v5.6.0 (#1066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:04:04 -04:00
renovate[bot]
dae55ca386 Update graphqlkotlin to v6.8.5 (#1064)
* Update graphqlkotlin to v6.8.5

* Replace Jackson with Kotlinx.Serialization where possible

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Syer10 <syer10@users.noreply.github.com>
2024-09-14 09:03:53 -04:00
renovate[bot]
b7f040d89a Update dependency org.jsoup:jsoup to v1.18.1 (#1060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 09:03:44 -04:00
renovate[bot]
dc69df9f4f Update dependency com.squareup.okio:okio to v3.9.0 (#1056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:37:36 -04:00
Syer10
6c1fbfa63b [skip ci] Formatting 2024-09-03 21:37:18 -04:00
renovate[bot]
e968a2195a [skip ci] Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.1 (#1055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:36:34 -04:00
Syer10
000bcea181 [skip ci] Update SystemTray 2024-09-03 21:27:02 -04:00
renovate[bot]
8edf508453 [skip ci] Update dependency org.apache.commons:commons-compress to v1.27.1 (#1058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:23:45 -04:00
renovate[bot]
bc9cc50130 [skip ci] Update dependency org.bouncycastle:bcprov-jdk18on to v1.78.1 (#1059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:23:26 -04:00
renovate[bot]
71091d88fc [skip ci] Update dependency com.android.tools.build:apksig to v7.4.2 (#1049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:17:59 -04:00
renovate[bot]
70c1d7e21f [skip ci] Update dependency io.github.config4k:config4k to v0.7.0 (#1057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:17:35 -04:00
renovate[bot]
c07920978e Update tachiyomiorg/issue-moderator-action action to v2 (#1032)
* Update tachiyomiorg/issue-moderator-action action to v2

* Update issue_moderator.yml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mitchell Syer <Syer10@users.noreply.github.com>
2024-09-02 21:47:42 -04:00
renovate[bot]
954b2919ac [skip ci] Update plugin ktlint to v11.6.1 (#1043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:44:01 -04:00
renovate[bot]
c630f731ed [skip ci] Update dependency androidx.annotation:annotation to v1.8.2 (#1046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:43:47 -04:00
renovate[bot]
aaefa7f74e [skip ci] Update coroutines to v1.8.1 (#1045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:43:19 -04:00
renovate[bot]
2ec6b471f1 [skip ci] Update dependency gradle to v8.10 (#1047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:43:02 -04:00
Syer10
a5c5ab68d2 [skip ci] Ktlint 2024-09-02 21:28:59 -04:00
Syer10
fb045c501a Update Kotlin to 2.0.20 2024-09-02 21:25:01 -04:00
renovate[bot]
6a6e411492 [skip ci] Update dependency net.harawata:appdirs to v1.2.2 (#1033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:15:22 -04:00
renovate[bot]
76aac330fc [skip ci] Update dependency org.slf4j:slf4j-api to v2.0.16 (#1034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:14:59 -04:00
renovate[bot]
07bdf31f66 [skip ci] Update okhttp monorepo to v5.0.0-alpha.14 (#1039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:14:43 -04:00
renovate[bot]
fe14928af6 [skip ci] Update rhino to v1.7.15 (#1044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 21:13:38 -04:00
renovate[bot]
ad0c1033a4 [skip ci] Update GitHub Artifact Actions to v4 (#1040)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 22:06:41 -04:00
Mitchell Syer
0c2448fb99 Update gradle build action (#1035) 2024-09-01 21:57:02 -04:00
renovate[bot]
cedda145a5 Update gradle/gradle-build-action action to v3 (#1029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 20:02:46 -04:00
renovate[bot]
ee73187f1a [skip ci] Update gradle/wrapper-validation-action action to v3 (#1030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 20:02:17 -04:00
renovate[bot]
89f91d6800 [skip ci] Update actions/checkout action to v4 (#1028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 20:02:05 -04:00
renovate[bot]
6714827694 [skip ci] Update softprops/action-gh-release action to v2 (#1031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 20:01:54 -04:00
renovate[bot]
aad73f7d19 [skip ci] Update dependency io.mockk:mockk to v1.13.12 (#1026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 19:29:54 -04:00
renovate[bot]
c5985de1c3 [skip ci] Update dependency com.typesafe:config to v1.4.3 (#1025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 19:29:41 -04:00
renovate[bot]
86a5b0879a Add renovate.json (#1024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 19:24:12 -04:00
schroda
414972d545 Feature/update log file rotation (#1023)
* Keep up to 31 log files

On average one log file per day gets created, thus, increasing to 31 files will store log files for one month

* Decrease total log files size to 100mb

* Make log appender settings configurable
2024-08-31 18:55:26 -04:00
Antoine Aflalo
9a74ae5844 feat(comicinfo): add date fields to comic info (#1021)
* feat(comicinfo): add date fields to comic info

This will be parsed by Komga, Kavita etc ... and any other library management to also have the date of the chapter.

* refactor: improve code readability

Co-authored-by: Mitchell Syer <Syer10@users.noreply.github.com>

---------

Co-authored-by: Mitchell Syer <Syer10@users.noreply.github.com>
2024-08-31 18:55:13 -04:00
Antoine Aflalo
301980ab14 fix(flaresolverr): support possible rewrite flaresolverr (#1020)
This PR:
https://github.com/FlareSolverr/FlareSolverr/pull/1300

Solve a lot of issue with not solving challenge, however, the cookie don't have path, httpOnly, secure and sameSite.

By making them optional that should work for both version of flaresolverr.
2024-08-31 18:55:02 -04:00
schroda
5dced82e5a Fix/missed automated task execution failure crashes server on startup (#1019)
* Catch automated backup task errors

* Catch automated udpate task errors

* Catch automated webui update task errors
2024-08-31 18:54:51 -04:00
schroda
9a1e4df408 Fix/server startup blocked by synchronous tasks (#1018)
* Launch missed auto backup task in background

* Launch missed auto global update task in background

* Launch missed auto webui update check task in background
2024-08-31 18:54:41 -04:00
schroda
5b08b81239 Initialize manga on add to library (#1016)
In case a manga gets added to the library which has not been initialized yet, it should be tried to initialize it.
Since it's not an error to have uninitialized manga in the library, this can be done in the background via the updater and the client receives the updated data via the update subscription.
2024-08-31 18:54:30 -04:00
schroda
7fac538ba3 Initialize uninitialized manga during global update (#1015)
They were only initialized in case the setting to refresh manga metadata during an update was enabled.
However, this should always be done for uninitialized manga, regardless of the setting.

06bfc33e72 prevents uninitialized manga from getting filtered out, however, it did not ensure to initialize the manga
2024-08-31 18:54:18 -04:00