Commit Graph

12230 Commits

Author SHA1 Message Date
stonezdj(Daojun Zhang)
21de42421f
[WIP] Remove unused files (#20791)
Remove unused files

   fix golint warnings

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-10-24 21:07:07 +00:00
miner
a7b91b5414
bump up dependencies (#21088)
Signed-off-by: yminer <yminer@vmware.com>
2024-10-24 18:32:16 +08:00
Wang Yan
6c394232b6
fix build package issue (#21087)
Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-24 16:48:58 +08:00
László Rafael
8254c02603
Fix auth config oidc scope regex (#20483) 2024-10-24 08:09:44 +00:00
Wang Yan
bfa67a7d61
temporary disable gpg sign (#21085)
to avoid blocking the rc, let's temporary disable the gpg sign for development build since the key was expired at Oct 21.
I will fix it after RC and revert the code change

Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-24 15:19:42 +08:00
Wang Yan
e8722c06e9
add pagesize for replicaiton (#21081)
fixes #20430, set the pagesize to 100 when to list artifact on replication

Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-24 14:13:58 +08:00
Wang Yan
610cc0a16c
refresh base image (#21084)
Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-24 13:37:32 +08:00
Prasanth B
e4b6a091fd
Fix Default Horizontal Scrollbar in Replication Page (#21033)
* fix default scrollbar in replication page

Signed-off-by: bupd <bupdprasanth@gmail.com>

* update replication table columns

* updates replication hidden columns order.

Signed-off-by: bupd <bupdprasanth@gmail.com>

---------

Signed-off-by: bupd <bupdprasanth@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2024-10-22 11:32:48 +02:00
stonezdj(Daojun Zhang)
c14c3dbf9e
Change setHealth to setUnHealth to avoid misunderstanding (#21047)
fixes #19923

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-10-17 08:28:13 +00:00
Lichao Xue
5ac9733396
Fixes-21021 Display proxy cache in project configuration page (#21048)
Signed-off-by: xuelichao <xuel@vmware.com>
Co-authored-by: Lichao Xue <lichao.xue@broadcom.com>
2024-10-17 14:59:28 +08:00
stonezdj(Daojun Zhang)
4a5185995e
change the base directory of prepare container in macOS (#21035)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-10-15 07:54:32 +00:00
Liang Zheng
de6c96be4c
fix: nil pointer dereference when failed to scan out the quota records from redis (#21046)
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2024-10-15 15:13:13 +08:00
stonezdj(Daojun Zhang)
ab3d3504fb
Change the log level from warning to debug to avoid noise when there … (#21034)
Change the log level from warning to debug to avoid noise when there are many unused ldap groups for each user

  fixes #20038

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-10-14 11:34:15 +00:00
Wang Yan
66ccf302f3
remove the robot update permission (#21028)
from the perspective of preventing privilege escalation, remove the robot update permission from the possilbe permission set

Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-12 18:08:50 +08:00
dependabot[bot]
c4bad32bb3
chore(deps): bump github.com/volcengine/volcengine-go-sdk from 1.0.138 to 1.0.159 in /src (#20984)
chore(deps): bump github.com/volcengine/volcengine-go-sdk in /src

Bumps [github.com/volcengine/volcengine-go-sdk](https://github.com/volcengine/volcengine-go-sdk) from 1.0.138 to 1.0.159.
- [Release notes](https://github.com/volcengine/volcengine-go-sdk/releases)
- [Commits](https://github.com/volcengine/volcengine-go-sdk/compare/v1.0.138...v1.0.159)

---
updated-dependencies:
- dependency-name: github.com/volcengine/volcengine-go-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: miner <yminer@vmware.com>
2024-10-12 09:08:40 +00:00
Jim Chen
67d0fecc7b
feat: support Alibaba ACR proxy cache type (#19692)
* feat: support Alibaba ACR proxy cache type

Signed-off-by: njucjc <njucjc@gmail.com>

* chore: replace  'Alibaba ACR' to 'Alibaba Cloud ACR'

Signed-off-by: njucjc <njucjc@gmail.com>

---------

Signed-off-by: njucjc <njucjc@gmail.com>
Co-authored-by: chenjici.cjc <chenjinci.cjc@alibaba-inc.com>
2024-10-12 11:07:13 +08:00
Jim Chen
69bea4daa3
Feat: add acr ee support (#19658)
* feat: add acr ee support

Signed-off-by: njucjc <njucjc@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2024-10-11 18:34:38 +08:00
dependabot[bot]
0d9dc7096f
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.54.0 to 0.55.0 in /src (#20983)
* chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.54.0 to 0.55.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.54.0...zpages/v0.55.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy

Signed-off-by: yminer <miner.yang@broadcom.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
2024-10-11 13:53:53 +08:00
dependabot[bot]
00b14701e6
chore(deps): bump golang.org/x/time from 0.5.0 to 0.7.0 in /src (#21008)
* chore(deps): bump golang.org/x/time from 0.5.0 to 0.7.0 in /src

Bumps [golang.org/x/time](https://github.com/golang/time) from 0.5.0 to 0.7.0.
- [Commits](https://github.com/golang/time/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/time
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy

Signed-off-by: yminer <miner.yang@broadcom.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
Co-authored-by: miner <yminer@vmware.com>
2024-10-10 10:06:51 +00:00
miner
ab59a46a87
add prepare migration script for 2.12.0 (#21022)
Signed-off-by: yminer <miner.yang@broadcom.com>
2024-10-10 16:56:33 +08:00
Wang Yan
de281220b5
update golang version (#21014)
* update golang version

to golang v1.23.2

Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-10 13:36:18 +08:00
Daniel Jiang
f6eec371d7
Bump up trivy adapter (#21015)
update the version and point to the URL of new repository under goharbor

Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
2024-10-10 11:10:06 +08:00
Chlins Zhang
ad8c5df52e
fix: p2p instance test connection (#20968)
Signed-off-by: chlins <chlins.zhang@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2024-09-27 06:33:23 +00:00
kunal Dugar
ab400c9dd2
UI Changes for Configuring Proxy-Cache Speed Limit (#20946)
* Implemented proxy-cache bandwidth limit UI change

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>

* Removed ducplicate space between words

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>

* Fix UT issue

Signed-off-by: stonezdj <stone.zhang@broadcom.com>

---------

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
Co-authored-by: stonezdj <stone.zhang@broadcom.com>
2024-09-27 12:45:52 +08:00
Wang Yan
e4fe61ddb7
enable robot full access (#20754)
* have option to enable robot full access

When the system admin enable this option, the robot can be assigned with robot/user/group/quota permissions.

Signed-off-by: wang yan <wangyan@vmware.com>

* robot account permission enhancement

Update codes according to the proposal of https://github.com/goharbor/community/pull/249

Signed-off-by: wang yan <wangyan@vmware.com>

---------

Signed-off-by: wang yan <wangyan@vmware.com>
2024-09-26 19:09:50 +08:00
Vadim Bauer
d42c34786f
Make it possible to build the spectral image also on ARM (#20506)
* This makes changes makes it possible to build the spectral image also on ARM architecture.

* no message

Signed-off-by: Vadim Bauer <vb@container-registry.com>

* fix issue

Signed-off-by: Vadim Bauer <vb@container-registry.com>

---------

Signed-off-by: Vadim Bauer <vb@container-registry.com>
2024-09-26 07:11:11 +00:00
miner
cb7fef1840
Bump up portal packages (#20959)
Bump up portal package

Signed-off-by: yminer <yminer@vmware.com>

bump api-swagger-ui pacaakge
2024-09-25 14:06:20 +08:00
Renming
22eebd2693
Update comments in template file of installation configurations (#20929)
Signed-off-by: Simon Zhao <simon@SimondeMacBook-Pro.local>
Co-authored-by: Simon Zhao <simon@SimondeMacBook-Pro.local>
2024-09-25 04:07:00 +00:00
miner
febde11df3
bump up dependencies (#20955)
Signed-off-by: yminer <yminer@vmware.com>
2024-09-24 15:46:39 +08:00
Chlins Zhang
c97253f660
Refactor: p2p preheat dragonfly driver (#20922) 2024-09-21 11:05:01 +08:00
tostt
8d52a63311
Update fr-fr-lang.json (#20942)
Signed-off-by: tostt <tostt@users.noreply.github.com>
2024-09-20 09:27:48 +08:00
Wang Yan
438d4c03bb
update robot creator database scheme (#20918)
Signed-off-by: wang yan <wangyan@vmware.com>
2024-09-14 12:49:32 +08:00
dependabot[bot]
c5d2672360
chore(deps): bump github.com/go-openapi/runtime from 0.26.2 to 0.28.0 in /src (#20784)
chore(deps): bump github.com/go-openapi/runtime in /src

Bumps [github.com/go-openapi/runtime](https://github.com/go-openapi/runtime) from 0.26.2 to 0.28.0.
- [Release notes](https://github.com/go-openapi/runtime/releases)
- [Commits](https://github.com/go-openapi/runtime/compare/v0.26.2...v0.28.0)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: miner <yminer@vmware.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
Co-authored-by: miner <yminer@vmware.com>
2024-09-05 06:20:32 +00:00
dependabot[bot]
7662437303
chore(deps): bump github.com/coreos/go-oidc/v3 from 3.10.0 to 3.11.0 in /src (#20785)
chore(deps): bump github.com/coreos/go-oidc/v3 in /src

Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](https://github.com/coreos/go-oidc/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
Co-authored-by: miner <yminer@vmware.com>
2024-09-05 05:19:58 +00:00
dependabot[bot]
2a9411357a
chore(deps): bump github.com/aws/aws-sdk-go from 1.53.14 to 1.55.5 in /src (#20879)
chore(deps): bump github.com/aws/aws-sdk-go in /src

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.53.14 to 1.55.5.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.53.14...v1.55.5)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: miner <yminer@vmware.com>
2024-09-05 04:01:40 +00:00
dependabot[bot]
7a36f4fe0f
chore(deps-dev): bump webpack from 5.76.0 to 5.94.0 in /src/portal/app-swagger-ui (#20888)
chore(deps-dev): bump webpack in /src/portal/app-swagger-ui

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-05 11:25:17 +08:00
dependabot[bot]
108fa9e101
chore(deps): bump github.com/dghubble/sling from 1.1.0 to 1.4.2 in /src (#20783)
Bumps [github.com/dghubble/sling](https://github.com/dghubble/sling) from 1.1.0 to 1.4.2.
- [Release notes](https://github.com/dghubble/sling/releases)
- [Changelog](https://github.com/dghubble/sling/blob/main/CHANGES.md)
- [Commits](https://github.com/dghubble/sling/compare/v1.1.0...v1.4.2)

---
updated-dependencies:
- dependency-name: github.com/dghubble/sling
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2024-09-04 11:58:45 +00:00
dependabot[bot]
9ad8094440
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.49.0 to 0.54.0 in /src (#20878)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.49.0 to 0.54.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.49.0...zpages/v0.54.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
Co-authored-by: miner <yminer@vmware.com>
2024-09-04 09:26:24 +00:00
stonezdj(Daojun Zhang)
a946447cad
Escape the - with \- when it is a char of itself (#20892)
fixes #20891

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-09-03 10:30:18 +08:00
Chlins Zhang
9d11de9706
refactor: remove useless error check for scan data export job (#20883)
Signed-off-by: chlins <chlins.zhang@gmail.com>
Co-authored-by: miner <yminer@vmware.com>
2024-08-30 03:59:27 +00:00
Chongzhi Deng
234cd4ffc2
Fix typos in src/common (#20861)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-08-28 03:09:31 +00:00
kunal Dugar
146443e4d7
Fixed the ui bug of banner coming over the search result container (#20871)
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
2024-08-28 02:30:20 +00:00
Maksym Trofimenko
44284ac6c7
Feature export Harbor statistics as Prometheus metric (#18679)
add statistics metrics collector

Signed-off-by: Maksym Trofimenko <maksym.trofimenko@gmail.com>
Co-authored-by: Maksym Trofimenko <maksym.trofimenko@gmail.com>
2024-08-27 17:35:31 +03:00
Shengwen YU
1fd606a02b
fix: migrate cicd to registry goharbor (#20872)
* fix: migrate cicd to registry goharbor

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: use ${LOCAL_REGISTRY}

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-26 14:43:52 +08:00
Shengwen YU
15b3d53a29
fix: update helm.sh/helm/v3 and github.com/google/go-containerregistry (#20858)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-26 13:53:02 +08:00
Wang Yan
51eeb098ef
add creator for robot (#20846)
* add creator for robot

add the creator for robot creation

Signed-off-by: wang yan <wangyan@vmware.com>

* resolve comments

Signed-off-by: wang yan <wangyan@vmware.com>

* fix ut

Signed-off-by: wang yan <wangyan@vmware.com>

---------

Signed-off-by: wang yan <wangyan@vmware.com>
2024-08-15 14:43:19 +08:00
Wang Yan
8ad8827e28
enable audit log for robot (#20843)
1, add creation audit log for robot account
2, add deletion audit log for robot account

Signed-off-by: wang yan <wangyan@vmware.com>
2024-08-14 19:57:36 +08:00
Shengwen YU
8107f47e12
fix: update e2e test engine images (#20845)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-14 17:37:20 +08:00
Johan Kok
907709ff6d
Fix typo in Swagger API docs (#20841)
Signed-off-by: Johan Kok <post@johankok.nl>
2024-08-13 16:31:10 +08:00
Chlins Zhang
ccceacfa73
fix: fix the GC job index data race (#20830)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2024-08-12 12:24:16 +00:00