Commit Graph

134 Commits

Author SHA1 Message Date
Zeedif
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
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
f0c6e789cd Add backup flags to backup import 2025-10-07 22:27:07 +02:00
schroda
d33f708104 Add backup flag selection on backup creation 2025-10-04 14:51:34 +02:00
schroda
60f11a2832 Create backups via graphql api
Fixes #1022
2025-10-04 00:18:09 +02:00
schroda
80a576db63 Include chapter info in continue reading button tooltip 2025-09-18 22:28:07 +02:00
schroda
54a31b2113 Update nav bar available extensions update text 2025-09-16 17:48:01 +02:00
schroda
d5ee36bdaa Fix nav bar "available updates" pluralization 2025-09-08 00:52:56 +02:00
schroda
47e93c774f Add "database" settings 2025-09-08 00:37:02 +02:00
schroda
7d81e1106f Add "koreader sync" settings 2025-09-08 00:36:23 +02:00
schroda
4aad410957 Add "ui login" support 2025-08-26 23:06:44 +02:00
Zeedif
0f8c6496f8 fix(i18n): update translation keys (#999)
* feat(chapter): add "mark all as read" option

Added new translation key for "Mark all as read" and updated ChaptersToolbarMenu to use it in the tooltip when marking all chapters as read.

* refactor(i18n): create global download key for generic actions

* feat(i18n): add filter and sort string to chapter toolbar

* fix(i18n): update tooltip text for clear selection action

* apply `yarn lint --fix`
2025-08-24 20:47:24 +02:00
schroda
b81cc8ec17 Show available extension updates in navbar 2025-08-18 22:52:28 +02:00
schroda
4f5754399b Prevent translation of hardcoded value in user facing text 2025-08-02 13:05:29 +02:00
schroda
20ca6d6cda Fix download conversion setting input labels 2025-07-26 01:12:25 +02:00
schroda
fcc68ce594 Mention "none" download conversion target mime-type in description 2025-07-26 01:12:25 +02:00
schroda
2b1c2a0b6c Add "download conversion" setting support 2025-07-20 23:01:34 +02:00
schroda
bac77599f5 Add WebView support 2025-07-19 21:33:13 +02:00
schroda
0d23d8077f Add private tracking support 2025-07-19 21:33:12 +02:00
Constantin Piber
0d288afe74 [skip ci] Update server settings for Authentication modes (#984)
* Update GQL interface

* Update queried server settings

* package.json: Fix GQL script

* Basic AuthMode setting

* Setting disable, disclaimer on login page

* Update gql generated files

* Alphabetical sort en.json

* Fix constants name typos

* Move settings types and constants to corresponding files

* Rename setting constants

* Update required server version

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-07-12 01:08:40 +02:00
Shirish
cdee6f4efa [skip ci] Feat: Add OPDS Configs to Server Settings tab (#945)
* Add OPDS config settings

* Address PR comments

* Update serverVersion for PREVIEW

* Add "opdsUseBinaryFileSizes" setting

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-07-12 00:41:59 +02:00
schroda
99e5eb2dac Cleanup chapter download option menu 2025-07-05 15:51:07 +02:00
schroda
51975ea3cd Add setting to apply chapter list filters in reader 2025-07-01 00:37:29 +02:00
schroda
7702edb02f Require manga and chapter action confirmations
closes #927
2025-06-28 02:25:49 +02:00
schroda
2e105a0539 Introduce "Extension info" screen 2025-06-23 00:05:16 +02:00
schroda
998400327f Rename "Download queue" desktop nav item to "Downloads"
"Download queue" is too long for the side nav menu
2025-06-22 19:54:31 +02:00
schroda
b723eab4ce Fix "exclude scanlator" dialog title 2025-06-10 01:20:31 +02:00
schroda
7c0ffe9bd3 Add scanlator filter to chapter list
closes #937
2025-06-10 00:15:44 +02:00
schroda
a226ca899b Fix "tracker publishing type" manhua translation 2025-06-08 18:47:35 +02:00
FedericoRossiIT
cd34001fc3 Feat: Add custom scroll amount (#966)
* Added slower scroll amount mousewheel like feel

* Added custom scroll amount slider

* Made changes as requested
2025-06-08 18:44:18 +02:00
schroda
3bff11d8a9 Translate track search publishing type and status 2025-05-30 22:55:57 +02:00
schroda
61471ae214 Show missing chapter info in chapter list
Closes #836
2025-05-24 22:03:54 +02:00
schroda
86578593ca Show download queue size in nav bar 2025-05-24 17:25:22 +02:00
schroda
daeab31121 Add button to perform search globally in library 2025-05-21 00:58:28 +02:00
schroda
7885bcda98 Improve global search
Add options to show only searches for
- pinned sources
- all sources
- sources with results
2025-05-18 01:08:02 +02:00
schroda
e327849a19 Show last used source 2025-05-17 23:37:00 +02:00
schroda
822e47084e Add functionality to pin sources 2025-05-17 22:17:15 +02:00
schroda
f0f740f4af Add option to disable transition pages
The previous/next transition page of the first/last chapter will still be shown to indicate that there is no previous/next chapter
2025-05-05 01:26:27 +02:00
schroda
beda5096d1 Add option to disable "infinite chapter scroll" 2025-04-26 23:19:01 +02:00
schroda
0f3becf505 Fix auto webtoon mode mode for "manhwa" in english 2025-04-19 11:43:34 +02:00
schroda
ecbc0e3be2 Support different languages for auto webtoon detection 2025-04-18 00:34:26 +02:00
schroda
99f14e2f27 Internationalize ErrorBoundary 2025-03-28 18:47:29 +01:00
schroda
72fb053971 Add "scroll amount" setting 2025-03-27 19:49:49 +01:00
Constantin Piber
9322ed2b8e Make category setting subheading translatable (#911)
The `.toLocalLowerCase` is english-specific, this should be handled via
a dedicated translation like everywhere else, `global.value` is being
abused here
2025-03-27 19:48:57 +01:00
Constantin Piber
8079cadae5 Basic modal for switching extension settings (#907)
* Basic modal for switching extension settings

* Improve network usage by including field in query directly

Requesting individually is stupid, when it's a field that is already
available on the server

* Improve extension slider usability

- Always render the element, fixes animations
- Store the selected item in state, allows the back-button to re-open
  dialog

* Update src/modules/extension/components/ExtensionOptions.tsx

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>

* Update src/modules/extension/components/ExtensionOptions.tsx

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>

* Fix suggestions

* Use dialog instead of optionsPanel

* Extension options remove redundant NSFW info

* Apply suggestions from code review

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>

* Use proper dialog title and content for settings dialog

* Use `string | undefined` instead of `string | null` to satisfy `tsc`

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-03-24 23:24:12 +01:00
schroda
f570b7c9ed Optionally hide history 2025-03-22 01:16:38 +01:00
schroda
1388b53567 Rename "Downloads queue" to "Download queue" 2025-03-20 15:07:01 +01:00
schroda
3ca4aa2eff Remove "Settings" from setting page titles 2025-03-17 12:07:02 +01:00
schroda
90c1d72d13 Sort "en.json" alphabetically 2025-03-17 12:07:00 +01:00
schroda
2fead95c15 Change downloads settings name back to "Downloads" 2025-03-17 12:06:58 +01:00