Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 21, 2015
  1. @struan

    handle multiple speaker:NNNN when prettifying search string

    struan committed
    Move the handling of this out to the Search/Utility class and then use
    that everywhere so it's consistent and copes with multiple instances
    of speaker:NNNN in the search string
    Fixes #944
Commits on Sep 18, 2015
  1. @jacksonj04

    Clarification and updates to privacy policy.

    jacksonj04 committed
    * Fix grammatical error in "how to unsubscribe" title
    * Wrap the text to make it easier to scan
    * Update privacy policy to include a more in-depth Google Analytics section that explicitly states what we're doing (including use of demographic and advertiser features), Google's statement on analytics, and opt-out information.
Commits on Sep 17, 2015
  1. @struan

    Fix uninitialized value when a new policy divisions is added

    struan committed
    Whe a new policy division was added there was no current version of the
    division to compare it agains to see if the vote had changed from strong
    to weak so an uninitialized value warning was generated.
    We now check to see if there is an existing division before doing to
    Also add some comments to say what all this is doing
Commits on Sep 15, 2015
  1. @jacksonj04
  2. @jacksonj04
  3. @jacksonj04

    Remove Guardian gadget, and associated expenses functions.

    jacksonj04 committed
    @dracos advises that gadget is no longer used, stats agree.
  4. @jacksonj04
  5. @jacksonj04
  6. @jacksonj04
  7. @jacksonj04

    Extract alert utility functions to autoloadable utility class.

    jacksonj04 committed
    Also removed unused confirmation advert function.
  8. @jacksonj04

    Move calendar functions to autoloadable utility class.

    jacksonj04 committed
    Also added brackets to some conditions to clarify flow.
  9. @jacksonj04

    Move Gaze into Utility namespace for consistency.

    jacksonj04 committed
    Also renames function to camelCase for consistency.
  10. @jacksonj04

    Move postcode functions to autoloadable utility class.

    jacksonj04 committed
    Also removes unused parameters from functions.
  11. @jacksonj04

    Add twfy-test database back to Vagrant configuration.

    jacksonj04 committed
    Not sure where this disappeared, but it meant the default Vagrant test
    config wasn't able to connect to the database.
Commits on Sep 14, 2015
  1. @jacksonj04

    Photo update from admin web photo upload interface.

    Matthew Somerville committed with jacksonj04
  2. @jacksonj04

    Move constituency functions to autoloadable utility class.

    jacksonj04 committed
    Also removes `normalise_constituency_names`, as it is no longer used.
  3. @jacksonj04

    Clarifications and corrections to

    jacksonj04 committed
    * LICENSE.txt is no more, it's now
    * 30%+ test coverage isn't "very limited".
  4. @jacksonj04

    Remove .coveralls.yms file.

    jacksonj04 committed
    Coveralls is no longer used for code coverage reports (replaced by
    Scrutinizer), this is just a stray file.
  5. @struan

    add content disposition to set filename for person CSV

    struan committed
    Means that when you click on the Download list as CSV link on the people
    pages then it downloads a file rather than just spewing out the CSV into
    the browser.
    Fixes #654
  6. @struan

    Rewrite FAQ page

    struan committed
    remove/update some out of date information, questions that turned out not to be
    frequent and add some of the common support questions.
    Fixes #902
Commits on Sep 9, 2015
  1. @struan

    use correct email variable when getting list of user's alerts

    struan committed
    if the email was set from a token rather than the user having logged in
    then user->email was blank so need to use the one in data instead
  2. @struan
Commits on Sep 8, 2015
  1. @struan

    update Page class to use new header and footer

    struan committed
    call the Header and Footer data classes to generate the data,
    then spit out the new header and footer plus small about of
    wrapping HTML
    As part of this the Header class has been tidied up a bit to extract out
    the user variables code
    Fixes #938
Commits on Aug 24, 2015
  1. @jacksonj04

    Replace legacy className() constructors with future-proof __construct()

    jacksonj04 committed
    Old-style constructors will throw warnings in PHP 7, and will not be
    supported in PHP 8. This is mostly to keep the build logs free of
    warnings so we can see what is actually broken.
  2. @jacksonj04
  3. @jacksonj04

    Use Travis's new build infrastructure.

    jacksonj04 committed
    Builds seem faster to start, if not significantly faster to complete.
  4. @jacksonj04
  5. @jacksonj04

    Update PHPUnit dependency version to 4.8, update Dependencies.

    jacksonj04 committed
    Addresses Gemnasium warnings.
  6. @jacksonj04
  7. @dracos

    Add default empty PBC membership entries.

    dracos committed
    Prevents a warning when there are no memberships.
  8. @struan @dracos

    Put back hansard_calendar template

    struan committed with dracos
    needed for /calendar page.
  9. @zarino @dracos
Commits on Aug 19, 2015
  1. @struan

    Move alert pages to new design

    struan committed
    Slight updates to text and a bit of tidying up of the layout
    Fixes #929
Commits on Aug 18, 2015
  1. @struan

    check country code before displaying banner html

    struan committed
    If the country is set but it's not one of the ones that displays a
    message then we were displaying an empty banner so check if the country
    is in the list of countries we have messages for before displaying the
    surrounding banner HTML
  2. @zarino @struan

    Move people list pages to the new design

    zarino committed with struan
    Use same people list design as search pages.
    Include details of person's MP/MSP at the top if we know it.
    Fixes #838
Something went wrong with that request. Please try again.