shell: Add cache for day offsets.

To ease updating the current-day display when scrolling.

Fixes #20
Closes #1163
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Install systemtap-runtime-virtguest into our images

This makes it easier (though not trivial, yet) to use systemtap
against a running test.

Closes #1164
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Label the systemd SIGKILL related hack with a bug

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

Closes #1165
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
agent: Don't be loud about our DBus session bus address

Removes this line from logs:

cockpit-agent[802]: dbus-daemon output line: unix:abstract=/tmp/dbus-sAAn6y...

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
agent: Don't complain about files in /usr/share/cockpit

The code tries to treat everything  in /usr/share/cockpit
as a directory. If there's a file there, ignore it.

Fixes this log message:

cockpit-agent[802]: sshd-reauthorize.pam: Failed to open file
   '/usr/share/cockpit/sshd-reauthorize.pam/manifest.json': Not a directory

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Quiet down cockpitd startup and shutdown

It's really just a tool, and doesn't need to be noisy unless
it fails.

Closes #1166
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Use "fedora-21" as the default TEST_OS.

Closes #1119
Reviewed-by: Stef Walter <stefw@redhat.com>
test: Don't check journal after failure.

Not all 'allow_journal_messages' might have been seen and the check
might thus find false positives.  Also, throwing from tearDown in
check-multi-machine will cause the snapshotting to be skipped.

Closes #1133
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Show storage IO totals in bytes/sec

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Disconnect all event handlers on storage page

And don't create a second D-Bus client.

Closes #1156
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Right styling for journal load button

Fixes #1170
Closes #1177
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
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.
shell, NM model: Reset settings when applying fails.
shell: Include "routes" in ghost network connections.

They are required now.
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