Rebecca Law
0f6fcb8d0b
formatting
2017-08-21 14:04:40 +01:00
Rebecca Law
8cf29a7d04
Merge branch 'master' into inbound_number_admin
2017-08-21 13:50:49 +01:00
Rebecca Law
6b04373bcf
Remove unused template.
...
Revert formatting changes
2017-08-21 13:47:24 +01:00
Imdad Ahad
232912ab3b
Call the correct endpoint to retrieve yearly billing usage
2017-08-17 16:02:30 +01:00
Imdad Ahad
fa99af6598
Merge pull request #1432 from alphagov/imdad-feat-make-usage-use-new-endpoints
...
Update the usage page to use new billing endpoints
2017-08-17 15:37:26 +01:00
Imdad Ahad
32242c4501
Update the usage page to use new billing endpoints
...
* Create new billing_api_client for separation and remove
older methods in the service_api_client
2017-08-16 16:31:47 +01:00
Venus Bailey
cbe2df3946
Revert "Job stats table"
2017-08-16 15:25:26 +01:00
Rebecca Law
9d8462e430
Fix codestyle.
...
Revert commit for package-lock.json
2017-08-16 10:00:53 +01:00
Rebecca Law
8aab08d4d2
View to show all inbound sms numbers for the platform admin user.
2017-08-15 17:04:57 +01:00
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
9d446bc942
Tests not completed
2017-08-14 11:56:12 +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
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
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
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
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
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
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
Rebecca Law
7e8c76bbc5
Let the API error when the service name is a duplicate.
...
- Remove the name_func from the AddServiceForm
- Catch the HTTPError and set the error on the form
2017-08-08 11:15:22 +01:00
Rebecca Law
186202cc9d
[WIP]
...
Let the API return a 400 error message if the service name is a duplicate.
2017-08-07 11:30:25 +01:00
Ken Tsang
82f0ef58bf
Refactor code after rebase
2017-08-02 11:20:33 +01:00
Ken Tsang
b1d1c6881f
Refactor code
2017-08-02 11:07:27 +01:00
Ken Tsang
6c18c9d6ac
Update config to new s3 bucket names
2017-08-02 11:05:17 +01:00
Ken Tsang
81d8494755
Add tests for s3_client
2017-08-02 11:04:14 +01:00
Ken Tsang
93eab4ca5f
Refactored to use kwarg
2017-08-02 11:04:14 +01:00
Ken Tsang
615d80cd41
Add test for update org
2017-08-02 11:04:14 +01:00
Ken Tsang
681cf3b852
Fixed pep8 issues in test_org
2017-08-02 11:04:14 +01:00
Ken Tsang
005c8b53d7
Add org select and manage pages
2017-08-02 11:04:14 +01:00
Ken Tsang
6e1bcb8405
Update emails to use logos cdn
2017-08-02 11:03:02 +01:00
Imdad Ahad
5a81064f07
Update message for last used template on delete:
...
* API now returns an empty response if a template was last used more than seven
* days ago
* Handle the empty response appropriately
2017-08-01 13:51:27 +01:00
Chris Hill-Scott
1e1dd49312
Fix big numbers on new platform admin page
...
Turns out the counts were all showing as zero because the generator had
already been consumed by the time we were trying to do the stats. Making
it a list comprehension means it can’t get exhausted.
2017-07-31 11:29:04 +01:00
Chris Hill-Scott
41ee0ba9c8
Merge pull request #1382 from alphagov/break-up-platform-admin
...
Break up platform admin
2017-07-31 09:37:20 +01:00
Chris Hill-Scott
432db3180b
Merge pull request #1379 from alphagov/consistent-banners
...
Make banners more consistent
2017-07-31 09:37:13 +01:00
kentsanggds
08ee08760a
Merge pull request #1392 from alphagov/ken-update-org-logos-use-s3
...
Update org logos to use logo CDN
2017-07-28 15:27:10 +01:00
Ken Tsang
796fe0472f
Renamed test
2017-07-28 15:19:20 +01:00
Chris Hill-Scott
5c9572805e
Fix error messages on one off sending
...
This was causing a 500 in production.
This commit:
- reverts the code the working state it was before 68a1426e58
- figures out a way to make the tests pass without breaking the actual
app
- confirms that mocking things is hard
2017-07-27 16:34:15 +01:00
Ken Tsang
123247a178
Refactor test
2017-07-27 16:30:26 +01:00
Ken Tsang
35f66cae23
Update emails to use logos cdn
2017-07-27 16:10:59 +01:00
Chris Hill-Scott
17a7f5f2c6
Remove last used message if key’s never been used
...
I don’t think it adds anything to tell you that a key’s never been used.
The value of the ‘key was used 3 minutes ago’ message is in stopping you
accidentally revoking something you shouldn’t have.
2017-07-27 11:52:55 +01:00
Chris Hill-Scott
befe93ec0b
Make sure confirmation/danger banners have a H1
...
This makes errors on all pages have a `<h1>` element, which is important
for accessibility. It means a bit of rewriting the messages, but I think
they’re better for it.
2017-07-27 11:52:54 +01:00
Chris Hill-Scott
40e79c6827
Use confirmation banner for revoking API keys
...
Currently revoking an API key takes you to a separate page. It should
work the same way as other destructive actions, ie staying on the same
page but with a banner asking you to confirm the action.
2017-07-27 11:52:54 +01:00
Chris Hill-Scott
ae1a0b4804
Merge pull request #1387 from alphagov/fix-breaking-change-python-client
...
Fix things that broke when I merged Pyup’s changes
2017-07-26 11:42:01 +01:00
Chris Hill-Scott
5fdbbda022
For some reason we’re generating XHTML <br>s now
...
¯\_(ツ)_/¯
2017-07-26 11:15:55 +01:00