Commit Graph

3020 Commits (b3991d03882948d4acd587f5507fa6e1745a6b9f)

Author SHA1 Message Date
ibuler b9717eece3 fix: 修改访问swagger会产生的错误
4 years ago
Bai f9cf2a243b fix: 修复settings中搜索LDAP用户重复问题
4 years ago
Bai e056430fce fix: 修复只配置DC域时,LDAP用户认证失败的问题
4 years ago
Bai 213221beae perf: 修改BasePermissionViewSet的custom_filter_fields
4 years ago
Bai 2db9c90a74 feat: 修改翻译:认证方式
4 years ago
Bai 8ced6f1168 fix: 用户ProfileAPI设置is_first_login不是可读写
4 years ago
Bai 6703ab9a77 perf: 添加BasePermissionsViewSet,支持搜索过滤
4 years ago
Bai 2176fd8fac feat: 更新翻译
4 years ago
fit2bot 856e7c16e5
feat: 添加组件监控;TerminalModel添加type字段; (#5206)
4 years ago
fit2bot d4feaf1e08
fix: 修复由于更新django captch版本引起的css丢失问题 (#5204)
4 years ago
xinwen 4424c4bde2 perf(asset): 手动启动节点资产数量自检程序时区分组织
4 years ago
fit2bot 5863e3e008
perf(asset): 资产树,右击增加计算节点数量的菜单,可以让后台去计算 #527 (#5207)
4 years ago
xinwen 79a371eb6c perf(auth): 密码过期后,走重置密码流程 #530
4 years ago
fit2bot 7c7de96158
feat(login): 登录日志要体现用哪个backend登录的 #4472 (#5199)
4 years ago
ibuler 80b03e73f6 feat(celery): 添加celery的health check接口
4 years ago
fit2bot 32dbab2e34
perf: 数据库应用database字段添加allow_null=True (#5196)
4 years ago
ibuler b189e363cc revert(system): 暂时去掉system组件
4 years ago
Bai 4c3a655239 perf: 用户序列类禁止修改source字段
4 years ago
Bai 5533114db5 feat: 用户授权应用树按组织节点进行区分
4 years ago
Jiangjie.Bai 4c469afa95
feat: 取消资产配置相关字段只读模式 (#5182)
4 years ago
xinwen 4b67d6925e feat(asset): api 添加推送系统用户到多个资产
4 years ago
fit2bot dd979f582a
stash (#5178)
4 years ago
Bai 042ea5e137 feat: 授权应用树API返回org_name字段
4 years ago
fit2bot 43b5e97b95
feat(excel): 添加Excel导入/导出 (#5124)
4 years ago
fit2bot 3447eeda68
fix(applications): 修改attrs不能为null (#5172)
4 years ago
fit2bot 75ef413ea5
fix(applications): 修改attrs不能为null (#5171)
4 years ago
fit2bot 662c9092dc
reactor(dockerfile): 使用debian构建docker (#5169)
4 years ago
Bai 36e9d8101a fix: 添加迁移文件: Node ordering
4 years ago
Bai 89ec6ba6ef fix: Node ordering [`parent_key`, `value`]; 修复默认组织Default节点显示问题(存在key为0的Default节点)
4 years ago
Bai af40e46a75 fix: 优化迁移Default节点
4 years ago
Bai 86fcd3c251 fix: 添加迁移文件(如果需要,将Default节点的key从0修改为1)
4 years ago
xinwen e656ba70ec fix(assets): 推送动态系统用户未指定 username 取全部 usernames
4 years ago
xinwen bb807e6251 fix(perms): 新建授权时动态用户可能推送不成功
4 years ago
Bai bbd6cae3d7 perf(org): 优化获取org_name字段
4 years ago
Bai c3b09dd800 perf(perms): 优化用户授权树返回org_name字段;添加thread_local属性org_mapper减少查询次数
4 years ago
Bai 6d427b9834 fix: 禁止删除组织根节点
4 years ago
xinwen 610aaf5244 fix(assets): 动态系统用户和用户关系变化时没有推送到资产
4 years ago
xinwen df2f1b3e6e perf(User): 用户列表在大规模数据情况下慢
4 years ago
fit2bot f26b7a470a perf(celery-task): 优化检查节点资产数量的 Celery 任务 (#5052)
4 years ago
xinwen a4667f3312 fix(Node): Node 保存的时候,在信号里设置 parent_key
4 years ago
xinwen 91081d9423
refactor(perms): 在动态用户所绑定的授权规则中,如授权给用户组,当用户组增加成员后,动态系统用户下没有相应增加用户,因此也不会自动推送 (#5084) (#5086)
4 years ago
fit2bot 3041697edc
fix(orgs): 兼容旧的组织用户关系接口 (#5088)
4 years ago
xinwen 75d7530ea5 fix(perms): 在动态用户所绑定的授权规则中,如授权给用户组,当用户组增加成员后,动态系统用户下没有相应增加用户,因此也不会自动推送
4 years ago
xinwen 39ab5978be perf(perms): 获取用户所有授权时转换成 list
4 years ago
ibuler 7be7c8cee1 fix(perms): 修复我的资产页面问题
4 years ago
xinwen 68b22cbdec fix(perms): 修复用户组授权树与资产问题
4 years ago
xinwen a7c704bea3 perf(celery-task): 优化检查节点资产数量的 Celery 任务
4 years ago
xinwen 21993b0d89 perf(perms): 优化用户授权资产列表加载速度
4 years ago
xinwen 73ccf3be5f fix(perms): 当用户授权为空时,清空旧的授权树
4 years ago
ibuler bf3056abc4 fix(django3): 修复django3兼容问题
4 years ago
xinwen f2fd9f5990 perf(assets): 限制搜索授权资产返回的条数
4 years ago
fit2bot 6d39a51c36
[fix]: 兼容django 3 (#5038)
4 years ago
xinwen 7fa94008c9 fix(old-api): 调整旧的组织与用户关联接口
4 years ago
xinwen 1af4fcd381 fix(perms): nodes-with-assets 接口添加刷新重构树
4 years ago
ibuler 6ec0b3ad54 fix(assets): 修复获取org_root的问题
4 years ago
xinwen f557c1dace fix(assets): model 添加 asset 默认排序
4 years ago
xinwen 6e87b94789 fix(command): 系统设置-安全设置-告警接收邮件字段如果为空,则更新不了
4 years ago
xinwen b0dba35e5a fix(public-api): 缺少SECURITY_PASSWORD_EXPIRATION_TIME字段
4 years ago
ibuler d0b19f20c3 perf(tickets): 优化授权申请工单
4 years ago
xinwen 3e78d627f8 fix(perms): 作业中心-批量命令-选择系统用户之后,左侧资产列表未筛选,还是全部资产
4 years ago
ibuler 31cd441a34 fix(assets): 修复资产导入时填写节点引起的空节点名称的问题
4 years ago
ibuler 40c0aac5a9 fix(ops): 修复run as 可能引起的返回多个asset user
4 years ago
ibuler 83099dcd16 fix(ops): 修复task run as的问题
4 years ago
ibuler 0db72bd00f fix(i18n): 修复js18n的问题
4 years ago
Bai 732b8cc0b8 fix(ops): 修复AdHocExecution字段task_display长度问题
4 years ago
Bai a9f90b4e31 perf(terminal): 修改数据库字段长度(command_stroage/replay_storage name 128)
4 years ago
Bai cf1fbabca1 fix(command): 修复批量命令执行可能获取到host为None的问题
4 years ago
ibuler cbcefe8bd3 fix(ops): 修复因为更改controlmaster引起的连接不服用维内托
4 years ago
ibuler 133a2e4714 fix(assets): 修复动态系统用户推送的bug
4 years ago
fit2bot 9af4d5f76f
fix(crypto): 有时解密失败 (#5003)
4 years ago
Bai 18d8f59bb5 fix(system_user): 修复更新系统用户时ad_domain字段为空提交失败的问题
4 years ago
xinwen 448c5db3bb fix(orgs): 添加旧的 member 相关 api
4 years ago
Bai 75b886675e perf(i18n): 更新翻译
4 years ago
Bai 24e22115de perf(i18n): 更新翻译
4 years ago
Bai b18ead0ffa perf(i18n): 更新翻译
4 years ago
xinwen 6e8922da1c fix(trans): 完善翻译
4 years ago
Bai dcb38ef534 perf(session): 修改变量名terminate
4 years ago
Bai 8a693d9fa7 feat(session): session列表返回can_termination字段值;设置所有db协议类型会话不可被终断和监控
4 years ago
xinwen 487932590b fix(terminal): 扩展 Terminal name 长度
4 years ago
peijianbo 79b5aa68c8 feat(terminal):危险命令告警功能
4 years ago
xinwen 202e619c4b feat(assets): 添加系统用户资产列表 api
4 years ago
xinwen 179cb7531c feat(assets): 管理用户的资产列表增加 options 方法
4 years ago
ibuler 987f840431 fix(i18n): 修复重置密码那的i18n问题
4 years ago
fit2bot f04544e8df
feat(MFA): 修改文案Google Authenticator为手机验证器 (#4964)
4 years ago
fit2bot cd6dc6a722
fix(perms): 由于组织不对,导致生成或显示授权树错误 (#4957)
4 years ago
Bai 388314ca5a fix(applications): 修复应用列表会返回所有组织下数据的问题
4 years ago
Bai 26d00329e7 fix(assets): 修复计算node full value时,获取node value 有可能为 __proxy__ 的问题
4 years ago
xinwen e93be8f828 feat(crypto): 支持国密算法
4 years ago
Bai 2690092faf perf(ldap): LDAP用户搜索,本地忽略大小写,远端支持模糊
4 years ago
Bai eabaae81ac perf(application): 优化RemoteApp应用Chrome序列类的字符串主键关联字段
4 years ago
Bai 6df331cbed perf(perms): 用户/用户组授权的所有应用API返回attrs属性
4 years ago
xinwen 0390e37fd5 feat(orgs): relation 增加搜索功能
4 years ago
xinwen 44d9aff573 fix(orgs): 改正单词拼写
4 years ago
xinwen 2b4f8bd11c feat(ops): Task 支持批量操作
4 years ago
xinwen 231332585d fix(perms): 重建授权树冲突时,响应里加 code
4 years ago
ibuler 531de188d6 perf(systemuser): 优化系统用户家目录权限更改
4 years ago
ibuler 0c1f717fb2 feat(assets): 推送系统用户增加comment
4 years ago
xinwen 9d9177ed05 refactor(terminal): 去掉 Session 中 Terminal 的外键关系
4 years ago
xinwen ab77d5db4b fix(orgs): `org-member-relation` url 拼写错误
4 years ago
ibuler eadecb83ed fix: 修改系统用户节点关系的抖索
4 years ago
ibuler 5d6088abd3 fix(assets): 修复nodes display pop 引起的bug
4 years ago
xinwen 38f7c123e5 fix(audits): sso 登录日志没有 type
4 years ago
xinwen d7daf7071a fix(ticket): 工单申请资产的时候审批人不能搜索
4 years ago
Bai 795245d7f4 perf(perms): 授权给用户应用列表API添加dispaly字段
4 years ago
Bai 7ea2a0d6a5 perf(perms): 应用授权规则序列类添加applications类型校验
4 years ago
xinwen c90b9d70dc perf(perms): 优化根据资产获取授权的系统用户
4 years ago
Bai f6c24f809c perf(application): 修改DoaminAPI返回application数量;修改Application数据库datbase字段required=False
4 years ago
ibuler 57bf9ca8b1 perf(assets): 优化更新子节点名称的算法
4 years ago
Bai ddc2d1106b perf(perms): 修改授权授权应用API,添加category/type过滤字段
4 years ago
ibuler 15992c636a perf: 优化node full value
4 years ago
Bai 36cd18ab9a perf(perms): 修改变量名
4 years ago
Bai 676ee93837 perf(perms): 优化方法名称;授权查询语句;
4 years ago
fit2bot c02f8e499b
feat: 添加资产导入时可以直接写节点 (#4868)
4 years ago
ibuler 4ebb4d1b6d chore: resolve conflict
4 years ago
Bai 5e7650d719 perf(application): RemoteApp应用序列类返回asset_info字段
4 years ago
Bai bf302f47e5 perf(application): 修改RemoteA序列类asset required=False
4 years ago
Bai 1ddc228449 perf(application): RemoteApp序列类字段asset,设置为CharPrimaryKeyRelatedField,修改其他字段的required=Flase
4 years ago
Bai c9065fd96e perf(application): 优化一些小细节
4 years ago
Bai 4a09dc6e3e feat(assets): 修改GatewayModel ip字段类型为CharField
4 years ago
Bai 55bfb942e2 perf(applications): 修改应用序列类字段label
4 years ago
Bai 9aed51ffe9 perf(applications): 修改应用序列类字段长度限制
4 years ago
Bai a98816462f perf(applications): 添加DB序列类字段翻译
4 years ago
Bai abe32e6c79 perf(perms): 添加应用/应用授权API的type_display/category_display字段
4 years ago
Bai 77c8ca5863 perf(perms): 应用授权表添加字段,type和category
4 years ago
Bai 8fa15b3378 perf(assets/terminal): 资产系统用户和Session会话添加协议选项: mysql/oracle/postgresql
4 years ago
Bai a3507975fb perf(application): 修改获取远程应用连接参数的API(2)
4 years ago
Bai 76ca6d587d perf(application): 修改获取远程应用连接参数的API
4 years ago
Bai 038582a8c1 feat(applications): 修改应用/应用授权的迁移文件,解决多种应用/应用授权name字段重复的问题
4 years ago
Bai ca2fc3cb5e feat(applications): 修改ApplicationAPI方法获取序列类的逻辑
4 years ago
Bai cc30b766f8 feat(applications): 修改ApplicationAPI方法method判断->action
4 years ago
Michael Bai b7bd88b8a0 feat(applications): 修改ApplicationAPI方法options
4 years ago
Bai 5518e1e00f perf(application): 优化Application获取序列类attrs字段适配
4 years ago
Bai 0632e88f5d feat(application): 修改Application Model的domain字段选项2
4 years ago
Bai 9dc2255894 feat(application): 修改Application Model的domain字段选项
4 years ago
Bai 1baf35004d refactor(perms): 添加应用授权规则迁移文件;迁移旧的应用授权(db/remoteapp/k8sapp)到新的应用授权
4 years ago
Bai 5acff310f7 perf(application): 修改迁移文件,迁移应用包含id字段
4 years ago
Bai fdded8b90f refactor(perms): 修改授权规则的目录结构(asset、application)
4 years ago
Bai 1d550cbe64 feat(perms): 添加ApplicationPermission API(包含用户/用户组/授权/校验等API)
4 years ago
Bai 4847b7a680 feat(perms): 添加ApplicationPermission Model 和 API(包含ViewSet和RelationViewSet)
4 years ago
Bai 1c551b4fe8 feat(application): 迁移old_application到new_application
4 years ago
ibuler 0282346945 perf: 修改创建
4 years ago
ibuler f6d9af8beb perf(application): 优化type优先级
4 years ago
ibuler ba4e6e9a9f refacter: 重构application
4 years ago
ibuler 874a3eeebf perf(sessions): 优化命令
4 years ago
ibuler dd793a4eca perf: 优化日志保存策略
4 years ago
xinwen f7e6c14bc5 fix(assets): 向资产推送系统用户bug
4 years ago
xinwen f6031d6f5d fix(logger): 把 drf 异常放到单独的日志文件中
4 years ago
xinwen 5e779e6542 fix(systemuser): 系统用户添加 ad_domain 字段
4 years ago
xinwen 7031b7f28b fix(auth): 修复用户登录失败次数出现0次
4 years ago
xinwen e2f540a1f4 fix(assets): 网关的密码不能包含特殊字符
4 years ago
xinwen b4a8cb768b fix(assets): 系统用户与用户组发生变化时报错
4 years ago
xinwen 6b2f606430 fix(tickets): 工单申请资产授权通过人显示不对
4 years ago
xinwen 70a8db895d fix(migrations): 生成一下遗漏的 migrations
4 years ago
xinwen 0043dc6110 fix(assets): 资产列表添加默认 `date_created` 排序
4 years ago
xinwen 87d2798612 fix(assets): 资产列表不能用到`assets_amount`字段
4 years ago
ibuler e2d8eee629 fix(i18n): 修改收藏夹的翻译
4 years ago
xinwen 8404db8cef fix(assets): 修改 `AssetViewSet.filter_fields`
4 years ago
ibuler 4eb5d51840 fix: domain端口可能随便填写的问题
4 years ago
ibuler 7f53a80855 fix: 修改textfield 不再限制长度
4 years ago
ibuler 90afabdcb2 fix(perms): 修复用户的资产不区分组织的问题
4 years ago
ibuler de405be753 fix(perms): 修复asset permission导入的bug
4 years ago
Bai f84b845385 perf(config): 升级依赖redis==3.5.3; 添加CACHES配置: health_check_interval=30; 解决因网络不稳定导致的redis连接失败异常
4 years ago
xinwen b1ac3fa94f fix(orgs): 更新用户时`org_roles`参数为`None`时不更新组织角色
4 years ago
xinwen f8bbca38e3 fix(orgs): 修复组织添加用户bug
4 years ago
ibuler 4917769964 fix(terminal): 修复获取螺旋的异步api
4 years ago
fit2bot 5868d56e18
perf: 更新密码中也发送邮件 (#4789)
4 years ago
fit2bot bab76f3cda
fix(xpack): 修复last login太长的问题 (#4786)
4 years ago
xinwen cfd0098019 fix(perms): 修复一次性获取所有资产与节点sql泛滥问题
4 years ago
ibuler 52f1dcf662 fix(users): 修复邀请用户的bug
4 years ago
xinwen 459c5c07c9 fix(perms): 未激活资产不能使用
4 years ago
xinwen ef86a49c1e fix(perms): 修复失效资产授权action 还在的问题
4 years ago
xinwen 0ad389515b fix(assets): 资产树批量删除资产数量不对
4 years ago
xinwen 2432b9a553 fix(orgs): 组织添加成员bug
4 years ago
ibuler 2190db1bb5 fix(ops): 修复任务schedule属性的bug
4 years ago
fit2bot c73b49fe30
perf: 优化生成假数据 (#4759)
4 years ago
ibuler 98238f71ae fix(assets): 修复点击节点更新硬件信息的bug
4 years ago
ibuler 66e45f1c80 perf(orgs): 优化组织用户添加
4 years ago
ibuler 93a400f6e6 feat(users): 添加用户suggetion api
4 years ago
xinwen 535d7d8373 fix(perms): 授权树与资产列表的一些 bug
4 years ago
fit2bot 96d5c519ec
perf(i18n): 添加翻译信息 (#4748)
4 years ago
Bai 6e91217303 perf(authentication): 修改用户登录页面,使用其他方式认证时点击忘记密码提示联系管理员
4 years ago
xinwen 5dd1dfc59e fix(orgs): 用户修改组织角色报错
4 years ago
Bai a53e930950 perf(tickets): 申请资产工单支持授权多个系统用户
4 years ago
xinwen 8f52f79d91 fix(migrations): 增加迁移脚本
4 years ago
xinwen 3af0e68c84 fix(perms): 用户授权树bug
4 years ago
Bai 3ccf32ed48 feat(authentication): 用户重置密码成功后,发送用户重置密码成功邮件
4 years ago
xinwen d52ed2ffb9 fix(xpack): GatheredUser 点击资产树报错
4 years ago
Bai 1915224063 fix(terminal): 修复正在使用的命令/录像存储可以被删除的问题
4 years ago
fit2bot da4f9efb42
fix(perms): 修改检查资产授权过期策略 (#4722)
4 years ago
xinwen 2a86c3a376 fix(perms): 完善检查资产授权过期的celery task
4 years ago
Bai 5558e854de perf(permms): 应用授权树返回授权应用的总数量
4 years ago
fit2bot 2209a2c8d2
feat(orgs): 修改OrgMemberRelationAPI,支持通过查询参数控制是否忽略已存在的数据 (#4720)
4 years ago
xinwen f596b65ed7 feat(auth): sso 生成的地址重复访问的时候,重定向到用户指定的 next 地址
4 years ago
xinwen 1d49b3deca fix(perms): 用户搜索全部授权资产报错
4 years ago
xinwen 6701a1b604 fix(perms): 用户添加到用户组报错
4 years ago
ibuler b8ff3b38bf fix: 修复middleware引起的bug
4 years ago
fit2bot d3be16ffe8
fix (#4680)
4 years ago
老广 e3648d11b1
feat: 录像存储server类型,可以设置如何存储了 (#4699)
4 years ago
fit2bot d4037998c8
perf: 优化middleware的使用 (#4707)
4 years ago
fit2bot 82de636b5c
perf(common): 检查referer (#4697)
4 years ago