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

149 Commits

Author SHA1 Message Date
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
Daniel Messer
40bcd1f141 ui: allow for regular expressions to be used in search (PROJQUAY-6597) (#2611)
allow regex search and simplify search input

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2024-01-22 21:11:44 +01:00
dependabot[bot]
52275a3d82 build(deps-dev): bump eslint from 8.49.0 to 8.56.0 in /web (#2566)
Bumps [eslint](https://github.com/eslint/eslint) from 8.49.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.56.0)

---
updated-dependencies:
- dependency-name: eslint
  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-01-18 17:40:29 +01:00
dependabot[bot]
f5a5e4e41f build(deps): bump axios from 1.4.0 to 1.6.5 in /web (#2589)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.6.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.5)

---
updated-dependencies:
- dependency-name: axios
  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>
2024-01-18 17:25:01 +01:00
Brandon Caton
7cec2f6697 ui: implementing creation of custom git trigger (PROJQUAY-6299) (#2599)
Implements the build trigger creation wizard.
2024-01-17 10:04:44 -05:00
Daniel Messer
e8ff33e728 logs: add failure logging for login, push, pull and delete events (PROJQUAY-5411) (#1903)
* add login failure logging

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

* move failure logging into credential validation

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

* more precise tracking of affected users

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

* fix indent

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

* differentiate robots with wrong credentials

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

* don't audit failures by default

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

* discrete failure tracking for logins, push, pulls and deletes

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

* refine log metadata

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

* login failure log visualization

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

* properly use data model

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

* fix unit test bug

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

* track non-existing repos differently

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

* log view visualization of failed pushes and pulls

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

* ensure all tests are conducted with failure logging

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

* additional unicode protection

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

* python black formatting

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

* add cypress test data

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

* add safety checks for ascii conversion attempts

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

* adjusting unit test with correct error message

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

* update to alembic head

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

* add standard oauth token metadata in audit

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

* update alembic head

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

* correct field name

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

* formatting

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

* bump alembic head

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

* refactor auth logging imports

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

* bump alembic head

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

* formatting

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

* restore module

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

* pre-commit fixes

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

* adding missing default

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

* bump alembic head

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

* update test data

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

* refactoring to save db calls

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

* fix unit tests

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

* handle unicode conversion errors on email look up

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

* bump alembic head

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

* proper debug logging and conditional db calls

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

* omit wildcard import

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

* re-add import

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

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2024-01-16 16:46:20 +01:00
Brandon Caton
27cceb1bb4 ui: adding build trigger table (PROJQUAY-6295) (#2570)
Adds the table to view configured build triggers for a repository. Includes enabling/disabling, deletion, viewing credentials, and notifying of automatically disabled triggers.
2024-01-11 09:02:24 -05:00
Brandon Caton
7357e317d6 ui: adding build avatar image size (PROJQUAY-6575) (#2580)
adding avatar image size
2024-01-03 15:19:31 -05:00
Daniel Messer
2a22ed09c6 ui: add dark mode to see Quay in a new light or lack thereof (PROJQUAY-6570) (#2575)
Signed-off-by: dmesser <dmesser@redhat.com>
2024-01-03 15:40:32 +01:00
Sunandadadi
77d6ad741b ui: breadcrumbs fix when org and repo names are identical (PROJQUAY-6504) (#2569)
* ui: breadcrumbs fix when org and repo names are identical (PROJQUAY-6504)

* eslint fix

* add tests for team name identical to org and repo name

* format fix

* revert db inserts for queueitem and log table
2023-12-19 16:02:52 -05:00
Brandon Caton
6f365ed745 ui: updating logo for quay.io (PROJQUAY-6531) (#2559)
updating logo for quay.io
2023-12-15 11:31:54 -05:00
Brandon Caton
ac221a601d ui: implementing build history page (PROJQUAY-6293) (#2523)
implementing build history page
2023-12-13 16:03:04 -05:00
Steven Smith
e6d3578106 ui: updates Quay.io documentation redirect link (PROJQUAY-6473) (#2516)
ui: updates Quay.io documentation redirect link

Due to the addition of dedicated Quay.io docs, the Documentation link on Quay.io needs updated to redirect directly to the Quay.io docs, instead of the more general upstream docs

Co-authored-by: Steven Smith <stevsmit@stevsmit.remote.csb>
2023-12-12 14:44:38 -05:00
Brandon Caton
236e2fe4fd autoprune: adding audit logs to namespace autoprune policy API (PROJQUAY-6229) (#2431)
Add's audit logs to the CRUD endpoints for both user and organization namespace auto-prune policies.
2023-12-04 13:51:52 -05:00
Sunandadadi
a9eaa380f1 ui: add breadcrumbs for teams page (PROJQUAY-6442) (#2504)
* ui: add breadcrumbs for teams page (PROJQUAY-6442)

* set visibility to false when on teams route

* Revert "set visibility to false when on teams route"

This reverts commit 9a0fb37a50.
2023-11-28 16:57:40 -05:00
Sunandadadi
a7b448c630 ui: following capitalisation guidelines in the new ui (PROJQUAY-6247) (#2488)
* ui: unifying title text to follow sentance case (PROJQUAY-6247)

* capitalize Repository and Organization pronouns

* fixing tests

* fixing eslint

* convert breadcrumbs and page titles to Titlecase

* fixing tests

* fix repositories list test

* reuse title case to capitalize first word + not capitalizing user input

* fixing tests

* fixing eslint

* fix case of page titles

* fixing case for make public
2023-11-21 19:58:43 -05:00
Harish Govindarajulu
29acc8da5e ui: Allow adding user from create team wizard (PROJQUAY-6336) (#2468)
* ui: Allow adding user from create team wizard (PROJQUAY-6336)

* Fix issue with Entity search dropdown

* Reset repository permissions checkbox in create team wizard

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-11-21 09:59:05 -05:00
Daniel Messer
0c08bfffa2 ui: display manifest list size range (PROJQUAY-6393) (#2469)
* add child manifest size tracking in manifest list rows

Signed-off-by: dmesser <dmesser@redhat.com>
2023-11-16 14:39:31 +01:00
Sunandadadi
d860e40b3d ui: breadcrumbs on new ui (PROJQUAY-5452) (#1893)
* UI: Breadcrumbs fix (PROJQUAY-5452)

* minor fixes

* using a generalized function to fetch the next breadcrumb item

* remove building breadcrumbs from browser histroy

* add tests

* fixing eslint

* fetching element from test-id instead of patternfly class
2023-11-15 11:44:18 -05:00
Harish Govindarajulu
94ca5b31c6 ui: fix tab visibility for teams and membership (PROJQUAY-6333) (#2451)
* ui: fix tab visibility for teams and membership (PROJQUAY-6333)

* Add readonly checks when user doesn't have sufficient permissions

* Add test for non-admin user of a team

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-11-13 13:35:32 -05:00
Harish Govindarajulu
e2d25699d8 ui: fix search for bulk delete default permission modal (PROJQUAY-6369) (#2464)
Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-11-08 15:59:29 -05:00
Brandon Caton
ccb3658a90 ui: allow current day to be selected for tag expiration (PROJQUAY-6262) (#2448)
Allowing current day to be chosen, choose individual minutes, and additional checks for setting tag expiration
2023-11-08 14:53:35 -05:00
Jonathan King
0b06da023a ui: Add form for repository state (PROJQUAY-5715) (#2449)
- Allow user to switch repository between normal, mirror, and read-only states
2023-11-07 23:23:38 +01:00
Sunandadadi
21e502f86e api: graceful error handling for robot acct already exists (PROJQUAY-6261) (#2436)
* Using try except to catch errors + added tests

* catching InvalidRobotException
2023-10-31 11:37:47 -04:00
Marcus Kok
7c0cc50a59 ui: Add landing page for quay.io (PROJQUAY-5460) (#2264)
Adds `Overview` section on sidebar with information and
links for quay.io. Toggled by the config when `BRANDING.quay_io`
is true.
2023-10-31 10:52:35 -04:00
Brandon Caton
7e7dfc919e autoprune: validating input to autoprune policy (PROJQUAY-6230) (#2430)
Validating correct input on auto-prune policy creation.
2023-10-24 08:38:25 -04:00
Sunandadadi
2ec1eea340 ui: fixing RobotAccount AddToTeam console error (PROJQUAY-6233) (#2424)
* ui: fixing RobotAccount AddToTeam console error (PROJQUAY-6233)

* cleaning up of state

* Reverting clean up
2023-10-20 15:24:32 -04:00
Harish Govindarajulu
88f40d9a50 ui: Implement drawer to add a new team member (PROJQUAY-6032) (#2270)
* ui: Implement drawer to add a new team member (PROJQUAY-6032)

* Rebase and resolve merge conflicts

* Address review comments

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-10-20 14:29:11 -04:00
Jonathan King
72f0a895d4 ui: Add organization and user account settings (PROJQUAY-4553) (#2151)
- This PR adds settings pages to the organization and user organization pages.
- Admin users can edit their preferences, billing, and organization type
- Updated cypress version to address bug https://github.com/cypress-io/cypress/issues/25397
2023-10-20 13:58:10 -04:00
Harish Govindarajulu
5d5e7c16b1 ui: Add create new team button (PROJQUAY-5685) (#2309)
* ui: Add create new team button (PROJQUAY-5685)
* Address review comments

Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-10-20 11:23:24 -04:00
dependabot[bot]
4ebed1f5e1 build(deps-dev): bump webpack-merge from 5.9.0 to 5.10.0 in /web (#2410)
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.9.0 to 5.10.0.
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.9.0...v5.10.0)

---
updated-dependencies:
- dependency-name: webpack-merge
  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>
2023-10-19 12:24:17 +02:00
Harish Govindarajulu
81bf634749 ui: Add bulk deletion for default permissions (PROJQUAY-6093) (#2336)
Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-10-18 15:56:35 -04:00
Jeff Puzzo
38fd992f30 ui: Fix styling conflict with RedHatInsights (PROJQUAY-6085) (#2418)
Fix styling conflict with redhat insights
2023-10-18 12:33:55 -04:00
Jeff Puzzo
fb5eb3fa09 ui: Compact tables & extend page count to 20 (PROJQUAY-6183) (#2412)
switch to compact tables, extend page count to 20
2023-10-18 11:51:36 -04:00
Brandon Caton
fa8aaa328f autoprune: background worker (PROJQUAY-6095) (#2402)
Implementation of the background worker for namespace auto-pruning.

Co-authored-by: Sunanda Dadi <Sunandadadi@users.noreply.github.com>
2023-10-16 16:45:20 -04:00
Jeff Puzzo
2b07f1afbb ui: Update all Patternfly deprecated components (PROJQUAY-6085) (#2401)
update all patternfly deprecated components
2023-10-13 16:14:24 -04:00
Harish Govindarajulu
7a40743593 ui: Add missing props for create robot acocunt modal (PROJQUAY-6184) (#2405)
ui: Add missing props for create robot acocunt modal

Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-10-13 10:58:43 -04:00
Sunandadadi
ad6b1c8367 ui: fix for useTeams hook when data is null (PROJQUAY-6177) (#2404)
ui: fix for useTeams hook when data is null
2023-10-12 16:36:11 -04:00
Brandon Caton
1676cc04e5 autoprune: UI settings (PROJQUAY-6097) (#2399)
Adds auto-prune configuration to user and organization settings.
2023-10-11 13:48:55 -04:00
dependabot[bot]
2b5325ed7d build(deps): bump @patternfly/react-charts from 7.0.1 to 7.1.1 in /web (#2387)
Bumps [@patternfly/react-charts](https://github.com/patternfly/patternfly-react) from 7.0.1 to 7.1.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-charts@7.0.1...@patternfly/react-charts@7.1.1)

---
updated-dependencies:
- dependency-name: "@patternfly/react-charts"
  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>
2023-10-11 02:17:35 +02:00
dependabot[bot]
0e51b040d4 build(deps-dev): bump ts-loader from 9.4.4 to 9.5.0 in /web (#2388)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.4 to 9.5.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.4.4...v9.5.0)

---
updated-dependencies:
- dependency-name: ts-loader
  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>
2023-10-09 16:17:57 +02:00
dependabot[bot]
e7661f7e9b build(deps): bump react-scripts from 5.0.0 to 5.0.1 in /web (#2297)
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: react-scripts
  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>
2023-10-06 17:37:58 +02:00
dependabot[bot]
eaee1d6a7b build(deps-dev): bump tsconfig-paths-webpack-plugin from 3.5.2 to 4.1.0 in /web (#2298)
build(deps-dev): bump tsconfig-paths-webpack-plugin in /web

Bumps [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin) from 3.5.2 to 4.1.0.
- [Changelog](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/v3.5.2...v4.1.0)

---
updated-dependencies:
- dependency-name: tsconfig-paths-webpack-plugin
  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>
2023-10-06 16:24:06 +02:00
Jeff Puzzo
033bcf6772 ui: Upgrade to PatternFly v5 (PROJQUAY-6085) (#2281)
Upgrade to PatternFly v5
2023-10-06 14:11:36 +00:00
Sunandadadi
48b300a8bf ui: adding alerts for robot account actions (PROJQUAY-5946) (#2228)
* Resolving conflicts + moved createRobotAccount hooks to useRobotAccount hooks

* fixing useCreateRobotAccount import

* added alerts for repo perms + robot acct deletion

* minor fixes

* fixing eslint

* Adding/fixing tests + minor changes

* fixing lint

* Removing redundant seterror

* fixes based on review

* Resolving merge conflicts

* minor fixes

* fixing default perms tests

* fixing lint

* added check
2023-10-05 14:59:37 -04:00
Brandon Caton
0e496b46a5 autoprune: add initial setup for the autoprune feature (PROJQUAY-6094) (#2277)
Adds the auto-prune worker, database models, and feature flag.
2023-10-05 13:37:36 -04:00
dependabot[bot]
0349923fce build(deps-dev): bump prettier from 3.0.2 to 3.0.3 in /web (#2272)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  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>
2023-10-03 11:02:02 +02:00
Sunandadadi
e428d88a8a ui: combining robot account hooks into a single file (PROJQUAY-5945) (#2266)
* ui: combining robot account hooks into a single file (PROJQUAY-0000)

* fixes based on review

* renaming robName to robotAcct

* eslint fix

* fixing tests
2023-10-02 09:45:01 -04:00