1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00

221 Commits

Author SHA1 Message Date
OpenShift Cherrypick Robot
92550bb48d [redhat-3.12] deps: update cipher-base to version 1.0.6 (PROJQUAY-9336) (#4227)
* Update cipher-base to version 1.0.6

* update web package-lock.json

---------

Co-authored-by: Antonio Carlos Royo <aroyo@aroyo-thinkpadp1gen7.rmtco.csb>
Co-authored-by: Antonio Carlos Royo <aroyo@redhat.com>
2025-09-01 14:21:16 +00:00
Demetrius
583c916c5f [redhat 3.12] deps: update sha.js to 2.4.12 (PROJQUAY-9341) (#4221)
update sha.js to 2.4.12
2025-08-27 08:27:11 -05:00
Antonio Carlos Royo
56cc7fa16a [redhat-3.12] deps: update pbkdf2 to version 3.1.3 (PROJQUAY-9091) (#4114)
* update pbkdf2 to version 3.1.3

* updating registry proxy tests

---------

Co-authored-by: Antonio Carlos Royo <aroyo@aroyo-thinkpadp1gen7.rmtco.csb>
2025-07-07 15:05:53 -03:00
Brandon Caton
c2331fb828 ui: fixing cypress flake (PROJQUAY-8352) (#3512)
There's a flake in the web/cypress/e2e/repository-permissions.cy.ts test where it is intermittently unable to type in the "Search for user, add/create robot account" search dropdown which occasionally fails the test. Since updating cypress the test fails consistently. This changes waits and clicks on the input allowing the type to complete and the dropdown to populate.
2024-12-13 19:36:42 +00:00
OpenShift Cherrypick Robot
81a778dd9e [redhat-3.12] dep: updating axios (PROJQUAY-7657) (#3466)
Upgrading axios

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2024-12-05 17:14:47 -05:00
OpenShift Cherrypick Robot
58624700f1 [redhat-3.12] ui: Update regex pattern helper text for validating team name (PROJQUAY-8110) (#3355)
* ui: update regex pattern in helpertext for team name(PROJQUAY-8110)

Signed-off-by: harishsurf <hgovinda@redhat.com>

* old ui: update regex pattern for validating team name

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
Co-authored-by: harishsurf <hgovinda@redhat.com>
2024-11-21 18:22:02 +05:30
OpenShift Cherrypick Robot
89b643ddac [redhat-3.12] bug: too strict validateTeamName regex (PROJQUAY-7606) (#3379)
bug: too strict validateTeamName regex (PROJQUAY-7606)

If you PUT against /api/v1/organization/mirrors/team/CAPITAL-LETTERS
you'll get a different regex back.

  Invalid team name CAPITAL-LETTERS: Namespace must match expression
  ^([a-z0-9]+(?:[._-][a-z0-9]+)*)$

Let's use this more permissive regex in the web-ui instead.

Co-authored-by: Erik Berg <erikberg@usit.uio.no>
2024-11-05 20:06:16 +00:00
OpenShift Cherrypick Robot
a7d7f0e989 [redhat-3.12] build(deps): bump cookie and express in /web (#3320)
build(deps): bump cookie and express in /web

Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 10:16:41 -04:00
OpenShift Cherrypick Robot
64dca5c618 [redhat-3.12] build(deps-dev): bump webpack from 5.76.0 to 5.95.0 in /web (#3286)
build(deps-dev): bump webpack from 5.76.0 to 5.95.0 in /web

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 15:42:26 -04:00
OpenShift Cherrypick Robot
00bb6e9bfa [redhat-3.12] build(deps): bump body-parser and express in /web (#3272)
build(deps): bump body-parser and express in /web

Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 16:10:25 +00:00
Ivan Bazulic
c6114771fd ui: Fix UI x-axis display (PROJQUAY-7467) (#3097)
* bug: Fix UI x-axis display (PROJQUAY-7467)
Several fixes were made:

- We weren't properly displaying the `x` axis. This change increases the border padding to properly display the axis at the bottom.
- We weren't properly setting the legend font colors which made it impossible to see it when dark mode was turned on. We now properly apply them.
- If loaded logs were empty, the graph would not render properly. We check if any data should be rendered, if not, we display a message instead of rendering the graph.

* Fix indentation

* Fix indentation, take 2

* Fix linting, take 3

* Add test

* Fix tests

* bug: Correct padding on graph rendering (PROJQUAY-7467)
The previous changes were not sufficient when only one action was recorded. We now set fixed padding on the bottom to `50px` instead of dynamically allocating it to resolve the problem.

* Fix linting
2024-07-29 15:27:01 -04:00
Marcus Kok
d3be959bb7 [redhat-3.12] ui: add search bar for usage logs (PROJQUAY-7109) (#3096)
add search bar for usage logs

manual cherry pick of PROJQUAY-7109 due to merge conflict
2024-07-29 18:12:14 +00:00
Brandon Caton
9281363e87 ui: adding message that registry wide autoprune has been enabled (PROJQUAY-7452) (#3045)
adding message that registry wide autoprune has been enabled
2024-07-17 15:22:13 -04:00
OpenShift Cherrypick Robot
7785b4defb [redhat-3.12] registry: index manifest artifact type for filtering (PROJQUAY-7471) (#3040)
registry: index manifest artifact type for filtering (PROJQUAY-7471)

Previous assumption made use of the config media type only, which is not the case
if a manifest's artifact type is explicitly set. i.e the config's media type and
artifact type are different, and the artifact type take precedence for filtering.

Co-authored-by: Kenny Lee Sin Cheong <kenny.lee28@gmail.com>
2024-07-17 14:41:55 +00:00
Brandon Caton
a6918da548 oauth: logging assign oauth action to audit logs (PROJQUAY-7431) (#3033) (#3034)
logging assign oauth action to audit logs
2024-07-16 15:58:45 -04:00
OpenShift Cherrypick Robot
a0dabcb542 [redhat-3.12] ui: add helper text for input (PROJQUAY-7442) (#3017)
* ui: add helper text for input (PROJQUAY-7442)

* minor fixes

* fixing tests

* minor revert

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2024-07-11 14:41:58 +00:00
OpenShift Cherrypick Robot
3e43a5f50e [redhat-3.12] ui: fix for negative integers in image expiry days (PROJQUAY-7442) (#3014)
ui: fix for negative integers in image expiry days (PROJQUAY-7442)

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2024-07-10 14:51:16 +00:00
Sunandadadi
8812ebc16d ui: Frontend changes for repo image expiry notification (PROJQUAY-7078) (#2986)
* database: adding subject_backfilled index to manifest table (PROJQUAY-7360) (#2963)

adding subject_backfilled index to manifest table

* Rebasing with latest

* updating cypress data

* Rebasing with latest

* Forcing an empty commit.

* minor fixes

* Rebasing with latest

* format fix

* ui

* Forcing an empty commit.

* adding ui validations

* minor type check fix

---------

Co-authored-by: Brandon Caton <bcaton@redhat.com>
2024-06-27 19:10:09 -04:00
Marcus Kok
1d4865a0f9 ui: adjust large legends for usage logs (PROJQUAY-7384) (#2978)
adjust large legends for usage logs
2024-06-26 09:12:19 -04:00
Sunandadadi
6c371c5406 db: updates for image expiry notification (PROJQUAY-7075) (#2894)
* resolving conflicts

* database: adding subject_backfilled index to manifest table (PROJQUAY-7360) (#2963)

adding subject_backfilled index to manifest table

* adding index to last_ran_ms and updating alembic head

* minor fixes

* updating cypress data

---------

Co-authored-by: Brandon Caton <bcaton@redhat.com>
2024-06-25 15:59:40 -04:00
dependabot[bot]
377e858f9a build(deps): bump sanitize-html from 2.10.0 to 2.13.0 in /web (#2976)
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.10.0 to 2.13.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.10.0...2.13.0)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 17:22:53 +00:00
Brandon Caton
e4f05583c1 oauth: allowing to assign token to user (PROJQUAY-7074) (#2869)
Allow organization administrators to assign Oauth token to another user.
2024-06-25 09:23:51 -04:00
Brandon Caton
bc06a3ef36 database: adding subject_backfilled index to manifest table (PROJQUAY-7360) (#2963)
adding subject_backfilled index to manifest table
2024-06-24 14:04:27 -04:00
dependabot[bot]
c9415826c3 build(deps): bump ejs from 3.1.6 to 3.1.10 in /web (#2857)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 14:47:05 +02:00
dependabot[bot]
95a48ce33e build(deps): bump braces and webpack in /web (#2944)
Bumps [braces](https://github.com/micromatch/braces) to 3.0.3 and updates ancestor dependency [webpack](https://github.com/webpack/webpack). These dependencies need to be updated together.


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `webpack` from 4.46.0 to 5.76.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.46.0...v5.76.0)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
- 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-06-24 14:40:23 +02:00
Kenny Lee Sin Cheong
4546163e83 registry: implements the OCI 1.1 referrers API (PROJQUAY-7280) (#2597)
* registry: implements the OCI 1.1 referrers API

Migrations:
- Adds a subject column for lookup
- Adds a subject_backfilled column to track status of the backfilling
of existing manifests
- Adds a manifest_json column making use of postgres' JSONB support,
for future use.

Manifestsubjectbackfillworker: Indexes existing manifests for possible
existing subject field.

* Deprecate IGNORE_UNKNOWN_MEDIATYPES

* Cleanup
2024-06-07 13:28:13 -04:00
dependabot[bot]
d6664d54b8 build(deps): bump @babel/traverse from 7.17.10 to 7.23.2 in /web (#2415)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 18:22:35 +02:00
dependabot[bot]
76459cc16f build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.19.0 to 5.62.0 in /web (#2688)
build(deps-dev): bump @typescript-eslint/eslint-plugin in /web

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.19.0 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  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>
2024-05-16 18:21:44 +02:00
dependabot[bot]
73060011e3 build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /web (#2764)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 18:21:16 +02:00
dependabot[bot]
527a72914c build(deps): bump express from 4.17.3 to 4.19.2 in /web (#2799)
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.3...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:07:15 +02:00
Daniel Messer
165dc6cd97 ui: fix locale and layout issues with the time picker in tag expiration modal (PROJQUAY-7069) (#2840)
* adjust date formatting for browser locale

Signed-off-by: dmesser <dmesser@redhat.com>
2024-04-26 22:06:48 +02:00
Sunandadadi
f0bce432c2 ui: disable invited tab when team is synced (PROJQUAY-6831) (#2838)
* ui: disable invited tab when team is synced (PROJQUAY-6831)

* using strict comparision
2024-04-26 09:17:00 -04:00
Daniel Messer
17c41ff45e ui: overview page fixes (PROJQUAY-7107) (#2843)
* dark mode, layout and content fixes

Signed-off-by: dmesser <dmesser@redhat.com>

* dark mode support

Signed-off-by: dmesser <dmesser@redhat.com>

* adjust test expectations

Signed-off-by: dmesser <dmesser@redhat.com>

* correct expected location

Signed-off-by: dmesser <dmesser@redhat.com>

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2024-04-26 15:09:14 +02:00
Sunandadadi
05388866db ui: fixing failing cypress test (PROJQUAY-7106) (#2841) 2024-04-26 08:29:44 -04:00
Sunandadadi
81682c96d0 oidc: ask for group object id for azure oauth login (PROJQUAY-6917) (#2805)
* oidc: ask for group object id for azure oauth login (PROJQUAY-6917)

* fixing tests

* adding tests
2024-04-24 10:18:31 -04:00
Brandon Caton
a3ece324c3 ui: batching requests in repository list page (PROJQUAY-6972) (#2827)
This change batches requests when trying to fetch all repositories the current user has access too. Otherwise the UI will make simultaneous requests equal to the number of organizations, where if the number is great enough it will exhaust the browser resources and cause the page to crash.
2024-04-19 15:14:29 -04:00
Daniel Messer
5798dd5006 ui: Allow to configure the Kubernetes pull secret scope for Robot Tokens (PROJQUAY-7012) (#2823)
implement scoped Kubernete secret creation

Signed-off-by: dmesser <dmesser@redhat.com>
2024-04-19 09:34:51 +02:00
dependabot[bot]
c546115021 build(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /web (#2790)
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.1 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.1...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:09:50 +02:00
Sunandadadi
c02551b5fc ui: non org admins cannot remove team sync (PROJQUAY-6924) (#2787)
non org admins cannot remove team sync
2024-03-27 10:14:44 -04:00
Harish Govindarajulu
aacbf97d1b ui: Add human readable autoprune policy method type (PROJQUAY-6918) (#2781)
* ui: Add human readable autoprune policy method type (PROJQUAY-6918)

* Fix cypress test

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-22 14:33:07 +05:30
Marcus Kok
4ae7593238 logs: adjust graph padding dynamically (PROJQUAY-6857) (#2754)
Adjust usage log graph padding dynamically.
2024-03-19 14:46:22 -04:00
Marcus Kok
d0ed29b2f8 logs: add button to hide/show logs (PROJQUAY-6826) (#2757)
Add button to hide usage log chart.
2024-03-19 14:45:55 -04:00
Bill Dettelback
49eddb992b ui: changed wording from 'Vulnerabilities' to 'Advisories' on Security tab (PROJQUAY-6638) (#2772)
Changed wording from 'Vulnerabilities' to 'Advisories' on Security tab
2024-03-19 08:35:40 -04:00
Marcus Kok
6f2905b10e logs: add action log for team sync enable/disable (PROJQUAY-6763) (#2750)
* add action log for team sync enable/disable
* adds alembic migration for team sync logs added to log kind table
2024-03-18 14:22:23 -04:00
Marcus Kok
285ead9050 logs: enable logs for user namespace (PROJQUAY-6855) (#2751)
enable logs for user namespace
2024-03-18 08:25:28 -04:00
Sunandadadi
ed7ea5759d ui: rename directory sync to team sync (PROJQUAY-6880) (#2752) 2024-03-13 08:45:26 -07:00
Sunandadadi
061412abe9 ui: show delete option for robot accounts when team is synced with external group (PROJQUAY-6828) (#2737)
fixing display of trash icon when team sync is enabled + tests
2024-03-10 12:03:55 +01:00
Harish Govindarajulu
234243ddc4 ui: add description for log kind autoprune policy (PROJQUAY-6781) (#2727)
* ui: add description for logkind autoprune policy (PROJQUAY-6781)

* Add log description for proxy cache config logentrykind

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-07 23:57:29 +05:30
Harish Govindarajulu
a509ea1d3b ui: show repository autoprune tab only for repo write permission (PROJQUAY-6780) (#2723)
ui: show repository autoprune tab only for write permission (PROJQUAY-6780)

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-07 23:55:59 +05:30
Harish Govindarajulu
3e55c5940b autoprune: add alembic script to remove unique constraint on index (PROJQUAY-6782) (#2725)
Make "repositoryautoprunepolicy_namespace_id" index not unique to avoid
duplicate key violation error

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-07 23:53:57 +05:30