Commit Graph

8720 Commits

Author SHA1 Message Date
lucperkins
88eaaf155f Fix links
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-21 10:35:10 -08:00
Michael Michael
fced80a62f
Merge pull request #10804 from goharbor/wwp-weighting
Adjusted weightings for Working with Projects
2020-02-21 10:57:55 -06:00
Wenkai Yin(尹文开)
f7d248b968
Merge pull request #10789 from ywk253100/200203_upgrade
Upgrade the artifact table
2020-02-21 21:24:34 +08:00
Wenkai Yin
9312b788dc Upgrade the artifact table
Split the table artifact into artifact and tags, and populate related data

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-21 20:37:31 +08:00
He Weiwei
d1cef70cd1
refactor(scan,auth): remove bearer token auth support for scan job (#10781)
Harbor v2.0 has changed to use basic auth to pull image so remove bearer
token support for scan job

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-21 17:58:24 +08:00
Stuart Clements
ea01d0e766 Adjusted weightings for Working with Projects 2020-02-21 10:43:26 +01:00
AllForNothing
8bff170c89 Improve routing and UI for artifact pages
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-02-21 15:00:49 +08:00
He Weiwei
88fcacd4b7
feat(middleware): add blob middlewares (#10710)
1. Add middleware to record the accepted blob size for stream blob
upload.
2. Add middleware to create blob and associate it with project after blob upload
complete.
3. Add middleware to sync blobs, create blob for manifest and associate blobs
with the manifest after put manifest.
4. Add middleware to associate blob with project after mount blob.
5. Cleanup associations for the project when artifact deleted.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-20 23:20:34 +08:00
Michael Michael
902e4826a6
Merge pull request #10793 from goharbor/fixing-links
Fixing lots of links
2020-02-20 09:18:52 -06:00
Ziming
0bc32410f3
Merge pull request #10742 from bitsf/oci_tag_retention
requirement(oci) implement tag retention for oci
not include ChartClient yet
2020-02-20 20:31:49 +08:00
Stuart Clements
972b10c1f7 Fixing lots of links 2020-02-20 13:02:41 +01:00
danfengliu
6cbeb2c25c
Merge pull request #10730 from danfengliu/make_swagger_client_for_v2
Build python swagger client for V2.0
2020-02-20 19:43:46 +08:00
danfengliu
03668ad372 Build python swagger client for V2.0
Add v2 swagger.yaml python library.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-02-20 18:06:54 +08:00
Wenkai Yin(尹文开)
86b3e47f81
Merge pull request #10733 from ywk253100/200213_copy_artifact
Implement copy artifact API
2020-02-20 17:31:26 +08:00
Wenkai Yin
c4d4850845 Implement copy artifact API
Copy artifact into the repository from the specified artifact

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-20 16:59:35 +08:00
jwangyangls
257fd9dc6b
Merge pull request #10773 from jwangyangls/fix-ui-issue-louis
Fix issue from louis and improve artifact list
2020-02-20 16:29:36 +08:00
Yogi_Wang
99d02a14f5 Fix issue from louis and improve artifact list
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-02-20 10:15:33 +08:00
Wenkai Yin(尹文开)
beddef6873
Merge pull request #10756 from ywk253100/200218_repo_api
Implement delete/update repository API
2020-02-20 09:06:37 +08:00
Wenkai Yin
1db0077096 Implement delete/update repository API
Implement delete/update repository API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-20 08:39:26 +08:00
Michael Michael
e5a4f493c5
Merge pull request #10783 from lucperkins/lperkins/fix-merge-issue
Remove errant merge line
2020-02-19 16:20:33 -06:00
lucperkins
bbd4a6092e Remove errant merge line
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-19 11:17:04 -08:00
Michael Michael
bf2a21fc25
Merge pull request #10776 from goharbor/newdocs-check
Structural and content review of new Harbor docs site
2020-02-19 13:11:29 -06:00
Stuart Clements
6347f7e463 Merge branch 'master' of https://github.com/goharbor/harbor into newdocs-check 2020-02-19 19:10:13 +01:00
Ziming Zhang
94e23dc954 requirement(oci) implement tag retention for oci
Change-Id: Ib36660835d2666b35124e66254c33b5fc19aaf77
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-02-20 00:43:20 +08:00
Michael Michael
fc5b145e09
Merge pull request #10759 from lucperkins/lperkins/image-link-fixes
Fix image links to match Hugo conventions
2020-02-19 08:37:52 -06:00
Stuart Clements
00230832eb Attempting to configure subsections correctly 2020-02-19 15:33:07 +01:00
Stuart Clements
9f1f214262 Added intro blurb to front page. 2020-02-19 14:26:11 +01:00
Wang Yan
22021a988e
Merge pull request #10753 from wy65701436/artifact-trash
add artifact trash manager
2020-02-19 19:14:48 +08:00
Steven Zou
f1374737f6
Merge pull request #10694 from danielpacak/feature/install_with_trivy
chore(install): Add --with-trivy arg to the installation script
2020-02-19 16:27:57 +08:00
Wang Yan
f160505686 add artifact trash manager
1, move the deleted artifact into trash
2, disable GC to delete the untagged manifest

Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-19 14:52:58 +08:00
He Weiwei
4ad02de348
Scan reorganize (#10735)
* refactor(scan,scanner): move scan and scanner controllers to api pkg

Signed-off-by: He Weiwei <hweiwei@vmware.com>

* feat(scan-all-job): move artifacts query from job to notification

Move artifact query from scan all job to its notification handler to
ensure that the components in pkg will not call controllers in api.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-19 12:21:54 +08:00
lucperkins
c73bc0e80a Fix image links to match Hugo conventions
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-18 11:09:56 -08:00
Daniel Pacak
1fbc3dcb39 refactor: Allow EnsureScanners to accept multiple scanner registrations
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2020-02-18 17:31:26 +01:00
Wang Yan
384086c5ad
update the enum value for chart on api get the addition (#10752)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-19 00:28:39 +08:00
Tran Huy
2aed96851e Fix typo
Signed-off-by: Tran Huy <Tran.Huy@ericsson.com>
2020-02-18 13:26:59 +01:00
Daniel Pacak
93f05b3643 refactor(scanners): Allow RemoveImmutableScanners() to accept multiple endpoint URLs
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2020-02-18 12:47:27 +01:00
Wenkai Yin(尹文开)
fa1f273829
Merge pull request #10734 from ywk253100/200215_delete_artifact
Refactor the logic of deleting artifact
2020-02-18 17:27:07 +08:00
Wenkai Yin
9d2f1d4d66 Refactor the logic of deleting artifact
Delete the child artifacts along with the parent when deleting an artifact

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-18 16:20:17 +08:00
Wenkai Yin(尹文开)
599075d5b4
Merge pull request #10746 from ywk253100/200217_art
Move the scan overview populating logic to API handler
2020-02-18 15:50:47 +08:00
Will Sun
304b5e8193
Merge pull request #10699 from AllForNothing/fix-cov
Fix UT coverage report uploading
2020-02-18 14:21:15 +08:00
Wenkai Yin
c8c944c6e8 Move the scan overview populating logic to API handler
Move the scan overview populating logic to API handler to avoid importing cycle

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-18 13:34:08 +08:00
Wenkai Yin(尹文开)
560dd8ce7b
Merge pull request #10745 from reasonerjt/artifact-signature-populate-v2
Artifact signature populate
2020-02-18 13:24:55 +08:00
jwangyangls
360e342d56
Merge pull request #10719 from jwangyangls/oci-master-1
Oci ui include artifact list and artifact summary
2020-02-18 13:04:59 +08:00
Yogi_Wang
2553ee3831 Oci ui include artifact list and artifact summary
Signed-off-by: Yogi_Wang <yawang@vmware.com>

Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-02-18 12:37:03 +08:00
AllForNothing
3f4d0d0475 Fix UT coverage report uploading
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-02-18 12:04:25 +08:00
Wenkai Yin(尹文开)
341cb88cba
Merge pull request #10727 from ywk253100/200214_bump_up_legacy_api_version
Bump up legacy api version to v2.0
2020-02-18 10:37:25 +08:00
Daniel Jiang
5a6e9331fd
Artifact signature populate (#7)
* Populate signature status in artifact API

This Commit add signature status into response of list artifact API.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-02-18 01:42:56 +08:00
Wang Yan
e5eb711827
Merge pull request #10720 from wy65701436/chart-details
Get addition properties for chart
2020-02-17 13:36:24 +08:00
wang yan
8029f70ae5 Get addition properties for chart
1, Get readme.md content into addition
2, Get dependency of chart
3, Get values of chart

Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-17 12:19:10 +08:00
Wenkai Yin(尹文开)
d7903fcf1b
Merge pull request #10682 from ywk253100/200126_label
Support add/remove label to/from artifact
2020-02-17 11:33:45 +08:00