Daniel Jiang
535728d11f
Merge pull request #13306 from heww/refactor-security-context
...
refactor(security): use controller instead of promgr in security
2020-10-29 02:39:59 +08:00
danfengliu
723695b3e9
Merge pull request #13320 from danfengliu/upgrade-containerd-in-e2e-image
...
Upgrade containerd in e2e image
2020-10-28 17:52:27 +08:00
Will Sun
ec790d0afd
Merge pull request #13347 from AllForNothing/vul-list
...
Improve vilnerability list UI
2020-10-28 10:24:18 +08:00
danfengliu
ab3e24a2e3
Add proxy cache python test scipts and upgrade containerd
...
Containerd in e2e image was using native one in ubuntu, it should be updated to the latest release.
And add proxy cache py-tests including pull image/manifest list by docker and ctr CLI.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-28 02:13:40 +00:00
Will Sun
ce21e134ed
Merge pull request #13360 from AllForNothing/css-18
...
Fix css and i18n bugs
2020-10-26 18:03:18 +08:00
AllForNothing
5475738a28
Fix css and i18n bugs
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-26 16:09:13 +08:00
AllForNothing
64ddef2e1d
Improve vilnerability list UI
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-23 15:03:33 +08:00
stonezdj(Daojun Zhang)
8535ecbbe5
Merge pull request #13340 from reasonerjt/more-info-log-msg
...
Add more info in log message to help debug
2020-10-23 11:23:33 +08:00
Daniel Jiang
9c1da3a405
Add more info in log message to help debug
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-22 18:55:01 +08:00
Daniel Jiang
eadb65f988
Merge pull request #13312 from reasonerjt/oidc-admin-group
...
Add admin group support to OIDC auth mode
2020-10-22 18:30:10 +08:00
Will Sun
456f893235
Merge pull request #13337 from AllForNothing/clr-bug
...
Fix a css bug of Clarity page size selection
2020-10-22 17:46:55 +08:00
Daniel Jiang
649c9814e4
Address review comment by Yan
...
Resolve review comment in PR #13312
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-22 16:53:37 +08:00
AllForNothing
ea494af06e
Fix a css bug of Clarity page size selection
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-22 16:48:35 +08:00
danfengliu
8af343f27a
Merge pull request #13324 from ywk253100/201021_project_cherry_pick
...
Return the location header when creating proxy cache project
2020-10-21 17:07:15 +08:00
danfengliu
b388078a3e
Upgrade containerd in e2e image
...
Containerd in e2e image was using native one in ubuntu, it should be updated to the latest release.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-21 08:14:01 +00:00
Wenkai Yin(尹文开)
84971fc77d
Merge pull request #13316 from stonezdj/201020_dup_group_filter
...
Remove dup call to createGroupSearchFilter in searchGroup
2020-10-21 14:53:45 +08:00
Wenkai Yin
3021558272
Return the location header when creating proxy cache project
...
Fixes #13303 . Return the location header when creating proxy cache project
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-10-21 14:35:48 +08:00
Will Sun
1e421748bc
Merge pull request #13302 from AllForNothing/rep-rule
...
Add page size options to datagrid
2020-10-21 11:14:44 +08:00
Daniel Jiang
7c57e984a8
Merge pull request #13313 from AllForNothing/oidc
...
[UI]Add admin group support to OIDC auth mode
2020-10-21 11:10:28 +08:00
stonezdj
ca7258617b
Remove dup call to createGroupSearchFilter in searchGroup
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-10-20 19:07:33 +08:00
AllForNothing
e7c53dc28a
Add oidc admin group to oidc setting ui
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-20 17:47:00 +08:00
Daniel Jiang
f4ff369ed0
Add admin group support to OIDC auth mode
...
Add oidc_admin_group to configuration, and make sure a token with the
group name in group claim has the admin authority.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-20 15:38:58 +08:00
chlins
73981062a9
fix: fix quay adapter catalog api return error
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-10-20 14:24:25 +08:00
AllForNothing
7b32fdb9f9
Add page size options to datagrid
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-19 18:42:19 +08:00
He Weiwei
ea0fbbeace
refactor(security): use controller instead of promgr in security
...
Use `project.Controller` instead of `promgr.ProjectManager` in security
implementations because we will remove `promgr` package later.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-10-19 10:33:51 +00:00
Will Sun
69b6bfd50a
Merge pull request #13239 from AllForNothing/unlogged
...
Allow un-logged users to visit public repos
2020-10-19 11:22:43 +08:00
stonezdj(Daojun Zhang)
88005e5028
Merge pull request #13267 from stonezdj/201014_no_default_group_filter
...
Refine ldap searchGroup function
2020-10-19 09:58:04 +08:00
stonezdj(Daojun Zhang)
8156f74bf4
Merge pull request #13266 from stonezdj/201009_proxy_head_containerd
...
Add middleware to proxy HEAD request for proxy cache project
2020-10-16 20:26:01 +08:00
AllForNothing
59fe9830b5
Allow un-logged users to visit public repos
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-16 17:21:36 +08:00
Wenkai Yin(尹文开)
c491c4f513
Merge pull request #13257 from reasonerjt/jwt-refact
...
Use pkg/token to generate JWT token
2020-10-16 16:31:26 +08:00
stonezdj
20ef7d3219
Refine LDAP searchGroup function
...
Search LDAP group with groupDN+filter, then match baseDN
Create a default filter when ldap group filter is empty
Fixes #13156
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-10-16 16:20:41 +08:00
stonezdj
0641b300f3
Add middleware to proxy HEAD request for proxy cache project
...
Fixes : #13153 , containerd need to head manifest before pull image
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-10-16 13:02:32 +08:00
Daniel Jiang
fb687aeef8
Use pkg/token to generate JWT token
...
This commit refactors the approach to encode a token in handler of /service/token,
by reusing pkg/token to avoid inconsistency.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-15 16:16:44 +08:00
Daniel Jiang
f25eaaf1d1
Merge pull request #13211 from sighupio/update-clair-fix-nvd-urls
...
Update clair version to fix NVD deprecated links
2020-10-15 15:40:37 +08:00
Daniel Jiang
db4906c943
Fix path in code cov ( #13261 )
...
Referring https://docs.codecov.io/docs/fixing-paths , this commit fixes
the path to make sure the coverage changes can be viewed on codecov's
dashboard.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-15 10:34:52 +08:00
stonezdj(Daojun Zhang)
cdd0eee2d4
Merge pull request #13162 from stonezdj/200921_rating_limit
...
Change the condition of LocalManifest
2020-10-14 19:34:38 +08:00
Wenkai Yin(尹文开)
3f7fdbac62
Merge pull request #13254 from stonezdj/201013_add_pulltime
...
Add pull time for proxy cache artifact in first pull
2020-10-14 18:48:07 +08:00
stonezdj
ee4b16ccdb
Change the condition of LocalManifest
...
Compare the local digest and the remote digest when pull by tag
Use HEAD request (ManifestExist) instead of GET request (GetManifest) to avoid been throttled
For manifest list, it can avoid GET request because cached manifest list maybe different with the original manifest list
Make RemoteInterface public
Fixes #13112
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-10-14 15:15:48 +08:00
Ángel Barrera Sánchez
283f9989e9
FIX: Update clair version to fix NVD deprecated links
...
Signed-off-by: Ángel Barrera Sánchez <angel@sighup.io>
2020-10-14 08:07:57 +02:00
stonezdj
9264105934
Add pull time for proxy cache artifact in first pull
...
Fixes #13152
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-10-14 13:35:42 +08:00
danfengliu
6cdae44dc2
Merge pull request #13235 from danfengliu/fix-issue-for-upgrade-pipeline
...
Replication UI changes break upgrade pipeline
2020-10-14 12:06:24 +08:00
danfengliu
6ea67b317f
Merge pull request #13191 from danfengliu/add-ui-test-for-ldap-group-dn-setting
...
Add UI test for LDAP admin group dn setting
2020-10-14 12:05:36 +08:00
danfengliu
4bc7444602
Add UI test for LDAP admin group dn setting
...
1. Verify LDAP group admin in UI;
2. Update LDAP group admin need to verify the AdminRoleInAuth, get current user will return this field as true.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-14 11:05:09 +08:00
danfengliu
8285db8def
Replication UI changes break upgrade pipeline
...
Remove duplicate keyword for editing replication rule.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-14 11:00:14 +08:00
Daniel Jiang
c93858cdbc
Remove UT for helm hub adapter ( #13255 )
...
The helm hub adapter will not work due to the shift to artifact hub and
the API has changed. more details see #13244
Remove the UT for helm hub adapter to unblock CI.
Later we need to rework the adapter to replicate from artifact hub.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-14 10:22:03 +08:00
Wenkai Yin(尹文开)
4d78fd4e4e
Merge pull request #13126 from Thoro/fix-10913-oidc-error-after-restart
...
fix #10913 : initialize oidc provider before calling Load
2020-10-14 10:13:52 +08:00
Thomas Rosenstein
874b0b1c0c
fix #10913 : initialize provider before calling Load
...
Signed-off-by: Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
2020-09-30 17:25:29 +02:00
stonezdj(Daojun Zhang)
5293c8ff4b
Merge pull request #13053 from reasonerjt/fix-ldap-admingroup
...
Revert "Store User ID in session instead of the whole user model (#12…
2020-09-30 20:18:30 +08:00
Will Sun
3d5f8106f2
Merge pull request #13176 from AllForNothing/fix-nightly
...
Fix nightly case for replication
2020-09-30 18:29:36 +08:00
AllForNothing
3f213df595
Fix nightly case for replication
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-09-30 16:59:11 +08:00