Thomas Coudert
5287c0e79d
Improve Portal french translation ( #18289 )
...
* Remove useless translation values and fix variable name typo
Signed-off-by: Thomas Coudert <thomas.coudert@ovhcloud.com>
* Improve Portal French translation
Signed-off-by: Thomas Coudert <thomas.coudert@ovhcloud.com>
* Translate Portal CVE_EXPORT in french
Signed-off-by: Thomas Coudert <thomas.coudert@ovhcloud.com>
2023-03-15 14:25:14 +08:00
Back Yu
fe236ecd2e
Support vpc and internal network (goharbor#17488) ( #17489 )
...
Signed-off-by: Back Yu <yhfszb@gmail.com>
2023-03-15 11:04:45 +08:00
Shijun Sun
1acba0c3bb
Add dynamic column support ( #18331 )
...
1. Fixes #17815
2. Add dynamic column support for replication rule list and artifact list
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-14 14:41:16 +08:00
Shijun Sun
a1d397842d
Improve webhook UI ( #18325 )
...
1. Add text format for payload data
2. Delete payload_format for Slack
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-14 13:28:12 +08:00
Chlins Zhang
65e675d2e6
feat: integrate CloudEvents to webhook ( #18322 )
...
Integrate CloudEvents as payload format for webhook.
Closes : #17748
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-03-14 10:44:25 +08:00
Wang Yan
9b61d34c4c
add referrers api ( #18324 )
...
add referrers api
The define of referrers api in the upstream oci spec: https://github.com/opencontainers/distribution-spec/blob/v1.1.0-rc1/spec.md#listing-referrers
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-03-12 15:28:37 +08:00
stonezdj(Daojun Zhang)
ab636fe3da
Remove go routine to reloadSetting ( #18318 )
...
Config is cached in redis
Fixes #18189
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-03-11 15:45:50 +08:00
Shengwen YU
4efee54f07
feat: upgrade mockery version ( #18332 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-03-11 08:16:11 +08:00
Shijun Sun
ec7c99c270
Add agent config for ng serve ( #18323 )
...
1. Add agent setting for the proxy config
2. Add https-proxy-agent package
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-10 17:22:11 +08:00
stonezdj(Daojun Zhang)
e8e56fd31d
Check tag name for OCI spec ( #18311 )
...
Verify tag name with OCI spec when creating tag
Fixes #18073
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-03-10 10:40:37 +08:00
stonezdj(Daojun Zhang)
5c9ce836cf
Skip robot account for oidc_cli middleware ( #18317 )
...
Fixes #15253
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-03-09 15:41:08 +08:00
Wang Yan
5a065d1cd8
fix robot account list project ( #18304 )
...
Fixes #17636 , to determine permissions for the project resource, the path should be /project instead of /project/project.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-03-09 14:16:18 +08:00
Wang Yan
295260b7a3
replace subject id with digest ( #18278 )
...
Since it has to support push subject and accessories in either order, it has to replace digest with id
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-03-08 17:03:12 +08:00
Yang Jiao
fecee37439
Update robot account to skip NotFoundErr ( #18321 )
...
Fix #18320
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-03-08 15:39:50 +08:00
hyeyoung-leee
2c287cf27a
Modified to check the expiration time of the allowlist when determining the vulnerability of an artifact ( #18106 )
...
Signed-off-by: hyeyoung-lee <hyeyoung.lee@nhn.com>
2023-03-08 11:25:40 +08:00
Shijun Sun
1238384428
Add logs column for worker datagrid ( #18307 )
...
1. Related back-end PR #18261
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-07 19:58:39 +08:00
Shijun Sun
38d7eda1ad
Update UI for the deprecation of Artifact Hub ( #18303 )
...
1. Update edit-registry page to enable the edition for Artifact Hub
2. Update edit-replication-rule page to enable the edition for rules contain Artifact Hub
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-07 18:12:08 +08:00
Shijun Sun
ba9078f463
Enhance webhook UI ( #18291 )
...
1. Add execution list for a certain webhook policy
2. Add task list for a certain execution
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-07 17:12:18 +08:00
stonezdj(Daojun Zhang)
5c0266e719
Get job log by job_id in worker ( #18261 )
...
Get job by job_id in redis
Get the last 10MB of data if it exceeds 10MB
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-03-06 13:19:10 +08:00
Shijun Sun
6f01d7480b
Add retry times for calling CVE data export execution list API ( #18297 )
...
1.Fixes #17879
2.Add retry times to avoid endless API calls for CVE data export execution list API
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-03 14:44:36 +08:00
Chlins Zhang
90db04e92d
refactor: refact the webhook API and life process ( #18255 )
...
refactor: refact the notification job API and life process
1. Introduce new APIs for webhook jobs management.
2. Refact legacy APIs for backforward compatible.
3. Migrate the webhook jobs process to unified execution/task framework.
Closes : #18210
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-03-03 10:17:47 +08:00
stonezdj(Daojun Zhang)
320c64e433
Sort user and usergroup by most match order ( #18273 )
...
fixes #17859
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-03-01 10:11:21 +08:00
Shijun Sun
9973d99f3e
Remove chart api ( #18265 )
...
* remove chart api from swagger
Delete the api path for chart in the swagger
Signed-off-by: Wang Yan <wangyan@vmware.com>
* Remove chart APIs
1. Remove some chart-related steps for Dockerfile for portal container
2. Remove chart APIs for API center
Signed-off-by: AllForNothing <sshijun@vmware.com>
---------
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-02-24 14:47:42 +08:00
Shijun Sun
a79c0ad496
Add next scheduled time for tag retention ( #18223 )
...
1. Add next scheduled time UI
2. Update font style
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-22 12:26:58 +08:00
Shijun Sun
c5640acd7b
Add scanner_skip_update_pulltime property for system setting ( #18214 )
...
1. Related backend PR #17807
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-22 10:58:01 +08:00
Chlins Zhang
4141d77407
fix: remove noise log when core started ( #18260 )
...
Fixes : #18126
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-02-21 17:38:42 +08:00
stonezdj(Daojun Zhang)
58054c0ce8
Change queue name for purge audit log and filter the old one ( #18182 )
...
Fixes #18121
Refactor job name with VendorType prefix, make sure job queue name and vendor type in execution and task are identical
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-02-20 16:03:22 +08:00
stonezdj(Daojun Zhang)
d03f0dcf2d
Skip to update pull time and pull count for scanner robot account ( #17807 )
...
Add prefix for scanner robot account
Fixes #14638
Signed-off-by: stonezdj <daojunz@vmware.com>
# Conflicts:
# api/v2.0/swagger.yaml
# src/common/const.go
# src/lib/config/metadata/metadatalist.go
2023-02-20 15:09:21 +08:00
Chlins Zhang
da1637e1d3
fix: resolve the oidc or ldap group user cannot export cve ( #18219 )
...
Remove the project filter in the scan data export job as they have been
validated by API handler, fix the oidc or ldap group users cannot export
cve.
Fixes : #18112
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-02-20 14:22:27 +08:00
Shengwen YU
94dbc3fa8f
fix: add "next_scheduled_time" ( #18102 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-17 17:54:53 +08:00
Wang Yan
738fde7d3b
remove chartmuseum backend ( #18191 )
...
Harbor deprecates chartmuseum as of v2.8.0
Epic: https://github.com/goharbor/harbor/issues/17958
Discussion: https://github.com/goharbor/harbor/discussions/15057
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-02-16 18:11:05 +08:00
Shijun Sun
ec5afc3257
Display error message by defaul for event panel ( #18226 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-16 10:30:21 +08:00
Chlins Zhang
47137605c9
fix: update the replication API handler ( #18197 )
...
1. Check execution before stop replication execution.
2. Check execution before list replication tasks.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-02-14 13:11:27 +08:00
Shijun Sun
cece65ccf7
Translate English to Chinese for primary auth mode tooltip ( #18196 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-13 12:12:17 +08:00
Fish-pro
2f04d4f810
chore: clean up no longer support linters for golang-lint ( #18165 )
...
Clean up no longer support linters for golang-lint
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-10 16:27:37 +01:00
Shengwen YU
a4c95fa030
fix: reset user password ( #18192 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-09 18:39:13 +08:00
Maksym Trofimenko
68fb01813e
Allow the Identity Provider to be the primary auth method in Harbor. ( #17627 )
...
Allow the Identity Provider to be the primary auth method in Harbor
Signed-off-by: Maksym Trofimenko <maksym@container-registry.com>
2023-02-08 18:11:08 +01:00
Shijun Sun
ff9dcd5483
Remove helm chart UI ( #18099 )
...
1.Remove all helm chart v2 related code
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-08 16:47:03 +08:00
Shijun Sun
9d30955607
Support searching artifacts by specified tag name ( #18175 )
...
1.Fixes #18082
2.Update CSS
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-08 16:00:37 +08:00
Shijun Sun
fdf93470c5
Correct total count for schedule list datagrid ( #18148 )
...
1.Fixes #18120
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-08 12:01:01 +08:00
Shengwen YU
62c033b6d3
fix retention/immutable API issue ( #18158 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-06 14:42:15 +08:00
Caleb Lloyd
901cc17c67
aws auth use default creds when none are supplied ( #17932 )
...
Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
Co-authored-by: Vadim Bauer <vb@container-registry.com>
2023-02-03 21:52:53 +01:00
Chlins Zhang
bfe4362a67
fix: remove the scan exports volume ( #18107 )
...
1. Change the Export CVE temporary file directory to /tmp.
2. Remove the scan data export volume in Dockerfile and docker-compose
yaml.
Fixes : #18067
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-01-31 17:30:47 +08:00
rongfu.leng
0fb076a09a
add match many version pattern test ( #18092 )
...
Signed-off-by: lengrongfu <1275177125@qq.com>
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-01-16 16:40:19 +08:00
Shijun Sun
2ea53444e6
Add i18n support for Clarity components ( #18076 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-01-11 10:29:05 +08:00
Noah Tang
a9a67462dc
add job status unit test ( #18057 )
...
Signed-off-by: coderth <coderth@outlook.com>
Signed-off-by: coderth <coderth@outlook.com>
2023-01-10 13:28:28 +08:00
Shijun Sun
a86740e82a
Update datePicker component ( #18070 )
...
1.Fix date validator
2.Add i18n support
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-01-06 11:36:01 +08:00
Shijun Sun
2361ae161f
Upgrade Angular and Clarity to the latest version ( #18059 )
...
Upgrade Angular and Clarity
1.Upgrade related libraries
2.Fix breaking changes
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-01-05 10:42:59 +08:00
MinerYang
ba5baca769
bump up helm/v3/pkg to v3.10.3 on main ( #18050 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2023-01-04 15:42:32 +08:00
Aleksandr Chebotov
452ae168cc
fix purge info typo ( #18023 )
...
Signed-off-by: Aleksandr Chebotov <alk.chebotov@gmail.com>
2023-01-03 13:48:14 +08:00