fixing CVE-2025-4374 by extending the create_repository method to understand if we are requesting a proxy_cache repository added unittests for create_repository when proxy_cache.
Co-authored-by: Michaela Lang <milang@redhat.com>
projquay-8633 accepting dates in DD MMM YYYY format + calendar button is visible + fixing alignment across entire toolbox + improved logic for consistency across different browser language settings
Co-authored-by: sayalibhavsar <sayalibhavsar9009@gmail.com>
* storage: Increase proxy JWT expiry to 10 minutes (PROJQUAY-8894) The current JWT expiry time of 30 seconds is sometimes inadequate, especially for scanning purposes when download is not as quick as one expects. This will increase the expiry time to 10 minutes allowing downloading of layers even in slower environments.
* Set expiry to 600 seconds
---------
Co-authored-by: Ivan Bazulic <ibazulic@redhat.com>
* Revert "bug: Adding allow hidden flag while looking up for manifests (PROJQUAY-8536) (#3722)"
This reverts commit f0c153fab5.
* Revert "proxy: moving manifest check to after upstream manifest fetch (PROJQUAY-8536) (#3814)"
This reverts commit 944edd064b.
---------
Co-authored-by: bcaton <bcaton@redhat.com>
* Adding allow hidden flag while looking up for manifests
* added test to validate allow_hidden tag
* minor addition to fix failing test
* testing
* fixed test
---------
Co-authored-by: shudeshp <shudeshp@redhat.com>
Co-authored-by: Brandon Caton <bcaton@redhat.com>
* gc: garbage collect manifests not targetted by any tags when deleting repository (PROJQUAY-8136)
* test untagged manifest removal
---------
Co-authored-by: Kenny Lee Sin Cheong <kenny.lee28@gmail.com>
* ui: render modelcard markdown tables (PROJQUAY-8680)
* ui: oembed to render embeded video in markdown (PROJQUAY-8679)
* ui: render tables and embeded links in markdown (PROJQUAY-8673)
* Github linked videos and Patternfly code block
* Limit img source to github and huggingface
---------
Co-authored-by: Kenny Lee Sin Cheong <kenny.lee28@gmail.com>
chore: Fix security url template variable (PROJQUAY-8650) Fixes the wrong name of the variable for the security link in the base template. All links should show properly now.
Co-authored-by: Ivan Bazulic <ibazulic@gmail.com>
Fixes a bug where the annotation is required at the manifest level even if artifactType is present. The modelcard should only be indicated by the artifact type and layer annotation for oci artifacts.
Co-authored-by: bcaton <bcaton@redhat.com>
* ui: implement change to render modelcard stored in layers (PROJQUAY-8412)
When a manifest has certain annotations or artifactTypes, render the
applicable modelcard markdown in a new tags detail tab.
* removing untar when fetching model card
* removing extra api calls
* Add modelcar check tests
---------
Co-authored-by: bcaton <bcaton@redhat.com>
* ui: Expand support for customized footer links (PROJQUAY-5648)
Previous iteration only allowed changes to the terms of service. With this push, all footer links should be customizable through the `FOOTER_LINKS` object. Example:
~~~
FOOTER_LINKS:
TERMS_OF_SERVICE_URL: "some_url"
PRIVACY_POLICY_URL: "some_url"
SECURITY_URL: "some_url"
ABOUT_URL: "some_url"
~~~
Missing entries will not be printed out in the UI.
* Fixes to parsing of config object
* Add type annotation