Commit Graph

1566 Commits

Author SHA1 Message Date
schroda
741489ad49 Adjust missed styling for rtl direction 2024-04-26 13:00:45 +02:00
schroda
1626771e92 Apply rtl styling for rtl languages 2024-04-25 19:27:59 +02:00
schroda
6788e284e9 Prevent selecting an unsupported language
In case no language had been selected yet and the detected browser language is not supported, the selection was set to undefined instead of showing the default language
2024-04-25 00:27:00 +02:00
schroda
bbb655c448 [Tool] Add script to generate i18n resource array 2024-04-25 00:06:07 +02:00
schroda
082f923e10 Improve i18n resource typing 2024-04-24 23:56:06 +02:00
schroda
a7cafb59a4 Fix missing translations for language selection setting 2024-04-24 23:53:43 +02:00
schroda
7ceb1af23e Prevent webUI update available dialog when auto update is enabled
The automatic webUI update checks were not triggered in case the auto update setting was disabled but it was still possible for the update info dialog to be shown
2024-04-23 18:19:20 +02:00
schroda
fd2946d1ae Mark duplicated chapters as read
In case the "skip duplicated chapters" setting was enabled the duplicated chapters of the just read chapter did not get marked as read
2024-04-23 18:08:34 +02:00
schroda
0c4ce2c9c5 Use cache to query chapters with state
There is a potential that the cached chapters state is outdated, but this is a marginal issue and is preferred over sending a request to the server everytime for data that is most likely already known.
The triggered downloads will also reflect what is currently shown in the UI, so it will most likely never be known if some chapter state was outdated.
2024-04-23 13:54:04 +02:00
schroda
23e639a4e9 Ignore duplicated chapters for download limits
In case the next 5 chapters should get downloaded and they are all the same chapter from different scanlators, then the download actually only included 1 chapter.
To fix this duplicated chapters are counted as 1 chapter
2024-04-23 13:46:59 +02:00
schroda
640cc1bf49 Fix chapters download "all" option 2024-04-23 12:49:39 +02:00
schroda
6e4596c649 Include manga chapter fields in update subscription
In case a manga was fully read and a new chapter was found during a library update, the resume button was not correctly updated and pointed to the first chapter.
This regression was introduced with fe2cb682b6
2024-04-22 22:22:18 +02:00
schroda
c76fc9c865 [ESLint] Remove "cache" flag from "lint-staged" linting 2024-04-22 22:19:40 +02:00
schroda
ebd84d5b20 Disable webUI update check when auto update is enabled 2024-04-21 16:17:04 +02:00
schroda
d5241009b6 Optionally ignore available server update
Makes it possible to never show the info dialog again for the available version update
2024-04-21 15:06:47 +02:00
schroda
9954341434 Remind about server update later on dialog close
Stop opening server update info dialog for one hour after the dialog was closed
2024-04-21 15:06:23 +02:00
schroda
f61ed31bd5 Globally inform about available webUI updates
In case the automatic webUI updates setting was disabled the user was never informed about available webUI updates
2024-04-21 15:03:25 +02:00
schroda
ad4f59f324 Extract automated update check into hook 2024-04-21 15:03:25 +02:00
schroda
c4d77d2325 Globally inform about successful webUI updates
In case automatic webUI updates are disabled, the user gets informed about available updates
2024-04-21 15:03:24 +02:00
schroda
7725673dd7 Move ServerUpdateChecker to "util" folder 2024-04-21 12:52:31 +02:00
schroda
4ae0f65f6c Change order of WebUI "about" info 2024-04-21 12:51:08 +02:00
schroda
6f90eea762 Require manga library removal confirmation only in source browse 2024-04-21 03:50:41 +02:00
schroda
c877ea23d3 Update tracker progress on mark all as read in ChapterList button 2024-04-21 03:44:02 +02:00
schroda
18365a26c1 Update image when src url changes
When e.g. switching between 2 different manga pages, the thumbnail did not update because the img fetch was not triggered in case the src url changed
2024-04-21 00:04:00 +02:00
schroda
2066851793 Optionally migrate track bindings 2024-04-21 00:02:43 +02:00
schroda
0d8bb789a0 Rename metadata migration setting flags 2024-04-20 23:26:34 +02:00
schroda
a6bdf1b10a Fix typo in translation key usage 2024-04-20 23:19:03 +02:00
schroda
1a16dba7bd Add option to update tracking on manual mark as read 2024-04-20 23:15:02 +02:00
schroda
d35ef4fa7f Remove incorrect "change_categories" options type from Chapters::performAction 2024-04-20 22:56:45 +02:00
schroda
7325212b8e Simplify chapter action id selection 2024-04-20 22:49:47 +02:00
schroda
a1c0ec82b8 Add setting to disable tracking update while reading 2024-04-20 22:25:40 +02:00
schroda
6f12ae7e4a Correctly download ahead for batch download action 2024-04-20 21:52:18 +02:00
schroda
65992bbcdb [SKIP CI][ESLint] Fix linting issue 2024-04-20 14:45:42 +02:00
schroda
b1f97fdf69 Chapters download menu download ahead only if required
Instead of checking if download ahead is required because not enough unread downloaded chapters existed, it just downloaded the next n unread undownloaded chapters
2024-04-20 02:40:10 +02:00
schroda
52e077ff19 Add chapters download menu 2024-04-20 01:43:06 +02:00
schroda
6b066fe8ca Extract Mangas action option types 2024-04-20 01:42:05 +02:00
schroda
8ebd028d25 Update to node v21.7.3
Use "Object::groupBy"
2024-04-20 01:31:19 +02:00
schroda
db65082a09 Version lock dependencies 2024-04-20 00:57:30 +02:00
schroda
ff508b0972 Move dependencies to dev dependencies 2024-04-17 20:02:03 +02:00
schroda
dcc90e3e2f Do not emit storage event when changing grid snapshot
To prevent unnecessary re-renders.
The current grid state was stored in the session storage which then triggered an immediate re-render because the just saved snapshot got restored again
2024-04-16 02:52:15 +02:00
schroda
1f227ce886 Scroll to top when changing shown data in source browse
The current scroll position was preserved when changing the shown content type (browse, latest, filters) or when changing the filters.

Regression introduced with aab3e25031
2024-04-16 02:49:08 +02:00
schroda
80ad5e06be Optionally don't fire storage event
In case a value should be updated without informing subscribes about the change.
E.g. to prevent unnecessary re-renders when using a storage hook
2024-04-16 02:45:25 +02:00
schroda
1352f636ba [SKIP CI][IssueModerator] Fix "acknowledgment section" detection for "Meta" issues 2024-04-16 01:50:06 +02:00
schroda
4c3b1c1560 [SKIP CI][IssueModerator] Allow "Meta" issues 2024-04-16 01:40:47 +02:00
schroda
8178574815 Fix/remove deprecated routes (#747)
* Route to "/" in case path is unknown

* Remove deprecated routes

"sources" and "extensions" were merged into "browse" but the routes were never removed, thus, the paths still matched and opened the components
2024-04-14 18:08:15 +02:00
schroda
6276da42cf Feature/i18n load resources from backend (#746)
* Load i18n resources from backend

* Move locales to public folder
2024-04-14 17:32:25 +02:00
schroda
43597e8428 Add new languages to resources 2024-04-14 17:28:19 +02:00
Hosted Weblate
3be6a0dab3 Translated using Weblate (Indonesian): currently translated at 10.6% (48 of 452 strings)
Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (452 of 452 strings)

Translated using Weblate (Spanish): currently translated at 100.0% (452 of 452 strings)

Translated using Weblate (Italian): currently translated at 10.4% (47 of 451 strings)

Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (451 of 451 strings)

Translated using Weblate (Spanish): currently translated at 100.0% (451 of 451 strings)

Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (449 of 449 strings)

Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (449 of 449 strings)

Translated using Weblate (Turkish): currently translated at 1.3% (6 of 449 strings)

Translated using Weblate (Vietnamese): currently translated at 62.8% (282 of 449 strings)

Translated using Weblate (Japanese): currently translated at 4.4% (20 of 449 strings)

Added translation using Weblate (Turkish)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Traditional))

Chinese (Traditional): currently translated at 99.1% (445 of 449 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (449 of 449 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (449 of 449 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (448 of 448 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (448 of 448 strings)

Translations update from Hosted Weblate

Translated using Weblate (Japanese)

Japanese: currently translated at 3.1% (14 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (447 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 98.8% (442 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (447 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (415 of 415 strings)

Translations update from Hosted Weblate

Translated using Weblate (French)

French: currently translated at 37.3% (155 of 415 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (415 of 415 strings)

Translations update from Hosted Weblate

Translated using Weblate (Vietnamese)

Vietnamese: currently translated at 67.8% (281 of 414 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (414 of 414 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (414 of 414 strings)

Translations update from Hosted Weblate

Translated using Weblate (Ukrainian)

Ukrainian: currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (German)

German: currently translated at 47.9% (198 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Traditional))

Chinese (Traditional): currently translated at 97.0% (401 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 98.0% (405 of 413 strings)

Co-authored-by: Axel C <definsitecristofer@gmail.com>
Co-authored-by: Danylo Gavrylenko <g.danylo228@gmail.com>
Co-authored-by: Efe Devirgen <efedevirgen@gmail.com>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: HugoLeBoennec <hugo.leboennec@viacesi.fr>
Co-authored-by: PandaKewt <chuminhtuan30306@gmail.com>
Co-authored-by: Roberto Palmese <robix.email@gmail.com>
Co-authored-by: Siamese <Siamese2250@users.noreply.hosted.weblate.org>
Co-authored-by: Son of the Rocks <sonoftherocks@web.de>
Co-authored-by: ZerOriSama <godarms2010@live.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ji jo (roczz2887) <rocmoezhao@gmail.com>
Co-authored-by: m0eak <moeakyou@gmail.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: tongxin lou <loutongxin1@gmail.com>
Co-authored-by: 坂田银时 <3199616102@qq.com>
Co-authored-by: 小楼一夜听春雨 <gr2066878693@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/uk/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
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
2024-04-14 16:26:04 +02:00
schroda
473e85a8ed Feature/use second level mui imports (#743)
* Require "Theme" to be passed to "SxProps"

Decreases typescript performance otherwise

* Disallow "top" and "third-level" MUI imports

* Exclude "node_modules" in tsconfig
2024-04-14 15:50:12 +02:00
schroda
418da46c62 Restore previous content type when clearing search (#742)
After clearing the current search the initial content type was always restored instead of the previous selected content type
2024-04-14 15:22:35 +02:00