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
BZ858234 check if deployable is nil before trying to generate deployment xml

Signed-off-by: Matt Wagner <matt.wagner@redhat.com>
BZ857434 - since source_type is used to figure out table names, ensure that source_type is always equal to deployment or instance

Signed-off-by: Matt Wagner <matt.wagner@redhat.com>
BZ857009 Multiple pools deletion error message fix

https://bugzilla.redhat.com/show_bug.cgi?id=857009
BZ857042 only validate pool_must_be_enabled on create

Signed-off-by: Matt Wagner <matt.wagner@redhat.com>
Bug 858253: group members search

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

Group members search wasn't working -- the UI elements were there but we weren't filtering and weren't providing the necessary controller action.
Merge pull request #68 from jtomasek/BZ857009_multiple_pools_deletion_error

BZ857009 Multiple pools deletion error message fix
bug 858782: don't rely on User object hooks to create entities

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

Now that we've changed user login to username, the entities migration
is failing -- since it's using the User model save hook to
set entities, but the model now references the new 'username'
field, which only exists after a later migration.

This patch pulls the save hook logic into the migration itself and
uses the attributes as they existed at the time of this migration.
BZ 809787 - Fixes untranslated table header

For some reason this table header was never updated to use
strings from en.yml, or even uppercase strings.

Because it's after string freeze, I had to be slightly creative
in fitting things in, so I left a comment suggesting that the
keys I used might need cleanup later.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=809787
but is equally as useful upstream.

Signed-off-by: Tzu-Mainn Chen <tzumainn@redhat.com>
BZ 837027 - Pool to Cloud Resource Zone fix

We were referencing a non-existent string, causing "Pool" to be
displayed as a missing translation -- thus it didn't get converted
to product names.

The way we are joining these two strings rather than using a new
string is broken but out of scope. I entered #858827 for that.

This resolves https://bugzilla.redhat.com/show_bug.cgi?id=837027

Signed-off-by: Tzu-Mainn Chen <tzumainn@redhat.com>
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