Commit Graph

52 Commits

Author SHA1 Message Date
schroda
5dda4304d9 Migrate to oxlint + oxfmt 2026-03-11 19:41:49 +01:00
schroda
22e1b6d224 Update dependency "eslint" to v9.x
v9.39.4
2026-03-10 21:41:50 +01:00
schroda
c6343e24a5 Update dependency "apollo-client" to v4.x
v4.1.6
2026-03-10 01:02:12 +01:00
schroda
f549658dfa Update dependencies 2026-03-09 01:13:34 +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
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
65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
schroda
8d276c25bd Update CHANGELOG format to follow "Keep a Changelog" 2025-10-14 21:14:53 +02:00
schroda
4aad410957 Add "ui login" support 2025-08-26 23:06:44 +02:00
schroda
954fa4bf82 Add "setup" script
- install deps
- create env files
2025-08-13 00:53:44 +02:00
schroda
5543e134fa Use env vars 2025-08-02 23:14:21 +02:00
schroda
81bba4ffff Update "generatei18nResources" script to commit changes 2025-07-04 18:43:31 +02:00
schroda
d661b1e3f2 Fix "scripts tokens" template file name 2025-04-21 19:02:52 +02:00
schroda
52e1730261 Handle "removed languages" section in changelog 2025-04-07 00:08:50 +02:00
schroda
b673047517 Update to server gql library update changes 2025-03-23 04:04:08 +01:00
schroda
1ae98afa34 Move scripts into separate folders 2025-02-17 02:57:17 +01:00
schroda
0a34ae01ba Require languages to be at least 75% translated 2025-02-17 02:57:16 +01:00
schroda
5dcbf6c168 Extract weblate types, constants, logic 2025-02-17 02:10:14 +01:00
schroda
16c1edaa52 Add release changelog creation script 2025-02-10 00:14:06 +01:00
schroda
61bbadc72a Extract commit changelog creation logic 2025-02-10 00:14:03 +01:00
schroda
7a08a0035f Extract translation changelog creation logic 2025-02-10 00:13:17 +01:00
schroda
a6dbcd0540 Rename "createReleaseChangelog" to "createCommitChangelog" 2025-02-09 23:22:37 +01:00
schroda
d8a682537a Fix "createReleaseChangelog" script 2025-02-09 23:19:51 +01:00
schroda
2a20326c76 [SKIP CI] Fix "yargs" usage
With "esm" "yargs" is not a singleton anymore
2024-12-25 14:56:48 +01:00
schroda
50e53dedc3 Replace "ts-node" with "tsx"
"ts-node" has problems with "esm" and "path-aliases"
2024-12-25 14:38:27 +01:00
schroda
9d74380e94 Convert to ESM 2024-12-24 13:42:01 +01:00
schroda
395092099a [SKIP CI][Tooling] Update translation changelog script
Weblate changed the language names of chinese simplified and traditional to include "Han script".
This messed up the updated language detection
2024-09-01 01:19:11 +02:00
schroda
3d21266f92 Reduce requested manga data in queries 2024-07-09 00:30:15 +02:00
schroda
4b30e9bc48 Reduce requested extension data in queries 2024-07-09 00:21:51 +02:00
schroda
7556ea9b38 Reduce requested source data in queries 2024-07-09 00:21:49 +02:00
schroda
2fa1de578c Reduce requested chapter data in queries 2024-07-09 00:21:46 +02:00
schroda
9b8ace003d Reduce requested category data in queries 2024-07-03 23:24:50 +02:00
schroda
17e2d7585d Handle unsupported dayjs locales
DayJs doesn't support all the locales returned by "navigator.language"
2024-06-25 17:21:50 +02:00
schroda
017e080159 [SKIP CI][Tooling] Fix detection of existing translation changelog 2024-06-25 16:07:09 +02:00
schroda
44166acb4b [Tooling] Improve typing 2024-05-28 14:24:13 +02:00
schroda
f815d1e1b0 [Tooling] Add requirements for translation contributors as options to script 2024-05-28 14:04:15 +02:00
schroda
3bc6777043 [SKIP CI][Tooling] Add script to create translation changelog 2024-05-11 16:25:32 +02:00
schroda
bbb655c448 [Tool] Add script to generate i18n resource array 2024-04-25 00:06:07 +02:00
schroda
76125a7617 Feature/update dependencies (#738)
* [Tooling] Create script to update dependencies

* Lock dependency versions

* Update dependencies

Wait for eslint related dependencies to be compatible with v9
2024-04-14 15:10:34 +02:00
schroda
511b1f7c5e Specify type of custom scalars 2024-03-29 00:45:38 +01:00
schroda
90b6c3a0fa [Tooling] Print contributors of release with changelog script (#619) 2024-02-23 21:19:35 +01:00
schroda
d5b633f5c9 Feature/improve create changelog script (#591)
* [Tooling] Switch to github gql api

* [Tooling] Credit all authors

* [Tooling] Add pr info from the commits associated pr

* [Tooling] Log unexpected commit format before throwing error

* [Tooling] Prevent running script without sha of last commit of previous release
2024-02-02 18:59:57 +01:00
schroda
3973eda089 [ServerMapping][Codegen] Update to latest server gql MangaType changes (#546) 2024-01-11 03:53:06 +01:00
schroda
b42c3103f1 Feature/rebrand to suwayomi (#500)
* Rename "Tachidesk-WebUI" to "Suwayomi-WebUI"

* Rename "Tachidesk-Server" to "Suwayomi-Server"

* Rename "Tachidesk" to "Suwayomi"

* Rename variables
2024-01-05 20:11:29 +01:00
schroda
05fa3d0732 Fix/chapter not getting deleted after being read (#532)
* Create permanent subscriptions

The subscriptions have to be permanently open, otherwise, the cache gets outdated.

E.g. in case a view is open, which does not subscribe to the download updates, finished downloads are never received and thus, data of existing chapters/mangas in the cache get outdated

* [Codegen][Tool] Get latest data from cache for automatic chapter deletion after reading

The manga chapters query is on "standby" to prevent the reader from rerender in case the underlying query data updates, which would cause the reader to jump back to the beginning of the last read page.
Thus, when checking if the chapter should be automatically deleted, the data from the query can't be used, since it is outdated.
2024-01-01 22:40:39 +01:00
schroda
980da657d9 [Codegen] Check cache before executing query for a single item (#513)
E.g. in case a manga was already loaded through the category mangas query, the query for that specific manga should not run against the server if it hasn't been executed before
2023-12-25 21:20:07 +01:00
schroda
214043fe9d Fix/script changelog creation (#496)
* [Tooling] Select git commit author correctly

Caused the credit for a commit without a pr id to show as "@[object Object]"

* [Tooling] Fix typo in file name

* [Tooling] Use total commit count from webUI repos master branch
2023-12-13 23:48:35 +01:00
schroda
3b147b1b46 Fix/update gql after server changes (#469)
* [Codegen] Update files

* Update "AboutServer"

* Cache "WebUIUpdateInfo"
2023-11-24 01:33:56 +01:00
schroda
aad87463f3 [Codegen] Use gql for "loading chapters" 2023-10-27 20:23:44 +02:00
schroda
0087d3a87b [Tool][Codegen] Add script to post format the generated graphql file
Makes it possible to modify the generated graphql file by codegen.
2023-10-27 20:19:05 +02:00