1
0
mirror of https://github.com/quay/quay.git synced 2026-01-27 18:42:52 +03:00
Commit Graph

249 Commits

Author SHA1 Message Date
OpenShift Cherrypick Robot
bb62ab0454 [redhat-3.14] bug: make changes to taghistory page to accept manually entered date (PROJQUAY-8633) (#3939)
projquay-8633 accepting dates in DD MMM YYYY format + calendar button is visible + fixing alignment across entire toolbox + improved logic for consistency across different browser language settings

Co-authored-by: sayalibhavsar <sayalibhavsar9009@gmail.com>
2025-05-21 11:13:38 -04:00
OpenShift Cherrypick Robot
37dd0daffb [redhat-3.14] nit: change ModelCard to Model Card (PROJQUAY-8716) (#3869)
nit: change ModelCard to Model Card (PROJQUAY-8716)

Co-authored-by: Kenny Lee Sin Cheong <kenny.lee28@gmail.com>
2025-05-09 10:31:46 -04:00
Demetrius
5e6944581a cve: bumping cross-spawn to 6.0.6 and 7.0.6 (PROJQUAY-8849) (#3829)
deps: update cross-spawn from 6.0.x to 6.0.6
deps: update cross-spawn from 7.0.x to 7.0.6
2025-04-29 13:32:55 -03:00
OpenShift Cherrypick Robot
e5a84e85aa [redhat-3.14] ui: render modelcard markdown tables (PROJQUAY-8680) (#3758)
* ui: render modelcard markdown tables (PROJQUAY-8680)

* ui: oembed to render embeded video in markdown (PROJQUAY-8679)

* ui: render tables and embeded links in markdown (PROJQUAY-8673)

* Github linked videos and Patternfly code block

* Limit img source to github and huggingface

---------

Co-authored-by: Kenny Lee Sin Cheong <kenny.lee28@gmail.com>
2025-04-04 11:23:59 -04:00
Kenny Lee Sin Cheong
5f8ca041e7 ui: implement change to render modelcard stored in layers (PROJQUAY-8642) (#3692)
* ui: implement change to render modelcard stored in layers (PROJQUAY-8412)

When a manifest has certain annotations or artifactTypes, render the
applicable modelcard markdown in a new tags detail tab.

* removing untar when fetching model card

* removing extra api calls

* Add modelcar check tests

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2025-03-05 19:14:22 +00:00
Brandon Caton
4663a9de44 ui: adding under_maintenance state to status indicator (PROJQUAY-8507) (#3609)
Adding under_maintenance state to status indicator
2025-02-03 11:38:59 -05:00
Marcus Kok
f69716b867 marketplace: splittable sku for MW02702 (PROJQUAY-8151) (#3389)
* marketplace: splittable sku for MW02702 (PROJQUAY-8151)
* Alembic migration to drop unique constraint on the orgrhsubscriptions
  table
* Can split sub quantities of MW02702 across multiple orgs
* Can specify quantity for the MW02702 SKU across orgs on react UI
* Update angular UI to allow user to specify quantities for MW02702
2025-01-09 09:37:09 -05:00
Brandon Caton
f0907c806d dep: updating css-loader to 6.11.0 (PROJQUAY-8297) (#3537)
updating css-loader to 6.11.0
2025-01-06 09:41:58 -05:00
Brandon Caton
32b8702b9c ui: fixing cypress flake (PROJQUAY-8352) (#3509)
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 11:27:28 -05:00
Shubhra Deshpande
831319e3b4 dep: adding fallback for process/browser as dependency of axios update (PROJQUAY-7657) (#3499)
dep: adding fallback for process/browser as dependency of axios update

Co-authored-by: shudeshp <shudeshp@redhat.com>
2024-12-11 14:10:23 -05:00
Brandon Caton
aefc89ae51 dep: updating axios (PROJQUAY-7657) (#3462)
Updating axios
2024-12-05 16:36:35 -05:00
Harish Govindarajulu
813be12ea7 ui: Add proxy cache config UI to org settings (PROJQUAY-7697) (#3388)
* ui: Add proxy cache config UI to org settings (PROJQUAY-7697)

* Fix alerts + reset input fields on user action

* Add cypress test for proxy cache config

* enable proxy cache for cypress test

* Propagate backend api error to UI

* Add additional cypress test coverage

* Fix eslint error

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-11-27 07:56:20 +05:30
Daniel Messer
08d8922e54 ui: tag expiration settings support year values (PROJQUAY-8171) (#3370)
tag expiration settings support year values

Signed-off-by: dmesser <dmesser@redhat.com>
2024-10-29 13:35:57 +00:00
Harish Govindarajulu
2815424b72 ui: Render namespace values for <SelectOption> dropdown under Create Repository modal (PROJQUAY-8118) (#3356)
* ui: Render namespace values for <SelectOption> dropdown

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

* fix cypress test

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-10-24 20:56:26 +00:00
Sunandadadi
96eb824ba4 ui: show user autoprune policies under repo autoprune policies tab (PROJQUAY-8093) (#3359) 2024-10-24 15:15:22 +00:00
Harish Govindarajulu
9f72e2efd9 ui: Update regex pattern helper text for validating team name (PROJQUAY-8110) (#3353)
* 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>
2024-10-21 14:19:55 -04:00
Daniel Messer
8ec1badb43 ui: conditionally support custom tag expiration durations (PROJQUAY-6700) (#3341)
conditionally support custom tag expiration durations with reliable human-readable display

Signed-off-by: dmesser <dmesser@redhat.com>
2024-10-21 18:32:03 +02:00
Sunandadadi
296b5f35c3 notifications: fetch autoprune tags with multiple policies for image expiry notification (PROJQUAY-8117) (#3340)
* notifications: fetch autoprune tags with multiple policies for image expiry notification(PROJQUAY-8117)

* don't fetch notifications if tags expiry is greater than notification days + add tests
2024-10-18 16:17:07 -04:00
Syed Ahmed
e71b50b992 ui: add entry for robot federation config (PROJQUAY-8050) (#3316)
* ui: add entry for robot federation config (PROJQUAY-8050)

adding entry for showing description in the UI for robot federation config changes
2024-10-15 11:25:36 -04:00
dependabot[bot]
de2daadcad build(deps): bump cookie and express in /web (#3313)
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)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- 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-10-11 12:02:52 -04:00
Ivan Bazulic
77bc70a637 logs: Audit export logs requests (PROJQUAY-7679) (#3146)
* logs: Audit export logs requests (PROJQUAY-7679))
We add the ability to audit export logs requests that were previously not tracked.

* Add UI elements to properly render new audit log

* Truncate date/time column on exterme zooms

* Add initdb.py entries

* Fix migration and add test db data

* Add test database and fix migration paths

* Changed logging mechanism to grab raised exceptions

* Fix improper import

* Add date/time timestamp to saved metadata

* Change message on export logs screen in UI

* Changed message in old UI as well

* Change log description in new UI too

* Simplify call logic and add additonal information to logged errors
2024-10-03 13:07:22 -04:00
dependabot[bot]
c4387e6b48 build(deps-dev): bump webpack from 5.76.0 to 5.95.0 in /web (#3264)
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)

---
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-10-02 14:34:00 -04:00
Sunandadadi
ec61139e98 ui: clear state on delete autoprune policies (PROJQUAY-8003) (#3277)
* ui: clear state on delete autoprune policies (PROJQUAY-8003)

* add retries to tests + triggering click
2024-10-01 15:29:22 -04:00
Brandon Caton
a032e009a5 ui: adding tag pattern to audit logs in namespace policy list (PROJQUAY-8002) (#3273)
Adds the tag pattern to audit logs and the namespace policy list in the repository auto-pruning tab.
2024-10-01 11:19:47 -04:00
Sunandadadi
6ba9977157 ui: show all auto-pruning policies for namespace (PROJQUAY-7975) (#3262) 2024-10-01 09:22:39 -04:00
dependabot[bot]
84fc3161f8 build(deps): bump body-parser and express in /web (#3260)
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)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- 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-09-27 12:53:12 -04:00
dependabot[bot]
5eb9edfb0c build(deps): bump rollup from 2.70.2 to 2.79.2 in /web (#3259)
Bumps [rollup](https://github.com/rollup/rollup) from 2.70.2 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.70.2...v2.79.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 11:42:44 -04:00
Amir Fefer
c87d852f93 ui: fix confirm username modal loop (PROJQUAY-7982) (#3254)
ui-plugin: fix confirm username modal loop (PROJQUAY-7982)
2024-09-25 15:48:41 +00:00
Syed Ahmed
e9161cb3ae robots: Add robot federation for keyless auth (PROJQUAY-7803) (#3207)
robots: Add robot federation for keyless auth (PROJQUAY-7652)

adds the ability to configure federated auth for robots by
using external OIDC providers. Each robot can be configured
to have multiple external OIDC providers as the source for
authentication.
2024-09-24 11:32:38 -04:00
Sunandadadi
f327551ccc autoprune: support multiple organization and repository policies (PROJQUAY-7695) (#3209)
* autoprune: support multiple organization policies (PROJQUAY-7695)

* ui to support multiple org policies

* backend to support multiple repository autoprune policies

* ui: multiple repository policies

* fixing tests

* adding tests
2024-09-20 09:18:09 -04:00
Brandon Caton
27d7c149b9 db: adding immutable column to tag table (PROJQUAY-7777) (#3195)
Adding immutable column to tag table
2024-09-19 10:02:20 -04:00
Brandon Caton
6da65c5003 api: adding tag_pattern to autoprune API (PROJQUAY-7668) (#3188)
Allows users to specify a regex tag pattern when creating namespace/repository autoprune policies via the new UI. Users will have the option to prune tags that only match the tag pattern or exclude tags that match the tag pattern.
2024-09-13 09:48:51 -04:00
Marcus Kok
a2919e4db5 ui: add enable/disable team sync for log kinds (PROJQUAY-7388) (#2982)
add enable/disable team sync for log kinds
2024-09-06 16:17:45 -04:00
Sunandadadi
b1de06938b cypress: fix flake test (PROJQUAY-7624) (#3137)
* cypress: fix flake test (PROJQUAY-7624)

* format fix

* fetch using id of input parent

* removing chaning of commands
2024-08-13 13:26:49 -04:00
Erik Berg
43e6496419 bug: too strict validateTeamName regex (PROJQUAY-7606) (#3126)
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.
2024-08-12 13:10:56 -04:00
Ivan Bazulic
3c8ed17b17 bug: Fix UI x-axis display (PROJQUAY-7467) (#3066)
* 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.

* 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.
2024-07-22 11:11:54 -04:00
Ivan Bazulic
b0a3856c5a bug: Fix UI x-axis display (PROJQUAY-7467) (#3053)
* 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.
2024-07-22 09:25:53 -04:00
Brandon Caton
4c15712a82 db: fixing alembic migration (PROJQUAY-7493) (#3044)
fixing alembic migration
2024-07-17 15:02:53 -04:00
Brandon Caton
854046d904 ui: adding message that registry wide autoprune has been enabled (PROJQUAY-7452) (#3042)
adding message that registry wide autoprune has been enabled
2024-07-17 13:55:56 -04:00
Kenny Lee Sin Cheong
32890207da registry: index manifest artifact type for filtering (PROJQUAY-7471) (#3035)
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.
2024-07-16 22:33:38 +00:00
Brandon Caton
916aff690c oauth: logging assign oauth action to audit logs (PROJQUAY-7431) (#3033)
logging assign oauth action to audit logs
2024-07-16 14:24:17 -04:00
Marcus Kok
638b0a0195 ui: add search bar for usage logs (PROJQUAY-7109) (#2955)
add search bar for usage logs
2024-07-11 15:45:44 -04:00
Sunandadadi
1bff53e6a3 ui: add helper text for input (PROJQUAY-7442) (#3015)
* ui: add helper text for input (PROJQUAY-7442)

* minor fixes

* fixing tests

* minor revert
2024-07-11 10:04:18 -04:00
Sunandadadi
0cdd254ce1 ui: fix for negative integers in image expiry days (PROJQUAY-7442) (#3013) 2024-07-10 10:13:00 -04:00
Sunandadadi
13f6cd590c featureflag: add feature flag for image expiry trigger (PROJQUAY-7460) (#3007)
* feature flag: add feature flag for image expiry trigger (PROJQUAY-7460)

* add FEATURE_IMAGE_EXPIRY_TRIGGER to CLIENT_WHITELIST

* minor fix

* setting IMAGE_EXPIRY_TRIGGER to true for testing

* fixing config.json
2024-07-08 17:43:14 -04: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