Commit Graph

5163 Commits

Author SHA1 Message Date
Daniel Jiang
98bcac6c8e Update OSL for 1.6.1 and bump up version (#6041)
* Update OSL for 1.6.1 and bump up version

Signed-off-by: Daniel Jiang <jiangd@vmware.com>

* Update the URL for installing golint in travis.yml

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-16 11:34:23 +08:00
Daniel Jiang
ead2018814
Merge pull request #5984 from reasonerjt/bump-up-clair-2.0.6-cherrypick-1.6.0
Bump up Clair to v2.0.6 (#5940) -- Cherrypick to 1.6.1
2018-10-10 01:40:54 +08:00
Daniel Jiang
46c8bd45d6 Bump up Clair to v2.0.6 (#5940)
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-08 15:21:34 +08:00
Daniel Jiang
66709daa2c
Merge pull request #5846 from steven-zou/fix_async_issue_of_chart_api
Fix the potential issue of causing deadlock problem
2018-09-07 18:30:19 +08:00
Daniel Jiang
ab49182b19
Merge pull request #5835 from stonezdj/ldap_caseinsense_160
LDAP group DN should be case insensitive
2018-09-07 18:29:57 +08:00
Steven Zou
8ac659c6d2 Fix the potential issue of causing deadlock problem
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-07 14:26:33 +08:00
stonezdj
72cbe6908e LDAP group DN should be case insensitive
Fix issue #5776, LDAP servers are case insensitive. because only LDAP
 group DN is used to compare/equal operation, lowercase all LDAP group DN
 when retrieves it from LDAP server, and lowercase them before save it in DB

Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-09-06 12:16:40 +08:00
Daniel Jiang
8cbe5833c7
Merge pull request #5824 from reasonerjt/release-1.6.0
Update OSL for Clair  -- 1.6 branch
2018-09-05 20:46:24 +08:00
Daniel Jiang
0db71a0f70 Update OSL for Clair 2.0.5
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-05 20:06:03 +08:00
Wenkai Yin
cafad994d6
Merge pull request #5805 from wy65701436/release-1.6.0
[Cherry-pick]Add the encoding to the data converter script
2018-09-04 14:41:37 +08:00
wang yan
bef6f99d30 Add the encoding to the data converter script
This commit is to fix bug reported by community to upgrade v1.6.0, for the details
just refer to #5788. The fix is to add the encoding(utf-8) for the converter when to convert
the mysql data to pqsql data. Already passed on test with Chinese/Japanese.

Signed-off-by: wang yan <wangyan@vmware.com>

update
2018-09-04 13:38:35 +08:00
Wenkai Yin
814f171a47
Merge pull request #5785 from reasonerjt/bump-up-clair-1.6.0
Bump Clair to v2.0.5 - cherry pick to 1.6
2018-09-03 18:36:41 +08:00
Daniel Jiang
13e74fac91 Bump Clair to v2.0.5
The PR to fix the Alpine issue has been merged to Clair's release-2.0
branch, and released v2.0.5.
This commit updates Harbor to include that change and re-enable
Clair's updaters by default.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-03 14:24:24 +08:00
Daniel Jiang
7e68c288b9
Merge pull request #5740 from steven-zou/fix_storage_issues_chart_1.6.0
[Cherry-pick] Fix issues related with chart storage
2018-08-28 15:20:01 +08:00
Steven Zou
502c88aeab Fix issues related with chart storage
- inject custom CA bundle into chart repo
- update prepare script to inject credentials

Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-28 14:12:03 +08:00
Steven Zou
acd7ec2310 Fix issues related with chart storage
- inject custom CA bundle into chart repo
- update prepare script to inject credentials

Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-28 11:03:56 +08:00
stonezdj(Daojun Zhang)
e34cb2d413 Add document for manange role by LDAP group (#5717)
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-08-24 13:36:16 +08:00
Daniel Jiang
45d30b7e86 Temporarily disable updaters of clair (#5708)
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 15:55:29 +08:00
Qian Deng
335c5a56ac
Merge pull request #5709 from ninjadq/cherry-pick-github-flavered-table-style
Add github flavered table in markdown
2018-08-23 15:52:55 +08:00
Wenkai Yin
cfd4156708
Merge pull request #5706 from steven-zou/fix_redis_parsing_issue_1.6
[cherry-pick] Fix the issue of parsing redis connection address in chart API
2018-08-23 15:15:02 +08:00
Qian Deng
8113241620 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 14:09:03 +08:00
Steven Zou
64ea8a6f89 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:05:27 +08:00
Daniel Jiang
abc07b7e93
Merge pull request #5672 from ywk253100/180820_chart_1.6
[Cherry-pick]Add VOLUME definition in Dockerfile of chart museum
2018-08-22 16:18:04 +08:00
Daniel Jiang
3f113cbca0
Merge pull request #5686 from wy65701436/release-1.6.0
[Cherry-pick]Update migratrion guide for harbor.cfg migration
2018-08-21 18:18:58 +08:00
wangyan
961d652c5a Update migratrion guide for harbor.cfg migration
Signed-off-by: wangyan <wangyan@vmware.com>
2018-08-21 00:59:49 -07:00
Steven Zou
0f9b2ca3a1
Merge pull request #5671 from reasonerjt/sync-screenshots-1.6.0
Update the screenshots in user guide
2018-08-21 13:08:19 +08:00
Wenkai Yin
b5f37053e7 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 18:09:20 +08:00
Daniel Jiang
f5580ca574 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:57:35 +08:00
Wenkai Yin
3566402d6d
Merge pull request #5661 from ywk253100/180819_session
[Cherry-pick]Fix "gob: name not registered for interface" error
2018-08-20 17:57:01 +08:00
Qian Deng
6328dc051c
Merge pull request #5663 from ninjadq/cherry-pick-ui-bug-fix
Cherry pick ui bug fix
2018-08-20 13:25:18 +08:00
Qian Deng
75533bfc40 Refacotor the disable property on delete version
Extract code in property to a function

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-20 12:41:55 +08:00
Qian Deng
5e95ab3cd8 Refactor upload modal
Using customized button to replace file input

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-20 12:22:09 +08:00
Daniel Jiang
a4170ace46
Merge pull request #5644 from reasonerjt/registry-ca-crt-inject-1.6
Update registry image to enable inject root cert (1.6 cherry pick)
2018-08-20 10:31:04 +08:00
Qian Deng
cf77104fd0 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-19 11:09:35 +08:00
Qian Deng
b5c4d06270 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-19 11:09:35 +08:00
Qian Deng
e41922d01e 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-19 11:09:35 +08:00
Qian Deng
4d99afca44 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-19 11:09:35 +08:00
Qian Deng
d4feac47a2 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-19 11:09:34 +08:00
Qian Deng
512baf55d7 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-19 11:09:34 +08:00
Qian Deng
99c06bdc8b Diable delete button when user not admin
Binding the disable propety

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-08-19 11:09:34 +08:00
Qian Deng
7f429177df 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-19 11:09:34 +08:00
Wenkai Yin
4cf6839b0d 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-19 09:39:20 +08:00
Wenkai Yin
82297781da
Merge pull request #5655 from steven-zou/fix_swagger_issue
Fix the duplicated entry issue in the swagger.yaml doc
2018-08-17 17:38:46 +08:00
Steven Zou
b8c2df5da0 Fix the duplicated entry issue in the swagger.yaml doc
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-17 17:00:07 +08:00
Mia ZHOU
753cae0691
Merge pull request #5652 from zhoumeina/release-1.6.0
fix issue helmchart layout related issues
2018-08-17 16:26:20 +08:00
Wenkai Yin
4483d98a1e Cherry-pick the replication label filter E2E test cases to branch 1.6.0 (#5650)
* 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>

* Fix module not found error in API test

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 16:05:55 +08:00
Meina Zhou
beff4925b2 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-17 14:56:52 +08:00
Daniel Jiang
5070f96718 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:37:49 +08:00
Steven Zou
56f510da3b Update the swagger.yaml file to contain the chart repo service APIs (#5634)
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-16 16:30:31 +08:00
Steven Zou
176083bd32
Merge pull request #5629 from reasonerjt/fix-jobid-job-log
Validate job ID when getting job log (cherry-pick to 1.6.0)
2018-08-16 14:09:43 +08:00