Commit Graph

4124 Commits

Author SHA1 Message Date
Chris Hill-Scott
86898903c5 Merge pull request #2393 from alphagov/rushmoor.gov.uk
Make agreement signed by Rushmoor borough council
2018-10-18 15:12:30 +01:00
Chris Hill-Scott
897a3f6407 Make agreement signed by Rushmoor borough council 2018-10-17 15:05:35 +01:00
fidejoseph
4d9a476d04 Update email_domains.yml
added bi.team
2018-10-17 10:42:38 +01:00
Chris Hill-Scott
584ae89394 Mark agreement signed 2018-10-16 16:52:22 +01:00
Chris Hill-Scott
975aa5fe86 Add Animal & Plant Health Agency 2018-10-16 16:28:04 +01:00
Chris Hill-Scott
e7278c7811 Mark agreement sign by Maidstone council 2018-10-15 15:20:50 +01:00
Leo Hemsted
c898284c3b fix pdf download link trying to request a page count
It doesn't make sense to get a pdf for only one page - the template
preview app just returns a 400 if you try. So we shouldn't try!
2018-10-15 14:32:10 +01:00
Chris Hill-Scott
6154495c1b Merge pull request #2371 from alphagov/fix-email-preview
Allow coloured branding without logo in preview
2018-10-11 15:30:32 +01:00
Chris Hill-Scott
8e582fbdc9 Merge pull request #2375 from alphagov/resend-layout
Make resend email page consistent
2018-10-11 15:29:50 +01:00
Chris Hill-Scott
f41a49dcfb Resolve aliases for Vale of Glamorgan Council domain 2018-10-11 14:12:07 +01:00
Pete Herlihy
b0171498ea Updated for Vale of Glamorgan 2018-10-11 12:21:16 +01:00
Chris Hill-Scott
86b9ca6381 Make resend email page consistent
Its grid and copy weren’t consistent with the original page you see when you’ve first been sent the confirmation email.
2018-10-11 11:59:33 +01:00
Chris Hill-Scott
6b6a19eb2d Merge pull request #2369 from alphagov/align-pending
Format ‘pending’ messages the same as ‘sending’
2018-10-11 11:21:56 +01:00
Chris Hill-Scott
0d0d95a75a Format ‘pending’ messages the same as ‘sending’
For reasons I don’t understand some of our text messages get marked as `pending`. Since we don’t account for this in the front end they don’t get displayed quite right (the vertical position of the text is too high). This commit adds the pending `state` to the `if` statement so the text is properly aligned.
2018-10-11 11:08:32 +01:00
Tom Byers
e92230a0ef Allow coloured branding without logo in preview
Coloured brandings can just be a coloured
background with text. At the moment the /_email
preview page assumes a logo image will be part of
a brand so looks broken.
2018-10-11 10:50:42 +01:00
Chris Hill-Scott
9bc0b6ecd4 Merge pull request #2370 from alphagov/service-count
Up to 393 services and 123 organisations
2018-10-11 10:25:04 +01:00
Chris Hill-Scott
ae7e8d5659 Merge pull request #2368 from alphagov/vca.gov.uk
Add Vehicle Certification Agency to domains list
2018-10-11 10:24:56 +01:00
Leo Hemsted
2bd5ec6ec3 Merge pull request #2351 from alphagov/precompiled_validation_preview
Preview the validation of precompiled letters
2018-10-10 14:58:23 +01:00
Pete Herlihy
9a8b079413 Up to 393 services and 123 organisations 2018-10-10 14:11:59 +01:00
Chris Hill-Scott
095dd617cd Got the answers 2018-10-10 10:33:07 +01:00
Chris Hill-Scott
b580d2e29e Add olev domains 2018-10-10 09:59:53 +01:00
Chris Hill-Scott
672709ae86 Add Vehicle Certification Agency to domains list
Need to find out where they sit…

https://www.gov.uk/government/organisations/vehicle-certification-agency
2018-10-10 09:24:13 +01:00
Pete Herlihy
acec8922c6 Update pricing for 1 October onwards - adding first class rates 2018-10-09 14:37:07 +01:00
Chris Hill-Scott
9ef75a2a4c Mark agreement signed by DCMS 2018-10-09 09:59:57 +01:00
Chris Hill-Scott
5c5680b17d Mark agreement signed by Brighton and Hove 2018-10-05 16:54:22 +01:00
Pea Tyczynska
291b2cf2ba Improve error handling for precompiled validation preview 2018-10-05 16:27:57 +01:00
Pea Tyczynska
e6e363ba3f Add antivirus scan to letter validation preview view 2018-10-05 16:27:57 +01:00
Pea Tyczynska
a61393a68e Test letter validation preview flow 2018-10-05 15:46:44 +01:00
Pea Tyczynska
3cdacaaf0a Introduce validation and error handling for validation preview 2018-10-05 15:46:44 +01:00
Pea Tyczynska
3be129241f Add letter validation preview functionality
- add get/post view
- create a pdf upload form
- add a template where user can upload the file
- check boundaries of the letter by calling template-preview
- display banner messages with boundaries validation result
- display pages of the document, with visible boundaries overlay
if the document did not pass validation, and without overlay
if they do pass validation
2018-10-05 15:46:44 +01:00
Katie Smith
23e00a2e98 Merge pull request #2349 from alphagov/display-postage-on-usage-page
Display postage on usage page
2018-10-04 14:37:18 +01:00
Chris Hill-Scott
8b07e9f1c7 Mark agreement signed by Hackney Council 2018-10-04 11:57:54 +01:00
Katie Smith
0d842d3700 Pluralize notification type correctly on usage page
This change makes sure that we display '1 letter' instead of '1 letters',
and '1 text message' instead of '1 text messages' on the usage page.
2018-10-03 15:15:19 +01:00
Katie Smith
4188c0297d Display letter postage on the usage page
The monthly letter cost was already broken down by price on the usage
page, but this change adds postage details to the usage page too.
2018-10-03 13:20:44 +01:00
Katie Smith
b1f2b1bc0f Update billing mocks and get_sum_billing_units function
Updated the 'get_sum_billing_units' function to no longer multiply the
billing units by the rate multiplier. The billing_units that come from
notifications-api already consist of the billable_units * rate_multiplier.
The rate_multiplier is also not returned from the api response anymore.

Also updated the billing mocks since these were not mocking the right fields in
the JSON responses from the API billing endpoints, and added the new
'postage' field which will get returned from the monthly-usage endpoint
in notifications-api.
2018-10-03 12:05:49 +01:00
Chris Hill-Scott
bed0ef6912 Add ACAS to list of domains 2018-10-03 10:25:20 +01:00
Rebecca Law
2ac5926529 Fix page with missing import and added unit test. 2018-10-02 13:44:55 +01:00
Chris Hill-Scott
1e766fd5e1 Merge pull request #2343 from alphagov/email-branding-page-title
Fix missing page title on email branding page
2018-10-01 16:14:17 +01:00
Chris Hill-Scott
fde444a37a Fix missing page title on email branding page
It’s not a service-specific page so trying to set the service-specific page title does nothing.
2018-10-01 16:08:14 +01:00
Chris Hill-Scott
0f84ed40e9 Show all pages of a letter on the preview page
We’ve had a support ticket saying:
> Hi, where a letter goes over to two sides, is there a way in the
> 'Preview' screen (or anywhere else) that I can see page two? I can
> see page one OK, but can't work out how to see what's generated on the
> second page.

Whether you’re about to send 1000s of letters – or just want to preview
how one will look – it’s probably useful to be able to see more than
just the first page.
2018-10-01 16:03:06 +01:00
Chris Hill-Scott
08b665b2bd Mark agreement signed by Medway Council 2018-10-01 15:10:42 +01:00
Leo Hemsted
5179bdbdef Merge pull request #2338 from alphagov/expected-letter-rate
1st class expected letter delivery
2018-10-01 14:20:36 +01:00
Chris Hill-Scott
351a3dc4f3 Merge pull request #2314 from alphagov/validate-rtgl
Don’t trigger HTML5 validation on any form
2018-10-01 14:18:16 +01:00
Chris Hill-Scott
abac89ca2f Merge pull request #2329 from alphagov/remove-table-options
Remove redundant variable definition
2018-10-01 11:28:42 +01:00
Leo Hemsted
432f1286fe update notifications page to take into account first class! 2018-10-01 11:07:35 +01:00
Leo Hemsted
efab189ae8 update jobs to take into account first class 2018-10-01 11:07:33 +01:00
Leo Hemsted
32f39475d2 remove dupe of get_letter_timings
it was moved from admin to utils a while ago
2018-09-28 15:02:32 +01:00
Chris Hill-Scott
d34fed7612 Add domain for Greenwich council
Not sure why they weren’t in here…
2018-09-28 09:29:01 +01:00
Rebecca Law
0591d3e667 Merge pull request #2334 from alphagov/fix-download-bug
Fix download csv to use the service data retention if it exists.
2018-09-27 16:07:17 +01:00
Rebecca Law
7b9df8de29 Fix download csv to use the service data retention if it exists. 2018-09-27 14:51:36 +01:00