Commit Graph

216 Commits

Author SHA1 Message Date
renovate[bot]
ce9d080469 Update okhttp monorepo to v5.3.2 (#1790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 21:56:14 -05:00
renovate[bot]
34d0ce69fa Update dependency com.squareup.okio:okio to v3.16.4 (#1787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 21:55:56 -05:00
renovate[bot]
b8842054a5 Update plugin ktlint to v14 (#1782)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 21:55:41 -05:00
renovate[bot]
966b39e039 Update dependency com.android.tools.build:apksig to v8.13.1 (#1781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 21:55:10 -05:00
renovate[bot]
2fcbe44953 Update dependency ch.qos.logback:logback-classic to v1.5.21 (#1780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 21:54:56 -05:00
Mitchell Syer
00f5652db9 Use JDK 25 to build and include in releases (#1770)
* Use JDK 25 to build and include in releases

* Set Jvm Targets in BuildSrc

* Put JvmTarget in libs.versions.toml

* Maybe this will work for Zulu

* Use LTS java version
2025-11-08 19:37:59 -05:00
renovate[bot]
3941986ab2 Update plugin buildconfig to v5.7.1 (#1761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-06 15:26:31 -05:00
renovate[bot]
ebcb9a9562 Update okhttp monorepo to v5.3.0 (#1755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 14:30:38 -04:00
renovate[bot]
678a12490b Update dependency com.ibm.icu:icu4j to v78 (#1754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 14:30:32 -04:00
renovate[bot]
748f0494b4 Update xmlserialization to v0.91.3 (#1748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 14:29:10 -04:00
renovate[bot]
d8050dc483 Update kotlin monorepo to v2.2.21 (#1733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 18:37:52 -04:00
renovate[bot]
29e7bab4e4 Update dependency ch.qos.logback:logback-classic to v1.5.20 (#1727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 13:55:58 -04:00
renovate[bot]
045e4d23fb Update dependency com.github.junrar:junrar to v7.5.7 (#1721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-17 12:06:46 -04:00
renovate[bot]
5b46359057 Update okhttp monorepo to v5.2.1 (#1706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 19:40:04 -04:00
renovate[bot]
44de584be3 Update plugin buildconfig to v5.7.0 (#1707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 19:39:51 -04:00
renovate[bot]
52a9be3a7e Update dependency com.squareup.okio:okio to v3.16.2 (#1708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 19:39:11 -04:00
renovate[bot]
5b55858184 Update moko to v0.25.1 (#1691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-03 10:39:29 -04:00
renovate[bot]
8d3a144afd Update dependency io.mockk:mockk to v1.14.6 (#1689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-03 10:38:49 -04:00
renovate[bot]
5577dff087 Update dependency ch.qos.logback:logback-classic to v1.5.19 (#1688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-03 10:38:37 -04:00
Soner Köksal
bfccbaf731 Optimize database performance with HikariCP and transaction batching (#1660)
* Optimize database performance with HikariCP and transaction batching

- Add HikariCP-7.0.2 connection pooling with Raspberry Pi optimized settings
- Consolidate database transactions in DirName, ChapterForDownload, and ChapterDownloadHelper
- Remove duplicate queries and unused methods from ChapterForDownload
- Batch database operations to reduce transaction overhead
- Add shared query functions to eliminate redundant database calls
- Configure memory settings for build optimization

Performance improvements:
- DirName functions: 99% faster (29s → 0.1s)
- ChapterDownloadHelper: 99.5% faster (54s → 0.3s)
- ChapterForDownload: 97% faster transaction operations
- Overall system: 75% faster execution time (242s → 60s)

* Fix review comments
2025-09-23 15:54:09 -04:00
renovate[bot]
d142d3a25a Update dependency org.postgresql:postgresql to v42.7.8 (#1657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 15:53:44 -04:00
renovate[bot]
f8b00a4541 Update dependency org.bouncycastle:bcprov-jdk18on to v1.82 (#1652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 15:53:38 -04:00
Mitchell Syer
fafcaa222c Update Dex2Jar (#1644) 2025-09-15 09:25:20 -04:00
renovate[bot]
2818fbe575 Update dependency com.typesafe:config to v1.4.5 (#1642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-13 12:22:28 -04:00
renovate[bot]
a11db6662d Update kotlin monorepo to v2.2.20 (#1640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-13 12:22:22 -04:00
renovate[bot]
904d3980d6 Update plugin ktlint to v13.1.0 (#1609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-13 12:21:58 -04:00
renovate[bot]
89e2ba9f75 Update dependency com.pinterest.ktlint:ktlint-cli to v1.7.1 (#1520)
* Update dependency com.pinterest.ktlint:ktlint-cli to v1.7.1

* Lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Syer10 <syer10@users.noreply.github.com>
2025-09-13 12:21:49 -04:00
renovate[bot]
450861d47a Update plugin buildconfig to v5.6.8 (#1636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 18:14:36 -04:00
renovate[bot]
f8c77b3673 Update dependency io.insert-koin:koin-core to v4.1.1 (#1629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 18:13:50 -04:00
renovate[bot]
055c1c47f6 Update dependency com.android.tools.build:apksig to v8.13.0 (#1626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 18:13:18 -04:00
Mitchell Syer
dc79b4c90a Support PostgreSQL Databases (#1617)
* Support PostgreSQL Databases

* Set the database Schema

* See if we can test postgres

* Another test

* Disable node container

* Update database when changed

* Simplify test workflow

* Only exit on failed migrations

* Run the first databaseUp sync

* Map the port

* Use absolute path for LD_PRELOAD

* Timeout after 1m

* Open the server in both database configurations

* Only exit on migration failed in ci

* Lint

* Use new ServerConfig configuration
2025-09-02 12:29:09 -04:00
renovate[bot]
4cdc7b348d Update dependency com.android.tools.build:apksig to v8.12.2 (#1620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 17:03:33 -04:00
renovate[bot]
3179169913 Update dependency org.jsoup:jsoup to v1.21.2 (#1615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 17:03:10 -04:00
renovate[bot]
75355f0784 Update dependency com.auth0:java-jwt to v4.5.0 (#1603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 19:18:00 -04:00
Constantin Piber
8547159eec Basic JWT implementation (#1524)
* Basic JWT implementation

* Move JWT to UI_LOGIN mode and bring back SIMPLE_LOGIN as before

* Update server/src/main/kotlin/suwayomi/tachidesk/global/impl/util/Jwt.kt

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

* Refresh: Update only access token

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

* Implement JWT Audience

* Store JWT key

Generates the key on startup if not set

* Handle invalid Base64

* Make JWT expiry configurable

* Missing value parse

* Update server/src/main/kotlin/suwayomi/tachidesk/global/impl/util/Jwt.kt

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

* Simplify Duration parsing

* JWT Protect Mutations

* JWT Protect Queries and Subscriptions

* JWT Protect v1 WebSockets

* WebSockets allow sending token via protocol header

* Also respect the `suwayomi-server-token` cookie

* JWT reduce default token expiry

* JWT Support cookie on WebSocket as well

* Lint

* Authenticate graphql subscription via connection_init payload

* WebView: Prefer explicit token over cookie

This hack was implemented because WebView sent `"null"` if no token was
supplied, just don't send a bad token, then we can do this properly

* WebView: Implement basic login dialog if no token supplied

---------

Co-authored-by: Mitchell Syer <Syer10@users.noreply.github.com>
Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-08-20 18:04:48 -04:00
renovate[bot]
392f66e938 Update plugin shadowjar to v8.3.9 (#1597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 18:03:08 -04:00
renovate[bot]
c86f7c5356 Update dependency com.android.tools.build:apksig to v8.12.1 (#1595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 15:01:37 -04:00
renovate[bot]
7b22397a82 Update kotlin monorepo to v2.2.10 (#1589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 15:01:07 -04:00
Mitchell Syer
16e9c0b19a Migrate to GradleUp Shadow (#1561) 2025-08-19 15:00:09 -04:00
renovate[bot]
8661438f69 Update dependency io.github.oshai:kotlin-logging-jvm to v7.0.13 (#1568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 14:59:59 -04:00
renovate[bot]
97f9180063 Update xmlserialization to v0.91.2 (#1549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 19:55:52 -04:00
renovate[bot]
eed8012521 Update dependency io.github.oshai:kotlin-logging-jvm to v7.0.10 (#1559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 19:55:41 -04:00
renovate[bot]
ab1e3e4302 Update dependency com.android.tools.build:apksig to v8.12.0 (#1557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 19:55:35 -04:00
renovate[bot]
c12b6f39d8 Update dependency org.apache.commons:commons-compress to v1.28.0 (#1555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 19:55:29 -04:00
renovate[bot]
b280c03afa Update dependency com.squareup.okio:okio to v3.16.0 (#1554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 19:55:23 -04:00
renovate[bot]
d81a4e0b7f Update dependency io.mockk:mockk to v1.14.5 (#1527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-16 21:53:05 -04:00
renovate[bot]
b8e85422f0 Update polyglot to v24.2.2 (#1523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-15 15:38:29 -04:00
Constantin Piber
d050bfdc68 Localize WebView and Login pages (#1522)
* Localize WebView and Login pages

* Switch to JTE for page rendering

* Lint

* Add gradle task dependency

* JTE -> KTE

* ShouldRunAfter

* I guess we must

---------

Co-authored-by: Syer10 <syer10@users.noreply.github.com>
2025-07-15 15:38:20 -04:00
Constantin Piber
df0078b725 [#1496] Image conversion (#1505)
* [#1496] First conversion attempt

* [#1496] Configurable conversion

* Fix: allow nested configs (map)

* [#1496] Support explicit `none` conversion

* Use MimeUtils for provided download

* [1496] Support image conversion on load for downloaded images

* Lint

* [#1496] Support conversion on fresh download as well

Previous commit was only for already downloaded images, now also for
fresh and cached

* [#1496] Refactor: Move where conversion for download happens

* Rewrite config handling, improve custom types

* Lint

* Add format to pages mutation

* Lint

* Standardize url encode

* Lint

* Config: Allow additional conversion parameters

* Implement conversion quality parameter

* Lint

* Implement a conversion util to allow fallback readers

* Add downloadConversions to api and backup, fix updateValue issues

* Lint

* Minor cleanup

* Update libs.versions.toml

---------

Co-authored-by: Syer10 <syer10@users.noreply.github.com>
2025-07-14 17:51:18 -04:00
renovate[bot]
d545d852c5 Update dependency com.android.tools.build:apksig to v8.11.1 (#1511)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 17:48:37 -04:00