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

49 Commits

Author SHA1 Message Date
Oleg Bulatov
db00f7f771 [redhat-3.9] build(deps): bump cypress from 10.10.0 to 12.17.4 in /web (#2308)
build(deps): bump cypress from 10.10.0 to 12.17.4 in /web (#2171)

Bumps [cypress](https://github.com/cypress-io/cypress) from 10.10.0 to 12.17.4.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v10.10.0...v12.17.4)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:production
  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-04 15:56:57 +00:00
OpenShift Cherrypick Robot
30132066e3 [redhat-3.9] chore: remove husky (#2307)
chore: remove husky

husky replaces pre-commit which is undesirable for this repository, as
`npm install` in web/ essentially disables all pre-commit checks for
Python code.

pre-commit already has all checks that are privded by husky.

Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-10-04 14:53:28 +00:00
OpenShift Cherrypick Robot
a659db25ec [redhat-3.9] ui: Robot Accounts tab fixes (PROJQUAY-5914) (#2135)
* UI: Robot Accounts tab fixes (PROJQUAY-5914)

* Adding bulk repo perms operations

* updating filter on adding repository permissions

* clear state before adding

* eslint fix

* adding tests

* eslint fix

* Pushing Delete at the end of dropdown list

* fixes for review

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
Co-authored-by: bcaton <bcaton@redhat.com>
2023-08-17 16:15:31 -04:00
OpenShift Cherrypick Robot
5198db5744 UI: Robot Accounts page perms fix (PROJQUAY-5487) (#2088)
Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-08-01 15:15:47 -04:00
OpenShift Cherrypick Robot
b1bab0b93d [redhat-3.9] UI: Replace time to wait with event waits in cypress tests (#2078)
* UI: Remove waits from cypress tests

* reducing number of multiple delete repos

* Adding .then for create org

* create org fix

* removing conditional check

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-08-01 12:35:20 +02:00
OpenShift Cherrypick Robot
d5415d1416 Adding null check on dark logo (#2085)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-08-01 12:34:27 +02:00
OpenShift Cherrypick Robot
8c21856b71 UI: Delete normal user org by super user (PROJQUAY-5639) (#2008)
Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-07-11 23:40:05 +02:00
Oleg Bulatov
957b278c31 Revert "change removed_tag_expiration_s to bigint (#1932)" (#1950)
This reverts commit c80a5e3487.
2023-06-07 15:43:34 +02:00
OpenShift Cherrypick Robot
c80a5e3487 change removed_tag_expiration_s to bigint (#1932)
Signed-off-by: dmesser <dmesser@redhat.com>
Co-authored-by: dmesser <dmesser@redhat.com>
2023-06-07 15:13:07 +02:00
Brandon Caton
6cf0a3531b quota: calculating registry size (PROJQUAY-5476) (#1879)
Allows superusers to trigger a calculation of the deduplicated registry size. A superuser can go to the organization panel of the superuser page and select Calculate to queue a calculation of the registry total. The total will only be calculated when requested. Includes warning to user of increase of database load when running calculation.
2023-05-24 17:10:40 -04:00
Sunandadadi
230fd24f3d Util: Reading new UI feedback form url from config parameter (PROJQUAY-5463) (#1902)
* Util: Reading feedback form url from config parameter (PROJQUAY-5463)

* updating form link for quay plugin
2023-05-24 10:43:25 -04:00
Brandon Caton
9a7239e874 config: updating quota defaults (PROJQUAY-5546) (#1901)
Updating the options introduced by quota.
QUOTA_TOTAL_DELAY_SECONDS: increasing to accommodate most deployments
QUOTA_BACKFILL: Should run when quota is enabled to prevent having to do two deployments
RESET_CHILD_MANIFEST_EXPIRATION: New option should be opt in
PERMANENTLY_DELETE_TAGS: New option should be opt-in
2023-05-23 16:43:30 -04:00
Sunandadadi
98a0f8bb4d UI: Fixing failing tests (#1890) 2023-05-18 10:32:59 +02:00
Daniel Messer
41cd8330d0 logs: add audit log events for login/logout to Quay (PROJQUAY-2344) (#1866)
* add auditing of login and logout events

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

* python black formatting

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

* correctly identify username during

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

* revert change to existing code

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

* remove superfluous ip tracking

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

* beautify login messages

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

* remove unused import

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

* move alembic patch to head

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

* correctly log target namespace for robots

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

* python black formatting

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

* login event detection refinement

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

* add missing visualization

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

* enrich login event data

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

* make login auditing configurable

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

* make update-testdata

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

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2023-05-17 11:22:35 +02:00
Sunandadadi
c014b6af03 UI: Adding functionality to update organization settings (PROJQUAY-5402) (#1864)
* UI: Adding functionality to update organization settings (PROJQUAY-5402)

* Adding hooks on submit

* minor fixes

* fix in converting seconds to human readable

* On submit prevent default

* minor fix

* propagating error message

* adding moment.js to package.json

* Adding moment.js to quay/web package.json folder

* reverting moment js package addition from quay.package.json

* fixes based on PR review
2023-05-15 15:06:31 -04:00
Sunandadadi
7be6c3d227 UI: Fix visibility of organization and user settings on new UI (PROJQUAY-5500) (#1882) 2023-05-15 13:14:52 -04:00
Sunandadadi
e6d834f23d UI: Fixing repository name for nested repos (PROJQUAY-5446) (#1873)
* UI: Fixing repositiry name for nested repos (PROJQUAY-5446)

* Fixing routing for nested repos

* Changing routing for Pluginmain
2023-05-15 10:33:06 -04:00
Harish Govindarajulu
a681a0b71d ui: Fix search in bulk delete of robot accounts (PROJQUAY-5355) (#1868)
Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-05-15 10:31:39 -04:00
Oleg Bulatov
d49dbd1515 chore: Update db data for UI tests (#1874) 2023-05-10 21:48:28 +02:00
Sunandadadi
37723b964c UI: Removing Cancel button from Robot account credentials modal (PROJQUAY-5426) (#1867)
* Removing Cancel button from Robot account credentials modal (PROJQUAY-5426)

* Update DisplayModal.tsx
2023-05-05 14:11:59 -04:00
Oleg Bulatov
80602e0421 chore: Fix UI tests (PROJQUAY-5424) (#1858) 2023-05-05 17:52:27 +02:00
Syed Ahmed
0029b8b4ae ui: update survey link to new survey (PROJQUAY-5432) (#1865) 2023-05-04 16:31:08 -04:00
Sunandadadi
c6f35b3d25 UI: Removing isHidden from Tab as incompatible with console dot (PROJQUAY-4553) (#1863)
* UI: Removing isHidden from Tab as incompatible with console dot (PROJQUAY-4553)

* changing repositoriesSubNav to const
2023-05-04 10:26:39 -04:00
Sunandadadi
dcd192d524 UI: Using organizationName variable and using isHidden to hide tabs (PROJQUAY-4553) (#1862)
* UI: Using organizationName variable and using isHidden to hide tabs (PROJQUAY-4553)

* replacing visible with hidden for uniformity
2023-05-03 16:56:44 -04:00
Sunandadadi
d20fd5e746 UI: Robot token fetch & regenerate fix for user namespace (PROJQUAY-5419) (#1860) 2023-05-03 15:10:15 -04:00
Sunandadadi
22d28f9fcd UI: Filtering security report vulnerabilities (PROJQUAY-5401) (#1861)
* UI: Filtering security report vulnerabilities (PROJQUAY-5401)

* using text input for packages filter
2023-05-03 15:00:21 -04:00
Jonathan King
93de653973 ui: Hide organization settings when user is not admin (PROJQUAY-4053) (#1829)
- Remove organization settings when user not admin
2023-05-03 14:04:17 -04:00
Sunandadadi
1634f8176b UI: Fixing Teams search in Create Robot Wizard (PROJQUAY-5403) (#1859)
* UI: Fixing Teams search in Create Robot Wizard (PROJQUAY-5403)

* Reverting css changes
2023-05-03 10:07:38 -04:00
Brandon Caton
be1424ca3a ui: Adding option to permanently delete tags past time machine window (PROJQUAY-5303) (#1853)
Adding option to permanently delete tags past time machine expiration window in the new UI.
2023-05-03 09:34:07 -04:00
Syed Ahmed
64e4e32704 ui: fix last modified date on repo list (PROJQUAY-5408) (#1854)
Set to 'N/A' if last modified is not retured from the API
2023-05-01 16:41:10 -04:00
Sunandadadi
b95a4f6aaa UI: Replacing FilterInput with SearchInput in repo search for create robot account wizard (PROJQUAY-5403) (#1851) 2023-05-01 15:02:01 -04:00
Sunandadadi
155165d6da UI: Replacing FilterInput with SearchInput in Robot accounts page (PROJQUAY-5404) (#1849)
* UI: Replacing FilterInput with SearchInput in Robot accounts page (PROJQUAY-5404)

* Removing usused import
2023-05-01 14:10:14 -04:00
Sunandadadi
2616bf9b9a UI: Replacing useRecoil with useState for robot account search (PROJQUAY-5404) (#1848)
* UI: Replacing useRecoil with useState for robot account search (PROJQUAY-5404)

* Removing commented lines
2023-05-01 13:18:24 -04:00
Sunandadadi
d9b9f60c59 UI: Check if org is user for robot creation (PROJQUAY-5398) (#1847) 2023-05-01 12:08:25 -04:00
Sunandadadi
5c34296920 API/UI: Filtering of tags API through query parameter (PROJQUAY-5362) (#1839)
* API/UI: Filtering of tags API through query parameter (PROJQUAY-5362)

* Changing syntax of query param to add operation + added propagation of filtering from new UI

* added exception to return 400 on incorrect syntax

* Added tests to test filtering of /tags endpoint

* Minor fixes
2023-04-28 16:16:41 -04:00
Sunandadadi
27045334b5 Creating repository from /repository tab (PROJQUAY-5399) (#1845) 2023-04-28 16:15:10 -04:00
Syed Ahmed
f22da92e6b ui: use route location instead of window.location (PROJQUAY-5392) (#1844)
* ui: use route location instead of window.location (PROJQUAY-5392)

window.location causes issues when running in beta or preview on console

* remove console.log
2023-04-28 13:21:39 -04:00
Syed Ahmed
19259c1cb0 ui: Refresh auth token for plugin flow on 401 (PROJQUAY-5390) (#1843)
For standalone flow, redirect to /signin
2023-04-27 17:11:43 -04:00
Syed Ahmed
717db76ca2 ui: Use the correct endpoint for plugin (PROJQUAY-3203) (#1842)
* ui: Use the correct endpoint for plugin (PROJQUAY-3203)

Depending on the where the plugin is deployed use stage
or prod quay.io
2023-04-27 16:17:11 -04:00
Sunandadadi
3a90e1b433 Quay UI: Creating new username for accounts that login via SSO (PROJQUAY-5289) (#1831)
* Quay UI: Creating new username for accounts that login via SSO (PROJQUAY-5289)

* Added new user empty page

---------

Co-authored-by: Syed Ahmed <syed@apache.org>
2023-04-27 15:30:01 -04:00
dependabot[bot]
117c5a8606 build(deps): bump dns-packet from 5.3.1 to 5.4.0 in /web (#1771)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v5.3.1...5.4.0)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 10:21:21 -04:00
dependabot[bot]
a4384dbd86 build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /web (#1684)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 12:23:37 -04:00
dependabot[bot]
4455df8444 build(deps): bump loader-utils from 1.4.0 to 1.4.2 in /web (#1685)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 12:22:44 -04:00
dependabot[bot]
443635629e build(deps): bump json5 from 1.0.1 to 1.0.2 in /web (#1699)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 12:22:13 -04:00
Sunandadadi
71cfdca087 UI: Fixing repoDetails not defined error (#1837) 2023-04-26 11:45:07 -04:00
Syed Ahmed
05e3773b74 build: Add build scripts for quay.io frontend (PROJQUAY-5229) (#1833)
Adds app-sre-build-deploy-frontend.sh script
2023-04-25 14:36:43 -04:00
Syed Ahmed
2db3b186f9 ui: add support for exposing quay UI as a dynamic plugin (PROJQUAY-3203) (#1799)
* ui: add support for exposing quay UI as a dynamic plugin (PROJQUAY-3203)

* Introduces a new SSO JWT based auth for client side Oauth
* Adds a new entrypoint component for the UI without topnav and sidenav for plugin
* Adds webpack config to build dynamic plugin
2023-04-20 19:05:07 -04:00
Syed Ahmed
0e3221e4f3 ui: Merge quay-ui into quay (PROJQUAY-5315) (#1827)
* ui: Merge quay-ui into quay (PROJQUAY-5315)

Merging the new patternfly UI into the monorepo quay.
Any future changes will need to be opened on the quay repo
2023-04-18 10:00:10 -04:00
Dave O'Connor
f1d8558815 Add quay-ui (#1683)
Signed-off-by: Dave O'Connor <1656866+HammerMeetNail@users.noreply.github.com>
2022-12-20 08:38:16 -05:00