Commit Graph

9313 Commits

Author SHA1 Message Date
LandoVMW
8cb2c5eb36 Update adding-tags.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
2cb0076f6d Update deleting-tags.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
786c580140 Update repositories.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
36fb4f57db Update repositories.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
c0f8fe37fc Update deleting-tags.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
900aefe2df Update deleting-artifact.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
f1d121d158 Update deleting-artifact.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:55 -07:00
LandoVMW
897f1abef4 Update deleting-artifact.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:54 -07:00
LandoVMW
029153f932 Update create-labels.md
Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:54 -07:00
LandoVMW
ee98295f3c editorial update
made some edits for clarity and grammar

Signed-off-by: LandoVMW <ottl@vmware.com>
2020-06-26 12:30:54 -07:00
Daniel Jiang
aa8bd64bcc
Merge pull request #12250 from wy65701436/release-2.0.1
bump up version to v2.0.1
2020-06-16 17:55:37 +08:00
wang yan
1dffe577a0 bump up version to v2.0.1
Signed-off-by: wang yan <wangyan@vmware.com>
2020-06-16 15:06:29 +08:00
Wang Yan
bcbd2d53b9
bump up clair v2.1.4 (#12247)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-06-16 13:57:03 +08:00
Steven Zou
d4404cb984
Merge pull request #12179 from danielpacak/bump_up_trivy_adapter_to_0.11.0_cherry_pick_v2.0.0
[cherry-pick]: fix(trivy): Bump up Trivy adapter to v0.11.0
2020-06-16 11:06:04 +08:00
Wenkai Yin(尹文开)
555eea9bbc
Remove the label from artifacts when deleting a label (#12211)
Fixes #12112, remove the label from artifacts when deleting a label

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-06-15 14:09:04 +08:00
Daniel Jiang
f26e69adc8
Merge pull request #12212 from reasonerjt/fix-post-user-403-2.0
Makes api/users return 401 for request not authenticated - Cherrypick to 2.0
2020-06-11 15:51:21 +08:00
Daniel Jiang
ab91379602 Makes api/users return 401 for request not authenticated
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-06-11 15:15:30 +08:00
Steven Zou
57e9aedc23
Merge pull request #12078 from ninjadq/chartrepo_enumeration_2_0
Chartrepo enumeration 2 0
2020-06-11 15:07:58 +08:00
jwangyangls
e176c3151d
Merge pull request #12210 from jwangyangls/fix-harbor-icon-safari-break-2.0.1
[cherry-pick][fix][ui] about dialog Icon cutoff in safari
2020-06-11 14:35:19 +08:00
DQ
def4f4af52 Fix: chart repo response code inconsistent
Response code should consistent whether namespace is existed or not

Signed-off-by: DQ <dengq@vmware.com>
2020-06-11 12:22:24 +08:00
Will Sun
81e07f45fb
Merge pull request #12193 from AllForNothing/release-2.0.0
[Cherry-pick]Fix UI issues with label target 2.0.1
2020-06-11 12:03:12 +08:00
AllForNothing
eee35d947d Fix UI issues with label target 2.0.1
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-06-11 11:31:45 +08:00
Yogi_Wang
d3629f036b [fix][ui] about dialog Icon cutoff in safari
fix #12144
env 10.78.96.167
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-06-11 10:19:48 +08:00
Daniel Jiang
810dfa51a4
Merge pull request #12201 from reasonerjt/unknown-serverity-lower-2.0
Lower the severity of a "Unknown" vulnerability
2020-06-10 20:29:51 +08:00
jwangyangls
fab5e060a6
Merge pull request #12198 from jwangyangls/popup-unauthorized-2.0.0
[cherry-pick][fix][unauthorized] Support show relogin when unauthorized  in popup modal
2020-06-10 15:30:31 +08:00
Daniel Jiang
88233881cc Lower the severity of a "Unknown" vulnerability
This commit lower the actual severity of "Unknown" vulnerability to the
same level of "None"

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-06-10 15:26:52 +08:00
Yogi_Wang
1923c4ea33 [fix][unauthorized] Support show relogin when unauthorized in popup modal
1.support show relogin when unauthorized  in popup modali
2.change change member role error handle
3.change helm chart service error handle
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-06-10 14:04:10 +08:00
Daniel Jiang
df82d5fe81
Change status code for projects API (#12185)
Update to projects API so it will not differentiate if a project
does not exist or the user doesn't have permission to access it.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-06-09 20:03:41 +08:00
Daniel Jiang
6a65b27c19
Merge pull request #12184 from AllForNothing/release-2.0.0
[Cherry-pick]Remove test button for webhook
2020-06-09 14:51:24 +08:00
AllForNothing
1577932348 Remove test button for webhook
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-06-09 08:42:12 +08:00
Daniel Pacak
0187ccf174 fix(trivy): Bump up Trivy adapter to v0.11.0
This commit bumps up Trivy to resolve the following issues reported
in the aquasecurity/harbor-scanner-trivy repository:

- https://github.com/aquasecurity/harbor-scanner-trivy/issues/114
- https://github.com/aquasecurity/harbor-scanner-trivy/issues/108

Note that this adapter vendors in Trivy v0.9.0 which has changed
the algorithm for qualifying severities. Previous versions of Trivy
preferred NVD scores, whereas this version will use vendor score
whenever it's possible.

We believe it's more suitable approach for qualifying severities.
Even though this change might impact vulnerability summaries in
some cases, the total number of vulnerabilities should stay the
same.

Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2020-06-08 11:48:37 +02:00
Steven Zou
d5120602d3
Merge pull request #12159 from danielpacak/fix/issue_11964/trivy_handle_unknown_os_cherry_pick_v2.0.0
[cherry-pick]: fix(trivy): Handle gracefully scratch and slim images
2020-06-08 17:13:10 +08:00
Daniel Jiang
b507999ca4
Merge pull request #12164 from reasonerjt/disable-webhook-test-2.0
Remove the API to test a webhook - Cherry pick to 2.0 branch
2020-06-05 18:13:55 +08:00
Daniel Jiang
ce597acfb9 Remove the API to test a webhook
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-06-05 13:46:42 +08:00
Daniel Pacak
7bfaeedd16 fix(trivy): Handle gracefully scratch and slim images
This commit bumps up Trivy to 0.7.0 and Trivy adapter service to 0.10.0
in order to handle scratch and slim images, for which we cannot detect
the underlying operating system.

Resolves: #11964

Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2020-06-05 00:31:11 +02:00
Steven Zou
55198593bc
Merge pull request #12128 from steven-zou/fix/js_stop_job_issue_2.0
fix(jobservice):mismatch status issue when stopping job
2020-06-03 21:03:23 +08:00
Steven Zou
6453843f84 fix(jobservice):mismatch status issue when stopping job
CHERRY_PICK to 2.0

- returnning nil instead of error when trying to stop a job that has been in the final status(Error/Success/Stopped)
- do enhancements to the periodic job unschedule func
- fix a UT nil ptr issue

Signed-off-by: Steven Zou <szou@vmware.com>
2020-06-03 18:21:47 +08:00
Will Sun
b6aaf425ac
Merge pull request #12108 from AllForNothing/release-2.0.0
[Cherry-pick]Fix bugs with label 'target 2.0.1'
2020-06-03 14:53:01 +08:00
AllForNothing
281cdb9943 Fix bugs with label 'target 2.0.1'
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-06-03 11:30:20 +08:00
Qian Deng
6d0b3516fb
Merge pull request #12076 from ninjadq/add_timeout_in_nginx_config_2_0
Add timeout on nginx configs
2020-06-03 06:57:46 +08:00
jwangyangls
d324eb00d4
Merge pull request #12119 from jwangyangls/fix-issue-add-label-2.0.1
[cherry-pick][fix]   issue in front ui 2.0.1
2020-06-02 16:36:30 +08:00
Yogi_Wang
d152652c33 [fix] issue in front ui 2.0.1
1.fix add label issue
2.fix unauthorized user can contrl page
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-06-02 15:50:25 +08:00
Daniel Jiang
03cd758aad
Merge pull request #12044 from wy65701436/release-2.0.0-clair
Update Clair to v2.1.3
2020-06-02 10:26:52 +08:00
Daniel Jiang
537ede9a9d
Merge pull request #12105 from reasonerjt/fix-pgsql-healthcheck-2.0
Update health check script for harbor-db (#12103) - cherrypick to 2.0
2020-06-01 15:24:21 +08:00
Daniel Jiang
700a027eb8 Update health check script for harbor-db (#12103)
This patch remove the trailing space of the hostname introduced by
`hostname -i`.

The trailing space will cause resolution error after this patch is
applied to glibc in photon:
https://github.com/vmware/photon/blob/2.0/SPECS/glibc/glibc-fix-CVE-2019-10739.patch

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-06-01 11:09:48 +08:00
Daniel Jiang
05484695ca
Merge pull request #12073 from ninjadq/upgrade_chart_museum_version_2_0
Enhance: Upgrade chartmuseum version
2020-06-01 11:00:12 +08:00
Wenkai Yin(尹文开)
351dc1a82e
Merge pull request #12097 from chlins/cherry-pick/replication-pull-blob-content-length
[CHERRY-PICK]fix(replication): ignore the problem of not getting Content-Length fr…
2020-05-29 16:53:05 +08:00
chlins
b70c952983 fix(replication): ignore the problem of not getting Content-Length from the pull blob api
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-05-29 11:47:21 +08:00
He Weiwei
110c32ca39
Merge pull request #12083 from heww/fix-issue-11951-in-2.0.x
[Cherry pick]fix(cve-whitelist): fix panic in `Get` method of whitelist manager
2020-05-28 15:22:55 +08:00
He Weiwei
ebde7b1bb6 fix(cve-whitelist): fix panic in Get method of whitelist manager
Closes #11951

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-05-27 14:09:11 +00:00