Commit Graph

9924 Commits

Author SHA1 Message Date
Chris Hill-Scott
fb4076dc5b Don’t break statistics down by sending/failed/delivered
This should:
- make the page load faster because it has to render less HTML for each
  service
- make the page easier to scan for services that are sending lots of
  text messages or letters

We used to scan this page to look for services with high failure rates,
and the design of the page was gear towards this. Now we have alerting
for high failure rates, so the page can focus on volumes instead.

This commit also puts the service name above the statistics, so that
long service names don’t break the layout of the page.
2020-06-24 11:45:32 +01:00
Chris Hill-Scott
2762be233d Put archived label alongside service name 2020-06-24 10:41:12 +01:00
Chris Hill-Scott
b176f1b1f0 Merge pull request #3488 from alphagov/ask-for-less-detailed-templates
Ask API for less detailed JSON for all templates
2020-06-23 14:12:58 +01:00
karlchillmaid
e15665e6bf Merge pull request #3489 from alphagov/update-temp-failure-for-sms
Update temporary failure error message content
2020-06-22 13:53:46 +01:00
karlchillmaid
81de5dfed2 Update content 2020-06-19 17:55:35 +01:00
karlchillmaid
aea037fca0 update content 2020-06-19 17:53:44 +01:00
karlchillmaid
1f186ec1fa Update temp failure description for SMS 2020-06-19 16:38:06 +01:00
Leo Hemsted
2f1e8b104b Merge pull request #3487 from alphagov/statsd
bump utils
2020-06-19 11:54:06 +01:00
Chris Hill-Scott
51e99bd828 Ask API for less detailed JSON for all templates
This should speed things up by:
- less time waiting for big blobs of JSON to come from Redis or the API
- less time spent deserialising big blobs of JSON
2020-06-19 10:32:44 +01:00
Leo Hemsted
fb820306da bump utils 2020-06-18 16:06:18 +01:00
David McDonald
c7543df39b Merge pull request #3482 from alphagov/pyup-scheduled-update-2020-06-15
Scheduled weekly dependency update for week 24
2020-06-18 11:58:49 +01:00
David McDonald
ec0ebd57a9 make freeze requirements 2020-06-18 11:40:49 +01:00
pyup-bot
b69cfa4d2e Update pyexcel from 0.6.1 to 0.6.2 2020-06-18 11:39:47 +01:00
pyup-bot
0684947732 Update govuk-bank-holidays from 0.6 to 0.8 2020-06-18 11:39:47 +01:00
Chris Hill-Scott
be3ad0bfd3 Merge pull request #3474 from alphagov/use-sticky-footer-set-inbound-number
Use a sticky footer on the set inbound number page
2020-06-17 11:43:24 +01:00
Chris Hill-Scott
e858a45c05 Merge pull request #3485 from alphagov/remove-blacklist-term
Remove term ‘blacklist’ from codebase
2020-06-17 09:56:49 +01:00
Chris Hill-Scott
972ba9e3da Remove term ‘blacklist’ from codebase
‘Commonly used passwords’ is more specific, and avoids the terminology
‘blacklist’ which the National Cyber Security Centre explain to be
problematic:

> It's fairly common to say whitelisting and blacklisting to describe desirable and undesirable things in cyber security. For instance, when talking about which applications you will allow or deny on your corporate network; or deciding which bad passwords you want your users not to be able to use.
>
> However, there's an issue with the terminology. It only makes sense if you equate white with 'good, permitted, safe' and black with 'bad, dangerous, forbidden'. There are some obvious problems with this. So in the name of helping to stamp out racism in cyber security, we will
> avoid this casually pejorative wording on our website in the future. No, it's not the biggest issue in the world - but to borrow a slogan from elsewhere: every little helps.

– https://www.ncsc.gov.uk/blog-post/terminology-its-not-black-and-white
2020-06-16 18:07:47 +01:00
karlchillmaid
5952d9c26d Merge pull request #3468 from alphagov/update-roadmap
Update roadmap
2020-06-16 13:03:31 +01:00
Chris Hill-Scott
088d361885 Merge pull request #3479 from alphagov/guest-list
Rename ‘whitelist’ to ‘guest list’
2020-06-16 10:13:49 +01:00
Chris Hill-Scott
45f1118539 Merge pull request #3481 from alphagov/bump-utils-39.4.5
Bump utils to 39.4.6
2020-06-16 10:12:03 +01:00
Chris Hill-Scott
f20726a042 Bump utils to 39.4.6 2020-06-16 09:58:07 +01:00
Chris Hill-Scott
c2f851e8de Bump utils to 39.4.5
Changes:
https://github.com/alphagov/notifications-utils/compare/39.4.3...39.4.5
2020-06-15 12:13:30 +01:00
Chris Hill-Scott
0f0b2dad3f Correct whitelist to non-government in test name
See c31264d4c for why ‘whitelist’ should be avoided. The use of
whitelist here was not referring to the user-maintained list, but to
mean ‘not a government’ email address. This commit renames these tests
to make that difference clear.
2020-06-12 10:28:08 +01:00
Chris Hill-Scott
8bc5fa5bb0 Rename URL to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
2020-06-12 10:27:55 +01:00
Chris Hill-Scott
e721c73119 Rename Jinja template to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
2020-06-12 10:27:30 +01:00
Chris Hill-Scott
16cc640822 Rename API client methods to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
2020-06-12 10:27:18 +01:00
Chris Hill-Scott
23f9728108 Rename endpoint to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
2020-06-12 10:26:59 +01:00
Chris Hill-Scott
bf6bd8ad0f Rename form objects to remove the term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
2020-06-12 10:25:44 +01:00
Chris Hill-Scott
c31264d4c9 Rename ‘whitelist’ to ‘guest list’ in UI
This commit changes all the places where a user would see the term
‘whitelist’ in the content of page to say guestlist instead.

We’re removing the term ‘whitelist’ for two reasons. The first reason
is that we agree with the National Cyber Security Centre say:

> It's fairly common to say whitelisting and blacklisting to describe
> desirable and undesirable things in cyber security. For instance, when
> talking about which applications you will allow or deny on your
> corporate network; or deciding which bad passwords you want your users
> not to be able to use.

> However, there's an issue with the terminology. It only makes sense if
> you equate white with 'good, permitted, safe' and black with 'bad,
> dangerous, forbidden'. There are some obvious problems with this. So
> in the name of helping to stamp out racism in cyber security, we will
> avoid this casually pejorative wording on our website in the future.
> No, it's not the biggest issue in the world - but to borrow a slogan
> from elsewhere: every little helps.

– https://www.ncsc.gov.uk/blog-post/terminology-its-not-black-and-white

The second reason is that we’ve observed some users think that they have
to put recipients in the whitelist even when they’re already with in the
team. We think that the term ‘whitelist’ might be reinforcing this
mental model because of how ‘whitelists’ might work in other
applications.

We considered the following alternatives or concepts:
- Development
- Recipients
- Sandbox
- Extended team
- Smoke test recipients
- Allowed
- Nominated
- Bonus
- Additional
- Safe
- Team list
- Trusted contacts
- Designated people
- Guest list
- Team key list

We also considered not giving it a name, and explaining it as a nuance
of how the team key works. After mocking this up it felt more disjoined.
We think it’s still useful for the thing to have a name so that it’s
easy to refer to between the docs and the UI.

We like the term ‘guest list’ because:
- of how it sits with team members – members and guests in the abstract
- a guest list is a concept that a lot of people will be familiar with
  – a list of people who can access a thing
- ‘guest’ is very different to ‘recipient’ – we want to mitigate any
  confusion between this and the (emergency) contact lists
2020-06-12 09:56:31 +01:00
karlchillmaid
14cb386279 Merge pull request #3471 from alphagov/update-permanent-failure-error-message-content
Update permanent failure error message content
2020-06-10 17:02:27 +01:00
Rebecca Law
1f3d74195f Updated the message so the TextField didn't escape the HTML 2020-06-10 16:01:01 +01:00
karlchillmaid
b464d5b898 Add contact us information 2020-06-10 13:59:59 +01:00
Chris Hill-Scott
4c5a8a5764 Merge pull request #3473 from alphagov/bump-utils-39.4.3
Bump utils to 39.4.3
2020-06-09 16:02:55 +01:00
Chris Hill-Scott
360d271b32 Use a sticky footer on the set inbound number page
Just saves us having to scroll past all the numbers to hit ‘Save’.
2020-06-09 13:58:07 +01:00
Chris Hill-Scott
b7429fe8a9 Bump utils to 39.4.3
Brings in a bug fix for when a personalisation value is an empty list.
2020-06-09 10:37:16 +01:00
Chris Hill-Scott
98d7794d7e Merge pull request #3470 from alphagov/enforce-service-permissions
Enforce correct naming of service permissions
2020-06-08 10:40:09 +01:00
karlchillmaid
0df3d2d323 Update error message content 2020-06-05 17:37:16 +01:00
karlchillmaid
1bf6eb06a5 Update error message content 2020-06-05 17:36:04 +01:00
karlchillmaid
221a32441b Update permanent failure error name 2020-06-05 17:34:54 +01:00
karlchillmaid
b2983bd566 Update permanent failure error message description 2020-06-05 17:33:31 +01:00
karlchillmaid
1cefc064fe Update roadmap.html 2020-06-04 16:57:52 +01:00
karlchillmaid
b0ba905dfb Update content 2020-06-04 16:56:06 +01:00
Chris Hill-Scott
e089de74ee Refactor to not need custom constructor
All the constructor of the service model is doing is setting a default
value of a property, this is more idiomatically expressed with a custom
property, and means we can get rid of the custom constructor entirely.
2020-06-03 15:34:55 +01:00
Chris Hill-Scott
a95d9b5152 Enforce service permissions
This should catch typos more quickly and obviously.
2020-06-03 15:34:55 +01:00
karlchillmaid
f27c106de7 Update content 2020-06-03 12:18:05 +01:00
karlchillmaid
958b54f955 Update content to match latest roadmap
Bullets with an * still need content design
2020-06-02 17:58:35 +01:00
Chris Hill-Scott
d846a73438 Merge pull request #3469 from alphagov/fix-reversed-out-paragraph-text-colour
Fix paragraphs with reversed-out text
2020-06-02 11:33:39 +01:00
Chris Hill-Scott
7578bbcf0b Fix paragraphs with reversed-out text
Since these two paragraphs sit on a blue background, they should have
white text. But this was getting overridden when the `govuk-body` class
was added in a previous commit, and the paragraphs appeared with black
text.

Previously these paragraphs were inheriting their colour from a parent
element. But a class applied directly to the element is more specific.
So this commit fixes the problem by being more specific again, by
applying the colour to the element, in the context of it’s parent’s
class.
2020-06-02 11:10:09 +01:00
Chris Hill-Scott
0d9fae0031 Merge pull request #3467 from alphagov/no-bare-elements
Don’t allow paragraphs without class attribute
2020-06-02 10:30:46 +01:00
Chris Hill-Scott
f05d193809 Explain why this test ignores class attribute 2020-06-02 10:20:07 +01:00