Commit Graph

6772 Commits

Author SHA1 Message Date
Chris Hill-Scott
c37bcf3084 Mark agreement signed by Knowsley Council 2019-01-02 15:05:25 +00:00
Chris Hill-Scott
c92fddce3c Merge pull request #2583 from alphagov/pyup-update-pytest-xdist-1.24.1-to-1.25.0
Update pytest-xdist to 1.25.0
2019-01-02 13:20:22 +00:00
Chris Hill-Scott
1befd3ddd2 Merge pull request #2620 from alphagov/pyup-update-beautifulsoup4-4.6.3-to-4.7.0
Update beautifulsoup4 to 4.7.0
2019-01-02 13:20:15 +00:00
Chris Hill-Scott
cfc987d48f Merge pull request #2623 from alphagov/newham.gov.uk
Mark agreement signed by Newham council
2019-01-02 13:20:07 +00:00
Chris Hill-Scott
adca4622e4 Fix copypaste 2019-01-02 13:14:23 +00:00
Chris Hill-Scott
b55e0ee392 Mark agreement signed by Newham council 2019-01-02 13:13:01 +00:00
Chris Hill-Scott
893163ff84 Reflect normalisation of whitespace in attributes
BeautifulSoup version 4.7.0 changes how it handles whitespace in
attribute values. See more detail here:
https://bugs.launchpad.net/beautifulsoup/+bug/1787453
2019-01-02 11:57:11 +00:00
Chris Hill-Scott
e88c23f233 Freeze requirements 2019-01-02 11:55:47 +00:00
pyup-bot
07a540506c Update beautifulsoup4 from 4.6.3 to 4.7.0 2019-01-02 11:55:10 +00:00
Chris Hill-Scott
0a01889acf Merge pull request #2622 from alphagov/manchester.gov.uk
Mark agreement signed by Manchester City Council
2019-01-02 11:45:31 +00:00
Chris Hill-Scott
729d1ffc3e Mark agreement signed by Manchester City Council 2019-01-02 11:37:34 +00:00
Chris Hill-Scott
da0b7b519f Merge pull request #2621 from alphagov/staffordshire.gov.uk
Mark agreement signed by Staffordshire Council
2019-01-02 11:10:14 +00:00
Chris Hill-Scott
b634f19637 Resolve Staffordshire aliases 2019-01-02 11:03:03 +00:00
Chris Hill-Scott
79fe224188 Mark agreement signed by Staffordshire Councl 2019-01-02 11:02:06 +00:00
Chris Hill-Scott
742aec6831 Merge pull request #2609 from alphagov/remove-whitenoise
Remove WhiteNoise
2019-01-02 10:13:42 +00:00
Chris Hill-Scott
9a01cb9323 Merge pull request #2615 from alphagov/fix-find-sticky
Fix sticky with find as you type
2019-01-02 10:13:22 +00:00
Pete Herlihy
4595a2a0a5 Merge pull request #2618 from alphagov/516-services-now
Updated to 516 services from 154 organisations
2018-12-31 15:47:06 +00:00
Pete Herlihy
4a35dc65c7 Updated to 516 services from 154 organisations 2018-12-31 13:37:51 +00:00
Chris Hill-Scott
6487273ced Fix sticky with find as you type
It was losing its position because filtering the list of templates with
find as you type was causing the height of the page to change.
2018-12-21 14:37:01 +00:00
Chris Hill-Scott
85aae47443 Merge pull request #2589 from alphagov/static-guidance
Add information about how static assets are served
2018-12-21 14:29:51 +00:00
Chris Hill-Scott
0d13c8b091 Update with latest setup 2018-12-21 12:54:19 +00:00
Chris Hill-Scott
5d8147bbbd Merge pull request #2614 from alphagov/remove-branding-radio
Remove unused CSS
2018-12-21 12:50:16 +00:00
Chris Hill-Scott
bf75fec5ae Remove unused CSS
This is from when we used to show the email logos inside the label of
the radio buttons.

Changing the CSS will also change its hash, will will cache-bust
CloudFront. Which is why I’m doing this now.
2018-12-21 12:42:08 +00:00
Chris Hill-Scott
fa1b6417aa Merge pull request #2613 from alphagov/southglos.gov.uk
Mark agreement signed by South Glos council
2018-12-21 12:34:59 +00:00
Chris Hill-Scott
c0b271bab2 Merge pull request #2612 from alphagov/devon.gov.uk
Mark agreement signed by Devon County Council
2018-12-21 12:34:53 +00:00
Chris Hill-Scott
0b984dd7db Merge pull request #2611 from alphagov/set-s3-cache-headers
Set far-future cache headers on S3 assets
2018-12-21 12:34:48 +00:00
Chris Hill-Scott
bb5854cef5 Mark agreement signed by South Glos council 2018-12-21 12:28:42 +00:00
Chris Hill-Scott
a1981b502c Mark agreement signed by Devon County Council 2018-12-21 12:04:09 +00:00
Chris Hill-Scott
cc405d7c1a Set far-future cache headers on S3 assets
So that browsers will cache them for as long as possible. We invalidate
this cache by adding the hash of each file to the query string.

There’s no way of doing this on a whole bucket; it has to be set on each
item. Adding this flag does so at the time of uploading the items.

Value of 10 years in seconds taken from:
0ee3bcb1ee/whitenoise/base.py (L19)
2018-12-21 12:00:45 +00:00
Chris Hill-Scott
23d00aacfd Remove WhiteNoise
We’re now serving assets from S3 when running on PaaS. So we’ll set
the appropriate caching headers there or in Cloudfront. This means that
the app no longer needs to serve cache headers, which is what we were
using WhiteNoise for.

This commits removes WhiteNoise in favour of letting Flask handle the
serving of static assets.
2018-12-21 10:44:20 +00:00
Chris Hill-Scott
fba9ae0617 Merge pull request #2608 from alphagov/tameside.gov.uk
Mark agreement signed by Tameside Council
2018-12-21 10:30:04 +00:00
Chris Hill-Scott
80b054d7af Merge pull request #2607 from alphagov/york.gov.uk
Mark agreement signed by City of York
2018-12-21 10:29:57 +00:00
Chris Hill-Scott
aef66b7eab Mark agreement signed by Tameside Council 2018-12-20 17:32:27 +00:00
Chris Hill-Scott
1284704f36 Mark agreement signed by City of York 2018-12-20 13:06:14 +00:00
Chris Hill-Scott
cdb65e0677 Merge pull request #2605 from alphagov/islington.gov.uk
Mark agreement signed by Islington Council
2018-12-20 12:19:10 +00:00
Chris Hill-Scott
cd0fcbb8cc Merge pull request #2606 from alphagov/reading.gov.uk
Mark agreement signed by Reading Borough Council
2018-12-20 12:19:00 +00:00
Chris Hill-Scott
531094c500 Merge pull request #2598 from alphagov/sthelens.gov.uk
Mark agreement signed by St Helen’s council
2018-12-20 12:18:52 +00:00
Chris Hill-Scott
65c98bfdb5 Mark agreement signed by Reading Borough Council 2018-12-20 12:09:24 +00:00
Chris Hill-Scott
c4ba86e5b7 Mark agreement signed by Islington Council 2018-12-19 16:10:10 +00:00
Leo Hemsted
5c7c65f24e Merge pull request #2604 from alphagov/template-folder-error-bug
template folder js bug
2018-12-19 15:38:59 +00:00
Leo Hemsted
1bcee4c1b0 render if currentState is defined
(this fixes bug where on error, it would show all states)
2018-12-19 15:25:43 +00:00
Leo Hemsted
258cd5e2ec Merge pull request #2572 from alphagov/flash-errors
Show move errors on the template folder management flow
2018-12-19 15:10:06 +00:00
Chris Hill-Scott
e744e486d2 Merge pull request #2603 from alphagov/hillingdon.gov.uk
Mark agreement signed by London Borough of Hillingdon
2018-12-19 14:39:43 +00:00
Chris Hill-Scott
0a576c70e5 Mark agreement signed by London Borough of Hillingdon 2018-12-19 14:30:00 +00:00
Chris Hill-Scott
00e1552ba7 Merge pull request #2602 from alphagov/past-500-woo-hoo
Past 500 woo hoo
2018-12-19 12:34:28 +00:00
Chris Hill-Scott
e34d44ffab services++; 2018-12-19 11:39:55 +00:00
Pete Herlihy
3daf7fa5b5 Updated service count and org count passing 500...
B.O.O.M.
2018-12-19 11:39:55 +00:00
Chris Hill-Scott
8af681f3ee Merge pull request #2600 from alphagov/eastdevon.gov.uk
Mark agreement signed by East Devon Council
2018-12-19 10:42:26 +00:00
Chris Hill-Scott
017004dcde Mark agreement signed by East Devon Council 2018-12-19 10:28:03 +00:00
Sakis
0d7bf4ac11 Merge pull request #2599 from alphagov/decouple-upload-from-deploy
Decouple `upload-static` from cf-deploy
2018-12-18 16:07:24 +00:00