Release version 0.15
shell: globally stylizes patternfly dropdown menus

initializes patternfly dropdown menus globally, removes local
instantiations, and adds patternfly style to realm dropdown

Fixes #776
Closes #854
Reviewed-by: Stef Walter <stefw@redhat.com>
web: Displayed the host name when loading the login screen.

Fixes #759
Closes #873
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Consistent use the property syntax for accessing .hostname
doc: Fix indentation in modules.md
shell: Replaced "hostname" with "host name" in the UI.

Replaced all visual "hostname" with "host name".
To keep consistent, also changed "Terminate session" to "Terminate Session".

Fixes #859
Closes #874
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Removed the Search Bar on the corner

Removed related files and resources.

Fixes #857
Closes #876
Reviewed-by: Stef Walter <stefw@redhat.com>
agent: Add channel with 'null' payload type

This channel doesn't send anything and drops all data it receives.
It is analogous to /dev/null

Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
ws: Add 'logout' command, processed by cockpit-ws

The logout command tells the web service to discard credentials
and optionally disconnect the user.

Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
shell: Add Channel.transport.logout() method

This sends the "logout" command to cockpit-ws.

Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
shell: Use the logout command to logout and deauthorize

Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
ws: Remove the old /logout and /deauthorize handlers

This includes the CockpitAuth handling of the logout message.

Note that the Cockpit cookie remains in the browser. But this isn't
a big deal and is the same result if the user just closes the browser.

Fixes #541

Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
websocket: Don't complain if hixie76 client doesn't close

It seems some hixie76 WebSocket clients just expect the server
to close, so don't complain when that happens.

Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
websocket: Fix some misspellings as the hixie76

Closes #865
Reviewed-By: Patrick Uiterwijk <puiterwijk@redhat.com>
agent: Fix some issues reading DBus address from dbus-daemon

Trying to fix the isuse we see every once in a while:

cockpit-agent[20020]: The given address is empty

Closes #866
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
remotectl: Add a new process tool

With an empty certificate command for now

Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
common: Refactor the certificate loading/generation code

Put into its own file.

Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
remotectl: Implement the remotectl certificate command

This creates a self-signed certificate if one is not available.
It prints out the path of the certificate that will be used.

Can specify the user and group that should own the certificate.

Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ws: Run cockpit-ws as non-root user and group

Add configure arguments to --with-cockpit-user=xxx which defaults
to root, and --with-cockpit-group=yyyy which defaults to no group
being explicitly set.

cockpit-ws is run as the cockpit-ws user/group. cockpit-session
is a setuid root program.

Closes #853
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
- Moved user and group generation in spec to %pre
- Use %attr to fix file ownership and permissions
Add remotectl to gitignore
shell: Change default byte suffix to KB

Instead of using the more geeky KiB and such suffixes, use
KB consistently. Try to use 1024 factor as much as possible
for consistency.

Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
- Replaced all kB-instances with KB for consistency
Fixes #704
Closes #869