Commit Graph

306 Commits

Author SHA1 Message Date
corey.hammerton
c13389cc3e Version bump to 0.1.2 2016-02-15 19:57:43 -05:00
Corey Hammerton
7c44854988 Merge pull request #162 from visibilityspots/master
Examples add to the readme
2016-02-09 19:40:59 -05:00
Corey Hammerton
3844d72bcb Merge pull request #219 from corey-hammerton/issue-218
puppetboard/app: Enabling environment filtering on overview metrics
2016-02-09 19:37:42 -05:00
Corey Hammerton
43ff09fbd4 Merge pull request #217 from corey-hammerton/issue-198
puppetboard/app: Disabling CSRF protection globally.

I still think this is a bad idea but I don't see any other way.
2016-02-09 19:37:18 -05:00
corey.hammerton
0111e52096 puppetboard/app: Enabling environment filtering on overview metrics
This fixes https://github.com/voxpupuli/puppetboard/issues/218

Adding environment filters to only report then number of managed nodes
and resources that are present in the current environment. Still using
the same metrics endpoint information for all environments.
2016-02-08 21:48:49 -05:00
Corey Hammerton
beef893b6a Merge pull request #163 from raphink/colors
Use more standard colors for Puppet run states
2016-02-06 19:02:13 -05:00
Corey Hammerton
7ed551dbe9 Merge pull request #216 from roidelapluie/fix-screenshots
Fix screenshots
2016-02-06 19:00:46 -05:00
corey.hammerton
492e1057e0 puppetboard/app: Disabling CSRF protection globally.
I really did not want to resort to this but I could not find any answers
from previously asked questions on the subject. The template is properly
creating the csrf_token hidden field which is being submitted to the server,
but I could not figure out why it was not using it it.

This fixes https://github.com/voxpupuli/puppetboard/issues/198

This will not be permanent, will have to look into upgrading the flask-wtf
and WTForms packages to the latest versions.
2016-02-06 18:55:45 -05:00
Julien Pivotto
e8bc0ccbb5 Fix screenshots 2016-02-05 16:06:10 +01:00
Corey Hammerton
ddf08b9b75 Merge pull request #215 from nibalizer/rename_vp
"Rename nibalizer to voxpupuli"
2016-02-04 20:05:33 -05:00
Spencer Krum
fbe646f196 Rename nibalizer to voxpupuli 2016-02-03 06:41:37 -08:00
Corey Hammerton
65c6251bac Merge pull request #214 from corey-hammerton/issue-213
templates/index: Directly referencing config.REFRESH_RATE
2016-02-01 20:44:24 -05:00
Corey Hammerton
5874a58965 Merge pull request #212 from corey-hammerton/issue-209
puppetboard/app.py: Don't filter on environments if all are selected
2016-02-01 20:44:16 -05:00
corey.hammerton
f9edda82b4 templates/index: Directly referencing config.REFRESH_RATE
Fixes https://github.com/voxpupuli/puppetboard/issues/213

Also changing the 'if' condition from '!=' to '>' since this application
can only work with unsigned integers
2016-02-01 19:59:24 -05:00
corey.hammerton
8fa0514585 puppetboard/app.py: If all environments are selected do not filter for event counts.
Fixes https://github.com/voxpupuli/puppetboard/issues/209

The event_count queries for the reports in the reports() and reports_node()
functions were always filtering on environments, even if all environments, *,
were selected. This update removes the environment clause from the query
string if 'All Environments' are selected
2016-02-01 19:43:46 -05:00
Corey Hammerton
fd29fe4261 Merge pull request #208 from corey-hammerton/readme
README.rst: Updating documentation with new configuration settings.
2016-02-01 19:25:33 -05:00
corey.hammerton
3ebde245ed requirements.txt: Updating the required version of pypuppetdb
The standard package requirements have a dependency on version 0.2.1
of pypuppetdb, updating the developer requirements list with the same version
2016-02-01 19:23:31 -05:00
Jan Collijs
21fee5b775 Feature: added examples to the readme 2016-01-22 10:11:02 +01:00
Raphaël Pinson
8e4af7c034 Use more standard colors for Puppet run states 2016-01-21 18:20:50 +01:00
Corey Hammerton
370c514745 README.rst: Updating documentation with new configuration settings.
Adding documentation for new configuration settings that have been
added since it was last updated.
2016-01-18 20:56:07 -05:00
Corey Hammerton
de22c61056 Merge pull request #204 from corey-hammerton/pypuppetdb-0.2.1
Using new Node and Catalog fields available in pypuppetdb 0.2.1

With the latest_report_hash field available on the Node object the report_latest can be partially deprecated. Will hopefully be removed in the next major/minor release.
2016-01-18 20:03:55 -05:00
Corey Hammerton
4226fdc368 Merge pull request #203 from corey-hammerton/issue-193
templates/catalog_compare: Switching from basic tables to fixed tables
2016-01-18 20:01:04 -05:00
Corey Hammerton
43e37fdf64 Using new Node and Catalog fields available in pypuppetdb 0.2.1
Showing the Code ID field in the catalogs page. This is currently
unused in PuppetDB as of 3.2.2 but may be useful when it will be used

If available, using the latest_report_hash field of the node object
in the index and nodes templates for the link to the latest report
available for the node.

Updating the report_latest function in app.py to query the nodes
endpoint and redirecting using the latest_report_hash field if available.
If not query the reports endpoint for the node's latest report.
2015-12-28 16:07:43 -05:00
Corey Hammerton
9b8c8332ef templates/catalog_compare: Switching from basic tables to fixed tables
Fixed https://github.com/puppet-community/puppetboard/issues/193

Fixed Semantic UI tables set a fixed position on the applied tables
that do not affect the alignment with narrow browser windows. Downside
of this approach is that users will have to scroll horizontally to view
the entire catalog comparison.
2015-12-28 15:25:59 -05:00
Corey Hammerton
40bd73415d Merge pull request #145 from nibalizer/graphing_facts
"Add clientversion to graphing facts"
2015-12-19 10:12:54 -05:00
Spencer Krum
596e850189 Add clientversion to graphing facts 2015-12-17 10:14:13 -08:00
Corey Hammerton
23b95dc1d2 Merge pull request #189 from corey-hammerton/reload_envs
puppetboard: Reloading the available environments on every page load.
2015-12-14 21:28:03 -05:00
Corey Hammerton
cc9b3de2ec puppetboard/app: Loading the environments in each error_processor function
In the previous commit the environment loading was moving to each request
and that functionality change was not reflected in the error processor
functions (for 4xx and 5xx series errors)
2015-12-14 21:26:09 -05:00
Corey Hammerton
1c7363afa0 Merge pull request #191 from octomike/fix_format_index
fix: wrong index with format()
2015-12-14 21:25:38 -05:00
Spencer Krum
f5ff5b378d Merge pull request #99 from tjayl/auto-refresh
Add auto-refresh on index page
2015-12-05 12:45:25 -08:00
TJayl
177f6c234a Add the auto-refresh to the index page 2015-12-04 13:45:45 +00:00
Michael Krause
8ddec01ca0 fix: wrong index with format() 2015-11-19 14:57:09 +01:00
Corey Hammerton
26d7d43d17 puppetboard: Reloading the available environments on every page load.
Moving the global environment list from a global context to a functional
context because octomike reported that the environment list in his environment
was not being refreshed.

Adding CHANGELOG entries for 0.1.1 and this new change.
2015-11-18 18:34:01 -05:00
Corey Hammerton
f63a0cefcb Merge pull request #185 from raphink/all_envs
Allow to list all nodes again (remove environment filter)

Adding a configurable default environment setting in case some environments to not have a 'production' environment.

Adding a '*' option to remove environment filters.
2015-11-18 18:14:22 -05:00
Corey Hammerton
05f14e3735 Merge pull request #183 from ghakfoort/patch-1
puppetboard/templates/layout: version number updated
2015-11-18 18:13:21 -05:00
Daniele Sluijters
fff45e607a CHANGELOG: dropping PuppetDB 2 support 2015-11-18 17:32:36 +01:00
Daniele Sluijters
2c3ead77d2 README: Add PuppetDB 3 requirement 2015-11-18 17:31:33 +01:00
Raphaël Pinson
b7fdfd8b0d Add All environments to dropdown 2015-11-18 09:25:28 +01:00
Raphaël Pinson
e93db585e1 Add '*' to request all environments 2015-11-18 09:25:25 +01:00
Raphaël Pinson
bfa4d1042e Allow configuration of default environment 2015-11-17 09:32:07 +01:00
ghakfoort
bba5d1dc15 version number updated
the version of puppetboard was updated to 0.1.1 but the version number in this layout file was still 0.1.0.
2015-11-13 11:18:19 +01:00
Corey Hammerton
8b0a797097 puppetboard/setup.py: Version bump 2015-11-12 19:50:28 -05:00
Corey Hammerton
13decf04d5 Merge pull request #182 from corey-hammerton/reports
puppetboard/templates/reports: Passing current_env to the reports_table macro

This fixes https://github.com/puppet-community/puppetboard/issues/181
v0.1.1
2015-11-12 19:41:21 -05:00
Corey Hammerton
0fdad9287e puppetboard/templates/reports: Passing the current_env parameter to the reports_table macro
This fixes https://github.com/puppet-community/puppetboard/issues/181
2015-11-11 18:44:12 -05:00
Corey Hammerton
709480a83f Merge pull request #176 from corey-hammerton/0.1.0
puppetboard: Adding PuppetDB 3.x support

Some of the implementations here is:

- Environment Awareness with a dropdown menu to switch environments
- First implementation of pagination in the form of a macro for flexibility
- Use of the PuppetDB 3.x APIs, therefore PuppetDB 2.x compatibility is broken
v0.1.0
2015-11-09 20:42:27 -05:00
Corey Hammerton
ba32cdc8a1 Merge pull request #177 from corey-hammerton/footer
puppetboard/templates/layout: Replacing @daenney in the Footer with Puppet Community
2015-11-09 20:37:37 -05:00
Corey Hammerton
cb83144443 Update README.rst
Properly setting the _GoogleGroup macro in the "Getting Help" section
2015-11-09 20:36:17 -05:00
Corey Hammerton
1c72a754d2 puppetboard/templates/layout: Restoring the footer but referencing Puppet Community
@daenney would rather have the footer reference the Puppet Community organization
than completing removing this bar.

Also adding a reference in README.rst about the available Google Group
2015-11-07 20:16:20 -05:00
Corey Hammerton
46439055f8 puppetboard/app: Reducing code redundancy for environment retreival and checking
Moving the envs variable out of the functions scope to the global scope,
this enables each function to reference and use these values.

Adding a new function check_env() to standardize the way to ensure that
the request environment exists, if it doesn't then abort with a 404.

This reduces 16 blocks of code and is in line with @daenney's suggestions
2015-11-07 20:06:48 -05:00
Corey Hammerton
61fc5994fb puppetboard/templates/layout: Removing the footer bar
This bar reduces the available vertical space and other maintainers feel
it better to remove it than to modify it.

Also reducing the specific mention of @daenney from README.rst since he
has steped down as main project maintainer.
2015-11-05 21:37:58 -05:00