Commit Graph

5378 Commits

Author SHA1 Message Date
Qian Deng
e5f9fe5961 Diable delete button when user not admin
Binding the disable propety

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 15:58:54 +08:00
Qian Deng
a8ab6e3b1f Remove Upload Button on Chart Version List
There is no method to constrict which chart to upload, so remove this button

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 15:58:54 +08:00
Steven Zou
579124d069
Merge pull request #5641 from ywk253100/180816_chart_readme
Update the readme of Harbor chart
2018-08-17 15:27:22 +08:00
Mia ZHOU
e3a755ea14
Merge pull request #5642 from zhoumeina/pr/fix_chart_card_view_issues
fix issue helmchart layout related issues
2018-08-17 14:45:51 +08:00
Wenkai Yin
f71f02deee Fix module not found error in API test (#5647)
Reload the python path to fix the module not found error in API E2E test

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-17 10:55:19 +08:00
Wenkai Yin
db844d42f6 Fix "gob: name not registered for interface" error
This commits fixes the "gob: name not registered for interface" error when restarting Harbor by registering models.User

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-16 22:31:47 +08:00
Wenkai Yin
95c0c259ec Add E2E API test cases for replication based on labels (#5639)
This commit creates a new E2E API test case to verify the replication based on label

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-16 18:36:27 +08:00
Daniel Jiang
bda3878ab8 Update registry image to enable inject root cert
In some user's environment, there's local object storage hosted with
self-signed certificate.
Because registry process runs in a photon container, it has to trust
the certificate in the photon level such that the registry can access
the storage service.

This commit updates the registry image to append custom cert to the root
bundle when the container is started.  And make the customer cert
configurable in `harbor.cfg`

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-16 18:36:21 +08:00
Meina Zhou
c89fcd18f5 fix issue helmchart layout related issues
1 Misc issues for chart repo card view
 2 Create group dialog ignores the error from backend
 3 The detail page of a scanned image has overlap of text fields.

Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-08-16 17:43:46 +08:00
Wenkai Yin
7521330d73
Merge pull request #5633 from steven-zou/update_swagger_yaml
Update the swagger.yaml file to contain the chart repo service APIs
2018-08-16 16:18:01 +08:00
Wenkai Yin
8c2eeddb6d Update the readme of Harbor chart
Fix the losting "|" in the readme of Harbor chart

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-16 13:26:54 +08:00
Steven Zou
8503bc7dec Update the swagger.yaml file to contain the chart repo service APIs
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-16 10:30:24 +08:00
Steven Zou
199b830019
Merge pull request #5628 from reasonerjt/fix-file-traversal-job-lob
Validate job ID when getting job log
2018-08-15 17:22:42 +08:00
Daniel Jiang
2e4295ba52
Merge pull request #5612 from stonezdj/fix_ldap_group_admin_dn
Fix issue ldap_group_admin_dn doesn't take effect(master)
2018-08-15 15:42:06 +08:00
Daniel Jiang
65cf02a1d7 Validate job ID when getting job log
Add validation to job ID in the API to get job log in job service, to
prevent file path traversal attack.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-15 15:33:13 +08:00
stonezdj
764c43c995 If current user is in the group defined ldap_group_admin_dn, it doesn't have the harbor admin role.
The current solution only fix the /api/users/currentuser, but for /api/users/:id it can display the real information. see issue #5620

Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-08-15 15:12:13 +08:00
Steven Zou
5df630e3c4
Merge pull request #5623 from steven-zou/append_index_2_userguide
Append chart repo service related sections to the agenda of user guide doc
2018-08-15 14:26:28 +08:00
Steven Zou
34973f96ac Append chart repo service related sections to the agenda of user guide doc
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-15 13:36:09 +08:00
Wenkai Yin
5fb215d3a1
Merge pull request #5621 from steven-zou/update_installation_guide
Update the installation guide doc to append chart repo server related content
2018-08-15 13:14:13 +08:00
Steven Zou
e67fa4af9b Update the installation guide doc to append chart repo server related content
Signed-off-by: Steven Zou <szou@vmware.com>

Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-15 11:46:27 +08:00
Steven Zou
880521518f
Merge pull request #5590 from steven-zou/add_chart_doc
Append chart repository server related guideline into the user guide document
2018-08-15 11:31:30 +08:00
Daniel Jiang
72160c628f
Merge pull request #5618 from stonezdj/usergroup_empty
user group name can not be empty
2018-08-15 10:22:02 +08:00
Wenkai Yin
0d104481ae
Merge pull request #5617 from wy65701436/update-goharbor-doc
Update the reference of docker images to goharbor
2018-08-15 10:19:44 +08:00
stonezdj
865e4b04f9 user group name can not be empty
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-08-14 18:58:49 +08:00
wangyan
81c349a150 Signed-off-by: wangyan <wangyan@vmware.com>
Update the reference of docker images to goharbor

This commit is to update the reference of harbor migrator and ui builder to goharbor
2018-08-14 03:47:39 -07:00
Wenkai Yin
11f79e369c
Merge pull request #5592 from wy65701436/add-clean-redis-in-gc
Add clean registry cache to gc job
2018-08-14 10:53:48 +08:00
James Zabala
2b6a957d81
create OWNERS.md file
Listing maintainers for community members and contributors to be able to easily reach out to us.
2018-08-13 15:00:03 -04:00
wangyan
29d0d51403 Signed-off-by: wangyan <wangyan@vmware.com>
Add clean registry cache to gc job

To workaround the issue: https://github.com/docker/distribution/issues/2094
GC needs to clean cache before to call the docker reigstry api to delete blobs.
Otherwise, the following docker push will not be performed as docker registry
does not clean cache in GC, it thinks the image is still there, and the new
blobs will be uploaded.
2018-08-13 02:58:27 -07:00
Steven Zou
a9d86d5bb6 Merge remote-tracking branch 'origin/master' into add_chart_doc 2018-08-13 14:12:43 +08:00
Steven Zou
24549213ca Append chart repository server related guideline into the user guide document
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-13 14:05:28 +08:00
Daniel Jiang
9ba1a3b256
Merge pull request #5584 from zhoumeina/pr/fix_vmware_text_in_ui
remove trademark and vmware info in harbor ui
2018-08-13 13:05:30 +08:00
Meina Zhou
45b11ddf6e remove vmware info in ui
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-08-13 12:24:00 +08:00
Wenkai Yin
1b2bc72e13
Merge pull request #5583 from wy65701436/fix-upgrade-case-file-name
Update verify script to use data.json
2018-08-13 11:23:41 +08:00
wangyan
397172e56a This is my commit message
Signed-off-by: wangyan <wangyan@vmware.com>

Update the verify case to use data.json instead of testdata.json
2018-08-12 19:07:36 -07:00
Wenkai Yin
66fdefd7b6
Merge pull request #5580 from reasonerjt/update-helm-chart-img
Update repository reference in helm chart
2018-08-10 18:55:50 +08:00
Daniel Jiang
c8824698dd Update repository reference in helm chart
This commit update the repository in helm chart from vmware namespace to goharbor

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-10 17:40:06 +08:00
stonezdj(Daojun Zhang)
38a5adb5c9
Merge pull request #5579 from stonezdj/fix_ldap_user_fail
Fix testcase related to LDAP user can not see any logs
2018-08-10 17:11:32 +08:00
stonezdj
94f852b826 Fix testcase related to LDAP user can not see any logs 2018-08-10 16:17:18 +08:00
Daniel Jiang
d5024bfcd4
Merge pull request #5578 from wy65701436/move-docker-images-2-goharbor
Batch update docker image namespace to goharbor
2018-08-10 16:06:08 +08:00
wangyan
e2ff77c4cd Fix namespace when to build harbor images 2018-08-09 23:41:30 -07:00
wangyan
7713764aec Batch update docker image namespace to goharbor
This commit is to move all the images of harbor from vmware to goharbor
2018-08-09 23:24:21 -07:00
Qian Deng
481c435c61
Merge pull request #5577 from zhoumeina/pr/fix_replication_button_disabled
Fix replication rule sometimes save button can not click
2018-08-10 14:20:53 +08:00
Wenkai Yin
0561280411 Update robot case to debug the issue got in nightly test (#5576)
This commit updates the "Sign In Harbor" robot case by adding debug information when it failed
2018-08-10 13:53:48 +08:00
Mia ZHOU
63b64527b5
Merge pull request #5556 from zhoumeina/pr/remove_vmware_ui_change
UI changed after harbor moved to CNCF
2018-08-10 13:52:19 +08:00
Mia ZHOU
b0b9e29851 Fix replication rule sometimes save button can not click
when user create a label filter and delete it in replication rule edit dialog, the save button is not enabled.
2018-08-10 13:51:40 +08:00
Daniel Jiang
4dcea7dd8d
Merge pull request #5572 from wy65701436/remove-trigger-vic
Remove step to trigger downstream product in CI pipeline
2018-08-09 18:39:20 +08:00
Daniel Jiang
1ea500e4a7
Merge pull request #5570 from steven-zou/add_go_report_to_readme
Add go report badge to readme file
2018-08-09 18:25:01 +08:00
wangyan
bf21628e78 Remove step to trigger downstream product in CI pipeline 2018-08-09 03:09:37 -07:00
Yan
9c86d0b86f
Update ldap user pwd for nightly (#5571) 2018-08-09 16:38:27 +08:00
Steven Zou
79b2f01bab
Merge pull request #5569 from steven-zou/change_notes_in_installation_script
Update the usage message to include chart repository server related info
2018-08-09 15:42:34 +08:00