aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* Version 2.1.Matthew Somerville2017-07-18-2/+2
|
* Include area stats in all-reports.jsonDave Arter2017-07-17-1/+2
| | | | | | | This makes it possible to display stats per area on /reports Cobrands using this functionality should use the pre-dashboard reports/index.html template and pass --areas when calling bin/update-all-reports
* Include schema check for 0051 missed in 466c5cac.Matthew Somerville2017-07-17-0/+1
|
* New version of /reports main page.Matthew Somerville2017-07-14-4/+4
| | | | | | | | | | | This is a much broader summary page, plus a body name autocomplete. This was originally implemented for fixmystreet.com in 8a6a4ccb7. It also adds '(no longer exists)' in the autocomplete next to bodies not covering any areas. You can supply the `--table` argument to `update-all-reports` to generate the old-style data.
* [fixmystreet.com] New version of /reports page.Zarino Zappia2017-07-06-1/+13
| | | | | | | | | | | This is a much broader summary page, plus a body name autocomplete. This uses a cut down version of chart.js. [1] [1] The full version was 149Kb (41Kb gzipped) plus you needed moment (50Kb/17Kb), for a total of 199Kb/58Kb. By stripping out unused graphs and code and config options, and switching to category axis rather than time, it is now a total of 39Kb/13Kb.
* Update carton/cpanm to handle 5.24 @INC change.Matthew Somerville2017-07-04-12/+36
|
* [fixmystreet.com] Template/priorities in fixture.Matthew Somerville2017-06-20-0/+9
| | | | Also include areas in auto-generated problems.
* [fixmystreet.com] Fix relative paths in fixture.Matthew Somerville2017-06-20-3/+3
|
* Run each test file in a transaction.Matthew Somerville2017-06-20-72/+2
| | | | This means that the tests can be run in parallel.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-1/+1
| | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit.
* [fixmystreet.com] Improve fixture loading script.Matthew Somerville2017-06-20-22/+133
| | | | | | Given a MapIt area ID, the script will create a body and categories, users with different levels of permissions, and some random problems and updates. It can optionally empty out the database first.
* [Oxfordshire] Send RDI reports by email.Matthew Somerville2017-05-16-0/+69
|
* Version 2.0.4.v2.0.4Matthew Somerville2017-04-13-1/+1
|
* Version 2.0.3.v2.0.3Matthew Somerville2017-03-31-1/+1
|
* Merge branch 'dominican-republic-improvements'Matthew Somerville2017-03-31-4/+4
|\
| * Improve translatability of various pages.Dave Arter2017-03-30-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the following parts of the site translatable: - Social login buttons - Moderation UI - Offline glitch page & offline caching UI - Dashboard It also fixes a bug in the nget parser, stops some Oxfordshire bits being translated for the moment, and brings the translation file up to date.
* | Forward on all bounces as bounces.Matthew Somerville2017-03-30-5/+4
|/
* Add customisable defect types.Dave Arter2017-03-23-0/+1
| | | | | | | | | Problems can have an associated defect type, that can be assigned during an inspection. Include an admin interface for managing these types, that can also be assigned on a per-category basis, currently available to the Oxfordshire cobrand. (Also include 'TM' in traffic management Exor RDI output.)
* Set up correct environment in cobrand PO script.Matthew Somerville2017-03-10-3/+11
| | | | Uses the same environment as gettext-extract.
* [UK] Exclude Bristol from open311-populate-service-list.Matthew Somerville2017-03-09-1/+2
|
* [Oxfordshire] Open311 update timestamps should be in UTCDave Arter2017-02-15-1/+17
| | | | | | | | | | The timestamps returned from the database are in server-local time, not UTC. Because FMS expects timestamps in Open311 responses to be UTC, the timestamps of updates from OCC appear one hour ahead when DST is in effect. This commit converts the timestamps to UTC before outputting them. Fixes mysociety/FixMyStreet-Commercial#499
* Add external_id field to ResponsePriority for use with ExorDave Arter2017-02-15-0/+1
|
* [Oxfordshire] Old report archiving scriptpezholio2017-02-15-0/+29
| | | | | | | | | | | | | | | This script can be used for the bulk closure of old reports that haven't been updated in a long time. Reports that haven't been updated in a *really* long time (since 2014, by default) are simply closed, and those that haven't been updated since 2015 (by default) are closed and an email explaining the closure is sent to the report creator. This script can be used for other cobrands, but they'll need an archive.{txt,html} template in order for the emails to be sent. For mysociety/fixmystreetforcouncils#51
* Version 2.0.2.Matthew Somerville2017-02-03-1/+1
|
* Make gettext-nget-patch be consistent in output.Matthew Somerville2017-02-02-1/+1
|
* Add 0048 migration check to update-schemaDave Arter2017-01-16-0/+1
|
* Version 2.0.1.v2.0.1Matthew Somerville2016-12-16-1/+1
|
* Version 2.0.Matthew Somerville2016-11-15-1/+1
|
* Update script directory changing so works on Macs.Matthew Somerville2016-11-08-3/+3
|
* Add ‘description’ field to ResponsePriority modelDave Arter2016-10-19-0/+1
| | | | Used internally to provide more details about when a priority is applicable.
* [Zurich] Fix incorrect URLs in overdue alert emailsDave Arter2016-10-18-1/+3
| | | | | | Links to view the reports on ZWN weren't being generated properly because _email_report_list.txt was expecting 'data' to be in a particular format and 'cobrand' to be available.
* Add 'extra' field to User modelDave Arter2016-09-23-0/+1
|
* [fixmystreet.com] Noddy fixture script.Matthew Somerville2016-09-20-0/+39
|
* Refactor problem response priority into its own modelDave Arter2016-09-09-0/+1
| | | | | | | This moves the response priority values from a cobrand-specific method to a full DB model, and includes management screens in the admin for administering them. For mysociety/fixmystreetforcouncils#66
* Extend response templates to work across all cobrandsDave Arter2016-09-08-0/+1
| | | | | | | | | | | This builds on the response templates in the Zürich cobrand: - Allow response templates to be assigned to categories - Also adds a auto_response flag, which will be used to automatically create updates when reports are made. - Include response templates select box on update form For mysociety/fixmystreetforcouncils#31
* Remove Open311 endpoint to separate repo.Matthew Somerville2016-08-23-1/+1
|
* Allow user to have an area assigned in adminDave Arter2016-08-22-0/+1
|
* Add user planned reports.Matthew Somerville2016-08-22-0/+1
| | | | | | A user with the appropriate permission can add/remove reports from their list of planned reports using a button on a report page. The list can be viewed at /my/planned.
* Remove check constraint on user body permissions.Dave Arter2016-08-09-0/+1
| | | | We'll soon be adding more new permission types.
* [East Sussex] Remove East Sussex cobrandDave Arter2016-08-02-96/+0
|
* Use normal user authentication to control access to /adminMatthew Somerville2016-07-19-0/+34
| | | | | | | | | - Adds is_superuser flag to User - Logged-in user must be a superuser or have from_body set in order to access anything within /admin - has_permission_to on a superuser will always return true - Only superusers can create/grant superusers - New `createsuperuser` command for creating superusers
* Update changelog with version 1.8.4 details.Matthew Somerville2016-07-06-1/+1
|
* [East Sussex] Rewrite template builder in perl.Matthew Somerville2016-06-08-0/+96
| | | | Uses same watch notification as make_css.
* Follow symlinks in make_css.Matthew Somerville2016-06-08-1/+1
| | | | | This is in case the cobrand directory is actually a symlink to elsewhere, as it is with some deployments.
* Improve error handling of Vagrant installation.Matthew Somerville2016-06-07-13/+7
| | | | | | It should now show a failure message on failure, rather than always show the success message, and not show a confusing error about general.yml if something went wrong before creating that file.
* Add output style option to make_css command.Matthew Somerville2016-06-07-1/+10
|
* Don't add symlink if it is to the same place.Matthew Somerville2016-06-07-1/+3
| | | | This applies in e.g. a Vagrant installation.
* Version 1.8.3.v1.8.3Matthew Somerville2016-06-03-1/+1
|
* Add inline-image Sass function.Matthew Somerville2016-06-01-0/+14
| | | | | The move to libsass missed out one function call, that inline images as data URIs, which wasn't spotted as it didn't error.
* Improve CSS compilation.Matthew Somerville2016-05-31-154/+144
| | | | | | | | Move to using libsass via CSS::Sass, and stop using compass, supplying any used mixins directly. This removes the need for any ruby/gem based installation, and greatly increases the speed of compilation. make_css is also enhanced, bringing in the file monitoring previously done by a separate script and improving its dependency monitoring.