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

103 Commits

Author SHA1 Message Date
OpenShift Cherrypick Robot
02d6f64ee7 [redhat-3.9] ui: removing bootbox (#3505)
removing bootbox

Co-authored-by: bcaton <bcaton@redhat.com>
2024-12-12 14:52:53 -05:00
OpenShift Cherrypick Robot
7f54e76599 [redhat-3.9] ui: displaying quota totals on user namespaces (PROJQUAY-5581) (#2128)
* displaying quota totals on user namespaces

* displaying sizes in base2

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2023-08-14 16:34:21 +00:00
OpenShift Cherrypick Robot
fcdb292a47 [redhat-3.9] ui: display sizes as base 2 (PROJQUAY-5524) (#1970)
* displaying tag sizes as MB instead of MiB

* adding newline to end of file

* updating sizes from base 1000 to 1024

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-13 22:39:18 +02:00
OpenShift Cherrypick Robot
427b85a448 changing quota configuration byte units to base 1000 (#1940)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-06 10:44:03 -04:00
OpenShift Cherrypick Robot
82c495ea23 Removing permanently deleted tags from tag history (#1934)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-05 13:08:08 -04:00
OpenShift Cherrypick Robot
e86d3e1f7f Lowering page limit for loading super organizations users lists (#1933)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-05 13:07:49 -04:00
OpenShift Cherrypick Robot
2afab1c674 [redhat-3.9] api: add permanently delete tag usage log (PROJQUAY-5496) (#1926)
* Adding permanently delete tag action log

* updating alembic down revision

* formatting

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-05 09:33:27 +02:00
Harish Govindarajulu
e349762d78 proxy: Allow anonymous pulls from registries (PROJQUAY-5273) (#1906)
This change allows validation of proxy cache config api to support anonymous pulls
when the registry returns a 401 since repo name is not known during initial proxy config

Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-05-25 11:53:15 -04: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
Brandon Caton
9adf2d8cf0 superuser: paginate user's list (PROJQUAY-4297) (#1881)
Allow loading of superuser user list for larger registries by paginating API call.
2023-05-18 11:20:30 -04:00
Brandon Caton
c505a6bae8 superuser: paginating superuser organization list (PROJQUAY-4297) (#1876)
Allows super user organization list to load for larger registries.
2023-05-17 14:49:09 -04: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
Brandon Caton
74d6d82748 ui: updating quota size format (PROJQUAY-5471) (#1886) 2023-05-16 13:50:36 -04:00
Daniel Messer
37e4990b07 logs: Add audit logs for organization and user namespace activities (PROJQUAY-3482) (#1846)
* add auditing events for orgs

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

* add database migrations

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

* fix org delete race condition

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

* action log visualization

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

* audit superuser events

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

* additional user auditing

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

* audit log visualization refinement

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

* consistent email change auditing

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

* python black formatting

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

* fix incorrect log kind

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

* missing log kind in migration

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

* python black formatting

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

* even more python black formatting

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

* remove unnecessary import

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

* bump alembic revision to head

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

* alembic metadata change

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

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2023-05-03 13:52:10 +02:00
Brandon Caton
a2c379d47c quota: Include blob deduplication in totals (PROJQUAY-3942) (#1751)
Allows for only unique blobs are counted at the namespace and repository level. Calculation includes manifest list sizes.
Add's the following internal configurations that default to true:
QUOTA_INVALIDATE_TOTALS: Invalidates calculated totals when FEATURE_QUOTA_MANAGEMENT is set to false
RESET_CHILD_MANIFEST_EXPIRATION: Resets the expiry for child manifests on push of the manifest list for immediate GC eligibility
PERMANENTLY_DELETE_TAGS: Enables features related to the permanent deletion of tags outside the configured time machine window
2023-05-01 16:40:01 -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
Kenny Lee Sin Cheong
89725309be billing: update Stripe checkout to support 3DS (PROJQUAY-5129) (#1818)
Update Stripe checkout in order to support auth requirements from
banks.
2023-04-11 14:41:37 -04:00
Harish Govindarajulu
be1bddfd6a feat: Allow action logs to be forwarded to Splunk (PROJQUAY-4993) (#1764)
Signed-off-by: harishsurf <hgovinda@redhat.com>
2023-03-30 13:33:55 -04:00
Syed Ahmed
7c72e3132e builders: Update scope for gitlab to include write access (PROJQUAY-5181) (#1785)
api, write_repository is required to create a webhook on the repo
2023-03-10 11:29:46 -05:00
Syed Ahmed
890e2ce941 builders: Add scopes to the oauth call to gitlab for build trigger (PROJQUAY-5181) (#1784)
Gitlab requires scope to be part of the initial Oauth call to authorize
the build trigger Oauth app access to the repo
2023-03-10 10:53:42 -05:00
Kenny Lee Sin Cheong
80fdb92462 secscan: add config to limit manifests with layer size too large to index (PROJQUAY-4957) (#1733)
Also removes deprecated Clair v2 configs.
2023-01-31 15:50:16 -05:00
Kenny Lee Sin Cheong
1bd016fda5 logs: Add repository information for build audit logs (PROJQUAY-4726) (#1705) 2023-01-12 15:33:17 -05:00
Kenny Lee Sin Cheong
33451ca96e logs: audit logs on manual build triggers and build cancellations (PROJQUAY-4726) (#1682) 2023-01-10 13:35:01 -05:00
Syed Ahmed
c71fd10bc2 ui: Add script for adobe analytics for quay.io in angular UI (PROJQUAY-4582) (#1654)
This will be used for usage analytics on quay.io
2022-12-05 16:54:08 -05:00
Dave O'Connor
68f0017e01 Update nginx config (#1639)
Signed-off-by: Dave O'Connor <doconnor@redhat.com>
2022-12-05 16:53:10 -05:00
Syed Ahmed
8211b774bc ui: Show UI toggle on quay.io only to redhat users (PROJQUAY-4804) (#1653)
ui: Show UI toggle on quay.io only to redhat users (PROJQUAY-4804)

New UI preview on quay.io is being released as a preview only
to RedHat users before being GA
2022-12-05 10:30:03 -05:00
Joseph Crosland
84786b9c6f secscan: Correct links (PROJQUAY-2164) (#1552)
Use first link in the "array", don't display link icon when
no links exist.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
2022-12-02 14:58:35 -08:00
Kenny Lee Sin Cheong
fe2b89d656 logs: create action logs on proxy cache config creation/deletion (PROJQUAY-4718) (#1625) 2022-11-22 12:36:57 -05:00
Sunandadadi
60181dae03 UI: Fix redirection to user/org page (PROJQUAY-4667) (#1623) 2022-11-10 12:48:45 -05:00
Brandon Caton
9637201903 ui: Fix font size in superuser page (PROJQUAY-4407) (#1553)
Recent CSS changes caused the font size in the superuser panel to increase in size. This change resolves those issues.
2022-10-11 13:12:38 -04:00
Sunandadadi
9b5aa476f3 Reset switch if user doesn't navigate to new UI (PROJQUAY-4389) (#1521) 2022-09-08 12:07:43 -05:00
Dave O'Connor
d95d4b3657 Invalidate browser cache on new ui toggle (#1520) 2022-09-07 15:48:01 -04:00
Dave O'Connor
d5e7028dcd Only show ui toggle if on signin page (#1515)
Signed-off-by: Dave O'Connor <1656866+HammerMeetNail@users.noreply.github.com>
Signed-off-by: Dave O'Connor <doconnor@redhat.com>
2022-09-06 15:40:34 -04:00
Dave O'Connor
f8bf8c25c8 Invalidate quay-ui docker cache (#1506) 2022-08-31 14:17:30 -04:00
Sunandadadi
5f1fdbc59f ui: Support on Old UI to switch to New UI (PROJQUAY-4124) (#1504)
* Support on Old UI to switch to New UI
2022-08-31 10:33:53 -04:00
Jonathan King
b49fd45ee6 quayio: Redirect user to billing page when starting free trial (PROJQUAY-4130) (#1439) 2022-07-08 12:06:03 -07:00
Daniel Messer
26aa001b41 add parent link (#1400) 2022-06-20 15:17:57 +02:00
Daniel Messer
d9dbbd88db ui: basic support for cosign in the UI (PROJQUAY-3965) (#1380)
* ui: basic support for cosign in the UI (PROJQUAY-3965)

* sharpen regex for cosign manifest tag name convention

Co-authored-by: Oleg Bulatov <oleg@bulatov.me>

* fix broken signature match

* addressing review comments

* fix tool tip width issues

Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2022-06-16 14:06:56 +02:00
Sunandadadi
a0bd9aca3e Quota UI: Show quota consumption in whole numbers on super user organizations panel (PROJQUAY-3974) (#1383)
* Quota UI: Show quota consumption in whole numbers on super user organizations panel (PROJQUAY-3974)

* Fixing terminology of js files
2022-06-15 11:08:37 -04:00
Daniel J Walsh
020b3abea2 GUI: Show how to pull an image using podman pull (#1332)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-06-13 14:41:33 -04:00
Sunandadadi
ba2aa54d3f UI: Superuser user panel settings icon permissions fix (PROJQUAY-3905) (#1364) 2022-06-08 10:46:45 -04:00
Sunandadadi
f90e5e3dce Quota: Configuring Quota for user panel(PROJQUAY-3767) (#1334)
* Quota: Configuring Quota for user panel

* Added Quota Consumed column on Super users panel

* Fixing tests

* Fixing tests

* Adding tests for user quota operations

* Reverting org api changes + new endpoint for super user get method

* Reverting changes

* Added tests

* Fetching user namespace or organization
2022-05-31 11:22:37 -04:00
Daniel J Walsh
e75397ddfe Add support for podman pull (#1331)
Examples should show how to do commands with Podman in addition to
Docker.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-05-18 15:22:53 +02:00
Sunandadadi
587cceb338 Quota UI: Adding Overall storage consumption for Super users panel page (PROJQUAY-3639) (#1307) 2022-05-10 14:47:51 -04:00
Sunandadadi
a57594cf01 Quota UI: Fix quota input value (PROJQUAY-3691) (#1293)
* Quota UI: Fix quota input value (PROJQUAY-3691)

* Setting White background color for input boxes
2022-04-28 16:16:13 -04:00
Sunandadadi
5bb2c121b1 Quota: Show a different error message if default quota is set on removing quota (PROJQUAY-3657) (#1287)
* Quota: Show a different error message if default quota is set on removing quota (PROJQUAY-3657)

* Indentation fix
2022-04-27 10:48:33 -04:00
Sunandadadi
51c675139d Quay UI: Converting to nearest integer (PROJQUAY-3602) (#1285)
* Quay UI: Rounding to 2 decimal places (PROJQUAY-3602)

* Indentation fix

* Converting to nearest integer
2022-04-27 10:30:19 -04:00
Sunandadadi
03269edcbe Quota UI: Show message that System wide default cannot be removed from an organization (PROJQUAY-3658) (#1282) 2022-04-25 16:33:46 -04:00
Sunandadadi
eea7389a24 Quota: Show system default on UI when quota configuration for the org is not set (PROJQUAY-3518) (#1280)
* Quota: Show system default on UI when quota configuration for the org is not set (PROJQUAY-3518)

* Fixing formatting

* Added function to reduce redundancy and shortened warning message

* added missing parameter to function call

* Fixed organization quota consumption view

* Fixing formatting

* Checking for None before calling function
2022-04-22 16:34:04 -04:00
Sunandadadi
f10690e7d3 Quota UI: Display Error when decimal values entered from UI (PROJQUAY-3627) (#1272)
* Quota UI: Display Error on entering decimal values from UI (PROJQUAY-3627)

* Adding decimal check function
2022-04-20 16:00:04 -04:00