Permalink
Switch branches/tags
Nothing to show
Commits on May 27, 2015
  1. Add some more alternates for name searching.

    dracos committed May 27, 2015
    Fixes #51.
  2. Improve URL/search name lookup.

    dracos committed May 27, 2015
    Use any name, not just most recent per membership; throw an exception
    for multiple results; refactor mp/index.php to be tidier.
  3. Fix some tiny warnings.

    dracos committed May 27, 2015
Commits on May 26, 2015
  1. detect signups for postcodes with a keyword and advise user

    struan committed May 15, 2015
    If someone is signing up for and alert that is of the form
    
        ZZ1 1AA elephants
    
    then it's likely they actually want to sign up for the MP for that
    postcode mentioning elephants so put in a notice to this effect and also
    a button to enable them to subscribe to an alert for that.
    
    part of #593
  2. add postcode search to mp error page

    struan committed May 15, 2015
    If you visit /mp, /msp etc without a postcode set display a postcode
    search box as well as the link to all MPs
    
    Fixes #450
  3. New front page design

    wrightmartin authored and struan committed Apr 9, 2015
    Lots of improvements along with new design.
    
    * Mobile friendly.
    * Space for featured commons debates and editing interface for this.
    * Scottish and NI front pages now show list of regional MLAs/MSPs
      if we know the user's postcode.
    * Displays upcoming westminster events on front page
    * Moves the front page to use the new style template system.
    
    Fixes #589
  4. generate stats on keyword/speaker split in alerts

    struan committed May 15, 2015
    Removes old alerts stats page as it never completed loading due to
    listing all the alerts and replace with one that gives some summary
    information
    
    Fixes #291
Commits on May 22, 2015
  1. Add outbound link tracking to the where-next page.

    jacksonj04 committed May 22, 2015
  2. Reinstate writing to an MP as an option

    jacksonj04 committed May 22, 2015
  3. Modify recording to use Logbook instead of TWFY specific table.

    jacksonj04 committed May 11, 2015
    Also fixes "qual2/quant2" typo.
  4. Fix alert process if one result and error.

    dracos committed May 22, 2015
    If we've found an MP or postcode, but there's some other error (e.g.
    invalid email), we shouldn't show the "Mentions of" option that we don't
    want.
  5. Add exemptions for special post-leaving answers.

    dracos committed May 22, 2015
    A few written answers were answered only after their asker had died.
Commits on May 21, 2015
  1. Use unknown start of next year for end dates.

    dracos committed May 21, 2015
    Otherwise trying to look up the membership for someone with only a year
    end date, for a date within their last year, would fail.
  2. Don't assume empty party is a party change.

    dracos committed May 21, 2015
    We don't have parties for old MP data.
  3. Utilise any 'redirect' entries in JSON data.

    dracos committed May 20, 2015
    This allows us to load in people that have been merged without having to
    update every relevant XML file or search index, and redirect at the
    front end.
Commits on May 20, 2015
  1. Only put brackets round search if OR involved.

    dracos committed May 20, 2015
    Otherwise it'll be AND and the brackets aren't needed.
  2. Update help text on a couple of topics.

    dracos committed May 20, 2015
    Fixes #465 and #785.
  3. Fix whitespace.

    dracos committed May 20, 2015
Commits on May 19, 2015
  1. Move names to separate database table.

    dracos committed Apr 22, 2015
    This allows name changes to be independent of memberships.
    The code assumes that a person will, for a required date, have only one
    membership per house and one name.
    
    Also remove some unused gadget code.
  2. Remove .page-content__row from Topic page header

    zarino committed May 18, 2015
    Part of #695. No more nested grid columns in Topic page header,
    which also makes the styling a bit simpler.
    
    Also removed .topic-header__content while I was there, since it
    no longer performs any function.
  3. Use .full-page__unit on debates pages, just like MP pages

    zarino committed May 18, 2015
    Part of #695. Debate/Wrans pages now use .full-page__unit for page
    gutters, rather than a variety of different hacks.