aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* 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
|\
| * Make `open311-update-reports' executableJon Kristensen2014-06-05-0/+0
| |
* | Upgrade cpanm to 1.7001Hakim Cassimally2014-06-10-10713/+398
| | | | | | | | | | | | 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.
* | Fix DB warning being shown by zurich-overdue-alertDave Arter2014-05-29-1/+3
| | | | | | | | | | | | | | | | | | 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.
* | Version 1.4.1.v1.4.1Matthew Somerville2014-05-23-1/+1
| |
* | Version 1.4.v1.4Matthew Somerville2014-05-16-1/+1
|/
* Merge branch 'zerotb'Struan Donald2014-04-11-18/+226
|\
| * script to import zerotb clinic dataStruan Donald2014-04-08-0/+115
| | | | | | | | Closes #703
| * enable generation of cobrand specific po filesStruan Donald2014-04-08-18/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | bin/geocode script for testing geocodingHakim Cassimally2014-04-10-0/+79
|/ | | | | | | | | | | | | | | | | | | | | 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