Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Includes the version, current user and role in javascript error reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Nov 20, 2017
1 parent 95bc257 commit 552b3af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ replace =
search = version = '{current_version}'
replace = version = '{new_version}'

[bumpversion:file:onegov/town/app.py]
search = version = '{current_version}'
replace = version = '{new_version}'
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog
---------

- Includes the version, current user and role in javascript error reports.
[href]

1.15.2 (2017-11-20)
~~~~~~~~~~~~~~~~~~~~~

Expand Down
3 changes: 3 additions & 0 deletions onegov/town/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

class TownApp(OrgApp):

#: the version of this application (do not change manually!)
version = '1.15.2'

def configure_organisation(self, **cfg):
cfg.setdefault('enable_user_registration', False)
cfg.setdefault('enable_yubikey', True)
Expand Down

0 comments on commit 552b3af

Please sign in to comment.