Commit Graph

24 Commits

Author SHA1 Message Date
Mike Terzo
2c423d67c9 Update for pypuppetdb 2017-10-15 16:01:01 -04:00
Raphaël Pinson
c229f51556 Commonmark version (#321)
* Allow HTML in config_version to be interpreted
* Allow Markdown in config_version
2017-04-03 17:37:21 -04:00
Mike Terzo
796e2ee7fd Upgrade to new versions of flask and dependencies 2017-03-20 19:47:06 -04:00
Mike Terzo
10147b993e Simply build requirements. Dependency management based on
social_app django project.
2017-03-20 17:41:52 -04:00
Mike Terzo
1e5f683b66 Moving version to a single place in version.py (#358)
* Moving version to a single place in version.py
* Requirements in setup.py + tox.ini
2017-02-13 00:35:15 -05:00
Mike Terzo
3e7119f63e Update to latest pypuppetdb. 2017-01-30 16:05:22 -05:00
Corey Hammerton
da044271ee PuppetBoard: Upgrading WTForms to latest version and restoring CSRF Protection (#250)
Upgrading the following packages to the respected versions:

WTForms==2.1
Flask-WTF==0.12
Werkzeug==0.11.0

Passing newly required metadata to the QueryForm constructor in puppetboard/app.py

Apache >= 2.4 with mod_wsgi experienced a major issue where it would re-generate
the app's secret key on each request. The fix for this turned out to be placing
a permanent statis 'secret_key' value in the wsgi.py. Adding a block in README.rst
on how to implement the user's own secret_key
2016-06-23 20:32:31 -04:00
Raphaël Pinson
38986047a6 Add PQL endpoint to Query form
Requires https://github.com/voxpupuli/pypuppetdb/pull/97
2016-06-21 06:59:24 +02:00
rob
f22ea84c68 Fix error "AttributeError: 'module' object has no attribute (#233)
'PROTOCOL_SSLv3'"

Upgrading the Requests package to 2.6.0

Running debian 8.2 (jessie) I experience the following:

```
Traceback (most recent call last):
  File "dev.py", line 11, in <module>
    from puppetboard.app import app
  File "/srv/puppetboard/puppetboard/puppetboard/app.py", line 19, in <module>
    from pypuppetdb import connect
  File "/srv/puppetboard/virtenv-puppetboard/local/lib/python2.7/site-packages/pypuppetdb/__init__.py", line 61, in <module>
    from pypuppetdb.api import BaseAPI
  File "/srv/puppetboard/virtenv-puppetboard/local/lib/python2.7/site-packages/pypuppetdb/api/__init__.py", line 7, in <module>
    import requests
  File "/srv/puppetboard/virtenv-puppetboard/local/lib/python2.7/site-packages/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/srv/puppetboard/virtenv-puppetboard/local/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 62, in <module>
    ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
```

Bumped 'requests' version as suggested here: http://stackoverflow.com/questions/28987891/patch-pyopenssl-for-sslv3-issue
2016-05-07 17:00:49 -04: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
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
901adc49d5 Update requirements.txt. 2014-03-13 12:02:33 +01:00
Daniele Sluijters
d92a068057 Switch to using pypuppetdb 0.1.0. 2014-01-13 13:12:21 +01:00
Daniele Sluijters
ee2775512d requirements: Change the URL to use git+git.
Some versions of Pip, depending on the platform and Python version have
issues with git+https URL's.
2013-10-29 09:03:55 +01:00
Julius Härtl
5ca758dd39 show list of nodes without report for x hours in overview
- the amount of hours is defined as `UNRESPONSIVE_HOURS` in default_settings.py
- small status layout improvement in nodes list
- latest report button in nodes list
- nedap/pypuppetdb repo as requirement ( new api was merged nedap/pypuppetdb#17 )
2013-10-28 11:36:37 +01:00
Julius Härtl
c7bae2efa3 fix for required branch of pypuppetdb with new api support 2013-10-25 16:07:00 +02:00
Julius Härtl
7c027dd97d Add basic support for node status by using the most recent report
The following frontend features are implemented
- Number of failures, successes, noops/skips in overview
- Show latest reports with 1 or more events in overview
- Direct links to latest Report
- Number and types of events in nodes list
2013-10-25 15:43:14 +02:00
Daniele Sluijters
f85f0fa864 requirements: Upgrade to pypuppetdb 0.0.4 2013-10-14 12:53:25 +02:00
Daniele Sluijters
7b71eb39d2 requirements. Update to pypuppetdb 0.0.2.
There was a stupid packaging error in pypuppetdb 0.0.1 preventing
successful installation of it and its depedencies.
2013-08-09 16:54:45 +02:00
Daniele Sluijters
1a178ef2af requirements: Get rid of wsgiref.
http://stackoverflow.com/questions/6627035
2013-08-09 09:35:37 +02:00
Daniele Sluijters
462fcbf76c requirements: Add missing dependencies.
No idea what happend but requirements.txt should list all the
dependencies, not just the 'top' ones.
2013-08-08 18:17:48 +02:00
Hunter Haugen
1d705d04dd Missing = sign 2013-08-07 17:38:39 -07:00
Daniele Sluijters
f41dd99f60 puppetboard: Commit the current code.
This is all the code after a week and a bit hacking on this project.
It's in a rather experimental state but should work with a little
effort.
2013-08-07 09:05:31 +02:00