Commit Graph

7170 Commits

Author SHA1 Message Date
venusbb
6a483c14f5 change get-jobs to point to new statistics tables 2017-08-15 15:53:26 +01:00
Rebecca Law
27a9180d2a Merge branch 'master' into inbound_number_admin 2017-08-15 15:08:58 +01:00
Rebecca Law
c6a8ef43ec When setting the permisssion to allow inbound numbers the client will call an api endpoint that will set the next avaiable inbound number for the service.
As before the service manager will not be able to change the Text message sender once they have the inbound sms permission.
If the inbound sms permission is turned off the Text message sender setting is once more configurable by the service manager.
The inbound number remains bound to the service, but has "inactive", so that the number can not be used again.
2017-08-15 15:02:20 +01:00
Rebecca Law
0387b72c00 Get the inbound sms working.
Created a new test file for the inbound sms service settings changes, felt like the other file was too massive
2017-08-15 13:34:29 +01:00
venusbb
3c38d54cf7 Merge branch 'master' of https://github.com/alphagov/notifications-admin 2017-08-15 09:58:30 +01:00
chfw
56e49a7031 use iget_array to reduce memory footprint. and removed useless imports because they are loaded when required by pyexcel and lml 2017-08-14 22:18:09 +01:00
Pete Herlihy
77fed5eeb6 Reckon on the integration testing page...
Make people explicitly clear they shouldn't use a live key with invalid addresses for tests.
2017-08-14 17:07:07 +01:00
Chris Hill-Scott
e520790025 Rename letters on/off option to send letters
For consistency with ‘send text messages’/‘send emails’.
2017-08-14 16:26:35 +01:00
Chris Hill-Scott
45a0a767f4 Split settings page into multiple sections
There are quite a few more options that there used to be in the settings
page. This means it’s hard to find the thing you want to change.

Grouping options is a common way of making things easier to find.

Grouping by channel (text, email, letter) is something we do elsewhere
that seems to work pretty well.
2017-08-14 16:23:56 +01:00
Chris Hill-Scott
5b4a4ea1b1 Remove message preview from row error page
Two reasons to remove this:

1. It’s potentially confusing because you’ll see a preview of the first
   message, but the first row might not appear in the table shown on
   screen if it doesn’t have any errors.

2. If there are row-level errors in your file then they’re not related
   to the template – it’s a distraction.
2017-08-14 15:59:09 +01:00
Chris Hill-Scott
5c872e7936 Put file name in error message
‘Your data’ sounds ambiguous and computery. Using the name of the file
is better because it’s a thing you know about.
2017-08-14 15:57:51 +01:00
Chris Hill-Scott
25e7015537 Remove stuff about test jobs on row errors page
The send yourself a test flow doesn’t reference any kind of
file/rows/table in the front end any more, and doesn’t create a CSV in
the background (except for letters). And it should validate any mistakes
before getting to the check page.

So any user doing a send yourself a test flow should never get to this
template, which means we can remove some redundant code.
2017-08-14 15:56:05 +01:00
Chris Hill-Scott
849b3737be Track errors in analytics on multiple row errors
Accidentally missed out on adding the tracking code to this particular
error message.
2017-08-14 15:55:19 +01:00
venusbb
9d446bc942 Tests not completed 2017-08-14 11:56:12 +01:00
Chris Hill-Scott
fca85537aa Merge pull request #1422 from alphagov/science-technology-facilities-council
Allow Science & Technology Facilities Council
2017-08-14 10:18:28 +01:00
Chris Hill-Scott
e3d26bb2a2 Allow Science & Technology Facilities Council
> STFC is an executive non-departmental public body, sponsored by the
> Department for Business, Energy & Industrial Strategy.
> http://www.stfc.ac.uk/https://www.gov.uk/government/organisations/science-and-technology-facilities-council
2017-08-14 09:52:11 +01:00
pyup-bot
302c4384dc Update boto3 from 1.4.5 to 1.4.6 2017-08-12 02:00:26 +01:00
Chris Hill-Scott
77452b1b25 Merge pull request #1418 from alphagov/local-email-address-for-local-government
Tell local government folk that they can sign up
2017-08-11 16:20:06 +01:00
Chris Hill-Scott
95258488aa Merge pull request #1420 from alphagov/pyup-update-pytest-xdist-1.19.0-to-1.19.1
Update pytest-xdist to 1.19.1
2017-08-11 16:15:41 +01:00
Chris Hill-Scott
6ba5de753d Merge pull request #1411 from alphagov/pyup-update-pyexcel-io-0.4.3-to-0.4.4
Update pyexcel-io to 0.4.4
2017-08-11 16:15:11 +01:00
venusbb
ef1ec17789 progress of writing tests 2017-08-11 12:45:35 +01:00
venusbb
bf5b4fe4c0 package-lock.json 2017-08-11 10:34:11 +01:00
venusbb
eb881cc0e0 Merge branch 'master' of https://github.com/alphagov/notifications-admin 2017-08-11 09:48:13 +01:00
venusbb
bff5c11bab merge pull 2017-08-11 09:43:56 +01:00
venusbb
87e987b148 merge master 2017-08-11 09:36:05 +01:00
venusbb
6ffd8b9b2e test written before merge Kens change 2017-08-11 09:17:01 +01:00
venusbb
981aa1aaea some test codes 2017-08-10 17:08:01 +01:00
pyup-bot
dc63fcf034 Update pytest-xdist from 1.19.0 to 1.19.1 2017-08-10 17:03:25 +01:00
Chris Hill-Scott
1d513fff4d Merge pull request #1417 from alphagov/pyup-update-pytest-3.2.0-to-3.2.1
Update pytest to 3.2.1
2017-08-10 15:04:45 +01:00
Chris Hill-Scott
a10e76a9c2 Stop referring to central gov in error messages 2017-08-10 13:51:46 +01:00
Chris Hill-Scott
ab5d203d60 Merge pull request #1419 from alphagov/british-library-domain
Add British Library to email domain whitelist
2017-08-10 13:18:14 +01:00
Katie Smith
d938ed9d03 Merge pull request #1416 from alphagov/check-service-is-unique
Check service name is unique - efficiently
2017-08-10 13:11:43 +01:00
Chris Hill-Scott
01d92fdbb3 Add British Library to email domain whitelist
I think that British Library can use Notify. Need to double check
though.

> BL is an executive non-departmental public body, sponsored by the
> Department for Digital, Culture, Media & Sport.
> https://www.bl.uk/https://www.gov.uk/government/organisations/british-library
2017-08-10 12:47:56 +01:00
Chris Hill-Scott
9e3d60ee58 Tell local government folk that they can sign up
Notify is now available to local government:
https://gds.blog.gov.uk/2017/08/10/local-government-services-to-start-using-gov-uk-notify/

So registration isn’t only for users with central government email 
addresses now.
2017-08-10 12:22:53 +01:00
venusbb
30289f46b9 investigate test fail 2017-08-10 11:59:46 +01:00
venusbb
050c68142b merged codes 2017-08-10 10:29:31 +01:00
pyup-bot
3f6996334f Update pytest from 3.2.0 to 3.2.1 2017-08-09 22:09:24 +01:00
Leo Hemsted
bf1f68fd55 make sure log path is set 2017-08-09 16:53:56 +01:00
Rebecca Law
9b9c6d75dc - Change update service name to check that the name/email_from is unique across all services.
- This is done using a new endpoint in the api.
- Removed the AddServiceForm in favor or using the ServiceNameForm
- Removed ServiceApiClient.find_all_service_email_from
2017-08-09 16:52:10 +01:00
Chris Hill-Scott
955eb5648f Merge pull request #1415 from alphagov/pyup-update-pytest-xdist-1.18.2-to-1.19.0
Update pytest-xdist to 1.19.0
2017-08-09 16:50:06 +01:00
pyup-bot
6f1fd0f2cc Update pytest-xdist from 1.18.2 to 1.19.0 2017-08-09 16:48:23 +01:00
Leo Hemsted
56746e6f0f don't capture logs directly from stdout
previously in run_app_paas.sh, we captured stdout from the app and
piped that into the log file. However, this came up with a bunch of
problems, mainly that exceptions with stack traces often weren't
formatted properly, and kibana could not parse them

instead, with the updated utils library, we can use that to log json
straight to the appropriate directory directly.
2017-08-09 15:41:33 +01:00
Chris Hill-Scott
14be8dc463 Merge pull request #1413 from alphagov/logo-bucket-name
Fix logo bucket name
2017-08-09 15:29:07 +01:00
Chris Hill-Scott
2eab6bf781 Fix logo bucket name
The app was uploading into ...live but then looking for the logos in ...production.

The existing logos are in ...production
2017-08-09 15:13:36 +01:00
Chris Hill-Scott
5eb2cf859c Merge pull request #1403 from alphagov/ken-admin-orgs
Add pages to create and manage organisation branding for Emails
2017-08-09 13:15:27 +01:00
Chris Hill-Scott
fb1a050e20 Merge pull request #1406 from alphagov/focus-states-navigation
Improve focus states on navigational elements
2017-08-09 13:15:19 +01:00
Chris Hill-Scott
66df44dd31 Merge pull request #1412 from alphagov/move-performance
Moving performance link to the support column in the footer
2017-08-09 13:15:13 +01:00
Pete Herlihy
d881104475 Moving performance link to the support column in the footer
Feels more appropriate here - these are all the live things the about is all the static things.
2017-08-09 10:57:49 +01:00
pyup-bot
ebe8b2b51c Update pyexcel-io from 0.4.3 to 0.4.4 2017-08-08 19:45:24 +01:00
Rebecca Law
fca663c183 Merge pull request #1410 from alphagov/test-deploy
Testing deploy - changing order of requirements
2017-08-08 16:32:29 +01:00