Permalink
Switch branches/tags
Nothing to show
Commits on Mar 31, 2017
  1. do not list former positions in header

    struan committed Mar 21, 2017
    Becuase in the case of people who have held multiple positions in
    goverment it's going to be hard to pick the most relevant one so better
    not to list them at all. This avoids user confusion about what they
    should expect to see as it means it's either:
    
     * Current seat or position.
     * The last seat they held.
    
    Fixes #1234
    Fixes #1081
  2. Show any non-committee postion in the header.

    dracos authored and struan committed Feb 11, 2016
    This should mean all ministers/shadow ministers get shown as such in the
    header of their page.
Commits on Mar 29, 2017
  1. remove references to adding comments and houserules

    struan committed Mar 16, 2017
    Leave the houserules page for now as it's referred to when deleting
    comments.
  2. minimal sanity checking on interesting links before display

    struan committed Mar 16, 2017
    Make sure that interesting links on the profile page contain http
    at the start before displaying them.
    
    Fixes #1236
  3. do not merge paragraphs when following on from a quote

    struan committed Mar 28, 2017
    Detect when something looks like the end of a quote - that is a
    paragraph ending with ” followed by a comma. This avoids
    formatting a follow on sentence into the indent for the quote.
    
    Fixes #1195
  4. do not merge paragraphs after a quote from official record

    struan committed Mar 16, 2017
    Improve the merging of run-on paragraphs to detect when something looks
    like the end of a quote from the official record by checking for a
    paragraph ending with ]. This avoids formatting a follow on sentence
    into the indent for the quote.
    
    Fixes #1195
  5. don't generate a-z anchors in MP page if sorted by party

    struan committed Mar 28, 2017
  6. Link A-Z on MP list page to sort ordering

    struan committed Mar 3, 2017
    Use First name or last name as appropriate for generating A-Z anchors on
    page.
    
    Fixes #1060
  7. Don't show A-Z links in MP page if sorted by party

    struan committed Mar 3, 2017
    They don't make much sense in this case
Commits on Mar 27, 2017
  1. Add survey banner for JRCT

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

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

    struan committed Mar 6, 2017
    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.
  3. PEP fixes

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

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

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

    Matthew Somerville
    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

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

    dracos committed Mar 4, 2017
    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.
Commits on Mar 3, 2017
Commits on Feb 27, 2017
  1. move MP EU referendum campaigning statement to profile

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

    struan committed Feb 21, 2017
    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.
  2. use UTF-8 mysql connection for tests

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

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

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

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

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

    struan committed Feb 14, 2017
    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