Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | No tabs for indentation | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | indentation | Robin Houston | 2012-01-26 | -31/+31 |
| | ||||
* | Fix #364 properly: third time lucky! | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Fix #364 properly (?) | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Fix #364 | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Clean up the indentation | Robin Houston | 2012-01-26 | -95/+95 |
| | ||||
* | Fix #372 | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Remove trailing spaces | Robin Houston | 2012-01-26 | -1/+1 |
| | ||||
* | Simplify search logic so it doesn't depend on sessions. Also fixes #338 | Seb Bacon | 2012-01-25 | -49/+24 |
| | ||||
* | Make sure we show user's alerts on their profile page. Fixes #342 | Seb Bacon | 2012-01-25 | -41/+41 |
| | ||||
* | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Seb Bacon | 2012-01-25 | -33/+5 |
|\ | | | | | | | | | Conflicts: app/controllers/request_controller.rb | |||
| * | 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. | |||
| * | Remove misleading copy-pasted comment | Robin Houston | 2012-01-24 | -9/+1 |
| | | ||||
| * | Logging for fragment cache | Robin Houston | 2012-01-21 | -0/+2 |
| | | ||||
| * | bug fix | Robin Houston | 2012-01-20 | -1/+1 |
| | | ||||
* | | Return a 404 for missing user profile pictures. Fixes #363 | Seb Bacon | 2012-01-24 | -1/+2 |
| | | ||||
* | | Ensure short cache keys for interlock. Fixes #362 | Seb Bacon | 2012-01-24 | -2/+3 |
| | | ||||
* | | 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 | -6/+9 |
| | | | | large databases, the sorting of such large batches causes an extreme slowdown). | |||
* | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Robin Houston | 2012-01-19 | -2/+2 |
|\ | ||||
| * | Don't obscure user searches on request listing page behind cache. Fixes #256 | Robin Houston | 2012-01-19 | -2/+2 |
| | | ||||
* | | Record URL and PID *before* a request is processed | Robin Houston | 2012-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 wdtk | Seb Bacon | 2012-01-19 | -36/+60 |
|\ | ||||
| * | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Robin Houston | 2012-01-19 | -20/+37 |
| |\ | ||||
| | * | Merge branch 'release/0.5' into wdtk | Robin Houston | 2012-01-19 | -15/+19 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: app/views/public_body/_search_ahead.rhtml | |||
| | | * | Return a 404 for broken attachment urls. Fixes #351. | Seb Bacon | 2012-01-18 | -1/+2 |
| | | | | ||||
| | | * | Don't raise an error if the user deletes a track through the UI. Fixes #353. | Seb Bacon | 2012-01-18 | -8/+7 |
| | | | | ||||
| | | * | Catch timeouts and other extra errors when connection to 3rd party websites ↵ | Seb Bacon | 2012-01-18 | -1/+1 |
| | | | | | | | | | | | | | | | | fails. | |||
| | | * | Ensure request typeahead search is tested properly (and fix a validation error). | Seb Bacon | 2012-01-18 | -1/+1 |
| | | | | ||||
| | | * | Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5 | Seb Bacon | 2012-01-18 | -31/+17 |
| | | |\ | ||||
| | | * | | Fix paging bug for type ahead search. This wasn't caught because the spec ↵ | Seb Bacon | 2012-01-18 | -5/+8 |
| | | | | | | | | | | | | | | | | | | | | 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 wdtk | Robin Houston | 2012-01-19 | -10/+17 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/controllers/application_controller.rb | |||
| | * | | | | Limit Xapian wildcard expansions | Robin Houston | 2012-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 cleanup | Robin Houston | 2012-01-19 | -6/+6 |
| | |/ / / | |/| | | | ||||
| * | | | | Forbid very slow-to-load results pages | Robin Houston | 2012-01-19 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | Another temporary patch to protect the live site. | |||
| * | | | | Disable Xapian wildcards | Robin Houston | 2012-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. | |||
| * | | | | Clean up whitespace & indentation | Robin Houston | 2012-01-18 | -10/+10 |
| |/ / / | ||||
* | | | | Show some info about the Alaveteli version currently running. Fixes #319. | Seb Bacon | 2012-01-19 | -0/+8 |
| | | | | ||||
* | | | | Use an atomic write when storing email data. | Seb Bacon | 2012-01-19 | -1/+1 |
| | | | | ||||
* | | | | Don't choke on very long filenames when caching attachments. Fixes #349. | Seb Bacon | 2012-01-19 | -1/+4 |
| | | | | ||||
* | | | | Always show the right search snippet. Fixes #352. | Seb Bacon | 2012-01-19 | -1/+21 |
|/ / / | ||||
* | | | Also disable paging for type-ahead search results | Robin Houston | 2012-01-17 | -1/+0 |
| | | | | | | | | | | | | Same problem as previous commit to this (wdtk) branch. | |||
* | | | Disable pagination | Robin Houston | 2012-01-17 | -1/+0 |
| |/ |/| | | | | | | | Pagination for authority search results in the new request workflow seems to be broken very badly, so disable it for now. | |||
* | | Merge branch 'wdtk' into release/0.5 | Robin Houston | 2012-01-17 | -31/+17 |
|\ \ | |/ |/| | ||||
| * | Force the 'C' locale for elinks | Robin Houston | 2012-01-17 | -2/+2 |
| | | | | | | | | | | The behaviour of elinks is locale-dependent. This patch forces LANG=C which makes the behaviour consistent across platforms. | |||
| * | Comment typo | Robin Houston | 2012-01-17 | -1/+1 |
| | | ||||
| * | Explicitly specify little-endian UCS-2 | Robin Houston | 2012-01-17 | -2/+2 |
| | | | | | | | | | | because for some reason iconv is assuming big-endian on my MacBook Pro (OS X 10.7.2) unless told explicitly, and this causes test failure. | |||
| * | Use AlaveteliExternalCommand for unrtf | Robin Houston | 2012-01-17 | -3/+1 |
| | | ||||
| * | Use AlaveteliExternalCommand for pdf recompression | Robin Houston | 2012-01-17 | -7/+3 |
| | | ||||
| * | Replace all `which command` calls | Robin Houston | 2012-01-17 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | The trouble with `which command` is twofold: - It spawns a whole shell just to find out the path to a binary, every time; - The results are environment-dependent, since they depend on $PATH. It would be better to specify the search path in the configuration file where everything else is specified rather than in the environment. This commit replaces it with the new mechanism from AlaveteliExternalCommand. |