common: Allow parsing command messages without a command

If no command parameter is specified to cockpit_transport_parse_command()
allow skipping the command field.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Support for sideband channel WebSockets

These are for channels that need a lot of throughput like SPICE
and VNC, where we want to avoid splicing and prefixing everything
with a channel id.

These are separate WebSockets that are individual channels. They
are opened with a query string containing the JSON encoded "open"
command message. Once open, all data sent through the WebSocket
is part of the payload of that channel.

Closes #1540
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
playground: Add a bit of a speed testing page

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
 * Install and clean it.
configure: Don't link unneeded libs into cockpit-bridge

Closes #1558
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
build: Clean pkg/docker/console.min.html

Reviewed-by: Stef Walter <stefw@redhat.com>
build: Add "undef" to jshint.conf and clean up accordingly

Closes #1557
Signed-off-by: Stef Walter <stefw@redhat.com>
 * No jQuery global in cockpit.js
 * Added proper po loading instead of ignoring problems
shell: Avoid growing column heights for mount panel

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Fix the create lvm and raid buttons to not display oddly in lower resolutions

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Fix display of storage drives in smaller resolutions

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Fix display of raid devices and volume groups in smaller resolutions

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Resize mount columns a bit more equal to not clip size so quickly

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Make read and write bigger in comparision to storage size for large screens

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Make sure storage create buttons don't ellipsise so easily

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Avoid ellipsis of storage read/write and wrap instead

Closes #1536
Fixes #1524
Reviewed-by: Stef Walter <stefw@redhat.com>
base: File API

Closes #1546
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Fixed indentation
 * Fixed use of constructor without new
base: Debug output fixes for cockpit.http()

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Fix issue with header values that contain spaces

The CockpitHttpStream code refused header values that contain spaces.

Closes #1568
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Don't load jquery-flot.js twice

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Use CSS to display and hide buttons in Dashboard

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Cleanup some of the ugly inline styles and other CSS on dashboard

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