Commit Graph

6740 Commits

Author SHA1 Message Date
Yogi_Wang
8e5b4dcaf4 Add user group when http auth mode
add the pages  in project and system

Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-07-19 13:49:56 +08:00
Wenkai Yin(尹文开)
66e85f8318
Merge pull request #8315 from stonezdj/refactor_ldap_group_180
Add HTTP group feature(cherry-pick from master)
2019-07-19 13:10:45 +08:00
stonezdj
3c2f92294d Fix OnBoardGroup issue
Signed-off-by: stonezdj <stonezdj@gmail.com>

Fix issue when adding a HTTP user group to a project member, returns HTTP 500 error.
2019-07-19 10:45:26 +08:00
stonezdj
3021130943 Add HTTP group feature
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-07-19 10:45:26 +08:00
stonezdj
0a0dc784b8 Refactor LDAP group
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-07-19 10:45:26 +08:00
stonezdj(Daojun Zhang)
56af6f888d
Merge pull request #8327 from ninjadq/release-1.8.0
Release 1.8.0
2019-07-19 10:44:00 +08:00
DQ
54c9f9e158 Travis ci build prepare container in local
build prepare container before running ut case

Signed-off-by: DQ <dengq@vmware.com>
2019-07-18 15:20:21 +08:00
DQ
06324b43b4 Fix: Internal server error with messy code when chartmuseum not work
log err when doesn't get data from chart museum

Signed-off-by: DQ <dengq@vmware.com>
2019-07-18 13:58:17 +08:00
Qian Deng
1be678b2ea Fix docker-compose file permmission
non-root user can see the content

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-07-17 16:54:48 +08:00
Qian Deng
5cb52330b9 Upgrade chartmuseum from v0.8.1 to v0.9.0
Signed-off-by: Qian Deng <dengqian0826@gmail.com>
2019-07-17 16:54:05 +08:00
Wang Yan
870d031820
Merge pull request #8292 from wy65701436/release-1.8.0
promote base version to v1.8.2
2019-07-16 13:37:39 +08:00
wang yan
96b4fd9bfa promote base version to v1.8.2
Signed-off-by: wang yan <wangyan@vmware.com>
2019-07-16 12:39:43 +08:00
Wang Yan
99be1c93a5
Merge pull request #8291 from reasonerjt/refresh-oidc-client-1.8
Reload OIDC provider older than 3 seconds -- cherrypick
2019-07-15 17:27:06 +08:00
Daniel Jiang
dd68861235 Reload OIDC provider older than 3 seconds
This commit make sure the OIDC is more actively recreated, to mitigate
the problem in #8177

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-15 16:23:11 +08:00
Daniel Jiang
7996775b80
Merge pull request #8141 from ninjadq/cherry-pick-fix_migration_script_1_8
Fix migration script to support exeternal db
2019-07-09 18:03:46 +08:00
Steven Zou
a83a03e799
Merge pull request #8226 from ywk253100/190705_replication
Support v1 signed media type when do the replication
2019-07-05 14:17:09 +08:00
Wenkai Yin
e0cad6224c Support v1 signed media type when do the replication
Support v1 signed media type when do the replicatio

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-07-05 12:56:43 +08:00
He Weiwei
c0313f756f
Merge pull request #8201 from heww/release-1.8.0
[Cherry pick]Fix read permission of project member read api
2019-07-05 10:21:43 +08:00
Steven Zou
ad6855d5ee
Merge pull request #8214 from steven-zou/cherry-pick/b88159e747bbf92
[Cherry-pick]use separate key for the last periodic enqueue data
2019-07-03 21:48:40 +08:00
Daniel Jiang
e5822a8cbc
Merge pull request #8212 from reasonerjt/helm-push-oidc-1.8
Handle helm push in OIDC filter - cherrypick to 1.8
2019-07-03 19:58:17 +08:00
Steven Zou
db1c90d0a7 use separate key for the last periodic enqueue data
Signed-off-by: Steven Zou <szou@vmware.com>
2019-07-03 17:47:54 +08:00
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
He Weiwei
4be11f8892 Fix read permission of project member read api
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-07-02 17:40:34 +08:00
DQ
772d166ce3 Fix migration script to support exeternal db
migrated config file will contains seperated db configuration

Signed-off-by: DQ <dengq@vmware.com>
2019-06-25 19:08:38 +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