Updates to fire text integration:

- client updated to raise errors with fire text error codes/messages

New endpoint
- /notifications/sms/firetext
For delivery notifications to be sent to.
This commit is contained in:
Martyn Inglis
2016-03-10 15:40:41 +00:00
parent c580b9c084
commit 1f22f2b7cc
9 changed files with 299 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ def create_app():
def init_app(app):
@app.before_request
def required_authentication():
if request.path != url_for('status.show_status'):
if request.path not in [url_for('status.show_status'), url_for('notifications.process_firetext_response')]:
from app.authentication import auth
error = auth.requires_auth()
if error: