Commit Graph

3145 Commits

Author SHA1 Message Date
schroda
7de1723b36 Fix updating global reader settings
It replaced the global settings with the manga specific ones.

Regression 63ebfd120e
2026-03-15 14:33:57 +01:00
schroda
8be1da61aa Fix linting 2026-03-15 01:42:37 +01:00
schroda
2eb4d07098 [skip ci] Revert "Fix "no duplicate imports" lint rule auto fixing"
This reverts commit 0a643655ad.

Takes way too long. Linting jumps from ~3s to ~20s, not worth the auto fixing
2026-03-14 02:21:27 +01:00
schroda
80829febb2 [skip ci] Re-add removed lint rules 2026-03-14 02:11:03 +01:00
schroda
0a643655ad Fix "no duplicate imports" lint rule auto fixing
As of now oxlint does not have auto fixing for this rule
2026-03-13 22:11:25 +01:00
schroda
320bfc6c5b Extract manga migration logic 2026-03-13 20:36:46 +01:00
schroda
dc56afc17f [skip ci] Get rid of eslint
Dependency needs to be kept because "eslint-plugin-unused-imports" imports from "eslint/use-at-your-own-risk" at load time
2026-03-12 00:09:08 +01:00
schroda
9581bce0f8 Fix eslint plugin rules in oxlint 2026-03-11 23:46:11 +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
98622ad6cd Update node to >=24 2026-03-10 22:54:51 +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
github-actions[bot]
1f323baff4 Update manga type tags 2026-03-09 00:44:50 +00:00
Hosted Weblate
aade88a2f2 Translations update from Hosted Weblate
Co-authored-by: Cyber Mage <CyberMageIL@gmail.com>
Co-authored-by: CyberMageIL <CyberMageIL@Gmail.com>
Co-authored-by: Damien O'Neil <maxiburning@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: makoto <makoto326@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/he/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translation: Suwayomi/Suwayomi-WebUI
2026-03-09 01:40:06 +01:00
schroda
531c3fc3cc [skip ci] Update versionToServerVersionMapping
Required starting with 474b98abb5
2026-03-09 01:23:06 +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
57e05bf20d Introduce new batch metadata update function 2026-03-08 22:42:38 +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
63ebfd120e Fix saving long metadata values
fixes #900
2026-03-08 22:42:36 +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
14d7ec0ae5 Fix versionToServerVersionMapping ui version typo 2026-03-04 01:38:18 +01:00
schroda
aa9e6d1bfb Abort global search when leaving search page 2026-03-04 01:37:26 +01:00
schroda
d1c9adf763 Include "tools" folder in "lint" packagejson script 2026-02-21 22:20:23 +01:00
schroda
41fe42f29b Fix "auto webtoon mode" detection
The detection didn't work properly in case the selected manga was in a different language than English or the current active translation.
In that case it didn't work because the translation for that locale wasn't loaded.

So to ensure that the translation exists for each language, we have to hardcode it.
2026-02-21 22:20:22 +01:00
schroda
576cf85c38 Cleanup reader store slices hooks 2026-02-21 17:33:13 +01:00
schroda
daeb2a4e45 Access reader store setters directly without hook 2026-02-21 16:41:56 +01:00
schroda
75cf18b254 Rename "getNextIndexFromPage" to "getIndexOfPage" 2026-02-21 15:15:47 +01:00
schroda
4da2f67b75 Fix page shift when toggling "offset double spreads" setting
The pages should get shifted to
- the left when enabling
- the right when disabling
the setting.

Currently, the "page push" is inverted.
This can cause the page that is most likely being read to get pushed out of the screen. Which then requires the user to change the page.

Example:

Active page: 1+2
Enable setting: -> 2 (currently) instead of -> 1
2026-02-21 15:15:47 +01:00
schroda
ec49cd1ad9 Fix updating reader "page urls" in "page store"
The page urls never got updated in the store
2026-02-21 15:15:45 +01:00
schroda
ddca11e537 Prevent potential out-of-bound index access when selecting reader page 2026-02-21 15:15:06 +01:00
schroda
71f99f5ac6 [skip ci] Update versionToServerVersionMapping
- Fix server version from 937d3af479baf9c9ad9b829fa7a623b36fbd6b9c; actual change was one commit earlier
- Update ui version to include fix 76474712a3
2026-02-21 15:15:05 +01:00
schroda
95ccdad275 Align "offset spread pages" hotkey text with setting 2026-02-21 15:15:04 +01:00
schroda
8a7081fdba Fix missing "offset double spreads" setting under "settings > reader" 2026-02-21 15:12:34 +01:00
Hosted Weblate
612ee71776 Translations update from Hosted Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Sazuru <sazuru@gmail.com>
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Co-authored-by: mahranaka <robertlang123450@gmail.com>
Co-authored-by: Црнобог <68vuletic@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translation: Suwayomi/Suwayomi-WebUI
2026-02-21 15:12:14 +01:00
schroda
730ff1cc2c [skip ci] Update versionToServerVersionMapping 2026-02-13 01:16:09 +01:00
schroda
937d3af479 Update versionToServerVersionMapping
Preview server is broken with stable webui due to the subpath changes
2026-02-13 01:09:24 +01:00
schroda
59d887eaea Prevent unauthenticated image request on manga refresh 2026-02-13 00:58:18 +01:00
schroda
d99d950585 Fix refreshing thumbnail during manga refresh
When using blobs (e.g. due to authentication), manually refreshing caused the thumbnail to break on the manga page.
This was caused because the image got cleaned up, but did not get reloaded again because it was considered to be already loaded.

Regression 3a27461598
2026-02-13 00:58:13 +01:00
Zhou Yeheng
afd4761998 Fix android browsers background-color issues by setting theme-color meta (#1063) 2026-02-13 00:57:38 +01:00
schroda
1007533349 Fix some translation issues
- Interpolation issues
- Wrong translations added during migration to lingui
2026-02-04 00:50:16 +01:00
Hosted Weblate
66b80bc19f Translations update from Hosted Weblate
Co-authored-by: Constantin Piber <cp.piber@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 圭紫 <kaceykoo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2026-02-03 23:35:51 +01:00
schroda
307dc95533 Use default language constant 2026-01-30 22:18:34 +01:00
schroda
76474712a3 Use BCP-47 language codes for i18n resource files
Lingui expects the codes to be compliant to BCP-47 while weblate was not set up to create the resource files in that format.
And react-i18next was able to just handle them.

fixes #1058
2026-01-30 21:57:12 +01:00
schroda
edbbc81575 Fix missing type support for i18n resources
Due to the change in 65a9a905be - moving to a json file - it wasn't ensured anymore that IsoLanguages contained the i18n language codes
2026-01-30 21:54:39 +01:00