Wenkai Yin
3d7fd070c7
Refeactor replication policy APIs
...
Refeactor replication policy APIs
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-17 10:57:31 +08:00
Daniel Jiang
7694c131a4
Merge pull request #14455 from wy65701436/fixes-14454
...
fix catalog duplicate result
2021-03-16 15:19:13 +08:00
Wang Yan
ad47007438
fix catalog duplicate result
...
Add distinct to the sql to avoid duplicate records be returned
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-03-16 12:37:33 +08:00
danfengliu
ac7a0f8841
Merge pull request #14445 from danfengliu/fix-api-python-test-log-missing-issue
...
Fix API python tests log missing issue
2021-03-16 12:14:27 +08:00
Daniel Jiang
5ab879a670
Merge pull request #14447 from ywk253100/210315_retention_exec
...
Add upgrade sql file introduced in 2.1.4
2021-03-16 11:14:45 +08:00
danfengliu
068d1d46ca
Fix API python tests log missing issue
...
After debugging for issue of missing some http message logs, we found out that swagger client configuration will be re-initiated by calling models in swagger client, so in API python tests, defination for models must be in front of swagger client defination.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-15 17:23:13 +08:00
Wenkai Yin
43df3bf8a4
Add upgrade sql file introduced in 2.1.4
...
1. Add upgrade sql file introduced in 2.1.4
2. Minor improvement for task/execution to cover corner cases
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-15 16:48:51 +08:00
Will Sun
f03ca3b087
Modify usage of LDAP ping API on UI ( #14440 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-15 15:56:54 +08:00
Will Sun
fb3b1311d8
Support adding label to multiple artifacts ( #14443 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-15 15:56:34 +08:00
Will Sun
68d7c91596
Add server driven sorting ( #14426 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-15 10:07:31 +08:00
He Weiwei
85f9a49bc8
feat: add sorts support for the projects listing API ( #14425 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-03-12 15:04:08 +08:00
Daniel Jiang
0d4992a41e
API for system CVE allowlist to new model ( #14412 )
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-12 10:23:48 +08:00
Wenkai Yin(尹文开)
4ef93565f3
Merge pull request #14369 from ywk253100/210303_sort
...
Introduce "sort" in query to provide a general solution for sorting
2021-03-11 09:28:34 +08:00
Wenkai Yin
506d1ad465
Introduce "sort" in query to provide a general solution for sorting
...
Introduce "sort" in query to provide a general solution for sorting
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-11 08:25:49 +08:00
stonezdj(Daojun Zhang)
035caad146
Merge pull request #14351 from stonezdj/21feb26_ldap_refact
...
Move ldap API to new program model
2021-03-10 20:24:41 +08:00
stonezdj
5a35b7a9c4
Move ldap API to new program model
...
Fix some issue with the LDAP connection test
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-03-10 16:26:45 +08:00
danfengliu
b181d4df16
Merge pull request #14321 from danfengliu/fix-quotas-test-in-upgrade-pipeline
...
Fix quotas test issue in upgrade pipeline
2021-03-10 15:59:33 +08:00
danfengliu
a2fc1bcfaf
Fix quotas test issue in upgrade pipeline
...
1. Change way for quotas verification in upgrade pipeline, prepare specific size of image, then it's an known value for verifcation;
2. Add notary key rotate test;
3. For issue brought by docker 20, clean containerd cache is the only effective way, so both dockerd and containerd should be cache cleard and restarted;
4. Upgrade E2E Dockerfile for importing readable file size package, and other issues;
5. Uncomment project level robot account test in nightly.
6. Get DNS from local setting, and set it into docker deamon config file;
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-10 06:27:22 +00:00
Wang Yan
85254ccc22
refactor immutable rule ( #14371 )
...
Migrate immutable realted APIs to v2 swagger
Signed-off-by: wang yan <wangyan@vmware.com>
2021-03-08 17:10:12 +08:00
Will Sun
f0dd9e5aeb
Fix label color issue ( #14387 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-08 16:10:19 +08:00
Daniel Jiang
4c47b1777e
Merge pull request #14370 from reasonerjt/oidc-ping-refact
...
Switch API to ping OIDC endpoint to new model
2021-03-05 11:49:30 +08:00
chlins
12f3609e42
fix: add precheck when registry check token expired
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2021-03-04 18:23:04 +08:00
Wenkai Yin(尹文开)
4c2e698af8
Merge pull request #14341 from heww/refactor-scanner-apis
...
refactor: generate scanner APIs by go-swagger
2021-03-04 17:48:04 +08:00
Daniel Jiang
3c299d70c0
Update exempt labels to reflect latest releases
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-04 17:37:40 +08:00
Daniel Jiang
e96c1cbced
Switch API to ping OIDC endpoint to new model
...
This commit updates the API POST /api/v2.0/system/oidc/ping to new
programming model, in which the code will be generated by go-swagger.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-04 15:44:11 +08:00
Daniel Jiang
d36994b8b0
Merge pull request #14361 from danfengliu/remove-python3.7-in-ci-installation
...
Remove python3.7 deployment in CI installtion phase.
2021-03-04 15:42:45 +08:00
Wang Yan
3dfddfdf4e
patch upstream fix for io reader ( #14356 )
...
Fixes #12850
This patch can fix the GC failure in the NFS v3 env, see https://github.com/distribution/distribution/pull/3309#issuecomment-783606968
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-03-04 15:33:09 +08:00
danfengliu
85c10c1c31
Remove python3.7 deployment in CI installtion phase.
...
Git action work node OS had python3.8 deployed already, so won't necessary to install python3.7 in CI.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-04 14:24:19 +08:00
Will Sun
afd29280ab
Improve stop button for replication ( #14346 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-04 12:04:52 +08:00
Will Sun
5cae2d5d9a
Improve double star validator on UI ( #14345 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-04 11:57:43 +08:00
Steven Zou
10ceaf5bc5
doc(readme): use edge version for compatibility
...
update the doc version of the compatibility list from 2.0.0 to edge
2021-03-03 13:48:07 +08:00
He Weiwei
ef0bdf6954
refactor: generate scanner APIs by go-swagger
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-03-03 04:23:36 +00:00
Wenkai Yin(尹文开)
ead749b722
Merge pull request #14336 from reasonerjt/fix-14303
...
Add "*" to the claim set in the token for /v2 apis
2021-03-03 11:18:03 +08:00
Daniel Jiang
ef72c76e0e
Add "*" to the claim set in the token for /v2 apis
...
The "*" is used by notary server for permission checking:
84287fd8df/server/server.go (L200)
Hence, we need to add this into the JWT token such that actions like key
rotation can be executed.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-02 19:36:04 +08:00
Will Sun
3ecd60b84b
Add harbor datetime pipe ( #14331 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-01 15:45:21 +08:00
He Weiwei
9161a3fbdf
refactor: use ormer from the ctx for scanner ctl mgr and dao ( #14313 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-03-01 12:02:40 +08:00
Daniel Jiang
2fcdf3e09b
Merge pull request #14308 from reasonerjt/nginx-forward-proto-conf
...
Refine the way to set X-Forwarded-Proto in nginx
2021-03-01 01:31:00 +08:00
Wenkai Yin(尹文开)
43a7fad93c
Merge pull request #14319 from wy65701436/fix-blob-sorting
...
add sorting for list blobs
2021-02-26 14:13:36 +08:00
Wang Yan
5c2d43ea38
add sorting for list blobs
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-02-26 11:52:56 +08:00
Wenkai Yin(尹文开)
fba6dd799e
Merge pull request #14300 from heww/quota-apis
...
refactor: generate quota APIs by go-swagger
2021-02-26 10:49:52 +08:00
Daniel Jiang
387be3686a
Refine the way to set X-Forwarded-Proto in nginx
...
Refine the way to set the header so user won't need to comment it if
Harbor is sitting behind a reverse proxy.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-02-25 17:43:55 +08:00
He Weiwei
4b033c266a
refactor: generate quota APIs by go-swagger
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-02-25 08:19:55 +00:00
Will Sun
1955b57701
Remove forced ng-check for registries component ( #14302 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-02-25 15:35:30 +08:00
Daniel Jiang
a4a995327b
Merge pull request #14129 from piotrekfilip/Add-support-for-http-proxy-in-oidc-insecureTransport
...
Add support for http proxy in oidc insecureTransport
2021-02-24 18:51:30 +08:00
danfengliu
37efb6fb42
Merge pull request #14122 from danfengliu/upgrade-docker-and-containerd
...
Add ui-test for OIDC group user and upgrade docker and containerd for e2e image
2021-02-24 17:40:32 +08:00
Wang Yan
0bd68de7d6
bump up to v2.3.0 ( #14288 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-02-24 16:10:25 +08:00
danfengliu
7fb9dbd0fa
Upgrade docker and containerd
...
1. Fix E2E quotas issue, push the same image but with different name;
2. Add checkpoint for robot account test;
3. Upgraded docker and containerd in E2E image;
4. Package base image sample(busybox) into E2E image, so in E2E
container, all local docker images can be cleaned up, once base image is needed for
building image, it can be loaded locally;
5. Adapt OIDC service of supporting LDAP user, and add OIDC group user
test;
6. Restart docker deamon before content trust test, both in API and UI
test;
7. Add retry for keyword "Add A Tag Immutability Rule";
8. Fix tag retention test issue, missing click angle icon, and enhance
checkpoint of dry run and real run;
9. Fix schedule test issue for wrong cron string;
10. Disable quotas verification, it's not stable for script defect;
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-02-24 15:43:11 +08:00
Wang Yan
abfc52e0ea
enlarge the CI timeout to 100 minutes ( #14290 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-02-23 20:51:36 +08:00
He Weiwei
7cfd372af2
fix: use clone query in loop of artifact.Iterator func ( #14283 )
...
Closes #14251
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-02-23 12:23:36 +08:00
danfengliu
9e3f0de12c
Merge pull request #14124 from danfengliu/reschedule-docker-login-policy-in-build-base-image-in-master
...
Reschedule docker login policy in base image build process
2021-02-23 10:10:59 +08:00