chlins
21b56d241a
fix: fix scanner apikey type match error
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-10-21 18:29:19 +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
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
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
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
danfengliu
baf7cda3e2
Merge pull request #13164 from danfengliu/add-build-package-action-in-github
...
Add harbor build in git action workflow
2020-09-30 09:55:26 +08:00
danfengliu
12f4f73c8a
Add harbor build in gith action workflow
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-09-29 09:18:18 +00:00
Will Sun
d5322c3d45
Merge pull request #13175 from AllForNothing/504
...
Handle 504 error from backend
2020-09-28 18:52:53 +08:00
AllForNothing
e999a15b02
Handle 504 error from backend
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-09-28 18:09:05 +08:00
danfengliu
fc5743b355
Merge pull request #13128 from danfengliu/fix-a-typo-in-upgrade-prepare-script
...
Fix typo in upgrade prepare script
2020-09-28 17:54:51 +08:00
Will Sun
b2a53a7e51
Merge pull request #13141 from AllForNothing/update
...
Update UI package to latest version
2020-09-28 17:22:10 +08:00
danfengliu
e4894017cd
Fix typo in upgrade prepare scritp
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-09-28 10:36:22 +08:00
DQ
184e89365b
Fix internal tls config upgrade issue
...
internal tls config upgrade is not included in template, this pr is to add it.
Signed-off-by: DQ <dengq@vmware.com>
2020-09-25 09:54:31 +08:00
AllForNothing
8d9a18b539
Update UI package to latest version
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-09-25 09:46:05 +08:00
Wenkai Yin(尹文开)
f6a9d57765
Merge pull request #13157 from a-mccarthy/update-releases-page
...
update releases.md for 2.1
2020-09-25 09:30:49 +08:00
Abigail McCarthy
9457b80c15
update releases.md for 2.1
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-09-24 17:13:08 -04:00
Will Sun
18f41bad88
Merge pull request #13085 from AllForNothing/replication
...
Add disable/enable function to replication rules
2020-09-24 17:35:51 +08:00
Wenkai Yin(尹文开)
8b9727f53f
Support store the cron type in the schedule ( #13097 )
...
There is requirement that show the cron type(daily, weekly, etc.) on the UI, this commit adds the support for storing the cron type in the schedule model
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-09-24 16:48:56 +08:00
Wang Yan
1af4c5e7cb
bump up go-digest version ( #12992 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2020-09-24 16:47:29 +08:00
Wenkai Yin(尹文开)
a62f05893f
Merge pull request #13129 from ywk253100/200917_task_mgr
...
Tiny improvement for the task manager
2020-09-24 16:46:44 +08:00