Commit Graph

265 Commits

Author SHA1 Message Date
sakuradairong
44169f75d1 feat(terminal): real PTY lifecycle, typed socket handlers and graceful shutdown 2026-08-04 15:48:51 +08:00
sakuradairong
7640ef2347 feat(pty): fixed asset manifest, probe and control-channel transports 2026-08-04 15:48:51 +08:00
sakuradairong
d641a84de2 feat(easytier): add managed networking plugin
Add EasyTier installation, profile storage, secure runtime control, authenticated plugin UI, and operator documentation. Harden embedded plugin auth/assets and FRP helper installation alongside the new networking workflow.
2026-08-01 11:46:34 +08:00
sakuradairong
74c01bae0b fix: redact escaped SteamCMD credentials 2026-07-30 20:03:17 +08:00
yxsj245
770a67c600 Merge PR #96 'feat: add Steam branch management' into temp-review-pr96 for review 2026-07-30 19:40:21 +08:00
sakuradairong
27a2a76e79 feat: add Steam branch management 2026-07-30 17:43:51 +08:00
xiwangly2
1b3c74dee5 feat: implement external API configuration management and instance control endpoints 2026-07-30 11:12:45 +08:00
xiwangly2
6e77e5eb87 fix: enhance terminal session management with improved error handling and URL parameter processing 2026-07-29 19:21:18 +08:00
xiwangly2
207b77a65b feat: implement Linux SteamCMD runtime checks and fix command hints 2026-07-29 19:09:40 +08:00
xiwangly2
4e7f3cf086 feat: enhance SteamCMD installation process with runtime checks and task management 2026-07-29 19:00:11 +08:00
xiwangly2
34b4f3795e fix: implement tunnel tool status retrieval and auto-fill functionality for installed tools 2026-07-29 17:24:31 +08:00
xiwangly2
0e1a722a02 fix: add data path resolution and update instance creation logic for tunnel tools 2026-07-29 14:40:13 +08:00
xiwangly2
8149f3c07b feat: add download/update functionality for tunnel tools with automatic path resolution 2026-07-29 14:30:00 +08:00
xiwangly2
6aa6d29e22 fix: add file path resolution and executable detection for improved instance management 2026-07-29 14:00:10 +08:00
xiwangly2
77d1367cd9 feat: implement tunnel-helper plugin for frp and EasyTier configuration generation 2026-07-29 13:18:37 +08:00
xiwangly2
e5fad4b57f fix: enhance SteamCMD credential handling and improve user prompts 2026-07-29 12:48:46 +08:00
xiwangly2
49d9430d19 feat: enhance Terraria support with installation paths, start commands, and documentation updates 2026-07-29 12:16:48 +08:00
yxsj245
dad00c3215 Update version to 3.12.0 and adjust download sources for Java, Zip-Tools, and PTY
- Updated Docker image tags in GitHub Actions workflow to 3.12.0.
- Changed version display in AboutProjectPage to 3.12.0.
- Updated download URLs for Java 8, 11, 17, 21, and 25 in EnvironmentManagerPage.
- Modified 7z and Zip-Tools integration documentation to reflect changes in download strategy.
- Removed dual-source download strategy for Zip-Tools and PTY, now exclusively using GitHub Releases.
- Updated unit tests for 7z download logic to reflect changes in download strategy.
- Adjusted JavaManager to accept custom archive file names for downloads.
- Updated SchedulerManager to use a new remote URL for game list.
- Refactored environment route to provide sponsor download URLs for Java.
2026-07-21 10:20:42 +08:00
yxsj245
e8175d39a5 fix: 更新GSManager功能服务的URL和端口配置 2026-07-20 13:29:00 +08:00
yxsj245
da532471ee feat: add file deployment API and documentation
- Implemented preflight checks, upload session management, and deployment initiation for file deployments in the API.
- Added routes for file deployment including handling uploads from URLs and local files.
- Introduced logic for managing directory and instance strategies during deployment.
- Created a new documentation file detailing the file deployment process, supported formats, and usage instructions.
2026-07-20 12:47:50 +08:00
WFInfo
b499591f20 fix: 修复Windows幻兽帕鲁转发输出流功能
1. 使用PTY包装转发进程解决stdout块缓冲问题
   - Windows下通过spawn()以管道模式启动的进程,stdout会切换为块缓冲(~4KB)
   - 游戏服务器日志输出量低,缓冲区填不满导致输出不实时
   - 改用PTY二进制文件包装转发进程,让游戏服务器获得伪终端,保持行缓冲

2. 修复实例重启后旧PTY退出事件覆盖新实例状态的竞态条件
   - virtualSocket的terminal-exit处理器增加会话ID检查
   - 防止旧会话退出事件将新实例的status覆写为stopped

3. 修复handleInput中session.socket被无操作虚拟socket替换的问题
   - stopInstance/sendInput创建的虚拟socket会在会话断开时替换session.socket
   - 导致后续流转发输出丢失(emit变为空操作)
   - 增加socket.connected检查,仅允许真实Socket.IO连接替换

4. 实例会话启用autoCloseOnForwardExit
   - 转发进程退出后自动关闭无用的PTY shell
   - 加速实例停止流程,减少竞态条件窗口

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-12 13:40:11 +08:00
yxsj245
3b13f6a64b feat(server): add support for custom listening host and IPv6 access
1. 新增HOST环境变量配置项,支持自定义服务器监听地址
2. 修改默认监听地址为::以支持双协议栈
3. 扩展网络信息展示,同时显示可用IPv4和IPv6访问地址
2026-06-20 17:15:08 +08:00
yxsj245
11a4f957e3 fix: 修复响应头content-length解析可能的类型错误,统一处理空值
1.  将多处直接对response.headers['content-length']进行parseInt的代码,改为先通过String()包装处理空值情况,避免潜在的类型转换报错
2.  为factorio-deployer中的content-type获取添加了空值默认处理
3.  更新了项目依赖包版本并整理了dev依赖顺序
2026-06-20 17:07:53 +08:00
yxsj245
7c39453b24 Upgrade node-cron and postcss to fix Dependabot alerts 2026-04-30 09:15:30 +08:00
yxsj245
9a7039067d 新增用户代理支持,优化云构建和整合包构建任务的请求头 2026-04-24 20:52:54 +08:00
yxsj245
c4d926f3c9 Update network checks and add status board link 2026-04-22 15:54:11 +08:00
yxsj245
c0f637199a 新增云构建整合包标签页 2026-04-22 15:16:10 +08:00
yxsj245
885d823b0a Merge pull request #79 from hengwuming/feature/issue-75-mrpack-download-fix 2026-04-07 21:41:20 +08:00
hengwuming
0549ee2f64 fix(server): avoid duplicate zip extract copy 2026-04-07 21:32:42 +08:00
hengwuming
b25819be7a fix(server): avoid zip extract temp dir collisions 2026-04-07 21:16:55 +08:00
hengwuming
b15d7142e4 fix(server): harden filename encoding handling 2026-04-07 20:32:55 +08:00
yxsj245
ea57018b9b 增强WebSocket断连恢复机制,优化重连策略和错误处理 2026-04-07 12:35:48 +08:00
yxsj245
421bcb6749 修复云构建解压目录并切换Java核心部署接口 2026-04-07 11:44:18 +08:00
yxsj245
5560dbf042 优化压缩任务错误提示,增强用户反馈和任务管理 2026-04-05 17:46:36 +08:00
yxsj245
5d3e9f416f Fix UTF-16 editor save handling and preserve BOM 2026-04-05 17:35:38 +08:00
yxsj245
c25a883234 Preserve extra config fields in visual editor saves 2026-04-05 13:59:26 +08:00
hengwuming
02f8cd7639 fix(server): use fs-extra default import compat
Issue: #75

Reason:
- mrpack deployment could fail under ESM with "fs.readFile is not a function"
- importing fs-extra via  is not reliable in this runtime

Changes:
- add a shared fs-extra compatibility wrapper
- switch mrpack and related deployment modules to use the wrapper

Refs: #75
2026-04-05 12:38:57 +08:00
yxsj245
ffffb0c4ef Upgrade project dependencies and fix tar typing 2026-03-29 20:35:53 +08:00
yxsj245
56ba33e9de 修复arm Java安装问题 2026-03-13 00:17:20 +08:00
yxsj245
1543c71378 修复Windows平台打包 2026-03-01 12:12:42 +08:00
yxsj245
6b220bffcd 优化启动 2026-02-28 21:42:52 +08:00
yxsj245
982ec71946 fix:修复一些问题 2026-02-27 11:59:08 +08:00
yxsj245
b169b07111 feat:新增7zip 2026-02-27 11:34:29 +08:00
yxsj245
fbd63f85f4 迁移pty目录 2026-02-27 00:45:01 +08:00
yxsj245
ba5734bff9 新增zip工具 2026-02-27 00:30:46 +08:00
yxsj245
65c2f8de20 优化安全策略 2026-02-13 12:21:07 +08:00
yxsj245
108e94144e 更新云端链接 2026-02-09 11:55:06 +08:00
yxsj245
c5c77a0d01 更新云端链接 2026-02-08 23:44:17 +08:00
yxsj245
b2588c53bb 更新域名 2026-01-28 13:20:21 +08:00
yxsj245
56e18c883e 修正部分名称 2026-01-26 16:48:49 +08:00