Releases: mwarkentin/django-watchman
Releases · mwarkentin/django-watchman
0.11.1: Fix management command verbosity
- [#99] Fix verbose output in management command on Django 1.8+
0.10.1: Header tokens w/ dashes
- [#81] Fix header-based authentication for tokens w/ dashes (
-
)- Regex was overly specific for header values (
\w
) - Added TODO to follow up with a full regex for valid characters according to the spec
- Regex was overly specific for header values (
0.10.0: Email check customization and authorization headers
- [#75] Enable header-based authentication
- Set a header instead of passing the token via GET param:
"Authorization: WATCHMAN-TOKEN Token=\":token\""
- Improves security by keeping tokens out of logs
- Set a header instead of passing the token via GET param:
- [#79] Enable customization of email check
- Add
WATCHMAN_EMAIL_RECIPIENTS
setting - pass a list of recipients the email should be sent to - Add
WATCHMAN_EMAIL_HEADERS
setting - pass a dict of custom headers to be set on the email
- Add
0.9.0
- [#51] Update TravisCI Python / Django versions
- [#52] Fix deprecated url_patterns
- [#53] Change default error response code to 500
- [#56] Add @check decorator and refactor existing checks to use it (thanks @benwebber!)
- [#57] Sort caches / databases in response for more consistent responses
- [#59] Add .editorconfig for improved consistency in contributions
- [#61] Add Vagrantfile and docs for how to run and develop on Vagrant instance
- [#65] Include assets in source tarball for Debian packaging (thanks @fladi)
- [#71] Unpin django-jsonview in setup.py
- [#72] Fix stacktrace on dashboard modal and increase width for better readability
0.8.0
0.7.1
- Update headers in
HISTORY.rst
to attempt to fix localshop parsing issues
0.7.0
v0.6.0: Dashboard, customizable auth, and version metadata
- [#30] Allow users to specify a custom authentication/authorization decorator
- Override the
@auth
decorator by settingWATCHMAN_AUTH_DECORATOR
to a dot-separated path to your own decorator- eg.
WATCHMAN_AUTH_DECORATOR = 'django.contrib.admin.views.decorators.staff_member_required'
- eg.
- Token-based authentication remains the default
- Override the
- [#31], [#34] Add a human-friendly status dashboard
- Available at
<watchman url>/dashboard/
?check
&?skip
GET params work on the dashboard as well
- Available at
- [#35] Add
X-Watchman-Version
header to responses
v0.5.0
- Add
watchman
management command- Exit code of
0
if all checks pass,1
otherwise - Print json stacktrace to
stderr
if check fails - Handles
--verbosity
option to print all status checks -c
,--checks
,-s
,--skips
options take comma-separated list of python paths to run / skip
- Exit code of
- Improve identifiability of emails sent from a django-watchman endpoint
- From: [email protected]
- Subject: django-watchman email check
- Body: This is an automated test of the email system.
- Add
X-DJANGO-WATCHMAN: True
custom header
- Add new default check:
storage
check- Checks that files can be both written and read with the current Django storage engine
- Add
WATCHMAN_ENABLE_PAID_CHECKS
setting to enable all paid checks without modifyingWATCHMAN_CHECKS
- Remove
email_status
from default checks - Refactor
utils.get_checks
to allow reuse in management commandget_checks
now performs the optional check inclusion / skippingstatus
refactored to pullcheck_list
/skip_list
from GET params and pass them toget_checks
- Namespace cache keys
- Update documentation
v0.4.0: Skip checks
- Add the ability to skip certain checks by passing one or more
skip=path.to.callable
GET params when hitting the watchman URL