Fix test redirect_to_back
More Rails 5.1 changes
Update to Rails 5.1
Fixes #20429 - mandate URL for docker compute-resource
FactoryGirl to FactoryBot
Fixes #20355 - Request registry results in JSON
Fixes #18902 - Enable autocomplete for container image search
This enables the autocomplete for the image name search andimproves the usability of searching for container images onDocker Hub or an external Registry.
Fixes #16235 - Add verify SSL option for Registries
To allow using registries with an invalid certificatethe "Verify ssl" option disables verification forconnections to a registry.
Refs #19694 - Bump rubocop version to 0.49.1
Fixes #19694 - Align rubocop configuration with foreman-core
And fix offenses
Fixes #19396 - Rename test variable name to more specific term
To avoid conflict with methods in the same scope less ambiguousterms should be used.
Fixes #18518 - Add proper validation for container image
For now the image has only been validate via the resultof the search, but not enforced on the server side.
The model validation brings now proper feedback whenthe form has been submitted to the server.
Fixes #18733 - Prevent fallback to Docker Hub on registry search
When searching for an external registry the search would showresults from Docker Hub due to it searching via the computeresource.
By using a registry parameter to indicate which search tab is...
Fixes #14175 - Add support for Docker Registry v2
This adds more functionallity to RegistryApi and queries /v2/endpoints in case requests to v1 of the registry API fail.
Fixes #18021 - update the button label from New to Create
Based on PatternFly Terminology and Wording suggestionsDon't recommend to use New, so update New to Create.
Fixes #17729 - APIdoc - URL desc add 'Docker' to CR types
Fixes #13043 - Change Parameter inheritance to DockerParameter
Refs #9752 - Test Docker errors are propagated
Refs #14570 - Destroy Container db objectWhen deleting with container uuid params, the container object should be destroyed as well
Fixes #9752 - Pass Docker errors to controller
Fixes #15135 - Fix JS error in datatables
Lack of a tbody caused a 'typeerror: k is undefined' in datatables.
Fixes #15098 - Scope registry by taxonomies
Ensure Fog is mocked before running API/v2/create test
Fixes #9270 - Add email validation
Copied the email validation we use for the User model. This catcheserrors when creating/updating the Docker compute resource email
Fixes #14519 - Removing containers from API removes them from Docker
Before this fix, the API was just removing the container in the Foremandatabase. This commit includes more tests for both the UI and APIcontainer deletion to ensure this area is a bit more solid.
Refs #14181 - Fix authentication validation when creating registry
On 9ea405911cef1f02ca42db77c16bea4fe297093e Docker.authenticate! wascalling /auth on the Docker host API. This kind of authentication wasnot correct, as it was authenticating access to the Docker host, not to...
Fixes #14322 - Fixing API route scope
Fixes #14181 - Validate registry URL and attempt login
In order to avoid users trying to create containers in an externalregistry that doesn't exist, we should provide some preventativemeasures.
Fixes #12681 - Support rubocop 0.35.1 by fixing broken rules
Fixes #10191 - Pass proper memory parameter to Docker
Fixes #10404 - Finds correct repo name for Docker Hub registry
Bug is stated as followson centos 7 ->
$ docker versionClient version: 1.5.0-devClient API version: 1.18Go version (client): go1.3.3
$ docker search centosNAME DESCRIPTION STARS OFFICIAL AUTOMATED...
Fixes #9393 - Allow users to create container without starting it
Fixes #9901 - Better handling of errors in container api
Fixes #10029 - Docker registry API
Fixes #7865 - Adds support for configuring dns during container creation
Fixes #7864 - Adds support for exposed_ports
Fixes #9897 - Stub encryption key in registry test
Currently CI is broken as it needs the encryption key to be set. In thepast core provided a key for the Rails test environment but that's nolonger the case
Fixes #9310, #9518 - Create containers using katello repos
This commit adds code to create Containers using katello repos.
Fixes #9643 - Added search param to the containers index API
Fixes #9382 - Use connection info when connecting to docker
fixes #9271: user is now informed about http connection errors when using search in the new container wizard.
Fixes #7874 - Docker Containers API
Routes are namespaced, code still needs to be namespaced
Fixes #9456 - Validate docker registry URL
Fixes #9269 - Validate registry name
Fixes #9229 - Handles non username/password private registry case
refs #8918 - Enable creating container via katello
This commit provides the integration point to enable katello provisiondocker container
Fixes #9159 - Fix rubocop 0.28.0 errors
fixes #9033: errors encountered in new container wizard are being shown now
Refs #8409 - Partially addressing pull before create container
Inital code to do a pull of an image before creating a container.Note likely this part is going to change once we add foreman tasks butthis is the start point.
Fixes #8393: added support for basic auth for standalone registries
Fixes #8485 - Taxable containers
fixes #7867: container creation wizard now tracks state in dedicated objects
Fixes #8632 - Move docker tables out of foreman-docker
Fixes #7647: Added support for external registries
Fixes #8375 - Not validating tag uniqueness per image
Images can have duplicate tags as images are shared across repositories. Forexample, two repos could have a "latest" tag for an image.
Fixes #8329 - Search images in the hub
When an image cannot be found, the magnifier glass button displays thesearch results, including stars, description and a link to the hub.After the user clicks on an image, tags are auto pulled.
Fixes #7872 - Create container without Fog to assign name
Fog is currently making the key 'name' camelcase which is preventing theDocker API from picking it up and use it as a name. Until Fog ispatched, we should use docker-api to set the name properly.
Fixes #8036: Validate images and tags
Fixes #8035: Commit container changes
Fixes #8034 - Console support for compute resources
Fixes #8031 - container model initialization is no longer order-dependent
Fixes #8003 - Wizard finish redirects to container
Fixes #7997 - Fixing foreign key on tags relationship for images
Fixes #7986 - Save container UUID and display managed containers
Refs #7642 - Refactor image/tag and tests
Refs #7642 - Create docker image and tag models
Fixes #7895 - Deleted containers message and redirect
Fixes #7912 - Wizard path error and tests
Rubocop support and config
initial commit