Bin Liu
b232c90442
fix: non-ASCII chars in swagger.yaml ( #18642 )
...
There are a `ß` char and some U+ff5c "|" in the swagger.yaml.
The character U+ff5c "|" could be confused with the
ASCII character U+007c "|".
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-05-09 10:54:41 +08:00
Shijun Sun
2fec790148
Copy swagger.json to the dist folder ( #18646 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-09 09:27:03 +08:00
Peter Dave Hello
0e3e70bc7a
Improve zh-tw (Traditional Chinese) locale ( #18608 )
...
Improve zh-tw locale
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2023-05-08 10:55:04 +08:00
Yang Jiao
aaea068cce
Upgrade the internal PostgreSQL to 14 in 2.9.0 ( #18612 )
...
Fix #18338
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-05 10:32:39 +08:00
Shijun Sun
0a3509f8a7
Replace python script with node script for portal Dockerfile ( #18635 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-04 17:38:03 +08:00
Chlins Zhang
362387f914
fix: improve the performance of list artifacts ( #18610 )
...
1. Change the query for listing tasks of scan which can use the db
index.
2. Add the gin index for task.extra_attrs.report_uuids
Fixes : #18013
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-30 09:10:28 +08:00
Yang Jiao
c09e539027
Remove notary test cases ( #18620 )
...
Fix #17955
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-28 16:09:40 +08:00
Peter Dave Hello
010042fb92
Specify proper language in CONTRIBUTING.md code blocks ( #18605 )
...
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2023-04-28 09:32:18 +08:00
Shijun Sun
1bbe8c57e7
Fix message prompt under the header ( #18613 )
...
1.Fixes #18601
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-27 18:03:05 +08:00
MoonStrider
bf6389e6c8
fix: error log use wrong variable err ( #18602 )
...
Update manager.go
Signed-off-by: MoonStrider <37744291+dyf991645@users.noreply.github.com>
2023-04-26 21:10:41 +08:00
Per
e20e4401cb
fix: link to Github's rate limiting documentation. ( #18588 )
...
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2023-04-25 13:11:40 +03:00
MinerYang
ebac530b46
add goheader linter settings ( #18503 )
...
fix files for goheader linter
fix copyright 2018/2019
Signed-off-by: yminer <yminer@vmware.com>
2023-04-25 11:18:42 +08:00
Yash Raj Singh
7ace561e55
Fixed Golint & FGT installation commands in Project Setup Documentation ( #18282 )
...
Fixed Golint & FGT installation commands
Signed-off-by: yrs147 <yashraj14700728@gmail.com>
2023-04-24 13:56:41 +08:00
MinerYang
2d98e8fe1e
Allow redis password using safe special characters ( #18566 )
...
allow redis password safe special characters
Signed-off-by: yminer <yminer@vmware.com>
string and None type conversion
2023-04-24 11:01:46 +08:00
Yang Jiao
0da12250ce
Add Job Service Dashboard Workers testcase ( #18580 )
...
Fix #17949
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-23 21:26:44 +08:00
Yang Jiao
8229134c72
Fix setup docker error ( #18583 )
...
Fix this error[https://github.com/goharbor/harbor/actions/runs/4776991336/jobs/8492390908 ]
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-23 19:26:17 +08:00
Shijun Sun
dd973b1593
Add missing i18n key-value for helm chart ( #18578 )
...
1.Fixes #18572
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-23 15:03:04 +08:00
Yang Jiao
c453e6eb9c
Update Support Matrix ( #18540 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-20 18:16:35 +08:00
Yang Jiao
52d980eb46
Fix Handling skipped but required checks ( #18570 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-20 18:03:02 +08:00
Yang Jiao
9ba18f8fe6
Handling skipped but required checks ( #18564 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-20 16:33:37 +08:00
Shijun Sun
e793e2433d
Update position to vertical-align for copy button ( #18563 )
...
Fixes #17906
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-20 15:40:24 +08:00
Yang Jiao
c7cbf0fcdb
Add Job Service Dashboard Schedules testcase ( #18555 )
...
Fix #17949
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-20 11:11:59 +08:00
MinerYang
8df99a5116
bump golang.org/x/net && helm.sh/helm/v3 on main ( #18545 )
...
bump golang.org/x/net v0.9.0 on main
Signed-off-by: yminer <yminer@vmware.com>
bump helm.sh/helm/v3 v3.11.3
2023-04-18 19:18:04 +08:00
Maxi_Mega
96bc43f7ab
Fix typos in common.sh ( #18151 )
...
* Fix typos in common.sh
Signed-off-by: Maxi_Mega <52792549+Maxi-Mega@users.noreply.github.com>
* Apply suggestions from code review
Signed-off-by: Orlix <OrlinVasilev@users.noreply.github.com>
* Add a new line at the end of make/common.sh
Co-authored-by: Orlix <OrlinVasilev@users.noreply.github.com>
Signed-off-by: Maxi_Mega <52792549+Maxi-Mega@users.noreply.github.com>
---------
Signed-off-by: Maxi_Mega <52792549+Maxi-Mega@users.noreply.github.com>
Signed-off-by: Orlix <OrlinVasilev@users.noreply.github.com>
Co-authored-by: Orlix <OrlinVasilev@users.noreply.github.com>
2023-04-17 16:56:19 +08:00
pgillich
eec5342490
feat: log with trace ID ( #18181 )
...
feat: log trace ID
Implements #18029
If the Trace ID is sent to the Harbor in HTTP header or the tracing
is enabled (and the Trace ID is generated), the Trace ID will be
added to the log lines as a new field.
Signed-off-by: Peter Gillich <pgillich@gmail.com>
2023-04-17 15:03:00 +08:00
Shijun Sun
de6e517136
Upgrade harbor-portal to v2.9.0 ( #18525 )
...
1.Magrate protractor to cypress as protractor has been deprecated
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-13 18:52:06 +08:00
Chlins Zhang
d3d6e29aa3
fix: update stopped execution status immediately instead of async update ( #18527 )
...
Update the stopped execution status immediately becasue the user
experience is not good if wait long time when stop or reschedule a job.
Fixes : #18526
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-13 17:52:41 +08:00
Iceber Gu
3afa525f0b
Change the permissions of the *.go file from 0755 to 0644 ( #17919 )
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-04-13 09:07:36 +02:00
Danny Kulchinsky
14e4c07d94
GC: correctly handle manifest unknown (404) condition in v2DeleteManifest retry loop ( #18386 )
...
GC: handle manifest unknown (404) during V2 manifest delete retry loop
Signed-off-by: Danny Kulchinsky <dkulchinsky@fastly.com>
2023-04-12 22:52:52 +02:00
Shijun Sun
b201f9864f
Synchronize text modification of quota tooltip to all the i18n files ( #18518 )
2023-04-12 10:55:02 +03:00
Chlins Zhang
b755c43d12
fix: clean the redis if the execution is not found ( #18517 )
...
Delete the execution outdated status key in the redis when the execution
is not found.
Fixes : #18511
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-12 14:17:42 +08:00
Orlix
7edb447e14
Reword quota definitions based on user input ( #18512 )
...
Fixes: https://github.com/goharbor/harbor/issues/17545
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2023-04-12 11:50:33 +08:00
Shijun Sun
d01125a4cf
Update nightly-trivy-scan.yml for the workflows ( #18510 )
...
Update nightly-trivy-scan.yml
1. Update v2.7.0-dev to v2.8.0-dev as main branch is in v2.9.0 now
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-11 12:55:12 +08:00
Shengwen YU
44cfc088d3
feat: update TRIVYVERSION=v0.39.0 & TRIVYADAPTERVERSION=v0.30.10 ( #18501 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-04-11 11:27:50 +08:00
Wang Yan
9ae948e066
bump base version ( #18485 )
...
Upgrade base version to v2.9.0
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-04-10 16:58:59 +08:00
MinerYang
7afdb932b2
bump golang 1.20.3 on main ( #18492 )
...
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-04-10 09:27:31 +08:00
Orlix
1a8b9189b6
Update proposal process with steps and board ( #18379 )
...
Co-authored-by: Thomas Coudert <couderthomas@gmail.com>
Co-authored-by: Orlix <OrlinVasilev@users.noreply.github.com>
2023-04-07 14:44:21 +03:00
Yang Jiao
cbf0a86ba2
Update UI testcases ( #18491 )
...
1. Update copy test case to add retries
2. Updata P2P Preheat test case to waiting
3. Update the Replication new rule button xpath
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-07 17:22:58 +08:00
Chlins Zhang
5791f0c979
fix: fix error bitsize of jobservice reaper scan locks ( #18487 )
...
Change the bitSize from 16 to 64 in the jobservice reaper, the 16 is too
small when the redis cursor over the max value of int16.
Fixes : #18486
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-07 10:59:30 +08:00
dependabot[bot]
499940a8a7
Bump mheap/github-action-required-labels from 3 to 4 ( #18472 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2023-04-06 12:01:18 +03:00
Chlins Zhang
697f1c79ef
fix: fix the regexp of execution status outdate key ( #18481 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-05 13:53:45 +08:00
Chlins Zhang
72a6ef2514
style: adjust the style of migration SQL ( #18475 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 17:37:27 +08:00
Chlins Zhang
62bb56daf6
refactor: refresh the execution status in async mode ( #18434 )
...
Refactor the logic for updating the status of execution when receiving
the hook from jobservice, avoid the optimistic lock due to the multiple
tasks update one execution by refreshing the status asynchronously. But
still retain the old way by specifying the flag from ENV.
Fixes : #17584
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 16:37:37 +08:00
Shengwen YU
1e884c58c2
feat: update TRIVYVERSION=v0.38.2 & TRIVYADAPTERVERSION=v0.30.9 ( #18473 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-04-04 15:25:17 +08:00
Wang Yan
60d9664cbc
fix accessory replication issue ( #18471 )
...
Fixes #18404
Support multiple level accessories replication.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-04-04 12:46:46 +08:00
MinerYang
de20659da5
bump golang 1.20.2 ( #18469 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-04-04 10:59:16 +08:00
Chlins Zhang
a7cef5e24f
fix: wrap schedule/exec/task creation as orm tx ( #18458 )
...
Wrap orm tx when the scheduler try to create the task because submit job
maybe failure depends on the jobservice.
Fixes : #18452
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 08:42:18 +08:00
Chlins Zhang
02c51c6b70
fix: correct the retention webhook payload ( #18462 )
...
Fix the incorrect number of total and retained in the retention webhook
payload, and completes the deleted_artifacts field.
Fixes : #18428
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-03 17:51:02 +08:00
Shijun Sun
1499faf67d
Update styles for UI according to the designer's suggestions ( #18463 )
...
1. extend the width for event type label
2. add quotes for Retain image last pull time to make it more understandable
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-03 16:47:21 +08:00
Yang Jiao
f5be644d35
Update UI test cases ( #18470 )
...
1. Update replication role testcase
2. Update job service dashboard testcase
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-03 16:01:51 +08:00