mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
updatd copy to remove uk references
This commit is contained in:
@@ -316,7 +316,7 @@ the VSCode dev container.
|
||||
1. `make run-flask` from within the devcontainer
|
||||
2. Run `make a11y-scan` from your host computer.
|
||||
|
||||
## Further docs from UK
|
||||
## Further documentation
|
||||
|
||||
- [Working with static assets](docs/static-assets.md)
|
||||
- [JavaScript documentation](https://github.com/alphagov/notifications-manuals/wiki/JavaScript-Documentation)
|
||||
|
||||
@@ -21,7 +21,7 @@ INVALID_FUTURE_TOKEN_ERROR_MESSAGE = "Token can not be in the future"
|
||||
|
||||
def create_jwt_token(secret, client_id):
|
||||
"""
|
||||
Create JWT token for GOV.UK Notify
|
||||
Create JWT token for Notify.gov
|
||||
|
||||
Tokens have standard header:
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ REQUEST_ERROR_STATUS_CODE = 503
|
||||
REQUEST_ERROR_MESSAGE = "Request failed"
|
||||
|
||||
TOKEN_ERROR_GUIDANCE = "See our requirements for JSON Web Tokens \
|
||||
at https://docs.notifications.service.gov.uk/rest-api.html#authorisation-header"
|
||||
at https://github.com/GSA/notifications-api/tree/main/docs"
|
||||
TOKEN_ERROR_DEFAULT_ERROR_MESSAGE = "Invalid token: " + TOKEN_ERROR_GUIDANCE
|
||||
|
||||
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>
|
||||
Preview – GOV.UK Notify
|
||||
Preview – Notify.gov
|
||||
</title>
|
||||
|
||||
@@ -557,7 +557,7 @@ class BaseEmailTemplate(SubjectMixin, Template):
|
||||
That's still an extremely long email, and should be sufficient for all normal use, while at the same
|
||||
time giving us safe margin while sending the emails through Amazon SES.
|
||||
|
||||
EDIT: putting size up to 2MB as GOV.UK email digests are hitting the limit.
|
||||
EDIT: putting size up to 2MB as email digests were hitting the limit.
|
||||
"""
|
||||
return self.content_size_in_bytes > 2000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user