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
test: mvo.fedorapeople.org now uses https

The redirects were causing ./vm-download (and thus ./VERIFY)
to fail.

Closes #932
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Add wait_attr function

Reviewed-by: Stef Walter <stefw@redhat.com>
test: Fix check-realms for recent changes

The default administrator is now in the placeholder of the input box.

Closes #961
Reviewed-by: Stef Walter <stefw@redhat.com>
test: Fix check-login for recent changes

Some strings are now authentication instead of syntax errors.

Closes #964
Reviewed-by: Stef Walter <stefw@redhat.com>
common: Run spawned commands from $PATH

This makes us less fragile, when commands move between
directories.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Use $PATH when executing various spawned commands

This will simplify porting efforts, between OS releases
and distros.

Closes #887
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Don't print warnings when systemd files are empty

Closes #888
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Fix race crash when closing websockets

Close #899
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Add debug option to log all communication via WebSocket

And document this in HACKING.md

Closes #900
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: A page is already displayed for unsupported browsers

See static/index.html

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Remove cockit-search.js from debug manifest.json

Closes #902
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Cleanup cockpitd dbus bus messages

Refer to session bus, more clear what happened, and don't
spam logs for non-events.

Closes #907
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
 * Adjusted allowed journal messages in tests.
ws: Don't print out needless TLS EOF error

Closes #909
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Fix use of invalid exit_code exception field

It should be exit_status

Closes #926
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
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.

Closes #889
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>