Code

sysdb/webui.git
10 years agoSimplified URL parsing and un-escape URIs.
Sebastian Harl [Sat, 22 Nov 2014 12:07:00 +0000 (13:07 +0100)]
Simplified URL parsing and un-escape URIs.

This avoids subsequent string-joins in various handlers and generally unifies
URL handling.

Also, it fixes handling of URLs containing (escaped) spaces.

10 years agoGive content generators more control over the generated page.
Sebastian Harl [Sat, 22 Nov 2014 11:20:18 +0000 (12:20 +0100)]
Give content generators more control over the generated page.

10 years agoShow graphs only if SysDB indicated that time-series are available.
Sebastian Harl [Sat, 22 Nov 2014 10:29:03 +0000 (11:29 +0100)]
Show graphs only if SysDB indicated that time-series are available.

10 years agoMake sure to break overly long "words" when displaying attribute values.
Sebastian Harl [Fri, 21 Nov 2014 22:54:53 +0000 (23:54 +0100)]
Make sure to break overly long "words" when displaying attribute values.

10 years agograph: Use a date string for x-axis tick markers.
Sebastian Harl [Fri, 21 Nov 2014 20:36:21 +0000 (21:36 +0100)]
graph: Use a date string for x-axis tick markers.

This is a very basic implementation which is not well suited for all time
ranges but it's good enough to get started.

10 years agoAdded support for simple SVG graphs for metrics.
Sebastian Harl [Fri, 21 Nov 2014 20:23:57 +0000 (21:23 +0100)]
Added support for simple SVG graphs for metrics.

The graph will be displayed when querying a metric. The graph itself mostly
uses default settings of the Plotinum package for now.

10 years agoserver: Make it easier to add special handlers.
Sebastian Harl [Fri, 21 Nov 2014 20:04:29 +0000 (21:04 +0100)]
server: Make it easier to add special handlers.

Currently, this is used for serving static content.

10 years agoMake sure to not use a client connection multiple times in parallel.
Sebastian Harl [Thu, 20 Nov 2014 22:35:27 +0000 (23:35 +0100)]
Make sure to not use a client connection multiple times in parallel.

That's not supported by the client at the moment. Instead, use multiple
connections. That's a bit of a hack but the server can easily handle many idle
connections.

10 years agoInitial commit of the SysDB web interface.
Sebastian Harl [Thu, 20 Nov 2014 22:19:18 +0000 (23:19 +0100)]
Initial commit of the SysDB web interface.

This is the initial version of a web-based client programm for querying SysDB
(https://sysdb.io/). For now, it supports browsing, querying, and displaying
basic information about hosts, services, and metrics.