Commit Graph

5546 Commits

Author SHA1 Message Date
Pete Herlihy
5b381e6fa9 Merge pull request #2096 from alphagov/privacy-tweaks
Updated the privacy statement for consistency with GDS styles
2018-05-25 15:58:07 +01:00
Pete Herlihy
c779dbee6f Updated page title to match h1 on privacy page 2018-05-25 14:54:56 +01:00
Katie Smith
348ef71c1b Merge pull request #2095 from alphagov/use-new-sanitise-text-utils-class
Bump utils and sanitise header values
2018-05-25 13:22:34 +01:00
Pete Herlihy
5e8ff41157 Updated the privacy statement for consistency with GDS styles 2018-05-25 12:03:54 +01:00
Katie Smith
58cc1604a7 Bump utils and sanitise header values
Updated notifications-utils. This brings in
- the renamed character sanitization classes
- the change to allow unicode in letter addresses (this lets us delete
a test that is no longer relevant)

Also replaced non-ascii characters in headers. This fixes a bug where
non-ascii characters in a CSV filename were causing errors since the
filename is also used in the header.
2018-05-25 10:34:47 +01:00
Pete Herlihy
3459f74110 Merge pull request #2093 from alphagov/privacy-page
Privacy page
2018-05-23 15:42:18 +01:00
Leo Hemsted
7325656456 add css classes to h2s and uls 2018-05-23 15:37:27 +01:00
Pete Herlihy
8d2739be62 Updating the page title on privacy page 2018-05-23 15:27:17 +01:00
Pete Herlihy
91856cc186 Some bonus tags and address formatting on the privacy page 2018-05-23 15:13:27 +01:00
Pete Herlihy
bb025fb0ec Added privacy page 2018-05-23 15:04:10 +01:00
Pete Herlihy
a323993690 Adding link to the privacy page in the footer 2018-05-23 14:41:19 +01:00
Pete Herlihy
aa8992c7b9 Testing that the privacy page exists 2018-05-23 14:36:36 +01:00
Pete Herlihy
53a1b05aaf Adding the privacy page to the routes 2018-05-23 14:35:26 +01:00
Pete Herlihy
0c3694382e Excluding the privacy page from the navigation stuff 2018-05-23 14:33:29 +01:00
Rebecca Law
e7432b9427 Merge pull request #2091 from alphagov/account-for-multiple-rates
Account for multiple rates for letter on the usage page
2018-05-23 11:44:54 +01:00
Rebecca Law
cd09c391e8 Letter have multliple rates, the agregate number was not taking that into account for the usage page. 2018-05-22 17:37:48 +01:00
Chris Hill-Scott
9bba6f08a4 Merge pull request #2089 from alphagov/May-road
Updating the roadmap for May 2018
2018-05-18 16:45:09 +01:00
Pete Herlihy
3c68a32697 Reworded letter formatting item 2018-05-18 16:40:42 +01:00
Chris Hill-Scott
cbfd4fe333 Merge pull request #2088 from alphagov/branding-request
Add page where users can say they want branding
2018-05-18 16:35:10 +01:00
Chris Hill-Scott
79314de817 Add page where users can say they want branding
At the moment branding is an undocumented feature. We get a bunch of
support tickets from teams asking its possible.

This commit:
- lets people know it’s possible, and what the options are
- is the first step towards making this process as self-service as
  possible

In some cases we will be able to infer a user’s organisation from there
email address, and Google image search their logo. So the experience for
them is that they press a button and government just sorts it out for
you (also known as "the dream").

In other cases we will have to get back to people asking for a copy of
their logo, or to find out about their service, but this is what we have
to do at the moment anyway.
2018-05-18 16:24:20 +01:00
Pete Herlihy
6a233153f7 Updating the roadmap for May 2018 2018-05-18 16:07:46 +01:00
Chris Hill-Scott
da49635cd0 Merge pull request #2083 from alphagov/bold-template
Make precompiled template name bold
2018-05-17 15:31:48 +01:00
Chris Hill-Scott
92afa00961 Merge pull request #2076 from alphagov/barnet.gov.uk
Add Barnet council to the list of domains
2018-05-17 15:31:33 +01:00
Leo Hemsted
71a6648b8a Merge pull request #2087 from alphagov/fix-0-rate
fix usage page sms rate calculation
2018-05-17 10:48:28 +01:00
Leo Hemsted
3097fb75ee fix usage page sms rate calculation
usage page used to make the assumption that the first row of the usage
stats would always be SMS. This now isn't always the case, so make sure
when working out the rate, it only looks at sms rows. Specifically, it
takes the rate from the first stats row. This makes a big assumption
that all the rows will have the same rate per financial year.
2018-05-17 10:40:48 +01:00
Rebecca Law
32c2fb5b31 Merge pull request #2084 from alphagov/usage-with-new-endpoints
Temporary endpoint to test the new usage page updates.
2018-05-16 15:50:07 +01:00
Rebecca Law
1dee7e2bec Merge pull request #2085 from alphagov/selenium-id
add id to big received messages box
2018-05-16 15:49:49 +01:00
Chris Hill-Scott
1008d19963 Merge pull request #2086 from alphagov/wealden.gov.uk
Record agreement signed by Wealden Council
2018-05-16 14:28:43 +01:00
Chris Hill-Scott
6ac2302476 Record agreement signed by Wealdon Council 2018-05-16 14:24:04 +01:00
Rebecca Law
c721c40ec7 Ignore temporary endpoint in navigation test 2018-05-16 13:23:49 +01:00
Leo Hemsted
8864901690 add id to big received messages box 2018-05-16 12:31:54 +01:00
Rebecca Law
d8c8b6a454 Temporary endpoint to test the new usage page updates.
This code will go away once we are happy the results match.
2018-05-16 12:26:11 +01:00
Chris Hill-Scott
2de17bd415 Make precompiled template name bold
To match template link.
2018-05-15 13:06:36 +01:00
Chris Hill-Scott
5910f127d3 Merge pull request #2082 from alphagov/stirling.gov.uk
Record agreement signed by Stirling Council
2018-05-14 15:58:19 +01:00
Chris Hill-Scott
82727cea63 Record agreement signed by Stirling Council 2018-05-14 15:43:39 +01:00
Chris Hill-Scott
d3bf1ac8a2 Merge pull request #2081 from alphagov/page-break-guidance
Add guidance on how to use page breaks in letters
2018-05-14 15:41:49 +01:00
Chris Hill-Scott
7b759963b7 Merge pull request #2073 from alphagov/back-to-only-authed
Only show ‘back to service name’ link if signed in
2018-05-14 15:36:16 +01:00
Chris Hill-Scott
fc87ec70a7 Merge pull request #2072 from alphagov/test-domains
Check that all domains in our lists are valid
2018-05-14 15:36:07 +01:00
Chris Hill-Scott
e5c1c68942 Merge pull request #2074 from alphagov/sign-in-for-agreement
Let people choose which agreement to download if signed in
2018-05-14 15:35:57 +01:00
Chris Hill-Scott
228a5f47ce Merge pull request #2079 from alphagov/pyup-update-pyexcel-xls-0.5.6-to-0.5.7
Update pyexcel-xls to 0.5.7
2018-05-14 15:35:40 +01:00
Chris Hill-Scott
fffcac1682 Add guidance on how to use page breaks in letters
Useful generally, but especially since we’ve edited some team’s
templates to use this new feature, they could probably do with knowing
how it works.
2018-05-14 15:21:49 +01:00
pyup-bot
a2d9cbfde8 Update pyexcel-xls from 0.5.6 to 0.5.7 2018-05-10 23:26:16 +01:00
Chris Hill-Scott
e6627786cc Merge pull request #2078 from alphagov/fix-overwritten-filename
Stop overwriting S3 metadata with empty filename
2018-05-10 17:22:13 +01:00
Chris Hill-Scott
a827f2e2b4 Remove redundant call to .get_template
Every call to the API is a blocking network request.
2018-05-10 17:02:41 +01:00
Chris Hill-Scott
3a471e2f61 Stop overwriting S3 metadata with empty filename
When you upload a CSV the check page takes the file name from the URL
and writes it to the S3 metadata for that file.

This also happens when you go to the .png version of this page.

The .png version of the page doesn’t have the filename in the URL. So it
re-writes the S3 metadata with an empty filename.

This means that all letter jobs sent recently have no file names. This
commit fixes this problem.
2018-05-10 17:01:03 +01:00
Chris Hill-Scott
bb88bc462a Add Barnet council to the list of domains
Not sure why they weren’t on there already…
2018-05-10 11:13:28 +01:00
Chris Hill-Scott
661a1ca47f Update content based on Thom’s feedback
On the page where signed in users can download the agreement:

> The second sentence of that could probably just be 'You can [download
> a copy]'. And could go at the end of the previous paragraph. (We try
> to avoid 'here', and the 'if you need to' is probably unnecessary).

On the page where we give users a choice of agreement to sign:

> We could probably edit that callout down a bit to: '[Contact us] if
> you're not sure whether your organisation is a crown or non-crown
> body.'
>
> (Try to keep callouts to a single sentence if we can)
2018-05-09 16:02:02 +01:00
Chris Hill-Scott
f9421789d0 Only show ‘back to service name’ link if signed in
When you’re not signed in you can still have a service in your session.
But there’s no point trying to get to its dashboard until you’re signed
in – you’ll just be sent back to the ‘sign in’ page.
2018-05-09 15:32:46 +01:00
Leo Hemsted
5f4d9a60da Merge pull request #2075 from alphagov/statistics-endpoint
use service statistics endpoint instead of detailed service
2018-05-09 14:46:56 +01:00
Leo Hemsted
78a6f86043 use service statistics endpoint instead of detailed service
we're not actually looking at the detailed service aspects - just
the stats. We're doing this in three places:

* dashboard
* notification activity page
* when checking jobs to see if we're over the daily limit

change these places to use a new api endpoint (service/id/statistics),
which hopefully be a little more performant, and will definitely be a
little more organised - moving away from generic endpoints with loads
of optional parameters.

We still need the detailed endpoints for the platform admin page tho.

Depends on https://github.com/alphagov/notifications-api/pull/1865
2018-05-09 14:00:24 +01:00