aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alaveteli_external_command.rb
Commit message (Collapse)AuthorAgeLines
* Merge remote-tracking branch 'origin/hotfix/0.9.0.3' into rails-3-developLouise Crow2013-05-16-0/+4
|\ | | | | | | | | | | | | Conflicts: Rakefile app/models/contact_mailer.rb spec/models/contact_mailer_spec.rb
| * Add option to limit memory available to external commandsIan Chard2013-05-15-0/+4
| |
* | Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-2/+2
|/
* Add some comments documenting the option params for the run method, pass in ↵Louise Crow2012-12-04-2/+12
| | | | the binary_output flag if set.
* Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-3/+2
|
* Always provide a string for stdin (passing nil exposed an apparent bug in ↵Seb Bacon2012-07-17-1/+1
| | | | `uudecode` in Ubuntu 11.10)
* Force the 'C' locale for elinksRobin Houston2012-01-17-1/+1
| | | | | The behaviour of elinks is locale-dependent. This patch forces LANG=C which makes the behaviour consistent across platforms.
* Replace all `which command` callsRobin Houston2012-01-17-2/+2
| | | | | | | | | | 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.
* 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.
* Provide ability to download zip file containing complete request. Closes #11Seb Bacon2011-09-13-0/+33