Steven Zou
d9256e401c
Fix the issue of parsing redis connection address in chart API
...
- update logic in func parseRedisConfig
Signed-off-by: Steven Zou <szou@vmware.com>
- Add UT case for redis addr parsing func
2018-08-23 14:03:19 +08:00
James Zabala
3e750ad6b6
Update README.md
2018-08-21 20:45:36 -04:00
Wenkai Yin
3ca5f67157
Merge pull request #5685 from wy65701436/fix-migrator-doc
...
Update migratrion guide for harbor.cfg migration
2018-08-21 16:31:08 +08:00
wangyan
16e1115e65
Update migratrion guide for harbor.cfg migration
...
Signed-off-by: wangyan <wangyan@vmware.com>
2018-08-21 00:52:18 -07:00
Wenkai Yin
f7725f348d
Merge pull request #5667 from cdan/helm-doc
...
helm chart doc improve
2018-08-21 13:33:35 +08:00
Wenkai Yin
8f9ba0115b
Merge pull request #5668 from reasonerjt/sync-screenshot-userguide
...
Update the screenshots in user guide
2018-08-21 13:02:18 +08:00
Steven Zou
da2dea11cd
Merge pull request #5669 from ywk253100/180820_chart
...
Add VOLUME definition in Dockerfile of chart museum
2018-08-21 10:48:22 +08:00
Cheng Dan
b42776c755
updated according to Herny's review.
...
Signed-off-by: Cheng Dan <ssbdan@gmail.com>
2018-08-20 20:19:08 +08:00
Daniel Jiang
b6a614ed01
Update the screenshots in user guide
...
This commit updates the screenshots in the user guide to reflect the
latest UI.
It also removes the links of video demos as they are based on earlier
builds.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-20 17:48:01 +08:00
Wenkai Yin
0673e7c0a9
Add VOLUME definition in Dockerfile of chart museum
...
The VOLUME definition in Dockerfile of chart museum will mount a volume automatically by docker if no specific volume is provided.
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-20 17:00:40 +08:00
Cheng Dan
f5c36a0123
helm chart doc improve
...
Signed-off-by: Cheng Dan <ssbdan@gmail.com>
2018-08-20 17:00:31 +08:00
Daniel Jiang
e10564e0be
Merge pull request #5643 from reasonerjt/registry-ca-crt-inject
...
Update registry image to enable inject root cert
2018-08-20 10:31:40 +08:00
Qian Deng
7cf3f286ca
Merge pull request #5632 from ninjadq/fix_ui_issues
...
Fix UI related issues
2018-08-19 11:01:28 +08:00
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