Commit Graph

9371 Commits

Author SHA1 Message Date
Tom Byers
6c2af9e696 Set cookie on document host by removing domain
Cookies using the hostname as a domain will be set
with a prefix of `.` by browsers, it seems to
ensure all subdomains are included in the scope.

When deleting the `seen_cookie_message` cookie we
want to set its domain without a `.` prefix, to
match the domain set by the original code.

Leaving the `domain` attribute out from the cookie
string will ensure the `.` prefix is not set.
2020-01-23 13:17:40 +00:00
Tom Byers
d68403f7dc Merge pull request #3272 from alphagov/stop-removing-ga-cookies
Stop removing GA cookies
2020-01-23 11:32:42 +00:00
Leo Hemsted
f3fa6a67e1 fix one more place where senders weren't sanitised
make sure everything is using the `nl2br` formatter that properly wraps
it in markdown to keep everything sanitised nicely. Also write a couple
of tests
2020-01-22 17:22:01 +00:00
karlchillmaid
b951b6a076 Fix apostrophe 2020-01-22 15:19:34 +00:00
karlchillmaid
f843862f51 Update links to letter spec 2020-01-22 15:14:43 +00:00
Chris Hill-Scott
80fe15f517 Fix links 2020-01-22 14:24:58 +00:00
Chris Hill-Scott
8e5d11c70e Add a route to serve guidance pages
Rather than hard coding the page titles, let’s just accept anythin
 that’s a real template in the guidance folder – will make it easier for
 Karl to edit and create pages.
2020-01-22 14:06:14 +00:00
karlchillmaid
cd8b41d8d3 Add inset text link 2020-01-22 13:50:49 +00:00
karlchillmaid
00a6bdcd90 Fix page title 2020-01-22 13:50:48 +00:00
karlchillmaid
2304738514 Fix page title 2020-01-22 13:50:48 +00:00
karlchillmaid
911462bcf1 Fix page title 2020-01-22 13:50:48 +00:00
karlchillmaid
81f959cff2 Fix page title 2020-01-22 13:50:48 +00:00
karlchillmaid
ff5d3cca97 Fix page title 2020-01-22 13:50:48 +00:00
karlchillmaid
b979e87c04 Update content 2020-01-22 13:50:48 +00:00
karlchillmaid
030aa0b52d Update GDPR content 2020-01-22 13:50:47 +00:00
karlchillmaid
0fed42e233 Update headings 2020-01-22 13:50:47 +00:00
karlchillmaid
9a39f32bb9 Update link text 2020-01-22 13:50:47 +00:00
karlchillmaid
bf7086415e Update link text and remove link to spec 2020-01-22 13:50:47 +00:00
karlchillmaid
8b4d6eb039 Update link text 2020-01-22 13:49:38 +00:00
karlchillmaid
73b4058c38 Update personalised content 2020-01-22 13:49:38 +00:00
karlchillmaid
f66111b625 Replace 'section' with 'page' 2020-01-22 13:49:37 +00:00
karlchillmaid
adfc9a72af Update links and headings 2020-01-22 13:49:37 +00:00
karlchillmaid
d50995b65d Update headings and links 2020-01-22 13:49:37 +00:00
karlchillmaid
1abc06b6e5 Update content for clarity 2020-01-22 13:49:37 +00:00
karlchillmaid
b4b09bd00f Update lead-in line 2020-01-22 13:49:37 +00:00
karlchillmaid
112c640035 Update link text 2020-01-22 13:49:36 +00:00
karlchillmaid
7d6b3c6ca8 Update link text 2020-01-22 13:49:36 +00:00
karlchillmaid
11723d50fb Update link text 2020-01-22 13:49:36 +00:00
karlchillmaid
07bb29fbc0 Update links 2020-01-22 13:49:36 +00:00
karlchillmaid
87eafd7e0c Update links 2020-01-22 13:49:09 +00:00
karlchillmaid
69b9966870 Update link 2020-01-22 13:49:09 +00:00
karlchillmaid
6ad2a82614 Add links to spec and template 2020-01-22 13:49:08 +00:00
karlchillmaid
184e174ec4 Update link 2020-01-22 13:49:08 +00:00
karlchillmaid
b8fe221c34 Update filename 2020-01-22 13:49:08 +00:00
karlchillmaid
3ab38a8654 Update links 2020-01-22 13:49:08 +00:00
karlchillmaid
e2608c4ec3 Update content and formatting 2020-01-22 13:49:08 +00:00
karlchillmaid
0cb7d76eea Update content 2020-01-22 13:49:08 +00:00
karlchillmaid
583965d1fb Update and rename send-a-file-by-email.html to send-files-by-email.html 2020-01-22 13:49:07 +00:00
karlchillmaid
f8fbf0dad5 Remove content 2020-01-22 13:49:07 +00:00
karlchillmaid
dabc2b91f6 Create branding-and-customisation.html 2020-01-22 13:49:07 +00:00
karlchillmaid
7da98c3745 Create send-a-file-by-email.html 2020-01-22 13:49:07 +00:00
karlchillmaid
6f1f57cc22 Add {% endblock %} 2020-01-22 13:49:07 +00:00
karlchillmaid
5418958c16 Create create-and-send-messages.html 2020-01-22 13:49:07 +00:00
karlchillmaid
d6a8954304 Create edit-and-format-messages.html 2020-01-22 13:49:07 +00:00
karlchillmaid
9a61f3c56d Update filename 2020-01-22 13:49:06 +00:00
karlchillmaid
b239b8cb13 Update path 2020-01-22 13:49:06 +00:00
karlchillmaid
830b1f5274 Update content 2020-01-22 13:49:06 +00:00
karlchillmaid
fef1a92cce Create upload-a-letter.html 2020-01-22 13:49:06 +00:00
karlchillmaid
327673abfa Update file name 2020-01-22 13:49:06 +00:00
karlchillmaid
bad465021b Fix heading and content 2020-01-22 13:49:06 +00:00