Commit Graph

2816 Commits

Author SHA1 Message Date
Chris Hill-Scott
2cbd9b8049 Merge pull request #1490 from alphagov/prevent-duplicate-form-submissions
Prevent doubling clicking form submissions
2017-09-19 09:21:47 +01:00
Chris Hill-Scott
6d22b27df2 Merge pull request #1486 from alphagov/fix-wrapping-email-reply-to
Fix overlapping text on settings page
2017-09-18 10:39:14 +01:00
Chris Hill-Scott
170f3a1da0 Merge pull request #1485 from alphagov/rename-template-permission-label
Rename manage templates permission
2017-09-18 10:39:06 +01:00
Chris Hill-Scott
4ac90c066a Prevent doubling clicking form submissions
Have seen users complaining that they got an invitation email twice.
This is probably because they clicked the button twice even though they
think they only clicked it once.

Double form submission is a common issue on web pages, and there are a
number of different ways to prevent it. I’ve chosen to do it this way
because:
- temporarily, not permanently disabling the button means that this
  addresses the double clicking issue without breaking things if the
  user did, really want to click the button again deliberately (for
  whatever reason)
- doing it with a `data` attribute, rather than the `disabled` attribute
  means that the interaction behaviour of the button doesn’t change (
  `disabled` buttons can’t be focused, for example)
2017-09-15 14:29:56 +01:00
Chris Hill-Scott
d7370c1816 Rename manage templates permission
‘Add and edit’ is the language we use next to the checkbox.

Also helps disambiguate it from the ‘manage service’ permission.
2017-09-15 11:36:00 +01:00
Chris Hill-Scott
2a84d14a73 Fix overlapping text on settings page
Think this broke when we split the setting page up into three sections.
This forces the text to wrap onto multiple lines even if it doesn’t
contain spaces (for example an email address).
2017-09-14 13:10:56 +01:00
Chris Hill-Scott
c26d308a32 Show row errors before trial mode errors
It’s useful to be able to play with the CSV upload thing and find out
how it works before you’re interrupted by the error telling you that
you’ve got as far as you can in trial mode.
2017-09-14 12:21:40 +01:00
Pete Herlihy
2d9ad0f90a Merge pull request #1476 from alphagov/wmfs.net
Adding wmmfs.net to allowed domains
2017-09-08 10:17:08 +01:00
Pete Herlihy
00b5e0c993 Adding West Midlands Fire Service 2017-09-07 16:44:56 +01:00
chrisw
dc2f88f28c Fixed typo on delivery & failure page
Under 'Phone number or email address does not exist' section - there was a typo, ammended to say 'existent' rather than 'existant'
2017-09-06 16:31:58 +01:00
Rebecca Law
74e7590fbc If a service does not have an inbound number and they click change on Receive text messages, they should see a message saying contact the Notify team to enable this feature.
That will now happen again.
2017-09-05 16:18:29 +01:00
Pete Herlihy
a3791f52f3 Merge pull request #1468 from alphagov/data-flow-picture
Data flow picture
2017-09-05 14:09:57 +01:00
Pete Herlihy
75ddfbf559 Merge pull request #1469 from alphagov/75-76
75-76 For ONS Surveys
2017-09-05 14:09:37 +01:00
Pete Herlihy
49f29a232a And now 77 for 37 with Care Quality Commission 2017-09-05 13:28:02 +01:00
Chris Waszczuk
ad4d4f18af Fixed typo 2017-09-05 10:57:28 +01:00
Pete Herlihy
24e2f732da 75-76 For ONS Surveys 2017-08-31 16:57:19 +01:00
Pete Herlihy
b09564b337 Adding new message sending flow diagram 2017-08-31 13:57:25 +01:00
Pete Herlihy
83d491bc1e Delete the old sending flow image... 2017-08-31 13:56:38 +01:00
Chris Hill-Scott
bd035799ee Merge pull request #1453 from alphagov/password-changed-delta
Talk about time of last password change relatively
2017-08-31 11:42:24 +01:00
Chris Hill-Scott
de94581e8f Merge pull request #1452 from alphagov/features-to-register
Link to create account page from features page
2017-08-31 11:42:00 +01:00
Pete Herlihy
347023d1da Adding the image of sending flow for using notify page 2017-08-31 11:10:40 +01:00
Pete Herlihy
7a7e71ce5d Adding Using Notify to the footer links 2017-08-31 11:10:39 +01:00
Pete Herlihy
f7ff745872 New Using Notify static page
Adds the new Using Notify view

Adds route to Using Notify page.

Add redirects for old pages

Removes the delivery and failure page as it's now in the Using Notify one

Removes the trial mode page due to Using Notify page
2017-08-31 11:10:02 +01:00
Chris Hill-Scott
0c73a4cb9f Fix green border on tour banner 2017-08-30 16:36:48 +01:00
Chris Hill-Scott
cf9b9863a6 Merge pull request #1454 from alphagov/let-notify-users-have-international-phone-numbers
Let users register with int’national phone numbers
2017-08-30 15:54:47 +01:00
Pete Herlihy
0643349dc9 74-75 for Get your State Pension (DWP) 2017-08-30 13:51:20 +01:00
Chris Hill-Scott
188ce5e5a7 Let users register with int’national phone numbers
Right now Notify restricts you to registering with a UK mobile number.
This is because when we built the user registration stuff we couldn’t
send to international mobiles.

However we can send to international mobile numbers, and it’s totally
reasonable to expect employees of the UK government to be working
abroad, and have a foreign mobile phone – we’ve heard from one such
user.

So this commit:
- changes all places where users enter their own phone number to use
  the validation function which allows international phone numbers
- renames the `mobile_number` validation to `uk_mobile_number` to make
  it explicit, and force it to break the tests if there’s somewhere it’s
  being used that I haven’t thought of
2017-08-29 14:52:24 +01:00
Chris Hill-Scott
c4edb3a8d8 Talk about time of last password change relatively
People don’t talk about having last changed their password ‘on 15 July’;
they talk about having changed it ‘two weeks ago’.

Interfaces are usually clearer when they employ the same language as the
people using them.
2017-08-29 11:21:25 +01:00
Chris Hill-Scott
15aa17250a Link to create account page from features page
Doesn’t make sense to make people click through the product
page in order to get to the create account page.

Thanks Paola.
2017-08-29 09:58:18 +01:00
Chris Hill-Scott
aa50864d1b Merge pull request #1449 from alphagov/fix-trial-mode-error-print-test-letter
Don’t show trial mode error if making test letter
2017-08-25 14:50:11 +01:00
Chris Hill-Scott
edf54d8fe0 Don’t show trial mode error if making test letter
We don’t want users in trial mode sending real letters. So we’ve
introduced an error message. This error message is also showing up when
users in trial mode and making a test letter (and having the knock on
effect of hiding the download button).

They should be able to make a test letter in trial mode, because it
doesn’t cost anything.
2017-08-25 14:20:15 +01:00
Rebecca Law
62ccd822ff Merge pull request #1444 from alphagov/remove-unused-endpoint
Removed service_api_client.get_monthly_notification_stats
2017-08-24 16:34:57 +01:00
Chris Hill-Scott
ea95493b42 Merge pull request #1445 from alphagov/inbound-sms-number-shown-bug
Put the inbound number on the invite page
2017-08-24 14:03:50 +01:00
Chris Hill-Scott
d958b5f00f Merge pull request #1446 from alphagov/no-n-dvla
Don’t add newlines to DVLA markup view of template
2017-08-24 13:58:49 +01:00
Chris Hill-Scott
da70310f8e Merge pull request #1407 from alphagov/no-letters-trial-mode
Don’t let users in trial mode send letters
2017-08-24 13:58:43 +01:00
Chris Hill-Scott
7e097e887e Make sure empty inbox also show the correct number
…since it’s divorced from the SMS sender now.
2017-08-24 13:57:12 +01:00
Chris Hill-Scott
9c080466a7 Don’t add newlines to DVLA markup view of template
It’s more confusing than helpful.
2017-08-24 11:44:43 +01:00
Chris Hill-Scott
453ee44dfb Put the inbound number on the invite page
Inbound number and SMS sender are divorced from each other now. This
page was assuming that they were the same thing.
2017-08-24 10:02:02 +01:00
Rebecca Law
16f3aafa10 Removed service_api_client.get_monthly_notification_stats because it is not being used anymore. 2017-08-23 17:07:42 +01:00
Pete Herlihy
f54d84d383 Merge pull request #1442 from alphagov/73-74
73-74 for GDS Academy Booking
2017-08-23 14:27:44 +01:00
Pete Herlihy
5290081ff8 Updated September features 2017-08-23 11:27:29 +01:00
Pete Herlihy
b0f56756b0 Updated roadmap for August onwards 2017-08-23 11:17:58 +01:00
Pete Herlihy
24e9b72d31 73-74 for GDS Academy Booking 2017-08-23 11:14:23 +01:00
Leo Hemsted
f97f249bc0 Merge pull request #1414 from alphagov/logs-cleanup
don't capture logs directly from stdout
2017-08-22 14:44:59 +01:00
Leo Hemsted
f68cdb20b5 Merge pull request #1439 from alphagov/dvla-endpoint
Add platform–admin-only page to preview DVLA code
2017-08-22 14:44:48 +01:00
Chris Hill-Scott
1e745bb736 Merge pull request #1424 from alphagov/row-error-cleanup
Tidy up some things around row-level errors in CSV files
2017-08-22 12:31:05 +01:00
Chris Hill-Scott
dd5d6e4d59 Merge pull request #1435 from alphagov/manage-templates-permission
Separate ‘manage service’ and ‘manage templates’ permissions
2017-08-22 12:30:57 +01:00
Chris Hill-Scott
eee9c2bb99 Merge pull request #1425 from alphagov/split-settings
Split settings page into multiple sections
2017-08-22 12:22:50 +01:00
Chris Hill-Scott
7f9c1a4df9 Merge pull request #1426 from pyexcel/master
use iget_array to reduce memory footprint. and removed useless import…
2017-08-22 12:22:42 +01:00
Chris Hill-Scott
5ffd7c4448 Add platform–admin-only page to preview DVLA code
Debugging the DVLA markup stuff is quite slow, because it’s split
between the API and utils, and things that work in tests don’t always
work with real template content.

This commit adds us a private endpoint that will let us see what DVLA
markup will be generated for any template, enabling a quicker feedback
loop.
2017-08-22 12:03:05 +01:00