He Weiwei
8141b3bb34
fix(robot,project-member): check owner of member, robot when update, delete ( #9868 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-11-14 14:17:15 +08:00
Wenkai Yin
07a44c25d7
Refine the implementation of replication execution API
...
Remove the duplicated code in replication execution API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-11-13 14:20:16 +08:00
Wenkai Yin
3b9a2fd69e
Update the test cases of user API
...
Update the test cases of user API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-11-08 18:57:01 +08:00
Wenkai Yin(尹文开)
88a4353edf
Merge pull request #9695 from ywk253100/191030_fix
...
Refine request handle process
2019-11-01 11:09:30 +08:00
Daniel Jiang
a515d20d49
Refine request handle process
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-11-01 10:09:18 +08:00
Wenkai Yin
4f981eefd2
Populate public metadata into the event
...
Fixes #9455 . Populate the public metadata into the event when doing the replication based on event
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-10-30 15:29:38 +08:00
Wenkai Yin
9e69628cce
Make the username required when searching user
...
Make the username required when searching user and remove the support for query email
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-10-29 14:12:04 +08:00
Wenkai Yin(尹文开)
74bf03ca3a
Merge pull request #9590 from stonezdj/fix_ldap_group_sql_180
...
Fix User Group Search SQL error (cherry-pick)
2019-10-28 11:23:07 +08:00
stonezdj
519c0bc066
Fix User Group Search SQL error
...
User Group Query SQL error in some cases
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-10-25 14:15:04 +08:00
Meina Zhou
a9a54d004d
cherry pick the remove bootstrap and upgrade swagger ui package
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-10-24 08:50:12 +08:00
He Weiwei
21fa39bf09
Merge branch 'release-1.8.0' into cherry-pick-1.8.0-9280
2019-09-27 13:21:19 +08:00
He Weiwei
debf63bcbd
fix(robot): robot account improvement for policies
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-09-27 03:30:12 +00:00
Wenkai Yin
e3cc391811
Check the status behind error when trying to update the scan schedule
...
Check the status behind error when trying to update the scan schedule
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-09-09 15:20:23 +08:00
cd1989
4b5ad300f3
Handle zero time in UI
...
Signed-off-by: cd1989 <chende@caicloud.io>
2019-09-06 14:13:54 +08:00
cd1989
0b4608c0a7
Not use time pointer in model fields
...
Signed-off-by: cd1989 <chende@caicloud.io>
2019-09-05 21:24:33 +08:00
stonezdj(Daojun Zhang)
98bf819ca7
Merge pull request #8949 from reasonerjt/oidc-err-1.8
...
Handle error on OIDC callback -- cherry-pick to 1.8 branch
2019-09-05 15:18:36 +08:00
Wenkai Yin(尹文开)
5556871be8
Merge pull request #8950 from reasonerjt/fix-create-admin-1.8
...
Disallow creating an admin user when registration -- cherry pick to 1.8
2019-09-05 10:03:39 +08:00
Daniel Jiang
1559c8ccd1
Disallow creating an admin user when registration
...
This commit enhance the `POST /api/users` API to block request from non-admin to create
admin user.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-09-04 18:55:21 +08:00
Iradier, AlvaroJose
c6ff3cfca0
Handle error on OIDC callback
...
If wrong OIDC scopes are defined, or there are some configuration errors, the OIDC callback query string might contain "error=..." with an error message. Intercept this case and show an error to the user instead of trying to exchange the token with a missing "code" parameter.
Signed-off-by: Iradier, AlvaroJose <AlvaroJose.Iradier@adidas.com>
Change error variable name
Signed-off-by: Iradier, AlvaroJose <AlvaroJose.Iradier@adidas.com>
2019-09-04 18:13:27 +08:00
Wenkai Yin(尹文开)
c742294cdd
Merge pull request #8922 from heww/cherry-pick-issue-8635
...
[Cherry pick]fix(rbac): NewProjectNamespace in rbac only accept projectID
2019-09-03 12:04:20 +08:00
He Weiwei
f36bc8d742
fix(rbac): NewProjectNamespace in rbac only accept projectID
...
Closes #8635
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-09-03 00:01:23 +08:00
Daniel Jiang
24939172a2
Merge pull request #7923 from wy65701436/release-1.8.0-robot-id
...
[Cherry pick]Return account id when to issue a robot
2019-09-01 17:22:56 +08:00
Wenkai Yin(尹文开)
8b9f10d13b
Merge pull request #8796 from ywk253100/190822_content_length
...
[Cherry-pick]Set content length when pushing blobs
2019-08-27 16:59:34 +08:00
Wang Yan
b9826bfa87
Merge pull request #8795 from steven-zou/fix/issue-#8537-1.8.X
...
[CHERRY-PICK] reduce the expire time of job stats in redis DB
2019-08-23 00:06:27 +08:00
Steven Zou
2f5bf6a2fa
Merge pull request #8782 from ywk253100/190822_stuck
...
[Cherry-pick]Fix replication tasks stuck in "InProgress" issue
2019-08-22 19:06:24 +08:00
Wenkai Yin
d63fada318
Set content length when pushing blobs
...
Set content length when pushing blobs
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-08-22 19:02:03 +08:00
Steven Zou
3d80347c14
reduce the expire time of job stats in redis DB
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-08-22 18:32:33 +08:00
Wenkai Yin
2ab2122e36
Fix replication tasks stuck in "InProgress" issue
...
Fix replication tasks stuck in "InProgress" issue
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-08-22 13:20:23 +08:00
Steven Zou
76586b04a3
fix #8525 : periodic job retry issue: job stats is not found
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-08-22 11:52:30 +08:00
Steven Zou
cc8474ba09
fix #8745 : job retry issue
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-08-21 12:13:25 +08:00
stonezdj
7d8fcf04cc
Merge user roles and group roles
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-08-05 16:58:23 +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
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
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
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
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
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
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
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
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
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