Yang Jiao
97c1fdcd8e
Add Referrers API testcase ( #18775 )
...
Fix #18617
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-06-01 16:34:40 +08:00
Chlins Zhang
a98711c0fc
fix: clean up scan executions and reports after deleting artifact ( #18693 )
...
Cleanup the associated resources(scan executions and scan reports) after
deletion of artifact.
Fixes : #18634
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-05-31 14:54:52 +08:00
cui fliter
e19ec9623b
Fix: fix function name in comments ( #18726 )
...
fix function name in comments
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-05-31 10:26:19 +08:00
orblazer
b021dbd2d6
fix invalid access action ( #18188 )
...
Signed-off-by: orblazer <orblazer.minecraft@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-30 17:49:01 +08:00
Wang Yan
5c42bc10ec
remove the legacy migration ( #18754 )
...
Delete the legacy migration and artifact abstration code for v2.0
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-30 15:17:24 +08:00
guangwu
b7b0e43a21
fix: import optimization ( #18727 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-05-30 13:24:08 +08:00
MinerYang
14192dfb06
add strong_ssl_ciphers for nginx https jinja template ( #18748 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-05-29 21:57:15 +08:00
lishaokai1995
04833d2daf
Fix syntax errors in comments ( #18746 )
...
Signed-off-by: lishaokai1995 <lishaokai1995@126.com>
2023-05-29 17:31:08 +08:00
rongfu.leng
4652d752b6
【optimization】Use URL.Redacted method repleace redacted ( #18716 )
...
use URL.Redacted method replease redacted
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-05-29 16:37:51 +08:00
stonezdj(Daojun Zhang)
1b1af4a14c
Return error when proxy cache get too many request error(429) ( #18728 )
...
Add 429 too many request error in http error
Fixes #18707
Signed-off-by: stonezdj <stonezdj@gmail.com>
2023-05-29 13:33:46 +08:00
Yang Jiao
210186f479
Update e2e engine image ( #18747 )
...
1. Update containerd version to 1.7.1
2. Update docker compose version to 2.18.1
3. Update helm version to 3.12.0
4. Update ORAS version to 1.0.0
5. Update CNAB version to 0.4.0
6. Update imgpkg version to 0.36.2
7. Update cosign version to 2.0.2
8. Update docker version to 24.0.2
9. Update chromedriver version to 114.0.5735.16
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-29 11:55:14 +08:00
Stephan Hohn
4f3393e615
http2 enabled and ciphers changed to get an A+ rating instead of B fr… ( #16990 )
...
* Make strong cipher cfg optional
Signed-off-by: Stephan Hohn <stephan.hohn@tech11.com>
---------
Signed-off-by: Stephan Hohn <stephan.hohn@tech11.com>
Signed-off-by: MinerYang <yminer@vmware.com>
Co-authored-by: Stephan Hohn <stephan.hohn@tech11.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-05-29 10:37:57 +08:00
Shijun Sun
11d6bb4437
Add a text to explain the time window for GC ( #18735 )
...
1.Fixes #18692
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-26 18:32:19 +02:00
Wang Yan
06aa87a72a
set tag pull time for proxy cache ( #18731 )
...
fixes #18708
to set the pull time of tag for the first time cache the artifact.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-26 13:08:37 +08:00
malmor
135ca37e3f
Add support for TLSv1.3 in nginx configurations ( #18659 )
...
Signed-off-by: malmor <62105800+malmor@users.noreply.github.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-05-26 10:29:54 +08:00
David van der Spek
982ff0aeea
chore: bump registry release to 2.8.2 ( #18685 )
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-05-26 09:37:45 +08:00
Shijun Sun
c399e5ee4a
Improve repo_read_only header on the UI ( #18729 )
...
1. Fixes #18694
2. Now non-system-admin users can also see the repo_read_only header
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-24 17:13:33 +08:00
Shijun Sun
43c6586af4
Upgrade Angular and Clarity to the latest version ( #18709 )
...
1.Upgrade Angular to 16.0.2
2.Upgrade Clarity to 15.4.0
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-23 15:59:31 +08:00
stonezdj(Daojun Zhang)
9d042ad585
Use subtle.ConstantTimeCompare instead of compare directly ( #18697 )
...
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-05-22 16:16:52 +08:00
Yang Jiao
ac70a14397
Add Retain image last pull time UI test case ( #18695 )
...
Fix #18690
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-19 16:31:01 +08:00
Yang Jiao
2016d32497
Add Retain image last pull time API test case ( #18689 )
...
Fix #18618
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-19 14:18:21 +08:00
Aklis
6a79de761b
Fix the channel that never receives a value ( #18139 )
...
fix the channel that never receives a value
fix the code with the linter's recommendation by https://github.com/goharbor/harbor/blob/main/CONTRIBUTING.md#develop-build-and-test
Signed-off-by: iAklis <chenpinwei@gmail.com>
2023-05-19 09:17:46 +08:00
Wang Yan
bf7c82b9a8
remove the notary from backend ( #18668 )
...
Since harbor deprecates notary since v2.9.0, this pull request targets to remove the code related with notary.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-18 18:47:42 +08:00
Shengwen YU
845bcdb184
fix: add retry on the caller of v2DeleteManifest instead within v2DeleteManifest ( #18662 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-18 09:35:33 +08:00
MinerYang
954f1f3d06
bump up github.com/distribution/distribution v2.8.2 ( #18687 )
...
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-17 11:58:43 +08:00
stonezdj(Daojun Zhang)
44faccf01b
Handle error in migrate script ( #18664 )
...
Dump the total amount of errors
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-05-17 10:03:23 +08:00
Yang Jiao
cf1af0d450
Fix setup-gcloud fails when building package ( #18682 )
...
Fix #18681
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-16 16:04:00 +08:00
Viktor
f8e28dbede
Changed logic search projects in gitlab adapter ( #18529 )
...
* fix(gitlab): change logic search projects usage search_namespaces
Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
* tests(gitlab): remove old data and actualization test
Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
* refactor(gitlab): added debug log
Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
(cherry picked from commit 732806221b1c1633682fe1adad4cbcd3a4687d0b)
* lint(gitlab): fix import order
Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
---------
Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
2023-05-15 13:59:13 +08:00
dependabot[bot]
7b0692d698
Bump kentaro-m/auto-assign-action from 1.2.4 to 1.2.5 ( #18263 )
...
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action ) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases )
- [Commits](https://github.com/kentaro-m/auto-assign-action/compare/v1.2.4...v1.2.5 )
---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: Orlix <OrlinVasilev@users.noreply.github.com>
2023-05-15 13:58:43 +08:00
dependabot[bot]
166eb2e4e1
Bump google-github-actions/setup-gcloud from 0 to 1 ( #17772 )
...
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud ) from 0 to 1.
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases )
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v0...v1 )
---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2023-05-15 13:58:07 +08:00
Eng Zer Jun
18a33c2b40
chore: replace github.com/ghodss/yaml
with sigs.k8s.io/yaml
( #18606 )
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-05-12 18:21:26 +08:00
Yang Jiao
cb8a3d0c74
Fix build db base image symlink error ( #18673 )
...
Fix #18672
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-12 15:45:27 +08:00
Shijun Sun
f2fc0f6a99
Remove notary UI ( #18666 )
...
1. Remove notary from the UI
2. Remove notary-related unit test cases
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-11 19:23:51 +08:00
Yang Jiao
79d1aa05fd
Refresh the base images when building on main ( #18661 )
...
Be able to discover photon updates in time.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-11 14:49:22 +08:00
Chlins Zhang
2958d7b7ff
fix: cherry pick the migration sql ( #18644 )
...
Cherry pick the migration SQL of 2.8.1 to main branch.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-05-10 16:35:07 +08:00
Chlins Zhang
36c2b93fe6
fix: sweep executions of image scan job ( #18649 )
...
1. Change the SCAN_ALL job execution retain counts from 5 to 1(per
current design, only one report be stored for every artifact, so
retain latest 1 is enough).
2. Enable the sweep for IMAGE_SCAN job(retain latest 1).
Fixes : #18633
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-05-10 13:23:54 +08:00
MinerYang
220383147e
bump golang 1.20.4 on main ( #18647 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-05-09 23:27:26 +08:00
Bin Liu
b232c90442
fix: non-ASCII chars in swagger.yaml ( #18642 )
...
There are a `ß` char and some U+ff5c "|" in the swagger.yaml.
The character U+ff5c "|" could be confused with the
ASCII character U+007c "|".
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-05-09 10:54:41 +08:00
Shijun Sun
2fec790148
Copy swagger.json to the dist folder ( #18646 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-09 09:27:03 +08:00
Peter Dave Hello
0e3e70bc7a
Improve zh-tw (Traditional Chinese) locale ( #18608 )
...
Improve zh-tw locale
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2023-05-08 10:55:04 +08:00
Yang Jiao
aaea068cce
Upgrade the internal PostgreSQL to 14 in 2.9.0 ( #18612 )
...
Fix #18338
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-05 10:32:39 +08:00
Shijun Sun
0a3509f8a7
Replace python script with node script for portal Dockerfile ( #18635 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-04 17:38:03 +08:00
Chlins Zhang
362387f914
fix: improve the performance of list artifacts ( #18610 )
...
1. Change the query for listing tasks of scan which can use the db
index.
2. Add the gin index for task.extra_attrs.report_uuids
Fixes : #18013
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-30 09:10:28 +08:00
Yang Jiao
c09e539027
Remove notary test cases ( #18620 )
...
Fix #17955
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-28 16:09:40 +08:00
Peter Dave Hello
010042fb92
Specify proper language in CONTRIBUTING.md code blocks ( #18605 )
...
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2023-04-28 09:32:18 +08:00
Shijun Sun
1bbe8c57e7
Fix message prompt under the header ( #18613 )
...
1.Fixes #18601
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-27 18:03:05 +08:00
MoonStrider
bf6389e6c8
fix: error log use wrong variable err ( #18602 )
...
Update manager.go
Signed-off-by: MoonStrider <37744291+dyf991645@users.noreply.github.com>
2023-04-26 21:10:41 +08:00
Per
e20e4401cb
fix: link to Github's rate limiting documentation. ( #18588 )
...
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2023-04-25 13:11:40 +03:00
MinerYang
ebac530b46
add goheader linter settings ( #18503 )
...
fix files for goheader linter
fix copyright 2018/2019
Signed-off-by: yminer <yminer@vmware.com>
2023-04-25 11:18:42 +08:00
Yash Raj Singh
7ace561e55
Fixed Golint & FGT installation commands in Project Setup Documentation ( #18282 )
...
Fixed Golint & FGT installation commands
Signed-off-by: yrs147 <yashraj14700728@gmail.com>
2023-04-24 13:56:41 +08:00