Commit Graph

6753 Commits

Author SHA1 Message Date
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
Daniel Jiang
129983a5ed
Merge pull request #7769 from ywk253100/190509_cherrypick_doc
Update the replication part in user guide (#7746)
2019-05-13 18:48:19 +08:00
Yogi_Wang
b1d3f8502d Fix_cron schedule bug when call api ' get/schedule ' error
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-05-13 14:09:36 +08:00
Qian Deng
3aec2316c9 Typo in registry config
it should be disable not disabled

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-10 23:19:56 +08:00
Wang Yan
34f02189d7
Enable migrator in offline installer (#7766)
Signed-off-by: wang yan <wangyan@vmware.com>
2019-05-10 19:02:25 +08:00
Wenkai Yin
718d7a3655 Update the replication part in user guide (#7746)
Update the replication part in user guide. Fixes #7133, fixes #7601

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-05-10 18:41:49 +08:00
Steven Zou
7576800eb2
Merge pull request #7370 from burdzwastaken/fix/spelling-credentail
Fix misspellings of the word credential
2019-05-10 17:28:50 +08:00
Wenkai Yin
a2e7692f10 Document how to use the external database in installation guide (#7761)
Document how to use the external database in installation guide. Fixes #7189

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-05-10 17:16:58 +08:00
Wang Yan
e7f5954c71
Fix migrator scan all schedule from v1.7.0 (#7763)
In v1.7.0, it creates an record for scan all but without cron string, just update the record with the cron in properties.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-05-10 17:08:52 +08:00
Daniel Jiang
d81afe274c Add filter to handle request with ID token (#7759)
This commit allows request with a valid ID token to access the API.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-05-10 16:58:25 +08:00
Qian Deng
439b44c61f Fix public url shoud not display port is it's default value (#7760)
if https port is 443 or http port is 80, then only showing url

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-10 16:53:25 +08:00
Wenkai Yin
7ee9063c2b
Merge pull request #7758 from ywk253100/190509_bug_fix
Fixes bug in replication
2019-05-10 16:49:19 +08:00
Qian Deng
eba20baba5
Merge pull request #7612 from ninjadq/fix_tls_related_issues
Fix tls related issues
2019-05-10 16:36:51 +08:00
Daniel Jiang
0b0fad04e9
Merge pull request #7757 from reasonerjt/install-sh-chk
Fix a bug of checking docker version in install.sh
2019-05-10 15:42:34 +08:00
Qian Deng
d255e66604 Remove -it in docker run
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-10 15:31:58 +08:00