Commit Graph

33 Commits

Author SHA1 Message Date
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
schroda
2f795b9d38 Fix/tools scripts tsconfig and linting (#406)
* [Tools] Fix linting

* [Tools] Fix yargs tsc issue
2023-08-15 22:20:24 +02:00
schroda
a3d36bdb17 Feature/introduce script to create changelog (#401)
* Introduce script to create a changelog

* Add information about version to server version mapping

* Add release process doc
2023-08-11 17:23:56 +02:00