| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
pdftohtml will use the file path as the basis for generating the
image links in the generated HTML, so we want them to be relative,
not absolute. Ruby 1.9 tempfile.path will generate an absolute
path when given the current directory as the tmpdir, whilst 2.0
and 1.8 will use a relative one.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Basic handling that is the same as for other process errors - just write to
stderr. Add TODO for allowing the calling code to specify an error stream
to allow other handling. In different circumstances, the calling code might want
to raise an exception, write to the log, or do something else. At the
moment this code assumes a cron context and writes to stderr, which will
cause an email to be sent from the cron process, but that's not always the
context the calling code is being run in. So we may be missing errors that are, for
example, being written to stderr during the request cycle.
In fact, this code may be called from the same
place with different contexts (i.e. as part of a cron reindexing task and
in the request cycle), so at the moment some substantial refactoring of the
calling code would be required to make sure calls to this code handle errors
appropriately for each context.
|
| |
| |
| |
| | |
To make it easier to find them in other output.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Clarify grouping of command and arguments with quotes.
|
| |
| |
| |
| |
| | |
There may be cases where the input is binary but the output is encoded
text.
|
| |
| |
| |
| | |
Document :timeout as a possible option key.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
We don't really want to make all the translators retranslate strings
that are basically the same but slightly tweaked in the English version.
So this task just replaces the msgid in the app.po files for each locale.
|
|/ /
| |
| | |
Just updating to first caps to match GUI context
|
| | |
|
|\ \ |
|
| |/ |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
We want the HTML to be encoding in the default encoding so that
it can be combined with other strings.
|
| |
| |
| |
| |
| |
| |
| |
| | |
[11:41:15] <louise> pere: did you decide if you'd prefer "Bokmål" to
"Norsk Bokmål" as the description?
[11:41:51] <pere> louise: yes. pull request will show up. We go with
Bokmål and Nynorsk in the web page, as it is now on
<URL: URL_REDACTED>.
|
|\ \
| | |
| | |
| | | |
ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
|
| |\ \ |
|
| | | | |
|
| | |/ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Seems more logical to make this one method that figures out what to do
based on file type. Plus, incoming message does so many things, it
seemed like having these related methods be separate would make them
easier to read and understand. Also, email, mobile and login
substitution texts weren't being translated. Finally, I think passing
the censor rules and masks as arguments is a first step in some more
decoupling of models.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Include URL and error in notification and log.
|
| |
| |
| |
| |
| | |
Although many times of errors are caught, the case where a connection
is made but no reply is received resulted in an uncaught Timeout::Error.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
An order-dependent error in locale integration tests
(https://travis-ci.org/mysociety/alaveteli/jobs/37914013) showed that
the routing filter pattern was not being updated from it's initial value
when a new set of available locales was passed to AlaveteliLocalization.
|
|\ \
| | |
| | |
| | | |
rails-3-develop
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Add deprecation notice to draw attention to any place where
PublicBodyCategories is called from themes.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
.where doesn't seem to use the translations with this version of
Globalize, even in a locale block. As this is run-once code to migrate,
I think we're fine with the old syntax.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
PublicBodyCategory and PublicBodyHeading
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
HealthCheck is a basic library for creating health checks.
HealthCheck works with any class so long as it includes HealthCheckable
and defines the `check` method.
|
|\| |
|
| |
| |
| |
| | |
Install script on AWS uses development mode by default
|
| |
| |
| |
| | |
We default MTA_LOG_TYPE to exim so we can set the default log path too
|
| |
| |
| |
| |
| |
| | |
We supply a default example for MAX_REQUESTS_PER_USER_PER_DAY so we
might as well set it as default and allow the user to tune if they
dislike the default.
|
|/
|
|
|
|
| |
All our examples use the 'foi+' prefix so lets make this the default. If
people _really_ want no prefix, they can change the setting to ''. This
will probably cover the more general cases.
|
| |
|