shell: System Info change join and leave domain buttons

Moved join and leave buttons to system information
and removes unneeded page

We only support joining one domain

Fixes #862
Closes #911
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Updated integration tests
shell: Hide the visible dialog when navigating

Fixes #822
Closes #947
Signed-off-by: Stef Walter <stefw@redhat.com>
static: Hides password error message on login screen when typing

When the user begins to change the text inside the "User name" or
"Password" input fields, the "Wrong password message will be hidden
until it is confirmed wrong again.

Reviewed-by: Stef Walter <stefw@redhat.com>
static: Disables log in button when logging in

When the user clicks the log in button, the button will be disabled
while the user name and password are being verified. While the fields
are being verified, the "Wrong username or password" dialog will be
hidden if already shown.

Reviewed-by: Stef Walter <stefw@redhat.com>
static: Added throbber to login page when logging in

as the user waits for the authentification to pass or fail there will
now be a throbber to indicate the page is still responding

Fixes #914
Closes #945
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Install waiting.gif into the right place
 * Remove waiting.gif from shell module
common: Remove the code won't be executed

Fixes #942
Closes #944
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: hides empty error box entering realm window

Fixes #935
Closes #939
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Fix blank group list item when adding server.

When adding a server, the group list item won't be genereated
if the address or host name of the machine is empty(whitespace).

Fix handle_add() in the backend to handle empty host name.

Closes #893
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Disables realms-op-auth button

when joining a domain, the realms-op-auth select picker is disabled

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Displays waiting text and fixes spacing

Displays text to inform the user that the transaction may take a while
and also fixes bug which made the cancel button go above the join button

Fixes #918
Closes #938
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Hides throbber and text after domain join cancelled

Fixes bug that shows throbber and join message when canceling during
joining a domain. Also exits realm join window when the domain is joined
to get rid of the delay which allowed users to cancel after the domain
was joined.

Reviewed-by: Stef Walter <stefw@redhat.com>
test: glib-networking buildreq added to cockpit.spec

Otherwise the check step fails

Closes #948
Reviewed-by: Stef Walter <stefw@redhat.com>
Release version 0.18
ws: Remove the warning when adding a server with a blank user name

Fixes #941
Closes #958
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: gives user domain admininistrator hint text

After filling in a correct Domain Address, instead of overwriting
the Domain Administrator Name there will be suggested text put
there. This suggested text will put the same values in the text box but in
suggested text form. Furthermore, the text indicates to the user that
it is an example because it might not work for the user's domain.

Fixes #937
Closes #955
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: removes "options" text in join dialog

Fixes #952
Closes #954
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Fix bad response when login with empty user name

Fix backend to return authentication failed if user is NULL.
Fix frontend to avoid empty user name.
Some refactoring.

Fixes #940
ws: Update test cases for previous commit

Closes #959
ws: Fix race crash when closing websockets
tools: Run QUnit tests via test-server

Run all the QUnit tests via test-servar and http:// rather than
file:// paths.

This allows us to use actual channels and WebSocket from our
tests, rather than mocking everything out all the time.