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

25 Commits

Author SHA1 Message Date
Ivan Bazulic
3c19150d9b oldui: Fix horizontal scrolling on vulnerability reports (PROJQUAY-7686) (#3153)
Old manifest vulnerability status page, still in use, would cause artifacts on long URLs and huge vertical scroll bars. This fix limits the size of the displayed link thus eliminating vertical scrolls. Tested on up to 150% zoom on 4k resolution.
2024-08-21 10:55:47 -04:00
Marcus Kok
2a4ac09306 billing: marketplace UI (PROJQUAY-6551) (#2595)
* billing: marketplace UI

adds UI in billing section for managing user and org-bound skus

add more unit tests for org binding

changed endpoint for bulk attaching skus to orgs
2024-01-11 11:48:38 -05: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
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
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
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
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
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
3d6545b9da UI: Quota UI enhancements (PROJQUAY-0000) (#1242)
* Tracking aws ip ranges.json

* Reverting change

* Added default quota limit + added error display div + fixed indentation + minor restructuring of html

* Add check for non-negative or zero quota

* Added Limit percent check. numbers between 1-100 only acceptable

* Show warning note if no quota limit is set

* Show warning if no Reject type limit is selected

* Adding Remove button to delete quota configuration

* If Reject does not exist add default reject quota limit + css

* Throw error if more than one Reject Limit Type

* Throw error on identical limits

* Fixing showing default limits

* Added Organization view settings

* Show Remove btn only if quota exists

* Fixing Remove modal pop up

* Quota Reporting if quota is not set

* Fixing Removing Quota for org

* Fixing super user and org admin permissions

* fix to checking default quota

* Added super user perms check on put, delete endpoints

* Fixing formatting

* Fixing multiple rejects checks + returing empty list instead of None

* Using super user API calls + hiding policy div till quota is set

* Added require_scpe and show_if decorators for super user permissions

* fixing configured quota check after return type changed from None to list
2022-04-14 10:33:20 -04:00
Sunandadadi
7524171ac8 Proxy Cache: Interface and UI for Proxy cache Configuration (PROJQUAY-3029) (#1204) 2022-03-31 10:48:59 +02:00
kwestpharedhat
15fa20a115 QuotaManagement: Reporting (PROJQUAY-2936) (#1048)
* initial commit

* fixing some bugs

* create quota management

Fix json request json type

Creation of quota is working

All quota crud operations

crud for quota limits

repository size reporting

adding registry model

error levels

namespacequota

remove holdover from user file

finalizing refactor to namespace over organization

finalization of functionality

fixing formatting to match with black style

missed some files in formatting

fixing access to attribute

add single test to verify its working

fix some bugs and add defensive catching

bug fixes and code resiliency

Bug fixes and making quota limits detect properly where necessary

remove transitive delete and other bug fixes

fix formatting and trasnitive deletion issues

fix repositorysize does not exist error

fix not nul constraint and add security tests

fix security tests and bug

more security test fixes

reorder security tests

put docker file back and adjust security testing

security tests reduced

Missed changes for status 200

missed additional 201 responses getting 200

security bypass for now

Another tweak to security testing

forgot 1 endpoint

bug fix for parsing dictionary

remove unnecessary check at blob head

add initdb for quota

Incorrect syntax repair

mysql only supports decimal

adding quota specific notifications

optimization

add permission checks

adjust security and add configuration parameter

fix security test for new security levels

Fix logic errors and improve caching

fix logic issue and error reporting

adjust things according to PR comments

fix refactor left overs

miscapitilazation

missed refactor location

refactor code to remove quota limit groupings

fix refactor errors

remove transitive deletion

fix transitive deletes

Transitive deletion work

Transitive deletion work

refactor registry model and remove it

place api behind feature flag

patch feature enabledment for tests

patch feature enabledment for tests

testing to see if the config is the problem

remove patch

fix new org bug

fixing notifications

mismatched parameters

fix org not exists

fixed paramter mismatch

fix nonetype access

fix nonetype access

new tables created user deletion issues

new tables created user deletion issues

parameter mismatch

fix transitive delete

fix model access error

record does not exist missing catch

fix quota deletion to always delete limits

quotalimits deletion on quota deletion

mistake

fix quota limits deletion

patch tests and disable feature

typo

switch to toggle feature

add feature patch to top of file

change testconfigpy

* change permissions

* adjust permissions

* change config access

* fix formatting

* gether feature information differently

* duplicate function name

* fix config name

* type conversion

* config adjustments

* incorrect keyword

* Update security api tests

* duplicate naming

* fix config schema

* revert files and fix error

* QuotaManagement: UI (PROJQUAY-2936) (#1)

* [WIP]: Quota Reporting on Quay UI

* Integrating quota reporting UI with backend

* Humanizing bytes on UI

* Quota Reporting UI on repo table view

* Taking pull and updating code

* Adding quota management view

* Added support for CRUD operations for org quota

* create quota management

Fix json request json type

Creation of quota is working

All quota crud operations

crud for quota limits

repository size reporting

adding registry model

error levels

namespacequota

remove holdover from user file

finalizing refactor to namespace over organization

finalization of functionality

fixing formatting to match with black style

missed some files in formatting

fixing access to attribute

add single test to verify its working

fix some bugs and add defensive catching

bug fixes and code resiliency

Bug fixes and making quota limits detect properly where necessary

remove transitive delete and other bug fixes

fix formatting and trasnitive deletion issues

fix repositorysize does not exist error

fix not nul constraint and add security tests

fix security tests and bug

more security test fixes

reorder security tests

put docker file back and adjust security testing

security tests reduced

Missed changes for status 200

missed additional 201 responses getting 200

security bypass for now

Another tweak to security testing

forgot 1 endpoint

bug fix for parsing dictionary

remove unnecessary check at blob head

add initdb for quota

Incorrect syntax repair

mysql only supports decimal

adding quota specific notifications

optimization

add permission checks

adjust security and add configuration parameter

fix security test for new security levels

Fix logic errors and improve caching

fix logic issue and error reporting

adjust things according to PR comments

fix refactor left overs

miscapitilazation

missed refactor location

refactor code to remove quota limit groupings

fix refactor errors

remove transitive deletion

fix transitive deletes

Transitive deletion work

Transitive deletion work

refactor registry model and remove it

place api behind feature flag

patch feature enabledment for tests

patch feature enabledment for tests

testing to see if the config is the problem

remove patch

fix new org bug

fixing notifications

mismatched parameters

fix org not exists

fixed paramter mismatch

fix nonetype access

fix nonetype access

new tables created user deletion issues

new tables created user deletion issues

parameter mismatch

fix transitive delete

fix model access error

record does not exist missing catch

fix quota deletion to always delete limits

quotalimits deletion on quota deletion

mistake

fix quota limits deletion

patch tests and disable feature

typo

switch to toggle feature

add feature patch to top of file

change testconfigpy

* Removing quota and state conf from repo-list and user-view

* Removing quota and state conf form app list page

* Removing quota conf from repo-list.html

* minor fixes

* Added Quota Repoting and configuring quota from UI

* Making quota configuration component reusable + added support to read bytes via KB, MB, etc + Added reporting for total org consumption + Added org consumption for super user panel + Added quota configurable support on super user panel

* Adding older quota management component

* Removing not reusable quota management component

* Adding % consumption for repo quotas

* Adding % consumption for organization level quota

* Adding check to verify request.args

* Removing todo

* Adding default 0 to quota

* Formatting with black

* Fixing params for tests

* Formatting test file

Co-authored-by: Keith Westphal <kwestpha@redhat.com>

* remove migration

* add migration back

* repair formatting

* QuotaManagement: Moving the logic for bytes conversion to human friendly units to the frontend  (PROJQUAY-2936) (#3)

* Moving the logic for bytes conversion to human friendly units to the frontend

* Reading updates from quota_limit_id

* Formatting using black

* remote unused function

* Adding quota configuring on super user panel (#4)

* Converting quota bytes to human friendly format (#5)

* PR refactors

* invalid reference

* bad return value

* fix bad reference

* bad reference

* fix tests

* Quota Config: UI improvements (#6)

* Quota UI Improvements

* Rendering table for quota limit config

* Removing proxy cache files

* Disabling quota config for org view

* Removing redundant get

* Fixing PR requests

* repair formatting

Co-authored-by: Sunandadadi <Sunandadadi@users.noreply.github.com>
2022-03-08 12:02:03 -06:00
Jonathan King
de12ed7482 ui: Add repo state column when mirroring enabled (PROJQUAY-591) (#419)
- UI will show repo state when FEATURE_REPO_MIRROR is set to 'true'
2021-07-22 14:09:34 -04:00
Kenny Lee Sin Cheong
2553110469 Move static icons assets from S3 to git (#676) 2021-02-16 16:46:26 -05:00
Syed Mushtaq Ahmed
5753fa4a23 PROJQUAY-586 - Remove Defcon1 severity from Quay (#664)
Co-authored-by: Syed A <syed@apache.org>
2021-01-26 10:41:32 -05:00
Joseph Schorr
fd5a4924be Remove unused repo-list-grid files (#382) 2020-05-14 12:09:42 -04:00
Joseph Schorr
44b4063ec9 Small fixes for external login buttons (#260)
1) Display up to three per row, rather than two
2) Fix the display of external images to allow for local references
2020-03-10 16:19:57 -04:00
Joseph Schorr
fa35777511 Hide all future tag expirations in the timeline, by default
Fixes https://issues.redhat.com/browse/PROJQUAY-220
2020-02-17 13:40:36 -05:00
Joseph Schorr
f3c887899a Merge pull request #134 from josephschorr/joseph.schorr/QUAY-1747/better-tagging
Add better tagging options for build triggers.
2020-02-04 13:31:57 -05:00
Joseph Schorr
22ad056192 Add better tagging options for build triggers.
Users can now configure whether they want the default tagging options enabled (tag `latest` for the default branch, and tag with the git branch or tag name), and can also specify custom tags, including static tags and dynamic templated tags.

Fixes https://jira.coreos.com/browse/QUAY-1747
2020-01-23 15:45:55 -05:00
Joseph Schorr
677a903724 Merge pull request #133 from josephschorr/joseph.schorr/PROJQUAY-129/label-links
Have labels with URLs in them turn into links
2020-01-09 17:58:19 +02:00
Joseph Schorr
291967b9fc Have labels with URLs in them turn into links
Fixes https://issues.redhat.com/browse/PROJQUAY-129
2020-01-06 14:05:50 +02:00
Joseph Schorr
a563ec186f Add support for custom webhook bodies
This will allow users to configure the body content of outgoing webhooks for notifications

Fixes https://jira.coreos.com/browse/QUAY-1322
2019-12-18 15:37:05 +02:00
alecmerdler
6f21f034ca added repo-state UI styling and refactored to TypeScript 2019-12-03 13:02:54 -05:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00