shell: Right styling for journal load button

Fixes #1170
Closes #1177
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: more descriptive first title

Changes the opening page after logging in from "All "to "Hosts" in order
to add clarity.

Fixes #860
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Say "Add Host" instead of "Add Server".

Closes #1169
shell, NM model: Allow removal of setting elements

Delete setting elements that we handle explicitly.  Previously, the
old value would have stayed, but we only really want that to happen to
unhandled elements.

Reviewed-by: Stef Walter <stefw@redhat.com>
shell, NM model: Reset settings when applying fails.

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Include "routes" in ghost network connections

They are required now.

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Don't assume that all network slaves are ethernet devices.

Previously, we would delete all connection settings of a interface and
creating a new "ethernet" one when turning it into a slave.  Also,
freeing a slave was done by just deleting the slave connection
setting.

Now we are careful to modify the existing connection settings.

Fixes #1110
Closes #1167
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Allow dots in static hostname

Adds rule when changing host name to allow the user to be able to use
periods in between characters but not consecutive ones since empty
subdomains are invalid. Also changes the error message appropriately.

Fixes #1132
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Leave domain part of hostname intact

when computing the real name from the pretty name.

Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Also set the static hostname

Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Get the transient hostname from the kernel

since hostnamed doesn't send change notifications.

Fixes #1160
Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Allow setting of empty hostnames.

Since that makes sense.

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Don't default the pretty hostname to the real one

If it is empty, it should stay empty.

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Use Browser 'localStorage' directly, and require it

Every browser that has WebSocket support has localStorage support.
In addition the API is quite sane, so we don't need to wrap this in
our own abstraction.

Closes #1185
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Add some more test dependency lines

Closes #1186
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Correct padding for drive

Fixes #1187
Closes #1188
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
common: include dirent.h to solve implicit declaration errors

Closes #1190
shell: Improve "Add VLAN" dialog.

By offering a default parent and ID and updating the default name as
the user types.

Fixes #1079
Closes #1174
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Correctly use the 'disabled' property to disable buttons.

And not 'disable', which has no effect.

Fixes #922
Closes #1197
Reviewed-by: Stef Walter <stefw@redhat.com>
Release version 0.24