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
shell: Add input validation when adding a server

Add input validation and visual style when error occurs.
Remove get_focus and lose_focus functions.
shell: Add restrictions for empty field

Add some restrictions for empty host name in case "Next" button is enabled accidentally.
shell: Adjust the format of function calls and definitions in cockpit-setup.js