Commit Graph

5518 Commits

Author SHA1 Message Date
Qian Deng
ee9e80ddb1 Delete uilib directory
Not need publish version after ci suceess any more, so remove them

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-23 17:54:54 +08:00
Daniel Jiang
dcf4e2ee78 Update import path in go code
vmware -> goharbor

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-23 17:50:53 +08:00
silenceshell
c612379cfd revert
Signed-off-by: silenceshell <me@ieevee.com>
2018-08-23 17:37:34 +08:00
Yan
7526b599ab
Add steven zou into goharbor owner list (#5712)
Signed-off-by: wang yan <wangyan@vmware.com>
2018-08-23 15:55:53 +08:00
Wenkai Yin
d48364ba6b
Merge pull request #5707 from reasonerjt/disable-clair-updater
Temporarily disable updaters of clair
2018-08-23 15:15:31 +08:00
Steven Zou
d895ebef13
Merge pull request #5705 from steven-zou/fix_redis_parsing_issue
Fix the issue of parsing redis connection address in chart API
2018-08-23 15:06:08 +08:00
Steven Zou
afc7e68bc7 Add Codacy badge into README file
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-23 15:02:49 +08:00
unknown
9b94800216 To make the DCO bot happy^_^
Signed-off-by: unknown <cyz.dreamer@gmail.com>
2018-08-23 14:43:54 +08:00
unknown
7dd68c992f add some comments to harbor.cfg
Signed-off-by: unknown <cyz.dreamer@gmail.com>
2018-08-23 14:38:47 +08:00
Mia ZHOU
17099240c8
Merge pull request #5691 from ninjadq/add_style_in_markdown
Add github flavered table in markdown
2018-08-23 14:07:51 +08:00
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
Daniel Jiang
78bddd831a Temporarily disable updaters of clair
Set the updater interval to "0" to mitigate the impact of Apline URL
change that cause clair keep polling vuln data.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-23 14:00:37 +08:00
Daniel Jiang
78c7363a4e
Merge pull request #5693 from ywk253100/180822_remove_chart
Remove the Harbor chart directory
2018-08-23 13:56:28 +08:00
Qian Deng
dac86844e4 Add github flavered table in markdown
Add table style in markdown and
Fix deleted all version may cause 404

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-23 11:50:19 +08:00
Wenkai Yin
05739bd4e5 Remove the Harbor chart directory
As we moving the Harbor chart into a separate repository, this commit removes the chart directory from goharbor/harbor repository.

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-23 10:52:37 +08:00
silenceshell
9342b78fc0 fix typo
Signed-off-by: silenceshell <me@ieevee.com>
2018-08-22 19:30:14 +08:00
陈德
ecadd564b1 Fix volume capacity when run in MacOS
Signed-off-by: 陈德 <chende@caicloud.io>
2018-08-22 17:31:07 +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