Reimplementation of 904254c, lost in transfer to new design.
* Bring the box configuration up to date. * Improved box image (run `vagrant box update` to get it). * Move some configuration into PuPHPet from the `install.sh` file. * Modify `conf/general-example` to make `sed` in `install.sh` work. * Make sure ruby/node/npm etc are properly managed. * Provision workflow tools in PuPHPet.
if the link from the search page, or more realistically an email goes through more than one level of redirect then the search term is lost from it. Check if it's present and add it back in to the redirect. Note that we will always lose and anchor part of the URL in this process as that's all dealt with purely client side and never supplied to the server. Fixes #754
Display WRANS question number and mentions data a little more tidily. Fix at least some of the broken links in the mentions data. Display the message about it being currently broken on the new pages. Throw an exception if we try and call mentions on an unexpected page.
Ensure variables in section template are defined for all paths. Remove dead allocation in DebatesView Fix cases where variables aren't defined for all paths in Debates and Section View clean up source display in section.php Clean up how glossary things happen. use \Exception rather than namespaced ones
Refactor and styled buttons in debate header Add section navigation and pagination Styled link in context on individual speech pages Turn secondary panel styles into a mixin remove double border at bottom of speeches styling comment teasers, inline annotations and comments
Make the regular expression easier to follow, expand its scope (e.g. catch "hon" without a dot), and on display remove empty paragraphs and rewrite links internally if after the date we handle both Commons/Lords in the same way.
With the new written answers, it's possible for an answer to come in one day, then a new answer (replacing a holding answer, or a correction) to come on a later day. This works fine and the answer is replaced, unless you then loaded in the old date manually, when the old out-of-date answer would be reimported. Therefore, do not import any data which would move the hdate back in time - this only applies to new-style written answers, where an ID may occur on more than one date.
From this date we're taking Lords written answers and statements from Parliament's new system, which does include a department name unlike previously, so we can stop the special Lords treatment that added a "House of Lords" major heading in both types.