Commits on Nov 30, 2017
  1. Add job advert.

    dracos committed Nov 30, 2017
Commits on Oct 18, 2017
  1. Revert "Temporary change to banner to announce overnight maintenance …

    sagepe committed Oct 18, 2017
    …on 2017-10-18"
    This reverts commit 768464b.
    Maintenance is complete, restore banner.
Commits on Sep 21, 2017
  1. Revert "Temporary change to the banner to announce overnight maintena…

    sagepe committed Sep 21, 2017
    This reverts commit dfd14d2.
    Maintenance is complete, restore banner.
Commits on Sep 19, 2017
Commits on Jul 4, 2017
  1. remove demographics survey test code

    struan committed Jul 4, 2017
    We don't do the demographic survey any more so remove the code that
    tests it.
  2. make space in Auto reply option when bounce handling

    struan committed Jul 4, 2017
    Some systems don't seem to put in a space here which means that the auto
    reply ends up in the queue as a bounce instead of being forwarded on.
    Fixes #374
Commits on Apr 7, 2017
  1. Fetch all results in needattention search query.

    dracos committed Apr 7, 2017
    This is wanted behaviour anyway, but it should be noted that when a
    limit was added to this query by f575a04 it got very slow. Some
    probably relevant discussion at
     Limit  (cost=0.00..2423.78 rows=100 width=25) (actual time=0.739..2564.943 rows=1 loops=1)
       ->  Index Scan Backward using message_created_idx on message (cost=0.00..304668.54 rows=12570 width=25) (actual time=0.739..2564.942 rows=1 loops=1)
             Filter: ((frozen AND (state <> 'failed_closed'::text) AND (state <> 'failed'::text) AND (state <> 'pending'::text) AND (state <> 'new'::text)) OR (state = 'bounce_confirm'::text))
     Total runtime: 2564.976 ms
    Removing the limit, or adding an unneeded order by, the query is fine:
     Limit  (cost=39936.22..39936.47 rows=100 width=25) (actual time=30.364..30.364 rows=1 loops=1)
       ->  Sort  (cost=39936.22..39967.64 rows=12570 width=25) (actual time=30.362..30.362 rows=1 loops=1)
             Sort Key: created, id
             Sort Method: quicksort  Memory: 25kB
             ->  Bitmap Heap Scan on message  (cost=545.32..39455.80 rows=12570 width=25) (actual time=29.706..30.353 rows=1 loops=1)
                   Recheck Cond: (frozen OR (state = 'bounce_confirm'::text))
                   Filter: ((frozen AND (state <> 'failed_closed'::text) AND (state <> 'failed'::text) AND (state <> 'pending'::text) AND (state <> 'new'::text)) OR (state = 'bounce_confirm'::text))
                   ->  BitmapOr  (cost=545.32..545.32 rows=13511 width=0) (actual time=2.954..2.954 rows=0 loops=1)
                         ->  Bitmap Index Scan on message_frozen_idx (cost=0.00..534.31 rows=13511 width=0) (actual time=2.911..2.911 rows=14610 loops=1)
                               Index Cond: (frozen = true)
                         ->  Bitmap Index Scan on message_state_idx (cost=0.00..4.72 rows=1 width=0) (actual time=0.041..0.041 rows=35 loops=1)
                               Index Cond: (state = 'bounce_confirm'::text)
     Total runtime: 30.398 ms
Commits on Apr 6, 2017
  1. Make sure other admin searches are limited in size

    dracos committed Apr 6, 2017
    3431daf added pagination to person search, but this had the
    unwanted side effect of removing any limit from other queue
    searches (e.g. recently changed), causing awful performance
    issues. Make sure all searches always have a limit.
  2. PSR-2 and whitespace fixes.

    dracos committed Apr 6, 2017
  3. Do not update non-editable contact fields.

    dracos committed Apr 4, 2017
    And allow the editing of the note as that is safe now.
Commits on Mar 31, 2017
  1. PSR-2 fixes.

    dracos committed Mar 30, 2017
Commits on Feb 20, 2017
  1. Remove unused survey.

    dracos committed Feb 20, 2017
  2. Paginate admin search.

    dracos committed Feb 20, 2017
  3. Remove unused cobrand code.

    dracos committed Feb 20, 2017
  4. Fixes to test suite.

    dracos committed Feb 20, 2017
Commits on Feb 2, 2017
Commits on Dec 16, 2016
  1. Change the donations banner wording and utm_content

    mhl committed Dec 16, 2016
    @MyfanwyNixon asked to try changing the wording from "us" to "mySociety"
    to "give a little foretaste of the fact they'll be taken to a different
    This commit makes that change, and also changes the utm_content
    parameter to more closely reflect the link text.
  2. Add a donate banner for Christmas and New Year 2016

    mhl committed Dec 16, 2016
    This is a cherry-pick of commit b8b580c by Matthew
    as a basis for the banner for 2016.
    I've added utm_* GET query parameters for the donate banner for Google
    Analytics. These should help to track the effectiveness of having this
    banner in place over the Christmas and New Year period.
Commits on Nov 4, 2016
  1. Replace David Cameron with Theresa May

    abimysoc committed Nov 4, 2016
    The site already has Theresa May set as `prime_minister` but as the text is hard coded it still admonishes people not to write to David Cameron on her page. Fixes #349.
Commits on Oct 21, 2016
Commits on Oct 11, 2016
Commits on Oct 7, 2016
Commits on Oct 4, 2016
Commits on Oct 3, 2016