Validate length of broadcast content

Depends on:
- [ ] https://github.com/alphagov/notifications-utils/pull/826/files

Adds error messages for when the content of a broadcast template is too
long.

The error message is explicit when this is cause by non-GSM characters.
We may not want to expose this complexity to our users, but it’s useful
for now while we’re testing things out.
This commit is contained in:
Chris Hill-Scott
2020-12-29 11:29:57 +00:00
parent 223003517a
commit 8302b2b667
5 changed files with 58 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ Shapely==1.7.1
awscli-cwlogs>=1.4,<1.5
itsdangerous==1.1.0
git+https://github.com/alphagov/notifications-utils.git@43.5.8#egg=notifications-utils==43.5.8
git+https://github.com/alphagov/notifications-utils.git@43.6.0#egg=notifications-utils==43.6.0
git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.1-alpha#egg=govuk-frontend-jinja==0.5.1-alpha
# gds-metrics requires prometheseus 0.2.0, override that requirement as later versions bring significant performance gains