Commit Graph

248 Commits

Author SHA1 Message Date
pycook fff6da943d perf(api): relationships built by attribute values (#572) 2024-07-08 11:42:18 +08:00
pycook 39145989c3 fix(api): auto discovery configuration save password
fix(api): auto discovery configuration save password
2024-07-02 21:32:30 +08:00
pycook 3ad8378eab feat(api): auto discovery supports mapping (#569) 2024-07-02 20:19:50 +08:00
pycook 86afad1f68 perf(api): CIType templates download (#567) 2024-06-27 20:54:38 +08:00
pycook 4a42d26eef fix(api): auto discovery permission 2024-06-21 12:47:12 +08:00
simontigers dd611a1523 fix(api): auto_discovery add new perms 2024-06-21 10:25:13 +08:00
pycook 5e0e64861f perf(api): auto discovery has been upgraded (#559) 2024-06-20 20:30:04 +08:00
pycook 5327fc3445 Dev dynamic attribute (#535)
* feat: dynamic attribute

* feat(api): dynamic attribute
2024-06-07 10:39:40 +08:00
pycook fa737e75c3 feat: dynamic attribute (#534) 2024-06-07 10:29:32 +08:00
simontigers b7a6484579 fix: decorator_perms_role_required 2024-06-04 19:23:22 +08:00
pycook 0209ba3778 feat(api): attribute association supports multiple groups (#527) 2024-06-04 11:34:54 +08:00
pycook b0e7748ad0 fix(acl): add relation 2024-05-30 09:33:30 +08:00
simontigers 9d0990b58b Merge pull request #524 from simontigers/common_cmdb_app_perm
fix: cmdb app perms
2024-05-28 17:55:08 +08:00
hu.sima 51027e9ac2 fix: cmdb app perms 2024-05-28 17:54:51 +08:00
pycook d276b3122e feat(api): topology view (#523)
* feat(api): topology views crud

* feat(api): topology view

* feat(api): topology view api done

* feat(api): topology view is done
2024-05-28 17:50:09 +08:00
simontigers 46f4cb5be0 feat: CMDB add TopologyView resource 2024-05-28 16:20:56 +08:00
pycook 11ff531730 fix(api): hot loading is blocked in development mode 2024-05-21 13:14:40 +08:00
pycook 55960aeb54 fix(api): exception when calling webhook (#516) 2024-05-20 13:22:54 +08:00
pycook 6955714951 feat(api): my preference support grouping (#513) 2024-05-18 22:55:01 +08:00
pycook a903738cdc Dev api 240517 (#511)
* fix(api): list values delete

* fix(acl): role rebuild cache
2024-05-17 11:20:53 +08:00
pycook 618c68423a fix(api): unique constraint (#505) 2024-05-02 21:22:40 +08:00
pycook 2b639dd11f chore: release v2.4.4 2024-04-29 14:44:33 +08:00
simontigers 657d57a742 Merge pull request #501 from simontigers/common_decorator_perms
fix: role base app perm
2024-04-29 09:27:36 +08:00
hu.sima c0fc534958 fix: role base app perm 2024-04-29 09:26:23 +08:00
simontigers 373dda6f41 Merge pull request #500 from simontigers/common_decorator_perms
fix(api): decorator_perms_role_required
2024-04-28 19:43:22 +08:00
hu.sima bd31043608 fix(api): decorator_perms_role_required 2024-04-28 19:41:50 +08:00
simontigers 3da43b6cef Merge pull request #499 from simontigers/common_decorator_perms
feat(api): role perm
2024-04-28 19:22:43 +08:00
hu.sima 03ec2e7d01 feat(api): role perm 2024-04-28 19:22:10 +08:00
pycook 7d9ef229c2 feat(api): ci baseline rollback (#498) 2024-04-28 19:19:14 +08:00
kdyq007 b4326722e6 feat(api): Add sorting function to ci list attribute (#495)
Co-authored-by: sherlock <sherlock@gmail.com>
2024-04-27 09:20:24 +08:00
pycook 7d1a05e487 chore: release v2.4.3 2024-04-17 19:35:35 +08:00
pycook 11dc7a6013 feat(api): custom attribute display (#478) 2024-04-17 17:50:46 +08:00
hu.sima e6ffcf9ebd fix(api): check new column support enum change 2024-04-16 15:34:03 +08:00
pycook 780dbbc280 feat(api): service tree search by keywords (#471) 2024-04-15 20:04:56 +08:00
loveiwei 0d7101c9f8 fix: support sealing and unsealing secret in multiple process(more than one workers started by gunicorn) (#469)
* fix: 解决在麒麟系统上使用docker安装时使用celery -D启动 celery 可能出现的问题

* fix: 解决在麒麟系统上使用docker安装时使用celery -D启动 celery 可能出现的问题

* fix: NoneType happend while unsealing the secret funtion, cancel the address check while unseal and seal

* fix: unseal secret function

* fix: remove depens_on in docker-compose

* fix: support sealing and unsealing secret in multiple process(more than one workers started by gunicorn)
2024-04-15 18:08:47 +08:00
pycook 9e62780d50 feat(api): rebuild relation by attribute (#462) 2024-04-03 15:13:43 +08:00
pycook a97d3d6198 feat(api): build relation by attributes (#461) 2024-04-02 09:19:51 +08:00
pycook 10406942a0 fix(api): import CIType 2024-03-29 15:50:07 +08:00
pycook 7f5e5a0921 fix(api): CIType template import 2024-03-29 14:20:56 +08:00
pycook a7c3a0a072 fix(acl): del resource 2024-03-29 13:13:38 +08:00
pycook 6cda354c21 pref(api): error tips for out of range value (#453) 2024-03-29 11:46:50 +08:00
pycook 614766563e Dev api 240328 (#445)
* feat(api): login api supports parameter auth_with_ldap

* fix(api): transfer attribute
2024-03-28 19:12:47 +08:00
pycook 5ad73366ad fix(api): batch import ci relation 2024-03-26 20:38:39 +08:00
pycook 2c12f5fc6f fix(api): import CIType
fix(api): import CIType
2024-03-26 16:53:10 +08:00
pycook b08fa206e4 fix(api): revoke service tree node permissions
fix(api): revoke service tree node permissions
2024-03-26 12:05:22 +08:00
pycook dc569c32a5 feat(api): support service tree editing (#437) 2024-03-26 10:58:11 +08:00
hu.sima 24af71c1fc fix(api): common_employee_edit department in acl role 2024-03-25 11:46:04 +08:00
hu.sima 53943f1244 fix(api): check file ext with magic 2024-03-25 11:16:04 +08:00
pycook 4ebaf9c102 fix: custom dashboard 2024-03-20 11:56:39 +08:00
pycook f30b8ecd3a Dev api 0308 (#424)
* feat(api): grant by node in relation view

* fix(api): When removing attributes, remove the unique constraint

* feat(api): grant by service tree
2024-03-18 19:57:25 +08:00
rustrover 34204ec4c6 fix: some typos (#415)
Signed-off-by: gcmutator <329964069@qq.com>
Co-authored-by: gcmutator <329964069@qq.com>
2024-03-11 15:04:38 +08:00
pycook f867ccbf94 fix(api): remove ACL resources when deleting CIType (#414) 2024-03-08 16:31:03 +08:00
pycook 60df081e49 fix(api): issule #412, unique value restrictions (#413) 2024-03-05 16:21:27 +08:00
pycook 2979d2056a feat(api): multi-id search (#411)
_id:(id1;id2)
2024-03-04 15:15:34 +08:00
pycook aa000cabe2 feat(api): CIType inheritance (#405) 2024-03-01 13:51:13 +08:00
pycook 7474a92377 feat(api): Remove many-to-many restrictions (#401) 2024-02-26 10:17:53 +08:00
pycook 5b3fb7ee32 feat(acl): login channel add ssh options (#396) 2024-02-21 18:10:44 +08:00
simontigers 0f404fe9bf fix: grant common perm after create new employee (#394) 2024-02-04 13:48:02 +08:00
pycook c52fa3bc80 feat(api): Auto-increment id can be used as primary key (#391) 2024-01-26 13:12:17 +08:00
simontigers 849af21855 fix: change common_setting task queue (#390) 2024-01-25 17:39:52 +08:00
pycook 9bc0ab6009 feat(api): password supports regular check 2024-01-12 16:56:10 +08:00
pycook 67081ef005 feat(api): Attributes support regular check (#379)
feat(api): Attributes support regular check
2024-01-12 13:05:37 +08:00
pycook 7b593ce1bc Dev api 240111 (#377)
* feat(api): My subscription supports CIType sorting

* feat(api): db change
2024-01-11 18:01:37 +08:00
pycook e1b81561c9 perf(api): /api/v0.1/ci/adc/statistics
perf(api): /api/v0.1/ci/adc/statistics
2024-01-11 10:10:01 +08:00
simontigers 6c9c987979 fix(api): common edit department return (#359)
fix(api): common edit department return (#359)
2024-01-03 16:42:14 +08:00
simontigers 5e79aab93d fix(api): common department edit method (#355) 2024-01-03 14:26:40 +08:00
simontigers b3ef1aa5c1 fix(api): common i18n wide (#351)
* fix(api): common_i18n wide

* fix(api): department i18n
2024-01-03 13:26:58 +08:00
simontigers 2992bc2fae fix(api): common_i18n wide (#350) 2024-01-03 12:29:49 +08:00
pycook a23bdab10e Dev api 231229 (#345)
* fix(api): predefined value for float

* feat(api): update public clouds config

* feat(api): commands add-user support is_admin
2023-12-29 13:44:23 +08:00
simontigers f65d81bf46 feat(api): common i18n (#340) 2023-12-26 10:06:15 +08:00
pycook 33f9f190e9 feat(api): i18n
feat(api): i18n
2023-12-25 21:51:44 +08:00
kdyq007 d0575331d5 [更新] 修复 LDAP 登录失败的问题 (#336)
Co-authored-by: sherlock <sherlock@gmail.com>
2023-12-25 09:36:31 +08:00
pycook 51c42f90be Merge branch 'master' of github.com:veops/cmdb 2023-12-23 12:31:52 +08:00
pycook a938477d85 fix(api): role grant 2023-12-23 12:30:52 +08:00
simontigers f965ad3bf3 feat(api): add update_last_login_by_uid (#333) 2023-12-22 18:43:20 +08:00
pycook 41ad610c00 fix(api): ci relation search
fix(api): ci relation search
2023-12-22 15:35:02 +08:00
simontigers 7b8e120974 feat(api): add get_file_binary_str and save (#329) 2023-12-22 15:33:05 +08:00
simontigers 1ee8ed7c4f fix(api): refresh rid after create and import employee (#328) 2023-12-22 15:24:48 +08:00
pycook 1da629b877 pref(api): import and export of CIType templates
pref(api): import and export of CIType templates
2023-12-22 14:32:03 +08:00
pycook 5279d96c84 fix(api): add CI (#326) 2023-12-22 11:19:16 +08:00
pycook 9afef06c54 fix(api): CAS authentication 2023-12-20 12:10:00 +08:00
pycook e597c2aee9 fix(api): oauth2.0 authentication 2023-12-19 13:07:21 +08:00
pycook 3a760c3a80 fix(api): ldap authentication 2023-12-19 00:16:56 +08:00
simontigers 0806f2ed73 fix: auth config (#317) 2023-12-18 16:52:24 +08:00
pycook e1c797b6a1 pref(api): A CIType allows repeated binding of auto-discovery rules (#313) 2023-12-16 17:56:14 +08:00
simontigers c89ebf6518 fix(api): common_data (#311) 2023-12-15 10:56:04 +08:00
pycook 6aef26b82c pref(api): authentication and login log (#308)
* pref(api): authentication and login log

* feat(api): ldap and OAuth2.0
2023-12-14 19:53:08 +08:00
simontigers ee0b74bec7 feat(api): auth config api (#309) 2023-12-14 19:39:21 +08:00
simontigers 67d64abf42 fix(api): get_employee_notice check data None (#305)
* fix(api): get_employee_notice check data None

* fix(api): remove path when save messager url
2023-12-13 09:45:42 +08:00
pycook 093065551b feat(api): support OAuth2.0 and OIDC authentication, it has been tested with casdoor
feat(api): support OAuth2.0 and OIDC authentication, it has been tested with casdoor
2023-12-12 20:29:57 +08:00
pycook 65664ae8f9 fix(api): time data format
fix(api): time data format
2023-12-12 14:37:21 +08:00
pycook 64f891df31 perf(api): ci delete (#297) 2023-12-12 11:09:32 +08:00
simontigers 379cabbfca feat(api): upload file save db (#292) 2023-12-11 18:22:33 +08:00
simontigers 86fbd62048 fix(api): Common create employee (#287)
* fix(api): add add_from arg in create employee

* fix(api): add check in acl call common after add user
2023-12-06 17:12:37 +08:00
pycook c523ffaf65 fix(api): get relation history 2023-11-28 20:37:36 +08:00
pycook 7ef23bd779 feat(api): issue #212 (#279) 2023-11-24 10:26:48 +08:00
loveiwei 3b73971bf8 fix: Solving the timezone issue in Redis, as well as the problem of MySQL logs always being in UTC timezone. (#268) 2023-11-15 20:48:52 +08:00
pycook fb371a0d46 Dev api 231108 (#264)
* perf(api): commands add-user

* feat(api): add commands cmdb-agent-init
2023-11-09 11:32:54 +08:00
pycook a50f6d4fe4 feat(api): encrypting webhook configurations (#255) 2023-11-07 17:15:24 +08:00
pycook 07412169b3 fix(api): Code scanning alerts (#254) 2023-11-06 14:27:30 +08:00