Permalink
Switch branches/tags
Nothing to show
Commits on Feb 20, 2017
  1. escape utf8 fancy quotes from js api output

    struan committed Feb 13, 2017
    otherwise iconv will convert them into plain quotes and hence break the
    JS output.
    
    Fixes #1218
Commits on Feb 17, 2017
Commits on Feb 15, 2017
  1. display last updated dates for policy sets

    struan committed Feb 10, 2017
    Should hopefully alleviate issues where we've not updated the
    information since an important vote and hence the voting record
    doesn't take it into account
Commits on Feb 13, 2017
  1. check that social sharing policy_set exists

    struan committed Feb 13, 2017
    return a 404 if the user asks for a social sharing graphic for a policy
    set that doesn't exist
  2. Google Analytics social tracking for twitter interactions

    zarino authored and struan committed Jan 26, 2017
  3. Linewrapping

    zarino authored and struan committed Jan 19, 2017
    The code for emboldening bits of the stances is now much more
    complicated (because of the line character counting) and lines
    with more than 1 bold segment don’t work :(
Commits on Feb 10, 2017
  1. basic twitter card meta tags

    struan committed Jan 17, 2017
  2. Use non secure absolute URLs for dev sites

    struan committed Jan 16, 2017
    Enables testing of things like opengraph tags.
  3. basic test for vote position summary

    struan committed Feb 9, 2017
  4. update vote summary wording

    struan committed Jan 25, 2017
  5. reduce queries to generate policy vote summaries

    struan committed Jan 24, 2017
    fetch the details for all policies in two queries rather than two per
    policy and then pass that in to the policies object. And then split the
    summary generation out to its own method so it can be called with the
    data passed in to policies.
    
    means only 2 queries rather that 2 * $number of policies.
  6. display summary of policy votes on votes page

    struan committed Jan 23, 2017
    add a line under each policy on the votes page summarising the MPs votes
    on that policy.
Commits on Feb 9, 2017
  1. Photo update from admin web photo upload interface.

    Matthew Somerville
    Matthew Somerville committed Feb 9, 2017
  2. Merge branch 'master' of ssh://git.mysociety.org/data/git/public/they…

    Matthew Somerville
    Matthew Somerville committed Feb 9, 2017
    …workforyou
  3. Use translation table rather than chr().

    dracos committed Feb 1, 2017
    chr() obviously doesn't work now we're using UTF-8.
Commits on Jan 30, 2017
  1. change collation of glossary title to utf8 to stop search errors

    struan committed Jan 30, 2017
    If not we get Illegal mix of collation errors for search terms with
    UTF-8 characters in them as it's trying to compare incompatible
    collations in the LIKE clause of the glossary search. This doesn't
    effect the main search as it uses Xapian
Commits on Jan 27, 2017
Commits on Jan 26, 2017
  1. remove redundant access control headers

    struan committed Jan 13, 2017