| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
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.
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
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
|
|\ \ |
|