BZ 858030 - Allow 0 storage in HWPs

A hardware profile with no storage is a valid configuration,
so Conductor should accept it.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=858030
Older dc-core (0.5.x version in RHEL) returns 'pending' state when an instances
is shutting down. Conductor compared last_pending time with last_running time
to distinguish newely created instances. But this comparison doesn't work properly
with the bug in dc-core.

Instead of last_pending time conductor now checks if 'create' was last queued
instance's task.

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

Signed-off-by: Tzu-Mainn Chen <tzumainn@redhat.com>
BZ 858997 - Fix handling of unauthenticated XHR requests

Both the login page and the rest of the app now support handling
an HTTP 401 response when the request is unauthenticated.

https://bugzilla.redhat.com/show_bug.cgi?id=858997
BZ 858997 - Wraps login page JS with document.ready

The code to handle 401s on the login page should only be called
when the document is ready.
Merge pull request #72 from n1zyy/bz_858997-v2

BZ 858997 - Fix handling of unauthenticated XHR requests
BZ859439 - Added missing defaults translations

Signed-off-by: Tzu-Mainn Chen <tzumainn@redhat.com>
Return full provider API output if 'with_data' is supplied

(BZ#859521 - errors with configure if provider already exists
https://bugzilla.redhat.com/show_bug.cgi?id=859521)

aeolus-configure needs to query the providers api when attempting to
add a new provider, in order to ensure that the provider does not
already exist.  Previously the list action would return the full
provider body, but since e738313 instead contains stub providers
containing only id and href.  aeolus-configure needs the full body (or
more specifically, the name attribute) in order to check if a named
provider already exists.

This patch allows the API user to supply 'with_data' as a parameter,
in which case the providers list action will return the full body for
each provider.
Merge pull request #73 from jeckersb/bz859521

Return full provider API output if 'with_data' is supplied
Merge pull request #64 from n1zyy/bz_858030-0_storage

BZ 858030 - Allow 0 storage in HWPs
BZ #859503: laucn new deployment button on deployables#show redirects to deployments#launch_new instead of deployments#launch_time_params
BZ859926 Deployments preset filters translation fix
Merge pull request #74 from ifarkas/BZ859503-deployment_name_conflict

BZ #859503: laucn new deployment button on deployables#show redirects to deployments#launch_new instead of deployments#launch_time_params
Refactoring of cucumber steps for API responses

Steps that could be used commonly in all cucumber features for API are
moved from provider_api_steps.rb to api_steps.rb.

There were some similar steps like:
'should receive OK message',
'should receive Bad Request error',
'should receive Not Found error'.

This commit makes these steps more DRY. There are just two steps now,
one for general messages (which checks just status code and content
type) and one for errors (which checks status code, content type and
presence of error message in the response body).

Scenarios affected by the step changes are updated accordingly.

Some scenarios included steps like 'should receive Provider Not Found
error'. After this commit, only 'should receive Not Found error' variant
is used to prevent misguiding the reader. ('Should receive Provider Not
Found error' looked like it performed some expectations related
specifically to Provider, but in fact it didn't perform any such
expectations. It performed just the same expectations as 'should receive
Not Found error'.)
BZ860074 Cleaned up header buttons in IE8

Signed-off-by: Tzu-Mainn Chen <tzumainn@redhat.com>
BZ809760 enforce use of additional translation strings
Merge pull request #75 from jtomasek/bz859926_all_deployments

BZ859926 Deployments preset filters translation fix
BZ860688 fix the New Deployments preset filter

https://bugzilla.redhat.com/show_bug.cgi?id=860688
BZ 815783 - fixed checking of launch time params (rev. 1)

If there are multiple tabs (=multiple assemblies) on launch time params page,
then checking of empty params doesn't work properly - only params on last tab
are checked.

This patch also fixes CSS for disabled buttons (after consultation with
UI guys).

https://bugzilla.redhat.com/show_bug.cgi?id=815783
BZ860751 - %postun scriptlet fails for aeolus-conductor-daemons

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

This implements the condrestart action for the delayed_job sysvinit
script.  The %postun scriptlet for the daemon subpackage is updated to
use the condrestart action on non-systemd systems.

For more info, see:
https://fedoraproject.org/wiki/Packaging:SysVInitScript?rd=Packaging/SysVInitScript#condrestart_and_try-restart
BZ 751088 (refix): Configserver and conductor on same box

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

This patch changes the way conductor builds the request paths when
talking with configserver.  Previously, conductor assumed that
configserver ran at the root context of the server (i.e.,
"http://configserver/").  Now, conductor can adapt to a configserver
that runs at a non-root context (i.e., "http://servername/configserver").