Commit Graph

11193 Commits

Author SHA1 Message Date
Yang Jiao
1d8719b7a0
Merge pull request #16033 from YangJiao0817/add-replication-exclude-testcase
Add replication testcase for exclude and bandwidth
2021-11-29 10:25:59 +08:00
Wang Yan
7608df4b5c
add pull update control env (#16051)
These variables are temporary solution for issue: https://github.com/goharbor/harbor/issues/16039
When user disable the pull count/time/audit log, it will decrease the database access, especially in large concurrency pull scenarios.

1, PULL_TIME_UPDATE_DISABLE : The flag to indicate if pull time is disable for pull request.
2, PULL_COUNT_UPDATE_DISABLE : The flag to indicate if pull count is disable for pull request.
3, pull audit log will not create on disabling pull time.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-11-26 18:13:23 +08:00
孙世军
cad78f6af4
Audit fixing for package-lock.json (#16043)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-23 15:56:09 +08:00
Wang Yan
91e406ba60
bump up dep versions (#16038)
1, upgrade containerd to v1.14.12
2. upgrade image-spec to v1.0.2

Signed-off-by: wy65701436 <wangyan@vmware.com>
2021-11-23 10:32:29 +08:00
孙世军
784cdabc61
Fix null point exception for chart version (#16006)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-22 10:48:42 +08:00
孙世军
21dfba7330
Redirect to sign-in page when user session timed out (#16005)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-22 10:47:49 +08:00
Yang Jiao
e9c5b3e759 Add replication testcase for exclude and bandwidth
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-19 09:20:07 +00:00
Qian Deng
593117a127 Fix: chart replication dup files issue
this patch fixed #15522

Signed-off-by: Qian Deng <dengq@vmware.com>
2021-11-17 11:24:43 +00:00
Yang Jiao
0a845d6369
Merge pull request #16008 from YangJiao0817/fix-cnab-case
Refactor cnab push test case
2021-11-17 11:00:05 +08:00
Yang Jiao
97ad26af6f Refactor cnab push test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-16 15:43:23 +08:00
stonezdj(Daojun Zhang)
060341ba4e
Merge pull request #15949 from stonezdj/21nov4_cache_properties
Enable db config cache explicitly
2021-11-16 14:39:10 +08:00
Yang Jiao
4d9a54fc55
Merge pull request #16003 from YangJiao0817/specify-test-redis-tag-q
Specify test redis image tag
2021-11-15 17:17:34 +08:00
Yang Jiao
8055374520 Specify test redis image tag
Specify the test redis mirror tag. If not specified, the default tag is latest. If the latest tag changes, it will cause false positives in the test case.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-15 11:30:10 +08:00
Yang Jiao
65675f41e6
Merge pull request #15992 from YangJiao0817/specify-test-redis-tag
Specify test redis image tag
2021-11-12 18:19:17 +08:00
Chenyu Zhang
d260e632d8
Merge pull request #15985 from chlins/fix/replication-rule-enhancement
fix(replication): enhance the replication rule validation
2021-11-12 11:12:41 +08:00
Yang Jiao
e3fac7eb53 Specify test redis image tag
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-12 10:49:30 +08:00
chlins
f880bc3361 fix(replication): enhance the replication rule validation
Signed-off-by: chlins <chenyuzh@vmware.com>
2021-11-12 09:53:11 +08:00
Yang Jiao
33fd4c06e1
Merge pull request #15978 from YangJiao0817/add-stop-scan-case
Add stop scan and stop scan all test cases
2021-11-11 18:01:14 +08:00
Yang Jiao
cfbbc82219
Merge pull request #15956 from YangJiao0817/refactor-ci-script
Modify ci script
2021-11-11 17:00:42 +08:00
Yang Jiao
9662c8316d
Merge pull request #15938 from YangJiao0817/include-test-case-e2e-image
Add e2e image include test case
2021-11-11 16:59:04 +08:00
Yang Jiao
f7b83a8e97
Merge branch 'main' into add-stop-scan-case 2021-11-11 16:50:55 +08:00
Yang Jiao
98e9ad82a1 Refactor ci script
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-11 16:04:09 +08:00
孙世军
ddd4cdb306
Not allow space in replication rule filters (#15984)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-11 12:23:26 +08:00
Yang Jiao
6fe2a0cd1d
Merge pull request #15925 from YangJiao0817/add-imgpkg-testcase
Add test case to verify imgpkg in nightly
2021-11-09 17:05:10 +08:00
Yang Jiao
b0d6b242ae Add stop scan and stop scan all test cases
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 16:58:31 +08:00
Yang Jiao
d7f53e51a9 Add test case to verify imgpkg in nightly
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 14:35:05 +08:00
孙世军
ea16f1fb5e
Change base tag to "/" for index.html (#15965)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 17:42:07 +08:00
孙世军
d5a4f0b8bc
Add select-all and unselect-all for robot permissions (#15962)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 14:38:26 +08:00
孙世军
ab037c35cc
Fix ng-change-checking error for repos component (#15961)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 14:37:45 +08:00
孙世军
0413b8b6f7
Support right click to open a link in a new tab (#15935)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 14:37:27 +08:00
sluetze
3760375ba9 updated german translation for 2.4
Signed-off-by: sluetze <13255307+sluetze@users.noreply.github.com>
2021-11-08 11:15:55 +08:00
Chenyu Zhang
3aa698c7c9
fix(replication): list projects before replicate to reduce create duplicate project and requests to target registry (#15934)
Signed-off-by: chlins <chenyuzh@vmware.com>
2021-11-08 10:39:58 +08:00
He Weiwei
b2268dbf8e
fix: remove x-go-type in swagger.yaml (#15923)
Closes #15912

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-11-04 23:39:36 +08:00
stonezdj
21601f5e3c Enable db config cache explicitly
previous config is not cached because it is initialized when cache is not ready

Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-11-04 16:01:25 +08:00
Yang Jiao
360809bfd2 Add e2e image include test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-03 18:31:00 +08:00
孙世军
71ee8b57c2
Remove loading for auto refreshing (#15914)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-03 14:29:54 +08:00
孙世军
264a320d38
Add pagination for user groups (#15932)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-03 14:29:24 +08:00
Yang Jiao
2d6973febf
Merge pull request #15905 from YangJiao0817/add-wasm-to-harbor-case
Add wasm-to-oci test cases for harbor push and pull
2021-11-02 16:51:38 +08:00
Yang Jiao
b3c959a7ab
Merge pull request #15879 from YangJiao0817/add-helm3.7-case2python
Add test cases helm3.7 CLI push in python test
2021-11-02 16:51:04 +08:00
stonezdj(Daojun Zhang)
465240216a
Merge pull request #15864 from stonezdj/21oct25_fix_crash_missing_ldap_attribut
Check empty ldap attributes value
2021-11-02 08:56:33 +08:00
stonezdj
ec23ddabc3 Check empty ldap attributes value
fixes #11986

Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-11-01 17:56:37 +08:00
孙世军
44f477e965
Change ng-swagger-gen to a stable version (#15903)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-10-29 18:44:20 +08:00
Yang Jiao
37bc1872e2 Add wasm-to-oci test cases for harbor push and pull
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-29 16:26:02 +08:00
孙世军
fed84069a2
Fix css issue for chart label filter (#15891)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-10-29 10:38:52 +08:00
孙世军
ec1c8c9cd3
Upgrade Clarity and Angular to latest stable version (#15887)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-10-28 17:21:39 +08:00
Yang Jiao
72be9df283 Add test cases helm3.7 CLI push in python test
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-27 18:59:08 +08:00
Aaron Layfield
7b75a456d3
Robot Account CREATE / DELETE Label (#15815)
Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com>
2021-10-27 14:24:07 +08:00
Yang Jiao
57431aa8cc
Support helm3.7 in nightly (#15819)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-26 17:27:45 +08:00
Yang Jiao
60ab3aeb27
Merge pull request #15832 from YangJiao0817/fix-python-testcase-security
Fix issues in python api test
2021-10-26 11:16:26 +08:00
He Weiwei
4037a478a9
chore: bump up trivy adapter to v0.24.0 (#15872)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-10-25 18:48:08 +08:00