aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* No tabs for indentationRobin Houston2012-01-26-1/+1
|
* Fix #372Robin Houston2012-01-26-1/+1
|
* Remove trailing spacesRobin Houston2012-01-26-1/+1
|
* Simplify search logic so it doesn't depend on sessions. Also fixes #338Seb Bacon2012-01-25-29/+7
|
* Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkSeb Bacon2012-01-25-9/+3
|\ | | | | | | | | Conflicts: app/controllers/request_controller.rb
| * Remove misleading copy-pasted commentRobin Houston2012-01-24-9/+1
| |
| * Logging for fragment cacheRobin Houston2012-01-21-0/+2
| |
| * bug fixRobin Houston2012-01-20-1/+1
| |
* | Return a 404 for missing user profile pictures. Fixes #363Seb Bacon2012-01-24-1/+2
| |
* | Ensure short cache keys for interlock. Fixes #362Seb Bacon2012-01-24-1/+2
| |
* | Bug: we are causing a 500 when trying to raise 404 because the arguments to ↵Seb Bacon2012-01-24-1/+2
|/ | | | the exception constructor are wrong.
* Don't allow users to page beyond a certain number of results (because in ↵Seb Bacon2012-01-20-5/+8
| | | | large databases, the sorting of such large batches causes an extreme slowdown).
* Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkRobin Houston2012-01-19-1/+1
|\
| * Don't obscure user searches on request listing page behind cache. Fixes #256Robin Houston2012-01-19-1/+1
| |
* | Record URL and PID *before* a request is processedRobin Houston2012-01-19-0/+1
|/ | | | | | | (If DEBUG_RECORD_MEMORY is enabled) This is useful for tracking down bugs that cause Rails to go into an infinite or very long loop, as the recent Xapian wildcard bug does.
* Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkSeb Bacon2012-01-19-15/+39
|\
| * Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkRobin Houston2012-01-19-9/+26
| |\
| | * Merge branch 'release/0.5' into wdtkRobin Houston2012-01-19-4/+8
| | |\ | | | | | | | | | | | | | | | | Conflicts: app/views/public_body/_search_ahead.rhtml
| | | * Return a 404 for broken attachment urls. Fixes #351.Seb Bacon2012-01-18-1/+2
| | | |
| | | * Catch timeouts and other extra errors when connection to 3rd party websites ↵Seb Bacon2012-01-18-1/+1
| | | | | | | | | | | | | | | | fails.
| | | * Fix paging bug for type ahead search. This wasn't caught because the spec ↵Seb Bacon2012-01-18-2/+5
| | | | | | | | | | | | | | | | didn't call "integrate_views", so the rendering part was mocked by RSpec instead of executed.
| | * | Merge branch 'wdtk' of https://github.com/sebbacon/alaveteli into wdtkRobin Houston2012-01-19-0/+7
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: app/controllers/application_controller.rb
| | * | | Limit Xapian wildcard expansionsRobin Houston2012-01-19-5/+18
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wildcard searches in Xapian can expand uncontrollably, consuming all available RAM and crashing the server. This has been a real problem on WhatDoTheyKnow.com. The underlying issue is tracked in http://trac.xapian.org/ticket/350 This changeset imposes a limit on wildcard expansion. The type-ahead search will first try a wildcard query, and if that fails because of too much expansion will fall back to a plain non-wildcard search.
| * | | Whitespace cleanupRobin Houston2012-01-19-6/+6
| | |/ | |/|
| * | Forbid very slow-to-load results pagesRobin Houston2012-01-19-0/+7
| | | | | | | | | | | | Another temporary patch to protect the live site.
| * | Disable Xapian wildcardsRobin Houston2012-01-19-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | Do not use FLAG_WILDCARD or FLAG_PARTIAL anywhere, because wildcard searches can crash the whole server as per http://trac.xapian.org/ticket/350 (e.g. http://www.whatdotheyknow.com/body/search_ahead?query=app will crash the server prior to this commit.) This is a temporary fix while we investigate the possibilities of the set_max_wildcard_expansion() method, which should make it possible to alleviate this issue.
* | Show some info about the Alaveteli version currently running. Fixes #319.Seb Bacon2012-01-19-0/+4
| |
* | Don't choke on very long filenames when caching attachments. Fixes #349.Seb Bacon2012-01-19-1/+4
|/
* Don't allow directory listings (better fix for and closes #340).Seb Bacon2012-01-17-10/+7
|
* Actually do a proper ORed and partial match query, rather than fix parsing ↵Seb Bacon2012-01-17-10/+18
| | | | errors ad hoc as I find them that result from the workaround code. Fixes #328 (for good, I hope).
* Fail silently if third party services are broken or unavailable. Fixes #354.Seb Bacon2012-01-17-8/+19
|
* include "return" or the rest of the controller still gets executed... ↵Seb Bacon2012-01-14-1/+1
| | | | Belongs with commit a39f71ee21739eb754688f185c59c3a7f209aaa8
* Redirect /list/recent requests to /list/all.Seb Bacon2012-01-14-1/+4
|
* Default site search should search everything. Fixes #341.Seb Bacon2012-01-13-1/+1
|
* Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵Seb Bacon2012-01-13-1/+1
| | | | issue #343.
* Show internal_review (and some other) items in the "unresolved" list. Fixes ↵Seb Bacon2012-01-13-1/+1
| | | | #344.
* Ensure we show "all requests" in order that they were last updated. FIxes #343.Seb Bacon2012-01-13-1/+1
|
* Correction to commit 4808347cb65556756d38b60b25fa9761f92c4513Seb Bacon2012-01-13-1/+0
|
* Further refinement for issue #340Seb Bacon2012-01-13-2/+2
|
* Fix further special character searches as per issue #328Seb Bacon2012-01-13-0/+1
|
* Merge branch 'release/0.5' of https://github.com/sebbacon/alaveteli into ↵Robin Houston2012-01-12-13/+23
|\ | | | | | | | | | | | | release/0.5 Conflicts: app/controllers/request_controller.rb
| * Further fix for issue #328.Seb Bacon2012-01-12-2/+2
| |
| * Further fix for issue #328.Seb Bacon2012-01-12-2/+1
| |
| * Return 404 for non-existent 'details' pages. Fixes #325Seb Bacon2012-01-12-4/+7
| |
| * Return 403 when attachment "folders" are spidered. Fixes #340Seb Bacon2012-01-12-4/+12
| |
* | Set a variable the view relies onRobin Houston2012-01-12-0/+1
|/
* Fix problem with typeahead searches containing " - " characters and similar. ↵Seb Bacon2012-01-11-14/+23
| | | | Closes #328
* Don't give an error to users with an invalid postredirect token. Closes #334.Seb Bacon2012-01-11-2/+4
|
* Old feed URLs should continue to workRobin Houston2012-01-09-1/+8
|
* Match public bodies by tag regardless of localeSeb Bacon2012-01-09-1/+1
|