26 Commits

Author SHA1 Message Date
tparkercbn
98c4cb608c Make the page title in the html templates a variable in default_settings.py (#378)
Make the page title configurable.

Admins with many sites running separate puppetservers with separate puppetbords may find it useful to be able to chagen the page title from Puppetboard to something more site specific.
2017-10-18 12:50:54 -04:00
Mike Terzo
e5c9b300ef Add offline mode for Semantic UI.
Following a similar guide to:
https://github.com/Semantic-Org/Semantic-UI/issues/1521

Using a new endpoint to handle offline mode to host semantic.min.css and
other CSS files.  Need to wrap these in templates to provide URL for
static font files when hosting under a directory.
2017-07-08 10:44:40 -04:00
Mike Terzo
7bef20b116 Adding new line 2017-07-04 22:14:54 -04:00
Mike Terzo
7cd8908adb Merge branch 'master' into facts 2017-06-10 03:40:13 -04:00
redref
c1fd33fb5c Generate fact JSON directly in python 2017-03-23 23:21:28 +01:00
redref
484727b62c Fix #356 with the new template
Created a custom template_filter as in python3, the groupby filter cannot order Bool vs Str. Needed to push format before the groupby which is not currently possible in jinja.
2017-03-23 22:35:28 +01:00
redref
40511c007a Fact pages and node page tests 2017-03-23 22:35:28 +01:00
redref
f13100664a Facts page fix + performance revamp
Removed facts query to let only fact-names. facts query time grow pretty quickly with number of nodes. Drawback: no filter on environment (which seems acceptable)
Add testing about view and column repartition (broken in jinja2 2.9.X / inner loop variables).
Rework facts page (jinja 2.9 compliant)
2017-03-23 22:35:28 +01:00
redref
507df87234 Inventory page testing 2017-02-15 21:43:14 +01:00
redref
f908a1e86c Catalogs tests - better data testing 2017-02-06 16:19:45 +01:00
redref
4190e36278 Add some tests to catalogs 2017-02-03 23:11:08 +01:00
Mike Terzo
55756900c1 Validate dailychart json data 2017-02-03 12:13:46 +01:00
redref
2cdf5fea61 Fix python3 chart (_iter_dates) 2017-02-03 12:13:33 +01:00
Mike Terzo
36c913588a Merge pull request #331 from mterzo/all_envs
Support for PuppetDB 3.x on all environments
2017-02-02 08:04:40 -05:00
Mike Terzo
3e7119f63e Update to latest pypuppetdb. 2017-01-30 16:05:22 -05:00
Mike Terzo
89407d1718 Adding test cases for all environments for
both puppetdb 3.2.0 and 4.2.0
2017-01-27 07:40:08 -05:00
Mike Terzo
4f50811142 Adding first test case for report 2017-01-26 04:35:58 -05:00
Mike Terzo
caadaa0b35 Test index with division by zero
Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 19:54:00 -05:00
Mike Terzo
2e4acc3e3f Adding radiator json testing
Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 19:53:52 -05:00
Mike Terzo
0d1fbcee88 Adding tests for node list
Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 19:53:45 -05:00
Mike Terzo
7cebe56fc4 Adding testing for all environments
Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 19:53:41 -05:00
Mike Terzo
e2c45648b9 Removing whitespace from classes in radiator view
Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 19:53:33 -05:00
Mike Terzo
fb6b8d2c0e Adding testing for radiator view.
Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 18:14:52 -05:00
Mike Terzo
c729b4d88d Adding testing for Puppetboard app using flask client.
Adding offline / online mode testing for validation.

This is the start of adding a ton of tests with the start
to mocking for pypupppetdb
2017-01-23 18:06:53 -05:00
Mike Terzo
7302dbecec Convert Unit tests to use py.test format 2017-01-23 18:06:49 -05:00
Mike Terzo
faac5fa1bc Travis ci integration (#267)
* Initial travis-ci integration

* Format code base to PEP8
2016-07-13 20:59:07 -04:00