Commit Graph

6275 Commits

Author SHA1 Message Date
Chris Hill-Scott
c01d761a3c Show if a letter has been cancelled
At the moment we are manually cancelling letters for people when they
ask us to. Once’s we’ve done this there is no indication that it’s
happened except for the date going red on the list of letters.

This commit adds some error messaging and styling to show when a letter
is cancelled.

Letting people cancel their own letters will be a future enhancement.
2018-10-29 11:51:41 +00:00
Katie Smith
78cb3d1165 Merge pull request #2415 from alphagov/add-edit-folders-permission-button
Add platform admin button for edit_folders permission
2018-10-25 14:21:11 +01:00
Katie Smith
a79831e997 Merge pull request #2405 from alphagov/pyup-update-pytest-3.9.1-to-3.9.2
Update pytest to 3.9.2
2018-10-25 14:21:02 +01:00
Alexey Bezhan
8d8e374fdb Merge pull request #2402 from alphagov/python-3-5-5
Bump PaaS python version to 3.5.5
2018-10-25 13:08:39 +01:00
Katie Smith
ae79a3ac75 Add platform admin button for edit_folders permission
Added a platform admin button to allow / remove the edit_folders
permission for a service.
2018-10-25 12:09:26 +01:00
Katie Smith
af29ee7ff1 Merge pull request #2407 from alphagov/stop-sending-dvla-org-id
Stop passing dvla_org_id to template preview
2018-10-24 16:28:58 +01:00
Chris Hill-Scott
465296776e Merge pull request #2406 from alphagov/service-count
Updated service count to 410 and 127 orgs
2018-10-24 14:35:03 +01:00
Katie Smith
a489e7a26b Stop passing dvla_org_id to template preview
We were passing both dvla_org_id and filename to template-preview
temporarily while we switch to only using filename. Now that
template-preview is set up to use filename, we can stop sending the
dvla_org_id too.
2018-10-23 16:21:18 +01:00
Pete Herlihy
285d91f5bc Updated service count to 410 and 127 orgs 2018-10-23 15:43:59 +01:00
pyup-bot
b8ddfe42f3 Update pytest from 3.9.1 to 3.9.2 2018-10-23 03:55:05 +01:00
Alexey Bezhan
62f83fcd1a Bump PaaS python version to 3.5.5
Python 3.5.4 support is being removed in Python buildpack 1.6.21
2018-10-22 11:26:50 +01:00
Tom Byers
02ecf1c5b4 Merge pull request #2387 from alphagov/bump-utils-to-3.5.5
Bump utils to 3.5.5
2018-10-19 16:00:56 +01:00
Katie Smith
e100a0f218 Merge pull request #2394 from alphagov/send-letter-filename-to-template-preview
Pass letter logo filename to template preview
2018-10-19 10:58:08 +01:00
Tom Byers
29c46a27f8 Stop url_for double-encoding .'s in password test
One of the changes this pulls in is encoding of
periods in the token used for new password
requests.

In real-life the resulting URL is build by
concatenating the base url with the token so it
isn't processed further.

The test for new password requests builds the URL
with url_for. This encodes the result returned so
the periods are encoded twice.
2018-10-18 16:59:52 +01:00
Tom Byers
f5014e8352 Fix references to email HTML in tests 2018-10-18 16:59:52 +01:00
Tom Byers
e9afad80ed Bump utils to 3.5.5 2018-10-18 16:59:48 +01:00
Chris Hill-Scott
e8fb7343b2 Merge pull request #2382 from alphagov/pyup-update-freezegun-0.3.10-to-0.3.11
Update freezegun to 0.3.11
2018-10-18 15:50:51 +01:00
Chris Hill-Scott
faabcb6174 Merge pull request #2389 from alphagov/pyup-update-pytest-3.8.2-to-3.9.1
Update pytest to 3.9.1
2018-10-18 15:50:44 +01:00
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
1d16b1fdfc Merge pull request #2392 from fidejoseph/patch-2
Update email_domains.yml
2018-10-18 15:12:23 +01:00
Katie Smith
0362265cb6 Pass letter logo filename to template preview
We now pass through `filename` to the Template Preview `/preview.<filetype>'
endpoint in addition to the `dvla_org_id`. Template Preview will be
changed to only use `filename`, and once this has been done, we can change
the code to only pass through `dvla_org_id` instead of passing through
both pieces of information.
2018-10-17 15:17:11 +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
c29dfecaa4 Merge pull request #2388 from alphagov/apha.gov.uk
Add Animal & Plant Health Agency
2018-10-17 10:22:43 +01:00
pyup-bot
5c72490ee0 Update pytest from 3.8.2 to 3.9.1 2018-10-16 23:08:51 +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
4acb4a763c Merge pull request #2384 from alphagov/maidstone.gov.uk
Mark agreement sign by Maidstone council
2018-10-15 15:25:56 +01:00
Chris Hill-Scott
e7278c7811 Mark agreement sign by Maidstone council 2018-10-15 15:20:50 +01:00
Leo Hemsted
ec6abd7b04 Merge pull request #2383 from alphagov/fix-save-as-pdf
fix pdf download link trying to request a page count
2018-10-15 14:45:44 +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
pyup-bot
bd0d25186e Update freezegun from 0.3.10 to 0.3.11 2018-10-15 04:17:52 +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
b466e0404d Merge pull request #2376 from alphagov/glamorgan
Updated contract signed for Vale of Glamorgan
2018-10-11 14:51:30 +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
6f38a5030b Merge pull request #2364 from alphagov/update-pricing
Update pricing for 1 October onwards - adding first class rates
2018-10-09 14:53:22 +01:00
Pete Herlihy
acec8922c6 Update pricing for 1 October onwards - adding first class rates 2018-10-09 14:37:07 +01:00