static: Show the requisite that's missing to run Cockpit

When declaring the browser too old to run Cockpit, show the
thing that's missing as a clue. It turns out some browsers
don't even have console.log() or fail to send it somewhere
useful.

Related to #1408
Closes #1419
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Add test-framed.html to 'make check'

These tests were implemented before but never didn't make it into
the automated testing.

Closes #1423
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
websocket: The protocol can be chosen until halfway through handshake

Allow choosing the protocol as late as possible. It could depend on
other factors such as the flavor of WebSocket standard being spoken.

Closes #1424
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
websocket: The WebSocketConnection flavor property is readable

Closes #1425
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
common: Expose name of CockpitPipe via accessor method

Closes #1426
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Move UTF8 validation to CockpitChannel

This allows multiple channels to take advantage of this. For
channels that are sure they're producing valid UTF8, there's a
flag so we don't have to recheck everything.

Closes #1428
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Expose client of DBusProxy, DBusProxies, and options of DBusClient

Closes #1413
Reviewed-by: Stef Walter <stefw@redhat.com>
ws: Removed socket dependency in cockpit.service

Because it was started by service, but ster stop of service, socket
still running and blocking the 9090 port

Closes #1429
Reviewed-by: Stef Walter <stefw@redhat.com>
bridge: Workaround temporary issue with UTF8 validation

We're not properly indicating that the resource1 channels are
binary channels ... that work is on another branch.

So work around this for now by lying to cockpit_channel_send()

Closes #1430
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Handle modern DBusClient in hostname_for_display

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Simplify HTML

Mostly, move the top navbar out of #content.

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Host switcher

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Hide navigation when showing the dashboard

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Ensure that the plots resize when the host switcher toggles

Closes #1409
Reviewed-by: Stef Walter <stefw@redhat.com>
tools: Use same cockpit.spec as Fedora for our testing

This makes our work easier trying to keep track of what's going
on and where. Use rpm condititionals to build optional parts
of the cockpit.spec file.

Simplify the make-rpms and make-srpms

Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
tools: If JSL is not available allow build to proceed without it

Closes #1432
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Bump cockpit version
test: Upload multiple files to test vms at once

This is faster.

Closes #1433
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Make dependency on storaged resolved at runtime

Soon we'll be calling storaged and udisks directly from javascript
code. The module that the javascript code lives in should be built
in a package that depends on storaged and udisks so it's appropriately
installed.

We won't be using the interface xml directly anymore anyway. So
this is an interim step, in the right direction, even though it looks
like a hack.

Closes #1436
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
tools: Bring in some spec file fixes from Fedora build

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