James Zabala
8cb90d6e2a
Add CII Best Practices Badge
...
As per CNCF requirements, adding CII best practices badge to README.md.
2018-08-17 13:36:14 -04:00
Qian Deng
d5da3862b2
Refactor upload modal
...
Using customized button to replace file input
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 18:24:08 +08:00
Wenkai Yin
0af7ee6225
Merge pull request #5654 from wy65701436/add-gc-swagger
...
Add gc api of regsistryctl to swagger file
2018-08-17 17:39:42 +08:00
wang yan
f2b31b871a
Add gc api of regsistryctl to swagger file
...
The api includes to trigger gc and add/update/delete gc schedule
Signed-off-by: Wang Yan <wangyan@vmware.com>
2018-08-17 16:44:47 +08:00
Qian Deng
8cf7d4f822
Fix item number and i18n issues
...
Fix item number presentation on Group, charts, chart versions, member group add
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 16:00:49 +08:00
Daniel Jiang
257a728086
Merge pull request #5648 from ywk253100/180817_session
...
Fix "gob: name not registered for interface" error
2018-08-17 16:00:48 +08:00
Qian Deng
317a01fa99
Fix i18n translate with parameter not work problem
...
The first parameter to translate should be the i18n key
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 16:00:48 +08:00
Qian Deng
6d91a0d66e
Fix Group related issues
...
1. Fix Ldap group name to required item
2. Edit Group DN is not allowed
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 16:00:48 +08:00
Qian Deng
07da2fd5d6
Edit the wording of version
...
1. Fix word of app version on summary page
2. Fix version on version cart view
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 16:00:48 +08:00
Qian Deng
b98af169af
Fix chart upload related issues
...
1. Chart will reset when open modal
2. Empty chart shouldn't trigger upload action
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 16:00:48 +08:00
Qian Deng
4ecea1f5ad
Fix incorrect UI views when logging in with a user in the group assigned with proper role
...
This caused by project routing guard using a wrong way to get the project role info.
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-17 16:00:48 +08:00
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