Commit Graph

382 Commits

Author SHA1 Message Date
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
Corey Hammerton
b628032c39 Merge branch '0.1.0' of github.com:corey-hammerton/puppetboard into 0.1.0 2015-11-05 21:05:51 -05:00
Corey Hammerton
f2393eabe4 Merge branch 'puppet-community/master' into 0.1.0
Fixing merge conflicts

Conflicts:
	puppetboard/app.py
	puppetboard/forms.py
	puppetboard/templates/catalogs.html
2015-11-05 21:05:31 -05:00
Spencer Krum
6f6bd0585a Merge pull request #161 from corey-hammerton/catalog
puppetboard: Adding a more intuitive catalog view
2015-11-04 17:18:01 -08:00
Corey Hammerton
b04f941e67 Puppetboard/CHANGELOG
Removing the environment switching point in the Known Issues section that has been dealt with.
2015-11-04 20:00:04 -05:00
Corey Hammerton
9486adbd14 puppetboard: Squashed commit of the following:
b4f74e240d
Making catalog tables searchable

7a8ddde6ca
Navbar style/naming simplifications

e8fea997fd
Creating Semantic UI Menu for environment switching instead of select menu
2015-11-03 07:34:30 -05:00
Corey Hammerton
e0866a12ea puppetboard/catalog: Making the catalog tables searchable
Also standardizing the form declarations
2015-10-28 19:54:16 -04:00
Corey Hammerton
7f520af661 Merge pull request #164 from raphink/v4-api
Make Puppetboard work with the PuppetDB V4 api

This PR just enables the basic functionality of PuppetBoard with the new PyPuppetDB version. https://github.com/puppet-community/puppetboard/pull/176 includes this work as well as other work to make better utilization of the new library
2015-10-26 22:11:40 -04:00
Corey Hammerton
af05f67428 puppetboard: Adding PuppetDB 3.x support
Some excerpts from CHANGELOG.rst include:
- Increasing the pypuppetdb requirements from 0.1.x to 0.2.x
- The Reports page now lists reports from the reports endpoint instead of
  a link to a PuppetDB issue with a feature request
- Adding a Catalogs page to view either individual node catalogs or compare
  them against other nodes
- New environment awareness adds a new query parameter to all applicable
  endpoints to filter results based on the current environment. If the
  default environment 'production' is not available, or any other unavailable
  environment, the user is redirected to the first known environment.
- Adding pagination functionality for reports (for now) based on the value of
  the REPORTS_COUNT configuration option (used for the limit and the offset
  calculation). Implementation also makes it possible for other UI enhancements.
- Removing the limit_reports function from puppetboard/utils.py since paging
  parameters are now accepted by the pypuppetdb endpoint functions.
- Bumping the version to 0.1.0
2015-10-26 21:44:33 -04:00
Corey Hammerton
4362f80db6 Merge pull request #170 from rfletcher/skip-color
Make "skips" color consistent
2015-10-26 20:22:24 -04:00
Corey Hammerton
2b5903375e Merge pull request #173 from pyther/master
update query example to use certname

This is just an example text update.
2015-10-26 20:22:00 -04:00
Mickaël Canévet
b539fc9475 Fix dependencies now that pypuppetdb 0.2.0 is released 2015-10-26 13:39:54 +01:00
Raphaël Pinson
6af356a2fd Use pypuppetdb with api version 4 2015-10-26 13:39:54 +01:00
Daniele Sluijters
7e3cf0189b Merge pull request #175 from bastelfreak/update-maintainer
update ArchLinux Package maintainer
2015-10-25 15:37:24 +01:00
Tim Meusel
5142f96b0b update ArchLinux Package maintainer 2015-10-25 12:46:06 +01:00
Matthew Gyurgyik
1aad26a0c8 update query example to use certname 2015-10-23 11:17:02 -04:00
Corey Hammerton
202f6b9e8a Merge pull request #169 from corey-hammerton/0.0.5
puppetboard: Version bump to 0.0.5
v0.0.5
2015-10-15 20:51:28 -04:00
Corey Hammerton
0e0c46d17c setup.py: Requiring pypuppetdb >= 0.1.0
In addition to requiring pypuppet in versions less than 0.2.0 we also need versions greater than or equal to 0.1.0 because they support the Query API v3.
2015-10-15 20:42:44 -04:00
Rick Fletcher
0c5914ff44 Turn down brightness and saturation a bit in the predefined "yellow" 2015-10-13 12:06:08 -04:00
Rick Fletcher
15a9aaaa9f Consistently use yellow for skip stats 2015-10-12 20:20:49 -04:00
Rick Fletcher
f2da1b295a Define a "yellow" 2015-10-12 20:19:00 -04:00
Rick Fletcher
4c13898490 Make "skips" color consistent
"Skips" were highlighted with orange on one page and yellow on another. This change makes them consistent, and switches the color to "black" for accessibility reasons. (The contrast between the shades of orange and red used for skips and errors was *very* low. Indistinguishable on some screens.)
2015-10-12 00:26:16 -04:00
Corey Hammerton
9fbd283c9f puppetboard: Version bump to 0.0.5 2015-10-09 20:22:37 -04:00
Spencer Krum
5842326f2e Merge pull request #157 from corey-hammerton/inventory
puppetboard/app.py: Optimizing the inventory page
2015-10-05 18:18:59 -04:00
Corey Hammerton
a3473abf61 puppetboard: Adding a more intuitive catalog view
A new endpoint in the header, Catalogs, takes the user to a page with a node
table similar to that in the nodes page. This table shows the node with a
link to the node page, the catalog timestamp with a link to the catalog
page and a small form with a select field to be used to compare the
catalog of this row's node with that of another node.
2015-09-23 11:16:20 -04:00