OpenShift Cherrypick Robot
71dd05f1e2
[redhat-3.12] ui: removing bootbox ( #3417 )
...
removing bootbox
Co-authored-by: bcaton <bcaton@redhat.com >
2024-11-22 14:03:13 -05:00
OpenShift Cherrypick Robot
58624700f1
[redhat-3.12] ui: Update regex pattern helper text for validating team name (PROJQUAY-8110) ( #3355 )
...
* ui: update regex pattern in helpertext for team name(PROJQUAY-8110)
Signed-off-by: harishsurf <hgovinda@redhat.com >
* 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-21 18:22:02 +05:30
OpenShift Cherrypick Robot
0a462de9b1
[redhat-3.12] ui: removing image expiry trigger option for old ui (PROJQUAY-7735) ( #3174 )
...
* ui: removing image expiry trigger option for old ui (PROJQUAY-7735)
* remove trailing whitespace
---------
Co-authored-by: Sunandadadi <sunanda.3094@gmail.com >
2024-08-29 13:50:07 -04:00
OpenShift Cherrypick Robot
401382f516
[redhat-3.12] ui: assign OAuth token to user form checks (PROJQUAY-7433) ( #3046 )
...
disable submit if no scope selected, fix bug when cancelling user assignment
Co-authored-by: bcaton <bcaton@redhat.com >
2024-07-17 16:05:18 -04:00
Brandon Caton
9281363e87
ui: adding message that registry wide autoprune has been enabled (PROJQUAY-7452) ( #3045 )
...
adding message that registry wide autoprune has been enabled
2024-07-17 15:22:13 -04:00
OpenShift Cherrypick Robot
27f4e121ef
[redhat-3.12] oauth: clarifying message on creating oauth token (PROJQUAY-7434) ( #3037 )
...
additional message on create oauth token
Co-authored-by: bcaton <bcaton@redhat.com >
2024-07-16 16:24:48 -04:00
Brandon Caton
a6918da548
oauth: logging assign oauth action to audit logs (PROJQUAY-7431) ( #3033 ) ( #3034 )
...
logging assign oauth action to audit logs
2024-07-16 15:58:45 -04:00
OpenShift Cherrypick Robot
a06b6e929c
[redhat-3.12] ui: show image expiry trigger in usage logs (PROJQUAY-7466) ( #3019 )
...
ui: show image expiry trigger in usage logs (PROJQUAY-7466)
Co-authored-by: Sunandadadi <sunanda.3094@gmail.com >
2024-07-11 19:10:15 +00: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
Marcus Kok
85ecb7cbfd
ui: show 'unlimited' if private repo count is over max number (PROJQUAY-7016) ( #2824 )
...
show 'unlimited' if private repo count is over max number
2024-06-11 08:59:07 -04:00
Marcus Kok
a35009a9cf
ui: show repo count in marketplace UI (PROJQUAY-7185) ( #2875 )
...
ui: show repo count in marketplace UI
2024-06-06 09:11:40 -04:00
Sunandadadi
d10c868edc
ui: send recovery email option in superusers panel (PROJQUAY-7195) ( #2879 )
2024-05-15 17:41:00 -04:00
Sunandadadi
bf766a8288
ui: dont show username password signin when auth_type is oidc (PROJQUAY-6740) ( #2778 )
...
ui: Dont show username password signin when auth_type is oidc (PROJQUAY-6740)
2024-03-20 16:13:14 -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
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
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
Christian Loos
696c35a8ae
ui: fix docker and podman login command for windows (PROJQUAY-6648) ( #2644 )
2024-02-12 11:04:26 -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
Brandon Caton
eec2c0fc5e
ui: fixing tag list reset when rendering manifest lists (PROJQUAY-5793) ( #2643 )
...
fixing tag list reset when rendering manifest lists
2024-02-05 10:53:30 -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
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
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
Marcus Kok
1c893baba5
marketplace: update reconciliationworker to use webCustomerId instead of ebsAccountNumber (PROJQUAY-233) ( #2582 )
...
* update reconciliationworker to use webCustomerId instead of
ebsAccountNumber
* fix reconciler where it was incorrectly using the ebsAccountNumber to
create subscriptions
* add job to reconciler so that it reconciles different ids between the
database and the user api
* separate skus to be used by billing and skus to be used by reconciler
2024-01-05 16:15:37 -05:00
Brandon Caton
9b43b4752f
ui: Prevent switch to beta UI toggle from rendering if user is anonymous (PROJQUAY-6526) ( #2558 )
...
prevent switch to beta UI toggle from rendering if user is anonymous
2023-12-15 11:24:09 -05:00
Syed Ahmed
4f0c8db105
ui: show UI toogle to all users in quay.io (PROJQUAY-6505) ( #2553 )
...
Removes the check that limits the UI toggle to RedHat
users
2023-12-14 10:30:05 -05:00
Daniel Messer
03490a0614
ui: fix broken update of repo description (PROJQUAY-6243) ( #2554 )
...
fix broken update of repo description
Signed-off-by: dmesser <dmesser@redhat.com >
2023-12-12 16:10:23 +01: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
Brandon Caton
fa8aaa328f
autoprune: background worker (PROJQUAY-6095) ( #2402 )
...
Implementation of the background worker for namespace auto-pruning.
Co-authored-by: Sunanda Dadi <Sunandadadi@users.noreply.github.com >
2023-10-16 16:45:20 -04:00
Syed Ahmed
27f1699b72
ui: Add delay after write operations (PROJQUAY-6146) ( #2400 )
...
This is useful for cases where reads and writes are
going to different DBs and there is a replication lag
between them
2023-10-12 12:45:16 -04:00
Ivan Bazulic
b42f2d7a23
documentation: Change tag template link location for build triggers (PROJQUAY-6044) ( #2234 )
...
The documentation link on the build trigger tag template screen is currently pointing to the location of the `schema` directly in the code.
This is not really useful or user friendly. This will repoint that documentation link to the KCS article written for this purpose.
2023-09-14 11:54:01 -04:00
Syed Ahmed
8314a58515
compliance: Update export hold email (PROJQUAY-6024) ( #2230 )
...
New email used by export hold team
2023-09-11 11:58:27 -04:00
Brandon Caton
65c1829b82
ui: displaying quota totals on user namespaces (PROJQUAY-5581) ( #1953 )
...
User namespaces can now view the quota total.
2023-06-21 09:09:16 -04:00
Brandon Caton
3152b1021e
ui: display sizes as base 2 (PROJQUAY-5524) ( #1968 )
...
Standardizes all sizes to be displayed as base 2 (1024 vs 1000) consistently across the Angular UI.
2023-06-13 13:59:44 -04:00
Brandon Caton
e97a3eb48f
ui: changing quota configuration byte units to base 1000 (PROJQUAY-5595) ( #1939 )
...
All byte units in the UI are base 1000 except for the quota configuration. This changes the configuration to also be base 1000 for consistency.
2023-06-06 09:40:14 -04:00
Brandon Caton
e38d70f0cb
api: add permanently delete tag usage log (PROJQUAY-5496) ( #1887 )
...
Now logging the permanently delete tag as a usage log.
2023-06-02 10:43:14 -04:00
Brandon Caton
cc70467114
Removing permanently deleted tags from tag history ( #1915 )
...
If a tag has been permanently deleted it shouldn't be shown in the tag history panel with the ability to be reverted or permanently deleted again.
2023-06-01 11:09:01 -04:00
Brandon Caton
6a39d59f65
superuser: lowering page limit (PROJQUAY-5178) ( #1912 )
...
Lowering the page limit allows for more operations to be done per requested user. Specifically in the scenario where for each user a LDAP lookup is done to check whether the user in the list is a superuser or not. This allows time for the request to complete and load the user list without error.
2023-05-31 10:58:30 -04: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