| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Identical to v1.5.5, just a version renumbering.
|
| |
|
| |
|
|
|
|
| |
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
|
|
|
|
| |
Add some comments to the top of the open311 bin scripts.
|
| |
|
|
|
|
|
| |
This is very old, no-one seems to want/need it any more,
and more than one reuser does not want it. Fixes #715.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Run with bin/make_css_watch
This watches the .scss files in web/cobrands/* and runs the appropriate
sass/compass commands (as per bin/make_css) on just those directories
with changed files.
As a special case, a change to the partials in web/cobrands/sass will
cause a rebuild of all cobrands.
|
|/
|
|
|
| |
Include a one-off script that sets send_questionnaire to 0 for
all available cobrands that have send_questionnaires set to 0.
|
|
|
|
|
| |
Also add warning to Geocoder to pass on server error if you are running
in development.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
bin/update-schema
locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po
perllib/FixMyStreet/DB/Result/Body.pm
|
| | |
|