Commit Graph

6122 Commits (0596b74fa1b2a1d7355cf262becbba5d613dbb8a)

Author SHA1 Message Date
jiangweidong b376491020 perf: 优化user_type默认值 2023-05-08 16:58:39 +08:00
jiangweidong 3367f65b02 perf: 优化逻辑,抽离callback_base类 2023-05-08 16:58:39 +08:00
jiangweidong 7a97496f70 perf: 变量名还原 2023-05-08 16:58:39 +08:00
jiangweidong bda748d547 feat: 支持钉钉、飞书、企业微信扫码登录无用户时自动创建用户 2023-05-08 16:58:39 +08:00
feng 7ff22cbc34 fix: /prometheus/metrics/ api 500 2023-05-08 14:47:56 +08:00
Eric ee7f1f8f5e perf: 支持 mp4 录像文件上传和新增 video worker 类型 2023-05-06 14:01:25 +08:00
Bai 127f6730f6 perf: 优化迁移后的 Redis 数据库平台从 Redis6+ 修改为 Redis6 2023-05-04 17:31:45 +08:00
Bai 22b56d73b6 fix: 修复迁移应用时(组织下只有根节点,同步后的应用资产没有设置节点的问题) 2023-05-04 16:39:24 +08:00
Bai 9934456af4 fix: 修复迁移redis资产账号丢失的问题(系统用户用户名为空字符串) 2023-05-04 15:44:31 +08:00
Bai 3585ca2d49 perf: 优化文案: 清除离线会话 2023-05-04 10:33:16 +08:00
fit2bot f842546042
perf: 平台导出过滤掉automation (#10367)
Co-authored-by: feng <1304903146@qq.com>
2023-04-28 17:13:43 +08:00
Eric a0151b8d44 fix: 修复旧 ssh 私钥,解析失败的问题 2023-04-27 17:50:16 +08:00
fit2bot ea1c94c6db
perf: 用户组织按照name 进行排序 (#10354)
Co-authored-by: feng <1304903146@qq.com>
2023-04-27 11:38:33 +08:00
fit2bot 58d055f114
perf: 改密 推送 可以对自己操作 同时设置su_enabled 可提权 (#10349)
Co-authored-by: feng <1304903146@qq.com>
2023-04-26 18:50:30 +08:00
Bai 9eec2909ed fix: 修改'账号备份列表-执行次数'未翻译为英文的问题 2023-04-26 17:11:28 +08:00
fit2bot a19586f8b8
perf: perm user asset add labels (#10339)
Co-authored-by: feng <1304903146@qq.com>
2023-04-25 14:48:09 +08:00
fit2bot 8fe5ab42e8
perf: 用户工作台资产显示更多字段 (#10338)
Co-authored-by: feng <1304903146@qq.com>
2023-04-25 14:36:01 +08:00
ibuler f51af9736b perf: rdp 支持 console 模式 2023-04-25 14:35:07 +08:00
fit2bot 2a196743f5
perf: 组织更新刷新缓存 (#10333)
Co-authored-by: feng <1304903146@qq.com>
2023-04-25 11:27:58 +08:00
fit2bot 917620736b
feat: 修改模版账号密码 同步更新关联的账号 (#10328)
* feat: 修改模版账号密码 同步更新关联的账号

* feat: 同步多个账号

---------

Co-authored-by: feng <1304903146@qq.com>
2023-04-25 10:28:19 +08:00
feng 149ca1afce perf: 开源 acl去除 review 2023-04-21 18:41:47 +08:00
fit2bot a1f65bccc5
feat: 只有系统管理员才能更新或删除系统管理员 (#10306)
Co-authored-by: feng <1304903146@qq.com>
2023-04-21 17:31:39 +08:00
ibuler a105748a55 perf: 账号模版 protocols 过滤 2023-04-21 17:11:18 +08:00
fit2bot f1ee454254
perf: user groups filter (#10300)
Co-authored-by: feng <1304903146@qq.com>
2023-04-21 15:35:56 +08:00
ibuler a6ab886968 perf: 优化自定义类型的冲突 2023-04-21 15:21:11 +08:00
feng f85daa088f perf: 创建资产 nodes 可为空 默认 default 2023-04-21 14:58:11 +08:00
fit2bot ede53d3b6b
perf: ssh key strategy translate (#10295)
Co-authored-by: feng <1304903146@qq.com>
2023-04-21 14:08:59 +08:00
ibuler eb9ac213d5 perf: 去掉 debug msg 2023-04-21 11:32:49 +08:00
ibuler 06052b85a2 perf: 优化支持 自定义 applet
perf: 优化平台
2023-04-21 11:31:10 +08:00
fit2bot d75b7c014e
perf: 更新模版暂不同步修改账号 (#10285)
Co-authored-by: feng <1304903146@qq.com>
2023-04-20 18:29:31 +08:00
Bai 2ae951e6e6 fix: 修改翻译 2023-04-20 17:53:42 +08:00
fit2bot 10b033ee97
perf: 批量更新资产消息 (#10280)
Co-authored-by: feng <1304903146@qq.com>
2023-04-20 16:22:02 +08:00
ibuler 177d634d85 fix: 修复登录 acl 显示不对 2023-04-20 15:48:56 +08:00
feng ee122690ff perf: asset date_updated 2023-04-20 15:48:34 +08:00
ibuler dac708f952 perf: 优化 api doc 报错 2023-04-20 15:47:50 +08:00
老广 75724cbddb
Merge pull request #10272 from jumpserver/pr@dev@perf_asset_task_i18n
perf: 优化资产任务的 i18n
2023-04-20 14:45:24 +08:00
老广 4b5d9d3a76
Merge pull request #10273 from jumpserver/pr@dev@account_auto_i18n
perf: account auto i18n
2023-04-20 14:44:54 +08:00
fit2bot 0de6c41406
perf: update templat account (#10274)
Co-authored-by: feng <1304903146@qq.com>
2023-04-20 14:43:40 +08:00
ibuler b52f18aea6 perf: 修改 i18n 2023-04-20 14:39:31 +08:00
ibuler be58539df8 perf: 修改支持 i18n 2023-04-20 14:19:13 +08:00
feng f030638ba4 perf: account auto i18n 2023-04-20 14:10:39 +08:00
ibuler f496f7d635 perf: 优化资产任务的 i18n 2023-04-20 13:51:41 +08:00
老广 8e61dc8e02
Merge pull request #10267 from jumpserver/pr@dev@perf_yaml_support_i18n
perf: yaml 文件支持 i18n
2023-04-20 13:21:22 +08:00
fit2bot c9ee46c0fb
perf: windows 账号可连接性 ansible 刷新 (#10268)
Co-authored-by: feng <1304903146@qq.com>
2023-04-20 11:32:33 +08:00
ibuler f2d34de161 perf: 修改格式 2023-04-20 11:27:10 +08:00
fit2bot dc5f7a5c05
fix: 资产 克隆有切换至的账号400 (#10266)
Co-authored-by: feng <1304903146@qq.com>
2023-04-20 11:14:23 +08:00
ibuler 6b3665e8d0 perf: yaml 文件支持 i18n 2023-04-20 11:13:28 +08:00
fit2bot 11ad6ab273
fix: 修复作业中心未开启的acl生效的问题 (#10265)
* fix: 修复作业中心未开启的acl生效的问题

* perf: 优化代码风格

---------

Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
2023-04-20 10:33:53 +08:00
jiangweidong 2ba32f6971 perf: 优化自定义改密时需要在命令中包含ssh登录用户的密码问题 2023-04-20 09:52:13 +08:00
Bai 96eb87f935 feat: 服务启动时校验 migrations 文件是否有冲突(DEBUG_DEV) 2023-04-19 14:14:37 +08:00
fit2bot 3afab38c5f
perf: 资产平台排序 (#10258)
Co-authored-by: feng <1304903146@qq.com>
2023-04-19 13:21:57 +08:00
fit2bot 9dedce6264
perf: 翻译 (#10257)
Co-authored-by: feng <1304903146@qq.com>
2023-04-19 13:02:24 +08:00
ibuler 4849b2627a perf: 优化一下迁移 2023-04-19 11:13:29 +08:00
ibuler 12adf66f41 perf: 优化账号历史过滤 2023-04-19 11:13:29 +08:00
fit2bot fc4a77df1a
fix: 账号导入500 (#10255)
Co-authored-by: feng <1304903146@qq.com>
2023-04-19 10:57:38 +08:00
fit2bot 3bc8eda66a
perf: 更新模版关联更新账号 (#10250)
Co-authored-by: feng <1304903146@qq.com>
2023-04-19 10:18:13 +08:00
Bai d402780d00 feat: 服务启动时校验 migrations 文件是否有冲突(DEBUG_DEV) 2023-04-18 20:23:56 +08:00
fit2bot 28f08251b3
perf: 修复创建资产时,account 的校验 (#10247)
* perf: 修复创建资产时,account 的校验

* perf: 优化一下提示

---------

Co-authored-by: ibuler <ibuler@qq.com>
2023-04-18 20:10:51 +08:00
Aaron3S ca898ed7b5 perf: 优化代码 2023-04-18 19:54:14 +08:00
Aaron3S 50421a1f89 fix: 修复作业中心选择收藏资产取不到资产的问题 2023-04-18 19:54:14 +08:00
ibuler a83d1c7c46 perf: 优化 applet host platform 2023-04-18 19:13:04 +08:00
ibuler 389f94d672 perf: 修改 assets serializer 支持 accounts template 2023-04-18 19:12:26 +08:00
fit2bot f47d0b1a40
perf: 工单发消息失败 (#10242)
Co-authored-by: feng <1304903146@qq.com>
2023-04-18 18:56:17 +08:00
fit2bot a28239f313
fix: 登录复核刷新后404 (#10240)
Co-authored-by: feng <1304903146@qq.com>
2023-04-18 18:07:54 +08:00
老广 996690fc02
Merge pull request #10235 from jumpserver/pr@dev@perf_asset_set_default_nodes
perf: custom fields 仅custom 类型资产支持
2023-04-18 17:18:53 +08:00
ibuler 8b98bbddaa perf: custom fields 仅custom 类型资产支持 2023-04-18 17:07:01 +08:00
fit2bot cf197f7efc
perf: 创建资产通过账号模版创建账号 (#10234)
Co-authored-by: feng <1304903146@qq.com>
2023-04-18 17:03:49 +08:00
ibuler 5921b2ee8f perf: 修改默认节点 2023-04-18 16:29:41 +08:00
老广 52891bfca3
Merge pull request #10232 from jumpserver/pr@dev@perf_platform_internal_create
perf: 修改 platforms
2023-04-18 16:06:36 +08:00
fit2bot 0856b0cbbe
fix: k8s 无密码账号登录 (#10233)
Co-authored-by: feng <1304903146@qq.com>
2023-04-18 15:31:47 +08:00
ibuler b30e9aedce perf: 优化内置平台创建 2023-04-18 15:06:22 +08:00
ibuler bacda8248b perf: 修改内置 platform 创建 2023-04-18 14:25:35 +08:00
ibuler ce38b2263c perf: 修改 platforms 2023-04-18 14:02:24 +08:00
fit2bot 810aff9597
perf: k8s 支持网关 (#10229)
Co-authored-by: feng <1304903146@qq.com>
2023-04-18 11:32:59 +08:00
jiangweidong cad88560bb perf: 修改OAuth2的access_token前缀格式 2023-04-18 10:29:29 +08:00
ibuler faff0cd20a perf: 优化创建内置 platform 2023-04-17 18:54:55 +08:00
fit2bot 5a34372ca5
perf: 批量创建账号 没解密 (#10226)
Co-authored-by: feng <1304903146@qq.com>
2023-04-17 17:46:10 +08:00
fit2bot cff4309b03
fix: export assets (#10224)
Co-authored-by: feng <1304903146@qq.com>
2023-04-17 15:42:46 +08:00
ibuler 024d344f7e perf: 去掉 _autmoation_id 2023-04-17 15:41:35 +08:00
ibuler 20e7efcd70 perf: 优化 platform automation 结构 2023-04-17 15:41:35 +08:00
fit2bot 2b00e6e3a1
fix: 修复资产列表 mini 时报错 (#10220)
Co-authored-by: ibuler <ibuler@qq.com>
2023-04-17 15:10:34 +08:00
fit2bot b3b7575b0c
fix: 批量更新资产账号 错误 secret (#10221)
Co-authored-by: feng <1304903146@qq.com>
2023-04-17 15:07:34 +08:00
jiangweidong 690e01cb78
feat: 支持部分资源的自定义自动化任务(Ping/VerifyAccount/ChangeSecret) (#9947)
* feat: 支持部分资源的自定义自动化任务(Ping/VerifyAccount/ChangeSecret)

* perf: 去掉无用的属性

* perf: 优化自定义改密逻辑

* feat: 支持ssh_key认证

* perf: 去掉无用注释

* perf: 优化

* perf: 优化逻辑

* perf: 优化标题

* perf: 去掉一些无用的函数

* perf: 优化helptext
2023-04-14 18:31:09 +08:00
fit2bot f07e4e53ec
perf: 推送成功后 设置账号可连接性 (#10211)
Co-authored-by: feng <1304903146@qq.com>
2023-04-14 17:53:21 +08:00
fit2bot b1374c6aba
fix: 更新平台 ansible_enabled 未设置 (#10210)
Co-authored-by: feng <1304903146@qq.com>
2023-04-14 17:10:33 +08:00
fit2bot e0f077b054
fix: k8s api 500 (#10209)
Co-authored-by: feng <1304903146@qq.com>
2023-04-14 16:57:08 +08:00
feng 31653cab11 perf: 单独推送账号 2023-04-14 16:22:54 +08:00
feng 976daaa726 fix: 修复AllTypes to_tree_nodes 方法 2023-04-14 15:39:37 +08:00
feng b359b1059c fix: 修复所有ansible任务执行失败问题 2023-04-14 14:25:01 +08:00
ibuler 490611c560 perf: 修改 applet 2023-04-14 11:30:04 +08:00
feng 00fd546776 fix: 修复迁移文件冲突bug 2023-04-13 21:28:12 +08:00
Bai 21da805e78 fix: fix conflicts 2023-04-13 19:20:18 +08:00
fit2bot 1eb8e40d3e
feat: 账号推送附加参数 (#10080)
* feat: 账号推送附加参数

* perf: 通过节点 资产 过滤平台api

* perf: push automation params

* perf: 修改playbook

* perf: params serializer

* perf: 账号推送playbook 调整

* perf: Automation serializer add params field

* perf: params 非必填

* perf: 添加is_params 给前端判断

* perf: is_params bool

* perf: 修改push account ansible逻辑

* perf: 修改获取push_kwargs方法

* perf: platform migrate

* perf: 修改api

* perf: 单个推送

* perf: push account

* perf: 修改asset auto_config

---------

Co-authored-by: feng <1304903146@qq.com>
Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
2023-04-13 19:02:04 +08:00
jiangweidong 8e81aee1fd perf: luna连接时不显示 WinRM 协议选项 2023-04-13 18:29:21 +08:00
jiangweidong e12b832992
perf: 关闭SFTP后,luna界面不显示相应选项 (#10186)
* perf: 关闭SFTP后,luna界面不显示相应选项

* perf: 修改默认值

* perf: 增加资产协议冗余字段,减少关联查询

* perf: 修改

* perf: 优化

* perf: 精简

* perf: 删掉空格

* perf: 修改继承类
2023-04-13 17:26:24 +08:00
fit2bot 1aadb760f4
perf: 优化命令长度限制到8m (#10193)
Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
2023-04-13 15:47:16 +08:00
fit2bot 4654756966
fix: 修复账号克隆 500 (#10192)
Co-authored-by: feng <1304903146@qq.com>
2023-04-13 14:20:07 +08:00
Bai 4c7c8f482d fix: 修复执行批量命令时报错的问题 TypeError:set obiect is not subscriptable 2023-04-12 18:30:34 +08:00
fit2bot 30b89e5cc9
perf: 账号模版更新 (#10184)
Co-authored-by: feng <1304903146@qq.com>
2023-04-12 17:59:13 +08:00
jiangweidong a59f1895a3 perf: 当连接资产为网关时,connection_token不返回网域网关信息 2023-04-12 11:43:06 +08:00