Commit Graph

8489 Commits

Author SHA1 Message Date
Daniel Jiang
f3fcc37244 Onboard user when doing token review
This commit will make the "tokenreview" security filter onboard
user if the request carries a valid token.  If the "skipsearch" flag in
http_auth setting is set to false the onboard will fail.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-25 19:32:41 +08:00
jwangyangls
3f53aa9476
Merge pull request #10340 from jwangyangls/modify-adminrole
Modify system admin role from has_admin_role to admin_role_in_auth and sysadmin_flag
2019-12-25 18:26:43 +08:00
Wenkai Yin(尹文开)
56dc0bb71f
Merge pull request #10324 from wy65701436/common-error-13
add OCI error format support
2019-12-25 17:44:35 +08:00
wang yan
ebe5bb68b9 add OCI error format support
1, Leverage go v1.13 new error feature
2, Define genernal error OCI format, so that /v2 API could return a OCI compatible error

Signed-off-by: wang yan <wangyan@vmware.com>
2019-12-25 17:07:26 +08:00
Yogi_Wang
fb2175e00a Modify system admin role from has_admin_role to admin_role_in_auth and sysadmin_flag
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-12-25 16:52:22 +08:00
vvnotw
fae6181b84 doc[compatibility]:add new scanner to compatibility list
Signed-off-by: vvnotw <for_vv@foxmail.com>
2019-12-25 15:46:35 +08:00
danfengliu
c124f5eedb
Merge pull request #10334 from danfengliu/correct-keyword-go-into-repo
Refect keyword of Go Into Reop
2019-12-25 13:26:12 +08:00
Wenkai Yin(尹文开)
5f11ca4df6
Merge pull request #10248 from ywk253100/191213_controller
Define the interface for artifact manager
2019-12-24 17:44:18 +08:00
Wenkai Yin
ac605db5da Define the controller/manager interface for artifact and tag
1. Define the controller/manager interface for artifact and tag
    2. Provide a null implementation for artifact manager

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-12-24 17:12:55 +08:00
danfengliu
95ddf6d9b3 Refect keyword of Go Into Reop
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-12-24 16:39:37 +08:00
Wenkai Yin(尹文开)
c1522d3c36
Merge pull request #10261 from stonezdj/20191211_ldap_group_admin_dn
Fix admin permission not revoked when removed from LDAP admin group(Do Not Merge)
2019-12-24 14:37:28 +08:00
Daniel Jiang
fbd402fe02
Merge pull request #10202 from ywk253100/191209_registry
Add the registry handlers without the implementation detail
2019-12-24 14:36:43 +08:00
Wenkai Yin
1a026a744f Add the registry handlers without the implementation detail
This commit adds several handlers to handle registry requests, some of the handlers aren't implemented yet, will be done later

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-12-24 09:12:20 +08:00
Stuart Clements
1b8d1c191e Renamed index files 2019-12-20 18:49:09 +01:00
Stuart Clements
7006f9af69 Renamed top level folder 2019-12-20 18:42:51 +01:00
Stuart Clements
0b1e0704a5 Reorg 2019-12-20 18:11:52 +01:00
stonezdj
6313a55219 Fix admin permission not revoked when removed from LDAP admin group
Seperate the HasAdminRole(In DB) with the privileges from external auth, and use user.HasAdminPrivilege to check

Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-12-20 13:12:22 +08:00
Will Sun
1bcbb25e86
Merge pull request #10292 from AllForNothing/repo-search
Improve repo datagrid search function
2019-12-20 11:07:51 +08:00
danfengliu
3f1211ab16
Merge pull request #10313 from danfengliu/add-parameter-for-sign-image-case
Change parameter image to optional
2019-12-19 17:57:21 +08:00
Danfeng Liu (c)
8bfc5d12c3 Change parameter image to optional
1. Change parameter in Keyword Body Of Admin Push Signed Image to an
optional one.
2. Loose the restriction for Quotas error message verification.
3. Get cert for notary from API instead of local file.

Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-19 16:54:59 +08:00
jwangyangls
1855558739
Merge pull request #10271 from jwangyangls/edit-lang-about-replication--tag
Translation modification of replication and tag in Chinese mode
2019-12-19 12:50:41 +08:00
AllForNothing
a34ff61f34 Improve repo datagrid search function
Signed-off-by: AllForNothing <sshijun@vmware.com>
2019-12-19 10:45:54 +08:00
Will Sun
31c12e2268
Merge pull request #10300 from AllForNothing/dark
Modify some style
2019-12-19 09:13:34 +08:00
Stuart Clements
c29d687350 More reorg 2019-12-18 18:01:31 +01:00
Stuart Clements
e36ff7c500 REorg 2019-12-18 17:06:10 +01:00
Stuart Clements
7342675a54 More reorg 2019-12-18 17:01:55 +01:00
Stuart Clements
f0328e70d7 Links 2019-12-18 16:54:10 +01:00
Stuart Clements
1a9e57a83e More reorg 2019-12-18 16:52:48 +01:00
Stuart Clements
751960e48b More content reorg 2019-12-18 16:22:42 +01:00
Stuart Clements
ca66919097 Fixed link 2019-12-18 16:07:13 +01:00
Stuart Clements
99f3be281d Moved content around 2019-12-18 16:06:18 +01:00
Stuart Clements
6e6ad9dc27 Moved files 2019-12-18 15:38:10 +01:00
Stuart Clements
82bfc3e461 Reorg TOC 2019-12-18 15:36:16 +01:00
Stuart Clements
424ed5aa29 Rewrote lifecycle doc 2019-12-18 15:32:50 +01:00
Stuart Clements
81d669a2d5 Rewrote TS 2019-12-18 14:56:30 +01:00
Stuart Clements
4f927ea53f Reorg 2019-12-18 14:49:50 +01:00
Stuart Clements
eb87465c88 Reorg 2019-12-18 14:48:58 +01:00
Stuart Clements
42e2147935 Rewrites in install topic 2019-12-18 14:38:17 +01:00
Stuart Clements
af24c0a656 Rewrote YML topic 2019-12-18 14:28:33 +01:00
Stuart Clements
ca152f6eb0 Formatting 2019-12-18 14:17:28 +01:00
Stuart Clements
e64a592f91 Rewrites 2019-12-18 12:28:16 +01:00
Stuart Clements
d1fae0005d Rewrites 2019-12-18 10:34:58 +01:00
danfengliu
99713dbec6
Merge pull request #10302 from danfengliu/switch-repository-filter-in-nightly-test-case
Use repository filter in the list above
2019-12-18 16:51:16 +08:00
danfengliu
66859d35d8
Merge pull request #10299 from danfengliu/add-remove-notary-signature-nightly-testcase
Add notary remove signature test case in nightly
2019-12-18 16:50:57 +08:00
Ziming
9a1e77ca7c
Merge pull request #10280 from bitsf/cicd_github_action
enhance[cicd] introduce github action for CICD
2019-12-18 16:19:38 +08:00
Danfeng Liu (c)
70a40b87a8 Use repository filter in the list above
Nigthly test case failures always caused by filter issue, as Shijun
adviced, it's better to use  repository filter in the list above.

Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-18 13:50:49 +08:00
Danfeng Liu (c)
9961d8b0d6 O
Add notary remove signature test case in nightly

1. Update E2E image Dockerfile for adding notary CLI;
2. Add test case of remove notary signature.

Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-17 21:00:08 -08:00
Meina Zhou
f590afacd7 Modify some style
Signed-off-by: AllForNothing <sshijun@vmware.com>
2019-12-18 11:42:53 +08:00
Stuart Clements
2dc4fb5fb0 Fixing links 2019-12-17 15:47:15 +01:00
Stuart Clements
ea84990551 More linking 2019-12-17 15:22:30 +01:00