43 Commits
Author SHA1 Message Date
qwqcode d25beede91 fix(scripts): detect unpublished npm versions
Query the npm registry for the exact local version instead of comparing only with the latest dist-tag.

Report unpublished packages accurately and avoid spawning pnpm for each lookup.
2026-07-25 04:01:48 +08:00
qwqcode ca3d37fc2d fix(build): propagate image version metadata
Inject the requested release version and commit hash through Go linker variables so Docker images report the version they were built for, and make release preparation update the linkable version variable.\n\nAssert the version in release image smoke tests and trim unused files from Docker build contexts while preserving both prebuilt-UI and full frontend build paths.
2026-07-22 22:20:27 +08:00
qwqcode 9fe237660c chore(scripts): bound registry downloads 2026-07-22 22:20:23 +08:00
qwqcode 617de2cdf1 fix(scripts): harden npm publish check 2026-07-22 22:20:23 +08:00
qwqcode e6a5c2d4b9 fix(scripts): import Buffer explicitly
Use the node:buffer entry point instead of relying on an implicit global when the plugin registry fetch script computes response sizes.
2026-07-22 22:13:44 +08:00
qwqcode 5c3df4776e feat(go): upgrade golang to v1.26.2 and some deps 2026-05-05 20:33:17 +08:00
qwqcode eb3310c537 chore(ci): tidy up frontend build shell scripts 2024-11-24 23:53:20 +08:00
qwqcode c2b9afa1a1 feat(plugins): add plugin registry fetch script
- Introduce `fetch-registry.mjs` to download `registry.json` from `ArtalkJS/Community` repo for the latest release
- Update `build:docs` script to include registry fetch
2024-10-22 11:23:35 +08:00
qwqcode bd0db8cd57 chore(docs): revise ui config docs 2024-10-06 21:45:01 +08:00
qwqcode 206a26d0c1 feat(ui): add npm published version check script
- Introduce check:publish script to verify npm versions
- Ensure all projects have the latest versions on npm
- Skip private packages during version checks
- Allow filtering by specific project name with -F option
2024-10-05 21:13:02 +08:00
qwqcode 53aaf27fdf chore(deps): upgrade frontend deps 2024-09-18 21:56:38 +08:00
qwqcode cf58a545b5 chore(deps): upgrade deps 2024-08-28 16:12:43 +08:00
qwqcode 08f58cd38b chore(deps/ui): upgrade deps for frontend 2024-08-17 15:07:56 +08:00
qwqcode d4ed7f64b2 refactor(ui): fix linter issues for ui and docs (#917)
* refactor(ui): fix linter issues for ui and docs

* fix ci
2024-06-09 18:31:04 +08:00
qwqcode 0e75457499 chore(deps): upgrade node and pnpm 2024-06-08 16:55:20 +08:00
qwqcode 860dd698e7 feat(go): upgrade golang to v1.22.3 and some deps 2024-05-25 18:36:52 +08:00
qwqcode 5dea08a3f2 feat(ci): include frontend dist files in release (#860) 2024-05-09 13:24:50 +08:00
qwqcode 92464085e6 chore(pkg_manager): upgrade pnpm to v9.1.0 2024-05-09 11:52:08 +08:00
qwqcode 0c0a207068 chore(deps): upgrade go and ui deps 2024-05-03 23:25:41 +08:00
qwqcode 7187d0f058 feat(ui/auth): plugin-auth for integrating social login (#854) 2024-05-03 23:24:58 +08:00
qwqcode ed9a78472d chore(ui/dev): bump node to v20.12.1 2024-04-07 19:49:39 +08:00
qwqcode b60cb585b6 perf(db): optimize N+1 query in comment list (#799) 2024-03-17 21:01:42 +08:00
qwqcode 18e6ae5b17 chore(ci/nightly): improve nightly build workflow 2024-03-15 17:57:17 +08:00
qwqcode 589850d311 refactor(api): refactor HTTP API to version 2 (#735)
* refactor(api): refactor HTTP API to version 2

* refactor: remove forced site_origin check

* refactor: update http client

* fix

* add more api description and error code

* reduce nestings in response structures

* separate unread

* refactor(api/comments): get comments

* refactor: frontend api module

* chore: remove vite temporary file

* chore: restore swagger file

* update

* 移除为管理员分配站点名的站点隔离功能,简化实现

* refactor pagesAllFetch

* fix ci

* remove useless codes

* limiter protected paths

* add test for version endpoint

* rename handler code files

* code file separate

* fix some bug of interacting with backend

* add fetch error class for handling

* fix and rename

* refactor: checker support both `Promise` and callback fn

* fix new checker captcha iframe url

* rename and add swagger id field

* replace tab with spaces in go comment

* chore: refine

* complete the validate tag for request fields and enable `--defaultRequired`

90% of the request fields of our API are required,100% of response fields in our API are required.
Each field add validate:"required" is easy to miss.

* replace original api client with auto-generated codes

* artalk pkg apply new api client

* artalk-sidebar pkg apply new api client

* fix issues

* fix sidebar locale conf and refactor user login

* fix and refactor captcha and limiter

* fix ui testing

* add script to build http client by swagger.json
2024-01-24 21:33:30 +08:00
qwqcode a8bcd41f36 refactor(ui): refactor directory structure (#712)
* refactor(ui): refactor directory structure

* update config files

* update github workflows

* update vscode settings.json

* update docs

* update build scripts

* tidy up

* fix docs build
2023-12-21 23:51:26 +08:00
qwqcode 7a0a9dbd92 chore(ci): fix ci pnpm version 2023-12-19 17:07:23 +08:00
qwqcode 60336e567d test(ci): migrate UI tests back to Github Actions (#692) 2023-12-18 23:16:16 +08:00
qwqcode fb93231b35 feat(ui/test): add end-to-end (e2e) testing using Playwright 2023-11-05 22:45:53 +08:00
qwqcode 600030b528 chore(script): move dev config from local to data folder 2023-09-12 16:09:37 +08:00
qwqcode 04a96d4ab8 chore(build): upgrade pnpm and node 2023-09-01 17:02:03 +08:00
qwqcode 4853b6cc5d chore(build): bump pnpm to v8.4.0 2023-05-09 10:45:42 +08:00
qwqcode 79dea425ea feat(build): add embedded fe lite and i18n scripts (#493) (#505) 2023-05-09 10:41:28 +08:00
qwqcode 6d21c2b074 fix(CI): upgrade and pin node.js and pnpm version (#484)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-04-09 19:46:52 +08:00
qwqcode b40c0db7a0 feat(ui): add some static methods
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-10 20:16:18 +08:00
qwqcode 7e01f9d0ed chore: revert the rename of image on dockerhub (#351)
Signed-off-by: qwqcode <qwqcode@gmail.com>

Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-20 13:28:14 +08:00
pluveto 0f8d3f935a refactor(scripts): double quote to prevent globbing and word splitting 2023-01-18 12:30:00 +00:00
qwqcode f89f87d92f fix: docker image build script
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-17 20:24:45 +08:00
pluveto 61da5eb6ef docs: update setup-example-site.sh script usage 2023-01-17 09:15:09 +00:00
pluveto f210f154c3 feat: one-key site creating with artalk integrated 2023-01-17 09:10:58 +00:00
qwqcode 1b7766ca87 fix: config alias and Dockerfile
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-17 16:37:39 +08:00
pluveto 8d4219af87 refactor: renamed from artalk-go to artalk 2023-01-17 05:22:09 +00:00
qwqcode d229a628ba refactor: build scripts and CI tests
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-17 00:16:04 +08:00
pluveto 4f046f8d0e refactor: move from tmp dir to root 2023-01-16 21:34:24 +08:00