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

12060 Commits

Author SHA1 Message Date
Oleg Bulatov
eb9afca126 chore: Bump codecov/codecov-action to v4 2024-05-16 16:17:46 +02:00
dependabot[bot]
fd6a35f1ea build(deps): bump tqdm from 4.66.1 to 4.66.3 (#2859)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.1 to 4.66.3.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.3)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:10:03 +02:00
dependabot[bot]
507574e993 build(deps): bump gunicorn from 21.2.0 to 22.0.0 (#2825)
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:08:36 +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
dependabot[bot]
71b9ab58db build(deps-dev): bump express from 4.18.2 to 4.19.2 (#2800)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 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.18.2...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:06:45 +02:00
dependabot[bot]
763a4b02ee build(deps): bump jinja2 from 3.1.3 to 3.1.4 (#2866)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:06:14 +02:00
dependabot[bot]
0c87ee10ff build(deps): bump idna from 3.4 to 3.7 (#2815)
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:03:59 +02:00
dependabot[bot]
2332a05162 build(deps-dev): bump black from 22.3.0 to 24.3.0 (#2779)
Bumps [black](https://github.com/psf/black) from 22.3.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.3.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  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-05-16 16:02:01 +02:00
Sunandadadi
d10c868edc ui: send recovery email option in superusers panel (PROJQUAY-7195) (#2879) 2024-05-15 17:41:00 -04:00
Marcus Kok
dbfb47d6fb marketplace: change redhatsubscriptions model to return a list of customer ids (PROJQUAY-7129) (#2868)
* marketplace: change redhatsubscriptions model to return a list of customer ids (PROJQUAY-7129)

* Use list comprehension in model and expect to return None if no rows are
returned

* fix behavior for reconciler and fix unit test for reconciler
2024-05-09 11:51:06 -04:00
Marcus Kok
a69a450736 marketplace: change api call to return array of customer ids (PROJQUAY-7129) (#2867)
Changes marketplace api handler to now return a list of all web customer ids for a user.

Allows quay.io to keep track of all web customer ids instead of just personal types.
2024-05-09 09:31:02 -04:00
Daniel Messer
470141eb87 api: human-readable limit requests for quotas (PROJQUAY-7122) (#2847)
* human-readable limit requests for quotas

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

* guidance on limit format errors

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

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2024-05-03 14:37:00 -04:00
Sunandadadi
6bf6c2b181 teamsync: run team sync worker for teams synced via ldap or keystone (PROJQUAY-6762) (#2788)
* teamsync: run team sync worker for teams synced via ldap or keystone (PROJQUAY-6762)

* fix comment

* adding test

* isort fix
2024-04-29 13:18:04 -04: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
Patrick Martin
3ee51a6404 observability: move catchpoint_datasource to new cluster (PROJQUAY-7007) (#2816)
Move catchpoint_datasource to new cluster

signalfx has moved on that new cluster recently
2024-04-24 16:16:55 -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
dependabot[bot]
4304670e5a build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 in /config-tool (#2828)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  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-23 22:11:03 +02:00
Marcus Kok
e28d0837df storage: add repo_name to direct download url parameter (PROJQUAY-7020) (#2826)
add repo_name to direct download url parameter
2024-04-22 10:09:21 -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
Sunandadadi
12aece5e87 logs: increase usage logs worker timeout (PROJQUAY-7008) (#2817) 2024-04-15 10:22:27 -04:00
dependabot[bot]
4bfad98e9c build(deps-dev): bump follow-redirects from 1.12.1 to 1.15.6 in /config-tool/pkg/lib/editor (#2759)
build(deps-dev): bump follow-redirects in /config-tool/pkg/lib/editor

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.12.1 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.12.1...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-04-10 17:10:17 +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
Brandon Caton
0de7f6f5de quota: adding VERIFY_QUOTA config option (PROJQUAY-6945) (#2798)
Adding VERIFY_QUOTA config option.
2024-03-28 09:44:53 -04: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
Marcus Kok
5f2c6ea087 marketplace: consider new skus in exclusion (PROJQUAY-6905) (#2794)
check if sku is part of reconciler skus when getting list
2024-03-26 13:43:47 -04:00
Brandon Caton
f241767005 api: reducing db calls in repo list endpoints with quota enabled (PROJQUAY-6895) (#2770)
Reducing the number of DB calls in the repo list endpoint with quota enabled by:
- Adding the id to RepositoryBaseElement when the repositories are initially fetched, removing the need to fetch the repository ID's again
- Fetching the repository sizes with a single DB call using the IN operator
2024-03-26 10:33:24 -04:00
Marcus Kok
131d66d13f marketplace: add a check for masterEndSystemName when fetching subscriptions (PROJQUAY-6905) (#2775)
* add a check for masterEndSystemName when fetching subscriptions
* allow old SKUs to be used in org attachments
2024-03-25 13:47:22 -04:00
Syed Ahmed
09df48b5ee chore: fix typo (PROJQUAY-6397) (#2786)
fixing typo for DB_CONNECTION_POOLING
2024-03-22 12:11:47 -04:00
Brandon Caton
16897e9870 readme: adding community meeting link (PROJQUAY-6925) (#2785)
Adding community meeting link
2024-03-22 09:14:48 -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
Syed Ahmed
5878631934 db: add config variable for DB pooling (PROJQUAY-6397) (#2783)
* db: add config variable for DB pooling (PROJQUAY-6397)

adding `DB_CONNECTION_POOLING` param to enable/disable
connection pooling for primary and replica DBs
2024-03-21 21:26:37 +00:00
Sunandadadi
bf766a8288 ui: dont show username password signin when auth_type is oidc (PROJQUAY-6740) (#2778)
ui: Dont show username password signin when auth_type is oidc (PROJQUAY-6740)
2024-03-20 16:13:14 -04:00
Ross Bryan
66fbe49ee2 secscan: implement basescore/cveid (PROJQUAY-6697) (#2684)
* secscan: implement basescore/cveid (PROJQUAY-6697)

Signed-off-by: Ross Bryan <robryan@redhat.com>

* docs: add docstrings to helper functions

Signed-off-by: Ross Bryan <robryan@redhat.com>

* secscan: refactor base_score builder loop

Signed-off-by: Ross Bryan <robryan@redhat.com>

* make cveIDs a unique, alpha sorted list

Signed-off-by: Ross Bryan <robryan@redhat.com>

---------

Signed-off-by: Ross Bryan <robryan@redhat.com>
2024-03-20 13:20:17 +01:00
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
Syed Ahmed
943d95b98a chore: fix type check in read replica (PROJQUAY-6397) (#2777)
* fix type check in read replica (PROJQUAY-6397)
2024-03-19 17:57:01 +00:00
Oleg Bulatov
e1a1feb293 feat(oidc): add OIDC_DISABLE_USER_ENDPOINT parameter (PROJQUAY-6908) (#2773) 2024-03-19 15:44:21 +01: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
Syed Ahmed
97b3e025de db: use read replica for selected queries (PROJQUAY-6397) (#2758)
* db: use read replica for selected queries (PROJQUAY-6397)

We add a new param `can_use_read_replica` to the `select`
query. This allows us to choose which queries we want to
send to the read replica. This is useful in cases where
the read replica lags behind the primary and some queries
need the latest data
2024-03-18 14:23:16 -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
Sunandadadi
298373a3db oidc: allows users to login via cli (PROJQUAY-6873) (#2748)
* oidc: allows users to login via cli (PROJQUAY-6873)

* fixing tests

* update reading username + adding tests
2024-03-18 14:06:16 -04:00
Marcus Kok
5db4251114 marketplace: add expiration check to org subscription operations (PROJQUAY-6716) (#2696)
add expiration check to org subscription operations
2024-03-18 09:15:46 -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
7eb752ba0a nginx: add rule to route /updateuser to old ui (PROJQUAY-6722) (#2706)
add rule to route /updateuser to old ui
2024-03-11 11:05:26 -04:00
Brandon Caton
2c11f0da19 ui: updating nginx routing rule for userfiles (PROJQUAY-6841) (#2735)
Updating nginx routing rule to correctly route `^/userfiles/` paths.
2024-03-11 09:25:33 -04:00