Commit Graph

4938 Commits

Author SHA1 Message Date
Chris Hill-Scott
0ff2daab20 Add valid and invalid examples to SMS sender tests
I personally think it’s more robust to have a test also cover the
counter-fact.

And it’s easy to understand what’s going on if you can see the valid and
invalid examples side by side.
2018-01-31 11:11:35 +00:00
Chris Hill-Scott
b11653fe08 Refactor to use validator class
Using a separate validator class to check for appropriate characters in
a text message sender means that we’re not doing this validation in a
different way from the other checks (length and required). So the code
is cleaner.
2018-01-31 11:11:32 +00:00
Chris Hill-Scott
532458cf3c Merge pull request #1827 from alphagov/highways
Adding Highways England to the list of domains that can register
2018-01-30 11:33:57 +00:00
Pete Herlihy
57b711ebdc Adding Highways England to allowed domains tests 2018-01-30 11:22:17 +00:00
Pete Herlihy
892aac44b2 Adding Highways England to the whitelist of domains 2018-01-30 11:20:52 +00:00
Chris Hill-Scott
29c31c45f2 Merge pull request #1815 from alphagov/add-letters-to-product-page
Update product page to talk about letters
2018-01-30 11:09:06 +00:00
Chris Hill-Scott
7cf3bf3dcb Merge pull request #1826 from alphagov/permissions-tweaks
Change display of cancelled users, fix edit link
2018-01-29 15:32:00 +00:00
Chris Hill-Scott
2221a8ca48 Change display of cancelled users, fix edit link
It’s confusing showing green ticks for cancelled invites. This commit
changes the appearance so that only pending or active users (ie those
that could actually do some damage) get green ticks.

Also fixes missing edit links caused by instances of `User` having
`.state` but instances of `InvitedUser` having `.status`.

Right now these are two separate lists. Which makes it harder to add
improvements that will make large numbers of users easier to manage.
2018-01-29 15:23:54 +00:00
Chris Hill-Scott
6fcb2dfde7 Merge pull request #1823 from alphagov/combine-team-members
Make team members list easier to manage
2018-01-29 13:25:41 +00:00
Chris Hill-Scott
eaaca9dd96 Add search bar to team member list
Another thing we did for templates, when they started to get
unmanageable, was add a find-as-you type search. We’ve observed real
users interacting with this to great effect, so I think it makes sense
for users too.

Like for templates, it only shows up when there are more than 7, so that
it’s not clutter for teams who don’t have a lot of members.
2018-01-27 09:42:28 +00:00
Chris Hill-Scott
959490ea85 Sort users by email address
Some teams have a lot of users now (I think the record is 172). So we
should make it easier for teams to manage large numbers of users.

This is the same change we made for templates (from most recent to
alphabetical) when the number of templates was getting unmanageable.

Sorted on email address because invited users don’t have a name (and
not sorted on both, because a lot of departments have a
`lastname.firstname` scheme for email addresses, but people generally
enter their names as `Firstname Lastname`).
2018-01-27 09:38:49 +00:00
Chris Hill-Scott
c20884003f Rename pending to invited
Pending is a bit of a technical word. Pending what? Invited is clear
enough, and doesn’t introduce a new concept.
2018-01-27 09:36:32 +00:00
Chris Hill-Scott
79ddf657bf Combine invited and active team members
Right now these are two separate lists. Which makes it harder to add
improvements that will make large numbers of users easier to manage.
2018-01-27 09:35:13 +00:00
Sakis
73a685eb0a Merge pull request #1822 from alphagov/remove-staging-syslog-drain
Remove syslog drain from staging
2018-01-26 16:56:24 +00:00
Athanasios Voutsadakis
d2eda58404 Remove syslog drain from staging 2018-01-26 16:44:54 +00:00
Chris Hill-Scott
363c27f409 Merge pull request #1818 from thomchambers/patch-1
Fixed a typo
2018-01-26 16:24:36 +00:00
Chris Hill-Scott
61ca391575 Merge pull request #1766 from alphagov/fix-table-show-more-spacing
Fix spacing of table footers
2018-01-26 16:13:45 +00:00
Chris Hill-Scott
342e6d7319 Merge pull request #1821 from alphagov/heading-wrap
Allow page headings to word-wrap
2018-01-26 16:13:00 +00:00
Chris Hill-Scott
0116e7aa59 Merge pull request #1798 from alphagov/npm-update
Update NPM packages to the latest version
2018-01-26 16:10:13 +00:00
Chris Hill-Scott
a4e6ef89a7 And fix spacing for inbound… 2018-01-26 16:08:48 +00:00
Chris Hill-Scott
9ac2c49d4e Fix spacing of ‘only showing […] rows’ message
It was too far apart.

Can’t be fixed by reducing the margin on the table because this would
bring the table too close to other elements when the ‘only showing’
thing isn’t present.
2018-01-26 15:52:07 +00:00
Chris Hill-Scott
f332c9af7c Fix spacing between spreadsheet and download link
It was too far apart.
2018-01-26 15:51:23 +00:00
Chris Hill-Scott
25ad3037aa Allow page headings to word-wrap
This is mostly for template names, which can be very long, unbroken
strings, especially if developers have been naming them.
2018-01-26 14:47:56 +00:00
thomchambers
76dcd2e6e2 Fixed a typo
Fixed a typo because it was a typo
2018-01-25 16:20:07 +00:00
Chris Hill-Scott
893d9deb7c Update product page to talk about letters
Letters is now a mature enough feature that we should:
- be raising awareness amongst our users that it’s a thing we offer
- not have letters be a surprise to anyone creating a Notify account for
  the first time

Shouldn’t be merged until:
- [ ] https://github.com/alphagov/notifications-api/pull/1600
2018-01-24 16:34:05 +00:00
Chris Hill-Scott
7ab6e8acda Merge pull request #1816 from alphagov/add-form-letter-setting
Add missing <form> on letters setting page
2018-01-24 15:01:20 +00:00
Chris Hill-Scott
9c02cf7f32 Add missing <form> on letters setting page
Pressing the big green button does nothing unless there’s a form on the
page.
2018-01-24 14:19:37 +00:00
Chris Hill-Scott
f27fae99f4 Merge pull request #1810 from alphagov/135-140
135-140 ande 58-59
2018-01-24 14:10:26 +00:00
Pete Herlihy
7b4610e8f0 And so did FCO Consular Services
So 142 and 61 now....
2018-01-24 13:57:23 +00:00
Pete Herlihy
36b9c3b967 Cafcass got in before we merged :)
60 orgs now and 141 services.
2018-01-24 13:57:22 +00:00
Pete Herlihy
8cc25e8cd7 135-140 ande 58-59
* ESFA IDAMS – Department for Education
* SRFT Care Call – Salford Royal NHS Foundation Trust
* Data Statistics – Ministry of Housing, Communities & Local Government
* Home Office Atlas – Home Office
* Bracknell Forest Council - Waste & Recycling – Bracknell Forest Council
2018-01-24 13:57:22 +00:00
Chris Hill-Scott
8cdba20d74 Merge pull request #1814 from alphagov/rtgl-content-style
Content style fixes on request to go live page
2018-01-24 13:57:05 +00:00
Chris Hill-Scott
4391dff43b Content style fixes on request to go live page
It’s ‘per month’ – ‘a month’ is a colloquialism.

Large numbers should be chunked using commas; ‘20,000’ already is, this commit makes ‘1000’ consistent.
2018-01-24 13:24:03 +00:00
Chris Hill-Scott
2d4d3d3d31 Merge pull request #1813 from alphagov/cookie-page-updates
Cookie page updates
2018-01-24 13:23:33 +00:00
Pete Herlihy
58059ba507 Merge branch 'master' into cookie-page-updates 2018-01-24 12:30:02 +00:00
Chris Hill-Scott
2520517cb2 Merge pull request #1803 from alphagov/self-serve-letters
Allows services to choose if they can send letters
2018-01-24 12:21:20 +00:00
Chris Hill-Scott
86e21f2b4b Remove platform admin letter/international buttons
Users can choose whether to have these features on or off now. And
a platform admin can still use the same controls to switch the features
on or off on behalf of a user. There’s no need for the separate buttons.
2018-01-24 11:49:39 +00:00
Chris Hill-Scott
555392b5da Allows services to choose if they can send letters
Our support ticket analysis shows that the most common action request
after going live is turning on letters.

We just do this for any team that requests it – there’s no gatekeeping.
So we should just allow people to make the change themselves.

This will be a better experience for our users, and less work for us.
The design of the page replicates roughly what we have for international
text messaging.
2018-01-24 11:49:39 +00:00
Chris Hill-Scott
5ac0d2a23f Merge pull request #1811 from alphagov/roadmap23Jan18
Updated roadmap 23 Jan 2018
2018-01-24 11:45:12 +00:00
Chris Hill-Scott
a44aee05cb Update date ranges to GOV.UK style 2018-01-24 11:33:26 +00:00
Pete Herlihy
707ee8e748 Reword the health warning in the roadmap. 2018-01-24 10:57:02 +00:00
Pete Herlihy
30cf635bee [WIP] Updated roadmap 23 Jan 2018 2018-01-24 10:57:01 +00:00
Chris Hill-Scott
ee039fff9b Merge pull request #1812 from alphagov/blog
Adding a link to the Notify blog
2018-01-24 10:55:16 +00:00
Pete Herlihy
e547732c78 Adding a link to the Notify blog 2018-01-24 10:43:48 +00:00
Chris Hill-Scott
efcc684f9d Add missing full stop 2018-01-24 10:39:31 +00:00
Chris Hill-Scott
eb95bcbdb1 ‘Onto’ not ‘on to’ 2018-01-24 10:38:01 +00:00
Chris Hill-Scott
e48fe539b9 Update cookie information link…
…to a more reputable-looking site.
2018-01-24 10:36:53 +00:00
Chris Hill-Scott
29ee391fcc Merge pull request #1807 from alphagov/better-inbound-guidance
Add information about pricing to inbound SMS page
2018-01-24 10:30:27 +00:00
Chris Hill-Scott
05c93822e0 Add information about pricing to inbound SMS page
One of the things that came out of the support analysis was that people
were asking how much inbound SMS costs. There wasn’t a significant
volume of these requests, but the fix seems low-effort and
non-disruptive enough that we should do it.

Content by Thom.
2018-01-22 14:05:45 +00:00
Chris Hill-Scott
f2934b904a Merge pull request #1806 from alphagov/stricter-phone
Be stricter about length of phone numbers
2018-01-22 13:53:33 +00:00