Will Sun
46e004b167
Merge pull request #10144 from AllForNothing/release-1.10.0
...
Modify ui to fix some bugs(cherry-pick #10143 )
2019-12-06 09:09:39 +08:00
Wenkai Yin
0e821a9237
Sort the tag before returning the list when calling API
...
Sort the tag before returning the list when calling API list tag API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-12-05 19:54:11 +08:00
sshijun
ef8041511d
Modify ui to fix some bugs
...
Signed-off-by: sshijun <sshijun@vmware.com>
2019-12-05 18:28:01 +08:00
He Weiwei
91af4f2413
chore(scanner): upgrade clair scanner to 1.0.1 ( #10148 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-12-05 17:52:16 +08:00
Yogi_Wang
3071926f75
Fix bug in master about 1.10
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-12-05 16:41:31 +08:00
danfengliu
cc66b0f44d
Merge pull request #10153 from danfengliu/cherry-pick-internal-registry
...
[Cherry-Pick-To-1.10] Add local registry for nightly quotas test
2019-12-05 15:03:40 +08:00
Daniel Jiang
8d3df218d9
Get rid of case-sensitivity in authproxy setting
...
This commit removes the attribute to control case-sensitivity from
authproxy setting.
The result in token review status will be used as the single source of
truth, regardless the case of the letters in group names and user names.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-05 14:49:41 +08:00
Ziming Zhang
2b378899df
upgrade clair to v2.1.1
...
Change-Id: Idb2ad0470a51666d75895d8c5e68d80a67e05276
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-12-05 14:28:32 +08:00
Danfeng Liu (c)
bfc5c28fde
As we like to use a local registry for nightly quotas test, so that the sample image will not be update without noticed, so modify quotas test case to use local image for pulling.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-05 14:00:24 +08:00
wang yan
1ea5ed0381
improve pulling vulnerable images warning message
...
To make the message more friendly and readable for the end-user
Signed-off-by: wang yan <wangyan@vmware.com>
2019-12-05 11:36:04 +08:00
Daniel Jiang
bd28ad1ae7
Merge pull request #10132 from reasonerjt/authproxy-server-setting-v1.10
...
Support pinning to authproxy server's cert - Cherrypick to 1.10
2019-12-04 22:58:53 +08:00
Daniel Jiang
8329c209db
Support pinning to authproxy server's cert
...
This commit add an attribute to configurations, whose value is the
certificate of authproxy server. When this attribute is set Harbor will
pin to this cert when connecting authproxy.
This value will also be part of the response of systemInfo API.
This commit will be cherrypicked to 1.10 and 1.9 branch.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-04 16:10:45 +08:00
stonezdj(Daojun Zhang)
98d932cd57
Merge pull request #10051 from reasonerjt/groups-review-token-filter-1.10
...
populate group list when doing token review - cherrypick to 1.10
2019-12-03 11:07:26 +08:00
Daniel Jiang
ae2d0f0588
Merge pull request #10026 from ninjadq/migrator_miss_component_no_proxy_110
...
Add default domainname for no_proxy
2019-12-03 10:51:12 +08:00
Qian Deng
eabeb5982f
Merge pull request #10028 from ninjadq/fix_ca_bundle_path_join_110
...
Fix ca bundle path join issue
2019-12-02 13:56:58 +08:00
Daniel Jiang
21129a6d1b
Merge pull request #10048 from reasonerjt/fix-proj-length-1.10.0
...
Update minimum length of project name - cherry pick to 1.10
2019-12-02 11:22:44 +08:00
Daniel Jiang
cfff4d6d59
populate group list when doing token review
...
This commit fixes #9869
It has some refactor to make sure the group is populated when user is
authenticated via tokenreview workflow.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-11-29 20:09:32 +08:00
Daniel Jiang
3a6e7433e7
Update minimum length of project name
...
This commit fixes #9946 , that when creating a project the minimum length
should be 1, not 2.
This commit should be cherry picked to 1.9.x and 1.10.x branch .
We need to double check if this change impacts the creation of replication
rule.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-11-29 19:33:23 +08:00
Daniel Jiang
798059aed5
Merge pull request #10013 from heww/permission-checking-improvement
...
perf(rbac): add permission evaluator to improve performance
2019-11-29 11:23:56 +08:00
Will Sun
2d21c3f2fa
Merge pull request #10021 from AllForNothing/release-1.10.0
...
Disable scan now button if no default scanner(cherry-pick #10032 )
2019-11-29 10:04:34 +08:00
sshijun
ac6545c784
Fix tag-retention ui bug and disable scan button
...
Signed-off-by: sshijun <sshijun@vmware.com>
2019-11-28 17:53:27 +08:00
He Weiwei
8738e61a42
perf(rbac): add permission evaluator to improve performance
...
1. Introduce Evaluator interface which do the permission checking.
2. Do permission checking in security context by `Evaluator`.
3. Cache the regexp in keyMatch for casbin.
4. Cache rbac evaluator in namespace evaluator to improve performance.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-11-28 05:16:26 +00:00
DQ
3aedae86b2
Fix ca bundle path join issue
...
CA bundle name start with '/' will break the os path join
Signed-off-by: DQ <dengq@vmware.com>
2019-11-27 18:48:23 +08:00
jwangyangls
045e400547
Merge pull request #10023 from jwangyangls/fix-token-expired-1.10
...
[Cherry-pick1.10]Reslove the token expired
2019-11-27 17:32:38 +08:00
DQ
a8ac235fa1
Add default domainname for no_proxy
...
All internal service and known internal hostname shuold add to no_proxy by default
Signed-off-by: DQ <dengq@vmware.com>
2019-11-27 17:06:26 +08:00
Yogi_Wang
096c7189c2
Reslove the token expired
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-11-27 15:08:10 +08:00
jwangyangls
329dd74712
Merge pull request #9981 from jwangyangls/modify-nav-style-1.10
...
[Cherry-pick#9971]Modify the style of language and modify variable name (9971)
2019-11-26 12:19:11 +08:00
Wang Yan
183853609d
Merge pull request #9987 from wy65701436/release-1.10.0-build
...
cherry-pick inject base image parameter when to build offline installer
2019-11-25 17:11:50 +08:00
wang yan
2a37e81631
cherry-pick inject base image parameter when to build offline installer
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-11-25 14:37:18 +08:00
Yogi_Wang
c0b3c9f9c5
Modify the style of language and modify variable name
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-11-25 10:26:08 +08:00
jwangyangls
52b0c9fe73
Merge pull request #9973 from jwangyangls/about-dialog-1.10
...
Fix broken about dialog on sign in page
2019-11-25 10:22:36 +08:00
Bastian Hofmann
c0343db0e1
Fix broken about dialog on sign in page
...
Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2019-11-22 16:27:37 +08:00
Wang Yan
08558d37af
Merge pull request #9967 from wy65701436/release-1.10.0
...
udpate base image to 1.10.0
2019-11-22 16:13:03 +08:00
wang yan
ef330f794b
udpate base image to 1.10.0
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-11-22 15:10:11 +08:00
Wang Yan
60101c4ea1
Merge pull request #9964 from heww/fix-clair-updaters-disable
...
fix(prepaire,clair): disable clair updaters when its interval is 0
2019-11-22 13:38:34 +08:00
stonezdj(Daojun Zhang)
9d616ce50a
Merge pull request #9962 from stonezdj/191122_no_proxy_list
...
Failed to start harbor when proxy is set
2019-11-22 12:46:16 +08:00
He Weiwei
b8308f41a0
fix(prepaire,clair): disable clair updaters when its interval is 0
...
Closes #9961
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-11-22 03:31:20 +00:00
stonezdj
938168b8ad
Failed to start harbor when proxy is set
...
Fix #9614 , all communication between internal components should bypass the proxy
Add chartmuseum, notary-server,clair-adapter to the no_proxy list in harbor.yml
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-11-22 11:22:51 +08:00
Wang Yan
308424f840
Merge pull request #9951 from wy65701436/fix-9080
...
add coding style documentation
2019-11-22 10:33:47 +08:00
Will Sun
96b22948dd
Merge pull request #9948 from AllForNothing/filter
...
Fix filter bug for registries and labels datagrid
2019-11-22 10:05:28 +08:00
He Weiwei
fec76c3d57
fix(limited-guest): fix limited guest info missing in summary page ( #9957 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-11-22 10:03:02 +08:00
Wang Yan
abfd634644
Merge pull request #9935 from wy65701436/enable-migrator-master
...
enable build migrator in master
2019-11-21 18:51:36 +08:00
Wang Yan
df1ecc9488
Merge pull request #9952 from danfengliu/add-wait-and-add-length-of-projectname
...
Fix scan all test case
2019-11-21 18:04:18 +08:00
jwangyangls
3c4aca0fcb
Merge pull request #9950 from jwangyangls/fix-ui-issue1.10-round3
...
Fix ui issue about the third round test
2019-11-21 16:36:09 +08:00
Danfeng Liu (c)
6e1f560544
Modify 2 points, 1st is add wait time right after scan all; 2nd is add name length for project name to avoid naming repeatly.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-11-21 15:12:21 +08:00
Yogi_Wang
5b6e1d9f88
Fix ui issue about the third round test
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-11-21 14:56:53 +08:00
wang yan
cf6ef599e7
add coding style documentation
...
Fix #9080
Signed-off-by: wang yan <wangyan@vmware.com>
2019-11-21 13:53:54 +08:00
sshijun
3777bbab39
Fix filter bug for registries and labels datagrid
...
Signed-off-by: sshijun <sshijun@vmware.com>
2019-11-21 10:53:24 +08:00
Will Sun
f3f481dd12
Merge pull request #9938 from jwangyangls/fix-retag-issue
...
FIx the tag list is not refreshed when the target refills the current repository when the retag is operated.
2019-11-20 16:34:31 +08:00
wang yan
e5bd87ec5d
enable build migrator in master
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-11-20 14:59:35 +08:00