| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Include new contributing document.
|
| |
|
|
|
|
|
|
|
| |
Running the graph scripts from their directory does not work with
perl 5.16+, as the chdir interferes with FindBin's operation.
Fixes #1262.
|
|
|
|
|
|
|
| |
If the CDPATH environment variable is set (so cd can look in multiple
places), cd prints out the resulting directory when used. This confuses
a command sequence used in a couple of places doing (cd && pwd) to get
a directory path. Make sure we ignore any output from cd.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mechanism is general, but current implementation only used
for Zurich.
- Zurich: Record time_spent field mysociety/FixMyStreet-Commercial#676
- template changes (including jQuery spinner)
- backend changes to save data are made:
- in log_edit, if supplied
- and time on category change (and arbitrary actions)
- Add update_admin_log to all paths for DM, ensuring that it gets called,
while resetting the `time_spent` parameter, to make sure that
there is never a duplicate record created.
- Also quell warning about using DateTime values in query.
- Also add (seemingly unrelated) parens to stop misparsing of OK line in
questionnaire test now that DT::Format::Pg is used in Zurich cobrand
See mysociety/FixMyStreet-Commercial#676
|
|
|
|
|
|
|
| |
This provides a ResponseTemplate model that an admin/staff
user can choose from when responding to problems.
For mysociety/FixMyStreet-Commercial#671.
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix behaviour of ALLOWED_COBRANDS checking
- ... inferring cobrand if only one is allowed
- new --use-cache option (defaulting to false)
- better diagnostics
- Can be manually uncommented and tested against bin/geocode
script.
See mysociety/FixMyStreet-Commercial#710
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for Zurich (and generic data), progressing
mysociety/FixMyStreet-Commercial/issues/663, to provide a way
for body/contact config to be consistent across dev/staging/live.
Run like so:
bin/setup-contacts zurich
e.g. with the lower-case sigil describing the cobrand to run
setup-contacts for.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|\ |
|