Commit Graph

6751 Commits

Author SHA1 Message Date
stonezdj
6af7d4bdf4 Update testcase for scan tag api change
Return 202 after success
scan_summary is in a map struct
2019-11-28 17:50:08 +08:00
Wenkai Yin(尹文开)
41b8e60e6a
Merge pull request #8504 from steven-zou/fix/pool_run_out_cherry_1.8.0
fix bug #8499: redis connection pool is run out
2019-08-02 17:46:52 +08:00
Wang Yan
ce4c0c19a1
Merge pull request #8531 from wy65701436/release-1.8.0-fix
Delete the none scan all schedule in migration
2019-08-01 17:17:29 +08:00
wang yan
363a0f5ae1 Delete the nono scan all schedule in migration
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-01 15:26:24 +08:00
Steven Zou
80d21a30f7 fix bug #8499: redis connection pool is run out
Signed-off-by: Steven Zou <szou@vmware.com>
2019-07-31 16:11:27 +08:00
Daniel Jiang
8dc103c6de
Merge pull request #8447 from reasonerjt/group-perm-merge-1.8
Update GetRolesByGroupID  -- cherrypick 1.8
2019-07-29 19:11:37 +08:00
Daniel Jiang
74504b122e Update GetRolesByGroupID
This commit fixes #8432
When querying the role of group ID, all matched roles should be returned
instead of the minimal role ID.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-29 11:25:52 +08:00
Wenkai Yin(尹文开)
ddc119a154
Merge pull request #8342 from wy65701436/release-1.8.0
[cherry-pick]  Enable push dev images on release branch
2019-07-19 16:40:50 +08:00
wang yan
8558722969 Remove duplicate docker push
Signed-off-by: wang yan <wangyan@vmware.com>
2019-07-19 14:52:59 +08:00
wang yan
a64a2cc56b Enable push dev images on release branch
Signed-off-by: wang yan <wangyan@vmware.com>
2019-07-19 14:52:41 +08:00
jwangyangls
b24a0e339b
Merge pull request #8329 from jwangyangls/add-group-1.8.0
Add user group when http auth mode
2019-07-19 14:23:39 +08:00
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