Commit Graph
425 Commits
Author SHA1 Message Date
schroda c068f2fb35 Fix manga details not updating after refresh with partial data
Regression 0ed2e7c193
2026-05-02 14:42:32 +02:00
schroda 9440326b72 Require server settings and global metadata to be loaded 2026-04-27 15:57:33 +02:00
schroda 0ed2e7c193 Fix refreshing manga during migration search 2026-04-23 20:40:05 +02:00
schroda 527769ec5e Support library batch selection migration
Closes #1089
2026-04-23 19:02:38 +02:00
schroda f6302fe3aa Add bulk migration 2026-04-17 02:19:40 +02:00
schroda cc31f592cd Fix saving global metadata applied migration
The applied migration change never got stored on the server because the mutation got excluded due to incorrectly setting the "isMigration" flag to false.
This resulted in executing the missing migration everytime the metadata were read.

Regression 430939a47a
2026-04-07 15:16:09 +02:00
schroda d738de2c61 Fix missing available extension info in navbar
fixes #1076

With apollo v4 "refetchQueries" excludes queries with "cache-only" policy

Regression c6343e24a5
2026-03-22 00:30:34 +01:00
schroda 80829febb2 [skip ci] Re-add removed lint rules 2026-03-14 02:11:03 +01:00
schroda 1cccd1ea46 Simplify selecting zustand store state 2026-03-11 23:31:51 +01:00
schroda 72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda 5dda4304d9 Migrate to oxlint + oxfmt 2026-03-11 19:41:49 +01:00
schroda 22e1b6d224 Update dependency "eslint" to v9.x
v9.39.4
2026-03-10 21:41:50 +01:00
schroda d8673e2307 Migrate to tsgo 2026-03-10 01:34:36 +01:00
schroda c6343e24a5 Update dependency "apollo-client" to v4.x
v4.1.6
2026-03-10 01:02:12 +01:00
schroda f549658dfa Update dependencies 2026-03-09 01:13:34 +01:00
schroda 00d6350cee Optionally include client data during manga migration 2026-03-08 22:42:39 +01:00
schroda 430939a47a Update new "metas" mutations structure 2026-03-08 22:42:38 +01:00
schroda 0c12427020 Remove old metadata mutations 2026-03-08 22:42:37 +01:00
schroda 64df9a9489 Add new single multipurpose metadata update mutation 2026-03-08 22:40:47 +01:00
schroda 474b98abb5 Use new "metas" mutations 2026-03-08 22:40:45 +01:00
schroda 307dc95533 Use default language constant 2026-01-30 22:18:34 +01:00
schroda e63a51e060 Fix bug caused by GroupedVirtuoso
If there are only empty groups, "computeItemKey" gets called with a none-existent index which leads to "Virtuoso.util::convertIndex" to throw an error
2026-01-25 16:08:18 +01:00
schroda 12cac252de Prevent language switch on initial load
The change of bb36a46a24 causes a "language blink" on the initial load.
This happens due to having to wait till the selected language has been loaded from the server. Until this request is resolved, lingui initializes with the detected language, which might not match the selected one. This then causes the language to potentially be changed shortly after the initial load to a different language.
2026-01-23 02:15:26 +01:00
schroda bb36a46a24 Save selected app language on server 2026-01-22 00:14:52 +01:00
schroda 41b0fe77d6 Fix reference error causing white screen 2026-01-18 18:07:07 +01:00
schroda 7b13c1dcc1 Split service worker image cache into multiple 2026-01-18 16:56:57 +01:00
schroda 0fd5bb3284 Fix missing "custom app languages"
Regression c1ac58f4d6
2026-01-14 16:34:38 +01:00
schroda 65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
schroda c1ac58f4d6 Split up language utils file 2026-01-13 17:33:34 +01:00
schroda f9973e0ef3 Improve image processing settings url target adding search parameters 2025-12-28 02:42:52 +01:00
schroda 5def0ea818 Add new image processing settings on serve 2025-12-23 02:10:06 +01:00
schroda 1b0d907708 Add new "external image processing" settings for downloaded images 2025-12-23 02:07:56 +01:00
schroda 083586c567 Update graphql files structure 2025-12-22 14:00:44 +01:00
schroda 230dae83c3 Fix SourceMangas showing incorrect loading placeholder
After all pages had been loaded, the revalidation request of the first page caused the loading placeholder to not disappear anymore.
This was only a visual bug and did not affect the actual functionality.
2025-12-22 12:35:40 +01:00
schroda 30856f996d Always revalidate first page for local source browse requests
fixes #1041
2025-12-22 12:35:08 +01:00
schroda 162b477032 Add "auto backup flags" settings 2025-12-22 12:31:48 +01:00
schroda 3ff6f2ec5f Add "opds cbz mime-type" setting 2025-12-13 17:50:29 +01:00
schroda 064dc9041b Add "hikari connection pool" setting 2025-12-06 20:01:31 +01:00
schroda e914c04c88 Fix force page reload decision after a webui update 2025-12-06 20:01:09 +01:00
Zeedifandschroda 84cfa6bea5 Update KOReader Sync settings (#1030)
* feat(settings): refactor and implement KOReader Sync settings page

Refactors the KOReader Sync settings section into its own dedicated page and implements the full connection and configuration flow.

The previous implementation in the main server settings was outdated and incomplete. This change aligns the frontend with the latest backend logic and provides a complete user experience.

Key changes include:
- Separated the UI into two states: a login form for initial connection and a configuration panel for existing connections.
- Implemented `connectKoSyncAccount` and `logoutKoSyncAccount` mutations to handle authentication with the KOReader Sync server.
- Updated the `SERVER_SETTINGS` GraphQL fragment to use the new `koreaderSyncStrategyForward` and `koreaderSyncStrategyBackward` fields, removing the deprecated `koreaderSyncStrategy`.
- Moved all KOReader Sync settings from the generic Server Settings page to a dedicated route at `/settings/koreader-sync`.
- Restructured and improved i18n keys for better clarity and consistency.

Ran `yarn gql:codegen` to regenerate GraphQL types and helpers.

* Extract credentials login into component

* Update to server changes and cleanup

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-12-06 19:59:39 +01:00
schroda 8358a2f51e Include "last update timestamp" in chapter updates query 2025-11-30 18:48:12 +01:00
schroda 57a782c30b Fix adding search params to url 2025-11-23 16:42:15 +01:00
schroda 3dfb80a237 Fix image queue creation 2025-11-23 00:23:33 +01:00
schroda fe4bfd922e Queue image requests per source
If http protocol is h2 or newer, allow:
 - 5 requests per source
 - unlimited local source requests
2025-11-23 00:08:23 +01:00
schroda 890b304b4a Ignore source/extension, tracker icon and thumbnails requests from image queue
The server is not requesting these images through an extension; thus, it is not a problem to send them directly to the server since there is no problem of getting the server "stuck" due to extension rate limits.
2025-11-22 23:50:05 +01:00
schroda 9ed05f3fc0 Cache images via service worker
Improves the image request logic by making it possible to check if an image is cached.
In case an image is cached, it does not need to be put into the image queue because it won't be sent to the server.
2025-11-22 23:50:03 +01:00
schroda 704d3b191f Flag event listeners as passive 2025-11-22 19:14:43 +01:00
schroda 651edf7c82 Prevent potential TypeError during pointer device type determination 2025-11-22 16:49:06 +01:00
schroda e5eda76ea7 Recreate ws client when receiving auth error message 2025-11-20 13:58:44 +01:00
schroda 88f1ef7384 Improve reader horizontal mode scroll Y to X re-mapping
When scrolling really fast, the delta value could increase, which leads to incorrect trackpad detection, because the delta value is not consistent over consecutive scroll events
2025-11-13 01:35:44 +01:00