Commit Graph

153 Commits (dev)

Author SHA1 Message Date
fit2bot 395b868dcf
perf: swagger done (#15865)
* perf: swagger upgrade

* perf: upgrade to drf-spectacular

* perf: 添加部分注解

* perf: swagger done

---------

Co-authored-by: ibuler <ibuler@qq.com>
2025-08-27 10:27:01 +08:00
wrd af7a00c1b1 fix: typo 2025-08-26 15:31:13 +08:00
wangruidong 965ec7007c perf: Enhance eager loading by including labels in queryset 2025-08-26 15:31:13 +08:00
wangruidong 2acbb80920 perf: Add account date_expired 2025-07-09 10:47:06 +08:00
fit2bot 3159a4e794
perf: change domain to zone (#15255)
* perf: change domain to zone

* perf: change domain to zone

* perf: change some word

* perf: update gateway enabled i18n

* perf: change migrations

---------

Co-authored-by: ibuler <ibuler@qq.com>
2025-04-21 10:30:18 +08:00
ibuler 3f452daee8 perf: ad as asset 2025-04-08 19:21:37 +08:00
ibuler 9ed822bb3e perf: 优化获取 labels 2025-03-27 16:23:14 +08:00
feng ea599d7695 perf: Perm the template push account 2025-03-27 14:13:29 +08:00
ibuler 4db15d9af7 perf: update action choice field default 2025-03-12 10:23:01 +08:00
fit2bot c96ae1022b
feat: Supports running adhoc,playbook with variable (#14417)
* perf:Create a job that supports adding node parameters

* feat: add variable model

* feat: Modify Variable and AdHoc models,

* feat: Parameters can be set when running job

* feat: Supports setting  variable type

* feat: Supports running adhoc with parameters

* feat: Supports running playbook with parameters

* fix: Translate

* feat: Support setting variables for scheduled tasks

* perf: Translate

---------

Co-authored-by: wangruidong <940853815@qq.com>
2024-11-07 10:38:34 +08:00
fit2bot 763fe778d5
perf: finish this feat (#14079)
* perf: basic finished

* perf: finish this feat

* perf: add datetime demo

---------

Co-authored-by: ibuler <ibuler@qq.com>
2024-09-09 11:26:24 +08:00
feng c92188887d perf: Create authorization to add template account Push account parameters 2024-07-18 19:15:46 +08:00
ibuler 7973d066a3 revert: asset permission real accounts serializer 2024-06-06 16:56:07 +08:00
ibuler 3468f8cd40 perf: 修改授权的账号 2024-06-05 19:33:40 +08:00
wangruidong a313753757 perf: action i18n 2024-05-31 16:34:03 +08:00
Bai cb4402c610 merge: into dev from v4 2024-04-29 11:07:43 +08:00
wangruidong 29dbc2e4d4 perf: 用户详情页-资产授权规则字段排序优化 2024-04-18 13:14:16 +08:00
ibuler a432af1a6d perf: 修改翻译 2024-04-15 16:34:02 +08:00
ibuler 6ea13b2c0d perf: 修改翻译 2024-03-05 19:01:44 +08:00
ibuler b284bb60f5 merge: with dev 2024-02-05 09:49:43 +08:00
fit2bot 46fde2f1aa
perf: 整合翻译 (#12630)
* stash

* stash

* perf: 整合翻译

* perf: 整理了一遍

---------

Co-authored-by: ibuler <ibuler@qq.com>
2024-02-01 16:02:31 +08:00
ibuler e8bbc44647 perf: 优化授权的资产,速度快 10 倍 2024-01-24 16:00:18 +08:00
Bai dc79346bdc perf: 修复 Count 时没有去重的问题 2024-01-19 12:54:14 +08:00
ibuler 2b15fc5e8b perf: 兼用处理一下 tree 2024-01-10 11:23:16 +05:00
fit2bot 2fcbfe9f21
perf: 优化 tree nodes 避免太慢 (#12472)
* perf: 优化 tree nodes 避免太慢

perf: 优化大量资产上的资产数生成比较慢

perf: 优化节点树

perf: 修改 tree nooooooooodes

perf: 优化一些 api 比较大的问题

perf: 优化平台 api

perf: 分页返回同步树

perf: 优化节点树

perf: 深度优化节点树

* perf: remove unused config

---------

Co-authored-by: ibuler <ibuler@qq.com>
2024-01-02 16:11:56 +08:00
wangruidong edb2d1bd7b fix: 我的资产列表标签信息没有显示 2023-12-25 16:02:16 +05:00
fit2bot 714c44fbf4
perf: 授权创建时 通过模版创建账号 给账号添加来源 (#12345)
Co-authored-by: feng <1304903146@qq.com>
2023-12-15 18:28:48 +08:00
fit2bot 8291a81efd
perf: 支持全局的 labels (#12043)
* perf: 支持全局的 labels

* perf: stash

* stash

* stash

* stash

* stash

* perf: 优化 labels

* stash

* perf: add debug sql

* perf: 修改 labels

* perf: 优化提交

* perf: 优化提交 labels

* perf: 基本完成

* perf: 完成 labels 搜索

* perf: 优化 labels

* perf: 去掉不用 debug

---------

Co-authored-by: ibuler <ibuler@qq.com>
2023-12-05 11:16:34 +08:00
ibuler ad8aba88a3 perf: 资产授权添加协议 2023-10-30 10:11:36 +08:00
ibuler f93979eb2d perf: 资产授权添加协议 2023-10-27 16:15:59 +08:00
Bai 114645732a perf: 用户授权账号 API 返回 id 字段 2023-07-26 19:24:58 +08:00
ibuler b4b9c805ff perf: 修改支持 Django4 2023-07-24 11:52:25 +08:00
ibuler eccbf46300 merge: with dev 2023-05-24 15:26:59 +08:00
fit2bot 1933e82587
feat: 账号模版切换至 (#10396)
Co-authored-by: feng <1304903146@qq.com>
2023-05-09 15:29:02 +08:00
ibuler a112d3c99d perf: 修改 accounts 字段 2023-05-06 19:52:03 +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 eb9ac213d5 perf: 去掉 debug msg 2023-04-21 11:32:49 +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 f6c5c35a2c
feat: 账号收集批量同步账号 (#10051)
Co-authored-by: feng <1304903146@qq.com>
2023-03-23 15:24:19 +08:00
fit2bot 1acfdf0398
perf: 批量推送账号 分批处理 (#10000)
Co-authored-by: feng <1304903146@qq.com>
2023-03-17 17:10:10 +08:00
Bai 894955dd68 fix: 修复更新授权报错的问题 2023-03-15 16:33:38 +08:00
ibuler 6bb42b8d59 perf: 优化 csv import export 2023-03-13 17:57:50 +08:00
fit2bot c90a2df28e
perf: automation account username change id (#9867)
* perf: automation account username change id

* perf: 授权账号模版 自推送

---------

Co-authored-by: feng <1304903146@qq.com>
2023-03-08 18:52:00 +08:00
Bai 1b2de703f4 fix: 修复获取授权资产详情时返回 spec_info 字段, 解决连接 Magnus 问题 2023-02-24 11:41:15 +08:00
ibuler 1a9cd2dee2 perf: 优化资产批量更新 2023-02-23 17:44:38 +08:00
Bai 0828a0e9ba fix: 修复资产详情授权用户授权规则列表的搜索项 2023-02-15 14:55:02 +08:00
Bai ce8ad5f9cc perf: 优化资产授权规则过滤支持 accounts 2023-02-03 15:02:58 +08:00
Bai 5fcd83b587 fix: 修复获取 swagger api 时,AssetSerializer category, type 字段手动设置 _choices 属性时报错的问题 2023-02-02 14:40:23 +08:00
ibuler ef51e74b8e perf: 继续替换 spec 2023-01-31 18:06:44 +08:00