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

144 Commits

Author SHA1 Message Date
Daniel Messer
c11d9e6191 ui: tag expiration settings support year values (PROJQUAY-8171) (#3370)
tag expiration settings support year values

Signed-off-by: dmesser <dmesser@redhat.com>
2024-12-11 09:50:18 -05:00
OpenShift Cherrypick Robot
e97bbca8a0 [redhat-3.13] ui: Add proxy cache config UI to org settings (PROJQUAY-7697) (#3428)
* 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>
Co-authored-by: harishsurf <hgovinda@redhat.com>
2024-11-27 14:43:20 +05:30
OpenShift Cherrypick Robot
1e5a519a60 [redhat-3.13] ui: Update regex pattern helper text for validating team name (PROJQUAY-8110) (#3354)
* ui: update regex pattern in helpertext for team name(PROJQUAY-8110)

* old ui: update regex pattern for validating team name

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
Co-authored-by: harishsurf <hgovinda@redhat.com>
2024-11-05 20:00:37 +00:00
OpenShift Cherrypick Robot
8418b7aa79 [redhat-3.13] ui: Render namespace values for <SelectOption> dropdown under Create Repository modal (PROJQUAY-8118) (#3361)
* ui: Render namespace values for <SelectOption> dropdown

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

* fix cypress test

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
Co-authored-by: harishsurf <hgovinda@redhat.com>
2024-11-04 09:56:29 -05:00
OpenShift Cherrypick Robot
199f041d68 [redhat-3.13] ui: show user autoprune policies under repo autoprune policies tab (PROJQUAY-8093) (#3360)
ui: show user autoprune policies under repo autoprune policies tab (PROJQUAY-8093)

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2024-10-24 15:53:53 +00:00
OpenShift Cherrypick Robot
31edc93514 [redhat-3.13] ui: conditionally support custom tag expiration durations (PROJQUAY-6700) (#3352)
conditionally support custom tag expiration durations with reliable human-readable display

Signed-off-by: dmesser <dmesser@redhat.com>
Co-authored-by: dmesser <dmesser@redhat.com>
2024-10-21 17:12:57 +00:00
OpenShift Cherrypick Robot
63dbac679d [redhat-3.13] ui: add entry for robot federation config (PROJQUAY-8050) (#3330)
* ui: add entry for robot federation config (PROJQUAY-8050)

adding entry for showing description in the UI for robot federation config changes


---------

Co-authored-by: Syed <syed@apache.org>
2024-10-15 12:20:30 -04:00
OpenShift Cherrypick Robot
ab421ac38f [redhat-3.13] logs: Audit export logs requests (PROJQUAY-7679) (#3298)
* 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

---------

Co-authored-by: Ivan Bazulic <ibazulic@redhat.com>
2024-10-03 21:08:09 +00:00
OpenShift Cherrypick Robot
106f8124f1 [redhat-3.13] ui: adding tag pattern to audit logs in namespace policy list (PROJQUAY-8002) (#3281)
Adds the tag pattern to audit logs and the namespace policy list in the repository auto-pruning tab.

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2024-10-02 14:43:54 +00:00
OpenShift Cherrypick Robot
88846844a1 [redhat-3.13] ui: show all auto-pruning policies for namespace (PROJQUAY-7975) (#3274)
ui: show all auto-pruning policies for namespace (PROJQUAY-7975)

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
Co-authored-by: Sunandadadi <Sunandadadi@users.noreply.github.com>
2024-10-01 20:55:16 +00:00
OpenShift Cherrypick Robot
fc9a895b5c [redhat-3.13] ui: clear state on delete autoprune policies (PROJQUAY-8003) (#3279)
* ui: clear state on delete autoprune policies (PROJQUAY-8003)

* add retries to tests + triggering click

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2024-10-01 16:16:55 -04:00
Amir Fefer
c87d852f93 ui: fix confirm username modal loop (PROJQUAY-7982) (#3254)
ui-plugin: fix confirm username modal loop (PROJQUAY-7982)
2024-09-25 15:48:41 +00:00
Syed Ahmed
e9161cb3ae robots: Add robot federation for keyless auth (PROJQUAY-7803) (#3207)
robots: Add robot federation for keyless auth (PROJQUAY-7652)

adds the ability to configure federated auth for robots by
using external OIDC providers. Each robot can be configured
to have multiple external OIDC providers as the source for
authentication.
2024-09-24 11:32:38 -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
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
Marcus Kok
a2919e4db5 ui: add enable/disable team sync for log kinds (PROJQUAY-7388) (#2982)
add enable/disable team sync for log kinds
2024-09-06 16:17:45 -04:00
Erik Berg
43e6496419 bug: too strict validateTeamName regex (PROJQUAY-7606) (#3126)
If you PUT against /api/v1/organization/mirrors/team/CAPITAL-LETTERS
you'll get a different regex back.

  Invalid team name CAPITAL-LETTERS: Namespace must match expression
  ^([a-z0-9]+(?:[._-][a-z0-9]+)*)$

Let's use this more permissive regex in the web-ui instead.
2024-08-12 13:10:56 -04:00
Ivan Bazulic
3c8ed17b17 bug: Fix UI x-axis display (PROJQUAY-7467) (#3066)
* 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.

* bug: Correct padding on graph rendering (PROJQUAY-7467)
The previous changes were not sufficient when only one action was recorded. We now set fixed padding on the bottom to `50px` instead of dynamically allocating it to resolve the problem.
2024-07-22 11:11:54 -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
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
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
1bff53e6a3 ui: add helper text for input (PROJQUAY-7442) (#3015)
* ui: add helper text for input (PROJQUAY-7442)

* minor fixes

* fixing tests

* minor revert
2024-07-11 10:04:18 -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
Marcus Kok
1d4865a0f9 ui: adjust large legends for usage logs (PROJQUAY-7384) (#2978)
adjust large legends for usage logs
2024-06-26 09:12:19 -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
4ae7593238 logs: adjust graph padding dynamically (PROJQUAY-6857) (#2754)
Adjust usage log graph padding dynamically.
2024-03-19 14:46:22 -04:00
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
Bill Dettelback
49eddb992b ui: changed wording from 'Vulnerabilities' to 'Advisories' on Security tab (PROJQUAY-6638) (#2772)
Changed wording from 'Vulnerabilities' to 'Advisories' on Security tab
2024-03-19 08:35:40 -04:00
Marcus Kok
6f2905b10e logs: add action log for team sync enable/disable (PROJQUAY-6763) (#2750)
* add action log for team sync enable/disable
* adds alembic migration for team sync logs added to log kind table
2024-03-18 14:22:23 -04:00
Marcus Kok
285ead9050 logs: enable logs for user namespace (PROJQUAY-6855) (#2751)
enable logs for user namespace
2024-03-18 08:25:28 -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
234243ddc4 ui: add description for log kind autoprune policy (PROJQUAY-6781) (#2727)
* ui: add description for logkind autoprune policy (PROJQUAY-6781)

* Add log description for proxy cache config logentrykind

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-07 23:57:29 +05:30
Harish Govindarajulu
a509ea1d3b ui: show repository autoprune tab only for repo write permission (PROJQUAY-6780) (#2723)
ui: show repository autoprune tab only for write permission (PROJQUAY-6780)

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-03-07 23:55:59 +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
Marcus Kok
b6c6f00c3b ui: fix bug in usage logs description (PROJQUAY-6755) (#2711)
fix change state to be a function
2024-03-01 09:52:42 -05:00