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

111 Commits

Author SHA1 Message Date
Brandon Caton
4663a9de44 ui: adding under_maintenance state to status indicator (PROJQUAY-8507) (#3609)
Adding under_maintenance state to status indicator
2025-02-03 11:38:59 -05:00
Brandon Caton
32b8702b9c ui: fixing cypress flake (PROJQUAY-8352) (#3509)
There's a flake in the web/cypress/e2e/repository-permissions.cy.ts test where it is intermittently unable to type in the "Search for user, add/create robot account" search dropdown which occasionally fails the test. Since updating cypress the test fails consistently. This changes waits and clicks on the input allowing the type to complete and the dropdown to populate.
2024-12-13 11:27:28 -05:00
Harish Govindarajulu
813be12ea7 ui: Add proxy cache config UI to org settings (PROJQUAY-7697) (#3388)
* ui: Add proxy cache config UI to org settings (PROJQUAY-7697)

* Fix alerts + reset input fields on user action

* Add cypress test for proxy cache config

* enable proxy cache for cypress test

* Propagate backend api error to UI

* Add additional cypress test coverage

* Fix eslint error

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-11-27 07:56:20 +05:30
Daniel Messer
08d8922e54 ui: tag expiration settings support year values (PROJQUAY-8171) (#3370)
tag expiration settings support year values

Signed-off-by: dmesser <dmesser@redhat.com>
2024-10-29 13:35:57 +00:00
Harish Govindarajulu
2815424b72 ui: Render namespace values for <SelectOption> dropdown under Create Repository modal (PROJQUAY-8118) (#3356)
* ui: Render namespace values for <SelectOption> dropdown

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

* fix cypress test

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-10-24 20:56:26 +00:00
Sunandadadi
96eb824ba4 ui: show user autoprune policies under repo autoprune policies tab (PROJQUAY-8093) (#3359) 2024-10-24 15:15:22 +00:00
Daniel Messer
8ec1badb43 ui: conditionally support custom tag expiration durations (PROJQUAY-6700) (#3341)
conditionally support custom tag expiration durations with reliable human-readable display

Signed-off-by: dmesser <dmesser@redhat.com>
2024-10-21 18:32:03 +02:00
Sunandadadi
296b5f35c3 notifications: fetch autoprune tags with multiple policies for image expiry notification (PROJQUAY-8117) (#3340)
* notifications: fetch autoprune tags with multiple policies for image expiry notification(PROJQUAY-8117)

* don't fetch notifications if tags expiry is greater than notification days + add tests
2024-10-18 16:17:07 -04:00
Ivan Bazulic
77bc70a637 logs: Audit export logs requests (PROJQUAY-7679) (#3146)
* logs: Audit export logs requests (PROJQUAY-7679))
We add the ability to audit export logs requests that were previously not tracked.

* Add UI elements to properly render new audit log

* Truncate date/time column on exterme zooms

* Add initdb.py entries

* Fix migration and add test db data

* Add test database and fix migration paths

* Changed logging mechanism to grab raised exceptions

* Fix improper import

* Add date/time timestamp to saved metadata

* Change message on export logs screen in UI

* Changed message in old UI as well

* Change log description in new UI too

* Simplify call logic and add additonal information to logged errors
2024-10-03 13:07:22 -04:00
Sunandadadi
ec61139e98 ui: clear state on delete autoprune policies (PROJQUAY-8003) (#3277)
* ui: clear state on delete autoprune policies (PROJQUAY-8003)

* add retries to tests + triggering click
2024-10-01 15:29:22 -04:00
Brandon Caton
a032e009a5 ui: adding tag pattern to audit logs in namespace policy list (PROJQUAY-8002) (#3273)
Adds the tag pattern to audit logs and the namespace policy list in the repository auto-pruning tab.
2024-10-01 11:19:47 -04:00
Sunandadadi
6ba9977157 ui: show all auto-pruning policies for namespace (PROJQUAY-7975) (#3262) 2024-10-01 09:22:39 -04:00
Sunandadadi
f327551ccc autoprune: support multiple organization and repository policies (PROJQUAY-7695) (#3209)
* autoprune: support multiple organization policies (PROJQUAY-7695)

* ui to support multiple org policies

* backend to support multiple repository autoprune policies

* ui: multiple repository policies

* fixing tests

* adding tests
2024-09-20 09:18:09 -04:00
Brandon Caton
27d7c149b9 db: adding immutable column to tag table (PROJQUAY-7777) (#3195)
Adding immutable column to tag table
2024-09-19 10:02:20 -04:00
Brandon Caton
6da65c5003 api: adding tag_pattern to autoprune API (PROJQUAY-7668) (#3188)
Allows users to specify a regex tag pattern when creating namespace/repository autoprune policies via the new UI. Users will have the option to prune tags that only match the tag pattern or exclude tags that match the tag pattern.
2024-09-13 09:48:51 -04:00
Sunandadadi
b1de06938b cypress: fix flake test (PROJQUAY-7624) (#3137)
* cypress: fix flake test (PROJQUAY-7624)

* format fix

* fetch using id of input parent

* removing chaning of commands
2024-08-13 13:26:49 -04:00
Ivan Bazulic
b0a3856c5a bug: Fix UI x-axis display (PROJQUAY-7467) (#3053)
* bug: Fix UI x-axis display (PROJQUAY-7467)
Several fixes were made:

- We weren't properly displaying the `x` axis. This change increases the border padding to properly display the axis at the bottom.
- We weren't properly setting the legend font colors which made it impossible to see it when dark mode was turned on. We now properly apply them.
- If loaded logs were empty, the graph would not render properly. We check if any data should be rendered, if not, we display a message instead of rendering the graph.
2024-07-22 09:25:53 -04:00
Brandon Caton
4c15712a82 db: fixing alembic migration (PROJQUAY-7493) (#3044)
fixing alembic migration
2024-07-17 15:02:53 -04:00
Brandon Caton
854046d904 ui: adding message that registry wide autoprune has been enabled (PROJQUAY-7452) (#3042)
adding message that registry wide autoprune has been enabled
2024-07-17 13:55:56 -04:00
Kenny Lee Sin Cheong
32890207da registry: index manifest artifact type for filtering (PROJQUAY-7471) (#3035)
Previous assumption made use of the config media type only, which is not the case
if a manifest's artifact type is explicitly set. i.e the config's media type and
artifact type are different, and the artifact type take precedence for filtering.
2024-07-16 22:33:38 +00:00
Brandon Caton
916aff690c oauth: logging assign oauth action to audit logs (PROJQUAY-7431) (#3033)
logging assign oauth action to audit logs
2024-07-16 14:24:17 -04:00
Marcus Kok
638b0a0195 ui: add search bar for usage logs (PROJQUAY-7109) (#2955)
add search bar for usage logs
2024-07-11 15:45:44 -04:00
Sunandadadi
0cdd254ce1 ui: fix for negative integers in image expiry days (PROJQUAY-7442) (#3013) 2024-07-10 10:13:00 -04:00
Sunandadadi
13f6cd590c featureflag: add feature flag for image expiry trigger (PROJQUAY-7460) (#3007)
* feature flag: add feature flag for image expiry trigger (PROJQUAY-7460)

* add FEATURE_IMAGE_EXPIRY_TRIGGER to CLIENT_WHITELIST

* minor fix

* setting IMAGE_EXPIRY_TRIGGER to true for testing

* fixing config.json
2024-07-08 17:43:14 -04:00
Sunandadadi
8812ebc16d ui: Frontend changes for repo image expiry notification (PROJQUAY-7078) (#2986)
* database: adding subject_backfilled index to manifest table (PROJQUAY-7360) (#2963)

adding subject_backfilled index to manifest table

* Rebasing with latest

* updating cypress data

* Rebasing with latest

* Forcing an empty commit.

* minor fixes

* Rebasing with latest

* format fix

* ui

* Forcing an empty commit.

* adding ui validations

* minor type check fix

---------

Co-authored-by: Brandon Caton <bcaton@redhat.com>
2024-06-27 19:10:09 -04:00
Sunandadadi
6c371c5406 db: updates for image expiry notification (PROJQUAY-7075) (#2894)
* resolving conflicts

* database: adding subject_backfilled index to manifest table (PROJQUAY-7360) (#2963)

adding subject_backfilled index to manifest table

* adding index to last_ran_ms and updating alembic head

* minor fixes

* updating cypress data

---------

Co-authored-by: Brandon Caton <bcaton@redhat.com>
2024-06-25 15:59:40 -04:00
Brandon Caton
e4f05583c1 oauth: allowing to assign token to user (PROJQUAY-7074) (#2869)
Allow organization administrators to assign Oauth token to another user.
2024-06-25 09:23:51 -04:00
Brandon Caton
bc06a3ef36 database: adding subject_backfilled index to manifest table (PROJQUAY-7360) (#2963)
adding subject_backfilled index to manifest table
2024-06-24 14:04:27 -04:00
Kenny Lee Sin Cheong
4546163e83 registry: implements the OCI 1.1 referrers API (PROJQUAY-7280) (#2597)
* registry: implements the OCI 1.1 referrers API

Migrations:
- Adds a subject column for lookup
- Adds a subject_backfilled column to track status of the backfilling
of existing manifests
- Adds a manifest_json column making use of postgres' JSONB support,
for future use.

Manifestsubjectbackfillworker: Indexes existing manifests for possible
existing subject field.

* Deprecate IGNORE_UNKNOWN_MEDIATYPES

* Cleanup
2024-06-07 13:28:13 -04:00
Daniel Messer
165dc6cd97 ui: fix locale and layout issues with the time picker in tag expiration modal (PROJQUAY-7069) (#2840)
* adjust date formatting for browser locale

Signed-off-by: dmesser <dmesser@redhat.com>
2024-04-26 22:06:48 +02:00
Sunandadadi
f0bce432c2 ui: disable invited tab when team is synced (PROJQUAY-6831) (#2838)
* ui: disable invited tab when team is synced (PROJQUAY-6831)

* using strict comparision
2024-04-26 09:17:00 -04:00
Daniel Messer
17c41ff45e ui: overview page fixes (PROJQUAY-7107) (#2843)
* dark mode, layout and content fixes

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

* dark mode support

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

* adjust test expectations

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

* correct expected location

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

---------

Signed-off-by: dmesser <dmesser@redhat.com>
2024-04-26 15:09:14 +02:00
Sunandadadi
05388866db ui: fixing failing cypress test (PROJQUAY-7106) (#2841) 2024-04-26 08:29:44 -04:00
Sunandadadi
81682c96d0 oidc: ask for group object id for azure oauth login (PROJQUAY-6917) (#2805)
* oidc: ask for group object id for azure oauth login (PROJQUAY-6917)

* fixing tests

* adding tests
2024-04-24 10:18:31 -04:00
Brandon Caton
a3ece324c3 ui: batching requests in repository list page (PROJQUAY-6972) (#2827)
This change batches requests when trying to fetch all repositories the current user has access too. Otherwise the UI will make simultaneous requests equal to the number of organizations, where if the number is great enough it will exhaust the browser resources and cause the page to crash.
2024-04-19 15:14:29 -04:00
Daniel Messer
5798dd5006 ui: Allow to configure the Kubernetes pull secret scope for Robot Tokens (PROJQUAY-7012) (#2823)
implement scoped Kubernete secret creation

Signed-off-by: dmesser <dmesser@redhat.com>
2024-04-19 09:34:51 +02:00
Sunandadadi
c02551b5fc ui: non org admins cannot remove team sync (PROJQUAY-6924) (#2787)
non org admins cannot remove team sync
2024-03-27 10:14:44 -04:00
Harish Govindarajulu
aacbf97d1b ui: Add human readable autoprune policy method type (PROJQUAY-6918) (#2781)
* ui: Add human readable autoprune policy method type (PROJQUAY-6918)

* Fix cypress test

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-22 14:33:07 +05:30
Marcus Kok
d0ed29b2f8 logs: add button to hide/show logs (PROJQUAY-6826) (#2757)
Add button to hide usage log chart.
2024-03-19 14:45:55 -04:00
Sunandadadi
ed7ea5759d ui: rename directory sync to team sync (PROJQUAY-6880) (#2752) 2024-03-13 08:45:26 -07:00
Sunandadadi
061412abe9 ui: show delete option for robot accounts when team is synced with external group (PROJQUAY-6828) (#2737)
fixing display of trash icon when team sync is enabled + tests
2024-03-10 12:03:55 +01:00
Harish Govindarajulu
3e55c5940b autoprune: add alembic script to remove unique constraint on index (PROJQUAY-6782) (#2725)
Make "repositoryautoprunepolicy_namespace_id" index not unique to avoid
duplicate key violation error

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-07 23:53:57 +05:30
Brandon Caton
2cf6b60190 ui: not displaying build tab when repo is mirror or readonly (PROJQUAY-6827) (#2730)
not displaying build tab when repo is mirror or readonly
2024-03-07 10:37:08 -05:00
Brandon Caton
4f0db4b90f quota: feature flagging quota edit/view/enforce (PROJQUAY-6734) (#2709)
feature flagging quota edit/view/enforce functionality
2024-03-05 13:10:18 -05:00
Harish Govindarajulu
0be8cb7cb1 Add auto-prune tests + fix namespace autoprune policy UI issue (PROJQUAY-6773) (#2717)
Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-04 15:29:27 +00:00
Sunandadadi
74fd23d7d3 backend: Syncing teams with OIDC group (PROJQUAY-6290) (#2693) 2024-02-27 16:53:51 -05:00
Marcus Kok
5e3381a425 ui: add usage log table (PROJQUAY-6702) (#2695)
Adds table for logs in the repository and organization settings.
2024-02-27 12:22:20 -05:00
Harish Govindarajulu
98811f5397 feat: Add auto-prune policy at repository level (PROJQUAY-6354) (#2691)
* feat: Add support for auto pruning at repository level (PROJQUAY-6354)

* Add repositoryautoprunepolicy table to alembic migration script

* Add repository auto-prune policy endpoints

* Add UI for repository auto-pruning policies

* case: apply repo auto-prune policy when no namespace policy given

* case: both namespace and repo pruning policy are given

* Add tests for repository autoprune endpoint

* Add cypress test for repository auto-prune

* Add repo auto-prune policy clean-up for repository deletion

* Add repository auto pruning tables to quay db snapshot for cypress tests

* Address review comments

* Add more tests + fix CI + reformat files

* Address review comments #2

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-02-27 15:02:57 +05:30
Sunandadadi
4cb0a57488 ui: ui and initial scaffolding for OIDC auth (PROJQUAY-6298) (#2646)
* added base class for OIDC auth + UI

* adding read-only teams page + display sync config + option to remove team sync

* setting page in read only mode fix

* ui tests

* adding validation for group name input

* fixes based on review + fixing test suite

* add backend tests for externalOIDC

* minor fixes
2024-02-20 11:58:10 -05:00
Marcus Kok
0c03e6af6b ui: add chart for usage logs (PROJQUAY-6701) (#2681)
Adds chart in usage log view for orgs and repos
2024-02-19 11:02:26 -05:00