Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-06-23 | -4/+9 |
|\ | | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb | |||
| * | Only extend the cache time on InfoRequest views for sites with Varnish ↵ | Seb Bacon | 2012-06-20 | -1/+7 |
| | | | | | | | | purging set up | |||
| * | Increase the time a page is cached for sites that are using Varnish. ↵ | Seb Bacon | 2012-06-20 | -1/+1 |
| | | | | | | | | Relatedly, document the consequences of getting the Varnish config wrong; and make it easier to grep for problems with Varnish in the log. | |||
| * | Revert "Set a "Content-Disposition: attachment" header when downloading ↵ | Seb Bacon | 2012-06-15 | -2/+1 |
| | | | | | | | | | | | | | | | | files. Closes #428" This reverts commit 506af7a640f63b17000ccfc5e1344bbc3039c913. See issue #428 for a discussion | |||
| * | Make emails requesting admin attention appear to come from the user who ↵ | Seb Bacon | 2012-06-12 | -1/+1 |
| | | | | | | | | requested the attention, not the user who made the original request. | |||
* | | Improve explanation | Robin Houston | 2012-06-06 | -2/+4 |
| | | | | | | | | | | I struggled to understand this comment. I hope the new wording is clearer. | |||
* | | Redirect numeric request URLs in JSON mode too | Robin Houston | 2012-06-06 | -1/+1 |
|/ | | | | | | URLs such as http://localhost:3000/en/request/106.json should be redirected to the corresponding named URL, including the .json on the end. | |||
* | Prevent spiders from reporting requests | Robin Houston | 2012-06-03 | -0/+6 |
| | | | | | | | Make the "report request" button submit a POST rather than a GET request. Also restrict this action to logged-in users. Fixes #501. | |||
* | File.dirname(__FILE__) is not necessarily absolute | Robin Houston | 2012-06-03 | -1/+1 |
| | | | | | | | It’s weird that there’s so much code here that implicitly assumes File.dirname(__FILE__) is an absolute path, because really in general it very much is not! This assumption was invalidated by the recent bundler-awareness changes. | |||
* | Test for reporting functionality | Seb Bacon | 2012-05-24 | -1/+3 |
| | ||||
* | First stab at new feature. Adds new box in sidebar for reporting an issue, a ↵ | Seb Bacon | 2012-05-24 | -0/+11 |
| | | | | | | new "needs admin attention"-type state to InfoRequests, a flag indicating that a request has ever been marked as needing admin attention, and a controller method and route for setting this state & flag. Also adds the reason something needs admin attention to the subject of the email that gets sent to administrators. Neeeds tests. | |||
* | Remove trailing whitespace (to make a cleaner forthcoming merge with ↵ | Seb Bacon | 2012-05-15 | -50/+50 |
| | | | | wombleton:feature/440_sparkly_admin_css) | |||
* | Don't cache results from pages with different locales using the same key. ↵ | Seb Bacon | 2012-05-04 | -1/+1 |
| | | | | Fixes #454 | |||
* | Admin users clicking confirmation links | Robin Houston | 2012-03-13 | -1/+7 |
| | | | | Fixes #446. See issue for details. | |||
* | Set a "Content-Disposition: attachment" header when downloading files. ↵ | Seb Bacon | 2012-02-15 | -1/+2 |
| | | | | Closes #428 | |||
* | Trailing whitespace | Robin Houston | 2012-02-10 | -1/+1 |
| | ||||
* | Make /similar/request/NONESUCH a 404 not 500 error | Robin Houston | 2012-02-10 | -1/+3 |
| | | | | Fixes #421. | |||
* | Change wording of rate-limited page | Robin Houston | 2012-02-05 | -0/+2 |
| | | | | | Include information about what the per-day limit is, and when the user can next make a request. Fixes #412. | |||
* | issue #351 redux | Robin Houston | 2012-02-01 | -1/+4 |
| | | | | Corrected diagnosis, test & fix for issue #351. Fixes #351. | |||
* | Keep message text if user is rate-limited | Robin Houston | 2012-01-31 | -4/+19 |
| | | | | | | | If a user cannot make new requests because they are rate-limited, and they compose a request whilst logged out, include the text of the request in the message that explains about the rate limit so it is not lost. | |||
* | Rate limiting | Robin Houston | 2012-01-29 | -2/+6 |
| | | | | | | 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. | |||
* | Fix #372 | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Remove trailing spaces | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Ensure short cache keys for interlock. Fixes #362 | Seb Bacon | 2012-01-24 | -1/+2 |
| | ||||
* | Bug: we are causing a 500 when trying to raise 404 because the arguments to ↵ | Seb Bacon | 2012-01-24 | -1/+2 |
| | | | | the exception constructor are wrong. | |||
* | Don't allow users to page beyond a certain number of results (because in ↵ | Seb Bacon | 2012-01-20 | -5/+8 |
| | | | | large databases, the sorting of such large batches causes an extreme slowdown). | |||
* | Don't obscure user searches on request listing page behind cache. Fixes #256 | Robin Houston | 2012-01-19 | -1/+1 |
| | ||||
* | Merge branch 'release/0.5' into wdtk | Robin Houston | 2012-01-19 | -1/+2 |
|\ | | | | | | | | | Conflicts: app/views/public_body/_search_ahead.rhtml | |||
| * | Return a 404 for broken attachment urls. Fixes #351. | Seb Bacon | 2012-01-18 | -1/+2 |
| | | ||||
* | | Forbid very slow-to-load results pages | Robin Houston | 2012-01-19 | -0/+7 |
|/ | | | | Another temporary patch to protect the live site. | |||
* | Don't allow directory listings (better fix for and closes #340). | Seb Bacon | 2012-01-17 | -10/+7 |
| | ||||
* | include "return" or the rest of the controller still gets executed... ↵ | Seb Bacon | 2012-01-14 | -1/+1 |
| | | | | Belongs with commit a39f71ee21739eb754688f185c59c3a7f209aaa8 | |||
* | Redirect /list/recent requests to /list/all. | Seb Bacon | 2012-01-14 | -1/+4 |
| | ||||
* | Further refinement for issue #340 | Seb Bacon | 2012-01-13 | -2/+2 |
| | ||||
* | Merge branch 'release/0.5' of https://github.com/sebbacon/alaveteli into ↵ | Robin Houston | 2012-01-12 | -10/+16 |
|\ | | | | | | | | | | | | | release/0.5 Conflicts: app/controllers/request_controller.rb | |||
| * | Further fix for issue #328. | Seb Bacon | 2012-01-12 | -2/+1 |
| | | ||||
| * | Return 404 for non-existent 'details' pages. Fixes #325 | Seb Bacon | 2012-01-12 | -4/+7 |
| | | ||||
| * | Return 403 when attachment "folders" are spidered. Fixes #340 | Seb Bacon | 2012-01-12 | -3/+7 |
| | | ||||
* | | Set a variable the view relies on | Robin Houston | 2012-01-12 | -0/+1 |
|/ | ||||
* | Fix problem with typeahead searches containing " - " characters and similar. ↵ | Seb Bacon | 2012-01-11 | -7/+1 |
| | | | | Closes #328 | |||
* | Fix zip-attachment functionality | Seb Bacon | 2012-01-06 | -1/+2 |
| | ||||
* | Don't wildcard search public bodies when making a request (it causes ↵ | Seb Bacon | 2012-01-06 | -2/+1 |
| | | | | performance issues and isn't useful here anyway) | |||
* | Ensure we only parse emails when needed by referring to a new last_parsed ↵ | Seb Bacon | 2011-12-21 | -0/+1 |
| | | | | field on incoming_messages. Currently mails are always parsed just-in-time, but could be parsed as a queue in the future. | |||
* | Merge branch 'develop' into cache-foi-attachments-seb | Seb Bacon | 2011-12-21 | -6/+8 |
|\ | | | | | | | | | Conflicts: app/controllers/request_controller.rb | |||
| * | Don't do wildcard searches for partial matches in type ahead searches. ↵ | Seb Bacon | 2011-12-21 | -5/+8 |
| | | | | | | | | Fixes #310. | |||
* | | Further improvements to attachment caching | Seb Bacon | 2011-12-13 | -1/+2 |
|/ | ||||
* | Fix occasional test failures due to two events happening in the same second ↵ | seb | 2011-11-21 | -1/+1 |
| | | | | being treated as one for the purposes of caching. Fixes #290. | |||
* | Removed hardcoded number of days. Fixes #199 | David Cabo | 2011-09-26 | -2/+3 |
| | ||||
* | Remove invalid collate argument for public body searches | David Cabo | 2011-09-23 | -1/+1 |
| | | | | The existing bug wasn't catched by the tests, because it only fails when running in dev: otherwise all the classes are loaded before the search is done, and acts_as_xapian can find the provided 'request_collapse' argument, even if the PublicBody class doesn't define it, since all the init options end up together in acts_as_xapian. | |||
* | Improved error logging when zipfile PDF creation fails | Seb Bacon | 2011-09-16 | -1/+1 |
| |