Skip to content

Latest commit

 

History

History
665 lines (506 loc) · 42.7 KB

CHANGELOG.md

File metadata and controls

665 lines (506 loc) · 42.7 KB

Changelog

All notable changes to this project will be documented in this file.

v6.0.0 (2024-11-26)

Full Changelog

Breaking changes:

Implemented enhancements:

Fixed bugs:

Merged pull requests:

v5.4.0 (2024-03-01)

Full Changelog

Merged pull requests:

v5.3.0 (2024-02-07)

Full Changelog

Implemented enhancements:

Merged pull requests:

v5.2.0 (2024-01-17)

Full Changelog

Implemented enhancements:

  • Update README for SECRET_KEY and SSL Setup #985 (tuxmea)

Fixed bugs:

  • Facts only showing RedHat #961

Closed issues:

  • Make it More Apparent that SECRET_KEY cannot be blank #978

Merged pull requests:

v5.1.0 (2023-10-08)

Full Changelog

Merged pull requests:

v5.0.0 (2023-07-27)

  • Stop setting SECRET_KEY value to a random string by default. This has caused issues in deployments with more than one app replica or when the app was restarted. Please set this to your own long, random string, the same for each application replica. Implements #721.
  • Drop support for Python 3.7 (end-of-life in June 2023). PR #899
  • Fix broken links in Classes view. PR #868, fixes #816.
  • Fix if fact is None (default for full node view). PR #908, fixes #907.
  • Dependencies update.

Thanks to the following contributors of this release:

4.3.0

  • Add new Classes view. This view lists the Puppet classes that have had at least one of their resources changed (event). (#799).

Big thanks to Louis Charreau who contributed the above feature!

4.2.6

  • Fix auto-resize in the Radiator view in offline mode (#718).

Thanks to René Hernandez 2nd who contributed to this release!

4.2.5

  • Really fix starting the app when the SECRET_KEY is set to bytes instead of str. (#741).

4.2.4

  • Fix starting the app when the SECRET_KEY is set to bytes instead of str. (#741).

4.2.3

  • Sort 'uptime' fact values correctly again - it was fixed in v3.4.0 but got broken in v4.1.0 (#469).

4.2.2

  • Showing debug messages using a different color than the error messages in the Logs of the Report view. (PR #725)
  • Start warning that the default SECRET_KET will not be provided starting with Puppetboard 5.x - see issue #721 for more info. (PR #726)

Thanks to the contributor of this release, Shawn Toffel!

4.2.1

  • Fix LOCALISE_TIMESTAMP = False and document how it works. (#461)

4.2.0

  • Confirm support for Python 3.11 (final), switch the Docker image to use that version of Python.

4.1.2

  • Fixed incompatibility with Python 3.7 that has occurred at least in the tests (regression introduced in 4.1.1). (#720)

4.1.1

  • Fixed showing facts with graph (regression introduced in 4.1.0). (#719)

4.1.0

  • Show configurable favorite environments immediately after the "All Environments" in the dropdown. (#705)
  • Automatic OS values for Linux, macOS and Windows nodes in the Inventory view. Customizable Inventory fact values using Jinja templates. PR #712, fixes #485.
  • Big upgrade of the frontend dependencies, including migration to their maintained forks in a few cases (Semantic UI → Fomantic UI, c3.js → billboard.js). (#708)

Very big thanks to Melchior NOGUES who did most of the development for this release!

4.0.5

(4.0.4 was a partially incorrect release. Please use 4.0.5 instead.)

  • Fix Puppetboard not starting on PE PuppetDB. (#711)

4.0.3

  • Make facts with integer values which are strings internally findable. (#706)

Thanks to Stephen Ryan who contributed to this release!

4.0.2

4.0.1

  • Fix the Docker image - make the app start again. (#701).
  • Remove border-radius from the top menu to make it appear more clearly anchored to the page. (#699)

Thanks to Marcel Deglau who contributed to this release!

4.0.0

This is mostly a maintenance release.

The major version is bumped because of:

  • dropped support for PuppetDBs < 5.2.0 (Puppet 4 has reached its end-of-life in October 2018),
  • dropped support for Python 3.6 (end-of-life in December 2021).

There might be some performance improvements thanks to the upgrade of the core dependencies - Flask, Jinja2, Werkzeug etc.

Additional improvements:

  • Set custom user-agent header that will make troubleshooting easier.

3.6.1

  • Stop modifying the query response for showing as JSON (fixes #695, PR #696).

3.6.0

  • Show user-friendly error message when there's a problem with connecting to the PuppetDB and just zeros instead of HTTP 404 when the PuppetDB is just yet empty (PR #692,
  • Add a healthcheck to the Docker image (PR #690),
  • Fix Failures view when there are no logs (PR #693).

Thanks to the following contributors of this release: @ArthurWuTW, @jcpunk, @carlosduelo.

3.5.1

  • Fixed friendly error message toggle (when there is no env in the URL) (#688).

3.5.0

  • Report view improvements:
    • show Logs before Events as they are more useful,
    • show different, arguably more useful columns in Logs by default,
    • allow showing messages in a "friendly" mode (like in Failures view),
    • make Logs and Events filterable,
    • don't force column sizes for a better, automatic content layout,
    • use fixed-width font where it makes more sense,
  • Fix mixed up normal and OFFLINE_MODE for Query view.

3.4.2

  • Fix auto-resize in radiator view,
  • Fix Query tab cannot be disabled on Docker
  • Removed unused import in setup.py,

Thanks to the following contributors of this release: @vilhelmprytz, @ldumont, @allan-reynolds.

3.4.1

  • Fixed broken PyPI package (#677).
  • Made the ToC links work when the README is displayed as the description in PyPI.

Thanks to the following contributors of this release: @Rewerson, @vchepkov.

3.4.0

  • Query view improvements:
    • Make the result clickable if a certname is in it (#652).
    • UX improvements: show the number of results, show a user-friendly error in case of a PQL syntax error, show a warning on empty result, use fixed-width font for matching the query with the possible error message, remove useless 'Cancel' button. (#653).
    • Add 'Download as CSV' and 'Download as XLSX' to the results (#654).
    • Make the result shareable using URL (#657).
  • New Failures view for showing the first error/failed resource for all nodes with a failed puppet run. It can show both "friendly" and raw error messages (#662).
  • Sort 'uptime' fact values correctly (#591).
  • Visual tweaks (#667).
  • Improvements for running with Docker:
    • Configurable binding host in Dockerfile (#660).
    • Allow passing PuppetDB certificates via environment variables when using Docker, in base64 encoding or not (#671).
    • Add Puppet code for running Puppetboard using Docker into the README (#672).
  • Add missing fonts and icons to the PyPI package (#666).
  • Refactoring: split views into separate files (#665).
  • Update many dependencies.

✨ Thanks to the following contributors of this release: @djluo, @GermanG, @jgrammen-agilitypr, @SeanHood, @tuxmea, @qhess34! 🌟

3.3.0

  • Show structured facts as pretty-formatted, syntax-highlighted JSON. Works on Node view and Facts view. Colors meaning are as follows: orange - number, blue - boolean, green - dict's key name. Implements #83.
  • Fix getting nodes with non-string fact values (#612).
  • Fix missing trailing 'u' character in facts with hashes (#567).
  • Add favicon (#650)

3.2.0

  • Add from/till filter for reports (issue #625, PR #625)
  • Remove tabs for disabled features (issue #627, PR #636)
  • Add support for FreeBSD (#628)
  • Add support for Python 3.10 (#637)

Thanks to @smortex and @sebastianrakel for their contributions!

3.1.0

  • Improve facts columns balancing (#618)
  • Allow to toggle checkboxes by clicking their label (#617)
  • Add support for Python 3.9 (#619)
  • pypuppetdb: raise version requirement >=2.4.0.rc1 because we need it for Python 3.9 support

3.0.0

This is a bugfix and maintenance release. The major version is bumped because of the Python 3.5 support drop.

Features:

  • Change the default sort order of facts table to a-z, instead of z-a (#572)
  • Revamp the README (#601)

Bugfixes:

  • Fix noop class in _macros.html (#588)
  • Fix listing nodes with boolean fact values (#583)
  • Fix auto-resize in radiator view (#605)
  • Fix issue with no render when facts are empty (#607)

Other:

  • Drop Python 3.5 support (#593)
  • Update jQuery to 3.5.1 (#592)
  • Manage any other exception for get_or_abort (#606)
  • Improve getting resources from CDN (#609)
  • Migrate from Travis to GitHub Actions (#604)

2.2.0

  • Fix default table sort (#444)
  • Use a select for endpoint select in query (#575)
  • Surround multiline messages with
     in reports (#576)
  • Fix CI builds by requiring pytest >= 4.6 (#577)
  • Add noop column in overview and nodes (#584)
  • Add title to events labels in overview and nodes (#585)

2.1.2

  • Puppet DB 5.2.13 requires v2 metrics

2.1.1

  • Added support for new metrics API v2 on PuppetDB >= 5.3.11 and < 6.0.0 (#558)
  • Added Python 3.5 back into test matrix (#559)
  • Fixed bug in dailyreport.js that caused it not to render when served under a non-default virtual host (#557)

2.1.0

  • Fixed Puppetboard's usage for the new metrics v2 API both on the home page for computing the average resources/node and the Metrics listing page. This change now supports the changes in PuppetDB >= 6.9.1 (https://puppet.com/security/cve/CVE-2020-7943/)
  • Added backwards compatability support for both the metric v1 and v2 endpoints depending on the version of the server. Any PuppetDB >= 6.9.1 will be queried with the v2 endpoint automatically (because v1 is disabled from here forward). Any PuppetDB <= 6.9.0 will use v1.
  • pypuppetdb: raise version requirement >=2.1.0 because changes were needed in this library to support the metrics v2 fixes.
  • app.py: Added python2 backwards compatability fix for importing urllib.

2.0.0

  • Dockerfile: Switch to python:3.7-alpine image
  • pypuppetdb: raise version requirement >=1.2.0 to >=2.0.0
  • Drop support for python2.7 and python3.5 & Add python3.8 to buildmatrix
  • Upgrade of tests requirements + resolving current deprecation warnings
  • Ignore facts environment for compatibility and performance
  • Adding mypy + Cleanup + CommonMark upgrade to 0.9.1
  • Update docker and fix coveralls not running.
  • Cast inventory data toString

1.1.0

  • Move to Python 3.6 for Docker
  • Fix problem loading daily chart on node page
  • fix gunicorn parameter and allow to define workers in docker
  • Add feature for better performance in big Puppet envs
  • bundle requirements.txt for tests and docker

1.0.0

  • CI enhancements
  • Allow to configure which PuppetDB endpoints are allowed
  • Update c3 to 4.22
  • Add basic health check endpoint
  • Allow to force the PuppetDB connection protocol
  • Update jquery-tablesort to 0.0.11
  • Fix bug breaking date/time sort
  • Fix formatvalue for list of dicts
  • Modify date sort to handle failed
  • Include template files for altering Semantic css and Google fonts
  • Make 320px the max width for columns
  • If query is None don't perform add on it
  • Query using producer_timestamp index vs. start_time
  • Add missing components for building source packages
  • Add support for URL prefixes to Docker image

0.3.0

  • Core UI Rework
  • Update to pypuppetdb 0.3.3
  • Fix sorty on data for index
  • Update debian documentation
  • Offline mode fix
  • Fix fact attribute error on paths
  • Enhanced testing
  • Radiator CSS uses same coloring
  • Markdown in config version
  • Update Flask
  • Cleanup requirements.txt
  • Update package maintainer for OpenBSD

0.2.1

  • Daily Charts
  • Fixed missing javascript files on radiator view.
  • TravisCI and Coveralls integration.
  • Fixed app crash in catalog view.
  • Upgrade pypuppetdb to 0.3.2
  • Enhanced queries for Node and Report (#271)
  • Optimize Inventory Code.
  • Use certname instead of hostname to identify nodes when applicable.
  • Add environment filter for facts.
  • Update cs.js to 0.4.11
  • Fix radiator column alignment
  • Security checks with bandit
  • Dockerfile now uses gunicorn and environment variables for configuration.
  • Handle division by zero errors.
  • Implement new Jquery Datatables.
  • JSON output for radiator. * Move javascript to head tag.
  • Optimize reports and node page queries.
  • Fix all environments for PuppetDB 3.2
  • Fact graph chart now configurable.
  • Support for Flask 0.12 and Jinja2 2.9
  • Fix misreporting noops as changes.

0.2.0

  • Full support for PuppetDB 4.x
  • Updating Semantic UI to 2.1.8
  • Updating Flask-WTF requirements to 0.12
  • Updating WTForms to 2.x
  • Restored CSRF protection on the Query Tab form
  • Updating Pypuppetdb requirement to 0.3.x
  • New configuration option OVERVIEW_FILTER allows users to add custom PuppetDB query clauses to include/exclude nodes displayed on the index page
  • Adding Radiator view similar to what is available in Puppet Dashboard
  • Adding a drop-down list in the Reports tab to configure the number of reports displayed
  • Removing unneeded report_latest() endpoint. This endpoint was deprecated with the addition of the latest_report_hash field in the Nodes PuppetDB endpoint
  • Enhancing Report pagination
  • Using the OOP Query Builder available in Pypuppetdb 0.3.x
  • Allowing PQL queries in the Query Tab
  • Fixing double url-quoting bug on Metric endpodint calls
  • Adding a Boolean field to the Query form to prettyprint responses from PuppetDB
  • Fixing corner-case where empty environments would trigger a ZeroDivisionError due to the Number of Nodes divided by the Number of Resources calculation
  • Adding additional logging in utils.py

0.1.2

  • Add configuration option to set the default environment with new configuration option DEFAULT_ENVIRONMENT, defaults to 'production'.
  • Loading all available environments with every page load.
  • Adding an "All Environments" item to the Environments dropdown to remove all environment filters on PuppetDB data.
  • Updating README.rst to update links and describe new configuration options.
  • Fixing Query form submission problem by disabling CSRF protection. Needs to be re-implemented.

* Updating the pypuppetdb requirement to >= 0.2.1, using information
available in PuppetDB 3.2 and higher

* latest_report_hash and latest_report_status fields from the Nodes endpoint, this effectively deprecates the report_latest() function* code_id from the Catalogs endpoint (current unused) * Adding a automatic refresh on the overview page to reload the page every X number of seconds, defaults to 30. This is configurable with the configuration option REFRESH_RATE * Fixing the table alignment in the catalog_compare() page by switching to fixed tables from basic tables. * Using colors similar to Puppet Dashboard and Foreman for the status counts sections

0.1.1

  • Fix bug where the reports template was not generating the report links with the right environment

0.1.0

  • Requires pypuppetdb >= 0.2.0
  • Drop support for PuppetDB 2 and earlier
  • Full support for PuppetDB 3.x
  • The first directory location is now a Puppet environment which is filtered on all supported queries. Users can browse different environments with a select field in the top NavBar
  • Using limit, order_by and offset parameters adding pagaination on the Reports page (available in the NavBar). Functionality is available to pages that accept a page attribute.
  • The report page now directly queries pypuppetdb to match the report_id value with the report hash or configuration_version fields.
  • Catching and aborting with a 404 if the report and report_latest function queries do not return a generator object.
  • Adding a Catalogs page (similar to the Nodes page) with a form to compare one node's catalog information with that of another node.
  • Updating the Query Endpoints for the Query page.
  • Adding to templates/_macros.html status_counts that shows node/report status information, like what is avaiable on the index and nodes pages, available to the reports pages and tables also.
  • Showing report logs and metrics in the report page.
  • Removing limit_reports from utils.py because this helper function has been replaced by the limit PuppetDB paging function.

Known Issues

  • fact_value pages rendered from JSON valued facts return no results. A more sophisticated API is required to make use of JSON valued facts (through the factsets, fact-paths and/or fact-contents endpoints for example)

0.0.5

  • Now requires WTForms versions less than 2.0
  • Adding a Flask development server in dev.py.
  • Adding CSRF protection VIA the flask_wtf CsrfProtect object.
  • Allowing users to configure the report limit on pages where reports are listed with the LIMIT_REPORTS configuration option.
  • Adding an inventory page to users to be able to see all available nodes and a configure lists of facts to display VIA the INVENTORY_FACTS configuration option.
  • Adding a page to view a node's catalog information if enabled, disabled by default. Can be changed with the ENABLE_CATALOG configuration attribute.
  • New configuration option GRAPH_FACTS allows the user to choose which graphs will generate pie on the fact pages.
  • Replacing Chart.js with c3.js and d3.js.
  • Adding Semantic UI 0.16.1 and removing unused bootstrap styles.
  • Adding an OFFLINE_MODE configuration option to load local assets or from a CDN service. This is useful in environments without internet access.

0.0.4

  • Fix the sorting of the different tables containing facts.
  • Fix the license in our setup.py. The license shouldn't be longer than 200 characters. We were including the full license tripping up tools like bdist_rpm.

0.0.3

This release introduces a few big changes. The most obvious one is the revamped Overview page which has received significant love. Most of the work was done by Julius Härtl. The Nodes tab has been given a slight face-lift too.

Other changes:

  • This release depends on the new pypuppetdb 0.1.0. Because of this the SSL configuration options have been changed:
    • PUPPETDB_SSL is gone and replaced by PUPPETDB_SSL_VERIFY which now defaults to True. This only affects connections to PuppetDB that happen over SSL.
    • SSL is automatically enabled if both PUPPETDB_CERT and PUPPETDB_KEY are provided.
  • Display of deeply nested metrics and query results have been fixed.
  • Average resources per node metric is now displayed as a natural number.
  • A link back to the node has been added to the reports.
  • A few issues with reports have been fixed.
  • A new setting called UNRESPONSIVE_HOURS has been added which denotes the amount of hours after which Puppetboard will display the node as unreported if it hasn't checked in. We default to 2 hours.
  • The event message can now be viewed by clicking on the event.

Puppetboard is now neatly packaged up and available on PyPI. This should significantly help reduce the convoluted installation instructions people had to follow.

Updated installation instructions have been added on how to install from PyPI and how to configure your HTTPD.

0.0.2

In this release we've introduced a few new things. First of all we now require pypuppetdb version 0.0.4 or later which includes support for the v3 API introduced with PuppetDB 1.5.

Because of changes in PuppetDB 1.5 and therefor in pypuppetdb users of the v2 API, regardless of the PuppetDB version, will no longer be able to view reports or events.

In light of this the following settings have been removed:

  • PUPPETDB_EXPERIMENTAL

Two new settings have been added:

  • PUPPETDB_API: an integer, defaulting to 3, representing the API version we want to use.
  • ENABLE_QUERY: a boolean, defaulting to True, on wether or not to be able to use the Query tab.

We've also added a few new features:

  • Thanks to some work done during PuppetConf together with Nick Lewis (from Puppet Labs) we now expose all of PuppetDB's metrics in the Metrics tab. The formatting isn't exactly pretty but it's a start.
  • Spencer Krum added the graphing capabilities to the Facts tab.
  • Daniel Lawrence added a feature so that facts on the node view are clickable and take you to the complete overview of that fact for your infrastructure and made the nodes in the complete facts list clickable so you can jump to a node.
  • Klavs Klavsen contributed some documentation on how to run Puppetboard with Passenger.

0.0.1

Initial release.

* This Changelog was automatically generated by github_changelog_generator