Compare commits

...

562 Commits

Author SHA1 Message Date
李佳航
d8818c3ec2 Merge pull request #143 from dromara/dev
Dev
2025-10-21 17:04:29 +08:00
lijiahangmax
91fecad956 🔨 升级 sql 脚本. 2025-10-21 16:56:47 +08:00
lijiahangmax
9635aa34a7 🔨 修改标题样式. 2025-10-21 13:52:02 +08:00
lijiahangmax
a2f7ab7f9c 🔨 升级版本. 2025-10-20 00:23:48 +08:00
lijiahangmax
55d0dfd27d 🔨 优化告警引擎. 2025-10-19 15:34:53 +08:00
lijiahangmax
eb18142926 🔨 可调整列宽. 2025-10-18 22:21:30 +08:00
lijiahangmax
0649c4e3de 🔨 优化错误提示. 2025-10-17 14:14:34 +08:00
lijiahangmax
f648e18557 🔨 优化数据分组逻辑. 2025-10-17 14:12:14 +08:00
lijiahangmax
9d3b46e9b3 🔨 策略描述非必填. 2025-10-15 15:07:37 +08:00
lijiahangmax
14dfe457bf 🔨 优化告警引擎. 2025-10-15 01:35:40 +08:00
lijiahangmax
9651354317 🔨 添加策略类型. 2025-10-13 18:23:07 +08:00
lijiahangmax
8929aa2f74 🔨 优化监控逻辑. 2025-10-13 17:39:00 +08:00
lijiahangmax
ea98592012 🔨 监控页面连接终端. 2025-10-10 13:26:01 +08:00
lijiahangmax
b0be444fba 🔨 优化系统配置逻辑. 2025-10-09 14:31:43 +08:00
李佳航
b3daacbd8f Merge pull request #141 from dromara/dev
🚀 升级版本.
2025-10-08 10:00:02 +08:00
lijiahangmax
37fc271741 🚀 升级版本. 2025-10-08 09:59:30 +08:00
李佳航
bd76eb255d Merge pull request #140 from dromara/dev
Dev
2025-10-08 09:56:44 +08:00
lijiahangmax
0810de23ea 🔨 设置 ulimits. 2025-10-08 09:51:29 +08:00
lijiahangmax
9f2e4582cc Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	orion-visor-ui/src/api/monitor/monitor-host.ts
2025-10-08 09:44:24 +08:00
lijiahangmax
8e52631b46 🔨 修改前端逻辑. 2025-10-08 09:39:28 +08:00
lijiahangmax
7cd885a050 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	sql/init-4-data.sql
2025-10-07 22:25:16 +08:00
lijiahangmax
3045512320 🚀 升级版本. 2025-10-07 22:24:50 +08:00
lijiahangmax
55c2199c3f 🔨 修改 sql 脚本. 2025-10-07 22:23:37 +08:00
lijiahangmax
963cd0b227 🔨 修改标签查询逻辑. 2025-10-07 16:06:00 +08:00
lijiahangmax
1d5c579e64 🔨 修改文本描述. 2025-10-07 15:46:53 +08:00
lijiahangmax
773d95207f 🔨 统一前端卡片风格. 2025-10-07 14:27:19 +08:00
lijiahangmax
2103698417 🔨 优化标签查询逻辑. 2025-10-07 14:26:40 +08:00
lijiahangmax
25082b9ea1 🔨 线程池配置化. 2025-10-07 00:28:49 +08:00
lijiahangmax
cb20d56a7b 🚀 修复告警引擎初始化异常的问题. 2025-10-07 00:28:34 +08:00
lijiahangmax
d58d46ca8c 🔨 修改 influx 查询语句. 2025-10-06 16:18:20 +08:00
lijiahangmax
29e6db75ca 🔨 登录失败提示. 2025-10-04 21:31:03 +08:00
lijiahangmax
86abf4f634 🔨 告警记录. 2025-09-29 13:35:47 +08:00
李佳航
876e763fcc Merge pull request #139 from dromara/dev
Dev
2025-09-27 19:35:47 +08:00
lijiahangmax
32d60a4d43 🚀 升级版本. 2025-09-27 19:32:22 +08:00
lijiahangmax
6ffc5d27b5 🔨 修改样式. 2025-09-25 21:57:52 +08:00
lijiahangmax
ac412b0dde 🔨 修改代码生成器模板. 2025-09-25 14:43:07 +08:00
lijiahangmax
4bdb61870a 🔨 修改配置. 2025-09-25 12:20:32 +08:00
lijiahangmax
24ad1f64df 🔨 修改配置. 2025-09-25 11:31:57 +08:00
李佳航
6774376418 Merge pull request #138 from dromara/dev
🔨 修改样式.
2025-09-25 01:40:40 +08:00
lijiahangmax
364120c143 🔨 修改样式. 2025-09-25 01:37:48 +08:00
李佳航
cb59390fed Merge pull request #137 from dromara/dev
Dev
2025-09-25 00:59:39 +08:00
lijiahangmax
69bc5b859f 🔨 nginx 修改. 2025-09-25 00:51:44 +08:00
lijiahangmax
c420747c6f 🔨 sql 升级脚本. 2025-09-24 23:38:44 +08:00
lijiahangmax
1881086e98 🔨 监控模块. 2025-09-24 23:09:58 +08:00
lijiahangmax
eb8d618c2a 🔨 修改配置. 2025-09-24 18:37:22 +08:00
lijiahangmax
8aa8cda677 🔨 前端升级. 2025-09-24 15:54:01 +08:00
lijiahangmax
e67ee60361 Merge remote-tracking branch 'origin/dev' into dev 2025-09-16 00:17:39 +08:00
lijiahangmax
29fcdd311e 🔨 添加 logo. 2025-09-16 00:17:25 +08:00
lijiahangmax
bb243cf195 🔨 修改配置. 2025-09-12 17:33:41 +08:00
李佳航
670e40f6f0 Merge pull request #135 from dromara/dev
✏️ 修改 issues 模板.
2025-09-11 23:22:05 +08:00
lijiahangmax
feb379f85f ✏️ 修改 issues 模板. 2025-09-11 23:10:39 +08:00
李佳航
a8de5ab713 Merge pull request #134 from dromara/dev
🚑 修改 docker 配置.
2025-09-11 21:30:29 +08:00
lijiahangmax
4b0c91f106 🚑 修改 docker 配置. 2025-09-11 21:24:16 +08:00
李佳航
8d46e1d44d Merge pull request #133 from dromara/dev
🔨 修改 tsc.
2025-09-11 20:44:36 +08:00
lijiahangmax
b3c045aa46 🔨 修改 tsc. 2025-09-11 20:44:03 +08:00
李佳航
ca4ec20e49 Merge pull request #132 from dromara/dev
Dev
2025-09-11 20:38:27 +08:00
lijiahangmax
8db2986dfc 🔖 升级版本. 2025-09-11 01:09:37 +08:00
lijiahangmax
3156ae1dff ✏️ 添加切图. 2025-09-10 21:53:53 +08:00
lijiahangmax
697d29c6f2 🔨 修改配置. 2025-09-10 18:11:54 +08:00
lijiahangmax
bf4b1f9702 🔖 修改版本. 2025-09-10 01:44:58 +08:00
lijiahangmax
d2703661c8 🐳 修改 docker 配置. 2025-09-10 01:43:11 +08:00
lijiahangmax
df78fc5977 🔨 修改配置文件. 2025-09-09 23:46:02 +08:00
lijiahangmax
5e03810295 🔨 sql 脚本. 2025-09-09 23:10:03 +08:00
lijiahangmax
6b44e193f5 🔨 修改文档. 2025-09-09 22:45:23 +08:00
lijiahangmax
919e8383bf 🔨 修改插件包名. 2025-09-09 22:27:51 +08:00
lijiahangmax
0b7faa038a 🔨 监控逻辑. 2025-09-09 21:25:44 +08:00
lijiahangmax
3c75aedcec 🔨 优化锁逻辑. 2025-08-23 15:05:03 +08:00
lijiahangmax
393286d309 🔨 修改项目加密模块. 2025-08-23 14:11:15 +08:00
lijiahangmax
8501e900c7 🔨 修改代码生成器模板. 2025-08-13 00:00:45 +08:00
lijiahangmax
c53042a4b5 🔨 修改代码生成器模板. 2025-08-12 23:28:30 +08:00
lijiahangmax
c661d34a79 🔨 修改主机配置字段. 2025-08-10 19:29:57 +08:00
lijiahangmax
a3476596dd 🔨 修改额外配置字段名称. 2025-08-10 19:26:33 +08:00
lijiahangmax
8a4176bc9e Merge remote-tracking branch 'origin/dev' into dev 2025-08-02 14:46:57 +08:00
lijiahangmax
a0a7240191 Merge remote-tracking branch 'origin/main' 2025-08-01 12:29:14 +08:00
lijiahangmax
2b52697cdc merge dev into main
merge

Created-by: lijiahangmax
Commit-by: lijiahangmax;2022521971;autoscope;qq_23961285;hailan1024;muzi_teacher;haobo96
Merged-by: lijiahangmax
Description: update: 更新文件 README.md
update: 更新文件 README.md
merge dev into dev
update: 更新文件 README.md
merge dev into dev
...

See merge request: dromara/orion-visor!24
2025-08-01 12:25:53 +08:00
lijiahangmax
63d82b5a19 Merge remote-tracking branch 'origin/dev' into dev 2025-08-01 11:24:49 +08:00
lijiahangmax
af23e56f03 merge dev into dev
✏️ 修改文档.

Created-by: 2022521971
Commit-by: 2022521971
Merged-by: lijiahangmax
Description: ✏️ 修改文档.

See merge request: dromara/orion-visor!23
2025-08-01 11:19:02 +08:00
2022521971
cecd71c42a ✏️ 修改文档.
Signed-off-by: 2022521971 <202252197@qq.com>
2025-08-01 11:15:33 +08:00
lijiahangmax
3ed9df8788 Merge remote-tracking branch 'origin/dev' into dev 2025-08-01 11:04:40 +08:00
lijiahangmax
7a89858790 merge dev into dev
🐳 添加 docker 参数.

Created-by: autoscope
Commit-by: autoscope
Merged-by: lijiahangmax
Description: 🐳 添加 docker 参数.

See merge request: dromara/orion-visor!22
2025-07-30 18:09:06 +08:00
autoscope
a548413358 🐳 添加 docker 参数.
Signed-off-by: autoscope <autoscope@noreply.gitcode.com>
2025-07-30 18:04:19 +08:00
lijiahangmax
c859225908 merge dev into dev
✏️ 修改文档.

Created-by: qq_23961285
Commit-by: qq_23961285
Merged-by: lijiahangmax
Description: ✏️ 修改文档.

See merge request: dromara/orion-visor!21
2025-07-30 17:50:38 +08:00
qq_23961285
b097836ec8 ✏️ 修改文档.
Signed-off-by: qq_23961285 <qq_23961285@noreply.gitcode.com>
2025-07-30 17:49:11 +08:00
lijiahangmax
9e0cfef4da merge dev into dev
🔨 更新文件 git-pull.sh

Created-by: hailan1024
Commit-by: hailan1024
Merged-by: lijiahangmax
Description: 🔨 更新文件 git-pull.sh

See merge request: dromara/orion-visor!20
2025-07-30 17:04:09 +08:00
hailan1024
a76a7d4150 🔨 更新文件 git-pull.sh
Signed-off-by: hailan1024 <hailan1024@noreply.gitcode.com>
2025-07-30 17:00:52 +08:00
lijiahangmax
2920504023 merge dev into dev
update: 更新文件 README.md

Created-by: muzi_teacher
Commit-by: muzi_teacher
Merged-by: lijiahangmax
Description: update: 更新文件 README.md

See merge request: dromara/orion-visor!19
2025-07-30 16:37:16 +08:00
muzi_teacher
c32b590bb4 update: 更新文件 README.md
Signed-off-by: muzi_teacher <muzi_teacher@noreply.gitcode.com>
2025-07-30 16:36:34 +08:00
lijiahangmax
612d7f1166 merge dev into dev
update: 更新文件 README.md

Created-by: haobo96
Commit-by: haobo96
Merged-by: lijiahangmax
Description: update: 更新文件 README.md

See merge request: dromara/orion-visor!18
2025-07-30 16:35:45 +08:00
haobo96
b7c4fbcab8 update: 更新文件 README.md 2025-07-30 16:34:17 +08:00
haobo96
a3f84e799c update: 更新文件 README.md 2025-07-30 16:29:47 +08:00
李佳航
5ab3f168d8 Merge pull request #129 from dromara/dev
✏️ 修改文档.
2025-07-19 18:52:13 +08:00
lijiahangmax
402e183d2f ✏️ 修改文档. 2025-07-14 19:06:36 +08:00
lijiahangmax
d3e5e08f6c ✏️ 修改文档. 2025-07-14 19:02:16 +08:00
李佳航
e214fbde5c Merge pull request #128 from dromara/dev
Dev
2025-07-13 18:32:17 +08:00
lijiahangmax
2f7b4bd5ea ✏️ 修改文档. 2025-07-13 18:24:02 +08:00
lijiahangmax
8bba423ff3 ✏️ 修改文档. 2025-07-13 18:06:07 +08:00
李佳航
0d0eadc3bf Merge pull request #127 from dromara/dev
🐳 修改 docker 配置.
2025-07-10 15:17:18 +08:00
lijiahangmax
ab430d8934 🐳 修改 docker 配置. 2025-07-10 15:16:29 +08:00
李佳航
edcc2cf0c8 Merge pull request #126 from dromara/dev
🐳 修改 docker 配置.
2025-07-10 14:51:48 +08:00
lijiahangmax
2913ddb2e0 🐳 修改 docker 配置. 2025-07-10 14:50:36 +08:00
李佳航
7d35f839df Merge pull request #125 from dromara/dev
🐳 修改 docker 配置.
2025-07-10 14:30:21 +08:00
lijiahangmax
ef9c34f7d9 🐳 修改 docker 配置. 2025-07-10 14:28:45 +08:00
李佳航
f1a4e049ca Merge pull request #124 from dromara/dev
Dev
2025-07-10 03:50:05 +08:00
lijiahangmax
8ee1e6acf1 🐳 修改 docker 配置. 2025-07-10 03:43:56 +08:00
lijiahangmax
d0eddf1e15 升级版本. 2025-07-10 03:34:23 +08:00
lijiahangmax
b42645b0ce 🐛 修复会话打开黑屏. 2025-07-10 03:32:45 +08:00
李佳航
3895476ff8 Merge pull request #123 from dromara/dev
🚀 优化 CI 速度.
2025-07-09 16:55:41 +08:00
lijiahangmax
d2cba947b3 🚀 优化 CI 速度. 2025-07-09 16:54:27 +08:00
李佳航
964c1daa2c Merge pull request #122 from dromara/dev
🚀 优化 CI 速度.
2025-07-09 16:51:47 +08:00
lijiahangmax
d496dcd9f5 🚀 优化 CI 速度. 2025-07-09 16:50:38 +08:00
李佳航
9d06f0ae87 Merge pull request #121 from dromara/dev
Dev
2025-07-09 16:32:33 +08:00
lijiahangmax
9f379546cb 升级版本. 2025-07-09 16:31:05 +08:00
lijiahangmax
3123a89d13 升级版本. 2025-07-09 16:06:23 +08:00
lijiahangmax
8ebc3ee3b2 🐳 修改脚本逻辑. 2025-07-09 16:04:28 +08:00
lijiahangmax
7a3580936f 🐳 修改脚本逻辑. 2025-07-09 11:43:17 +08:00
lijiahangmax
2e36d0f44b 升级版本. 2025-07-09 00:26:55 +08:00
lijiahangmax
abada92907 🔨 优化会话工具栏. 2025-07-09 00:19:17 +08:00
lijiahangmax
0224e2f19a 🔨 优化卡片右键菜单. 2025-07-09 00:18:42 +08:00
lijiahangmax
bf04e8eace 🔨 添加长按操作. 2025-07-08 17:27:35 +08:00
lijiahangmax
ef146cdaef 🔨 去除测试连接. 2025-07-08 01:06:48 +08:00
lijiahangmax
bfde435071 🔨 添加工具栏功能. 2025-07-08 00:45:23 +08:00
lijiahangmax
fc151216f1 🔨 优化配置保存逻辑. 2025-07-08 00:34:30 +08:00
lijiahangmax
dd0237a83a 🐛 修复文件路径不正确的问题. 2025-07-08 00:32:37 +08:00
lijiahangmax
f34dc75f41 🔨 添加 vnc 会话. 2025-07-07 14:48:34 +08:00
lijiahangmax
1abc47bb56 🔨 添加 vnc 会话. 2025-07-07 14:47:18 +08:00
lijiahangmax
4643c37a5a 🔨 添加个性化配置. 2025-07-07 14:42:54 +08:00
lijiahangmax
aed5d10eed 🔨 添加 vnc 会话. 2025-07-07 00:04:29 +08:00
lijiahangmax
4b25de3811 🔨 添加 vnc 配置. 2025-07-07 00:03:45 +08:00
lijiahangmax
e72a9d97cd 🐳 修改 docker 构建逻辑. 2025-07-06 23:35:35 +08:00
lijiahangmax
97dddf01a7 🐳 修改 docker 构建逻辑. 2025-07-05 23:43:46 +08:00
lijiahangmax
01d53dadd7 🐳 修改 docker 构建逻辑. 2025-07-05 19:50:00 +08:00
lijiahangmax
5c119deaf4 🐳 修改 docker 构建逻辑. 2025-07-05 18:14:55 +08:00
lijiahangmax
4dc1364b11 🐳 修改 docker 构建逻辑. 2025-07-05 17:45:24 +08:00
lijiahangmax
65771f0b41 🐳 修改 docker 构建逻辑. 2025-07-05 17:44:33 +08:00
lijiahangmax
47a14dec6a 🐳 修改 docker 构建逻辑. 2025-07-05 01:22:59 +08:00
lijiahangmax
6f0f6da07c 🐳 修改 docker 构建逻辑. 2025-07-05 01:13:28 +08:00
李佳航
eb64e80d06 Merge pull request #119 from vicnoah/main
添加github action用于构建并推送docker镜像到dockerhub以及github cr
2025-07-04 20:45:34 +08:00
lijiahangmax
ca8c5b53d2 修改脚本. 2025-07-04 17:44:17 +08:00
lijiahangmax
9e9c390baf 🔨 配置 vnc 资产. 2025-07-04 17:43:59 +08:00
lijiahangmax
a546827432 🔨 配置 vnc 资产. 2025-07-04 17:36:45 +08:00
wwg
5c03784f9c feat(docker) 重构Docker构建流程,使用多阶段构建并优化CI配置 2025-07-03 01:01:59 +08:00
lijiahangmax
6fa2d65e18 🔨 优化页面加载逻辑. 2025-07-03 00:01:41 +08:00
lijiahangmax
0b4e42ee89 🔨 修改无缓存配置. 2025-07-02 23:50:27 +08:00
lijiahangmax
2175a9fb40 🔨 添加缓存数据版本. 2025-07-02 23:43:01 +08:00
lijiahangmax
2e98060573 🚀 升级 orion-kit 版本. 2025-07-02 23:35:46 +08:00
vicnoah
4ee4333bfe Create docker-publish.yml 2025-07-02 22:39:21 +08:00
vicnoah
1c8c1596f9 Update Dockerfile 2025-07-02 22:35:11 +08:00
vicnoah
a59f2c5bf6 Update Dockerfile 2025-07-02 22:34:57 +08:00
vicnoah
f8707ebce0 Update Dockerfile 2025-07-02 22:34:43 +08:00
vicnoah
28d793b84d Update Dockerfile 2025-07-02 22:34:28 +08:00
vicnoah
8963ca64d2 Update Dockerfile 2025-07-02 22:34:13 +08:00
vicnoah
fef11850dd Update Dockerfile 2025-07-02 22:33:52 +08:00
李佳航
8e5df1f8cb Merge pull request #115 from dromara/dev
Dev
2025-07-02 13:20:08 +08:00
lijiahangmax
58d54f7bf5 升级版本. 2025-07-02 00:51:31 +08:00
lijiahangmax
a3ddee65a3 🔨 修改 sql 脚本. 2025-07-01 11:10:09 +08:00
lijiahangmax
87a2892fc4 检查页面更新. 2025-07-01 01:45:47 +08:00
lijiahangmax
fcec6579d7 🔨 记录 RDP 传输日志. 2025-06-30 23:23:53 +08:00
lijiahangmax
4468a429dd 🔨 修改文件传输逻辑. 2025-06-30 22:12:28 +08:00
lijiahangmax
5dcd8cbad2 🔨 优化传输模块日志逻辑. 2025-06-30 21:59:24 +08:00
lijiahangmax
700b6d221d 🔨 修改主机自动创建配置. 2025-06-30 17:12:36 +08:00
lijiahangmax
3d0250dd5f 🔨 终端文件操作日志. 2025-06-29 20:20:16 +08:00
lijiahangmax
e1325b3128 🔨 优化代码逻辑. 2025-06-29 20:00:15 +08:00
lijiahangmax
5b611f20c2 🔨 初始化程序. 2025-06-29 02:24:50 +08:00
lijiahangmax
ad31a6c298 🔨 添加驱动挂载模式. 2025-06-29 02:03:00 +08:00
lijiahangmax
b55efe035d 🔨 修改终端配置. 2025-06-29 00:48:18 +08:00
lijiahangmax
fa389f611e 🚀 升级 guacd 版本. 2025-06-28 20:53:28 +08:00
lijiahangmax
4bdefc6194 🔨 会话关闭中断传输记录. 2025-06-28 20:48:44 +08:00
lijiahangmax
eb81a030e3 🔨 优化代码逻辑. 2025-06-28 16:38:15 +08:00
lijiahangmax
f1771ce676 🔨 优化代码逻辑. 2025-06-28 16:37:14 +08:00
lijiahangmax
da766f0b85 🔨 添加 RDP 下载功能. 2025-06-28 01:26:27 +08:00
lijiahangmax
1328894188 🔨 添加 RDP 上传功能. 2025-06-28 01:25:54 +08:00
lijiahangmax
9a7cfc4061 🎉 重构传输模块. 2025-06-28 01:23:53 +08:00
李佳航
87f39b9fa2 Merge pull request #113 from dromara/dev
Dev
2025-06-27 12:58:05 +08:00
lijiahangmax
49a0b6786e 🎨 修改 README 图片引用. 2025-06-27 12:54:42 +08:00
lijiahangmax
091e810f70 🎨 修改 README. 2025-06-27 12:28:43 +08:00
李佳航
5e0257b59b Merge pull request #112 from dromara/dev
dev
2025-06-27 12:25:04 +08:00
李佳航
277f8fafae Update README.md 2025-06-27 12:21:58 +08:00
李佳航
80e7c28ef1 Merge pull request #111 from dromara/dev
Dev
2025-06-27 12:07:06 +08:00
lijiahangmax
154f8d56ac 🐳 修改 docker 配置. 2025-06-27 12:06:39 +08:00
lijiahangmax
156e63bef9 🐳 修改 docker 配置. 2025-06-27 11:41:09 +08:00
lijiahangmax
34d65c0bc5 🎨 格式化代码. 2025-06-27 11:39:08 +08:00
lijiahangmax
decbce5410 🎨 格式化代码. 2025-06-26 01:27:14 +08:00
lijiahangmax
8b795e889a 🎨 格式化代码. 2025-06-26 01:23:13 +08:00
lijiahangmax
b75446f405 ✏️ 修改文档. 2025-06-26 01:07:35 +08:00
lijiahangmax
2b43270896 🔨 修改终端逻辑. 2025-06-26 01:06:36 +08:00
lijiahangmax
9d4c2aaeb4 🎉 优化 terminal 模块逻辑. 2025-06-26 00:59:15 +08:00
lijiahangmax
712b175179 🎉 优化 exec 模块逻辑. 2025-06-26 00:51:21 +08:00
lijiahangmax
10178d998e 🎉 优化 asset 模块逻辑. 2025-06-25 19:16:04 +08:00
lijiahangmax
c603c57ad8 🎉 优化 infra 模块逻辑. 2025-06-25 19:06:08 +08:00
lijiahangmax
f69093de66 🎉 优化系统架构. 2025-06-25 18:59:16 +08:00
lijiahangmax
cec7e21d5a 🎉 优化系统架构. 2025-06-25 18:57:05 +08:00
lijiahangmax
f1ade56e13 升级版本. 2025-06-25 18:48:25 +08:00
lijiahangmax
b182452f30 🎉 重构终端代码. 2025-06-25 14:50:35 +08:00
lijiahangmax
5ed513f472 🎉 重构页面代码. 2025-06-25 14:50:25 +08:00
lijiahangmax
aa8b380289 🎉 重构组件代码. 2025-06-25 14:50:01 +08:00
lijiahangmax
6149010bf4 🎉 重构前端代码. 2025-06-25 14:49:36 +08:00
lijiahangmax
5183b7ccb4 添加 guacd 镜像. 2025-06-25 12:16:33 +08:00
lijiahangmax
f78958532b 🐛 右键菜单保存报错的问题. 2025-06-24 20:44:48 +08:00
lijiahangmax
603dd89be4 🔨 下线会话. 2025-06-24 20:44:14 +08:00
lijiahangmax
1a58e40607 🔨 修改 noredis 配置. 2025-06-22 00:07:13 +08:00
lijiahangmax
84721f2e17 优化连接逻辑. 2025-06-22 00:06:51 +08:00
lijiahangmax
d72ccb1df6 修改防抖时间. 2025-06-13 23:53:01 +08:00
李佳航
6d4952c483 Merge pull request #109 from dromara/dev
Dev
2025-06-06 16:39:28 +08:00
lijiahangmax
7fab68f8c0 升级版本. 2025-06-06 16:27:29 +08:00
lijiahangmax
3a586c47a3 添加更新日期. 2025-06-06 16:18:48 +08:00
lijiahangmax
1767079249 复制主机. 2025-06-06 15:58:49 +08:00
lijiahangmax
fdd3be5a91 🐛 复制主机. 2025-05-30 01:29:28 +08:00
lijiahangmax
2457a015e4 🐛 修复分组无法删除的问题. 2025-05-29 22:15:08 +08:00
李佳航
40a99eb67a Merge pull request #106 from dromara/dev
Dev
2025-05-29 19:14:53 +08:00
lijiahangmax
1fcf239561 ✏️ 修改文档. 2025-05-29 19:07:16 +08:00
lijiahangmax
bbb1bb0db6 🔨 自定义标签名称. 2025-05-28 20:39:28 +08:00
李佳航
f79d89def9 Merge pull request #101 from dromara/dev
Dev
2025-04-06 21:44:08 +08:00
lijiahangmax
fd535f00c8 🔨 优化前端逻辑. 2025-04-06 21:41:41 +08:00
lijiahangmax
2c07551b88 🐛 修复修改主机配置报错. 2025-04-06 21:17:50 +08:00
lijiahangmax
86914321a6 🔖 修改 sql 脚本. 2025-04-06 11:11:39 +08:00
lijiahangmax
f64c15a01b 🔖 升级版本. 2025-04-06 10:56:28 +08:00
李佳航
8265cc3cfd Merge pull request #100 from dromara/dev
Dev
2025-04-03 14:55:55 +08:00
lijiahangmax
84c8bc98af 🔖 修改 sql 脚本. 2025-04-03 14:34:14 +08:00
lijiahangmax
858ca1becc 🔖 升级版本. 2025-04-03 01:43:30 +08:00
lijiahangmax
0e0c9cc628 🔨 添加 SN. 2025-04-03 01:38:37 +08:00
lijiahangmax
cdc3c88507 🔨 优化前端逻辑. 2025-04-02 13:33:21 +08:00
lijiahangmax
10624b42c4 🔨 优化代码逻辑. 2025-03-31 21:00:31 +08:00
lijiahang
6479694b4b 🔨 添加主机配置逻辑. 2025-03-28 16:07:15 +08:00
lijiahang
d2e72aea56 🔨 修改基础查询. 2025-03-28 15:32:08 +08:00
lijiahang
986f0974db 🔨 优化主机逻辑. 2025-03-28 14:34:51 +08:00
lijiahang
6b5c7fd409 Merge remote-tracking branch 'origin/dev' into dev 2025-03-26 15:27:32 +08:00
lijiahang
ca803e4e5a 添加系统架构枚举. 2025-03-26 15:27:16 +08:00
lijiahang
5de22e4b41 🐳 修改 e2e 配置. 2025-03-26 15:26:30 +08:00
lijiahangmax
b8e81ee100 修改文件过滤规则. 2025-03-26 01:42:14 +08:00
李佳航
0b53924dbd Merge pull request #97 from dromara/dev
Dev
2025-03-24 09:57:29 +08:00
lijiahangmax
3359d163fb 🐳 修改 docker 配置. 2025-03-23 22:05:59 +08:00
lijiahangmax
2ef1517338 🔖 升级版本. 2025-03-23 21:39:49 +08:00
lijiahangmax
a5bee66afa 🔖 升级版本. 2025-03-23 13:23:10 +08:00
lijiahangmax
88fd0e31e0 🔖 升级版本. 2025-03-23 13:03:48 +08:00
lijiahangmax
226dfb2c25 🔖 升级版本. 2025-03-23 11:41:13 +08:00
lijiahangmax
94ed071897 🔨 表格字段. 2025-03-22 00:58:15 +08:00
lijiahangmax
4efd2b5ec2 🔨 表格字段. 2025-03-22 00:11:30 +08:00
lijiahangmax
76e766367f 🔨 查询字段. 2025-03-22 00:00:41 +08:00
lijiahangmax
b3009bb65e 🔨 查询字段. 2025-03-21 00:05:04 +08:00
lijiahangmax
819520ef73 🔨 添加排序字段. 2025-03-20 00:39:49 +08:00
lijiahangmax
a2acbc0c3a 🔨 排序字段. 2025-03-20 00:08:23 +08:00
lijiahangmax
2e8a7c40d9 🔨 添加排序字段. 2025-03-19 23:37:13 +08:00
lijiahangmax
94c0b6a785 🔨 添加排序字段. 2025-03-19 23:24:08 +08:00
lijiahangmax
9752dfa680 🐳 分离 docker 镜像. 2025-03-17 21:27:48 +08:00
lijiahangmax
bc776e4186 Merge remote-tracking branch 'origin/dev' into dev 2025-03-16 00:31:40 +08:00
lijiahangmax
cdce5a0dc1 🔨 优化导包. 2025-03-16 00:30:43 +08:00
lijiahangmax
0db732fc19 🔨 优化主机逻辑. 2025-03-16 00:20:18 +08:00
lijiahang
69f331c048 修改路由规则. 2025-03-11 15:36:41 +08:00
李佳航
032f1763f6 Merge pull request #95 from dromara/dev
Dev
2025-03-10 11:02:45 +08:00
lijiahangmax
d071ef64d8 🔨 编译问题. 2025-03-09 20:11:21 +08:00
lijiahangmax
c820443a3b 升级版本. 2025-03-09 20:00:10 +08:00
lijiahangmax
14c4e77445 修改终端提示. 2025-03-09 19:58:10 +08:00
lijiahangmax
79d9f69ed4 修改终端提示. 2025-03-08 12:44:33 +08:00
lijiahangmax
6c9065072d Merge remote-tracking branch 'origin/dev' into dev 2025-03-07 22:03:52 +08:00
lijiahang
05bc6c1fbb 修改路由规则. 2025-03-07 15:50:26 +08:00
lijiahang
a1dd9eec01 优化单元测试. 2025-03-07 14:57:26 +08:00
lijiahangmax
660df7c110 Merge remote-tracking branch 'origin/dev' into dev 2025-03-06 23:29:28 +08:00
lijiahang
093501a400 🐛 代码生成器未能读取到环境变量. 2025-03-06 10:17:48 +08:00
lijiahang
7943deb924 优化终端会话管理器. 2025-03-05 10:20:20 +08:00
lijiahangmax
490167e649 Merge remote-tracking branch 'origin/dev' into dev 2025-03-04 21:46:00 +08:00
lijiahang
8635f6bb05 🔨 修改静态资源匿名处理策略. 2025-03-04 10:27:55 +08:00
李佳航
9e31d820e0 Merge pull request #94 from dromara/dev
Dev
2025-03-03 11:25:03 +08:00
lijiahang
92353d859a 初始化 sql. 2025-03-03 11:13:42 +08:00
lijiahang
bef8d69e59 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	sql/init-4-data.sql
2025-03-03 09:46:24 +08:00
lijiahangmax
ac46dd6703 🎨 优化统计样式. 2025-03-02 20:16:09 +08:00
lijiahangmax
b3ab78e063 🔖 升级版本. 2025-03-02 13:28:41 +08:00
lijiahangmax
95d2c6cb65 🔨 修改 sql 脚本. 2025-03-01 23:23:52 +08:00
lijiahang
7017c7502b 修改创建人逻辑. 2025-02-21 17:57:35 +08:00
李佳航
c14055ba8c Merge pull request #91 from dromara/dev
Dev
2025-02-19 10:17:03 +08:00
lijiahangmax
04aa6c9680 ✏️ 修改文档. 2025-02-18 23:35:48 +08:00
lijiahang
397bbb2657 🔖 升级版本. 2025-02-18 10:56:41 +08:00
lijiahang
9a68282127 🐛 修复计划任务日志无权限. 2025-02-18 10:54:10 +08:00
lijiahang
dcd02acc61 删除冗余配置. 2025-02-14 12:07:39 +08:00
李佳航
1025688e9b Merge pull request #88 from dromara/dev
Dev
2025-02-11 09:42:16 +08:00
lijiahangmax
26eeb26a75 ✏️ 修改文档. 2025-02-10 22:59:41 +08:00
lijiahang
7f76325284 🔖 升级版本. 2025-02-10 10:08:55 +08:00
lijiahang
de9a921c49 🔨 修改日志查看逻辑. 2025-02-10 09:51:53 +08:00
lijiahang
a9ac9d0f79 🔨 优化执行日志查看. 2025-02-08 10:03:07 +08:00
lijiahang
a14b28de6a 修改连接记录字段. 2025-02-07 10:07:45 +08:00
lijiahang
ccd7430b8f 🔨 自动清理任务使用系统配置. 2025-02-06 09:56:12 +08:00
lijiahang
6791ea5770 🔨 登录使用系统配置. 2025-02-06 09:55:37 +08:00
lijiahang
2d5835b150 修改文件预览逻辑. 2025-02-05 10:45:16 +08:00
lijiahang
cec11ce8c3 🔨 设置执行参数逻辑. 2025-02-05 10:18:22 +08:00
lijiahang
972103841c 🔨 优化执行日志查看逻辑. 2025-02-05 10:16:12 +08:00
lijiahang
89f6d2cd1c 🔨 优化执行日志查看逻辑. 2025-02-05 10:14:07 +08:00
lijiahang
d13008ce0c 🔨 添加修改密码时间. 2025-02-05 10:08:30 +08:00
lijiahang
abf384dd3c 🔨 修改系统设置逻辑. 2025-01-23 10:13:54 +08:00
李佳航
0abd4a893b Merge pull request #87 from dromara/hotfix
Hotfix
2025-01-22 23:17:36 +08:00
李佳航
d0710fb52b Merge branch 'dev' into hotfix 2025-01-22 23:12:47 +08:00
李佳航
534fe83ac2 Merge pull request #86 from dromara/hotfix
merge
2025-01-22 22:59:57 +08:00
lijiahangmax
d95d958de0 🔖 升级版本. 2025-01-22 22:40:28 +08:00
lijiahangmax
4e5730f31f 🐛 修复加密失败的问题. 2025-01-22 22:32:10 +08:00
lijiahang
81b9bacb96 🔨 添加日志系统设置. 2025-01-21 10:05:36 +08:00
lijiahang
dc42a31711 🔨 修改系统设置逻辑. 2025-01-20 10:24:40 +08:00
lijiahang
27e3e65ea1 🔨 使用系统配置替代配置文件. 2025-01-20 10:21:41 +08:00
lijiahang
a001ab3f16 🔨 优化批量执行模块. 2025-01-20 09:59:45 +08:00
李佳航
aeb161a482 Merge pull request #84 from dromara/dev
Dev
2025-01-20 09:47:44 +08:00
lijiahangmax
5ecb476be5 🔖 升级版本. 2025-01-19 18:56:02 +08:00
lijiahang
5389334304 ✏️ 修改 sql 脚本. 2025-01-17 10:02:57 +08:00
lijiahang
56ece9c854 🔨 添加描述字段. 2025-01-17 09:56:30 +08:00
lijiahang
a217b95783 🔨 无 redis 测试配置. 2025-01-17 09:51:21 +08:00
lijiahang
ffcdd80996 🔨 添加描述字段. 2025-01-16 10:03:38 +08:00
lijiahang
f804dc0338 🔨 添加描述字段. 2025-01-16 10:00:12 +08:00
lijiahangmax
25359f0f66 🎨 修改页面大小. 2025-01-15 23:44:54 +08:00
lijiahang
932bdb86ad 🎨 添加终端聚焦样式. 2025-01-15 10:21:01 +08:00
lijiahang
0e14e55c5a 🔨 修改系统设置逻辑. 2025-01-15 10:18:08 +08:00
lijiahang
e2a645d1e1 🔨 优化配置中心逻辑. 2025-01-15 10:16:36 +08:00
lijiahang
51392e09e2 🎨 修改系统设置样式. 2025-01-14 12:26:34 +08:00
lijiahang
8d71d64d49 ⬆️ 升级 axios 版本. 2025-01-14 10:09:07 +08:00
lijiahang
956c34176d 🔨 添加系统加密配置. 2025-01-14 10:05:01 +08:00
lijiahang
f65aa89421 🔨 加密参数. 2025-01-13 15:48:33 +08:00
lijiahang
c481cb0ae4 🔨 优化偏好处理逻辑. 2025-01-13 11:01:11 +08:00
lijiahang
a734ec40ec 🔨 优化偏好处理逻辑. 2025-01-13 09:43:43 +08:00
lijiahang
2a5bda3d00 🔨 系统设置模块优化. 2025-01-10 10:44:45 +08:00
lijiahang
72579c7e83 🎨 优化项目模块. 2025-01-09 10:02:22 +08:00
lijiahang
41797e41d2 🔨 添加配置及加密模块. 2025-01-08 11:40:42 +08:00
lijiahang
35733e80eb 🎨 优化项目模块. 2025-01-08 10:52:36 +08:00
lijiahang
4119dbad6a 🎨 优化项目模块. 2025-01-07 18:23:39 +08:00
lijiahang
c0122079c1 🎨 优化项目模块. 2025-01-07 17:55:22 +08:00
李佳航
c793ebf394 Merge pull request #79 from dromara/dev
Dev
2025-01-07 09:58:05 +08:00
lijiahangmax
45b3e0746a ✏️ 修改文档. 2025-01-07 00:08:33 +08:00
lijiahang
aaf18d79bf 🔨 修改构建错误. 2025-01-06 15:25:15 +08:00
lijiahangmax
4e3f548ac8 🔖 升级版本. 2025-01-05 18:33:38 +08:00
lijiahangmax
cbe1eeec74 🐛 修复刷新页面无参数的问题. 2024-12-30 22:50:11 +08:00
lijiahang
0557c41454 🎨 优化主机分组授权显示. 2024-12-30 15:54:07 +08:00
lijiahangmax
c2311f0682 优化缓存策略. 2024-12-29 23:58:44 +08:00
lijiahangmax
3b89e9bf29 🔨 优化会话连接逻辑. 2024-12-29 15:14:19 +08:00
lijiahangmax
6b14c2ef9c 🎨 优化策略定义逻辑. 2024-12-29 13:11:09 +08:00
lijiahangmax
6606d2ca76 🔨 工作台. 2024-12-28 23:28:23 +08:00
lijiahang
1846a496c1 🔨 资产模块统计. 2024-12-27 14:44:59 +08:00
lijiahang
7996ae5b63 🔨 基础模块统计. 2024-12-27 13:54:45 +08:00
lijiahang
cb5657c685 📝 工作台前端. 2024-12-27 11:19:52 +08:00
lijiahangmax
95759adf91 🐛 终端设置无法滚动的问题. 2024-12-27 01:11:18 +08:00
lijiahangmax
4d08a18548 🔨 添加连接操作. 2024-12-26 22:19:30 +08:00
lijiahang
8f1e976c2f 🔨 添加执行用户条件. 2024-12-26 14:03:47 +08:00
lijiahang
5ee18436b8 Merge remote-tracking branch 'origin/dev' into dev 2024-12-26 13:52:06 +08:00
lijiahang
00ea709f9e 🎨 修改代码规范. 2024-12-26 13:51:41 +08:00
lijiahangmax
4873d2cc91 📝 修改文档. 2024-12-25 20:48:39 +08:00
lijiahangmax
4c306fb4f8 🔨 修改为 latest 版本. 2024-12-25 20:19:32 +08:00
lijiahang
9017ada3aa 📝 修改文档. 2024-12-24 10:55:18 +08:00
李佳航
00c4484184 Merge pull request #75 from dromara/dev
 修改 E2E 测试样例.
2024-12-24 10:35:23 +08:00
lijiahang
5a6b1bfafd 修改 E2E 测试样例. 2024-12-24 10:34:26 +08:00
李佳航
c25e74c296 Merge pull request #74 from dromara/dev
Dev
2024-12-24 10:28:46 +08:00
lijiahang
bbe2980998 修改表结构. 2024-12-24 10:03:23 +08:00
lijiahangmax
544a01534d Merge remote-tracking branch 'origin/dev' into dev 2024-12-23 23:24:19 +08:00
lijiahangmax
41a9bebe06 🎨 规范代码. 2024-12-23 23:23:42 +08:00
lijiahang
c84452630a 🔨 修改文档. 2024-12-23 17:53:58 +08:00
lijiahang
23bf0e360f 📝 修改文档. 2024-12-23 12:31:01 +08:00
lijiahang
62eb8f2d9a 📝 修改文档. 2024-12-23 11:23:49 +08:00
lijiahang
adcc6dddef 🔖 升级版本. 2024-12-23 10:52:49 +08:00
lijiahang
8bbda6691d 📝 修改文档. 2024-12-23 10:20:54 +08:00
lijiahangmax
79f14632bb 去除无用配置. 2024-12-21 01:51:55 +08:00
lijiahangmax
d51de4a520 Merge remote-tracking branch 'origin/dev' into dev 2024-12-20 00:00:18 +08:00
lijiahangmax
f65e17c723 🐛 修复分组创建权限问题. 2024-12-20 00:00:06 +08:00
lijiahangmax
c04859294c 🐛 修复分组创建权限问题. 2024-12-19 23:59:09 +08:00
lijiahang
23363efade 📝 修改文档. 2024-12-19 16:17:15 +08:00
lijiahang
933e9d90d1 🐳 修改命名空间. 2024-12-19 15:31:59 +08:00
lijiahang
b2341ce62e 📝 去除 demo. 2024-12-19 11:26:32 +08:00
lijiahang
7fb17a173e Merge remote-tracking branch 'origin/dev' into dev 2024-12-19 09:43:11 +08:00
lijiahang
c95d52e197 📝 去除版本. 2024-12-19 09:42:50 +08:00
lijiahangmax
d651c37e87 🔨 修改 sql 脚本. 2024-12-18 21:52:58 +08:00
lijiahangmax
1d89b392b0 🔨 修改表结构. 2024-12-18 21:35:59 +08:00
lijiahang
04327c19e3 🔨 命令发送. 2024-12-18 09:49:59 +08:00
lijiahangmax
786d07907d 🔨 命令发送. 2024-12-16 23:20:57 +08:00
lijiahangmax
1227ed1770 🔨 命令发送. 2024-12-16 20:54:35 +08:00
lijiahangmax
6d74b4379e 🔨 修改聚合配置. 2024-12-16 20:37:17 +08:00
lijiahangmax
985091f42b 🔨 上传任务使用用户连接配置. 2024-12-14 12:41:06 +08:00
lijiahang
885446dc58 去除命令 tooltip. 2024-12-13 16:38:58 +08:00
lijiahangmax
dd973a46fc 🔨 命令执行用户. 2024-12-13 01:05:01 +08:00
lijiahangmax
190b78d14a 修改包结构. 2024-12-12 22:47:30 +08:00
lijiahangmax
824f7317d7 添加执行人. 2024-12-12 21:35:05 +08:00
lijiahangmax
247ae2c862 添加系统类型. 2024-12-12 21:12:08 +08:00
lijiahangmax
f52a81f9d0 🔨 修改路由配置. 2024-12-11 22:47:56 +08:00
lijiahang
32e4859ba7 修改打包配置. 2024-12-11 11:06:29 +08:00
李佳航
0de59dd77d Merge pull request #70 from dromara/dev
Dev
2024-12-10 09:58:59 +08:00
lijiahang
d0b25c38a6 Merge remote-tracking branch 'origin/dev' into dev 2024-12-09 15:28:11 +08:00
lijiahang
9fe2531d2f 📝 修改介绍. 2024-12-09 15:28:03 +08:00
lijiahangmax
28ce2317c0 merge dev into dev
合并

Created-by: liushaoshuai
Author-id: 3003091
MR-id: 5446172
Commit-by: liushaoshuai
Merged-by: lijiahangmax
E2E-issues: 
Description: ⬆️ 升级 orion-kit 版本. 

See merge request: dromara/orion-visor!15
2024-12-09 15:25:26 +08:00
liushaoshuai
f38ae06fa0 ⬆️ 升级 orion-kit 版本.
Signed-off-by: liushaoshuai <liushaoshuai@noreply.gitcode.com>
2024-12-09 15:23:27 +08:00
lijiahangmax
e434d85ea5 merge dev into dev
修改文档

Created-by: liushaoshuai
Author-id: 3003091
MR-id: 5361842
Commit-by: liushaoshuai
Merged-by: lijiahangmax
E2E-issues: 
Description: 📝修改文档. 

See merge request: dromara/orion-visor!14
2024-12-06 13:59:08 +08:00
liushaoshuai
d303406332 📝修改文档.
Signed-off-by: liushaoshuai <liushaoshuai@noreply.gitcode.com>
2024-12-06 13:58:09 +08:00
lijiahangmax
952d63b282 merge dev into dev
PR#1

Created-by: SuperOwn
Author-id: 3000065
MR-id: 5350395
Commit-by: SuperOwn
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 

See merge request: dromara/orion-visor!13
2024-12-06 12:11:59 +08:00
SuperOwn
cffb3c9e90 🔖 升级版本.
Signed-off-by: SuperOwn <SuperOwn@noreply.gitcode.com>
2024-12-06 12:10:56 +08:00
lijiahangmax
d828d4a754 merge dev into dev
升级版本

Created-by: orionsec
Author-id: 3000702
MR-id: 5345512
Commit-by: orionsec
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 

See merge request: dromara/orion-visor!12
2024-12-06 11:41:29 +08:00
orionsec
30ff601078 🔖 升级版本.
Signed-off-by: orionsec <orionsec@noreply.gitcode.com>
2024-12-06 11:40:36 +08:00
lijiahangmax
eb18f4281a merge dev into dev
禁用缓存

Created-by: orionsec
Author-id: 3000702
MR-id: 5345037
Commit-by: orionsec
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 
🐳 禁用缓存. 

See merge request: dromara/orion-visor!11
2024-12-06 11:37:45 +08:00
orionsec
b850aa1f7f 🐳 禁用缓存.
Signed-off-by: orionsec <orionsec@noreply.gitcode.com>
2024-12-06 11:36:50 +08:00
orionsec
100b5e8740 🔖 升级版本.
Signed-off-by: orionsec <orionsec@noreply.gitcode.com>
2024-12-06 11:36:25 +08:00
lijiahangmax
148d9f1201 merge dev into dev
PR

Created-by: orionsec
Author-id: 3000702
MR-id: 5344615
Commit-by: orionsec
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 

See merge request: dromara/orion-visor!10
2024-12-06 11:33:29 +08:00
orionsec
88ddc7c4b2 🔖 升级版本.
Signed-off-by: orionsec <orionsec@noreply.gitcode.com>
2024-12-06 11:31:10 +08:00
lijiahangmax
4a2c01fba6 merge dev into dev
merge

Created-by: SuperOwn
Author-id: 3000065
MR-id: 5343257
Commit-by: SuperOwn
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 

See merge request: dromara/orion-visor!8
2024-12-06 11:20:14 +08:00
SuperOwn
45c83f6080 🔖 升级版本.
Signed-off-by: SuperOwn <SuperOwn@noreply.gitcode.com>
2024-12-06 11:19:27 +08:00
lijiahangmax
08a0eeb6b5 merge dev into dev
修改版本

Created-by: SuperOwn
Author-id: 3000065
MR-id: 5343027
Commit-by: SuperOwn
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 

See merge request: dromara/orion-visor!7
2024-12-06 11:18:31 +08:00
SuperOwn
73b034b27c 🔖 升级版本.
Signed-off-by: SuperOwn <SuperOwn@noreply.gitcode.com>
2024-12-06 11:16:06 +08:00
lijiahang
95a31d613d Merge remote-tracking branch 'origin/dev' into dev 2024-12-06 10:53:44 +08:00
lijiahangmax
8027d39938 merge dev into dev
merge

Created-by: chaoyuyu
Author-id: 2987168
MR-id: 5338562
Commit-by: chaoyuyu
Merged-by: lijiahangmax
E2E-issues: 
Description: update: 更新文件 build.sh 

See merge request: dromara/orion-visor!5
2024-12-06 10:51:33 +08:00
chaoyuyu
e3d33295fe update: 更新文件 build.sh
Signed-off-by: chaoyuyu <chaoyuyu@noreply.gitcode.com>
2024-12-06 10:46:09 +08:00
lijiahangmax
691c61613f merge dev into dev
合并

Created-by: opensources
Author-id: 2983898
MR-id: 5338447
Commit-by: opensources
Merged-by: lijiahangmax
E2E-issues: 
Description: 🐳 修改 docker 版本. 
🔖 升级版本. 

See merge request: dromara/orion-visor!4
2024-12-06 10:42:56 +08:00
opensources
a75ce2143d 🔖 升级版本.
Signed-off-by: opensources <opensources@noreply.gitcode.com>
2024-12-06 10:35:37 +08:00
opensources
cb828e5684 🐳 修改 docker 版本.
Signed-off-by: opensources <opensources@noreply.gitcode.com>
2024-12-06 10:34:30 +08:00
lijiahangmax
168f193416 merge dev into dev
修改 docker

Created-by: opensources
Author-id: 2983898
MR-id: 5338443
Commit-by: opensources
Merged-by: lijiahangmax
E2E-issues: 
Description: 🐳 修改版本. 

See merge request: dromara/orion-visor!3
2024-12-06 10:32:00 +08:00
opensources
211a50d33d 🐳 修改版本.
Signed-off-by: opensources <opensources@noreply.gitcode.com>
2024-12-06 10:31:17 +08:00
lijiahangmax
713af9d032 merge dev into dev
升级版本

Created-by: chaoyuyu
Author-id: 2987168
MR-id: 5338426
Commit-by: chaoyuyu
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 

See merge request: dromara/orion-visor!2
2024-12-06 10:29:14 +08:00
chaoyuyu
214b6fe9ac 🔖 升级版本.
Signed-off-by: chaoyuyu <chaoyuyu@noreply.gitcode.com>
2024-12-06 10:25:02 +08:00
lijiahangmax
343c188749 merge dev into dev
merge

Created-by: Hanner
Author-id: 2987512
MR-id: 5338327
Commit-by: Hanner
Merged-by: lijiahangmax
E2E-issues: 
Description: 🔖 升级版本. 
update: 更新文件 pom.xml 
🔖 升级版本. 

See merge request: dromara/orion-visor!1
2024-12-06 10:14:32 +08:00
Hanner
fc6418caf3 🔖 升级版本.
Signed-off-by: Hanner <Hanner@noreply.gitcode.com>
2024-12-06 10:11:51 +08:00
Hanner
cf093e1023 update: 更新文件 pom.xml
Signed-off-by: Hanner <Hanner@noreply.gitcode.com>
2024-12-06 10:10:27 +08:00
Hanner
90eb6003c9 🔖 升级版本.
Signed-off-by: Hanner <Hanner@noreply.gitcode.com>
2024-12-06 10:08:54 +08:00
lijiahang
652691b32b 📝 修改 README. 2024-12-04 11:37:36 +08:00
lijiahang
eb77f33574 去除轮询接口错误信息. 2024-12-03 11:28:58 +08:00
lijiahang
9bfd5888bf 修改代码生成器. 2024-11-25 10:23:40 +08:00
lijiahang
73c18c79b8 🐛 计划任务创建后会自动执行. 2024-11-13 10:00:25 +08:00
lijiahang
562052b868 优化前端代码语义. 2024-11-07 10:46:17 +08:00
李佳航
6f42d41344 Merge pull request #65 from dromara/dev
merge
2024-11-01 10:41:52 +08:00
lijiahang
8db677684d 修改包名. 2024-10-29 09:59:50 +08:00
李佳航
988528ccca Merge pull request #64 from dromara/dev
Dev
2024-10-24 11:13:17 +08:00
lijiahang
029a46c07d 🔖 升级版本. 2024-10-24 09:36:05 +08:00
lijiahang
8ace3ddd1f 🐛 代码生成器无法运行. 2024-10-18 18:16:41 +08:00
lijiahang
2c705f0b67 🐛 代码生成器无法运行. 2024-10-18 14:06:28 +08:00
lijiahang
3ec43bd8a5 拆分模块. 2024-10-17 15:25:45 +08:00
lijiahang
b33abd3196 拆分模块. 2024-10-17 10:20:04 +08:00
lijiahang
d82f5b4bfb 拆分模块. 2024-10-16 15:37:12 +08:00
lijiahang
3e41e17367 优化模块值. 2024-10-15 17:41:39 +08:00
lijiahang
6e3abab232 📝 修改文档. 2024-10-15 15:05:11 +08:00
lijiahang
6306baa51a 修改表名. 2024-10-15 12:36:11 +08:00
lijiahang
7ceb7e162a 📝 修改文档. 2024-10-15 11:08:21 +08:00
lijiahang
2243d3cf5b 📝 添加 license 文件头. 2024-10-11 14:58:06 +08:00
lijiahang
e6937d67c1 📝 修改许可信息. 2024-10-11 12:23:05 +08:00
lijiahangmax
6e977dabf6 优化文件下载逻辑. 2024-10-10 23:18:53 +08:00
lijiahang
c229029c1d 系统动态设置. 2024-10-10 18:32:40 +08:00
lijiahang
76aa64fe75 📝 修改初始化sql. 2024-09-30 10:25:14 +08:00
lijiahang
3b1d6ab8a4 优化按钮组件逻辑. 2024-09-29 10:20:45 +08:00
李佳航
7015468e04 Merge pull request #60 from dromara/dev
Dev
2024-09-27 10:52:27 +08:00
lijiahang
ef57040e1d 📝 修改文档. 2024-09-27 10:41:06 +08:00
lijiahang
2a6537c604 🔖 升级版本. 2024-09-27 10:21:17 +08:00
lijiahang
541a9790ad 优化批量上传逻辑. 2024-09-26 17:38:39 +08:00
lijiahang
011e8ad089 📝 修改文档. 2024-09-14 17:18:51 +08:00
李佳航
3918d36c24 Merge pull request #59 from dromara/dev
Dev
2024-09-14 16:46:32 +08:00
lijiahang
37f452c7c3 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	README.md
2024-09-14 16:44:31 +08:00
lijiahang
fc885bc0ad 📝 修改文档. 2024-09-14 16:43:53 +08:00
李佳航
44c226092d Merge pull request #58 from dromara/dev
Dev
2024-09-11 21:18:41 +08:00
lijiahangmax
14cf8c2492 Merge remote-tracking branch 'origin/dev' into dev 2024-09-11 21:16:08 +08:00
lijiahangmax
d6f5898e61 📝 修改 logo. 2024-09-11 21:14:32 +08:00
lijiahang
0ab8e405cc 📝 修改文档. 2024-09-11 10:18:35 +08:00
lijiahang
4e4231d5a5 修改清理限制. 2024-09-03 10:53:39 +08:00
李佳航
2df3f2fa1a Merge pull request #56 from dromara/dev
🔖 升级版本.
2024-09-02 15:28:10 +08:00
lijiahang
d6048f78f0 🔖 升级版本. 2024-09-02 14:57:47 +08:00
李佳航
f73fa14bfd Merge pull request #55 from dromara/dev
Dev
2024-09-02 13:11:36 +08:00
lijiahang
fd88c725d3 :replace: 修改 demo 地址. 2024-09-02 13:06:17 +08:00
lijiahang
3a16f9d9ab 优化查询逻辑. 2024-09-02 12:37:11 +08:00
lijiahang
de9b89d805 🔖 升级版本. 2024-09-02 11:51:30 +08:00
lijiahangmax
a05c387ba1 修改配置. 2024-08-29 23:34:28 +08:00
lijiahangmax
3cb6e5a2d4 修改配置. 2024-08-29 23:33:46 +08:00
lijiahang
104a9a0aa3 🔨 数据清理时添加条数限制. 2024-08-29 18:26:26 +08:00
lijiahangmax
d7b747eac4 优化主机删除逻辑. 2024-08-29 00:33:13 +08:00
lijiahangmax
d2949c11f3 Merge remote-tracking branch 'origin/dev' into dev 2024-08-29 00:23:33 +08:00
lijiahangmax
cd05f71173 🐛 修复开始 webgl 终端显示错误. 2024-08-29 00:23:11 +08:00
lijiahang
e0dca73369 📝 修改文档. 2024-08-28 17:14:18 +08:00
lijiahang
b8599a6693 🐛 修复加载缓存时报错. 2024-08-28 10:46:06 +08:00
lijiahang
a0adb415fa 🔨 数据清理时添加条数限制. 2024-08-26 17:10:40 +08:00
lijiahang
6c60756e54 禁用 demo api. 2024-08-26 13:57:18 +08:00
lijiahangmax
ee9f51ce7d 🐛 修复 quartz 配置不生效. 2024-08-25 00:50:16 +08:00
lijiahangmax
924b46b41a 优化异常信息获取逻辑. 2024-08-24 19:59:45 +08:00
lijiahangmax
1fca5a1912 优化数据分组逻辑. 2024-08-23 01:44:05 +08:00
李佳航
120eb1ee69 Merge pull request #54 from dromara/dev
Dev
2024-08-22 12:27:58 +08:00
lijiahang
252c538571 🔖 升级版本. 2024-08-22 11:45:24 +08:00
lijiahang
1eec373b7e demo 禁用定时任务. 2024-08-21 13:23:31 +08:00
lijiahang
aa9b96a9c1 修改表格显示字段. 2024-08-21 12:56:07 +08:00
lijiahang
059fb30aa4 优化权限逻辑. 2024-08-20 10:20:35 +08:00
lijiahang
2afaf7ad34 Merge remote-tracking branch 'origin/dev' into dev 2024-08-19 09:53:15 +08:00
lijiahang
076a0956c5 修改心跳检测时间. 2024-08-19 09:49:41 +08:00
lijiahangmax
4a91ec47bf 添加主题. 2024-08-13 20:56:00 +08:00
lijiahangmax
1066b43b3d 全屏模式. 2024-08-12 00:07:54 +08:00
lijiahangmax
3f78125c43 Merge remote-tracking branch 'origin/dev' into dev 2024-08-11 23:07:14 +08:00
lijiahangmax
144a44673b 🐛 修复更新菜单后查询条件错误. 2024-08-11 23:06:59 +08:00
李佳航
777f7b3758 Merge pull request #52 from dromara/dev
Dev
2024-08-08 10:52:09 +08:00
lijiahang
947fa0fea3 🐳 添加 push 脚本. 2024-08-08 10:17:31 +08:00
lijiahang
7109e89fb4 🔖 升级版本. 2024-08-08 10:14:39 +08:00
lijiahang
70e7b1d544 修改终端标签颜色显示. 2024-08-07 10:18:39 +08:00
lijiahangmax
613f86155c 💄 修改终端样式. 2024-08-06 00:01:27 +08:00
lijiahang
8d0b58e48f ⬆️ 升级 orion kit 版本. 2024-08-05 13:49:52 +08:00
lijiahang
8cea9dc977 优化终端代码. 2024-08-05 09:11:54 +08:00
lijiahangmax
471acfdf00 优化自动聚焦逻辑. 2024-08-04 17:01:44 +08:00
lijiahangmax
8ed42131d0 优化命令片段处理逻辑. 2024-08-02 01:52:29 +08:00
lijiahangmax
18c605354a 🔨 修改终端逻辑. 2024-07-31 00:42:02 +08:00
李佳航
8c04411458 Merge pull request #48 from MemoryShadow/dev
perf: Use the.env file instead to modify docker-compose.yml
2024-07-30 17:53:31 +08:00
lijiahang
9a8d1d05cd 💄 修改终端样式. 2024-07-30 14:40:15 +08:00
MemoryShadow
1cbaf9c424 docs: Clarify behavior semantics and accelerate deployment efficiency 2024-07-29 07:02:32 +00:00
MemoryShadow
537c2fc108 perf: Use the.env file instead to modify docker-compose.yml 2024-07-29 07:02:21 +00:00
李佳航
122b568cf5 Merge pull request #46 from dromara/dev
Dev
2024-07-29 11:39:00 +08:00
lijiahang
8b97c02d15 🐳 修改 docker 配置. 2024-07-29 11:15:44 +08:00
lijiahang
dcfb016ce5 🔖 升级版本. 2024-07-29 10:33:59 +08:00
lijiahang
c842de9e23 修改 hook 位置. 2024-07-29 10:25:11 +08:00
李佳航
1b2753a2b7 Merge pull request #44 from dromara/dev
Dev
2024-07-26 11:11:47 +08:00
lijiahang
29b44b8b77 🚨 修复 ts 构建报错. 2024-07-26 10:56:36 +08:00
lijiahang
7290b1364c 🔖 升级版本. 2024-07-26 10:25:38 +08:00
lijiahang
3851ead8bb 💄 修改滚动条样式. 2024-07-26 10:18:39 +08:00
lijiahang
305312cc26 🐛 修复文件上传列表显示错误. 2024-07-25 13:46:48 +08:00
李佳航
b4217555d2 Merge pull request #43 from dromara/dev
Dev
2024-07-25 11:16:59 +08:00
lijiahang
87b8e405f5 🔖 升级版本. 2024-07-25 10:27:49 +08:00
lijiahang
3513196a78 修改类型定义. 2024-07-24 15:29:15 +08:00
lijiahang
0240a12321 ⬆️ 修改升级sql. 2024-07-24 15:04:29 +08:00
lijiahang
3a8eac4d4a 重构终端功能. 2024-07-23 10:47:59 +08:00
lijiahang
4bd2de4ce2 🔨 重构主机模块. 2024-07-22 19:36:02 +08:00
lijiahang
b7608fccb3 🔨 修改主机逻辑. 2024-07-22 18:05:00 +08:00
lijiahang
bb925d354d 📝 修改 md 地址. 2024-07-22 10:37:11 +08:00
lijiahang
3a476d41d2 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
2024-07-22 10:31:45 +08:00
lijiahang
1927b10bcc 📝 修改 md 地址. 2024-07-22 10:31:05 +08:00
lijiahang
0664eff151 🐛 windows 移动文件失败. 2024-07-22 10:27:21 +08:00
lijiahang
a71456b209 去除注解. 2024-07-18 15:39:31 +08:00
lijiahang
48d308b1a8 🐛 批量执行历史显示错误. 2024-07-17 13:38:51 +08:00
lijiahang
f75d097d8a 删除 http 文件. 2024-07-17 13:35:04 +08:00
lijiahang
0d46d81c4e 优化文件上传逻辑. 2024-07-15 10:15:20 +08:00
lijiahangmax
c20c83245f 🐛 修复 windows 文件备份失败. 2024-07-14 21:24:53 +08:00
lijiahangmax
849e010bc3 Merge remote-tracking branch 'origin/dev' into dev 2024-07-12 00:02:57 +08:00
lijiahangmax
95c299eea4 💄 修改主机编辑样式. 2024-07-12 00:02:45 +08:00
李佳航
ad3edd4ccd Merge pull request #41 from dromara/dev
Dev
2024-07-11 11:08:52 +08:00
lijiahang
81b7b3505e 🚀 修改启动命令. 2024-07-11 10:56:49 +08:00
lijiahang
1522a6f3ad 🔖 升级版本. 2024-07-11 10:28:44 +08:00
lijiahang
04bae45955 修改执行参数. 2024-07-10 11:46:07 +08:00
lijiahang
873e910eb1 定时任务添加参数. 2024-07-10 10:21:16 +08:00
lijiahang
a7f86bf62a 💄 修改表格样式. 2024-07-09 10:34:39 +08:00
lijiahang
7ba278d210 📝 添加 NOTICE 文件. 2024-07-08 14:45:12 +08:00
lijiahang
e9ac9b9f13 修改字典值长度. 2024-07-08 14:44:33 +08:00
lijiahangmax
d34843f90c 主机终端主题从字典中获取. 2024-07-04 21:53:21 +08:00
lijiahang
374d0bdd9c Merge remote-tracking branch 'origin/dev' into dev 2024-07-04 10:29:58 +08:00
lijiahang
5d3dc83bab 🐛 修复操作日志分页无效. 2024-07-04 10:29:39 +08:00
lijiahangmax
05d0f75cdc Merge remote-tracking branch 'origin/dev' into dev 2024-06-30 01:14:58 +08:00
lijiahangmax
711a4a6bab 🐛 修复终端大小适配失效. 2024-06-30 01:14:44 +08:00
李佳航
08895ba170 Merge pull request #37 from LinuxSuRen/fix/e2e
🐛 e2e 配置失效.
2024-06-27 15:27:11 +08:00
rick
c2c8b108ac fix: the e2e testing failure due to auth error 2024-06-27 07:23:24 +00:00
李佳航
318e9f30b8 Merge pull request #36 from dromara/dev
🚀 修改 e2e 配置.
2024-06-27 14:46:36 +08:00
lijiahang
39a1001510 🚀 修改 e2e 配置. 2024-06-27 14:43:59 +08:00
李佳航
5e7b7ebfa7 Merge pull request #35 from dromara/dev
Dev
2024-06-27 13:46:39 +08:00
lijiahang
8d85cdf173 🚀 修改 e2e 配置. 2024-06-27 13:44:39 +08:00
lijiahang
79d95d1997 📝 修改 sql. 2024-06-27 13:31:10 +08:00
李佳航
1eb07d0b24 Merge pull request #34 from dromara/dev
Dev
2024-06-27 13:06:49 +08:00
lijiahang
601564b573 🔖 升级版本. 2024-06-27 13:03:25 +08:00
lijiahang
41384fab17 🐛 字典值排序无效. 2024-06-26 10:23:32 +08:00
lijiahang
f0a122d862 自动清理配置. 2024-06-25 10:42:32 +08:00
lijiahang
b08d75be62 🔨 更新 spring 配置描述文件. 2024-06-25 10:16:15 +08:00
lijiahangmax
02f5bef6b4 📝 修改命名. 2024-06-24 22:49:17 +08:00
lijiahang
ef10c8b8b6 修改前端包结构. 2024-06-24 09:57:33 +08:00
lijiahang
6c4e9cd5c6 🚀 修改 e2e 配置. 2024-06-24 09:54:57 +08:00
lijiahang
8dec40553d 优化 terminal 逻辑. 2024-06-21 10:15:33 +08:00
lijiahang
9ae5a6c627 🐛 修复机器码获取失败. 2024-06-20 11:55:00 +08:00
lijiahang
2ec1678f01 🔨 修改 ip 获取逻辑. 2024-06-20 11:53:39 +08:00
李佳航
f9e436e885 Merge pull request #30 from LinuxSuRen/e2e
🚀 add e2e testing base on docker compose.
2024-06-20 11:28:46 +08:00
rick
2a49e7670d fix the health check command 2024-06-20 02:56:16 +00:00
Rick
95d8988f11 Update e2e.yaml 2024-06-20 10:25:23 +08:00
Rick
e04a972df5 Update Dockerfile 2024-06-20 10:24:58 +08:00
rick
1ca9311625 fix the password in e2e 2024-06-20 01:52:10 +00:00
rick
630a1fd3cd test: add e2e testing base on docker compose 2024-06-20 01:29:43 +00:00
李佳航
0f6d84dab2 Merge pull request #28 from dromara/dev
Dev
2024-06-19 12:11:39 +08:00
lijiahang
f64eb395a8 🐳 修改镜像权限. 2024-06-19 11:53:06 +08:00
lijiahang
2e69c67de0 🐳 修改镜像权限. 2024-06-19 11:29:09 +08:00
lijiahang
7747b4e52e 🔖 升级版本. 2024-06-19 11:07:03 +08:00
lijiahang
830622aafb 💄 修改样式. 2024-06-19 10:48:00 +08:00
lijiahang
2919950c5b ⬆️ 升级 arco 版本. 2024-06-18 11:53:58 +08:00
lijiahangmax
d56cfbba82 添加系统设置页面. 2024-06-18 00:35:45 +08:00
lijiahang
cfe1924f11 获取应用信息. 2024-06-17 19:12:58 +08:00
lijiahang
dfd2ec45f4 🔨 修改 spring 应用名称. 2024-06-17 10:13:23 +08:00
3025 changed files with 171997 additions and 79239 deletions

41
.env.example Normal file
View File

@@ -0,0 +1,41 @@
VOLUME_BASE=/data/orion-visor-space/docker-volumes
SERVICE_PORT=1081
SPRING_PROFILES_ACTIVE=prod
DEMO_MODE=false
API_CORS=true
API_EXPOSE_TOKEN=pmqeHOyZaumHm0Wt
SECRET_KEY=uQeacXV8b3isvKLK
NGINX_SERVICE_HOST=service
NGINX_SERVICE_PORT=9200
MYSQL_HOST=mysql
MYSQL_PORT=3306
MYSQL_DATABASE=orion_visor
MYSQL_USER=orion
MYSQL_PASSWORD=Data@123456
MYSQL_ROOT_PASSWORD=Data@123456
REDIS_HOST=redis
REDIS_PASSWORD=Data@123456
REDIS_DATABASE=0
REDIS_DATA_VERSION=1
GUACD_HOST=guacd
GUACD_PORT=4822
GUACD_SSH_PORT=22
GUACD_SSH_USERNAME=guacd
GUACD_SSH_PASSWORD=guacd
GUACD_DRIVE_PATH=/drive
INFLUXDB_ENABLED=true
INFLUXDB_HOST=influxdb
INFLUXDB_PORT=8086
INFLUXDB_ORG=orion-visor
INFLUXDB_BUCKET=metrics
INFLUXDB_TOKEN=Data@123456
INFLUXDB_ADMIN_USERNAME=admin
INFLUXDB_ADMIN_PASSWORD=Data@123456

View File

@@ -0,0 +1,10 @@
### *当前使用版本 (必填)
### 问题描述
### 该问题是如何引起的
### 重现步骤
### 报错信息

View File

@@ -0,0 +1,8 @@
### 修改描述
### 关联的 Issue
### 测试用例
### 修复效果的截屏

50
.github/ISSUE_TEMPLATE/bug_report.yaml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: 错误报告
description: File a bug report.
title: "[错误报告]: "
labels: [ "" ]
body:
- type: checkboxes
id: confirm
attributes:
label: 确认
description: 在提交 issue 之前, 请确认你已经阅读并确认以下内容
options:
- label: 我使用的是最新版本 [最新版](https://github.com/dromara/orion-visor/releases)
required: true
- label: 我使用官方文档进行部署 [安装文档](https://visor.orionsec.cn/quickstart/docker.html)
required: true
- label: 我已检查了 [常见问题](https://visor.orionsec.cn/support/faq.html) 并没有找到解决方法
required: true
- label: 我已搜索 [issue](https://github.com/dromara/orion-visor/issues) 并没有找到相关问题
required: true
- type: input
id: version
attributes:
label: 当前程序版本
description: 遇到问题时程序所在的版本号
validations:
required: true
- type: dropdown
id: install
attributes:
label: 安装方式
options:
- Docker
- 普通安装
- 其他
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: 问题描述
description: 请详细描述你碰到的问题
placeholder: "问题描述"
validations:
required: true
- type: textarea
id: logs
attributes:
label: 详细日志
description: 问题出现时的程序日志
render: bash

5
.github/ISSUE_TEMPLATE/config.yaml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 官网
url: https://visor.orionsec.cn/
about: document.

View File

@@ -0,0 +1,35 @@
name: 功能改进
description: 提出新功能建议 (请提交到需求收集帖)
title: "[功能建议]: "
labels: [ "" ]
body:
- type: markdown
attributes:
value: |
所有功能建议请统一提交到需求收集帖: 🔗 [#83 需求收集](https://github.com/dromara/orion-visor/issues/83)
在提交前请确认:
- ✅ 使用的是[最新版本](https://github.com/dromara/orion-visor/releases)
- ✅ 已搜索[已有 issue](https://github.com/dromara/orion-visor/issues) 和 需求收集帖避免重复
- ✅ 定制化需求请联系作者
---
### 如何提交高质量建议?
1. **功能描述**: 你希望增加什么?
2. **使用场景**: 你在什么情况下需要它?
4. **参考实现**: 开源项目中的类似功能(**禁止引用商业闭源软件**
- type: textarea
id: feature
attributes:
label: 功能改进
description: 请详细描述需要改进或者添加的功能。
placeholder: "功能改进"
validations:
required: true
- type: textarea
id: references
attributes:
label: 参考资料
description: 可以列举一些参考资料, 但是不要引用同类但商业化软件的任何内容。
placeholder: "参考资料"

53
.github/settings/maven-settings.xml vendored Normal file
View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>public-mirror</id>
<mirrorOf>public</mirrorOf>
<name>Maven Central Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>repos</id>
<repositories>
<repository>
<id>centra</id>
<url>https://repo.maven.apache.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Central Plugin Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>repos</activeProfile>
</activeProfiles>
</settings>

139
.github/workflows/docker-publish.yaml vendored Normal file
View File

@@ -0,0 +1,139 @@
name: Docker Publish
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build-project:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: 🌱 Checkout repository
uses: actions/checkout@v4
- name: ⚙️ Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: 'maven'
- name: ⚙️ Set up Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18'
- name: 🔧 Install pnpm
run: npm i -g pnpm
- name: 📦 Build Java
run: mvn -U clean install -DskipTests --settings=.github/settings/maven-settings.xml
- name: 📦️ Build UI
working-directory: ./orion-visor-ui
run: |
pnpm install
pnpm build
- name: 📦️ Download instance-agent
working-directory: ./docker/service
run: wget https://github.com/lijiahangmax/orion-visor-agent/releases/latest/download/instance-agent-release.tar.gz -O instance-agent-release.tar.gz
- name: 📁 Prepare build context
run: |
cp -r ./sql ./docker/mysql/sql
cp -r ./orion-visor-ui/dist ./docker/ui/dist
cp ./orion-visor-launch/target/orion-visor-launch.jar ./docker/service/orion-visor-launch.jar
- name: 📤 Upload build context
uses: actions/upload-artifact@v4
with:
name: docker-context
path: docker
build-and-push:
needs: build-project
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
service: [ adminer, guacd, mysql, redis, influxdb, service, ui ]
env:
GITHUB_REGISTRY: ghcr.io
ALIYUN_REGISTRY: registry.cn-hangzhou.aliyuncs.com
ALIYUN_NAMESPACE: ${{ vars.ALIYUN_NAMESPACE }}
DOCKERHUB_NAMESPACE: ${{ vars.DOCKERHUB_NAMESPACE }}
steps:
- name: 📥 Download build context
uses: actions/download-artifact@v4
with:
name: docker-context
path: docker
- name: ⚙️ Set up QEMU
uses: docker/setup-qemu-action@v3
- name: 🔧 Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 🐳 Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: 🐳 Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: 🐳 Login to Aliyun Registry
uses: docker/login-action@v3
with:
registry: ${{ env.ALIYUN_REGISTRY }}
username: ${{ secrets.ALIYUN_USERNAME }}
password: ${{ secrets.ALIYUN_TOKEN }}
- name: 📦 Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.DOCKERHUB_NAMESPACE }}/orion-visor-${{ matrix.service }}
${{ env.GITHUB_REGISTRY }}/${{ github.repository_owner }}/orion-visor-${{ matrix.service }}
${{ env.ALIYUN_REGISTRY }}/${{ env.ALIYUN_NAMESPACE }}/orion-visor-${{ matrix.service }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: 🛠️ Build and push Docker image for orion-visor-${{ matrix.service }}
uses: docker/build-push-action@v6
with:
context: ./docker
file: ./docker/${{ matrix.service }}/Dockerfile
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64
labels: ${{ steps.meta.outputs.labels }}
tags: |
${{ env.DOCKERHUB_NAMESPACE }}/orion-visor-${{ matrix.service }}:${{ steps.meta.outputs.version }}
${{ env.DOCKERHUB_NAMESPACE }}/orion-visor-${{ matrix.service }}:latest
${{ env.GITHUB_REGISTRY }}/${{ github.repository_owner }}/orion-visor-${{ matrix.service }}:${{ steps.meta.outputs.version }}
${{ env.GITHUB_REGISTRY }}/${{ github.repository_owner }}/orion-visor-${{ matrix.service }}:latest
${{ env.ALIYUN_REGISTRY }}/${{ env.ALIYUN_NAMESPACE }}/orion-visor-${{ matrix.service }}:${{ steps.meta.outputs.version }}
${{ env.ALIYUN_REGISTRY }}/${{ env.ALIYUN_NAMESPACE }}/orion-visor-${{ matrix.service }}:latest

22
.github/workflows/e2e.yaml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: E2E
on:
workflow_dispatch:
# pull_request:
# branches:
# - main
concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true
jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: E2E Testing
run: |
sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod u+x /usr/local/bin/docker-compose
docker compose -f docker-compose-testing.yaml up --build testing --exit-code-from testing --remove-orphans

4
.gitignore vendored
View File

@@ -16,7 +16,8 @@ target/
.sts4-cache
### IntelliJ IDEA ###
.idea
**/.idea/*
!**/.idea/icon.png
*.iws
*.iml
*.ipr
@@ -33,3 +34,4 @@ build/
### VS Code ###
.vscode/
.env

BIN
.idea/icon.png generated Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

87
LICENSE
View File

@@ -200,90 +200,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Apache Dubbo Submodules:
Apache Dubbo includes a number of submodules with separate copyright notices
and license terms. Your use of these submodules is subject to the terms and
conditions of the following licenses.
For the package org.apache.dubbo.common.threadlocal and org.apache.dubbo.common.timer:
This product contains a modified portion of 'Netty', an event-driven asynchronous network application framework also
under a "Apache License 2.0" license, see https://github.com/netty/netty/blob/4.1/LICENSE.txt:
* io.netty.util.concurrent.FastThreadLocal
* io.netty.util.internal.InternalThreadLocalMap
* io.netty.util.Timer
* io.netty.util.TimerTask
* io.netty.util.Timeout
* io.netty.util.HashedWheelTimer
For the org.apache.dubbo.common.utils.CIDRUtils :
This product contains a modified portion of 'edazdarevic.commons.net.CIDRUtils' published at
https://github.com/edazdarevic/CIDRUtils. The project is licensed under a MIT License:
* The MIT License
*
* Copyright (c) 2013 Edin Dazdarevic (edin.dazdarevic@gmail.com)
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
For the file org.apache.dubbo.common.utils.Utf8Utils.java:
This product contains a portion of the Protocol Buffers project, which is published at
https://developers.google.com/protocol-buffers/ and is licensed under the following License:
Copyright 2008 Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Code generated by the Protocol Buffer compiler is owned by the owner
of the input file used when generating it. This code is not
standalone and requires a support library to be linked with it. This
support library is itself covered by the above license.
For the ca.proto in dubbo-registry-xds:
This product contains a modified portion of 'Istio', an open platform to connect, manage, and secure microservices also
under a "Apache License 2.0" license, see https://github.com/istio/api/blob/master/LICENSE:
* security/v1alpha1/ca.proto

9
NOTICE Normal file
View File

@@ -0,0 +1,9 @@
* 在使用本项目前,请您仔细阅读使用须知及免责声明,确保您已充分理解其中的内容
* 本项目采用 APACHE LICENSE 2.0 开源协议,如您需要源码的开发方式,需要遵循以下几点
1. 禁止修改或删除 LICENSE 文件。
2. 禁止修改或删除源码头部的版权声明。
3. 本项目可免费商业使用,商业使用请保留项目源码、出处、描述文件和作者声明等。
4. 分发源码时候,请注明软件出处 https://visor.orionsec.cn/
5. 不可二次开发或参与同类竞品的开发。

120
README.md
View File

@@ -1,5 +1,5 @@
<div align="center"><img src="https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/cec03bbd-0eab-464d-9caf-d0b5a7ffc5a6.png" alt="logo" width="32" /></div>
<p style="margin-top: 12px" align="center"><b>一款高颜值、现代化的智能运维&轻量堡垒机平台。</b></p>
<div align="center"><img src="docs/assets/logo_horizontal.png?time=20250627" alt="logo" width="520" /></div>
<p style="margin-top: 12px" align="center"><b>【Dromara】 一款高颜值、现代化的自动化运维&轻量堡垒机平台。</b></p>
<p align="center">
<a target="_blank"
style="text-decoration: none !important;"
@@ -9,61 +9,66 @@
<a target="_blank"
style="text-decoration: none !important;"
href="https://www.apache.org/licenses/LICENSE-2.0">
<img src="https://img.shields.io/github/license/lijiahangmax/orion-visor" alt="License" />
<img src="https://img.shields.io/github/license/dromara/orion-visor" alt="License" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://github.com/dromara/orion-visor/releases">
<img src="https://img.shields.io/github/v/release/lijiahangmax/orion-visor" alt="release" />
<img src="https://img.shields.io/github/v/release/dromara/orion-visor" alt="release" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://gitee.com/dromara/orion-visor/stargazers">
<img src="https://gitee.com/dromara/orion-visor/badge/star.svg?theme=dark" alt="star" />
<img src="https://gitee.com/dromara/orion-visor/badge/star.svg?theme=gvp" alt="star" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://gitee.com/dromara/orion-visor/members">
<img src="https://gitee.com/dromara/orion-visor/badge/fork.svg?theme=dark" alt="fork" />
<img src="https://gitee.com/dromara/orion-visor/badge/fork.svg?theme=gvp" alt="fork" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://github.com/dromara/orion-visor">
<img src="https://img.shields.io/github/stars/lijiahangmax/orion-visor" alt="star" />
<img src="https://img.shields.io/github/stars/dromara/orion-visor" alt="star" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://github.com/dromara/orion-visor">
<img src="https://img.shields.io/github/forks/lijiahangmax/orion-visor" alt="star" />
<img src="https://img.shields.io/github/forks/dromara/orion-visor" alt="star" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://gitcode.com/dromara/orion-visor">
<img src="https://gitcode.com/dromara/orion-visor/star/badge.svg" alt="star"/>
</a>
</p>
------------------------------
**`orion-visor`** 提供一站式服务器运维解决方案。
**`orion-visor`** 提供一站式自动化运维解决方案。
* **资产管理**:支持对资产进行分组,实现对主机、密钥和身份的统一管理和授权。
* **在线终端**:提供在线终端 SSH 服务,支持快捷命令、自定义快捷键和主题风格。
* **在线终端**:提供在线终端 SSH/RDP/VNC 等多种协议,支持快捷命令、自定义快捷键和主题风格。
* **文件管理**:支持远程主机 SFTP 大文件的批量上传、下载和在线编辑等操作。
* **批量操作**:支持批量执行主机命令、多主机文件分发等功能。
* **计划任务**:支持配置 cron 表达式,定时执行主机命令。
* **系统监控**:支持对主机 CPU、内存、磁盘、网络等系统指标的监控和告警。
* **安全可靠**:动态配置权限,记录用户操作日志,提供简单的审计功能。
## 演示环境
* 🔗 演示地址: http://101.43.254.243:1081/
* 🔗 演示地址: [https://dv.orionsec.cn/](https://dv.orionsec.cn/)
* 🔏 演示账号: admin/admin
* ⭐ 体验后可以点一下 `star` 这对我很重要! [github](https://github.com/dromara/orion-visor) [gitee](https://gitee.com/dromara/orion-visor)
* ⭐ 体验后可以点一下 `star`
这对我很重要! [github](https://github.com/dromara/orion-visor) [gitee](https://gitee.com/dromara/orion-visor) [gitcode](https://gitcode.com/dromara/orion-visor)
* 🌈 如果本项目对你有帮助请帮忙推广一下 让更多的人知道此项目!
* 🎭 演示环境部分功能不可用, 完整功能请本地部署!
* 📛 演示环境请不要随便删除数据!
* 📧 如果演示环境不可用请联系我!
## 快速开始
```bash
# clone
git clone https://github.com/dromara/orion-visor
git clone --depth=1 https://github.com/dromara/orion-visor
cd orion-visor
# 启动
docker compose up -d
@@ -72,60 +77,81 @@ docker compose up -d
## 项目文档
* [文档地址](https://lijiahangmax.github.io/open-orion/orion-visor/)
* [安装文档](https://lijiahangmax.github.io/open-orion/orion-visor/quickstart/docker.html)
* [更新日志](https://lijiahangmax.github.io/open-orion/orion-visor/update/change-log.html)
* [操作手册](https://lijiahangmax.github.io/open-orion/orion-visor/operator/asset.html)
* [常见问题](https://lijiahangmax.github.io/open-orion/orion-visor/support/faq.html)
* [文档地址](https://visor.orionsec.cn/)
* [安装文档](https://visor.orionsec.cn/quickstart/docker.html)
* [更新日志](https://visor.orionsec.cn/update/change-log.html)
* [操作手册](https://visor.orionsec.cn/operator/asset.html)
* [常见问题](https://visor.orionsec.cn/support/faq.html)
## 技术栈
* SpringBoot 2.7.17
* Mysql 8.0.+
* Redis 6.0.+
* Vue3 3.2.+
* Arco Design 2.55.+
* SpringBoot 2.7+
* Mysql 8.0+
* Redis 6.0+
* InfluxDB 2.7+
* Vue 3.5+
* Arco Design 2.56+
## 主要功能预览
#### 工作台
![工作台](docs/assets/screenshot/workplace.png?time=20250627 "工作台")
#### 主机终端
![新建连接](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/aa7efb14-f2cc-4a6f-b96b-a47964ed8f79.png "新建连接")
![主机终端](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/66f121de-69b6-49f6-adc4-701a22d481c4.png "主机终端")
![sftp](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/f7a0d141-0ee0-484e-8ddb-24cad9ed2c03.png "sftp")
![主题设置](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/d6f37ab3-62d2-4c5e-a503-e76a1d5ddc8e.png "主题设置")
![新建连接](docs/assets/screenshot/terminal-hosts.png?time=20250627 "新建连接")
![ssh](docs/assets/screenshot/terminal-ssh.png?time=20250627 "ssh")
![sftp](docs/assets/screenshot/terminal-sftp.png?time=20250627 "sftp")
![rdp](docs/assets/screenshot/terminal-rdp.png?time=20250627 "rdp")
![主题设置](docs/assets/screenshot/terminal-theme.png?time=20250627 "主题设置")
#### 主机列表
![主机列表](docs/assets/screenshot/host-list.png?time=20250627 "主机列表")
#### 主机监控
![主机监控](docs/assets/screenshot/monitor-list.png?time=20250627 "主机监控")
![监控概览](docs/assets/screenshot/monitor-override.png?time=20250627 "监控概览")
![监控详情](docs/assets/screenshot/monitor-chart.png?time=20250627 "监控表格")
![告警通知](docs/assets/screenshot/monitor-alarm.png?time=20250627 "告警通知")
#### 批量执行
![批量执行](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/3effc2fc-56a5-498d-8dfb-0f4f3b8a4056.png "批量执行")
![批量执行](docs/assets/screenshot/exec-command.png?time=20250627 "批量执行")
![执行日志](docs/assets/screenshot/exec-log.png?time=20250627 "执行日志")
#### 批量上传
![批量上传任务](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/98240fa9-4056-4520-9034-290d1aa47d80.png "批量上传任务")
![批量上传任务](docs/assets/screenshot/batch-upload.png?time=20250627 "批量上传任务")
#### 计划任务
![计划任务详情](https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/29/d5ee6f04-7b2c-42ba-a3b3-642587f40cce.png "计划任务详情")
![计划任务详情](docs/assets/screenshot/exec-job.png?time=20250627 "计划任务详情")
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=lijiahangmax/orion-visor&type=Date)](https://star-history.com/#lijiahangmax/orion-visor&Date)
[![Star History Chart](https://api.star-history.com/svg?repos=dromara/orion-visor&type=Date)](https://star-history.com/#dromara/orion-visor&Date)
## 关于我
本人专注于使用 Java 和 Vue 进行全栈开发, 并在系统自动化运维方面拥有丰富开发的经验, 并提供企业级的解决方案。如果您在这些领域有需求或遇到痛点, 请随时联系我,
并备注“合作”。
## 联系我
<div style="display: flex;">
<img src="https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/17/d42d91f3-f0ee-4c63-adab-a35809e0804c.jpg" alt="wx" width="298px" height="398px"/>
</div>
<img src="docs/assets/vx.jpg?time=20250627" alt="vx" width="628px"/>
![个人微信: ljh1553488](https://img.shields.io/badge/ljh1553488-blue?style=social&label=WX%3A)
![QQ群1: 755242157](https://img.shields.io/badge/755242157-blue?style=social&label=QQ%E7%BE%A41%3A%20)
微信: ljh1553488
QQ群: 755242157
📧 咨询问题微信备注: vis
📧 问题/加群微信备注: ops
📧 合作/功能定制备注: 合作
## 支持一下
<img src="https://bjuimg.obs.cn-north-4.myhuaweicloud.com/images/2024/5/17/a5351e59-294c-4bec-b767-1a44c362fcbc.jpg" alt="收款码" width="540px"/>
<img src="docs/assets/pay.jpg?time=20250627" alt="收款码" width="540px"/>
🎁 为了项目能健康持续的发展, 我期望获得相应的资金支持, 你们的支持是我不断更新前进的动力!
@@ -135,4 +161,16 @@ docker compose up -d
## License
本项目遵循 [Apache-2.0](https://github.com/dromara/orion-visor/blob/main/LICENSE) 开源许可证。
本项目遵循 [Apache-2.0](https://github.com/dromara/orion-visor/blob/main/LICENSE) 开源许可证。
## 贡献者
[![Contributors](https://contri.buzz/api/wall?repo=dromara/orion-visor)](https://github.com/dromara/orion-visor, "Contributors")
## Gitee 最有价值的开源项目 GVP
![GVP](docs/assets/gvp.jpg?time=20250627 "GVP")
## GitCode 最有影响力的开源项目 G-Star
![GSTAR](docs/assets/gstar.jpg?time=20250627 "GSTAR")

View File

@@ -0,0 +1,94 @@
version: '3.3'
services:
service:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:latest
privileged: true
ports:
- "9200:9200"
environment:
SPRING_PROFILES_ACTIVE: prod
MYSQL_HOST: mysql
MYSQL_PORT: 3306
MYSQL_DATABASE: orion_visor
MYSQL_USER: root
MYSQL_PASSWORD: Data@123456
REDIS_HOST: redis
REDIS_PASSWORD: Data@123456
SECRET_KEY: uQeacXV8b3isvKLK
DEMO_MODE: false
volumes:
- /data/orion-visor-space/docker-volumes/service/root-orion:/root/orion
ulimits:
nofile:
soft: 65536
hard: 65536
healthcheck:
test: [ "CMD", "curl", "http://127.0.0.1:9200/orion-visor/api/server/bootstrap/health" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 15s
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_healthy
networks:
- orion-visor-net
mysql:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:latest
privileged: true
ports:
- "3307:3306"
environment:
MYSQL_DATABASE: orion_visor
MYSQL_USER: orion
MYSQL_PASSWORD: Data@123456
MYSQL_ROOT_PASSWORD: Data@123456
volumes:
- /data/orion-visor-space/docker-volumes/mysql/var-lib-mysql:/var/lib/mysql
- /data/orion-visor-space/docker-volumes/mysql/var-lib-mysql-files:/var/lib/mysql-files
healthcheck:
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/3306" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 5s
networks:
- orion-visor-net
redis:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
privileged: true
ports:
- "6380:6379"
environment:
REDIS_PASSWORD: Data@123456
volumes:
- /data/orion-visor-space/docker-volumes/redis/data:/data
command: sh -c "redis-server /usr/local/redis.conf --requirepass $${REDIS_PASSWORD}"
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 5s
networks:
- orion-visor-net
testing:
build:
context: ./docker/e2e
environment:
SERVER: http://service:9200
depends_on:
service:
condition: service_healthy
networks:
- orion-visor-net
networks:
orion-visor-net:
driver: bridge

181
docker-compose.yaml Normal file
View File

@@ -0,0 +1,181 @@
version: '3.3'
# latest = 2.5.4
# 支持以下源
# lijiahangmax/*
# ghcr.io/dromara/*
# registry.cn-hangzhou.aliyuncs.com/orionsec/*
services:
ui:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-ui:latest
ports:
- ${SERVICE_PORT:-1081}:80
environment:
NGINX_SERVICE_HOST: ${NGINX_SERVICE_HOST:-service}
NGINX_SERVICE_PORT: ${NGINX_SERVICE_PORT:-9200}
restart: unless-stopped
depends_on:
service:
condition: service_healthy
networks:
- orion-visor-net
service:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:latest
privileged: true
ports:
- "9200:9200"
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-prod}
MYSQL_HOST: ${MYSQL_HOST:-mysql}
MYSQL_PORT: ${MYSQL_PORT:-3306}
MYSQL_DATABASE: ${MYSQL_DATABASE:-orion_visor}
MYSQL_USER: ${MYSQL_USER:-root}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-Data@123456}
REDIS_HOST: ${REDIS_HOST:-redis}
REDIS_PASSWORD: ${REDIS_PASSWORD:-Data@123456}
REDIS_DATABASE: ${REDIS_DATABASE:-0}
REDIS_DATA_VERSION: ${REDIS_DATA_VERSION:-1}
INFLUXDB_ENABLED: ${INFLUXDB_ENABLED:-true}
INFLUXDB_HOST: ${INFLUXDB_HOST:-influxdb}
INFLUXDB_PORT: ${INFLUXDB_PORT:-8086}
INFLUXDB_ORG: ${INFLUXDB_ORG:-orion-visor}
INFLUXDB_BUCKET: ${INFLUXDB_BUCKET:-metrics}
INFLUXDB_TOKEN: ${INFLUXDB_TOKEN:-Data@123456}
GUACD_HOST: ${GUACD_HOST:-guacd}
GUACD_PORT: ${GUACD_PORT:-4822}
GUACD_DRIVE_PATH: ${GUACD_DRIVE_PATH:-/drive}
SECRET_KEY: ${SECRET_KEY:-uQeacXV8b3isvKLK}
API_EXPOSE_TOKEN: ${API_EXPOSE_TOKEN:-pmqeHOyZaumHm0Wt}
API_CORS: ${API_CORS:-true}
DEMO_MODE: ${DEMO_MODE:-false}
volumes:
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/service/root-orion:/root/orion
ulimits:
nofile:
soft: 65536
hard: 65536
restart: unless-stopped
healthcheck:
test: [ "CMD", "curl", "http://127.0.0.1:9200/orion-visor/api/server/bootstrap/health" ]
interval: 15s
timeout: 5s
retries: 15
start_period: 30s
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_healthy
influxdb:
condition: service_healthy
networks:
- orion-visor-net
mysql:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:latest
privileged: true
ports:
- "3307:3306"
environment:
MYSQL_DATABASE: ${MYSQL_DATABASE:-orion_visor}
MYSQL_USER: ${MYSQL_USER:-orion}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-Data@123456}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-Data@123456}
volumes:
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/mysql/var-lib-mysql:/var/lib/mysql
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/mysql/var-lib-mysql-files:/var/lib/mysql-files
restart: unless-stopped
healthcheck:
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/3306" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 10s
networks:
- orion-visor-net
redis:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
privileged: true
ports:
- "6380:6379"
environment:
REDIS_PASSWORD: ${REDIS_PASSWORD:-Data@123456}
volumes:
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/redis/data:/data
command: sh -c "redis-server /usr/local/redis.conf --requirepass $${REDIS_PASSWORD}"
restart: unless-stopped
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 10s
networks:
- orion-visor-net
influxdb:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-influxdb:latest
privileged: true
ports:
- "8086:8086"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: ${INFLUXDB_ADMIN_USERNAME:-admin}
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_ADMIN_PASSWORD:-Data@123456}
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_TOKEN:-Data@123456}
DOCKER_INFLUXDB_INIT_ORG: ${INFLUXDB_ORG:-orion-visor}
DOCKER_INFLUXDB_INIT_BUCKET: ${INFLUXDB_BUCKET:-metrics}
volumes:
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/influxdb/data:/var/lib/influxdb2
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/influxdb/config:/etc/influxdb2
restart: unless-stopped
healthcheck:
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/8086" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 10s
networks:
- orion-visor-net
guacd:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-guacd:latest
ports:
- "4822:4822"
environment:
GUACD_LOG_LEVEL: info
GUACD_LOG_FILE: /var/log/guacd.log
volumes:
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/guacd/drive:${GUACD_DRIVE_PATH:-/drive}
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/guacd/var-logs:/var/log
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/guacd/local-guacamole-lib:/usr/local/guacamole/lib
- ${VOLUME_BASE:-/data/orion-visor-space/docker-volumes}/guacd/local-guacamole-extensions:/usr/local/guacamole/extensions
restart: unless-stopped
healthcheck:
test: [ "CMD", "nc", "-vz", "localhost", "4822" ]
interval: 15s
timeout: 5s
retries: 10
start_period: 10s
networks:
- orion-visor-net
adminer:
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:latest
ports:
- "8081:8080"
environment:
ADMINER_DEFAULT_SERVER: ${MYSQL_HOST:-mysql}
depends_on:
mysql:
condition: service_healthy
networks:
- orion-visor-net
networks:
orion-visor-net:
driver: bridge

View File

@@ -1,49 +0,0 @@
version: '3.3'
services:
orion-visor-service:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-service:2.0.8
ports:
- 1081:80
environment:
- MYSQL_HOST=orion-visor-mysql
- MYSQL_PORT=3306
- MYSQL_DATABASE=orion_visor
- MYSQL_USER=root
- MYSQL_PASSWORD=Data@123456
- REDIS_HOST=orion-visor-redis
- REDIS_PASSWORD=Data@123456
- SECRET_KEY=uQeacXV8b3isvKLK
- DEMO_MODE=false
volumes:
- /data/orion-visor-space/docker-volumes/orion-visor-service/root-orion:/root/orion
depends_on:
- orion-visor-mysql
- orion-visor-redis
orion-visor-mysql:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-mysql:2.0.8
privileged: true
ports:
- 3307:3306
environment:
- MYSQL_DATABASE=orion_visor
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- MYSQL_ROOT_PASSWORD=Data@123456
volumes:
- /data/orion-visor-space/docker-volumes/orion-visor-mysql/var-lib-mysql:/var/lib/mysql
- /data/orion-visor-space/docker-volumes/orion-visor-mysql/var-lib-mysql-files:/var/lib/mysql-files
- /data/orion-visor-space/docker-volumes/orion-visor-mysql/etc-mysql:/etc/mysql
orion-visor-redis:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:2.0.8
privileged: true
ports:
- 6380:6379
environment:
- REDIS_PASSWORD=Data@123456
volumes:
- /data/orion-visor-space/docker-volumes/orion-visor-redis/data:/data
command: sh -c "redis-server /usr/local/redis.conf --requirepass $${REDIS_PASSWORD}"
orion-visor-adminer:
image: adminer
ports:
- 8081:8080

View File

@@ -1,7 +1,51 @@
#/bin/bash
docker compose down
# demo 启动
if [ "$1" == "demo" ]; then
sed -i 's/DEMO_MODE=false/DEMO_MODE=true/g' docker-compose.yml
#!/bin/bash
# 初始化标志变量
PULL_IMAGES=false
DEMO_MODE=false
# 解析命令行参数
for arg in "$@"
do
case $arg in
--pull)
PULL_IMAGES=true
shift
;;
--demo)
DEMO_MODE=true
shift
;;
*)
echo "Unknown argument: $arg"
exit 1
;;
esac
done
# 停止并移除现有容器
echo "Stopping all services..."
docker compose down --remove-orphans
echo "Stopped all services..."
# 拉取镜像
if [ "$PULL_IMAGES" = true ]; then
echo "Pulling latest images..."
docker compose pull
echo "Pulled latest images..."
fi
if [ "$DEMO_MODE" = true ]; then
# 启用 demo 模式
export DEMO_MODE=true
echo "Starting services for demo mode..."
# 启动指定的服务
docker compose up -d --remove-orphans mysql redis ui service guacd influxdb adminer
echo "Started services for demo mode..."
else
# 启动所有服务
echo "Starting all services..."
docker compose up -d --remove-orphans
echo "Started all services..."
fi
docker compose up -d

View File

@@ -0,0 +1 @@
FROM --platform=$TARGETPLATFORM adminer:latest

View File

@@ -0,0 +1,17 @@
#FROM --platform=$BUILDPLATFORM maven:3.9-amazoncorretto-8 AS builder
FROM maven:3.9-amazoncorretto-8 AS builder
# 设置阿里云镜像加速
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# 拷贝 settings.xml
COPY ./docker/builder/maven-settings.xml /root/.m2/settings.xml
WORKDIR /build
COPY . .
# 复制 POM 文件先进行依赖下载 (利用 Docker 缓存)
RUN mvn dependency:go-offline --settings=/root/.m2/settings.xml
# 构建
RUN mvn clean package -DskipTests --settings=/root/.m2/settings.xml

View File

@@ -0,0 +1,26 @@
#FROM --platform=$BUILDPLATFORM node:18-alpine AS builder
FROM node:18-alpine AS builder
# 设置阿里云镜像加速
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# 安装 pnpm
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /build
# 设置 pnpm 使用指定的 registry
ARG REGISTRY_URL=https://registry.npmmirror.com
RUN pnpm config set registry $REGISTRY_URL
# 复制项目文件
COPY ./orion-visor-ui/package.json ./orion-visor-ui/pnpm-lock.yaml* ./
# 安装依赖 (利用 Docker 缓存层)
RUN pnpm install --frozen-lockfile
# 复制源代码
COPY ./orion-visor-ui/ .
# 构建项目
RUN pnpm build

View File

@@ -0,0 +1,55 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>repos</id>
<repositories>
<!-- 阿里云 Maven 公共仓库 -->
<repository>
<id>aliyun</id>
<name>Aliyun Repository</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- Maven 中央仓库 -->
<repository>
<id>central</id>
<name>Maven Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-plugin</id>
<url>https://maven.aliyun.com/repository/public</url>
</pluginRepository>
<pluginRepository>
<id>central-plugin</id>
<url>https://repo.maven.apache.org/maven2</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<!-- 激活 profile -->
<activeProfiles>
<activeProfile>repos</activeProfile>
</activeProfiles>
</settings>

233
docker/docker-build.sh Normal file
View File

@@ -0,0 +1,233 @@
#!/bin/bash
set -e
# DockerContext: orion-visor/docker
# 加载项目构建
source ./project-build.sh "$@"
# 版本号
version=2.5.4
# 是否推送镜像
push_image=false
# 是否构建 latest
latest_image=false
# 是否本地构建
locally_build=false
# 备份后缀
backup_suffix=".bak"
# 镜像命名空间
namespace="registry.cn-hangzhou.aliyuncs.com/orionsec"
# 解析命令行参数
while [[ $# -gt 0 ]]; do
case "$1" in
-l|--locally)
locally_build=true
shift
;;
-latest|--latest-image)
latest_image=true
shift
;;
-push|--push-image)
push_image=true
shift
;;
*)
shift
;;
esac
done
# 要处理的 Dockerfile 列表及对应的镜像名称
declare -A images=(
["./ui/Dockerfile"]="orion-visor-ui"
["./service/Dockerfile"]="orion-visor-service"
["./mysql/Dockerfile"]="orion-visor-mysql"
["./redis/Dockerfile"]="orion-visor-redis"
["./influxdb/Dockerfile"]="orion-visor-influxdb"
["./adminer/Dockerfile"]="orion-visor-adminer"
["./guacd/Dockerfile"]="orion-visor-guacd"
)
# 准备 service jar
function prepare_app_jar() {
local source_file="../orion-visor-launch/target/orion-visor-launch.jar"
local target_file="./service/orion-visor-launch.jar"
if [ ! -f "$target_file" ]; then
echo "警告: $target_file 不存在, 正在尝试从 $source_file 复制..."
if [ -f "$source_file" ]; then
cp "$source_file" "$target_file"
echo "已成功复制 $source_file$target_file"
else
echo "错误: $source_file 不存在, 无法继续构建."
exit 1
fi
else
echo "$target_file 已存在, 无需复制."
fi
}
# 准备 instance-agent
function prepare_instance_agent() {
local target_file="./service/instance-agent-release.tar.gz"
if [ ! -f "$target_file" ]; then
echo "警告: $target_file 不存在, 正在尝试从 Github Release 下载..."
# 尝试从 GitHub Release 下载
if curl -L --fail \
--connect-timeout 30 --max-time 30 \
https://github.com/lijiahangmax/orion-visor-agent/releases/latest/download/instance-agent-release.tar.gz \
-o "$target_file"; then
echo "已成功下载到 $target_file"
fi
# 如果下载失败, 提示用户手动下载
echo "错误: 无法从 Release 获取 instance-agent-release.tar.gz"
echo "请手动从以下地址下载, 并放置到 $target_file"
echo " 1) https://github.com/lijiahangmax/orion-visor-agent/raw/main/instance-agent-release.tar.gz"
echo " 2) https://gitee.com/lijiahangmax/orion-visor-agent/raw/main/instance-agent-release.tar.gz"
exit 1
else
echo "$target_file 已存在, 无需下载."
fi
}
# 准备前端 dist 目录
function prepare_dist_directory() {
local source_dir="../orion-visor-ui/dist"
local target_dir="./ui/dist"
if [ ! -d "$target_dir" ]; then
echo "警告: $target_dir 不存在, 正在尝试从 $source_dir 复制..."
if [ -d "$source_dir" ]; then
cp -r "$source_dir" "$target_dir"
echo "已成功复制 $source_dir$target_dir"
else
echo "错误: $source_dir 不存在, 无法继续构建."
exit 1
fi
else
echo "$target_dir 已存在, 无需复制."
fi
}
# 准备 mysql sql 目录
function prepare_sql_directory() {
local source_dir="../sql"
local target_dir="./mysql/sql"
if [ ! -d "$target_dir" ]; then
echo "警告: $target_dir 不存在, 正在尝试从 $source_dir 复制..."
if [ -d $source_dir ]; then
cp -r $source_dir "$target_dir"
echo "已成功复制 ../sql 至 $target_dir"
else
echo "错误: $source_dir 不存在!根据预期它应该存在, 请确认路径或项目结构是否正确"
exit 1
fi
else
echo "$target_dir 已存在, 无需复制."
fi
}
# 修改 Dockerfile 前的备份
function modify_dockerfiles() {
if [ "$locally_build" = false ]; then
echo "跳过 Dockerfile 修改"
return
fi
echo "正在备份并修改 Dockerfile..."
for file in "${!images[@]}"; do
if [ -f "$file" ]; then
echo "备份并修改: $file"
cp "$file" "$file$backup_suffix"
sed -i 's/--platform=\TARGETPLATFORM//g' "$file"
else
echo "文件不存在 -> $file"
fi
done
}
# 恢复原始 Dockerfile
function restore_dockerfiles() {
if [ "$locally_build" = false ]; then
return
fi
echo "开始恢复 Dockerfile"
for file in "${!images[@]}"; do
if [ -f "$file$backup_suffix" ]; then
echo "恢复: $file"
rm -rf "$file"
mv "$file$backup_suffix" "$file"
fi
done
echo "Dockerfile 已恢复为原始版本"
}
# 构建镜像
function build_images() {
echo "构建镜像开始..."
for dockerfile in "${!images[@]}"; do
image_name="${images[$dockerfile]}"
echo "Building $image_name with version $version."
# 构建 Docker 镜像
docker build -f "$dockerfile" -t "${image_name}:${version}" -t "${namespace}/${image_name}:${version}" .
# 添加 latest 标签
if [ "$latest_image" = true ]; then
echo "Tag $image_name with latest version."
docker tag "${image_name}:${version}" "${image_name}:latest"
docker tag "${namespace}/${image_name}:${version}" "${namespace}/${image_name}:latest"
fi
done
echo "构建镜像结束..."
}
# 推送镜像
function push_image_to_registry() {
if [ "$push_image" = true ]; then
echo "推送镜像开始..."
for image_name in "${images[@]}"; do
# 推送版本
docker push "${namespace}/${image_name}:${version}"
# 推送 latest
if [ "latest_image" = true ]; then
docker push "${namespace}/${image_name}:latest"
fi
done
echo "推送镜像结束..."
fi
}
# 构建项目-service
if [ "$build_service" = true ]; then
run_build_service
fi
# 构建项目-ui
if [ "$build_ui" = true ]; then
run_build_ui
fi
# 检查资源
echo "正在检查并准备必要的构建资源..."
prepare_app_jar
prepare_instance_agent
prepare_dist_directory
prepare_sql_directory
echo "所有前置资源已准备完毕"
# 修改镜像文件
modify_dockerfiles
# 设置异常捕获, 确保失败时恢复 Dockerfile
trap 'restore_dockerfiles; echo "构建失败, 已恢复原始 Dockerfile"; exit 1' ERR INT
# 构建镜像
build_images
# 推送镜像
push_image_to_registry
# 恢复原始 Dockerfile
restore_dockerfiles
trap - ERR INT
echo "构建完成"

7
docker/e2e/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM ghcr.io/linuxsuren/api-testing:v0.0.17
WORKDIR /workspace
COPY . .
RUN chmod 777 *
CMD [ "/workspace/entrypoint.sh" ]

3
docker/e2e/entrypoint.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
set -e
atest run -p testsuite.yaml --report md

49
docker/e2e/testsuite.yaml Normal file
View File

@@ -0,0 +1,49 @@
#!api-testing
# yaml-language-server: $schema=https://linuxsuren.github.io/api-testing/api-testing-schema.json
name: orion-visor
api: |
{{default "http://service:9200" (env "SERVER")}}
items:
- name: login
request:
api: /orion-visor/api/infra/auth/login
method: POST
header:
Content-type: application/json
body: |
{"username":"admin","password":"21232f297a57a5a743894a0e4a801fc3"}
expect:
bodyFieldsExpect:
code: 200
- name: user
request:
api: /orion-visor/api/infra/user-aggregate/user
header:
Authorization: Bearer {{.login.data.token}}
expect:
bodyFieldsExpect:
code: 200
msg: "success"
- name: menu
request:
api: /orion-visor/api/infra/user-aggregate/menu
header:
Authorization: Bearer {{.login.data.token}}
expect:
bodyFieldsExpect:
code: 200
msg: "success"
- name: haveUnRead
request:
api: /orion-visor/api/infra/system-message/has-unread
- name: queryOperatorLog
request:
api: /orion-visor/api/infra/mine/query-operator-log
method: POST
- name: hostList
request:
api: /orion-visor/api/infra/tag/list?type=HOST
- name: queryHost
request:
api: /orion-visor/api/asset/host/query
method: POST

17
docker/guacd/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM --platform=$TARGETPLATFORM guacamole/guacd:1.6.0
USER root
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包 & 设置时区
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add --no-cache tzdata && \
ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone
# 创建所需目录
RUN mkdir -p /home/guacd/drive /usr/share/guacd/drive

View File

@@ -0,0 +1,8 @@
FROM --platform=$TARGETPLATFORM influxdb:2
# 系统时区
ARG TZ=Asia/Shanghai
# 设置时区
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone

18
docker/mysql/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM --platform=$TARGETPLATFORM mysql:8.0.39
# 系统时区
ARG TZ=Asia/Shanghai
# 设置时区
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone
# 复制配置文件
COPY ./mysql/my.cnf /etc/mysql/conf.d/my.cnf
# 复制初始化脚本
COPY ./mysql/sql/init-*.sql /docker-entrypoint-initdb.d/
# 心跳检测
HEALTHCHECK --interval=10s --timeout=3s --start-period=3s --retries=3 \
CMD mysqladmin ping -h localhost -u root --password=${MYSQL_ROOT_PASSWORD} || exit 1

View File

@@ -12,13 +12,13 @@ socket=/var/run/mysqld/mysqld.sock
# 数据目录
datadir=/var/lib/mysql
# 不区分大小 0区分 1不区分
lower_case_table_names=1
lower_case_table_names=0
# 服务器时区
default-time_zone='+8:00'
# 服务端字符集
character_set_server=utf8mb4
# 字符排序规则
collation_server=utf8mb4_general_ci
collation_server=utf8mb4_unicode_ci
# 默认存储引擎
default-storage-engine=InnoDB
# 禁止 DNS 解析

View File

@@ -1,19 +0,0 @@
FROM mysql:8.0.28
# 系统时区
ARG TZ=Asia/Shanghai
# 设置时区
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo '${TZ}' > /etc/timezone
# 复制配置
COPY ./my.cnf /etc/mysql/conf.d/my.cnf
# 复制初始化脚本
COPY ./sql/init-1-schema-databases.sql /tmp
COPY ./sql/init-2-schema-tables.sql /tmp
COPY ./sql/init-3-schema-quartz.sql /tmp
COPY ./sql/init-4-data.sql /tmp
# 设置初始化脚本
RUN cat /tmp/init-1-schema-databases.sql >> /tmp/init.sql && \
cat /tmp/init-2-schema-tables.sql >> /tmp/init.sql && \
cat /tmp/init-3-schema-quartz.sql >> /tmp/init.sql && \
cat /tmp/init-4-data.sql >> /tmp/init.sql && \
cp /tmp/init.sql /docker-entrypoint-initdb.d

View File

@@ -1,7 +0,0 @@
#/bin/bash
version=2.0.8
cp -r ../../sql ./sql
docker build -t orion-visor-mysql:${version} .
rm -rf ./sql
docker tag orion-visor-mysql:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-mysql:${version}
docker push registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-mysql:${version}

View File

@@ -1,15 +0,0 @@
FROM redis:6.0.16-alpine
WORKDIR /data
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add tzdata
# 设置时区
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo '${TZ}' > /etc/timezone
# redis 配置
COPY ./redis.conf /tmp
RUN cat /tmp/redis.conf > /usr/local/redis.conf

View File

@@ -1,5 +0,0 @@
#/bin/bash
version=2.0.8
docker build -t orion-visor-redis:${version} .
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version}
docker push registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version}

View File

@@ -1,23 +0,0 @@
FROM nginx:alpine
USER root
WORKDIR /app
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add tzdata && \
apk add openjdk8
# 设置时区
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo '${TZ}' > /etc/timezone
# 删除原 nginx 配置
RUN rm -rf /etc/nginx/conf.d/*
# 复制包
COPY ./orion-visor-launch.jar /app/app.jar
COPY ./dist /usr/share/nginx/html
COPY ./entrypoint.sh /app/entrypoint.sh
COPY ./nginx.conf /etc/nginx/conf.d
# 启动
ENTRYPOINT [ "sh", "/app/entrypoint.sh" ]

View File

@@ -1,9 +0,0 @@
#/bin/bash
version=2.0.8
mv ../../orion-visor-launch/target/orion-visor-launch.jar ./orion-visor-launch.jar
mv ../../orion-visor-ui/dist ./dist
docker build -t orion-visor-service:${version} .
rm -rf ./orion-visor-launch.jar
rm -rf ./dist
docker tag orion-visor-service:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-service:${version}
docker push registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-service:${version}

View File

@@ -1,4 +0,0 @@
#!/bin/bash
cd /app
nohup java -jar app.jar --spring.profiles.active=prod 2>&1 &
nginx -g 'daemon off;'

View File

@@ -1,56 +0,0 @@
server {
listen 80;
server_name localhost;
client_max_body_size 1024m;
# 是否启动 gzip 压缩
gzip on;
# 需要压缩的常见静态资源
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
# 如果文件大于 1k 就启动压缩
gzip_min_length 1k;
# 缓冲区
gzip_buffers 4 16k;
# 压缩的等级
gzip_comp_level 2;
# access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# web history 模式 404
try_files $uri $uri/ /index.html;
}
location /orion-visor/api {
proxy_pass http://localhost:9200/orion-visor/api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /orion-visor/keep-alive {
proxy_pass http://localhost:9200/orion-visor/keep-alive;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

125
docker/project-build.sh Normal file
View File

@@ -0,0 +1,125 @@
#!/bin/bash
set -e
# DockerContext: orion-visor
# 版本号
version=2.5.4
# 是否构建 service
export build_service=false
# 是否构建 ui
export build_ui=false
# 解析命令行参数
for arg in "$@"; do
case "$arg" in
-service|--build-service)
export build_service=true
;;
-ui|--build-ui)
export build_ui=true
;;
esac
done
# 执行构建 service
function run_build_service() {
echo "开始执行 service 构建流程..."
local builder_dockerfile="./builder/Dockerfile.service"
local builder_image="orion-visor-service-builder"
local builder_container="orion-visor-service-builder-ctn"
local builder_output="/build/orion-visor-launch/target/orion-visor-launch.jar"
local target_dir="../orion-visor-launch/target"
local target_jar="$target_dir/orion-visor-launch.jar"
# 确保目标目录存在
if [ ! -d "$target_dir" ]; then
echo "创建目标目录: $target_dir"
mkdir -p "$target_dir"
else
# 如果 jar 已存在, 先删除
if [ -f "$target_jar" ]; then
echo "删除已有文件: $target_jar"
rm -f "$target_jar"
fi
fi
# 清理旧容器
local container_id=$(docker ps -a -f "name=$builder_container" --format "{{.ID}}")
if [ -n "$container_id" ]; then
echo "删除旧容器: $builder_container"
docker rm -f "$container_id"
fi
# 构建构建镜像
echo "正在构建 service builder image..."
docker build \
-f "$builder_dockerfile" \
-t "$builder_image:$version" ../
# 创建一个临时容器用于拷贝文件
echo "创建临时容器以提取 jar 文件..."
docker create --name "$builder_container" "$builder_image:$version" > /dev/null
# 拷贝构建好的 jar 文件到目标路径
echo "正在从容器中拷贝 jar 文件..."
docker cp "$builder_container:$builder_output" "$target_jar"
# 清理临时容器
docker rm -f "$builder_container" > /dev/null
echo "后端构建完成, jar 文件已保存至: $target_jar"
}
# 执行构建 ui
function run_build_ui() {
echo "开始执行 ui 构建流程..."
local builder_dockerfile="./builder/Dockerfile.ui"
local builder_image="orion-visor-ui-builder"
local builder_container="orion-visor-ui-builder-ctn"
local builder_output="/build/dist"
local target_dir="../orion-visor-ui/dist"
# 如果 dist 已存在, 先删除
if [ -d "$target_dir" ]; then
echo "删除已有目录: $target_dir"
rm -rf "$target_dir"
fi
# 清理旧容器
local container_id=$(docker ps -a -f "name=$builder_container" --format "{{.ID}}")
if [ -n "$container_id" ]; then
echo "删除旧容器: $builder_container"
docker rm -f "$container_id"
fi
# 构建前端镜像
echo "正在构建 ui builder image..."
docker build \
-f "$builder_dockerfile" \
-t "$builder_image:$version" ../
# 创建临时容器用于拷贝文件
echo "创建临时容器以提取 dist 文件..."
docker create --name "$builder_container" "$builder_image:$version" > /dev/null
# 拷贝 dist 目录
echo "正在从容器中拷贝 dist 文件..."
docker cp "$builder_container:$builder_output" "$target_dir"
# 清理临时容器
docker rm "$builder_container" > /dev/null
echo "前端构建完成, dist 已保存至: $target_dir"
}
# 构建项目-service
if [ "$build_service" = true ]; then
run_build_service
fi
# 构建项目-ui
if [ "$build_ui" = true ]; then
run_build_ui
fi

22
docker/redis/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM --platform=$TARGETPLATFORM redis:6.0.16-alpine
WORKDIR /data
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包 & 设置时区
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add --no-cache tzdata && \
ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone && \
rm -rf /var/cache/apk/* && \
rm -f /usr/local/redis.conf
# 复制配置文件
COPY ./redis/redis.conf /usr/local/redis.conf
# 启动 Redis 并加载自定义配置
CMD ["redis-server", "/usr/local/redis.conf"]

35
docker/service/Dockerfile Normal file
View File

@@ -0,0 +1,35 @@
FROM --platform=$TARGETPLATFORM openjdk:8-jdk-alpine
USER root
WORKDIR /app
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包 & 设置时区
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add curl && \
apk add udev && \
apk add tzdata && \
ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone
# 复制启动脚本
COPY ./service/entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
# 复制 jar 包
COPY ./service/orion-visor-launch.jar /app/app.jar
# 复制探针包
ADD ./service/instance-agent-release.tar.gz /app/instance-agent-release
# 启动检测
HEALTHCHECK --interval=15s --timeout=5s --retries=5 --start-period=10s \
CMD wget -T5 -qO- http://127.0.0.1:9200/orion-visor/api/server/bootstrap/health | grep ok || exit 1
# 启动
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["java", "-jar", "/app/app.jar"]

View File

@@ -0,0 +1,23 @@
#!/bin/sh
AGENT_RELEASE_DIR="/root/orion/orion-visor/instance-agent-release"
DEFAULT_AGENT_DIR="/app/instance-agent-release"
# 确保父目录存在
mkdir -p "$(dirname "$AGENT_RELEASE_DIR")"
# 加载探针
if [ -d "$AGENT_RELEASE_DIR" ] && [ -n "$(ls -A "$AGENT_RELEASE_DIR" 2>/dev/null)" ]; then
echo "Using mounted agent release: $AGENT_RELEASE_DIR"
else
echo "Using default agent release: $DEFAULT_AGENT_DIR"
# 复制探针
cp -rf "$DEFAULT_AGENT_DIR" "$AGENT_RELEASE_DIR"
fi
# 打印探针版本信息
if [ -f "$AGENT_RELEASE_DIR/.version" ]; then
echo "Agent version: $(cat "$AGENT_RELEASE_DIR/.version")"
fi
exec "$@"

30
docker/ui/Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
FROM --platform=$TARGETPLATFORM nginx:alpine
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包 & 设置时区
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add --no-cache tzdata && \
ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone && \
rm -rf /var/cache/apk/* && \
rm -rf /etc/nginx/nginx.conf && \
rm -rf /etc/nginx/conf.d/*
# 复制前端静态文件
COPY ./ui/dist /usr/share/nginx/html
# 复制配置
COPY ./ui/nginx.conf /etc/nginx
COPY ./ui/service.conf /etc/nginx/conf.d
# 复制启动脚本
COPY ./ui/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# 启动
ENTRYPOINT ["/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]

11
docker/ui/entrypoint.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
# 设置环境变量
NGINX_SERVICE_HOST="${NGINX_SERVICE_HOST:-service}"
NGINX_SERVICE_PORT="${NGINX_SERVICE_PORT:-9200}"
# 替换环境变量
sed -i "s|\${NGINX_SERVICE_HOST}|${NGINX_SERVICE_HOST}|g" /etc/nginx/conf.d/service.conf
sed -i "s|\${NGINX_SERVICE_PORT}|${NGINX_SERVICE_PORT}|g" /etc/nginx/conf.d/service.conf
exec "$@"

30
docker/ui/nginx.conf Normal file
View File

@@ -0,0 +1,30 @@
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server_tokens off;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /etc/nginx/conf.d/*.conf;
}

56
docker/ui/service.conf Normal file
View File

@@ -0,0 +1,56 @@
server {
listen 80;
server_name localhost;
client_max_body_size 1024m;
# 是否启动 gzip 压缩
gzip on;
# 需要压缩的常见静态资源
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
# 如果文件大于 1k 就启动压缩
gzip_min_length 1k;
# 缓冲区
gzip_buffers 4 16k;
# 压缩的等级
gzip_comp_level 2;
# access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# web history 模式 404
try_files $uri $uri/ /index.html;
}
location /orion-visor/api {
proxy_pass http://${NGINX_SERVICE_HOST}:${NGINX_SERVICE_PORT}/orion-visor/api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /orion-visor/keep-alive {
proxy_pass http://${NGINX_SERVICE_HOST}:${NGINX_SERVICE_PORT}/orion-visor/keep-alive;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

View File

@@ -1,17 +0,0 @@
## 免责声明
> 欢迎您选择使用 orion-visor以下简称「本项目」。在使用本项目前请您仔细阅读本免责声明并确保您已充分理解其中的内容。您的使用行为将视为对本声明全部内容的认可和接受。
> 本项目为一款开源免费的运维管理工具,采用 Apache 2.0 许可证授权。您可在遵守相关法律法规及许可证条款的前提下,自由修改和使用本项目。
1. 本项目尊重并保护所有用户的个人隐私权。本项目不会收集、存储或传输用户的任何个人信息。
2. 您承诺秉着合法、合理的原则使用本项目,不利用本项目进行任何违法、侵害他人合法利益等恶意的行为,亦不将本项目运用于任何违反我国法律法规的平台。
3. 任何单位或个人因下载使用本项目而产生的任何意外、疏忽、合约毁坏、诽谤、版权或知识产权侵犯及其造成的损失 (包括但不限于直接、间接、附带或衍生的损失等),本人不承担任何法律责任。
4. 用户明确并同意本声明条款列举的全部内容,对使用本项目可能存在的风险和相关后果将完全由用户自行承担,本人不承担任何法律责任。
5. 任何单位或个人在阅读本免责声明后应在《Apache 2.0
开源许可证》所允许的范围内进行合法的发布、传播和使用本项目等行为,若违反本免责声明条款或违反法律法规所造成的法律责任(包括但不限于民事赔偿和刑事责任),由违约者自行承担。
6. 本人对本项目拥有知识产权(包括但不限于商标权、专利权、著作权、商业秘密等),上述产品均受到相关法律法规的保护。
7. 任何单位或个人不得在未经本人书面授权的情况下对本项目本身申请相关的知识产权。
8. 如果本声明的任何部分被认为无效或不可执行,则该部分将被解释为反映本人的初衷,其余部分仍具有完全效力。不可执行的部分声明,并不构成我们放弃执行该声明的权利。
9. 本人有权随时对本声明条款及附件内容进行单方面的变更,并以消息推送、网页公告等方式予以公布,公布后立即自动生效,无需另行单独通知;若您在本声明内容公告变更后继续使用的,表示您已充分阅读、理解并接受修改后的声明内容。
10. 本人保留对本声明的最终解释权。

View File

@@ -1,142 +1,5 @@
<div align="center"><img src="./assert/logo.svg" alt="logo" width="32" /></div>
<p style="margin-top: 12px" align="center"><b>一款高颜值、现代化的智能运维&轻量堡垒机平台。</b></p>
<p align="center">
<a target="_blank"
style="text-decoration: none !important;"
href="https://app.codacy.com/gh/lijiahangmax/orion-visor/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade">
<img src="https://app.codacy.com/project/badge/Grade/49eaab3a9a474af3b87e1d21ffec71c4" alt="quality" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://www.apache.org/licenses/LICENSE-2.0">
<img src="https://img.shields.io/github/license/lijiahangmax/orion-visor" alt="License" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://github.com/lijiahangmax/orion-visor/releases">
<img src="https://img.shields.io/github/v/release/lijiahangmax/orion-visor" alt="release" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://gitee.com/lijiahangmax/orion-visor/stargazers">
<img src="https://gitee.com/lijiahangmax/orion-visor/badge/star.svg?theme=dark" alt="star" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://gitee.com/lijiahangmax/orion-visor/members">
<img src="https://gitee.com/lijiahangmax/orion-visor/badge/fork.svg?theme=dark" alt="fork" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://github.com/lijiahangmax/orion-visor">
<img src="https://img.shields.io/github/stars/lijiahangmax/orion-visor" alt="star" />
</a>
<a target="_blank"
style="text-decoration: none !important;"
href="https://github.com/lijiahangmax/orion-visor">
<img src="https://img.shields.io/github/forks/lijiahangmax/orion-visor" alt="star" />
</a>
</p>
## 文档已迁移至在线文档
------------------------------
<p><b>⛔⛔此页面已不再维护, 请跳转至
<a target="_blank" href="https://lijiahangmax.github.io/open-orion/orion-visor">这里</a>
查看最新文档 ❗</b></p>
------------------------------
**`orion-visor`** 提供一站式服务器运维解决方案。
* **资产管理**:支持对资产进行分组,实现对主机、密钥和身份的统一管理和授权。
* **在线终端**:提供在线终端 SSH 服务,支持快捷命令、自定义快捷键和主题风格。
* **文件管理**:支持远程主机 SFTP 大文件的批量上传、下载和在线编辑等操作。
* **批量操作**:支持批量执行主机命令、多主机文件分发等功能。
* **计划任务**:支持配置 cron 表达式,定时执行主机命令。
* **安全可靠**:动态配置权限,记录用户操作日志,提供简单的审计功能。
## 演示环境
演示地址: http://101.43.254.243:1081/
演示账号: admin/admin
⭐ 体验后可以点一下 `star` 这对我很重要!
🌈 如果本项目对你有帮助请帮忙推广一下 让更多的人知道此项目!
[github](https://github.com/lijiahangmax/orion-visor) [gitee](https://gitee.com/lijiahangmax/orion-visor)
## 快速开始
```bash
# clone
git clone https://github.com/lijiahangmax/orion-visor
cd orion-visor
# 启动
docker compose up -d
```
## 项目文档
* [文档地址](/)
* [安装文档](/quickstart/docker-install)
* [更新日志](/about/change-log)
* [操作手册](/operator/asset)
* [常见问题](/quickstart/faq)
## 技术栈
* SpringBoot 2.7.17
* Mysql 8.0.+
* Redis 6.0.+
* Vue3 3.2.+
* Arco Design 2.55.+
## 主要功能预览
#### 主机终端
![新建连接](./assert/img/terminal_collections.png "新建连接")
![主机终端](./assert/img/terminal_ssh.png "主机终端")
![sftp](./assert/img/terminal_sftp.png "sftp")
![主题设置](./assert/img/terminal_theme.png "主题设置")
#### 批量执行
![批量执行](./assert/img/batch_exec.png "批量执行")
#### 批量上传
![批量上传任务](./assert/img/batch_upload_form.png "批量上传任务")
#### 计划任务
![计划任务详情](./assert/img/exec_job_detail.png "计划任务详情")
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=lijiahangmax/orion-visor&type=Date)](https://star-history.com/#lijiahangmax/orion-visor&Date)
## 联系我
<div style="display: flex;">
<img src="./assert/img/wx.jpg" alt="wx" width="298px" height="398px"/>
</div>
![个人微信: ljh1553488](https://img.shields.io/badge/ljh1553488-blue?style=social&label=WX%3A)
![QQ群1: 755242157](https://img.shields.io/badge/755242157-blue?style=social&label=QQ%E7%BE%A41%3A%20)
📧 咨询问题微信备注: vis
📧 合作/功能定制备注: 合作
## 支持一下
<img src="./assert/img/support_pay.jpg" alt="收款码" width="540px"/>
🎁 为了项目能健康持续的发展, 我期望获得相应的资金支持, 你们的支持是我不断更新前进的动力!
## 免责声明
在使用本项目之前, 请确保您已经了解并同意相关的使用协议和隐私政策。[免责声明](DISCLAIMER.md)
## License
本项目遵循 [Apache-2.0](https://github.com/lijiahangmax/orion-visor/blob/main/LICENSE) 开源许可证。
* https://visor.dromara.org
* https://visor.dromara.org.cn
* https://visor.orionsec.cn

View File

@@ -1,11 +0,0 @@
# orion-visor
> 一款高颜值、现代化的智能运维&轻量堡垒机平台。
- 友好 易用
- 安全 稳定
- 智能 高效
[GitHub](https://github.com/lijiahangmax/orion-visor)
[Gitee](https://gitee.com/lijiahangmax/orion-visor)
[Get Started](README.md)

View File

@@ -1,16 +0,0 @@
* 关于
* [Roadmap](about/roadmap.md)
* [更新日志](about/change-log.md)
* 快速开始
* [docker安装](quickstart/docker-install.md)
* [普通安装](quickstart/install.md)
* [本地调试](quickstart/dev.md)
* [常见问题](quickstart/faq.md)
* 操作手册
* [资产管理](operator/asset.md)
* [主机运维](operator/host-ops.md)
* [运维审计](operator/asset-audit.md)
* [批量执行](operator/exec.md)
* [计划任务](operator/job.md)
* [用户管理](operator/user.md)
* [系统管理](operator/system.md)

View File

@@ -1,214 +0,0 @@
> 版本号严格遵循 Semver 规范。
### 升级须知
* 应用 **不支持** 跨版本升级, 可以进行 **多次升级**
* docker 安装的 sql 脚本可以在 `adminer` 中执行
* 执行完成菜单 sql 后请刷新缓存 `系统设置` > `系统菜单` > `刷新缓存`
* 执行完成字典 sql 后请刷新缓存 `系统设置` > `数据字典项` > `刷新缓存`
### docker 升级流程
* 备份 `volumes` (必要时可以回滚)
* 进入 `adminer` 执行升级的 `sql` 脚本
* 执行 升级的 `bash` 脚本
* 进入 代码目录执行 `sh docker-upgrade.sh` 进行容器升级 `down` > `pull` > `up -d`
### v2.0.3
`2024-05-29` `release`
* 🐞 修复 部分 ui 显示错误
* 🐞 修复 计划任务编辑时报错
* 🐞 修复 计划任务手动触发时报错
* 🩰 修改 logo
* 🔨 修改 docker 时区
### v2.0.2
`2024-05-24` `release`
* 🐞 修复 资产授权密钥时间显示错误
* 🌈 添加 演示模式
* ⭐ 支持 Chrome PWA
### v2.0.1
`2024-05-21` `release`
* ⭐ 添加 cron 组件
* 🐞 修复 批量执行后日志偶尔不展示的问题
* 🐞 修复 批量上传进度条显示异常的问题
### v2.0.0
`2024-05-17` `release`
* ⭐ 修改 项目名称为 `orion-visor`
* 🩰 修改 终端默认字体
[如何升级](/update/v2.0.0.md)
### v1.0.8
`2024-05-15` `release`
* 🌈 新增 站内信模块
* 🔨 优化 执行命令日志跳转逻辑
* 🔨 修改 `exitStatus` 改为 `exitCode`
[如何升级](/update/v1.0.8.md)
### v1.0.7
`2024-05-13` `release`
* 🐞 修复 查看计划任务日志时提示日志不存在
* 🩰 修改 命令执行日志 UI 修改
* 🌈 新增 文件传输列表添加操作栏
* 🌈 新增 主机在线会话功能
* 🌈 新增 文件批量上传功能
[如何升级](/update/v1.0.7.md)
### v1.0.6
`2024-04-26` `release`
* 🐞 修复 终端页签关闭后不会自动切换
* 🩰 修改 命令执行日志 UI 修改
* 🌈 新增 命令执行模板配置默认主机
* 🌈 新增 主机终端书签路径
* 🌈 新增 命令执行日志添加 `ansi` 日志 `app.exec-log.append-ansi`
* 🌈 新增 定时删除命令执行日志文件 `app.exec-log.auto-clear`
* 🌈 新增 终端设置添加了几个全局快捷键
* 🔨 优化 通用分组模型添加 `userId`
* 🔨 优化 退出登录不重定向
* 🔨 优化 动态设置页面标题
* 🔨 优化 终端断开后回车重连
* 🔨 优化 自动删除未使用的命令片段分组
* 🔨 优化 添加分布式锁工具类
[如何升级](/update/v1.0.6.md)
### v1.0.5
`2024-04-22` `release`
* 🐞 修复 用户列表用户名显示错误
* 🐞 修复 主机分组页面无法编辑的问题
* 🐞 修复 资产授权时提示数据发生变更的问题
* 🐞 修复 删除资产时授权记录未删除的问题
* 🐞 修复 命令执行权限控制失效的问题
* 🌈 新增 定时删除未引用的 `tag`
* 🌈 新增 执行命令时可使用脚本文件执行
* 🌈 新增 主机身份添加类型字段
* 🔨 优化 文件传输列表进度显示
* 🔨 优化 命令执行日志持续时间
* 🔨 优化 命令执行添加内置参数
* 🔨 优化 tracker 监听文件可配置 `app.tracker`
* 🔨 优化 sftp 上传文件重复处理可配置 `app.sftp`
* 🔨 优化 用户状态调整交互逻辑
* 🔨 优化 角色状态调整交互逻辑
* 🔨 优化 优化资产授权交互逻辑
* 🔨 优化 SFTP 交互逻辑
* 🧹 删除 用户锁定状态
[如何升级](/update/v1.0.5.md)
### v1.0.4
`2024-04-15` `release`
* 🚀 升级 `orion-kit``1.0.7`
* 🐞 修复 批量执行选择模板后默认参数未自动设置
* 🐞 修复 主机列表卡片视图重置条件后 tag 消失
* 🐞 修复 主机分组授权页面刷新不显示 loading
* 🐞 修复 面包屑组件路径显示不全的问题
* 🐞 修复 数据字典历史提示无权限
* 🐞 修复 批量执行较短命令日志不显示
* 🩰 修改 主机终端亮色模式配色
* 🩰 修改 执行模板 UI 修改
* 🌈 新增 计划任务模块
* 🌈 新增 计划任务日志模块
* 🔨 添加 quartz 配置
* 🔨 修改 redisson 配置
* 🔨 优化 orion-ops-framework 配置规范化
* 🔨 优化 前端 props 命名规范化
[如何升级](/update/v1.0.4.md)
### v1.0.3
`2024-03-25` `release`
* 🚀 升级 `arco design``2.55.0`
* 🐞 修复 新创建的用户登录会跳转到 **404**
* 🐞 修复 分配菜单模态框没有子菜单不显示的问题
* 🐞 修复 工作台页面快捷操作面板会展示隐藏的菜单
* 🐞 修复 主机终端无法粘贴 (浏览器安全策略)
* 🐞 修复 卡片列表组件控制台 warn 提示
* 🐞 修复 关闭终端时控制台提示 handleResize 错误信息
* 🔨 修改 系统菜单渲染逻辑 (移除 JSX 构建时不会提示 JSX.IntrinsicElements)
[如何升级](/update/v1.0.3.md)
### v1.0.2
`2024-03-22` `release`
* 🐞 修复 SFTP 加载失败后一直 loading
* 🐞 修复 主机终端搜索框报错
* 🐞 修复 SSH 配置未启用还可以连接
* 🐞 修复 主机配置保存后无法修改状态
* 🐞 修复 添加快捷命令时编辑器无代码提示
* 🔨 修改 菜单路由命名逻辑修改
* 🔨 优化 前端组件命名规范化
* 🔨 优化 前端 emit 命名规范化
* 🌈 新增 双击终端会话 Tab 快速复制
* 🌈 新增 批量执行命令
* 🌈 新增 命令执行日志
* 🌈 新增 执行模板功能
[如何升级](/update/v1.0.2.md)
### v1.0.1
`2024-03-06` `release`
* 🐞 修复 用户操作日志条件重置后类型框数据不正常的问题
* 🩰 修改 主机连接日志 UI
* 🌈 新增 SFTP 使用日志列表
* 🌈 新增 主机连接日志强制下线会话
* 🌈 新增 主机连接日志删除/清理
* 🌈 新增 用户操作日志日志删除/清理
* 🌈 新增 用户操作日志日志删除/清理
* 🔨 优化 用户锁定次数/时间可配置 `app.authentication`
[如何升级](/update/v1.0.1.md)
### v1.0.0
`2024-03-01` `release`
* 🌈 新增 用户自定义终端标签颜色
* 🔨 拓展数据模块添加缓存
[如何升级](/update/v1.0.0.md)
### v1.0.0-beta.1
`2024-02-28` `preview`
* 🌈 主机管理
* 🌈 主机密钥
* 🌈 主机身份
* 🌈 资产授权
* 🌈 主机终端
* 🌈 连接日志
* 🌈 角色管理
* 🌈 用户管理
* 🌈 操作日志
* 🌈 系统菜单
* 🌈 数据字典项
* 🌈 数据字典值

View File

@@ -1,12 +0,0 @@
## 功能排期
* 终端背景图片
* 资产授权 UI 改版
* 接入 config 后端动态配置
* 文档中巡检模板
* 导入快捷命令
* 导入命令模板
## 已知问题
* 顶部菜单折叠宽度计算有问题 (arco 框架内问题)

View File

@@ -1,9 +0,0 @@
/*!
* docsify-copy-code
* v2.1.1
* https://github.com/jperasmus/docsify-copy-code
* (c) 2017-2020 JP Erasmus <jperasmus11@gmail.com>
* MIT license
*/
!function(){"use strict";function s(o){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}!function(o,e){void 0===e&&(e={});var t=e.insertAt;if(o&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css","top"===t&&n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),c.styleSheet?c.styleSheet.cssText=o:c.appendChild(document.createTextNode(o))}}(".docsify-copy-code-button,.docsify-copy-code-button span{cursor:pointer;transition:all .25s ease}.docsify-copy-code-button{position:absolute;z-index:1;top:0;right:0;overflow:visible;padding:.65em .8em;border:0;border-radius:0;outline:0;font-size:1em;background:grey;background:var(--theme-color,grey);color:#fff;opacity:0}.docsify-copy-code-button span{border-radius:3px;background:inherit;pointer-events:none}.docsify-copy-code-button .error,.docsify-copy-code-button .success{position:absolute;z-index:-100;top:50%;right:0;padding:.5em .65em;font-size:.825em;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.docsify-copy-code-button.error .error,.docsify-copy-code-button.success .success{right:100%;opacity:1;-webkit-transform:translate(-115%,-50%);transform:translate(-115%,-50%)}.docsify-copy-code-button:focus,pre:hover .docsify-copy-code-button{opacity:1}"),document.querySelector('link[href*="docsify-copy-code"]')&&console.warn("[Deprecation] Link to external docsify-copy-code stylesheet is no longer necessary."),window.DocsifyCopyCodePlugin={init:function(){return function(o,e){o.ready(function(){console.warn("[Deprecation] Manually initializing docsify-copy-code using window.DocsifyCopyCodePlugin.init() is no longer necessary.")})}}},window.$docsify=window.$docsify||{},window.$docsify.plugins=[function(o,r){o.doneEach(function(){var o=Array.apply(null,document.querySelectorAll("pre[data-lang]")),c={buttonText:"Copy to clipboard",errorText:"Error",successText:"Copied"};r.config.copyCode&&Object.keys(c).forEach(function(t){var n=r.config.copyCode[t];"string"==typeof n?c[t]=n:"object"===s(n)&&Object.keys(n).some(function(o){var e=-1<location.href.indexOf(o);return c[t]=e?n[o]:c[t],e})});var e=['<button class="docsify-copy-code-button">','<span class="label">'.concat(c.buttonText,"</span>"),'<span class="error">'.concat(c.errorText,"</span>"),'<span class="success">'.concat(c.successText,"</span>"),"</button>"].join("");o.forEach(function(o){o.insertAdjacentHTML("beforeend",e)})}),o.mounted(function(){document.querySelector(".content").addEventListener("click",function(o){if(o.target.classList.contains("docsify-copy-code-button")){var e="BUTTON"===o.target.tagName?o.target:o.target.parentNode,t=document.createRange(),n=e.parentNode.querySelector("code"),c=window.getSelection();t.selectNode(n),c.removeAllRanges(),c.addRange(t);try{document.execCommand("copy")&&(e.classList.add("success"),setTimeout(function(){e.classList.remove("success")},1e3))}catch(o){console.error("docsify-copy-code: ".concat(o)),e.classList.add("error"),setTimeout(function(){e.classList.remove("error")},1e3)}"function"==typeof(c=window.getSelection()).removeRange?c.removeRange(t):"function"==typeof c.removeAllRanges&&c.removeAllRanges()}})})}].concat(window.$docsify.plugins||[])}();
//# sourceMappingURL=docsify-copy-code.min.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -1,242 +0,0 @@
/* cyrillic-ext */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/robotomono/v21/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SeW4Ep0.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/robotomono/v21/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_QOW4Ep0.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/robotomono/v21/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_R-W4Ep0.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/robotomono/v21/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_S-W4Ep0.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/robotomono/v21/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW4Ep0.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/robotomono/v21/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhduz8A.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxduz8A.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxduz8A.woff2) format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBduz8A.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBduz8A.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRduz8A.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2) format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmhduz8A.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwkxduz8A.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmxduz8A.woff2) format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlBduz8A.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmBduz8A.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRduz8A.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v19/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

BIN
docs/assets/gstar.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 KiB

BIN
docs/assets/gvp.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
docs/assets/logo_267.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

BIN
docs/assets/vx.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

View File

@@ -1,2 +0,0 @@
start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" "http://localhost:3000/"
docsify serve ./

View File

@@ -1,10 +0,0 @@
### 如何使用
1. 安装 node
2. 安装 docsify-cli
```npm i docsify-cli -g```
3. 在 doc 目录执行命令
```docsify serve ./```
4. 在浏览器访问 http://localhost:3000
5. 官方文档 https://docsify.js.org/#/?id=docsify

View File

@@ -1,58 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>orion-visor</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="Description">
<link rel="icon" href="./assert/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<!-- Theme: Defaults -->
<link rel="stylesheet" href="./assert/font.css">
<link rel="stylesheet" href="./assert/vue.css">
</head>
<body>
<div id="app">
loading...
</div>
<script>
window.$docsify = {
// 左侧文档名称
name: 'orion-visor',
// 右上角仓库
repo: 'https://github.com/lijiahangmax/orion-visor',
coverpage: true,
// 加载侧边栏
loadSidebar: true,
// 侧边栏折叠
subMaxLevel: 3,
// 标题搜索
search: {
// 过期时间
// 搜索路径 []
maxAge: 1000 * 60 * 60,
paths: 'auto',
placeholder: '搜索',
// 无数据
noData: '找不到结果',
// 搜索标题的最大层级
depth: 3,
// 是否隐藏其他侧边栏内容
hideOtherSidebarContent: false
},
// 页码
pagination: {
previousText: '上一章',
nextText: '下一章',
crossChapter: true,
crossChapterText: true,
},
}
</script>
<!-- Docsify v4 -->
<script src="./assert/docsify@4.js"></script>
<script src="./assert/docsify-pagination.min.js"></script>
<script src="./assert/docsify-copy-code.min.js"></script>
<script src="./assert/search.min.js"></script>
</body>
</html>

View File

@@ -1,20 +0,0 @@
### 连接日志
查看主机终端连接记录。
* 详情: 查看连接详情
* 下线: 强制断开会话连接
* 删除: 删除连接记录
* 清理: 根据条件清理数据
### 在线会话
查看连接中的主机会话。
* 下线: 强制断开会话连接
### 文件操作日志
查看用户 SFTP 操作日志, 是从用户操作日志中过滤查询。
* 删除: 删除操作日志

View File

@@ -1,36 +0,0 @@
### 主机管理
管理和维护可操作的主机。
* 主机分组: 设置主机分组以及组内数据
* 角色授权: 跳转页面到主机授权页面(角色)
* 用户授权: 跳转页面到主机授权页面(用户)
* 新增: 添加一台主机
* 修改: 修改主机信息
* 配置: 修改主机配置信息
* 删除: 删除这台主机以及主机关联的数据
### 主机密钥
统一管理和维护用于连接主机的密钥。
* 角色授权: 跳转页面到主机密钥授权页面(角色)
* 用户授权: 跳转页面到主机密钥授权页面(用户)
* 新增: 添加一个主机密钥
* 修改: 修改主机密钥信息
* 详情: 查看主机密钥信息
* 删除: 删除当前主机密钥
### 主机身份
统一管理和维护用于连接主机的身份。这里同时维护了用户名、密码和密钥。
* 角色授权: 跳转页面到主机身份授权页面(角色)
* 用户授权: 跳转页面到主机身份授权页面(用户)
* 新增: 添加一个主机身份
* 修改: 修改主机身份信息
* 删除: 删除当前主机身份
### 资产授权
给用户/角色授权资产数据, 若无授权则无法访问资产。

View File

@@ -1,106 +0,0 @@
### 命令执行
批量执行 ssh 主机 shell 脚本。
⚡ 如果只需要保存日志的原始输出则需要修改 `application.yaml` `app.exec-log.append-ansi``false`
* 重置: 重置全部参数
* 执行: 执行所输入的命令
* 返回: 返回到执行命令页面
* 从模板中选择: 从模板中选择需要执行的命令
* 执行历史: 点击历史命令可以快速填入
### 执行日志
查看批量执行任务日志。
* 执行命令: 跳转到批量执行页面
* 清空: 清空执行日志
* 删除: 删除执行日志
* 重新执行: 重新执行此命令
* 命令: 查看执行时的命令
* 参数: 查看执行时的参数
* 中断: 中断命令执行
* 日志: 查看执行日志 `ctrl + 左键` 点击会用新页面打开
* 下载: 下载执行日志
### 批量上传
将文件批量上传到远程服务器。
* 重置: 重置表单参数
* 返回: 返回到表单页面
* 开始上传: 执行文件上传
* 取消上传: 取消文件上传
* 清空: 清空已选择的文件
* 选择文件: 批量选择上传的文件
* 选择文件夹: 选择上传的文件夹
> 上传路径可以使用内置变量来替换。
| 参数 | 描述 | 参数示例 |
|:------------|:------|-------------|
| ${username} | 用户名 | admin |
| ${home} | 用户家目录 | /home/admin |
### 上传任务
查看批量上传任务列表。
* 上传: 跳转到批量上传页面
* 清空: 清空上传任务
* 删除: 删除上传任务
* 详情: 查看上传任务详情
* 取消: 取消文件上传
### 执行模板
用来维护批量执行的命令模板, 支持动态参数, 使用 `@{{ xxx }}` 来替换命令参数。
* 新增: 新增执行模板
* 执行: 打开命令执行框并且带入模板参数
* 修改: 修改执行模板
* 删除: 删除执行模板
### 日志面板快捷键
* 回车: `Enter`
* 全选: `ctrl` `A`
* 复制: `ctrl` `C`
* 搜索: `ctrl` `F`
* 清空: `ctrl` `L`
* 向上滚动一行: `↑`
* 向上滚动一页: `Home`
* 向下滚动一行: `↓`
* 向下滚动一页: `End`
### 命令内置参数
⚡ 使用 `@{{ xxx }}` 来替换命令参数
| 参数 | 描述 | 参数示例 |
|:----------------|:---------------------------|-----------------------------------------------|
| source | 执行来源 (BATCH/JOB) | JOB |
| sourceId | 执行来源id (JOB特有) | 6 |
| seq | 执行序列 (JOB特有) | 920 |
| userId | 执行用户id (JOB为0) | 1 |
| username | 执行用户名 (JOB为system) | admin |
| execId | 执行记录id | 2000 |
| hostId | 执行主机id | 1 |
| hostName | 执行主机名称 | server-127.0.0.1 |
| hostCode | 执行主机编码 | server |
| hostAddress | 执行主机地址 | 127.0.0.1 |
| hostUsername | 执行主机用户名 | root |
| osType | 执行主机系统版本 | LINUX |
| port | SSH 端口 | 22 |
| charset | SSH 编码集 | UTF-8 |
| scriptExec | 是否使用脚本执行 (0否1是) | 1 |
| scriptPath | 脚本文件路径 | /root/orion/orion-visor/script/exec_2000_1.sh |
| uuid | 生成任务维度 uuid | 82b20e52-cea9-455b-a0b4-e4e25654e22b |
| uuidShort | 生成任务维度 uuid 无 '-' | 82b20e52cea9455ba0b4e4e25654e22b |
| hostUuid | 生成机器维度 uuid | 2687b09e-1046-4e8d-9cc2-a7e697836b88 |
| hostUuidShort | 生成机器维度 uuid 无 '-' | 2687b09e10464e8d9cc2a7e697836b88 |
| timestampMillis | 时间戳毫秒 | 1715173200848 |
| timestamp | 时间戳 | 1715173200 |
| date | 执行时间 `yyyy-MM-dd` | `2024-01-01` |
| datetime | 执行时间 `yyyy-MM-dd HH:mm:ss` | `2024-01-01 21:00:00` |

View File

@@ -1,45 +0,0 @@
### 主机终端
主机终端页面 支持 SSH, SFTP。
打开后默认会进入新建连接页面, 页面的主机数据是用户授权的资产数据。
鼠标移入列表内的主机上时, 右侧会出现 `打开 SSH` `打开 SFTP` `主机设置` `收藏` 的按钮。
> 主机设置
* SSH 配置: 可以自定义配置连接主机的密码、密钥、身份, 仅对自己生效, 不会修改全局配置。`密钥` `身份` 数据是用户授权的资产数据
* 标签颜色: 自定义配置标签的颜色, 可以用来区分环境等
> 顶部状态栏
* 全屏: 开启或关闭全屏
> 左侧状态栏
* 新建连接: 新建主机连接 `SSH` `SFTP`
* 快捷键设置: 配置 `全局` `会话` `终端` 的快捷键
* 显示设置: 配置终端 `显示偏好` `操作栏按钮` `右键菜单` 设置
* 主题设置: 修改终端主题配色
* 终端设置: 配置终端 `交互` `插件` `会话` 设置
> 右侧状态栏
* 命令片段: 自定义快速执行的命令片段, 双击直接执行
* 路径书签: 自定义快速进入的目录
* 传输列表: 打开文件传输列表, 当前会话下, 所有的文件上传下载传输都会显示在这里
* 截图: 截屏终端并且自动下载
> 文件传输
点击上传或者下载后会自动添加到传输列表。
* 上传: 关闭页面自动清除
* 下载: 下载完成后自动下载, 关闭页面自动清除
> SFTP
* 预览: 默认只能预览 2MB 以内的普通文件, 这个大小可以在前端 env 文件中修改 `VITE_SFTP_PREVIEW_MB`
* 上传: 如果文件已存在则自动重命名之前的文件
> 终端面板
⭐ 双击终端标签可快速复制会话

View File

@@ -1,26 +0,0 @@
### 任务列表
⚡ 内置参数同 `批量执行` > `命令执行` [查看](/operator/exec.md?id=命令内置参数)
维护计划任务, 定时执行命令。
* 新增: 新增计划任务
* 详情: 查看计划任务详情
* 修改: 修改计划任务
* 状态: 修改计划任务状态
* 手动触发: 手动触发计划任务
* 删除: 删除计划任务
### 任务日志
查看计划任务执行日志
⚡ 如果只需要保存日志的原始输出则需要修改 `application.yaml` `app.exec-log.append-ansi``false`
* 清空: 清空执行日志
* 删除: 删除执行日志
* 命令: 查看执行时的命令
* 参数: 查看执行时的参数
* 中断: 中断命令执行
* 日志: 查看执行日志 `ctrl + 左键` 点击会用新页面打开
* 下载: 下载执行日志

View File

@@ -1,27 +0,0 @@
### 系统菜单
管理系统菜单。点击 `状态` 可以快速切换 启用/停用 和 显示/隐藏。
* 新增: 添加一个菜单
* 刷新缓存: 强制刷新服务器缓存, 一般是手动修改了数据库后需要点击此按钮
* 修改: 修改菜单信息
* 删除: 删除菜单以及子菜单
### 数据字典项
维护数据字典项, 前端统一显示。
* 新增: 添加一个字典项
* 刷新缓存: 强制刷新服务器缓存, 一般是手动修改了数据库后需要点击此按钮
* 查看: 查看字典值的 json
* 修改: 修改字典项
* 删除: 删除字典项以及字典值
### 数据字典值
维护数据字典项对应的值。
* 新增: 新增字典值
* 修改: 修改字典值
* 历史: 查询当前字典值的修改历史
* 删除: 删除字典值

View File

@@ -1,28 +0,0 @@
### 角色管理
定义以及维护系统内的角色。 `admin` 是管理员角色, 无法删除/停用/分配菜单。
* 新增: 新增角色
* 启用/停用: 启用/停用角色, 停用后授权的数据/菜单将无法使用
* 分配菜单: 给角色分配菜单
* 修改: 修改角色名称
* 删除: 删除当前角色, 如果已被关联则移除用户关联
### 用户管理
维护系统内的用户。
* 新增: 新增用户
* 启用/停用: 启用/停用角色, 停用后则无法登录系统
* 修改: 修改用户的基本信息
* 详情: 查看用户的基本信息, 登录日志, 当前登录设备, 操作日志
* 重置密码: 重置用户密码
* 分配角色: 设置用户绑定的角色
* 删除: 删除当前用户以及用户数据
### 操作日志
记录用户在系统内的操作日志。
* 详情: 查看操作的参数以及留痕信息
* 清理: 根据条件清理数据

Some files were not shown because too many files have changed in this diff Show More