aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* Version 1.7.v1.7Matthew Somerville2015-10-23-1/+1
| | | | Include new contributing document.
* Add error checking to graph gnuplot running.Matthew Somerville2015-10-23-2/+2
|
* Don't use chdir in graph generation scripts.Matthew Somerville2015-10-23-8/+8
| | | | | | | Running the graph scripts from their directory does not work with perl 5.16+, as the chdir interferes with FindBin's operation. Fixes #1262.
* Fix non-working scripts when CDPATH is set.Matthew Somerville2015-10-07-4/+4
| | | | | | | 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.
* Add "time spent" admin logging.Hakim Cassimally2015-10-06-0/+1
| | | | | | | | | | | | | | | | | | | | | 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
* [Zurich] Response templates for report admin.Hakim Cassimally2015-10-06-0/+1
| | | | | | | This provides a ResponseTemplate model that an admin/staff user can choose from when responding to problems. For mysociety/FixMyStreet-Commercial#671.
* Improvements to bin/geocodeHakim Cassimally2015-10-06-9/+41
| | | | | | | | | | | - 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
* [Zurich] Provide a setup-contacts command.Hakim Cassimally2015-10-06-0/+204
| | | | | | | | | | | | | 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.
* Allow underscore in cobrand name/data in database.Matthew Somerville2015-09-29-0/+8
|
* Update terminal title with CSS writing progress.Matthew Somerville2015-09-17-2/+2
|
* Improve gettext-extract to work without fuss.Matthew Somerville2015-09-04-0/+5
| | | | | | | Use bundled carton to install required module separately, using a minimal cpanfile (and Debian squeeze generated snapshot). Fixes #1202.
* Bundle carton.Matthew Somerville2015-09-04-7/+2
| | | | | | | | | | | | | 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.
* Upgrade bundled cpanm.Matthew Somerville2015-09-04-185/+235
|
* Move "missing" handling to separate column.Matthew Somerville2015-08-19-3/+2
|
* Merge branch 'speed-up-things'Matthew Somerville2015-08-13-8/+15
|\
| * Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-6/+7
| | | | | | | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
| * Add schema migration check for latest migration.Matthew Somerville2015-08-13-2/+8
| |
* | Follow symlinks during CSS compilationZarino Zappia2015-08-13-1/+1
|/ | | | | | | 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.
* Version 1.6.1.v1.6.1Matthew Somerville2015-07-31-1/+1
| | | | (Renumbering version 1.5.5 to 1.6.)
* Version 1.5.5.v1.5.5Matthew Somerville2015-07-10-1/+1
|
* [zurich] Fix path to setenv.pl in overdue-alert. Fixes #1107Steven Day2015-05-13-1/+1
|
* Version 1.5.4.v1.5.4Matthew Somerville2015-03-18-2/+2
| | | | Including updated translations.
* Create timezone objects only once at startup.Matthew Somerville2015-02-13-1/+1
| | | | | | 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.
* Version 1.5.3.v1.5.3Matthew Somerville2015-01-21-1/+1
|
* Exit with state of running the tests with prove.Matthew Somerville2015-01-20-1/+1
|
* Better finding of parent directory when in symlinkMatthew Somerville2015-01-19-2/+3
| | | | Fixes #978.
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-23/+128
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Use env in shebang lines, and remove unneeded onesMatthew Somerville2015-01-19-7/+12
|
* Rename test-wrapper to run-tests.Matthew Somerville2015-01-19-8/+8
| | | | As that's what it does; and use it in Travis.
* Tidy up of bin directory.Matthew Somerville2015-01-19-306/+6
| | | | | Remove some unneeded scripts, move others to cobrand-specific directories.
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-5/+1
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Add executable permissions to scriptHakim Cassimally2015-01-08-0/+0
|
* Update UNIX_USER on installation setup of crontab.Matthew Somerville2014-12-19-0/+1
| | | | Fixes #974.
* Version 1.5.2.v1.5.2Matthew Somerville2014-12-17-1/+1
| | | | | | | 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.
* Version 1.5.1.v1.5.1Matthew Somerville2014-12-12-1/+1
|
* Don't install open311-endpoint feature by default.Matthew Somerville2014-12-12-1/+1
|
* Add a script to always test on a clean db/config.Hakim Cassimally2014-12-12-0/+35
| | | | Fixes #786.
* Version 1.5.Matthew Somerville2014-11-19-1/+1
|
* Don't generate unused special templates/po files.Matthew Somerville2014-11-19-4/+4
|
* [FiksGataMi] Add two testing scripts for roads.Matthew Somerville2014-11-19-0/+89
|
* Switch graph generation programs to Perl.Matthew Somerville2014-11-11-128/+133
| | | | | | 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.
* Remove liberror-perl and libsoap-lite-perl.Matthew Somerville2014-11-05-2/+1
| | | | | | 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.
* Update to use bundler and work on Ubuntu Trusty.Matthew Somerville2014-11-05-18/+31
| | | | | | | | 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.
* Allow multiple arguments to make_css.Matthew Somerville2014-09-15-1/+1
|
* Moderation - update-schema fixed and improvedHakim Cassimally2014-08-14-30/+137
| | | | | | bin/update-schema --commit should now work A downgrade is also provided. Run bin/update-schema --help for details
* Version 1.4.2.v1.4.2Matthew Somerville2014-07-14-1/+1
|
* Don't include --conservative, not present in old 'gem'.Matthew Somerville2014-07-14-2/+2
|
* Rename 'default' web directory to 'base'.Matthew Somerville2014-07-08-1/+1
| | | | This should reduce confusion with the Default cobrand and override order.
* Show error if cron-wrapper fails.Matthew Somerville2014-06-16-1/+1
| | | | Allow fetch-comments-24hs to be executed directly.
* Merge branch 'master' of https://github.com/jonkri/fixmystreetMatthew Somerville2014-06-16-0/+0
|\