aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Disable paginationRobin Houston2012-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.5Robin Houston2012-01-17-36/+45
|\
| * Force the 'C' locale for elinksRobin Houston2012-01-17-3/+3
| | | | | | | | | | The behaviour of elinks is locale-dependent. This patch forces LANG=C which makes the behaviour consistent across platforms.
| * Comment typoRobin Houston2012-01-17-1/+1
| |
| * Upgrade commonlibRobin Houston2012-01-17-0/+0
| | | | | | | | Because we want the new version of external_command.rb
| * Explicitly specify little-endian UCS-2Robin Houston2012-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.
| * Flexible location for validate utilityRobin Houston2012-01-17-3/+11
| | | | | | | | | | Allow the WDG HTML validation utility "validate" to be anywhere in UTILITY_SEARCH_PATH, rather than hard-coding /usr/bin.
| * Use AlaveteliExternalCommand for unrtfRobin Houston2012-01-17-3/+1
| |
| * Use AlaveteliExternalCommand for pdf recompressionRobin Houston2012-01-17-7/+3
| |
| * Replace all `which command` callsRobin Houston2012-01-17-14/+10
| | | | | | | | | | | | | | | | | | | | 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.
| * Typo whoopsRobin Houston2012-01-17-1/+1
| |
| * Call uudecode via AlaveteliExternalCommandRobin Houston2012-01-17-3/+1
| | | | | | | | | | | | So do not rely on a hard-coded path. Also change the order of arguments and use /dev/stdout rather than -, so it works with the Mac/BSD version of uudecode as well as the Linux version.
| * Do not hard-code the path to pdftohtmlRobin Houston2012-01-17-3/+1
| |
| * Paths for external commandsRobin Houston2012-01-17-1/+16
| | | | | | | | | | | | Look for external commands in a config-defined path (defaulting to /usr/bin:/usr/local/bin), rather than requiring the path to be hard-coded or the caller to resolve it.
| * Merge branch 'release/0.5' into wdtkRobin Houston2012-01-17-45/+6350
| |\
* | | Don't allow directory listings (better fix for and closes #340).Seb Bacon2012-01-17-13/+13
| |/ |/|
* | Test for commit 9099f63a364242764da529c109166e69fd2ec606Seb Bacon2012-01-17-2/+2
| |
* | Test belonging to commit a39f71ee21739eb754688f185c59c3a7f209aaaSeb Bacon2012-01-17-3/+3
| |
* | Test fix that belongs to e82ca928a140400f8446dba85014a0c9059e789bSeb Bacon2012-01-17-1/+1
| |
* | Actually do a proper ORed and partial match query, rather than fix parsing ↵Seb Bacon2012-01-17-18/+39
| | | | | | | | 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-14/+6304
| |
* | Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5Seb Bacon2012-01-17-1/+1
|\|
| * Fix constant name in stringRobin Houston2012-01-16-1/+1
| |
* | Don't repeat "no results" message for public bodies.Seb Bacon2012-01-16-2/+1
| |
* | remove gawping people logo from core styles. Fixes #347.Seb Bacon2012-01-16-5/+0
|/
* 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
|
* Fix "uninitialized class variable @@db in ActsAsXapian::QueryBase" bug ↵Seb Bacon2012-01-14-1/+1
| | | | introduced in 0aafbd4a25b5c4c0edbd87c2224dcdd18388ede5
* Fix that should belong with e82ca928a140400f8446dba85014a0c9059e789bSeb Bacon2012-01-13-1/+1
|
* Merge branch 'fast-search-hack' into wdtk. Addresses the second slow SQL ↵Seb Bacon2012-01-13-6/+23
|\ | | | | | | example at issue #327, at least in part.
| * Changes to make normal search pages not necessarily load info_request_events ↵Seb Bacon2012-01-12-6/+23
| | | | | | | | every time
* | Use relative path for admin forms. Fixes #346.Seb Bacon2012-01-13-3/+3
| |
* | Default site search should search everything. Fixes #341.Seb Bacon2012-01-13-2/+2
| |
* | Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵Seb Bacon2012-01-13-21/+78
| | | | | | | | issue #343.
* | Show internal_review (and some other) items in the "unresolved" list. Fixes ↵Seb Bacon2012-01-13-1/+11
| | | | | | | | #344.
* | Ensure we show "all requests" in order that they were last updated. FIxes #343.Seb Bacon2012-01-13-4/+7
| |
* | Show correct number of requests for logged in user on their user page.Seb Bacon2012-01-13-1/+1
| |
* | Correction to commit 4808347cb65556756d38b60b25fa9761f92c4513Seb Bacon2012-01-13-1/+0
| |
* | Further refinement for issue #340Seb Bacon2012-01-13-2/+4
| |
* | Fix further special character searches as per issue #328Seb Bacon2012-01-13-1/+3
| |
* | To get around occasional race conditions, instead of forcing an fsync, retry ↵Seb Bacon2012-01-13-10/+24
| | | | | | | | getting the body a few times before failing. May be related to issue #333 and #339
* | fix typoSeb Bacon2012-01-13-2/+2
| |
* | Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5Seb Bacon2012-01-13-10/+54
|\ \ | |/ |/|
| * Make sure acts_as_xapian is loaded only onceRobin Houston2012-01-12-8/+11
| | | | | | | | | | | | | | | | | | | | | | This silences the warnings: warning: already initialized constant MSET_MAX_TRIES warning: already initialized constant MSET_MAX_DELAY coming from vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb and also resolves an XXXX-marked issue.
| * Set RailsEnv to production in the Apache configRobin Houston2012-01-12-0/+1
| |
| * Merge branch 'release/0.5' of https://github.com/sebbacon/alaveteli into ↵Robin Houston2012-01-12-46/+105
| |\ | | | | | | | | | | | | | | | | | | release/0.5 Conflicts: app/controllers/request_controller.rb
| | * Retry if we get a DatabaseModifiedError from XapianRobin Houston2012-01-12-1/+24
| | |
| | * Merge branch 'release/0.5' into wdtkRobin Houston2012-01-12-5/+16
| | |\
| | | * Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5Robin Houston2012-01-12-3972/+5409
| | | |\
| | | * | Improve SQL performanceRobin Houston2012-01-12-1/+12
| | | | | | | | | | | | | | | | | | | | Replace a slow query with a much faster equivalent one.