Prettified readme and hacking with markdown

Signed-off-by: Stef Walter <stefw@redhat.com>

Closes #221
Makefile.am: Fix race when calling gdbus-codegen

gdbus-codegen generates multiple files, which is annoying. This causes
make to call it more than once at the same time, when doing parallel
jobs.

Force make to call gdbus-codegen for only the generated .c files, and
expect that the corresponding .h file will be generated in the process.

Closes #274

Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
agent: Return problems for CockpitTextStream open failures

For the cases where the socket file is not found, return "not-found"
and when permission denied, return "not-authorized".

Fixes #266
Closes #270
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
doc: Update protocol documentation for text-stream and problems

Closes #273
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
agent: Skip 'not-authorized' check when running as root

Since root bypasses unix priveleges all together.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
tap-gtester: If test says it's skipped ignore results

This is a change from the gnome-keyring project.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
tools: Fix up 'make coverage' output...

...by removing unwanted stuff and initializing things so that all
sources are included in the output.

Closes #277
Signed-off-by: Marius Vollmer <mvollmer@redhat.com>
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Web: Add 'select' button utility.
Web: Use btn-default class for action buttons.

To be more explicit.
Rest.js: Add getraw method.

This will be used to avoid parsing a stream of JSON literals, which
doesn't work right now.

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

This is a temorary work-around.
Web: Align info-table labels at the top.
Web: Handle REST responses with non-Ascii characters.

Fixes #282

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

This is a temporary work around.
Containers: Basic support.

Closes #260
Closes #261
Fix unused and uninitialized variables

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Fix possible leak and unclear/undefined free behavior

Some versions of gcc complain about this code, as it's using the
cleanup attribute in a loop. Make the code clearer and defined.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Return hard coded Content-Type based on extension

Looking up Content-Type via GFileInfo isn't working. In addition
if it was to work it would invoke a whole lot of machinery.

We only serve a limited set of files. Hard code content type based
on extension. This is efficient and predictable.

Fixes #225
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Make note of skipped tests due to missing system bus

This allows the TAP output to reflect the skipped test.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Return correct Content-Type from cockpitdyn.js handler

And check that this is the case

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Web: More robust container detail pages.

Reviewed-by: Stef Walter <stefw@redhat.com>
Web: Also show container image entrypoint.

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