Daniel Jiang
5292aea89e
Skip verifying OIDC token for local user
...
If a user does not have OIDC meta data in DB, it means he's not
onboarded via OIDC authn, hence, we should not check the token.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-04-19 13:07:06 +08:00
Steven Zou
d2c4f19a4c
Merge pull request #7450 from yuanshuhan/replication_ng
...
add huawei adapter to replication module, and adjust some interface a…
2019-04-19 12:52:21 +08:00
Wenkai Yin
059b75e97c
Merge pull request #7392 from reasonerjt/oidc-logout
...
Handle OIDC user invalidation from OIDC provider.
2019-04-19 12:46:36 +08:00
Fangyuan Cheng
efca5631fe
Merge pull request #7447 from pureshine/fix-bug
...
Fix replication tasks page cannot pagination
2019-04-19 12:10:50 +08:00
FangyuanCheng
87c2684724
Fix replication tasks page cannot pagination
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-19 11:40:10 +08:00
Yuan Lei
7ee009f1d2
add huawei adapter to replication module, and adjust some interface after testing
...
Signed-off-by: Yuan Lei <371304458@qq.com>
2019-04-19 10:05:39 +08:00
Daniel Jiang
239b33c5fb
Handle OIDC user invalidation from OIDC provider.
...
Ths commmit ensures that when user's token is invalidated OIDC provider, he
cannot access protected resource in Harbor with the user info in his session.
We share the code path with secret verification b/c the refresh token
can be used only once, so it has to be stored in one place.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-04-19 01:27:31 +08:00
De Chen
4ce2ba8688
Support image delete in DockerHub adapter ( #7422 )
...
Signed-off-by: cd1989 <chende@caicloud.io>
2019-04-18 18:24:42 +08:00
De Chen
c3375e4ac2
Fix create ns failure in DockerHub ( #7421 )
...
Signed-off-by: cd1989 <chende@caicloud.io>
2019-04-18 18:24:28 +08:00
wang yan
d410a964a5
Pin pkg error version to v0.8.1
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-18 17:49:04 +08:00
Steven Zou
608354dd04
refine the returnning errors
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-04-18 17:15:55 +08:00
danfengliu
15846ac524
Feature - Replication was upgraded, so the corrsponding UI test cases are nolonger available any more, we left an empty Replication.robot file, then add new test cases step by step. ( #7436 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-18 17:07:39 +08:00
Steven Zou
16f97326ad
Merge pull request #7433 from goharbor/replication_ng
...
Merge the replication ng branch to master
2019-04-18 16:35:45 +08:00
Fangyuan Cheng
c8e131b024
Merge pull request #7435 from pureshine/hidden-vul
...
Hide vulnrability if clair is not installed
2019-04-18 16:33:53 +08:00
FangyuanCheng
33852973e3
Hide vulnrability if clair is not installed
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-18 16:03:31 +08:00
Steven Zou
1f481e492c
Refactor job servcie primary logic to fix related bugs
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-04-18 16:02:49 +08:00
Wenkai Yin
09b4972ff6
Merge pull request #7426 from pureshine/fix-loading
...
Fix replication ui relate issues
2019-04-18 15:35:29 +08:00
FangyuanCheng
f7f5298ba2
Fix replication ui relate issues
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-18 15:06:11 +08:00
stonezdj
41a574e55c
Fix issue 6450 Test LDAP server error without save configuration
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-04-18 14:24:21 +08:00
stonezdj(Daojun Zhang)
d1f4a73004
Merge pull request #7423 from wy65701436/hide-501
...
Disable throw internal error to UI
2019-04-18 12:52:06 +08:00
Wenkai Yin
a8dae4025c
Merge pull request #7414 from kofj/optimizing_native_adapter
...
Optimizing native adapter
2019-04-18 10:02:12 +08:00
wang yan
ba76550d14
Disable throw internal error to UI
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-18 00:04:19 +08:00
慕薇疯魔
bf28e9779b
1. check is repository exist later at filterTags.
...
2. test case for image not found.
Signed-off-by: 慕薇疯魔 <kfanjian@gmail.com>
2019-04-17 23:01:44 +08:00
Wenkai Yin
7196abc77b
Merge pull request #7417 from pureshine/replication-case
...
Reload the task list when the task status is pending and scheduled
2019-04-17 20:03:36 +08:00
Wenkai Yin
a5cc228781
Merge pull request #7420 from ywk253100/190417_revert_local_harbor
...
Update the migration sql
2019-04-17 19:58:31 +08:00
Wenkai Yin
eb00c9cb70
Merge pull request #7404 from jwangyangls/replication_C
...
In add or edit replication page ,disable the mode of pull and push when editing the replication and delete src_namespaces and delete useless code and add a validate content that when I choose scheduled, the cron field is mandatory.
2019-04-17 19:11:46 +08:00
FangyuanCheng
f776e6de2c
Reload the task list when the task status is pendding and scheduled
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-17 19:10:23 +08:00
Wenkai Yin
4ca482d6d2
Merge pull request #7419 from wy65701436/replication_ng
...
Replication ng
2019-04-17 18:57:18 +08:00
wang yan
ddec7bd645
fix error handlering in job notification
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-17 18:19:01 +08:00
wang yan
e017294f71
merge with master latest
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-17 17:52:39 +08:00
Wenkai Yin
547c2337de
Update the migration sql
...
1. Update the migration sql
2. Rename the ResourceRepository from repository to image
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-17 17:18:03 +08:00
Yogi_Wang
8f152392b5
Change new and edit Replication page about pull and push mode.
...
1.disable the mode of pull and push when editing the replication;
2.delete src_namespaces
3.delete useless code
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-04-17 16:57:03 +08:00
Wang Yan
a6af9e9972
Support well-formatted error returned from the REST APIs. ( #6957 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-17 16:43:06 +08:00
Qian Deng
8a7d04ef47
Merge pull request #7387 from ninjadq/add_compatibility_in_registry
...
Add compatibility config
2019-04-17 16:30:04 +08:00
Qian Deng
85fdf885e8
Merge pull request #7386 from ninjadq/fix_http_scheme_on_install_sh
...
Fix: grep https not work
2019-04-17 16:29:35 +08:00
jwangyangls
cc868aa23e
Merge pull request #7407 from jwangyangls/fixHelmChartRouteIssue
...
Recovery a test case about 'should filter data by keyword' in the test file named repository-gridview.component.spec.ts
2019-04-17 15:24:56 +08:00
Wenkai Yin
fac0c2cc16
Merge pull request #7415 from ywk253100/190417_revert_local_harbor
...
Revert the commit that introduces the LocalHarbor
2019-04-17 15:21:24 +08:00
Qian Deng
c1e676ad99
Add migration script from 1.7.0 to 1.8.0
...
Add jinja2 to migrator
Add template to migrator
Add config upgrading script
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-04-17 15:14:54 +08:00
Wenkai Yin
6e0d892963
Support creating project with service account
...
This commit introduces a solution to workaround the restriction of project creation API: only normal users can create projects
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-17 14:50:32 +08:00
Wenkai Yin
3f7884d9d2
Revert "Add new registry type: LocalHarbor"
...
This reverts commit 94cacf762a
.
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-17 14:50:24 +08:00
Wenkai Yin
c754ec054d
Merge pull request #7406 from pureshine/remove-replication
...
Remove the Replication tab under project view
2019-04-17 11:01:23 +08:00
Fangyuan Cheng
cd021d22de
Merge pull request #7413 from pureshine/fix-cron-ui
...
Fix cron input box and select box not in one line
2019-04-17 10:23:50 +08:00
FangyuanCheng
73e408b851
Fix cron input box and select box not in one line
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-16 22:38:28 +08:00
Wenkai Yin
fa3ab47c7c
Merge pull request #7408 from ywk253100/190416_swagger
...
Update swagger
2019-04-16 20:55:03 +08:00
Wenkai Yin
aa188954ed
Merge pull request #7403 from ywk253100/190416_prepare_for_push
...
Update the PrepareForPush method
2019-04-16 18:47:42 +08:00
Wenkai Yin
bf43c39026
Update swagger
...
Remove the "source namespace" property of replication policy
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-16 18:30:22 +08:00
FangyuanCheng
b11c95316f
Remove the Replication tab under project view
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-16 17:56:45 +08:00
Wenkai Yin
ea6ca2b8cc
Merge pull request #7399 from ywk253100/190416_match
...
Use the new package to do the match
2019-04-16 17:25:51 +08:00
Wenkai Yin
613dfee5ee
Update the PrepareForPush method
...
Update the PrepareForPush method to avoid the useless API callings to create namespaces
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-16 17:21:31 +08:00
Wang Yan
fd353a8f7f
Fix swagger typo for updating robot account status ( #7398 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-16 17:18:17 +08:00