Commit Graph

6717 Commits

Author SHA1 Message Date
Daniel Jiang
e673fa13d5 Handle helm push in OIDC filter
Fixes #8130
Enable OIDC filter to handle requests to /api/chartrepo/*

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-03 17:40:34 +08:00
stonezdj(Daojun Zhang)
16b59c41cd
Merge pull request #8057 from stonezdj/bug8055_v180
Change the mount target of gcs.key file(1.8.1)
2019-06-17 10:59:34 +08:00
stonezdj
84e9d78389 Change the mount target of gcs.key file
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-06-16 13:39:32 +08:00
Wang Yan
2754b9c4cb
Merge pull request #8048 from wy65701436/release-1.8.0
Promote version to v1.8.1
2019-06-14 13:46:53 +08:00
wang yan
74827a6189 Promote version to v1.8.1
Signed-off-by: wang yan <wangyan@vmware.com>
2019-06-14 13:10:53 +08:00
Steven Zou
c44bcca0b3 Merge branch 'release-1.8.0' of github.com:goharbor/harbor into release-1.8.0 2019-06-14 12:38:06 +08:00
Steven Zou
289850a4ed add migration process for rdb as well as UT cases
fix issue #7988

Signed-off-by: Steven Zou <szou@vmware.com>
2019-06-14 11:42:29 +08:00
Wenkai Yin(尹文开)
e6ac2ae2df
Merge pull request #8040 from ywk253100/190613_cherrypick
Fix replication bug
2019-06-14 10:36:38 +08:00
Wenkai Yin
071cb1bc2d Fix replication bug
Fixes #7875, fixes #7968

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-06-13 17:24:39 +08:00
jwangyangls
4b220081b2
Merge pull request #8015 from jwangyangls/addIdForElement
Add id for element in html
2019-06-12 11:05:45 +08:00
Yogi_Wang
d996c958a0 Add id for element in html
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-06-11 18:07:06 +08:00
Wang Yan
603bd50ddf
Merge pull request #8013 from reasonerjt/update-ver-swagger-1.8
Update version in swagger yaml - cherry pick to 1.8 branch
2019-06-11 16:25:50 +08:00
Daniel Jiang
9993726f31 Update version in swagger yaml
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-06-11 14:46:03 +08:00
jwangyangls
ef603e23a0
Merge pull request #8006 from jwangyangls/languageBar1.8.0
Fix bug when we use language with pt-br; change the harbor version from 1.7.x to 1.8
2019-06-11 13:07:01 +08:00
Yogi_Wang
b44e24fe81 Fix bug when we use language with pt-br; change the harbor version from 1.7.x to 1.8
fix bug when we use language with pt-br;
change the harbor version from 1.7.x to 1.8
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-06-11 10:09:33 +08:00
danfengliu
2b16c8b072
Add oidc test cases for 1.8.0 1 (#7971)
* OIDC authentication is a new feature in version 1.8.0, so add nightly GUI test cases for OIDC authentication scenario. (#7745)

Signed-off-by: danfengliu <danfengl@vmware.com>

* Nightly test case user-view-logs failed several times, after debugging, the reason is checking too fast although the operation has not finsished, so I add a checking for end of the operation. (#7858)

Signed-off-by: danfengliu <danfengl@vmware.com>

* Add test case for oidc auth mode (#7860)

* Nightly test case user-view-logs failed several times, after debugging, the reason is checking too fast although the operation has not finsished, so I add a checking for end of the operation.

Signed-off-by: danfengliu <danfengl@vmware.com>

* Add test case Manage-Project-Member for oidc auth mode Jenkins pipeline, this test case reuse the same test case in common file.

Signed-off-by: danfengliu <danfengl@vmware.com>

* Jenkin job cd_daily_master failed due to sign image failure, but there're other failure for replicaiton NG, so API for replication NG need to be updated. (#7778)

Signed-off-by: danfengliu <danfengl@vmware.com>

* Fix bug for manage-project-member, due to keywords changed for oidc-auth-mode, test case  manage-project-member should be debug at the same time. (#7888)

Signed-off-by: danfengliu <danfengl@vmware.com>

* Add test case secret-verify for oidc-auth-mode feature by adding some keywords and one test cases.

Signed-off-by: danfengliu <danfengl@vmware.com>

* Population data tool - prepare.py has been adapted for the latest version due to API changing, but the old version still was needed in other place, so it should be add it back and give it a new name. (#7943)

Signed-off-by: danfengliu <danfengl@vmware.com>

* Add 2 UI test cases which is replication rule edit and delete. (#7904)

Signed-off-by: danfengliu <danfengl@vmware.com>
2019-06-05 10:59:27 +08:00
Wang Yan
0ff3111224
Merge pull request #7880 from wy65701436/release-1.8.0-auth-proxy
Add ensure settings when to search user in auth proxy
2019-05-23 15:41:54 +08:00
wang yan
873b18c5dc Add ensure settings when to search user in auth proxy
This issue is regresssion that introduced by f92bc8076d (diff-42381e6df5f17ebd3d9165a325d5d8f4), the a.ensure() was removed from SearchUser(), which leads to the alwaysonboard cannot be updated.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-05-23 14:56:27 +08:00
Wenkai Yin
9b073a1941
Merge pull request #7826 from ninjadq/cherry-pick-180-update_install_guide
Update doc caused by refactor prepare
2019-05-17 10:03:16 +08:00
Qian Deng
ebb22b15d3 Update doc caused by refactor prepare
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-16 23:05:55 +08:00
Wang Yan
25bb24cacb
Merge pull request #7827 from ninjadq/cherry-pick-180-fix-ali-oss-storage-issue
Fix issue: https://github.com/goharbor/harbor/issues/7288
2019-05-16 19:32:09 +08:00
liqiang-fit2cloud
501c15c13c Fix issue: https://github.com/goharbor/harbor/issues/7288
Signed-off-by: liqiang-fit2cloud <liqiang@fit2cloud.com>
2019-05-16 18:26:30 +08:00
Wang Yan
4aed1b09a7
Merge pull request #7822 from ninjadq/cherry-pick-180_fix_typo
Fix typo
2019-05-16 16:27:02 +08:00
Qian Deng
9bcdfc367b Fix typo
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-16 15:19:21 +08:00
Wenkai Yin
b0aae8d2a6
Merge pull request #7819 from reasonerjt/oidc-user-guide-1.8
Update user guide for OIDC authentication - cherrypick to 1.8 branch
2019-05-16 12:48:43 +08:00
Qian Deng
6b06587aa4
Merge pull request #7817 from ninjadq/cherry-pick-180_fix_typo_of_azure_cfg
Fix typo in azure config
2019-05-16 10:53:37 +08:00
Wenkai Yin
3ce39c1f74
Merge pull request #7815 from ywk253100/190515_syslog_cherrypick
Add "MaxMessageSize" to the config of rsyslogd
2019-05-16 10:08:39 +08:00
Daniel Jiang
847a9e8f6f Update user guide for OIDC authentication
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-05-16 03:52:26 +08:00
Qian Deng
f789d74776 Fix typo in azure config
Fix typo in chart azure

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-15 18:29:03 +08:00
Wenkai Yin
0d0594578c Add "MaxMessageSize" to the config of rsyslogd
Add "MaxMessageSize" to the config of rsyslogd to avoid the mess of log file when the size of one log line > 8k

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-05-15 18:16:37 +08:00
jwangyangls
d42b90d215
Merge pull request #7811 from jwangyangls/addInlineAlert1.8
Clear inlineAlert when reopen create project;change add robot error handle
2019-05-15 16:07:34 +08:00
Yogi_Wang
26d34d8b19 Clear inlineAlert when reopen create project;change add robot error handle
clear inlineAlert when reopen create project;change add robot error handle

Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-05-15 15:28:23 +08:00
Qian Deng
cb9251b685
Merge pull request #7802 from ninjadq/cherry-pick-180-jobserver-log
Made logs in jobservice configurable
2019-05-15 13:23:48 +08:00
Wang Yan
a9204541a3
Merge pull request #7800 from reasonerjt/oidc-onboard-user-name-v1.8
Set the real name of OIDC user when onboarding -cherrypick to 1.8 branch
2019-05-15 11:36:51 +08:00
Qian Deng
e0c352d055 Made logs in jobservice configurable
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-15 11:36:49 +08:00
Wang Yan
65d6e32415
Merge pull request #7797 from stonezdj/fix_7793_v180
cherry-pick fix issue7793: ping ldap server is always success
2019-05-15 11:36:17 +08:00
Wenkai Yin
21dbc48609
Merge pull request #7792 from ninjadq/cherry-pick-180-fix_chart_url
Cherry pick 180 fix chart url
2019-05-15 11:35:09 +08:00
Daniel Jiang
7b3c542bdc Set the real name of OIDC user when onboarding
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-05-15 00:51:27 +08:00
stonezdj
b17f6f8514 fix issue7793: ping ldap server is always success
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-05-14 19:56:00 +08:00
jwangyangls
6b5c9047eb
Merge pull request #7790 from jwangyangls/add_way_to_oidc_1.8
Add a way to login to OIDC by clicking login button
2019-05-14 16:18:57 +08:00
Qian Deng
194c306a2d Fix frontend failure caused by absolute path
Fix failures because front downlowd chart using relative path

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-14 15:05:22 +08:00
Qian Deng
ab5cc7ee35 Add chart absolute url item in config
Add a config item to enable and disalbe chart_url

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-14 15:00:19 +08:00
Qian Deng
6f0a74a90d Enable absolute url in helm chart
assign public_url to chart-url
remove namespace merge in index.yaml

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-14 14:59:38 +08:00
Daniel Jiang
4877100a84
Merge pull request #7786 from reasonerjt/oidc-login-403-v1.8.0
Update login controller to return 403 for redirection - cherrypick to 1.8 branch
2019-05-14 14:56:03 +08:00
Yogi_Wang
a33dcb327e Add a way to login to OIDC by clicking login button
add a way to login to OIDC by clicking login button through response status 403

Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-05-14 14:25:08 +08:00
stonezdj(Daojun Zhang)
a9234971ce
Merge pull request #7771 from ninjadq/cherry-pick-180-fix-typo
Typo in registry config - cherrypick to 1.8
2019-05-14 13:57:09 +08:00
Daniel Jiang
7e825e221f
Merge pull request #7785 from ninjadq/cherry-pick-180-defaultalias-issue
Fix issue caused by notary default_alias
2019-05-14 13:52:34 +08:00
Mia ZHOU
6ab2f3277b
Merge pull request #7776 from jwangyangls/fix-schedule-ui-1.8
Fix_cron schedule bug when call api ' get/schedule ' error
2019-05-14 13:37:21 +08:00
Daniel Jiang
9809847e25 Update login controller to return 403 for redirection
As the UI cannot handle 302, update the login controller to return 403
and put the redirection URL in a json response body.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-05-14 11:22:27 +08:00
Qian Deng
d911d6db68 Fix issue caused by notary default_alias
Fix notary issue

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-13 18:58:47 +08:00