Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Rollback refactoring of event_type validation that broke various tests | Seb Bacon | 2012-05-23 | -19/+24 |
| | ||||
* | Merge from wombleton:feature/440_sparkly_admin_css | Seb Bacon | 2012-05-23 | -39/+91 |
| | | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users | |||
* | Remove trailing whitespace (to make a cleaner forthcoming merge with ↵ | Seb Bacon | 2012-05-15 | -209/+209 |
| | | | | wombleton:feature/440_sparkly_admin_css) | |||
* | Correctly create tracks for searches that are filtered by variety:authority ↵ | Seb Bacon | 2012-05-11 | -1/+1 |
| | | | | via the search UI | |||
* | Improve handling of nil for public body notes | David Cabo | 2012-05-08 | -1/+1 |
| | ||||
* | Don't ever create more than one entry for each URL that we want Varnish to ↵ | Seb Bacon | 2012-05-04 | -3/+6 |
| | | | | purge. | |||
* | Empty the purge queue even for failed requests (otherwise we will be ↵ | Seb Bacon | 2012-05-04 | -3/+1 |
| | | | | endlessly polling the Varnish server until its fixed). Administrators should check the logs for failed purges. | |||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-05-03 | -6/+75 |
|\ | ||||
| * | Make sure the purge queue is cleared at least every 30 seconds | Seb Bacon | 2012-05-02 | -1/+1 |
| | | ||||
| * | Another change to make track descriptions deterministic, so tests can work ↵ | Seb Bacon | 2012-05-02 | -3/+2 |
| | | | | | | | | reliably | |||
| * | Don't set attachment size explicitly -- can result in race condition which ↵ | Seb Bacon | 2012-05-02 | -1/+0 |
| | | | | | | | | incorrectly sets size to 0K, and is set when the attachment body is created anyway. | |||
| * | Ensure we always return a string of some kind when asking for the ↵ | Seb Bacon | 2012-05-02 | -1/+1 |
| | | | | | | | | short_or_long_name of a public body | |||
| * | Make the order of words in a track_thing description deterministic, so the ↵ | Seb Bacon | 2012-05-02 | -0/+1 |
| | | | | | | | | test always passes | |||
| * | Add a method to run the purge process in a continuous loop | Seb Bacon | 2012-05-02 | -1/+15 |
| | | ||||
| * | Use routing system to work out URL of request to purge, rather than hard ↵ | Seb Bacon | 2012-05-02 | -1/+5 |
| | | | | | | | | coding it. | |||
| * | More changes and refactoring to make purges work. | Seb Bacon | 2012-04-20 | -13/+35 |
| | | ||||
| * | Merge branch 'develop' into purge-requests | Seb Bacon | 2012-04-19 | -5/+3 |
| |\ | | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | | first stab at sending PURGE requests to upstream varnish for request pages. ↵ | Seb Bacon | 2012-03-13 | -1/+31 |
| | | | | | | | | | | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job. | |||
| * | | Don't add http when https is present | Henare Degan | 2012-03-13 | -1/+1 |
| | | | ||||
| * | | Don't add extra www characters to web addresses that have been explicitly ↵ | Henare Degan | 2012-03-13 | -1/+1 |
| | | | | | | | | | | | | defined | |||
| * | | Refactor method | Henare Degan | 2012-03-13 | -17/+4 |
| | | | ||||
| * | | Make public authority home page links work. Fixes #271 | Henare Degan | 2012-03-13 | -1/+6 |
| | | | ||||
* | | | Filter public body tracks by event type | Robin Houston | 2012-05-03 | -23/+31 |
| |/ |/| | | | | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent. | |||
* | | use Rails.root, not RAILS_ROOT | James McKinney | 2012-04-02 | -1/+1 |
| | | ||||
* | | Merge branch 'wdtk' into develop | Robin Houston | 2012-03-20 | -2/+2 |
|\ \ | ||||
| * | | Fix the "log in as" function | Robin Houston | 2012-03-20 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the "log in as" function after 3b6e5a692b852a88f55b21a7210f60a6f7cfc24b would attempt to log the admin user out before issuing the redirect. Unfortunately this approach does not work on WhatDoTheyKnow, where the admin pages are served via a different domain (secure.mysociety.org) and so do not share session information with the rest of the site. This commit changes it to mark the PostRedirect with circumstance == "login_as", which signals the user controller to log out the previous user even if they are an admin. In other words, the user is logged out on the main site rather than the admin site, skirting this problem. Closes #450. | |||
| * | | Only trailing whitespace | Robin Houston | 2012-02-16 | -1/+1 |
| |/ | ||||
* | | Merge branch 'merged-bundler' into develop | Seb Bacon | 2012-03-12 | -2/+0 |
|\ \ | ||||
| * | | Merge jpmckinney/bundler | Seb Bacon | 2012-02-15 | -2/+0 |
| |/ | ||||
* | | Don't add http when https is present | Henare Degan | 2012-02-17 | -1/+1 |
| | | ||||
* | | Don't add extra www characters to web addresses that have been explicitly ↵ | Henare Degan | 2012-02-16 | -1/+1 |
| | | | | | | | | defined | |||
* | | Refactor method | Henare Degan | 2012-02-16 | -17/+4 |
| | | ||||
* | | Make public authority home page links work. Fixes #271 | Henare Degan | 2012-02-16 | -1/+6 |
|/ | ||||
* | Don’t index unconfirmed users | Robin Houston | 2012-02-06 | -1/+6 |
| | | | | Closes #415. | |||
* | Let admin users use auto-login URLs | Robin Houston | 2012-02-06 | -0/+6 |
| | | | | | | Don't change logged-in user from an admin when visiting a auto-login URL. Closes #306. | |||
* | Change wording of rate-limited page | Robin Houston | 2012-02-05 | -0/+10 |
| | | | | | Include information about what the per-day limit is, and when the user can next make a request. Fixes #412. | |||
* | Specify attachment ordering | Robin Houston | 2012-02-03 | -1/+1 |
| | | | | | | | | | | | | | | | So it turns out that issue #408 is a real and potentially nasty bug. The code was assuming that attachments are returned in the order they were created, which is a) not guaranteed to be the case, and b) sometimes actually not the case, hence the occasional test failures. This trivial patch corrects the issue by sorting attachments by id. The effect of this is to return them in the order they were added to the database, since all were added using the same sequence in a single database session. Fixes #408. | |||
* | Remove trailing whitespace | Robin Houston | 2012-02-03 | -2/+2 |
| | ||||
* | Remove trailing whitespace | Robin Houston | 2012-02-02 | -1/+1 |
| | ||||
* | Merge branch 'wdtk' into release/0.5 | Robin Houston | 2012-02-01 | -1/+1 |
|\ | | | | | | | | | Conflicts: locale/app.pot | |||
| * | Change (Banned) to (Account suspended) | Robin Houston | 2012-01-31 | -1/+1 |
| | | | | | | | | | | | | | | | | When a user account has been suspended, we write (Banned) after their user name. But sometimes we need to suspend accounts temporarily, such as pending the result of a discussion, and it is misleading to write (Banned) in such cases; so let’s change it to (Account suspended) instead. | |||
* | | A missing i18n string | Seb Bacon | 2012-01-31 | -1/+1 |
|/ | ||||
* | Rate limiting | Robin Houston | 2012-01-29 | -3/+19 |
| | | | | | | Add the capability to specify a limit to the number of requests a user can make per day, which can be turned off for specific users in the admin interface. | |||
* | Fail faster | Robin Houston | 2012-01-29 | -0/+3 |
| | | | | | | Better error reporting when an incoming message has no raw_email. This is useful if you make a mistake when creating new test data, to pick an example application completely at random (not). | |||
* | Raise exception if $RAILS_ENV is unset | Robin Houston | 2012-01-29 | -1/+5 |
| | | | | | If $RAILS_ENV is unset, raise an exception rather than just blithely creating a directory called cache/attachments_. | |||
* | Remove references to removed database columns | Robin Houston | 2012-01-24 | -24/+2 |
| | | | | | Remove the references to raw_emails.data_text and data_binary, which have not existed since the summer. | |||
* | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Seb Bacon | 2012-01-19 | -8/+7 |
|\ | ||||
| * | Don't raise an error if the user deletes a track through the UI. Fixes #353. | Seb Bacon | 2012-01-18 | -8/+7 |
| | | ||||
* | | Use an atomic write when storing email data. | Seb Bacon | 2012-01-19 | -1/+1 |
| | | ||||
* | | Always show the right search snippet. Fixes #352. | Seb Bacon | 2012-01-19 | -1/+21 |
|/ |