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.
fixes #9033: errors encountered in new container wizard are being shown now
Fixes #8409 - Pull docker image asynchronously
fixes #8784: defines max_cpu_count for docker compute resource
fixes #9004: wizard moves correctly between persisted states 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 #8815 - Corrects variable reference in image search
fixes #8226 - shows environment variables on container display
Fixes #8485 - Taxable containers
Fixes #8637 - local registry container support
Prior to this commit, one could not start containers connected to alocal or non docker hub external registry. This is because the containerparametrize call did not properly prefix the registry url in its Image name....
fixes #8342 - disables form buttons on new container page in absence of docker compute resources
Refs #7867 - Container wizard state refactor
fixes #7867: container creation wizard now tracks state in dedicated objects
fixes #8789 - adds correct link for information about cpu shares
fixes #8719 - remove n+1 queries on container index
fixes #8718 - refactor container index
- simplify controller to use the correct compute resource type in sql- used icon helper methods- fixed html syntax + removed duplicate pagination
Fixes #8632 - Move docker tables out of foreman-docker
Refs #8717 - Fix cop line too long
fixes #8716 auto_complete helper now has a unique name.
Previous implementation overwrote the helper defined in foreman,which in turn disabled auto completer for all search fields.
Fixes #8226 - Support environment variables creation
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 #8398 - Authentication error returns 500
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 #8236: 1.6 compatibility
Fixes #8096 #8097: Improve cpuset cpushare form
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 #8124 - Entrypoint sent to API