| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
| |
Use bundled carton to install required module separately,
using a minimal cpanfile (and Debian squeeze generated snapshot).
Fixes #1202.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was generated using 'carton fatpack' as follows:
bin/cpanm -L local-carton --with-recommends Carton
export PERL5LIB=<absolute path to local-carton>/lib/perl5/
local-carton/bin/carton fatpack
(It needs to be an absolute path in order to locate the meta files.)
This was done on a Debian squeeze box to make sure any too-old core
modules were updated and included in the bundle.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
This override is not used anywhere, it dates from a very old long-gone
test script, and causes issues with database query planning.
|
| | |
|
|/
|
|
|
|
|
| |
The fixmystreet-international installation instructions make
use of symlinks in, among other places, `web/cobrands/`. This
means that make_css needs to follow symlinks when looking for
scss files to compile.
|
|
|
|
| |
(Renumbering version 1.5.5 to 1.6.)
|
| |
|
| |
|
|
|
|
| |
Including updated translations.
|
|
|
|
|
|
| |
Cache a DateTime::TimeZone::Local object, so that in an environment
where /etc/localtime is a copy of a timezone file, we don't repeatedly
walk all the timezone files to find the matching one.
|
| |
|
| |
|
|
|
|
| |
Fixes #978.
|
|
|
|
|
| |
Call the necessary boilerplate in each script so you can call them
directly. Remove boilerplate from files that don't need it.
|
| |
|
|
|
|
| |
As that's what it does; and use it in Travis.
|
|
|
|
|
| |
Remove some unneeded scripts, move others to cobrand-specific
directories.
|
|
|
|
|
| |
This means that e.g. SMTP authentication is used when set up by all
emails, not just non-cron ones. Fixes #988.
|
| |
|
|
|
|
| |
Fixes #974.
|
|
|
|
|
|
|
| |
Includes:
* [UK] Don't show topic form field when reporting abuse.
* Use token in moderation response URL to prevent hidden report leak.
* Make sure successful submission page is full width.
|
| |
|
| |
|
|
|
|
| |
Fixes #786.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This means they access the database the same way all the other scripts
do, preventing any issues due to different setups. Also tidy up state
grouping in graph, add Norway start date.
|
|
|
|
|
|
| |
Try and save other people the potential pain of installing SOAP::Lite;
only UK FixMyStreet and Zurich geocoder use it, so set it as an optional
feature in the cpanfile instead.
|
|
|
|
|
|
|
|
| |
Switching to bundler saves confusion about gem paths when running
sass/compass to compile the CSS.
Trusty can use precisely the same packages as precise, with a few tweaks
to generalise the contents.
|
| |
|
|
|
|
|
|
| |
bin/update-schema --commit should now work
A downgrade is also provided. Run bin/update-schema --help for details
|
| |
|
| |
|
|
|
|
| |
This should reduce confusion with the Default cobrand and override order.
|
|
|
|
| |
Allow fetch-comments-24hs to be executed directly.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This moves the default away from search.cpan.org, which is currently
down. Have tested by rerunning bin/install_perl_modules, which runs
to completion, and starting Cat server.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A raw DateTime object was being passed as a parameter in an SQL
query, which was causing undefined behaviour and a warning
every time the Zurich overdue problems script was run.
The DateTime is now converted into a format suitable for use in
the query and the warning has gone.
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
Closes #703
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is to stop the main FixMyStreet .po file being filled up with
strings that only apply to a single Cobrand that are not relevant to
people running their own fairly vanilla version.
Restrict the list of templates that we pull strings out of by generating
a list of all the ones in currently translated cobrands for minimal
impact. Use that to create the FixMyStreet.po file in gettext-extract.
I've left the existing cobrands in but at some point we should split
these out.
Add a specific script for generating Cobrand .po files which extracts
strings from the Cobrand's templates. This is then translated and the
translated file place in the locale/$lang/LC_MESSAGES.
The the merge_cobrand_po script is run which will create an
autoCobrand.po file which has the Cobrand strings and the FixMyStreet
strings. This is then the domain used by the Cobrand.
Any cobrand specific strings from the Perl code are still in the
main FixMyStreet .po file but there should be relatively few of them so
it's less of an issue.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run bin/geocode -h for options.
Has:
* configurable cobrand / config-file / geocoder
* some diagnostics for missing cobrand
Minor fixes rebased into this commit:
* bin/geocode error if no --cobrand passed
* bin/geocode docs and accept GEOCODER as string
Notable TODOs remaining:
* reverse geocoding, to double check that latitude actually maps
somewhere useful (and is within Cobrand's boundaries)
* diagnosis of relevant CONFIG settings
* flag to disable caching
|