46 Commits
Author SHA1 Message Date
admin 81e47d4b12 fix: 镜像与 release 都带上 xbctl
Build way-node / Build and Push (push) Successful in 1m10s
装 way-node 时报:
  curl: (22) The requested URL returned error: 404
  [ERROR] Failed to download xbctl from .../releases/download/<tag>/xbctl-linux-amd64

install.sh 除了 way-node 还要下 xbctl(配套 CLI),而 Dockerfile 只编了
way-node、release 也只挂了 way-node 资产。

- Dockerfile: builder 阶段同时 go build cmd/xbctl,运行时 COPY 进 /usr/local/bin
- workflow: extract 步骤从镜像里把 xbctl 也 cp 出来
- workflow: release 上传改成循环,way-node 与 xbctl 各挂一个资产
20261127-81e47d4
2026-11-27 12:10:33 +08:00
admin b7e079ac14 fix(ci): release id 解析取顶层字段
Build way-node / Build and Push (push) Successful in 1m14s
上一轮日志显示 '✓ 资产已上传: .../releases/1',RID 解析成了 1。
Gitea 的 release JSON 里 "id" 出现多次(顶层、author.id、repo.id),
按逗号拆行后用 ^"id": 锚定行首匹配不到(首行是 {"id":458 带花括号),
改回 grep -o '"id":[0-9]*' | head -1 —— 顶层 id 总是最先出现。

已用真实 API 验证:
  /releases/tags/20261127-66caaba → 解析出 458 ✓

同时补上了 release 458 缺失的 way-node-linux-amd64 资产(手动)。
20261127-b7e079a
2026-11-27 11:48:58 +08:00
admin 66caaba5bc fix: install.sh 兼容 Gitea 下载路径 + CI 补 curl
Build way-node / Build and Push (push) Successful in 1m16s
1) install.sh: Gitea 不支持 GitHub 的 /releases/latest/download/ 简写
   (实测 404),改成先用 Gitea API /releases/latest 查 tag_name,
   再拼 /releases/download/<tag>/<artifact>(实测 200,66875554 bytes)。
   解析用 sed,不依赖 jq/python。

2) CI: 上一轮 release 上传静默失败,日志是
   '/root/.cache/act/.../7.sh: line 6: curl: command not found'
   根因是装 curl 的语句写在 'if ! command -v docker' 里面,
   而 docker 本来就存在(runner 挂了 docker.sock),整段被跳过。
   现在 curl 单独检查安装;release id 解析也从 python3 换成 sed。
20261127-66caaba
2026-11-27 11:46:19 +08:00
admin ed33412f04 fix(ci): 修正 act_runner 里的挂载路径问题
Build way-node / Build and Push (push) Successful in 1m0s
第一次构建失败:
  docker run -v "$PWD":/src golang:1.26 go test ./internal/...
  → pattern ./internal/...: directory prefix internal does not contain main module

根因:act_runner 的 job 容器里 $PWD 是容器内路径,而 docker.sock 连的是宿主
docker,所以 -v 挂进去的是空目录。

改法:
- 去掉 workflow 里的 docker run(test / cross compile 两处)
- 编译交给 Dockerfile 的多阶段构建(golang:1.26-alpine builder 阶段)
- 二进制从构建好的镜像里 docker cp 出来,供 install.sh 下载
- 用 Gitea API 建 release 并上传资产(替代 softprops/action-gh-release)
v1.0.0
2026-11-27 11:43:03 +08:00
admin 860fb66442 feat: way-node — 完整更名与 Gitea CI
Build way-node / Test, Build, Push (push) Failing after 14s
- Go module: github.com/cedar2025/xboard-node → github.com/viaeon/way-node(307 处 import 同步)
- cmd/xboard-node/ → cmd/way-node/
- install.sh: APP_NAME / INSTALL_ROOT(/etc/way-node) / BINARY_PATH / SERVICE_NAME 全部更名,
  下载源与 Documentaion 指向 git.viaeon.com/admin/way-node
- Makefile / Dockerfile 产物与镜像路径更名
- README 全篇重写链接
- 新增 .gitea/workflows/build.yml:容器内跑测试 + 交叉编译 + 构建镜像推 git.viaeon.com/admin/way-node
  构建全程在 golang:1.26 容器里,不依赖 runner 宿主装 Go
- 禁用 .github/workflows/ci.yml(依赖 ghcr.io 与 GITHUB_TOKEN,Gitea 上跑不通)

保留:xbctl 工具名(不含旧品牌)、go.sum 里上游依赖哈希
2026-11-27 11:41:30 +08:00
xboard 0a29338e1f fix(cert): reload PEM on warm restart and rebuild ACME on config change 2026-04-20 04:07:55 +08:00
xboard 68ca2d2716 feat(cert): add registry-based DNS provider system with 21 libdns providers
Refs #37
2026-04-20 03:28:11 +08:00
xboard 07c37023ab refactor: xbctl self-contained, remove install.sh dependency for status/upgrade/uninstall/bind 2026-04-18 03:46:12 +08:00
xboard 71c53e1071 feat: add xhttp transport, network monitoring and kernel auto-switch 2026-04-18 02:06:23 +08:00
Xboard 65d97f3da1 Update README 2026-04-17 06:07:35 +08:00
xboard 42948ba37c fix: xbctl not found after install
- Symlink /usr/local/bin/xbctl → /usr/bin/xbctl for distros where /usr/local/bin is not in PATH
- Show CLI path in install success message
- Remove symlink on uninstall
2026-04-17 06:00:14 +08:00
xboard 680795cdfc refactor: install.sh and xbctl 2026-04-17 05:31:53 +08:00
xboard 17823891a2 fix: use POST for machine/nodes endpoint to prevent token URL leakage 2026-04-17 04:01:38 +08:00
xboard c5bcbc3299 feat: machine mode, PEM-only certs, ECH support, multi-instance config, batch ops, xbctl 2026-04-17 00:10:37 +08:00
xboard 598b6b531b feat: add standalone controlplane support 2026-04-11 05:39:59 +08:00
xboard e9672fbdbe chore: update dockerfile 2026-03-30 17:01:28 +08:00
xboard f7ce8f22d4 feat(xray): add hysteria v2 inbound and VLESS encryption support 2026-03-30 16:55:02 +08:00
xboard 19aa20be87 chore: upgrade xray-core v1.260206.0 → v1.260327.0 2026-03-30 03:06:08 +08:00
xboard 920b0b1e09 fix: handle UUID update in add event 2026-03-27 01:21:57 +08:00
xboard 95f582c74f fix: correct sing-box traffic directio 2026-03-26 13:52:36 +08:00
xboard 4b10271ce0 fix: add nil checks for TLS config in sing-box inbound builders 2026-03-26 11:35:15 +08:00
xboard 691ca93c82 fix: update existing limiter rates & adapt flush test for dedup 2026-03-25 18:31:37 +08:00
xboard b51cecfe17 feat: multi-node device limit, optimize rate limiter 2026-03-25 17:38:40 +08:00
xboard 7e3ad7cb23 feat: nlog, config hot-reload, and concurrency fixes 2026-03-24 23:12:55 +08:00
xboard 191e58b9ee docs: update readme.md 2026-03-24 00:01:13 +08:00
xboard 3f1234a05c refactor: rework limiter, traffic accounting, and logging (nlog) 2026-03-23 23:01:13 +08:00
xboard 4676caac96 fix: fix Shadowsocks support for Xray kernel 2026-03-23 15:36:01 +08:00
xboard e8e2abbc37 perf: optimize throughput and scheduler efficency 2026-03-23 14:46:43 +08:00
xboard 4f1f41aa5d fix: fix Trojan compatibility in xray kernel 2026-03-23 00:14:16 +08:00
xboard bfc24c348a fix: fix Trojan compatibility 2026-03-22 23:58:36 +08:00
xboard aaad2babfd fix: fix Shadowsocks 2022 compatibility 2026-03-22 22:14:34 +08:00
Xboard ea832c8907 Update README to remove script installation section
Removed script installation instructions from README.
2026-03-19 02:40:42 +08:00
Xboard 618263a5d0 Enhance CI workflow for versioning and release handling
Updated CI workflow to include versioning and handle releases for both tags and the dev branch.
2026-03-19 02:15:16 +08:00
xboard 8f13a02ca8 fix: resolve padding_scheme decode error in WebSocket config sync 2026-03-17 03:02:51 +08:00
xboard 3e457e8ac6 feat: add Mieru protocol and major system performance optimizations 2026-03-16 22:22:04 +08:00
xboard 7a37c15fdc fix: resolve Vless+Reality handshank failure in singbox core 2026-03-16 07:29:22 +08:00
xboard 0975b45404 refactor: optimize user management, fix speed limit hot-reload and improve performance 2026-03-16 06:55:42 +08:00
xboard 08795d2e04 refactor: enforce panel precedence for outbound tags
- Avoid duplicate 'block'/'direct' tag error in sing-box/Xray
- Let panel or local config override internal defaults
- Ref #1
2026-03-16 01:56:52 +08:00
xboard 8a5034f2c4 chore: integrate makefile with ci 2026-03-16 01:31:25 +08:00
xboard f264d26fc6 build: sync feature tags and update tests for weak type handling 2026-03-15 14:35:00 +08:00
xboard 744237ff56 build: add optional feature tags to Makefile and Dockerfile 2026-03-15 14:28:52 +08:00
xboard 3478eb52a1 refactor: improve config parsing robustness 2026-03-15 13:10:54 +08:00
xboard f83952a0dd ci: support multi-arch docker builds (amd64/arm64) 2026-03-15 09:58:19 +08:00
xboard 05cabb3171 ci: enable automated docker build and ghcr push 2026-03-15 09:41:46 +08:00
xboard 30ef041118 ci: update go version to 1.25.7 to match go.mod 2026-03-15 09:36:36 +08:00
xboard 37e6c016cb init xboard node 2026-03-15 09:34:02 +08:00