1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Mark Franceschelli
dce7cb8339 ui: Add Superuser functionality to UI (PROJQUAY-6307) (#4174)
* initial superuser framework

* all service key functionality except create key

* add create preshareable key

* add change logs panel and fresh login component

* messages ui and config without display

* add global display of messages

* CSRF token changes required for fresh login

* usage logs functionality first pass

* fix fetch user logs, colors, legend, chart and default route

* usage logs prevent greater than 30 days

* usage logs functionality complete

* superuser organization action menu commands

* add framework and service keys tests, fix service key date mismatch

* add all remaining superuser tests

* Re-design sidenav for superuser component

* Add missing columns and access control for organization list

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

Adds Size and Admin columns and superuser checks + readonly support
for superuser capabilities

* Add build logs functionality for superusers

* Add missing functionality for user and org management for superuser

Adds create user modal, and other missing modals for superuser related
actions for both user and organization

* Redesign quota functionality for superuser

Only superuser should be allowed to configure quota. Adds new modal
to configure quota. Removes modifying quota from org settings tab

* Fix cypress tests + formatting + undo X-Next-CSRF-Token token change

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
Co-authored-by: harishsurf <hgovinda@redhat.com>
2025-10-30 08:41:38 -04:00
Kenny Lee Sin Cheong
5f63b3a7bb chore: drop deprecated tables and remove unused code (PROJQUAY-522) (#2089)
* chore: drop deprecated tables and remove unused code

* isort imports

* migration: check for table existence before drop
2023-08-25 12:17:24 -04:00
Syed Ahmed
98d89a1fce cors: check for request_origin being set (PROJQUAY-5213) (#1811)
Some browsers might not set the Origin header
in the request. Ignore the origin check in such
cases
2023-03-28 06:13:34 -04:00
Syed Ahmed
84abdba076 api: Allow setting multiple CORS_ORIGIN (PROJQUAY-5213) (#1791)
api: Allow setting multiple CORS_ORIGIN (PROJQUAY-5213)

multiple CORS Origin are required for integration with console.redhat
2023-03-22 11:15:59 -04:00
Brandon Caton
017c4f0ba1 cors: Adding missing method type (PROJQUAY-4800) (#1651)
The PUT method has not been added to the list of cors methods, causing PUT requests to fail.
2022-12-01 15:10:47 -05:00
Syed Mushtaq Ahmed
d37dd766ac api: fix CORS headers, use concat instead of extend (PROJQUAY-4163) (#1445)
Fixes issue where we send large header on CORS
2022-07-19 17:52:09 -04:00
Syed Mushtaq Ahmed
bf99e71851 api: Update werkzeug to 1.0.0 and add valid CORS methods (PROJQUAY-4163) (#1443)
werkzeug 1.0.0 allows us to set samesite policy to "None" for CORS
requests from quay-ui
2022-07-14 14:30:52 -04:00
Syed Mushtaq Ahmed
1a016efc80 ui: Add CSRF and token endpoint and public config endpoint (PROJQUAY-3865) (#1323)
Adds /csrf_token and /config API endpoints to enable integration with
the new UI
2022-06-29 12:14:28 -04:00
alecmerdler
3dd5f045ff fix all the docstrings 2020-02-05 19:55:07 -08:00
Tom McKay
e6ae94db8b 'make black' results 2019-12-02 12:23:08 -05:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00