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
Brandon Caton
b641538bad
ui: removing repo settings and build UI feature flags (PROJQUAY-6617) ( #2680 )
...
Removing repo settings and build UI feature flags since they should be enabled by default.
2024-02-19 09:19:10 -05:00
Brandon Caton
00d983bf4b
ui: view builds logs (PROJQUAY-6296) ( #2679 )
...
Add's the functionality to click on a build in the build history table to view build logs as well as cancel the build.
2024-02-16 11:23:55 -05:00
Brandon Caton
417e66ee76
ui: run builds (PROJQUAY-6297) ( #2636 )
...
Adds the ability for users to run builds via the Patternfly UI.
2024-02-13 12:00:59 -05:00
Brandon Caton
f312efbce2
ui: fixing build trigger test (PROJQUAY-6695) ( #2677 )
...
Fixes issue where all repositories have had their date passed and have been marked stale in the create build trigger tests.
2024-02-13 10:15:09 -05:00
Marcus Kok
5f4c15bebd
ui: add export button for usage logs (PROJQUAY-6420) ( #2492 )
...
Adds tab for logs in the organization and repository views. Adds modal
for exporting the logs to either an email or callback url.
2024-02-09 09:41:46 -05:00
Marcus Kok
5c44cc483f
ui: add section for RH subscriptions under billing settings (PROJQUAY-5363) ( #2656 )
...
* Add marketplace ui to patternfly
* Fix bug where unlimited private repo sku
showed extremely large number in ui
2024-02-08 14:03:59 -05:00
Brandon Caton
df73b6e9e1
ui: updating references to status.redhat.com (PROJQUAY-6654) ( #2645 )
...
Updates references from `status.quay.io` to `status.redhat.com`.
2024-02-07 14:07:38 -05:00
Marcus Kok
2ab7dc29f4
marketplace: add support for quantity from subscriptions api (PROJQUAY-6551) ( #2633 )
...
* Adds handling for when a subscription returned from the subscription watch api has a quantity greater than 1. Number of private repos should be correctly calculated using the quantity.
* Updates ui so that subscriptions can only be added to an org as a group, i.e. a subscription with quantity = 2 cannot be split across organizations.
2024-01-29 15:21:30 -05:00
Brandon Caton
03b7fec211
ui: implementing github and gitlab build triggers (PROJQUAY-6585) ( #2614 )
...
Adds the creation of GitHub and GitLab build triggers.
2024-01-25 13:00:51 -05:00
Daniel Messer
40bcd1f141
ui: allow for regular expressions to be used in search (PROJQUAY-6597) ( #2611 )
...
allow regex search and simplify search input
---------
Signed-off-by: dmesser <dmesser@redhat.com >
2024-01-22 21:11:44 +01:00
Brandon Caton
7cec2f6697
ui: implementing creation of custom git trigger (PROJQUAY-6299) ( #2599 )
...
Implements the build trigger creation wizard.
2024-01-17 10:04:44 -05:00
Daniel Messer
e8ff33e728
logs: add failure logging for login, push, pull and delete events (PROJQUAY-5411) ( #1903 )
...
* add login failure logging
Signed-off-by: dmesser <dmesser@redhat.com >
* move failure logging into credential validation
Signed-off-by: dmesser <dmesser@redhat.com >
* more precise tracking of affected users
Signed-off-by: dmesser <dmesser@redhat.com >
* fix indent
Signed-off-by: dmesser <dmesser@redhat.com >
* differentiate robots with wrong credentials
Signed-off-by: dmesser <dmesser@redhat.com >
* don't audit failures by default
Signed-off-by: dmesser <dmesser@redhat.com >
* discrete failure tracking for logins, push, pulls and deletes
Signed-off-by: dmesser <dmesser@redhat.com >
* refine log metadata
Signed-off-by: dmesser <dmesser@redhat.com >
* login failure log visualization
Signed-off-by: dmesser <dmesser@redhat.com >
* properly use data model
Signed-off-by: dmesser <dmesser@redhat.com >
* fix unit test bug
Signed-off-by: dmesser <dmesser@redhat.com >
* track non-existing repos differently
Signed-off-by: dmesser <dmesser@redhat.com >
* log view visualization of failed pushes and pulls
Signed-off-by: dmesser <dmesser@redhat.com >
* ensure all tests are conducted with failure logging
Signed-off-by: dmesser <dmesser@redhat.com >
* additional unicode protection
Signed-off-by: dmesser <dmesser@redhat.com >
* python black formatting
Signed-off-by: dmesser <dmesser@redhat.com >
* add cypress test data
Signed-off-by: dmesser <dmesser@redhat.com >
* add safety checks for ascii conversion attempts
Signed-off-by: dmesser <dmesser@redhat.com >
* adjusting unit test with correct error message
Signed-off-by: dmesser <dmesser@redhat.com >
* update to alembic head
Signed-off-by: dmesser <dmesser@redhat.com >
* add standard oauth token metadata in audit
Signed-off-by: dmesser <dmesser@redhat.com >
* update alembic head
Signed-off-by: dmesser <dmesser@redhat.com >
* correct field name
Signed-off-by: dmesser <dmesser@redhat.com >
* formatting
Signed-off-by: dmesser <dmesser@redhat.com >
* bump alembic head
Signed-off-by: dmesser <dmesser@redhat.com >
* refactor auth logging imports
Signed-off-by: dmesser <dmesser@redhat.com >
* bump alembic head
Signed-off-by: dmesser <dmesser@redhat.com >
* formatting
Signed-off-by: dmesser <dmesser@redhat.com >
* restore module
Signed-off-by: dmesser <dmesser@redhat.com >
* pre-commit fixes
Signed-off-by: dmesser <dmesser@redhat.com >
* adding missing default
Signed-off-by: dmesser <dmesser@redhat.com >
* bump alembic head
Signed-off-by: dmesser <dmesser@redhat.com >
* update test data
Signed-off-by: dmesser <dmesser@redhat.com >
* refactoring to save db calls
Signed-off-by: dmesser <dmesser@redhat.com >
* fix unit tests
Signed-off-by: dmesser <dmesser@redhat.com >
* handle unicode conversion errors on email look up
Signed-off-by: dmesser <dmesser@redhat.com >
* bump alembic head
Signed-off-by: dmesser <dmesser@redhat.com >
* proper debug logging and conditional db calls
Signed-off-by: dmesser <dmesser@redhat.com >
* omit wildcard import
Signed-off-by: dmesser <dmesser@redhat.com >
* re-add import
Signed-off-by: dmesser <dmesser@redhat.com >
---------
Signed-off-by: dmesser <dmesser@redhat.com >
2024-01-16 16:46:20 +01:00
Brandon Caton
27cceb1bb4
ui: adding build trigger table (PROJQUAY-6295) ( #2570 )
...
Adds the table to view configured build triggers for a repository. Includes enabling/disabling, deletion, viewing credentials, and notifying of automatically disabled triggers.
2024-01-11 09:02:24 -05:00
Brandon Caton
7357e317d6
ui: adding build avatar image size (PROJQUAY-6575) ( #2580 )
...
adding avatar image size
2024-01-03 15:19:31 -05:00
Daniel Messer
2a22ed09c6
ui: add dark mode to see Quay in a new light or lack thereof (PROJQUAY-6570) ( #2575 )
...
Signed-off-by: dmesser <dmesser@redhat.com >
2024-01-03 15:40:32 +01:00
Sunandadadi
77d6ad741b
ui: breadcrumbs fix when org and repo names are identical (PROJQUAY-6504) ( #2569 )
...
* ui: breadcrumbs fix when org and repo names are identical (PROJQUAY-6504)
* eslint fix
* add tests for team name identical to org and repo name
* format fix
* revert db inserts for queueitem and log table
2023-12-19 16:02:52 -05:00
Brandon Caton
ac221a601d
ui: implementing build history page (PROJQUAY-6293) ( #2523 )
...
implementing build history page
2023-12-13 16:03:04 -05:00
Brandon Caton
236e2fe4fd
autoprune: adding audit logs to namespace autoprune policy API (PROJQUAY-6229) ( #2431 )
...
Add's audit logs to the CRUD endpoints for both user and organization namespace auto-prune policies.
2023-12-04 13:51:52 -05:00
Sunandadadi
a9eaa380f1
ui: add breadcrumbs for teams page (PROJQUAY-6442) ( #2504 )
...
* ui: add breadcrumbs for teams page (PROJQUAY-6442)
* set visibility to false when on teams route
* Revert "set visibility to false when on teams route"
This reverts commit 9a0fb37a50 .
2023-11-28 16:57:40 -05:00
Sunandadadi
a7b448c630
ui: following capitalisation guidelines in the new ui (PROJQUAY-6247) ( #2488 )
...
* ui: unifying title text to follow sentance case (PROJQUAY-6247)
* capitalize Repository and Organization pronouns
* fixing tests
* fixing eslint
* convert breadcrumbs and page titles to Titlecase
* fixing tests
* fix repositories list test
* reuse title case to capitalize first word + not capitalizing user input
* fixing tests
* fixing eslint
* fix case of page titles
* fixing case for make public
2023-11-21 19:58:43 -05:00
Harish Govindarajulu
29acc8da5e
ui: Allow adding user from create team wizard (PROJQUAY-6336) ( #2468 )
...
* ui: Allow adding user from create team wizard (PROJQUAY-6336)
* Fix issue with Entity search dropdown
* Reset repository permissions checkbox in create team wizard
---------
Signed-off-by: harishsurf <hgovinda@redhat.com >
2023-11-21 09:59:05 -05:00
Daniel Messer
0c08bfffa2
ui: display manifest list size range (PROJQUAY-6393) ( #2469 )
...
* add child manifest size tracking in manifest list rows
Signed-off-by: dmesser <dmesser@redhat.com >
2023-11-16 14:39:31 +01:00
Sunandadadi
d860e40b3d
ui: breadcrumbs on new ui (PROJQUAY-5452) ( #1893 )
...
* UI: Breadcrumbs fix (PROJQUAY-5452)
* minor fixes
* using a generalized function to fetch the next breadcrumb item
* remove building breadcrumbs from browser histroy
* add tests
* fixing eslint
* fetching element from test-id instead of patternfly class
2023-11-15 11:44:18 -05:00
Harish Govindarajulu
94ca5b31c6
ui: fix tab visibility for teams and membership (PROJQUAY-6333) ( #2451 )
...
* ui: fix tab visibility for teams and membership (PROJQUAY-6333)
* Add readonly checks when user doesn't have sufficient permissions
* Add test for non-admin user of a team
---------
Signed-off-by: harishsurf <hgovinda@redhat.com >
2023-11-13 13:35:32 -05:00
Brandon Caton
ccb3658a90
ui: allow current day to be selected for tag expiration (PROJQUAY-6262) ( #2448 )
...
Allowing current day to be chosen, choose individual minutes, and additional checks for setting tag expiration
2023-11-08 14:53:35 -05:00
Jonathan King
0b06da023a
ui: Add form for repository state (PROJQUAY-5715) ( #2449 )
...
- Allow user to switch repository between normal, mirror, and read-only states
2023-11-07 23:23:38 +01:00
Marcus Kok
7c0cc50a59
ui: Add landing page for quay.io (PROJQUAY-5460) ( #2264 )
...
Adds `Overview` section on sidebar with information and
links for quay.io. Toggled by the config when `BRANDING.quay_io`
is true.
2023-10-31 10:52:35 -04:00
Harish Govindarajulu
88f40d9a50
ui: Implement drawer to add a new team member (PROJQUAY-6032) ( #2270 )
...
* ui: Implement drawer to add a new team member (PROJQUAY-6032)
* Rebase and resolve merge conflicts
* Address review comments
---------
Signed-off-by: harishsurf <hgovinda@redhat.com >
2023-10-20 14:29:11 -04:00