Commit Graph

6737 Commits

Author SHA1 Message Date
Chris Hill-Scott
aef66b7eab Mark agreement signed by Tameside Council 2018-12-20 17:32:27 +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
Athanasios Voutsadakis
93db0b6817 Decouple upload-static from cf-deploy
There are some permissions issues that need to be addressed before
we chain these two together.
2018-12-18 15:48:14 +00:00
Chris Hill-Scott
eeb58e0f63 Mark agreement signed by St Helen’s council 2018-12-18 14:38:53 +00:00
Chris Hill-Scott
6f74b7f3ea Merge pull request #2597 from alphagov/deploy-static-files-to-s3
Copy static files to S3 when deploying
2018-12-18 12:26:26 +00:00
Chris Hill-Scott
85ab8cd219 Merge pull request #2595 from alphagov/quis-patch-1
Make message limit dynamic
2018-12-18 12:13:34 +00:00
Chris Hill-Scott
54638ad2e7 Copy static files to S3 when deploying
We have a nasty bug where Cloudfront is caching old files against new
URLs because the new code rolls out gradually across the ~10 admin
instances we have in production.

The way we are going to fix this is by pointing Cloudfront at S3, which
doesn’t have the concept of ‘instances’.

This commit does the work to copy the files to the new buckets. It
depends on the beuckets being set up.
2018-12-18 11:57:52 +00:00
Chris Hill-Scott
d2d22cc425 Make message limit dynamic
Because we sometimes bump it in exceptional circumstances.
2018-12-17 15:37:42 +00:00
Leo Hemsted
94da05ebc4 only catch HTTPError
also add tests
2018-12-17 15:25:27 +00:00
Leo Hemsted
5c3c4ec78c change error message for not selecting a template
needed to subclass RadioField for this
2018-12-17 15:25:27 +00:00
Leo Hemsted
6f8dc7e6d3 fix being able to add template without selecting a radio button 2018-12-17 15:25:27 +00:00
Leo Hemsted
180654046a flash error message when moving folder to itself 2018-12-17 15:25:27 +00:00
Chris Hill-Scott
87d8267ee0 Merge pull request #2594 from alphagov/nottingham
Mark agreement signed by Nottingham council
2018-12-17 15:18:36 +00:00
Chris Hill-Scott
43b9e860f3 Mark agreement signed by Nottingham council 2018-12-17 15:08:56 +00:00
Chris Hill-Scott
448c85d240 Merge pull request #2593 from alphagov/portsmouth.gov.uk
Mark agreement signed by Portsmouth
2018-12-17 13:37:35 +00:00
Tom Byers
f6a6de41aa Merge pull request #2590 from alphagov/fix-sticky-init
Fix issues with JS for sticky elements
2018-12-17 13:29:19 +00:00
Chris Hill-Scott
7ed94488f1 Mark agreement signed by Portsmouth 2018-12-17 13:13:01 +00:00
Chris Hill-Scott
5eff81dca9 Merge pull request #2592 from alphagov/quis-patch-1
Mark agreement signed by Lewisham council
2018-12-17 11:28:45 +00:00
Chris Hill-Scott
9ca7227275 Mark agreement signed by Lewisham council 2018-12-17 11:18:31 +00:00
Chris Hill-Scott
b3b2024530 Merge pull request #2584 from fidejoseph/patch-6
Update email_domains.yml
2018-12-17 10:48:39 +00:00
Chris Hill-Scott
3f7994f560 Merge pull request #2591 from alphagov/redbridge.gov.uk
Mark agreement signed by Redbridge Council
2018-12-17 10:34:57 +00:00
Chris Hill-Scott
c30af92050 Merge pull request #2574 from alphagov/selected-template-counter
Add counter of selected templates and folders
2018-12-17 10:34:45 +00:00
Chris Hill-Scott
d4e8cdaa44 Add Lewisham 2018-12-17 10:25:25 +00:00
Chris Hill-Scott
552919a415 Mark agreement signed by Redbridge Council 2018-12-17 10:21:07 +00:00
Tom Byers
573d2d1d65 Fix code for sticky JS when window resizes
Includes:
- change .stopped method to .isStopped() for
  consistency
- replace code in checkResize that adjusts
  dimensions for setElementDimensions
- add code that deals with the window size being
  too small to run whenever positions are calculated
- add reset method for when screen is too small
  for sticking behaviour
- move guard out of methods for stopping and
  sticking (it hid info that was useful at the
  point they were called)
2018-12-14 16:33:00 +00:00
Tom Byers
b55acc4981 Add comments 2018-12-14 16:33:00 +00:00
Tom Byers
108cec7938 Remove fixedTop property from sticky elements
It's no longer used by this code.
2018-12-14 16:33:00 +00:00
Tom Byers
030701ab1b Make folder controls update sticky JS on change
Also removes a call the `render` method which
duplicates one already made by the
`selectActionButtons` method on load.
2018-12-14 16:33:00 +00:00
Tom Byers
9823ff831f Add publich recalculate method
Allows other JS to tell sticky elements to
recalculate their dimensions and then position
(and then check to see if their state needs
changing).

We need this because we change the content of our
element so its dimensions change.

The recalculation code also updates the shim for
elements that are 'stuck' so the horizontal space
the element would occupy in the flow of the page
is correct.
2018-12-14 16:30:07 +00:00
Tom Byers
6fb2d14cc3 Move shim handling to StickyElement
Includes other code that splits the height
StickyElement stores into two properties:
1. `verticalSpace`
2. `height`

`verticalSpace` is the vertical space the element
occupies in the document flow when not stuck.

`height` is the visual space of the element,
including padding and border.
2018-12-14 16:16:40 +00:00
Chris Hill-Scott
57fe1a4a75 Merge pull request #2588 from alphagov/ceredigion.llyw.cymru
Add Welsh alias for Ceredigion Council
2018-12-14 15:26:36 +00:00
Chris Hill-Scott
0fe6dc952e Add Welsh alias for Ceredigion Council 2018-12-14 15:16:07 +00:00
Chris Hill-Scott
41dd97a128 Merge pull request #2587 from alphagov/bournemouth.gov.uk
Mark agreement signed by Bournemouth Council
2018-12-14 15:02:57 +00:00
Chris Hill-Scott
0da5c9afe6 Mark agreement signed by Bournemouth Council 2018-12-14 14:51:10 +00:00
Chris Hill-Scott
baabf9359b Merge pull request #2557 from alphagov/pyup-update-pyexcel-io-0.5.10-to-0.5.11
Update pyexcel-io to 0.5.11
2018-12-14 13:44:08 +00:00