Commit Graph

77 Commits

Author SHA1 Message Date
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
schroda
79b2305e54 Feature/library show number of mangas in category (#269)
* Pass optional browser tab only title

Makes it possible to have a different title for the "NavBar" and the browser tab

* Show number of items in category and library

---------

Co-authored-by: schroda <github@dasch.simplelogin.com>
2023-04-22 11:39:59 +02:00
schroda
0a56a2f6d4 Extensions cleanup (#257)
* [Cleanup] Add enums and types

* Extract "default languages" from ISOLanguages

The "default languages" will also be translated depending on which language the user selected
2023-04-21 00:27:42 +02:00
schroda
d51150b784 Feature/reader skip duplicate chapters (#262)
* Skip duplicate chapters in the Reader

* Debounce "end of page" handling in the reader

* Update keyboard event listener

In case the "go" function changed, the listeners have to be updated
2023-04-05 13:37:12 +02:00
Aria Moradi
92506ccf78 Revert "Translated using Weblate (Portuguese)"
This reverts commit 14d23c3d29.
2023-03-29 00:39:03 +03:30
Aria Moradi
31d3656697 Revert "Translated using Weblate (German)"
This reverts commit fe5edb1c4b.
2023-03-29 00:38:54 +03:30
Aria Moradi
14bdb6d9ac Revert "Translated using Weblate (Arabic)"
This reverts commit c34e55ce80.
2023-03-29 00:38:34 +03:30
Aria Moradi
2e14b71d18 Revert "Translated using Weblate (Spanish)"
This reverts commit f9e5e6cf7a.
2023-03-29 00:38:11 +03:30
Aria Moradi
ff79d9e964 Revert "Translated using Weblate (French)"
This reverts commit d04d33c658.
2023-03-29 00:37:59 +03:30
Anonymous
d04d33c658 Translated using Weblate (French)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/
2023-03-28 18:38:44 +02:00