Commit Graph

86 Commits

Author SHA1 Message Date
schroda
39b79c6ebe Feature/settings support custom extension repos (#539)
* [Codegen] Support custom extension repos

* [VersionMapping] Require server version "r1444" for preview
2024-01-06 18:38:16 +01:00
schroda
7d3d82556a Handle extension update failure (#530)
The failure was never handled and instead, the update was infinitely stuck in progress.
2023-12-31 01:46:53 +01:00
schroda
120e97e882 Feature/restore backup inform about missing sources (#523)
* Validate backup before starting restore process

In case sources were missing, the user was never informed and thus, did not know which sources were required for all manga to work

* Reset file input after restoring

Otherwise, the same backup file can't be restored until the page gets refreshed/re-opened
2023-12-28 16:08:13 +01:00
schroda
f12f025e9d Add option to remove non library mangas from categories (#520)
It's currently not possible to filter out non library mangas from the mangas field of categories, thus, the totalCount of mangas in a category might be greater than what is actually displayed in the library.
2023-12-27 18:17:41 +01:00
schroda
e025efb9dc Feature/add manga to library category select dialog (#519)
* Move "SearchSettings" into "LibrarySettings"

* Change property "setOpen" to "onClose" for "CategorySelect"

* Optionally show category selection when adding manga to library

* Update "ignore filters" translation

* Move "ignore_filters" setting to "metadataServerSettings"
2023-12-27 18:08:16 +01:00
schroda
446deeae06 Feature/library manga actions (#506)
* Extend "IMangaGridProps" from "DefaultGridProps"

* Move library manga filtering into hook

* Add logic to select mangas

* Add manga actions

* Remove cache only policy for category mangas

Unclear why this was added

* Prevent SelectionFAB from being hidden by the mobile footer

On e.g. the library page, the footer is visible and thus, the fab was not completely visible

* Update categories of manga only after clicking "OK"

Previously, selecting a category resulted in an immediate mutation.
To be able to reuse the "CategorySelect" component to change the categories of multiple mangas at once, this behaviour is not suited.

* Add action to change categories of multiple mangas

* Cancel selection mode after removal from library

The mangas would still be selected and other action could get performed. However, this should only be possible for mangas that are in the library

* Remove unintentionally added console log

Accidentally added with 980da657d9
2023-12-25 21:37:45 +01:00
schroda
2f8c284c8b Add continue read button to library (#505) 2023-12-19 15:17:00 +01:00
Hosted Weblate
62568ce76b Translations update from Hosted Weblate
Translated using Weblate (Spanish)

Spanish: currently translated at 99.6% (327 of 328 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 96.2% (286 of 297 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 86.7% (256 of 295 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 96.9% (286 of 295 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 96.9% (286 of 295 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 98.7% (233 of 236 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (French)

French: currently translated at 70.0% (147 of 210 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (French)

French: currently translated at 54.2% (109 of 201 strings)

Co-authored-by: Alexandre Journet <alexandre.journet@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ibaraki Douji <daynesmorgan33@gmail.com>
Co-authored-by: Nite07 <admin@nite07.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: misaka10843 <misaka10843@outlook.jp>
Co-authored-by: 蓝云Reyes <i@muir.fun>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/
Translation: Suwayomi/Tachidesk-WebUI
2023-12-14 00:33:59 +01:00
schroda
c51897ed54 Feature/download queue clear queue (#490)
* Use "NavbarContext" in "DownloadsQueue"

* Add option to clear the whole download queue
2023-12-10 00:09:00 +01:00
schroda
9cb72243d6 Automatically check for server updates (#489) 2023-12-09 23:20:52 +01:00
schroda
78310496aa Feature/about screen add option to check for and trigger updates (#485)
* [VersionMapping] Require server version "r1436" for preview

* Move ts util types to new type file

* Add buttons for updating server and webUI
2023-12-09 23:08:27 +01:00
schroda
fbf627b3aa Add option to clear the server cache (#487) 2023-12-09 14:16:52 +01:00
schroda
ad0f072651 Feature/automatic chapter deletion more options (#484)
* Add missing translations keys

* [Codegen] Update to latest server schema changes

* [VersionMapping] Require server version "r1431" for preview

* Rename "deleteChaptersAutoMarkedRead" metadata setting

* Add more options to auto delete chapters while reading

Makes it possible to delete the last to fifth to last read chapter instead of only being able to delete the last read chapter
2023-12-05 22:20:13 +01:00
schroda
b2e6c040f1 [i18n] Format text to local lowercase (#481) 2023-11-27 19:14:58 +01:00
schroda
259d1d87df Show info about hosted WebUI in "About" (#482) 2023-11-27 19:14:43 +01:00
schroda
2006ca9109 Feature/handle disabled download ahead limit by default (#475)
* Add a description to the dialog

* Set the default limit to the lowest possible value
2023-11-25 17:15:07 +01:00
schroda
3766540ce5 Add WebUI settings (#460)
* Add WebUI settings

* [VersionMapping] Require server version "r1427" for preview
2023-11-20 22:14:24 +01:00
schroda
cdf9229457 Feature/global update show last update time (#468)
* Show last global update timestamp

* Add update button to "Updates" screen
2023-11-19 22:43:29 +01:00
schroda
eda682d9ab Remove deprecated cache setting (#459) 2023-11-19 00:10:19 +01:00
schroda
cac60fed2c Feature/server settings (#458)
* Move "Server Address" setting to server settings

* Rename "ServerDirSetting" to "TextSetting"

* Use "TextSetting" for server address

* Reset value when closing the dialog

* Support passwords in "TextSetting"

* Add server settings
2023-11-18 19:55:44 +01:00
schroda
9b96560a17 Feature/settings backup (#453)
* Show loading indicator for "NumberSetting"

* [i18n] Add lowercase interpolation format

* Add required dependencies for time settings

* Dynamically import dayjs locales for languages

* Add backup settings
2023-11-12 01:41:10 +01:00
schroda
4ab61723e7 Add missing tooltips (#444) 2023-11-05 17:22:29 +01:00
schroda
a6cc757d50 Feature/global update settings update manga metadata (#441)
* Add "updateMangas" setting to global update settings

* Sort "en.json" alphabetically
2023-11-04 14:55:25 +01:00
schroda
14e7af9a4a Feature/modify download settings (#429)
* [Codegen] Update settings fragment

* Extract logic to change a number setting

* Show slider for global update interval setting

* Add download settings
2023-11-04 14:40:43 +01:00
schroda
cc59f88a1d Correct library error translations (#437) 2023-11-01 14:26:57 +01:00
schroda
678df88068 Feature/modify global update settings (#432)
* Move setting components in "settings" folder

* Add setting to change global update automation
2023-10-29 02:01:59 +02:00
schroda
5a5b12a9e1 [ESLint] Prefer named exports (#427) 2023-10-28 00:32:02 +02:00
schroda
68e7b4b16d Feature/library global update exclude manga with state (#281)
* Extract global update settings

* Add option to exclude mangas with specific state from global update
2023-10-27 23:39:05 +02:00
schroda
2297f36efb Add manga to default categories when adding to library 2023-10-27 20:23:47 +02:00
Robert Perez
3155c1d602 Add option to offset first page in double page reader (#418)
* added toggle for doublespreads

* changing pages works as intended

* undid package.json changes

* deleted packege lock json

* curPage changes when changing invertDoublePage

* changed yarn.lock

* it switches better now

* fixed formatting

* changed it to offset first page

* fixed flipping when switching

* offset first page hides when double page is not enabled

* removed uncreachable line
2023-09-28 00:36:47 +02:00
Weblate (bot)
9daf71d85c Translations update from Hosted Weblate (#411)
Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Korean)

Korean: currently translated at 48.2% (97 of 201 strings)




Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ko/
Translation: Suwayomi/Tachidesk-WebUI

Co-authored-by: PedroJLR <jacobnchrono@gmail.com>
Co-authored-by: jun <jtrobin@daum.net>
2023-09-17 23:06:17 +02:00
schroda
38b69297f4 Add new languages to resources (#409) 2023-08-18 00:27:55 +02:00
Hosted Weblate
5d032d3748 Translations update from Hosted Weblate
Translated using Weblate (Vietnamese)

Vietnamese: currently translated at 100.0% (201 of 201 strings)

Translations update from Hosted Weblate

Added translation using Weblate (Vietnamese)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: xconkhi9x <bighih2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/vi/
Translation: Suwayomi/Tachidesk-WebUI
2023-08-18 00:19:05 +02:00
schroda
637118ad7a Add new languages to resources (#402) 2023-08-11 17:40:40 +02:00
Hosted Weblate
e061fc348c Translations update from Hosted Weblate
Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

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

Translations update from Hosted Weblate

Translated using Weblate (Arabic)

Arabic: currently translated at 7.9% (16 of 201 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Traditional))

Chinese (Traditional): currently translated at 100.0% (201 of 201 strings)

Translations update from Hosted Weblate

Translated using Weblate (Italian)

Italian: currently translated at 7.9% (16 of 201 strings)

Translations update from Hosted Weblate

Added translation using Weblate (Italian)

Translations update from Hosted Weblate

Translated using Weblate (Korean)

Korean: currently translated at 1.9% (4 of 201 strings)

Added translation using Weblate (Korean)

Co-authored-by: Carlos Nahuel Morocho <nahuelmorocho@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Wip -Sama (Wip-Sama SmasterMega) <sgro.orlando@gmail.com>
Co-authored-by: caref <notneofy@gmail.com>
Co-authored-by: expertjun <jtrobin@naver.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: 蓝云Reyes <i@muir.fun>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ko/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hant/
Translation: Suwayomi/Tachidesk-WebUI
2023-08-11 17:33:04 +02:00
schroda
2bbfb5272f Add new languages to resources 2023-06-24 12:38:37 +02:00
Hosted Weblate
750d2f2464 Translated using Weblate (Ukrainian)
Ukrainian: currently translated at 100.0% (201 of 201 strings)

Translated using Weblate (Chinese (Simplified))

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

Translated using Weblate (Indonesian)

Indonesian: currently translated at 8.9% (18 of 201 strings)

Translated using Weblate (Chinese (Simplified))

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

Added translation using Weblate (Indonesian)

Translated using Weblate (Japanese)

Japanese: currently translated at 3.0% (6 of 200 strings)

Translated using Weblate (Ukrainian)

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

Translated using Weblate (Ukrainian)

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

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 61.1% (121 of 198 strings)

Translated using Weblate (Ukrainian)

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

Translated using Weblate (Ukrainian)

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

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 60.7% (119 of 196 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (196 of 196 strings)

Translated using Weblate

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Rafie Rafie <rafiedanr@gmail.com>
Co-authored-by: Super Mario <supermario22922@gmail.com>
Co-authored-by: misaka10843 <misaka10843@outlook.jp>
Co-authored-by: schroda <github@mail.schroda.net>
Co-authored-by: 娃哈哈 <1045188196xsj@gmail.com>
Co-authored-by: 蓝云Reyes <i@muir.fun>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/uk/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/
Translation: Suwayomi/Tachidesk-WebUI
2023-06-22 21:51:03 +02:00
schroda
322cf8c915 Move Library "search settings" to LibrarySettings (#381) 2023-06-20 01:00:54 +02:00
schroda
4b83ccc889 Feature/use alias for imports (#352)
* Use alias "@" for imports

* Use alias "@" for imports - Fix imports

* Use alias "@" for imports - Prevent faulty "import/extensions" linting issue

For some reason the rule throws an error for alias imports

* Use alias "@" for imports - Update "no-relative-imports" eslint rule
2023-06-05 01:42:39 +02:00
Alexandre
d60ed0c055 Add fit page to window reader setting (#323)
* Add fit page to window reader setting

* Renamed option and conditional rendering

* Rename translation key
2023-06-03 20:53:52 +02:00
schroda
46a7ff6e3b Feature/refactor source mangas screen (#314)
* Refactor "SourceMangas"

* Refactor "SourceMangas" - Show loading placeholder on filter reset or submit

Due to the url being the same for all "filter requests" the loading state doesn't get changed by SWR.
Instead, only the "isValidating" state gets updated.

* Refactor "SourceMangas" - Update routing

* Refactor "SourceMangas" - Prevent duplicated mangas in grid

There is a possibility that the "latest" endpoint returns the same manga on different pages

* Always set the toolbar content on the manga page

"setAction" wasn't called on the manga page, thus, in case the previous page didn't unset the action, it never got unset

* Rename source content type "Browse" to "Popular"
2023-05-28 12:16:06 +02:00
schroda
a95937f253 Fix/global search not showing request error (#310)
* Show error message in case search request failed

In case of an error the message was showing "no mangas found"

* [i18n::en] Sort keys alphabetically
2023-05-20 13:25:10 +02:00
schroda
58eb2fead3 Feature/enforce license notice in each file via eslint rule (#304)
* [ESLint] Add "eslint-plugin-header" as dev dependency

* [ESLint::eslint-plugin-header] Setup rule

* [ESLint::eslint-plugin-header] Fix errors
2023-05-18 13:17:41 +02:00
schroda
5aaf0854fe Fix/download queue staying stopped when removing download (#299)
* [Cleanup] Use async/await

* Show download queue removal error toast

* Optionally restart download queue after removing download

When removing a download while the download queue was running, the queue was never started again.
2023-05-15 18:15:28 +02:00
schroda
4aff22079a Settings language add description (#294)
* Add translation notice to language setting

* Make local source guide link readable in dark mode
2023-05-12 11:52:00 +02:00
schroda
c8b0c64a8d Add new languages to resources (#293) 2023-05-12 11:51:15 +02:00
Weblate (bot)
b6c87dd630 Translations update from Hosted Weblate (#276)
* Translated using Weblate (French)

Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Added translation using Weblate (Chinese (Simplified))

* Translated using Weblate (German)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/

* Added translation using Weblate (Japanese)

* Translated using Weblate (German)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/

* Added translation using Weblate (Chinese (Traditional))

* Translated using Weblate (Spanish)

Currently translated at 100.0% (178 of 178 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/

* Translated using Weblate (Arabic)

Currently translated at 6.1% (11 of 178 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/

* Translated using Weblate (Arabic)

Currently translated at 10.4% (20 of 192 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 97.9% (188 of 192 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/

* Translated using Weblate (Portuguese)

Currently translated at 44.7% (86 of 192 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/pt/

* Added translation using Weblate (Ukrainian)

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (194 of 194 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/uk/

---------

Co-authored-by: Aria Moradi <aria.moradi007@gmail.com>
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Co-authored-by: misaka10843 <misaka10843@outlook.jp>
Co-authored-by: Fumo Vite <simonfumo@protonmail.com>
Co-authored-by: Yon <genjilolic@gmail.com>
Co-authored-by: rx443 <hi@corx.me>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Bander AL-shreef <bander.alshreef@gmail.com>
Co-authored-by: DevCoz <qq851428876@gmail.com>
Co-authored-by: Shinzo wo name <sasoj27791@in2reach.com>
Co-authored-by: Dan <denqwerta@gmail.com>
2023-05-11 22:50:56 +02:00
Allan Nordhøy
b4b3dc54a7 App strings reworked (#277)
* App strings reworked

* Lowercase labels, fixes

* Allowed languages, reverted sorting

* Use emoji for reader types

* Update image cache strings

* Change "Catalog" to "category"

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2023-05-11 18:01:05 +02:00
schroda
f5a961e82f Fix/manga white screen missing extension (#285)
* Prevent white screen when source is missing

A undefined source caused a TypeError

* Show error message when source is missing
2023-05-01 23:31:14 +02:00
schroda
9a27335760 Add option to include and exclude categories from the global update (#265) 2023-04-22 13:03:51 +02:00