11 Commits

Author SHA1 Message Date
corey.hammerton
9334827826 Version bump to 0.1.2 2016-02-09 20:10:28 -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
8b0a797097 puppetboard/setup.py: Version bump 2015-11-12 19:50:28 -05: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
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
Corey Hammerton
9fbd283c9f puppetboard: Version bump to 0.0.5 2015-10-09 20:22:37 -04:00
Daniele Sluijters
a1160d2c1f setup: Pin version requirements of WTForms.
Mentions: #124
2015-03-04 17:58:37 +01:00
Daniele Sluijters
693763d03d setup: We now support Python 3 too! 2014-03-13 12:05:19 +01:00
Daniele Sluijters
aabd82a08e setup: Bump to 0.0.4. 2014-01-21 15:13:02 +01:00
Daniele Sluijters
c52da03f60 setup: Fix your license so bdist_rpm doesn't trip. 2014-01-21 15:12:40 +01:00
Daniele Sluijters
c6b194ca83 Add setup.py|cfg and MANIFEST.in for packaging. 2014-01-16 11:31:49 +01:00