Don't show collapse button if there's only one pool
BZ810876 Fix long Pool name overflow in Overview page
BZ811890 Remove untranslated title attributes from Pool Family and Realm forms
Adds UserSessions cucumber test, and tweaks web steps to match

Since the test needs to check multiple controllers, RSpec is out.

I made the "I am on..." step also respond to "I visit...", because
 "Given that I am on $foo
 Then I should be on $bar"
was extremely confusing, even though it called the correct steps.
BZ 852531 - Login redirects to session[:return_to] if set

This fixes a bug where, if a user tried to visit a page without
logging in, logging in would take them to the pools page, rather
than the page they had been on previously, as intended.

See https://bugzilla.redhat.com/show_bug.cgi?id=852531
Removes dup. features for Provider/ProvAccount XML

This removes features for index action responding with XML
for Providers / Provider Accounts resources from respective
feature files. Theese files provides UI features and tests for that
behavior already exists in spec/controllers
Enhances specs for quota in ProviderAccount API

for create and update actions
Uses QuotaAware module for ProviderAccount

create and update
Adds test to quota node - ProviderAccount API show
BZ 812740 - check associated images before destroying account or pool family (rev. 2)

Environment or provider account can't be deleted if there is any existing
image (or provider image) associated with them.

This required a little bit more refactoring. All destroy 'validations'
are done in before_destroy callbacks. If some callback fails, an exception
is raised so destroy is aborted and reason is in the exception message.
To avoid having rescue blocks in all controllers, new 'safe_destroy' ActiveRecord
method is defined, this method adds exception into object's errors and returns
true/false.
added new attribute checked_at to instance and changed dbomatic to iterate instances using this attribute
1.1 login changes: warning css + label color
Added compatibility check for different dc-api versions

DC-api returns state 'stopping' instead of 'shutting_down' since version 1.0.
This patch adds new state mapping and method to check api version.
BZ 783128 - Renames "Image URI" to "Provider's Image ID"

Beyond the fact that it's not actually a URI at all, it's unclear
what it is. We decided "Provider's Image ID" was clearer.

https://bugzilla.redhat.com/show_bug.cgi?id=783128
Mustachifying images#index

https://bugzilla.redhat.com/show_bug.cgi?id=810957
BZ851107 New deployment form validation fix

The Deployment is now validated after clicking next and proper error message is displayed if validation fails.
Next button is no more disabled. Js only evaluates if the name is available and displays message next to input.

https://bugzilla.redhat.com/show_bug.cgi?id=851107
BZ #854145: limit the time frame for the penalty for failure strategy

https://bugzilla.redhat.com/show_bug.cgi?id=854145
Bug 839504: Fix path to member in group member list

https://bugzilla.redhat.com/show_bug.cgi?id=839504
https://bugzilla.redhat.com/show_bug.cgi?id=805134

Quota was showing up as 'x of y' where x is instances in use, and y was available instances.
This was incorrect, since "of y" implies that y is the total quota, not the free space.

Signed-off-by: Tzu-Mainn Chen <tzumainn@redhat.com>
bug 784108: Hide additional links for non-privileged users.

https://bugzilla.redhat.com/show_bug.cgi?id=784108

"Images Valid"/"Repair Images" links are disabled if the user doesn't have edit permission on the deployable
On the deployables list, the "add catalog" form filters the dropdown by catalogs that the user has permission to add to, and the form is hidden entirely if the user doesn't have edit rights on the deployable

On the Environments index page, the add image links and edit pool links are hidden for users without permission to perform those actions

Signed-off-by: Matt Wagner <matt.wagner@redhat.com>