Commit Graph

6813 Commits

Author SHA1 Message Date
Daniel Jiang
dbc4218ad8 Bump up Clair to 2.1.0
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-11-15 12:20:27 +08:00
Wang Yan
60c9a8f5a5
Merge pull request #9879 from wy65701436/release-1.8.6
promote version to v1.8.6
2019-11-14 18:57:38 +08:00
wang yan
0ae7bb9a46 promote version to v1.8.6
Signed-off-by: wang yan <wangyan@vmware.com>
2019-11-14 18:53:57 +08:00
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
Wang Yan
0e7cec8d38
Merge pull request #9856 from ywk253100/191112_subresource
Refine the implementation of replication execution API
2019-11-14 11:36:21 +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
Wang Yan
7910e9f239
Merge pull request #9817 from ywk253100/191108_user
Update the test cases of user API
2019-11-12 11:34:02 +08:00
xaleeks
8e961635d0
Merge pull request #9698 from bitsf/gpg_sign_1.8
[cherry-pick] add gpg sign
2019-11-11 10:01:26 +01: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
Ziming Zhang
a5831e1ce1 add gpg sign
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I32d13be2f5b5f383113582a4b1ad5f74bdc7546b
2019-11-01 11:33:42 +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
Wang Yan
f3b47d3ce6
Merge pull request #9689 from reasonerjt/bump-up-1.8.5
Bump up version to 1.8.5
2019-11-01 09:20:39 +08:00
Daniel Jiang
be60112d98 Bump up version to 1.8.5
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-10-31 21:58:29 +08:00
danfengliu
9d163b58c6
Merge pull request #9672 from danfengliu/enable-self-registration-1.8
Fix nightly script issue due to image postgres severity has changed from high to low
2019-10-31 15:06:34 +08:00
Danfeng Liu (c)
df94bf9308 Image postgres severity has changed from high to low, so nightly script should be updated
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-31 10:55:23 +08:00
Wenkai Yin(尹文开)
da962eeeab
Merge pull request #9656 from ywk253100/191030_replicate_meta
[Cherry-pick-1.8]Populate public metadata into the event
2019-10-31 10:46:12 +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
Wang Yan
dde372bc80
Merge pull request #9636 from ywk253100/191029_user
Make the username required when searching user
2019-10-30 13:27:34 +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
He Weiwei
f2d51608bb
build: Bump up golang to 1.12.12 (#9586)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-28 12:54:26 +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
Wang Yan
9f9875942a
Merge pull request #9556 from zhoumeina/release-1.8.0
cherry pick the remove bootstrap and upgrade swagger ui package
2019-10-24 14:53:46 +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
4f33a23177
build(portal): npm registry configurable (#9539)
1. Introduce NPM_REGISTRY in Makefile to support npm registry configuration when build portal image.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-23 17:04:58 +08:00
Wang Yan
fb692b7b82
Merge pull request #9287 from wy65701436/release-1.8.0-version
promote version to v1.8.4
2019-09-27 14:34:02 +08:00
Wang Yan
dea5ba4754
Merge pull request #9285 from heww/cherry-pick-1.8.0-9280
[Cherry pick]fix(robot): robot account improvement
2019-09-27 14:05:44 +08:00
wang yan
3af1f27ebf promote version to v1.8.4
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-27 13:50:51 +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
Wang Yan
220e3dee88
Merge pull request #9111 from danfengliu/release-1.8.0
[cherry-pick to release-1.8.0] Replace nightly test case sample image from haproxy to postgres
2019-09-17 13:44:36 +08:00
danfengliu
c8ec41b851 In nighly test case <Project Level Image Serverity Policy>, scan result of haproxy image is nolonger high but medium, it should be a bug of clair, so we replace haproxy by postgres, and also we pull postgres with sha256 to make sure the image under test is alway the specific one.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-17 10:57:52 +08:00
Daniel Jiang
8dcf1060df
Merge pull request #9097 from wy65701436/release-1.8.0
Promote version to v1.8.3
2019-09-16 11:30:14 +08:00
wang yan
86b7ead5de Promote version to v1.8.3
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-15 21:32:48 +08:00
Steven Zou
3306938fb3
Merge pull request #9025 from ywk253100/190909_scan_cron_1.8
[Cherry-pick 1.8.3]Check the status behind error when trying to update the scan schedule
2019-09-10 16:32:07 +08: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
De Chen
8dc78d9cde
Merge pull request #8963 from cd1989/replication-tasks-timezone
Not use time pointer in model fields
2019-09-06 17:35:24 +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
Daniel Jiang
f853b7ac22
Merge pull request #8822 from stuclem/release-1.8.0
Minor doc fixes for the 1.8 docs
2019-09-05 19:00:01 +08:00
Stuart Clements
62186f8849 Merge branch 'release-1.8.0' of https://github.com/goharbor/harbor into release-1.8.0
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-05 09:20:20 +02: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