refs #23019 - don't pass class to class_name in assocs (#211)
Remove redirect_to :back (Rails 5.1)
More Rails 5.1 changes
Update to Rails 5.1
Refs #21893 - rubocop trailing whitespace
Fixes #21893 - fix listing containers for specific CR
Fixes #20429 - mandate URL for docker compute-resource
Fixes #21732 - Replace :before_filter with :before_action
Fixes #20355 - Request registry results in JSON
Revert "Fixes #19964 - Replace ActiveRecord::Base with ApplicationRecord"
This reverts commit d74fb3ef5d207abd57d3155f8f661ef5e16d45fd.
Fixes #19964 - Replace ActiveRecord::Base with ApplicationRecord
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 #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 - Add missing files for updating New buttons
Update the new buttons in Registry and Menu
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
Refs #14370 - Adding new_link helper to containers and registries
Fixes #13043 - Change Parameter inheritance to DockerParameter
Refs #9752 - Test Docker errors are propagated
Fixes #16090 - Docker container wizard missing image false.png
Fixes #15888 - Remove attr_accessible calls
Fixes #15528 - 'command' should not be required
Refs #14570 - Destroy Container db objectWhen deleting with container uuid params, the container object should be destroyed as well
Refs #14570 - Fetch tags from local images properly
We were calling local_images and passing an ID as filter. However,that didn't work. Instead we can fetch the image just by callingimage(image_id) and that should retrieve the image object so we can call...
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
Fixes #15107 - Rails 4.2 test breakages
url_for in the new Rails carries some parameters that can break the linkcreation. Additionally I've disabled ruby warnings in the rake test task
Fixes #14703 - Add taxonomies to Registries API
Fixes #14662 - Revert new_link to ensure 1.11 compatibility
new_link was a helper for "New XXXX" links in Foreman that wasintroduced on 1.12-develop branch. If we want to make the new changes inforeman-docker available to current users, we should revert new_link to...
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 #14569 - Display image found/not found on search image step
Prior to this, there was a bug on the CSS that hid the icon thatdisplayed whether the image was found or not on the Docker host.
Fixes #14577 - Commit and delete buttons styling
These two buttons on Container#show did not have any styling and did notlook like buttons.
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.
Fixes #7894 - Compute resource should show 'containers' tab
Through deface, we change the 'virtual machines' tab to say container onDocker compute resources.
Fixes #10199 - Disable image capabilities under compute resource
Docker container images are not created this way, and its just confusingto users when they see this tab.
Fixes #10417 - Translate wizard states
Wizard states were shown after calling 'symbol'.to_s.humanize, whichdidn't allow them to be translated. I define the strings to be shownin the helper so that they can be translated.
Fixes #14391 - Hide access to Docker compute resource via compute profile
Docker compute resources shouldn't even be shown in the compute profilelist, there's no information there that's relevant to containers. Also,containers are not created using compute attributes.
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 #14370 - Adapt containers and registries index to core 1.12
`authorized?` is no longer available, and there's a helper for the "Newxxxxx" buttons
Fixes #14244 - Update the strings to be more compliant with the project standards
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 #13227 - error when creating a container without an image
Fixes #13231 - error processing uses full_messages
Fixes #11984 - Update the plugin to use the latest gettext from core,and re-extract the strings.
Once this is merged, the project needs to be added to transifex.
Multiple fixes to release 2.0.1
Refs #13225 - Use Patternfly spinners helper
Fixes #13228 - add attr_accessible to enviroment and image
Fixes #12971 - Container tab switch doesn't work when docker registry name contains special character
Fixes #13225: Don't declare spinner.gif with /assets prefixed
Fixes #13167 - Add buttons fixed
Fixes #12973 - adding missing attr_accessible
fixes #7230 - rails 4 compatibility
Refs #12726 - Adding attr_accessible :email to docker model
fixes #12726 - adding attr_accessible
Fixes #12681 - Support rubocop 0.35.1 by fixing broken rules
Fixes #12141 - Add unique id for container object name on 'All containers' page
Fixes #11672 - Exposed username in the registries json call
Fixes #10191 - Pass proper memory parameter to Docker
Fixes #9753 - container name is optional
Fixes #10779 - Error messages hidden after wizard
fixes #10128: 'test connection' button on the CR screen turns green only after connection has been verified.
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 #10306 - require resolv for access to regexps
Fixes #9901 - Better handling of errors in container api
Fixes #10029 - Docker registry API
Fixes 9311 - Change the Katello tab text
Fixes #7865 - Adds support for configuring dns during container creation
Fixes #7864 - Adds support for exposed_ports
Fixes #9338: permission filters can be created now
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 #9830 - Fixing log call
Fixes #9829 - Revert image_search to old method
fixes #9544: added downcase_hash_keys mathod
Fixes #9382 - Use connection info when connecting to docker
Fixes #9708 - Fixing rubocop config so it can be used with houndci
fixes #9271: user is now informed about http connection errors when using search in the new container wizard.
Fixes #9570 - Only set username/password/email if present
Fixes #9562 - Fixing the baseurl in the containers api
Typo describing -> description on registry form
Fixes #7874 - Docker Containers API
Routes are namespaced, code still needs to be namespaced
Fixes #9456 - Validate docker registry URL
Fixes #9242 - Backport image_search to fog 1.24
fixes #9332 - Add yes/no text to managed info on containers index
fixes #8033: container power on/off redirects to container view now
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 #9230 - add table name to query to avoid psql errors
Fixes #9177 - 1.7 compatibility fixes
refs #8963 - Renaming truncs to trunc with tool tips
In upstream foreman the trunc method got renamed to trunc with tooltip.This causes issues with foreman docker when viewing a bunch of index pagesupdated all the pages using the trunc method
Fixes #9159 - Fix rubocop 0.28.0 errors
Revert "Fixes #8409 - Pull docker image asynchronously"
This reverts commit 16234b270677486ea197a0dca54b14ed981abfc5.
Conflicts: app/models/service/containers.rb