Commit Graph

3173 Commits

Author SHA1 Message Date
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
schroda
c5cdd347b7 Update available languages 2026-01-30 21:54:35 +01:00
Constantin Piber
ab28158f74 Fix translation formatting of Custom Theme docs (#1056)
* Fix translation formatting of Custom Theme docs

* Update available languages

* Update changed string in other languages

Avoids re-translation effort

* Revert change to i18n locale resources

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2026-01-30 21:54:22 +01:00
github-actions[bot]
78f4c6fb6b Update available languages 2026-01-30 20:00:46 +00:00
Hosted Weblate
e8b229ac1f 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: Micka149 <dr.mischutckin2017@yandex.ru>
Co-authored-by: Pysta <stefanjanckulik@gmail.com>
Co-authored-by: Roland Vezsenyi <miscogd5yf2paqvxvc@farvoid.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: Şükrü Özcan <sukru.ozcan71@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@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/hu/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2026-01-30 21:00:03 +01:00
schroda
86b00dbcc7 Fix missing pinned sources in search all
Regression 2e08d2c95a
2026-01-28 22:59:41 +01:00
schroda
1d8944bb48 Add option to disable server version updated info 2026-01-25 18:03:24 +01:00
schroda
749c81eef1 Add option to partially disable webui version updated info 2026-01-25 18:02:59 +01:00
schroda
4d7eb74a56 Merge "selected source/extension" languages 2026-01-25 17:35:42 +01:00
schroda
dd1f5bd218 Cleanup "Sources::filter" 2026-01-25 17:35:24 +01:00
schroda
2e08d2c95a Fix "Sources::filter"
The "showNsfw" filter could only filter for either all sources or sources that aren't nsfw.
The "pinned" and "enabled" filtered behaved similarly, but at the same time they were also completely buggy.
E.g. "pinned = false" just returned all sources including pinned ones.
2026-01-25 17:35:23 +01:00
schroda
bdb9a000f2 Remove "local source" from source languages filter
The "local source" can't be hidden and therefore should not be shown in the filter
2026-01-25 17:35:23 +01:00
schroda
eace67e464 Exclude "local source" for language detection for sources language filter
The local source is always shown, and therefore its language ("other") should only be shown in the language filter in case an actual source is installed that supports is of "other" language.
2026-01-25 16:08:21 +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
742a02c5cf Fix source language filter
In case the saved "selected languages" contained languages that did not have any installed source, they caused TypeErrors when trying to access them in e.g. "sourcesByLanguage".
2026-01-25 16:08:13 +01:00
schroda
01ce4a8ded Handle changed server behavior with subpath injection
The server doesn't inject the subpath anymore in case no path is set.
To handle this, the app needs to set the "base" element itself to ensure that the resources are requested from the proper path.
2026-01-23 21:07:38 +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
94ee49f3ca Fix manga page styling
Re-apply 0a4aa6a721
2026-01-21 23:28:22 +01:00
schroda
65a5bed3d1 Fix hidden manga details on manga page
Regression 0a4aa6a721
2026-01-19 18:26:04 +01:00
schroda
0a4aa6a721 Fix manga page background image styling
In chromium browser there seems to be some layout issue depending on the available width.
In that case, there is a small part of the image visible that is not behind the applied "backdrop filter".
Which makes it look like a small bright vertical bar because it has the normal brightness of the image.
2026-01-19 02:38:09 +01:00
schroda
19b31528da Reduce manga page button sizes on small screens
Partially closes #1049
2026-01-18 19:18:50 +01:00
schroda
9e621edbf4 Use active theme as default value when creating new custom theme 2026-01-18 19:17:21 +01:00