Commits on Mar 16, 2017
  1. update schema for future table field size changes

    The title and witnesses fields changed from text to mediumtext in order
    to cope with UTF-8 data
    struan committed Mar 16, 2017
  2. change future table charter encoding to utf8

    Resolve issues with encoding when importing future business by changing
    the encoding to UTF-8 as it seems to be more reliable than trying to
    either remove non ISO-8859-1 characters or doing encoding swaps.
    struan committed Mar 6, 2017
  3. PEP fixes

    struan committed Mar 2, 2017
  4. track clicks on links to MP social media accounts

    Add GA tracking to Social Media links on the MP profile pages
    struan committed Mar 3, 2017
  5. track clicks on facebook share buttons

    Add google analytics tracking for Facebook Share buttons
    struan committed Mar 3, 2017
Commits on Mar 15, 2017
  1. Photo update from admin web photo upload interface.

    Matthew Somerville committed Mar 15, 2017
Commits on Mar 7, 2017
Commits on Mar 6, 2017
  1. Xapian Backup Simplifications

    sagepe committed Feb 10, 2017
  2. Add Xapian Replication to morningupdate script

    Added options for replication to config file template,
    morningupdate will attempt replication if options are present.
    sagepe committed Jan 17, 2017
Commits on Mar 4, 2017
  1. Change MLAs/MSPs search box to use postcode form.

    The search currently only searches MPs by postcode, so this form
    was not working as it said. The search should search other reps
    by postcode, but this is an easier fix for now.
    dracos committed Mar 4, 2017
Commits on Mar 3, 2017
Commits on Feb 27, 2017
  1. move MP EU referendum campaigning statement to profile

    remove the banner and move the statement down into the profile section
    of the page.
    Fixes #1122
    struan committed Feb 20, 2017
Commits on Feb 21, 2017
  1. make sure json_decode in api tests doesn't fail

    it's possibly for tests to pass because both the output and the expected
    data fail to decode so catch that before we check for equality.
    struan committed Feb 21, 2017
  2. use UTF-8 mysql connection for tests

    otherwise we get encoding issues in tests
    struan committed Feb 21, 2017
  3. remove responsiveness link from MP page sidebar

    No longer relevant as we removed the responsiveness banner
    struan committed Feb 21, 2017
  4. fix getConstituencies API call test

    add in missing comma and also fix expected output escaping.
    struan committed Feb 21, 2017
  5. define a default mapit URL during tests

    Mostly this is to prevent test failures on Travis.
    struan committed Feb 21, 2017
  6. fix search test failure

    struan committed Feb 21, 2017
Commits on Feb 20, 2017
  1. Import social media details

    uses EveryPolitician sources data to update/add twitter and Facebook
    details to profiles. These are now broken out into a Social Media
    section to make them more prominent.
    Party of #1133
    struan committed Feb 14, 2017
  2. escape utf8 fancy quotes from js api output

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

    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
    struan committed Feb 10, 2017
Commits on Feb 13, 2017
  1. check that social sharing policy_set exists

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

    zarino committed with struan Jan 26, 2017
  3. Linewrapping

    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 :(
    zarino committed with struan Jan 19, 2017
Commits on Feb 10, 2017