| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| |
| |
| |
| | |
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.
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
Some Public Body names contain commas (or other characters) which lead
to a malformed CSV where parts of the body name are in later columns.
|
| |
| |
| |
| |
| | |
ENV[‘SITE’] can be specified for the crontab (and elsewhere) so
allow the option here too.
|
| |
| |
| |
| |
| | |
Deployment system should handle linking the original location to
wherever necessary on the specific platform.
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| | |
156481f set the default example to true but this ensures the fallback is
true.
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- SRP: Do one thing. PublicBodyCSV converts a
collection of bodies in to a CSV formatted
String
- Adds some parenthesis around parameters in
PublicBodyController#list_all_csv
- Let the controller handle what records to pull
out for the CSV export
Arguably this doesn't really need to be anything
to do with PublicBody, but it allows us to set
nice defaults.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Stemming returns 'bore' as the word to highlight which can't be matched
in the original phrase.
Also removes duplicates from the results
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Ignore stopwords
- Use Stemming
- Wrap words with regex for use in a highlighter (optional)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Less manual editing for reinstallers.
Existing backwards-compatibility:
$ bundle exec rake config_files:convert_crontab \
DEPLOY_USER=deploy \
VHOST_DIR=/home/vagrant/ \
VCSPATH=alaveteli \
SITE=alaveteli \
CRONTAB=config/crontab-example | grep 'MAILTO='
MAILTO=cron-alaveteli@mysociety.org
New optional MAILTO option:
$ bundle exec rake config_files:convert_crontab \
DEPLOY_USER=deploy \
VHOST_DIR=/home/vagrant/ \
VCSPATH=alaveteli \
SITE=alaveteli
CRONTAB=config/crontab-example \
MAILTO=cron@example.org | grep 'MAILTO='
MAILTO=cron@example.org
|
|\ \ |
|
| |/
| |
| |
| | |
Picks these up in `rake notes` and adds semantic meaning
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Fixes https://github.com/mysociety/alaveteli/issues/1563
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
| |
Sometimes pdftohtml will generate thousands of images when converting an
image embedded in a PDF. This causes a request spike when a user tries
to view the converted PDF as HTML.
See https://bugs.freedesktop.org/show_bug.cgi?id=77932 for the bug
report.
|
|\ |
|
| |
| |
| |
| |
| | |
Was confusing what the number meant; easier to just sum numbers in the
quartery columns to get totals.
|
| | |
|
| | |
|