Commit Graph

5914 Commits

Author SHA1 Message Date
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
Daniel Jiang
3dc95ee7e2 Update CFG migrator to match the new redis setting (#5567)
There's a limitation in the new harbor.cfg file the redis url will be
hard coded to the internal redis instance.  We expect user to manually
edit the .cfg file if he's using a customized redis, this would be a
very rare case.  We'll mention it in the release note of 1.6
2018-08-09 15:30:35 +08:00
Yan
0ffa6e076c
Unify redis configuration for harbor components (#5564)
this commit is to specrate the redis_url into host,port,pwd and index for
different components, and make it possible to set external redis server.
2018-08-09 15:27:46 +08:00
Steven Zou
ef604fa1d1 Add go report badge to readme file 2018-08-09 15:27:44 +08:00
Steven Zou
7fe16eba19 Update the usage message to include chart repository server related info 2018-08-09 14:55:31 +08:00
Daniel Jiang
9833a01d2a
Merge pull request #5566 from reasonerjt/update-readme-goharbor
Update the url of badges to reflect the change in the repo's org
2018-08-09 13:39:58 +08:00
Qian Deng
7588e73600
Merge pull request #5565 from ninjadq/fix_command_content_undefined_issue
Fix repo is undefined issue on chart summary ui
2018-08-09 13:11:01 +08:00
Daniel Jiang
af75156c1c Update the url of badges to reflect the change in the repo's org 2018-08-09 12:34:59 +08:00
Deng, Qian
e2a53c497a Fix repo is undefined issue on chart summary ui
Because HTML render before component initialize, so assign value on onInit
2018-08-09 11:58:27 +08:00
Daniel Jiang
0123dfbe45
Merge pull request #5563 from zjs/topic/fix-drone
Fix continuous integration pipeline following move to goharbor org
2018-08-09 10:02:58 +08:00
Zach Shepherd
f387da0a9d Refer to goharbor/harbor in the integration logic
An incomplete update to the integration testing logic to replace some
instances of vmware/harbor with goharbor/harbor to get CI working.
2018-08-08 18:18:36 -07:00
Zach Shepherd
91ea6ccd0f Fix syntax error in check-org-membership
Currently, check-org-membership results in a bash syntax error, which
seems to be preventing CI from running.
2018-08-08 18:07:37 -07:00
Daniel Jiang
06240b0e8c
Merge pull request #5457 from ywk253100/180801_chart_readme
Update the readme of Harbor chart
2018-08-08 16:08:59 +08:00
Daniel Jiang
0f9a6d0224
Merge pull request #5530 from wy65701436/add-gas-report
Add secure go result into CI pipeline
2018-08-08 15:58:44 +08:00
Mia ZHOU
4730a131ef UI changed after harbor moved to CNCF
Changes include:
1 Modify the about dialog, remove vmware copyright
2 Remove VM tag in the login page.
3 Modify "vmware harbor" to "harbor" in login page.
2018-08-08 15:41:33 +08:00