Permalink
Switch branches/tags
Nothing to show
Commits on Apr 27, 2015
  1. Move most static pages to new style template system

    struan committed Apr 27, 2015
    Basic classes added but need design love to make them look good.
Commits on Apr 24, 2015
  1. Float .debate-speech__links instead of absolute.

    zarino authored and dracos committed Apr 21, 2015
    Part of #745 and also a belated fix for #768.
    
    By floating the speaker name and speech left, and the meta links right,
    we don’t have to worry about absolutely-positioned links overlapping
    the bottom of the speech.
    
    Also took the opportunity to simplify some of the breakpoint behaviour
    and use percentages for widths in the squidgy 800-1100px screen range.
  2. Improve display of hansard meta links for scottish written answers

    zarino authored and dracos committed Apr 20, 2015
    I’ve done the best I can without changing the markup generated by
    get_question_mentions_html() in SpwransView.php
Commits on Apr 23, 2015
  1. Add verbose/from date options to people import.

    dracos committed Apr 23, 2015
    This makes the script significantly faster if you only care about recent
    changes.
Commits on Apr 22, 2015
  1. Update text on the api key request page

    Steven Day
    Steven Day committed Apr 13, 2015
    This updates the text on this page and adds a new option to the form
    for estimated usage. If the user selects a commercial use or says
    their usage is likely to be over 50,000 calls a year, it gives them a
    message that says they're likely to need to pay.
    
    Requires a migration running on the database to add the new field to
    the api_key table;
  2. Update api homepage with pricing

    Steven Day
    Steven Day committed Apr 13, 2015
Commits on Apr 21, 2015
  1. Use a TLD other than .dev to avoid DNS headache.

    zarino authored and dracos committed Apr 20, 2015
    Fix an issue being unable to resolve a .dev domain in development.
  2. use our Memcache class rather than the php extension directly

    struan committed Apr 14, 2015
    rather than having all the setup code duplicated everywhere
  3. store promo banner text in the database

    struan committed Apr 8, 2015
    Rather than have the banner text hard coded in the templates create a
    database table for editorial content and use this for the banner text.
    Also add an admin interface to this so that non-devs can update the
    banner.
  4. Add banner to new style pages

    struan committed Apr 3, 2015
    Goes between the hero image and the nav and steals the purple colour
    from the front page design in #589.
  5. do not display divisions that a policy abstains on

    struan committed Apr 21, 2015
    On PublicWhip it's possible to list a division as abstained to indicate
    that it's related to a policy but that it doesn't count towards an MPs
    position on the policy. This is probably just a bit to confusing for
    TheyWorkForYou so don't include them in the list of divisions for a
    policy.
    
    Fixes #830
Commits on Apr 20, 2015
Commits on Apr 19, 2015
Commits on Apr 15, 2015
  1. Import from new minister JSON.

    dracos committed Apr 14, 2015
  2. Parameterize a few missing db queries.

    dracos committed Apr 15, 2015
    Escape a few variables. Turn off Scrutinizer failure options on issues,
    as it is failing to filter out false positives.
Commits on Apr 14, 2015
Commits on Apr 13, 2015
  1. extract test GetConnection out to abstract class and inherit

    struan committed Apr 9, 2015
    rather than having the same getConnection method in all the database
    tests extract it out to an abstract class and inherit from that.
    Also move the includes for it and the FetchPage test class to the
    bootstrapper so they don't need to be included in every file.
  2. Merge branch 'improved-testing'

    jacksonj04 committed Apr 13, 2015
  3. update commonlib to latest version

    struan committed Apr 13, 2015
    For removal of PHP short tags
Commits on Apr 12, 2015
  1. Update PHPUnit to 4.6 to prevent Gemnasium version warning.

    jacksonj04 committed Apr 12, 2015
    Also updates Composer to latest version.
Commits on Apr 10, 2015
  1. show that someone was teller on a vote

    struan committed Apr 10, 2015
    add a case to handle teller votes, and also italicize the bill titles in
    cases where we're not using the single line descriptions.
    
    Fixes #809
Commits on Apr 9, 2015
  1. Link policy to Policy page on PublicWhip

    struan committed Apr 9, 2015
    Rather than a generic PublicWhip link link to the equivalent page there.
    
    For #807
  2. improve layout of policy editing interface

    struan committed Apr 9, 2015
    Sort out the display of the fields, add a bit of spacing to the list of
    policies and sort the ordering. Also add in the policy id to the list to
    make it easier to find a specific policy.
  3. Correct policy position text if MP has never voted

    struan committed Apr 9, 2015
    The policy position text on the divisions page assumed that the MP
    always had a position on a policy so did not read well if they had never
    voted (e.g the speaker).
  4. prefer TWFY wording for Policy descriptions over PW

    struan committed Apr 9, 2015
    The PW descriptions are both constrained in length and also need to
    express a position which means they can be a bit confusing on TWFY.
    This updates the policy import script to update the titles and
    descriptions and also the JSON importer to not overwrite the local
    descriptions.
    
    Fixes #806
Commits on Apr 7, 2015
  1. Show weak votes by default if there are no strong votes

    struan committed Apr 7, 2015
    It's possible than an MP may only have voted on weak votes associated
    with a policy in which case it makes no sense to hide them and force the
    user to have to click a button to see any content on the page. In this
    situation hide the button and display all the votes.