ChengPlay
713202b6eb
feat: update golang.org/x/net version ( #8412 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-17 03:02:20 +00:00
巴山夜语
79020abb1c
feat(systemctl): implement service manager initialization and command execution ( #8380 )
...
* feat(systemctl): 实现服务管理器初始化和命令执行
- 新增 systemctl 包,实现对 systemd、openrc 和 sysvinit 三种服务管理器的支持
- 添加服务状态检查、启动、停止、重启和启用/禁用功能
- 实现服务发现和智能服务名处理
- 添加配置文件查看功能
- 优化错误处理和日志记录
* refactor(system): 重构系统服务管理逻辑
- 引入 systemctl 工具包以统一处理系统服务
- 优化服务状态获取、配置文件路径解析等逻辑
- 重构 HostToolService 中的 GetToolStatus 方法
- 更新 DockerService、SettingService 等相关服务的处理方式
- 调整快照创建和恢复过程中的服务处理逻辑
* feat(utils): 添加目录复制功能并优化文件复制逻辑
- 新增 CopyDirs 函数,用于复制整个目录及其内容
- 添加对符号链接的复制支持
- 实现通用的 Copy 函数,根据文件类型自动选择 CopyFile 或 CopyDirs
- 在 CopyFile 函数中增加对源文件是目录的检查和错误提示
* refactortoolbox: 重构 Fail2ban 和 Pure-FTPd 的管理逻辑
- 优化了 Fail2ban 和 Pure-FTPd 的启动、停止、重启等操作的实现
- 改进了 Fail2ban 版本信息的获取方法
- 统一了错误处理和日志记录的格式
- 调整了部分导入的包,提高了代码的可维护性
* build: 禁用 CGO 以提高构建性能和兼容性
- 在 Linux 后端构建命令中添加 CGO_ENABLED=0 环境变量
- 此修改可以提高构建速度,并确保生成的二进制文件在没有 C 库依赖的环境中也能运行
* refactor(docker): 重构 Docker 服务的重启和操作逻辑
- 添加 isDockerSnapInstalled 函数来判断 Docker 是否通过 Snap 安装
- 在 OperateDocker 和 restartDocker 函数中增加对 Snap 安装的处理
- 移除未使用的 getDockerRestartCommand 函数
* fix(service): 优化快照恢复后的服务重启逻辑
- 在使用 systemd 管理服务时,增加 daemon-reload 操作以确保服务配置更新
- 重启 1panel 服务,以应用快照恢复的更改
* refactor(server): 支持非 systemd 系统的恢复操作
- 增加 isSystemd 函数判断系统是否为 systemd 类型
- 根据系统类型选择性地恢复服务文件
- 兼容 systemd 和非 systemd 系统的恢复流程
* fix(upgrade): 优化升级过程中的服务重启逻辑
- 移动服务重启逻辑到版本号更新之后,修复因提前重启导致的版本号未更新BUG。
- 在 systemctl 重启之前添加 daemon-reload 命令
---------
Co-authored-by: gcsong023 <gcsong023@users.noreply.github.com>
2025-04-17 10:26:13 +08:00
chiichen
83ef41cf1a
feat: basic support riscv64 ( #8369 )
...
* feat: add riscv64
* feat: correct arch related codes
2025-04-17 10:24:04 +08:00
dependabot[bot]
91675c69e9
chore(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0 ( #8400 )
...
SonarCloud Scan / SonarCloud (push) Has been cancelled
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.32.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.35.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 11:41:42 +08:00
ChengPlay
0e68065b40
feat: change commandPlaceHolder translate ( #8391 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-14 08:56:12 +00:00
ssongliu
600b769083
fix: Fix the mysql root account permission switchover exception ( #8378 )
SonarCloud Scan / SonarCloud (push) Has been cancelled
2025-04-11 07:08:02 +00:00
zhengkunwang
e7670f96de
feat: update mcp proxy_pass ( #8374 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-10 16:45:24 +08:00
zhengkunwang
342c04b30a
fix: fix issue with mcp bind website ( #8356 )
SonarCloud Scan / SonarCloud (push) Has been cancelled
2025-04-09 03:55:56 +00:00
zhengkunwang
5ab8377ac1
feat: update allowPort check ( #8355 )
2025-04-09 02:47:54 +00:00
ssongliu
74eb2c8dd6
fix: Fix the problem that jumping to a directory that does not exist … ( #8353 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-08 14:33:54 +00:00
zhengkunwang
f136d97941
change mcp helper ( #8352 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-08 10:59:53 +00:00
ssongliu
a5629e3f42
fix: Fix the problem of failed MySQL permission modification ( #8351 )
2025-04-08 10:49:53 +00:00
zhengkunwang
515d6ca500
fix: fix bug with mcp-server status error ( #8349 )
2025-04-08 09:21:53 +00:00
zhengkunwang
c0ccc0318d
feat: add warn text for mcp server ( #8346 )
2025-04-08 05:55:52 +00:00
zhengkunwang
8196c11010
feat: import mcp server support env ( #8344 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-08 03:11:52 +00:00
ssongliu
170bd22062
fix: Modify database verification rules ( #8342 )
2025-04-08 02:39:52 +00:00
zhengkunwang
097a33c68f
style: update style for mcp server ( #8338 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-07 11:09:51 +00:00
zhengkunwang
3be3bf9926
feat: remove env from mcp config ( #8337 )
2025-04-07 10:03:50 +00:00
zhengkunwang
038f2b4f54
feat: change mcp list style ( #8336 )
2025-04-07 09:35:50 +00:00
zhengkunwang
f84e284c20
feat: change DNSTypes order ( #8335 )
2025-04-07 09:01:50 +00:00
ssongliu
48e75b5916
fix: Set bridge as the default network for container creation. ( #8332 )
2025-04-07 07:47:49 +00:00
zhengkunwang
a12ceaee6e
feat: add config for mcp server ( #8331 )
2025-04-07 07:41:51 +00:00
zhengkunwang
9050680115
feat: update mcp form label ( #8327 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-07 02:49:49 +00:00
zhengkunwang
0022a9b508
fix: fix issue with install app no label ( #8326 )
2025-04-07 02:47:49 +00:00
zhengkunwang
3437d62f31
feat: Website SSL DNS Type support WestCN ( #8305 )
SonarCloud Scan / SonarCloud (push) Has been cancelled
2025-04-02 10:21:54 +00:00
ssongliu
dc880835d0
fix: Modify the container terminal connection mode ( #8301 )
2025-04-02 10:19:54 +00:00
ssongliu
1663bf8677
fix: Regenerates the interface document ( #8298 )
SonarCloud Scan / SonarCloud (push) Waiting to run
2025-04-02 09:07:54 +00:00
ssongliu
aed236cbc9
fix: Ignore the scheduled task backup content failed to be uploaded ( #8297 )
...
Refs #7869
2025-04-02 09:05:54 +00:00
ssongliu
90be74504e
feat: Support the retention of remote backup files when deleting sche… ( #8296 )
...
Refs #8236
2025-04-02 09:03:55 +00:00
zhengkunwang
bba8aab18c
feat: Add MCP management ( #8299 )
2025-04-02 09:01:54 +00:00
ssongliu
47d135ecca
fix: Optimize database password verification and password change ( #8294 )
2025-04-02 16:03:44 +08:00
ssongliu
d96fe49993
fix: Resolve cloudns reference error ( #8293 )
2025-04-02 03:41:53 +00:00
ssongliu
ac396b61ce
fix: Modify the panel password verification rule ( #8291 )
...
Refs #4290
2025-04-02 03:39:54 +00:00
ssongliu
6798d0c7ee
fix: Fixed an update failure when the container network is bridge ( #8290 )
...
Refs #8209
2025-04-02 03:37:53 +00:00
亖
1490ed7541
dev:修复注释路由前缀 ( #8292 )
2025-04-02 10:10:00 +08:00
白铭骢 (Mingcong Bai)
48b3032de6
chore(deps): update modernc.org/sqlite to v1.29.7 ( #8260 )
...
SonarCloud Scan / SonarCloud (push) Failing after 0s
With modernc.org/sqlite@v1.29.1, 1Panel fails to build on LoongArch with
the following error:
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/defs.go:13:35: undefined: sqlite3_index_constraint
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/defs.go:14:35: undefined: sqlite3_index_orderby
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/defs.go:15:35: undefined: sqlite3_index_constraint_usage
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:19:5: undefined: Xsqlite3_threadsafe
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:29:11: undefined: Xsqlite3_config
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:29:32: undefined: SQLITE_CONFIG_MUTEX
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:29:122: undefined: SQLITE_OK
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:30:8: undefined: Xsqlite3_errstr
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:40:17: undefined: Sqlite3_mutex_methods
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:239:46: undefined: SQLITE_OK
../../go/pkg/mod/modernc.org/sqlite@v1.29.1/lib/mutex.go:239:46: too many errors
Upstream introduced LoongArch (loong64) target support in
modernc.org/sqlite@v1.29.7. Take a conservative approach and bump
modernc.org/sqlite to v1.29.7, this will allow for 1Panel to build on
LoongArch (both frontend and backend).
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
2025-03-27 13:45:10 +08:00
sunsky
ed12bec460
feat: add DNS provider ClouDNS ( #8207 )
...
SonarCloud Scan / SonarCloud (push) Failing after 10m28s
* feat: add DNS provider ClouDNS
* feat: ClouDNS account parameter validation
2025-03-25 10:12:14 +08:00
dependabot[bot]
3c4a1ea614
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 ( #8229 )
...
SonarCloud Scan / SonarCloud (push) Failing after 14m11s
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 17:38:30 +08:00
ssongliu
79eb0288b4
fix: Fix the problem that the terminal exit fails ( #8189 )
SonarCloud Scan / SonarCloud (push) Failing after -28s
2025-03-19 03:43:21 +00:00
蘭
99775e1eb4
fix: Fix some issues ( #8178 )
SonarCloud Scan / SonarCloud (push) Failing after 13m0s
2025-03-18 17:16:23 +08:00
zhengkunwang
db848b41d2
feat: update buildx and containerd version ( #8183 )
2025-03-18 17:13:36 +08:00
david082321
b5b11dff86
Update tw.ts ( #8161 )
SonarCloud Scan / SonarCloud (push) Failing after 14m22s
2025-03-17 10:58:19 +08:00
zhengkunwang
9cf4bfc606
feat: update golang.org/x/net version to v0.37.0 ( #8146 )
SonarCloud Scan / SonarCloud (push) Failing after -22s
2025-03-13 18:30:25 +08:00
ThinkStu
221162d44f
Update zh.ts ( #8136 )
...
SonarCloud Scan / SonarCloud (push) Failing after -22s
correct typos
2025-03-12 22:43:20 +08:00
蘭
617970a1f8
fix: license setting data ( #8132 )
2025-03-12 16:25:32 +08:00
ssongliu
5610c73d67
fix: Fix the problem that services exit unexpectedly when the contain… ( #8127 )
SonarCloud Scan / SonarCloud (push) Failing after -22s
2025-03-12 03:19:03 +00:00
ssongliu
51fe02661f
fix: Fix the problem of incorrect calculation of container memory res… ( #8125 )
...
Refs #8033
2025-03-12 02:13:03 +00:00
lm379
8f491b2933
feat: allow tencent cloud cos dual stack domain ( #8123 )
...
SonarCloud Scan / SonarCloud (push) Failing after -23s
Co-authored-by: lm379 <lm379@qq.com>
2025-03-11 23:58:23 +08:00
王贺
b7e16bd6d5
Update .goreleaser.yaml ( #8118 )
SonarCloud Scan / SonarCloud (push) Failing after -20s
2025-03-11 13:50:48 +08:00
ssongliu
38ca2ddd01
fix(container): Fix cpu surge when the container terminal executes exit ( #8115 )
SonarCloud Scan / SonarCloud (push) Failing after -21s
2025-03-10 23:47:50 +08:00