Commit Graph

11200 Commits

Author SHA1 Message Date
pyup-bot
fec79380b6 Update awscli from 1.19.13 to 1.19.22 2021-03-08 18:48:45 +00:00
pyup-bot
7cc23020d6 Update requests-mock from 1.7.0 to 1.8.0 2021-03-08 18:48:44 +00:00
pyup-bot
66c0ddc7e2 Update flake8-print from 3.1.4 to 4.0.0 2021-03-08 18:48:43 +00:00
pyup-bot
0e0caa0c33 Update flake8-bugbear from 19.8.0 to 21.3.1 2021-03-08 18:48:42 +00:00
pyup-bot
4dd6668055 Update flake8 from 3.7.9 to 3.8.4 2021-03-08 18:48:41 +00:00
pyup-bot
46df5d7fb9 Update freezegun from 0.3.12 to 1.1.0 2021-03-08 18:48:40 +00:00
pyup-bot
be7ddef86b Update beautifulsoup4 from 4.8.1 to 4.9.3 2021-03-08 18:48:39 +00:00
pyup-bot
a6131ba53a Update pytest-xdist from 1.31.0 to 2.2.1 2021-03-08 18:48:38 +00:00
pyup-bot
908ea66cff Update pytest-mock from 1.11.2 to 3.5.1 2021-03-08 18:48:37 +00:00
pyup-bot
3f0e67aa3a Update pytest from 5.3.2 to 6.2.2 2021-03-08 18:48:36 +00:00
pyup-bot
ce749f536c Update isort from 4.3.21 to 5.7.0 2021-03-08 18:48:35 +00:00
pyup-bot
71f9b12c08 Update eventlet from 0.30.1 to 0.30.2 2021-03-08 18:48:34 +00:00
pyup-bot
cea19e657c Update eventlet from 0.30.1 to 0.30.2 2021-03-08 18:48:33 +00:00
karlchillmaid
5ea3be3e26 Merge pull request #3829 from alphagov/update-pricing-page-march-2021
Update text message pricing content
2021-03-08 17:31:15 +00:00
karlchillmaid
fde5e20ead Remove link 2021-03-08 17:17:59 +00:00
karlchillmaid
6c4fa450e4 change 'local' to 'regional' 2021-03-08 17:17:06 +00:00
karlchillmaid
2cf7bd46d9 Update link text and add link 2021-03-08 15:54:33 +00:00
karlchillmaid
afa8275e6f Reiterate that the allowance is per year 2021-03-08 15:51:41 +00:00
karlchillmaid
e146e94919 Reiterate that the allowance is per year 2021-03-08 15:48:57 +00:00
karlchillmaid
737b4ea9b8 Update text message pricing content 2021-03-08 15:38:28 +00:00
Katie Smith
7650dd0f47 Merge pull request #3824 from alphagov/invite-user-audit-event
Invite user audit event
2021-03-08 14:43:49 +00:00
Katie Smith
7ae4017d50 Add audit event for inviting users to a service 2021-03-08 14:34:50 +00:00
David McDonald
fed40326da Fix test assertion
It wasn't varying the email address seen in the header based on the two
parametrized cases. Not the end of the world, but we should make it
correct
2021-03-08 13:40:53 +00:00
Leo Hemsted
76fae6f5f8 Merge pull request #3825 from alphagov/fix
fix syntax
2021-03-05 15:13:35 +00:00
Leo Hemsted
477129644d fix syntax 2021-03-05 15:05:48 +00:00
Leo Hemsted
a8c63c0483 Merge pull request #3823 from alphagov/post-to-get-user-by-email
post to get user by email
2021-03-05 14:57:12 +00:00
Katie Smith
f5772328a1 Merge pull request #3822 from alphagov/broadcast-audits
Add an audit event when a service's broadcast permissions change
2021-03-05 14:34:16 +00:00
Leo Hemsted
4a624ace32 post to get user by email
that way we won't store any PII in logs
2021-03-05 12:43:15 +00:00
Katie Smith
0561937c13 Add an audit event when a service's broadcast permissions change
This adds an audit event to the `events` table when the broadcast
permissions for a service (the service mode, channel or provider
restriction) changes.
2021-03-04 12:09:28 +00:00
Chris Hill-Scott
187a38a0e9 Merge pull request #3809 from alphagov/fix-key-revoke-links
Fix the ‘revoke’ links on the API keys page
2021-03-03 15:34:17 +00:00
Chris Hill-Scott
a27dbd24a7 Fix the ‘revoke’ links on the API keys page
They were missing the `govuk-link--destructive` class which turns them
red, consistent with other links we use for deleting or suspending
things.
2021-03-03 15:24:38 +00:00
David McDonald
ce496584d5 Merge pull request #3818 from alphagov/fix-typo
Fix typo in Makefile (not running 'npm install')
2021-03-03 15:16:30 +00:00
Katie Smith
693c7f4365 Merge pull request #3816 from alphagov/accessibility-fixes
Fix minor accessibility bugs from recent audit
2021-03-03 13:46:39 +00:00
Ben Thorner
c5e528efa2 Fix typo in Makefile (not running 'npm install') 2021-02-26 17:54:43 +00:00
Katie Smith
d563cc8432 Change wording for hidden text on job page
To use the singular for the total message box.
2021-02-26 14:55:14 +00:00
Tom Byers
7b67fc5f32 Fix aria on collapsed checkboxes fieldset
The fieldset that wraps the collapsible checkboxes
has an aria-describedby to make the summary its
accessible description.

This needs to point to the id of the summary but
the summary didn't have one.

These changes add the id and fix a fixture in the
tests for this module.
2021-02-25 14:00:16 +00:00
Katie Smith
82318387de Add hidden text for pills on job page
The links in the blue boxes on the job page needed hidden text so that
they work out of context. This changes the text from "10 sending" to "10
sending text messages" (with the message type hidden text).
2021-02-24 14:36:21 +00:00
Katie Smith
6512b8fad3 Add descriptive links to API keys page
The links had no descriptive text, so all read 'Revoke'. This adds
hidden text specific to the item they relate to.
2021-02-24 14:36:21 +00:00
Katie Smith
e7d6a2ea0d Add descriptive links to /service-settings/letter-contact-details
The links had no descriptive text, so all read 'Change'. This adds
hidden text specific to the item they relate to.
2021-02-24 14:36:21 +00:00
Katie Smith
4f7b08512a Add descriptive links to /service-settings/sms-senders page
The links had no descriptive text, so all read 'Change'. This adds
hidden text specific to the item they relate to.
2021-02-24 14:36:21 +00:00
Katie Smith
0416b841b3 Add descriptive links to /service-settings/email-reply-to page
The links had no descriptive text, so all read 'Change'. This adds
hidden text specific to the item they relate to.
2021-02-24 14:36:21 +00:00
Katie Smith
1f9ea4a72f Stop adding required attribute to WTForm fields
WTForms now renders the `required` attribute if there is a validator
such as `DataRequired`. This was flagged in an accessibility audit as
being unnecessary since it doesn't conform to the Design System
recommendations, which state that "all form fields are considered
mandatory when navigating a government service unless otherwise denoted
by the word ‘(optional)’."

This uses the approach here https://github.com/wtforms/wtforms/pull/361
to overwrite the `render_field` method.
2021-02-24 14:36:21 +00:00
Katie Smith
a2147e9c84 Merge pull request #3814 from alphagov/bin-old-upload-document-stuff
Stop checking for upload_document permission
2021-02-24 11:01:34 +00:00
Katie Smith
d7e56f6956 Stop checking for upload_document permission
All services have the `upload_document` permission now, so we don't need
to check for it on the email formatting page. This also deletes a test
which is not needed now.
2021-02-24 10:54:42 +00:00
Katie Smith
cc06d3bbd8 Merge pull request #3812 from alphagov/new-inset-text-macro
Use the GOVUK Frontend inset text component instead of <aside>
2021-02-24 10:51:35 +00:00
Leo Hemsted
a85e20ed3e Merge pull request #3815 from alphagov/permissions-bug
allow caseworkers to view letter previews
2021-02-23 16:57:34 +00:00
David McDonald
0776a95942 Merge pull request #3794 from alphagov/broadcast-service-settings
Broadcast service settings
2021-02-23 16:26:12 +00:00
Leo Hemsted
087f908968 allow caseworkers to view letter previews
they can already view notifications page, but the png and pdf letter
previews just 403 for them currently.
2021-02-23 16:08:03 +00:00
David McDonald
1935d5f973 Improve test name for clarity 2021-02-23 16:03:16 +00:00
David McDonald
d22a852b5e Make fixtures more DRY
Moves a commonly used fixture into
`mock_get_service_settings_page_common` so we don't need to keep writing
it every time.

Note, we may be able to do similar in the future with

- single_reply_to_email_address
- single_letter_contact_block
- single_sms_sender

but need a bit more thought about fixing tests that would fail due to
this change and need tweaks to the order of their arguments.
2021-02-23 16:03:15 +00:00