1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Commit Graph

196 Commits

Author SHA1 Message Date
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
Brandon Caton
2cf6b60190 ui: not displaying build tab when repo is mirror or readonly (PROJQUAY-6827) (#2730)
not displaying build tab when repo is mirror or readonly
2024-03-07 10:37:08 -05:00
Brandon Caton
4f0db4b90f quota: feature flagging quota edit/view/enforce (PROJQUAY-6734) (#2709)
feature flagging quota edit/view/enforce functionality
2024-03-05 13:10:18 -05:00
Harish Govindarajulu
0be8cb7cb1 Add auto-prune tests + fix namespace autoprune policy UI issue (PROJQUAY-6773) (#2717)
Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-04 15:29:27 +00:00
Marcus Kok
b6c6f00c3b ui: fix bug in usage logs description (PROJQUAY-6755) (#2711)
fix change state to be a function
2024-03-01 09:52:42 -05:00
Sunandadadi
74fd23d7d3 backend: Syncing teams with OIDC group (PROJQUAY-6290) (#2693) 2024-02-27 16:53:51 -05:00
Marcus Kok
5e3381a425 ui: add usage log table (PROJQUAY-6702) (#2695)
Adds table for logs in the repository and organization settings.
2024-02-27 12:22:20 -05:00
Harish Govindarajulu
98811f5397 feat: Add auto-prune policy at repository level (PROJQUAY-6354) (#2691)
* feat: Add support for auto pruning at repository level (PROJQUAY-6354)

* Add repositoryautoprunepolicy table to alembic migration script

* Add repository auto-prune policy endpoints

* Add UI for repository auto-pruning policies

* case: apply repo auto-prune policy when no namespace policy given

* case: both namespace and repo pruning policy are given

* Add tests for repository autoprune endpoint

* Add cypress test for repository auto-prune

* Add repo auto-prune policy clean-up for repository deletion

* Add repository auto pruning tables to quay db snapshot for cypress tests

* Address review comments

* Add more tests + fix CI + reformat files

* Address review comments #2

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-02-27 15:02:57 +05:30
Sunandadadi
4cb0a57488 ui: ui and initial scaffolding for OIDC auth (PROJQUAY-6298) (#2646)
* added base class for OIDC auth + UI

* adding read-only teams page + display sync config + option to remove team sync

* setting page in read only mode fix

* ui tests

* adding validation for group name input

* fixes based on review + fixing test suite

* add backend tests for externalOIDC

* minor fixes
2024-02-20 11:58:10 -05:00
Marcus Kok
0c03e6af6b ui: add chart for usage logs (PROJQUAY-6701) (#2681)
Adds chart in usage log view for orgs and repos
2024-02-19 11:02:26 -05:00
Brandon Caton
b641538bad ui: removing repo settings and build UI feature flags (PROJQUAY-6617) (#2680)
Removing repo settings and build UI feature flags since they should be enabled by default.
2024-02-19 09:19:10 -05:00
Marcus Kok
ca78dddfc6 ui: add width and height for logo (PROJQUAY-5460) (#2683)
Adds width and height to logo so it shows up in console dot
2024-02-16 13:55:48 -05:00
Brandon Caton
00d983bf4b ui: view builds logs (PROJQUAY-6296) (#2679)
Add's the functionality to click on a build in the build history table to view build logs as well as cancel the build.
2024-02-16 11:23:55 -05:00
Marcus Kok
426e1a946d ui: add overview to plugin (PROJQUAY-5460) (#2682)
Adds overview nav to PluginMain.tsx so it doesn't return a 404 when viewed from console dot.
2024-02-15 12:50:38 -05:00
Brandon Caton
417e66ee76 ui: run builds (PROJQUAY-6297) (#2636)
Adds the ability for users to run builds via the Patternfly UI.
2024-02-13 12:00:59 -05:00
Brandon Caton
f312efbce2 ui: fixing build trigger test (PROJQUAY-6695) (#2677)
Fixes issue where all repositories have had their date passed and have been marked stale in the create build trigger tests.
2024-02-13 10:15:09 -05:00
Marcus Kok
19f2bb81d7 ui: add breadcrumbs for overview (PROJQUAY-5460) (#2676)
* add breadcrumbs for overview
* update nginx conf
* update domainRoute
2024-02-13 09:45:00 -05:00
Marcus Kok
5f4c15bebd ui: add export button for usage logs (PROJQUAY-6420) (#2492)
Adds tab for logs in the organization and repository views. Adds modal
for exporting the logs to either an email or callback url.
2024-02-09 09:41:46 -05:00
Marcus Kok
5c44cc483f ui: add section for RH subscriptions under billing settings (PROJQUAY-5363) (#2656)
* Add marketplace ui to patternfly
* Fix bug where unlimited private repo sku
showed extremely large number in ui
2024-02-08 14:03:59 -05:00
Brandon Caton
df73b6e9e1 ui: updating references to status.redhat.com (PROJQUAY-6654) (#2645)
Updates references from `status.quay.io` to `status.redhat.com`.
2024-02-07 14:07:38 -05:00
Daniel Messer
0981ce15a2 ui: fix scrollbars and various layout issues (PROJQUAY-6619) (#2629)
* fix scrollbars and various layout issues
* consistently disabling padding
* place actions kebap right from "create repository" button"

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2024-02-07 09:18:30 +01:00
Brandon Caton
7ba3a3d988 ui: adjusting size of avatar (PROJQUAY-6676) (#2660)
adjusting size of avatar
2024-02-06 15:00:49 -05:00
dependabot[bot]
746e372741 build(deps-dev): bump dotenv-webpack from 7.1.0 to 8.0.1 in /web (#2255)
Bumps [dotenv-webpack](https://github.com/mrsteele/dotenv-webpack) from 7.1.0 to 8.0.1.
- [Release notes](https://github.com/mrsteele/dotenv-webpack/releases)
- [Commits](https://github.com/mrsteele/dotenv-webpack/compare/v7.1.0...v8.0.1)

---
updated-dependencies:
- dependency-name: dotenv-webpack
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 15:34:53 +00:00
dependabot[bot]
5e1a54a585 build(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2 in /web (#2439)
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 15:11:19 +01:00
Marcus Kok
2ab7dc29f4 marketplace: add support for quantity from subscriptions api (PROJQUAY-6551) (#2633)
* Adds handling for when a subscription returned from the subscription watch api has a quantity greater than 1. Number of private repos should be correctly calculated using the quantity.

* Updates ui so that subscriptions can only be added to an org as a group, i.e. a subscription with quantity = 2 cannot be split across organizations.
2024-01-29 15:21:30 -05:00
Brandon Caton
03b7fec211 ui: implementing github and gitlab build triggers (PROJQUAY-6585) (#2614)
Adds the creation of GitHub and GitLab build triggers.
2024-01-25 13:00:51 -05:00