Commit Graph

89 Commits

Author SHA1 Message Date
Gert van Dijk
d1342510fd Upgrade external resources libraries to current versions.
To align with added offline resources:

* Semantic UI from 0.12.0 to 0.16.1
  (0.18.0 is not yet available on cdnjs.cloudflare.com)
* jQuery TableSorter from 2.13.3 to 2.17.2
* moment.js from 2.5.1 to 2.7.0
2014-06-26 20:47:08 +02:00
Gert van Dijk
5190020a0b Offline: Add OFFLINE_MODE config and adjust HTML resources. 2014-06-26 20:43:01 +02:00
Gert van Dijk
116c2f7255 Offline: Include Open Sans font from Google Font API. 2014-06-26 20:26:40 +02:00
Gert van Dijk
587569fe49 Offline: Include TableSorter 2.17.2 minified JS and formatter CSS. 2014-06-26 20:21:01 +02:00
Gert van Dijk
73ff3b74ff Offline: Include moment.js version 2.7.0 (minified).
Also remove currently included outdated moment.js (2.0.0).
2014-06-26 20:15:50 +02:00
Gert van Dijk
0c85b1dc12 Offline: Include jQuery 2.1.1 (minified JS + map file). 2014-06-26 20:11:14 +02:00
Gert van Dijk
8f0bfb6482 Offline: Include Semantic UI 'packaged' version 0.16.1. 2014-06-26 20:04:21 +02:00
stack72
f5d0f86e31 Merge remote-tracking branch 'upstream/master' 2014-06-10 21:59:02 +01:00
Daniele Sluijters
dbb8d9f12c Merge pull request #69 from tilya/node_state_noop
adds pending nodes counter to the main dashboard (#58)
2014-05-29 11:51:31 +02:00
Daniele Sluijters
381cad51e5 Allow disabling timestamp localisation.
Fixes #63.
2014-05-29 11:36:11 +02:00
stack72
85dd8da276 Removing the ten_reports method and passed the reports count through to the reports_node page 2014-05-16 17:00:35 -05:00
stack72
81c71607ae Added a hacky solution to allow users to be able to set a number of reports that they wish to display on the reports panel on the node page 2014-05-16 16:37:16 -05:00
Anna Janackova
4c50b82768 adds pending nodes counter to the main dashboard
* nodes with state noop are counted towards the "pending" column in the main
  dashboard
* changes top layout to four-column
2014-04-25 16:43:37 +02:00
Daniele Sluijters
8a186afdde Revert "app: Use a ThreadPool to fetch metrics."
Using multiprocessing is at least causing mod_wsgi to throw a hissy fit.
A few other WSGI servers seem to be able to deal with this correctly but
for now, back to serial requests.
2014-03-13 15:39:20 +01:00
Daniele Sluijters
43e449704e style: Make link color lighter for contrast. 2014-03-13 14:08:09 +01:00
Daniele Sluijters
022abd9a4a style: Fix darkblue for the facts list. 2014-03-13 14:05:11 +01:00
Daniele Sluijters
2329f7735f Goodbye Puppet-purple, hello Puppetboard darkblue. 2014-03-13 13:57:04 +01:00
Daniele Sluijters
fbf36dca8e layout: Upgrade to moment.js 2.5.1. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
bcb45c24a4 Switch the interface to Semantic-UI. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
ce4c7a26cd Swap timestamp format to ISO and 24h clock. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
c4d1dd3596 app: Use a ThreadPool to fetch metrics. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
9d1f2f7254 python3: Fix iterating over a dict. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
c588ee6ce8 query: Allow to pass in query with or without []. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
64f453df09 python3: Fix urllib/unquote usage. 2014-03-13 12:02:34 +01:00
Daniele Sluijters
7dd01b49bc utils: Python 3 fix. 2014-03-13 12:02:34 +01:00
Sigmund Augdal
d4ff065963 Disable pie chart animations 2014-02-11 14:47:30 +01:00
Daniele Sluijters
f35b81ae31 templates: Fix overview layout.
`min-width` is officially a bit undefined and a hack but it actually
works so for now, we'll use it.

Closes #47
2014-01-22 19:26:42 +01:00
Daniele Sluijters
386fea9e1e templates: Sort fact tables.
We actually had a function that would sort the facts tables by default
based on the first column but weren't using this. Testing with the
upcoming PuppetDB 1.6 made this bug surface because PuppetDB stopped
sorting facts by itself.
2014-01-21 15:10:28 +01:00
Daniele Sluijters
d92a068057 Switch to using pypuppetdb 0.1.0. 2014-01-13 13:12:21 +01:00
Daniele Sluijters
cbb3b8640f Merge pull request #41 from jasperla/avg_resources
Report rounded avg. resources per node.
2014-01-13 02:41:48 -08:00
Spencer Krum
b01a749bab fix arguments to pypuppetdb connect() 2013-12-30 00:28:03 -08:00
Jasper Lievisse Adriaanse
5fa260e748 Report rounded avg. resources per node. 2013-12-23 11:08:12 +01:00
Sijis Aviles
e57437e705 adding link to node details page when viewing a specific report 2013-12-10 14:17:26 -06:00
Daniele Sluijters
bf86b1780d Merge pull request #32 from lsjostro/remove-empty-message-check
Remove check for empty message in events.
2013-11-25 00:42:25 -08:00
Julius Härtl
73e26e8c1c error fix, format string and css button width fix 2013-11-20 13:34:13 +01:00
Julius Härtl
08bad89041 fix for latest report in overview
* report/latest/<node_name> uses limit parameter in _query
  to get just one report
* disable "Latest Report" button if there is no report
* HTTP Status 500 if there is no report on report/latest/<node_name>
2013-11-20 11:30:08 +01:00
Spencer Krum
ac06c65d73 puppetboard/app.py: Pep8 fixes 2013-11-07 12:52:44 -08:00
Lars Sjöström
e55e43ed6a remove check for empty message 2013-11-06 14:20:56 +01:00
Frederik Happel
b728896fea use unreported=app.config['UNRESPONSIVE_HOURS'] for node overview as
well
2013-11-06 13:00:10 +01:00
Daniele Sluijters
398156b0ae fact: Add the counter back to facts.
Since we're now already consuming the generator and creating a list we
can call lenght on it just fine.

Closes #18
2013-11-06 08:40:46 +01:00
Daniele Sluijters
eb1bf7c3ab Merge pull request #29 from fretterick/use-UNRESPONSIVE_HOURS
Use UNRESPONSIVE_HOURS setting.
2013-11-05 10:14:41 -08:00
Daniele Sluijters
0992763d9d Merge pull request #27 from lsjostro/display-event-message
Toggle display of event message in reports
2013-11-05 10:13:03 -08:00
Lars Sjöström
fb763e637f Feature: Toggle event message in event reports
Toggle event message in reports

cursor pointer and indent of message

rebase from master
2013-11-05 18:51:45 +01:00
Frederik Happel
d067fe3ed3 use configuration variable UNRESPONSIVE_HOURS to determine if a node's
status is unreported
2013-11-05 18:31:54 +01:00
Daniele Sluijters
efe488aafc Add a new jsonprint filter, used in metrics, query 2013-11-05 16:41:47 +01:00
Daniele Sluijters
79ac5b3cb0 node: Give the node overview some breathing room.
The interface was too packed causing the facts and reports tables to be
jammed into place.

Currently working on a complete new node overview page but this should
make things a bit more workable in the meantime.
2013-11-05 16:10:46 +01:00
Daniele Sluijters
754784f4af Make fact value clickable.
In the Facts view you can now click on the value of a fact and get a
listing of all the nodes with that value for that fact.

Closes #13
2013-11-05 15:44:34 +01:00
Daniele Sluijters
0563224c87 metric: 100 is a bit much, 75 looks better. 2013-11-05 14:20:03 +01:00
Daniele Sluijters
3efdb58ce3 metric: Truncate the name. 2013-11-05 14:12:47 +01:00
Daniele Sluijters
de6a77951c app: Abort if we can't fetch metrics. 2013-11-05 12:20:48 +01:00