Commit Graph

10989 Commits

Author SHA1 Message Date
Shengwen YU
61a0d41532
Merge pull request #16205 from zyyw/current_time_systeminfo
feat: add current_time to the response of systeminfo api when user logged in
2022-01-12 18:35:38 +08:00
Shengwen Yu
b7af0f1529 feat: add current_time to the response of systeminfo api when user logged in
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-01-11 17:36:08 +08:00
孙世军
634f0139a0
Add co-sign checkbox for project policy (#16184)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-01-10 18:14:34 +08:00
Wang Yan
063991078a
Cosign policy checker (#16187)
Enable policy checker for cosign, when it's enabled, user cannot pull artifact without cosign.

Signed-off-by: wang yan <wangyan@vmware.com>
2022-01-10 17:44:01 +08:00
Shengwen YU
c0b496391c
Merge pull request #16094 from zyyw/gc-failure-tolerance
feat: add failure-tolerance for gc
2022-01-10 14:24:54 +08:00
Shengwen Yu
d2ae0165c9 feat: add failure-tolerance for gc
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-01-10 11:34:10 +08:00
Yang Jiao
0276906f46
Merge pull request #16191 from YangJiao0817/update-size-xpath
Update Artifact size cell xpath
2022-01-07 11:32:58 +08:00
Yang Jiao
406e6ea1e3 Update Artifact size cell xpath
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-06 13:47:15 +08:00
孙世军
2eda360d9d
Add co-sign UI (#16155)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-01-05 13:41:51 +08:00
Chenyu Zhang
b417e877b5
Merge pull request #16107 from chlins/feat/async-update-artifact-pull_count
feat: async update artifact pull time and repository pull count
2022-01-05 11:14:28 +08:00
Wang Yan
2111703d8d
Cosign artifact api
1,update artifact list & delete api to support accessory
2, add list accesories api

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-01-05 11:13:40 +08:00
stonezdj(Daojun Zhang)
3c0a5a936f
Merge pull request #16138 from stonezdj/21dec2_purge_upload
Add upload purge config to registry/config.yml
2022-01-04 13:01:37 +08:00
stonezdj
17d8b7b813 Add upload purge config to registry/config.yml
Enable the uploadpurging by default
  Fixes #15641

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-01-04 11:15:51 +08:00
chlins
de7978e1b5 feat: async update artifact pull time and repository pull count
Signed-off-by: chlins <chenyuzh@vmware.com>
2021-12-24 11:17:44 +08:00
Yang Jiao
5cd5bcaee4
Merge pull request #16165 from YangJiao0817/exclude-notaryccase
Temp disable test cases that rely on notary
2021-12-24 11:16:08 +08:00
Yang Jiao
338ab5844a Temp disable test cases that rely on notary
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-23 17:14:17 +08:00
Julio H Morimoto
ce319a9eca
Improvements for Brazilian Portuguese (pt-br) translation. (#15921)
Missing items and minor updates to improve the translation.

Signed-off-by: juliohm1978 <jhm@juliohm.com.br>
2021-12-17 10:36:42 +08:00
孙世军
d9a4f34819
Fix overlapping for repo cardview (#16125)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-16 13:49:20 +08:00
Chenyu Zhang
f3d1468458
Merge pull request #16126 from chlins/fix/codeql-log-injection
fix: resolve the codeql alerts
2021-12-15 14:58:27 +08:00
chlins
adf866e629 fix: resolve the codeql alerts
Signed-off-by: chlins <chenyuzh@vmware.com>
2021-12-15 13:49:42 +08:00
孙世军
46507c2fa9
Add preventDefault for action button of repo card view (#16117)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-14 11:44:25 +08:00
孙世军
2a7d4ae4d3
Add share operator to icon observable (#16101)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-14 11:44:07 +08:00
孙世军
d711f02401
Add querry parameter for setting.json (#16081)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-14 11:20:34 +08:00
Yang Jiao
3d26bbc2e2
Merge pull request #16110 from YangJiao0817/fix-test-ldap-server
Modify test ldap button xpath
2021-12-14 09:28:52 +08:00
Yang Jiao
10d3594c9f
Merge pull request #16108 from YangJiao0817/refresh-base-main-1210
Refresh base image
2021-12-10 15:41:48 +08:00
Yang Jiao
1377d2bb13 Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-10 14:32:04 +08:00
Qian Deng
7a5bab1c3e
Merge pull request #16104 from ninjadq/generated_rsa_key_format
Fix: using traditional `PKCS#1` format RSA key
2021-12-10 14:15:34 +08:00
DQ
12b5338985 Remove temporty workaround of openssl issue
Signed-off-by: DQ <dengq@vmware.com>
2021-12-10 11:34:18 +08:00
Qian Deng
69a194b2b4 Fix: using traditional PKCS#1 format RSA key
The openssl 3.0.0 using newer `PKCS#8` format.
But it's not compatitable with harbor core
So using tradictional format instead

Signed-off-by: Qian Deng <dengq@vmware.com>
2021-12-10 11:34:12 +08:00
Yang Jiao
83e7e8528c Modify test ldap button xpath
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-10 03:25:27 +00:00
孙世军
eb8db3215c
Fix unescaped URL for repo links (#16092)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-09 10:15:21 +08:00
Yang Jiao
5b7e684bc4
Merge pull request #16087 from YangJiao0817/fix-ci-master2main2
Modify build-package branch master to main
2021-12-07 17:53:35 +08:00
Yang Jiao
367dd02ef8 Modify build-package branch master to main
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-07 17:01:11 +08:00
Yang Jiao
a234fee730
Merge pull request #16086 from YangJiao0817/fix-ci-master2main
modify build-package branch master to main
2021-12-07 15:51:21 +08:00
Wang Yan
76b981faec
add cosign middleware (#16078)
The middleware is to land the cosign signature linkage with the subject artifact ID.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-12-07 15:43:10 +08:00
Yang Jiao
eff2ff03aa modify build-package branch master to main
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-07 14:59:48 +08:00
Chenyu Zhang
7e67c1f495
Merge pull request #15459 from yunkunrao/master
Refactor ping method into util pkg
2021-12-06 09:24:15 +08:00
rao yunkun
ce6bf73884 Merge remote-tracking branch 'upstream/main' 2021-12-05 16:34:04 +08:00
stonezdj(Daojun Zhang)
0c0489cbae
Merge pull request #15913 from stonezdj/21nov1_proxy_manifest_list_contenttype
Cache content type for manifest list and image index in perspective
2021-12-04 09:05:20 +08:00
Wang Yan
742e7ded00
add accessory dao service (#16045)
Signed-off-by: wang yan <wangyan@vmware.com>
2021-12-03 14:34:02 +08:00
stonezdj
6b77c11696 Cache content type for manifest list and image index in perspective
manifest list: application/vnd.docker.distribution.manifest.list.v2+json
  image index: application/vnd.oci.image.index.v1+json
  fixes #15837

Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-12-03 14:14:01 +08:00
Qian Deng
5fc4449450
Merge pull request #16029 from ninjadq/fix_chart_replication_issue
Fix: chart replication dup files issue
2021-12-03 13:47:42 +08:00
Yang Jiao
2ee4950400
Merge pull request #16077 from YangJiao0817/fix-paivate-key
Fix core private key
2021-12-03 12:03:48 +08:00
Yang Jiao
4a2242fe47 Fix core private key
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-03 10:55:35 +08:00
孙世军
846d690b85
Refactor config component (#16064)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-01 10:07:46 +08:00
Yang Jiao
43912674b1
Add robot account do replication test case (#16044)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-29 10:58:01 +08:00
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