aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* Version 2.3.Matthew Somerville2017-12-18-1/+1
|
* [fixmystreet.com] Improve fixture descriptions.Matthew Somerville2017-12-07-14/+146
|
* Fix update-all-reports for all bodies generation.Matthew Somerville2017-11-21-1/+2
| | | | | Only works on bodies with an associated area, and requires the object to be passed in, not just its ID.
* [Oxfordshire] Clearly mark RDI emails if sent from stagingDave Arter2017-11-08-1/+7
| | | | Fixes mysociety/fixmystreetforcouncils#251
* [demo] set email_verified to true when creating demo usersStruan Donald2017-10-23-5/+5
| | | | otherwise the login doesn't work post sms auth changes.
* update-all-reports operate per body optionally.Matthew Somerville2017-10-20-8/+24
|
* Allow testing override of /reports data.Matthew Somerville2017-10-16-2/+12
|
* Add 'verified' database columns for email/phone.Matthew Somerville2017-09-30-0/+1
| | | | | These are so we can state whether a user's email address or phone number have been verified by confirmation email/text.
* [Oxfordshire] Make sure RDI file is encoded.Matthew Somerville2017-09-21-1/+2
| | | | | body_str is encoded with the provided charset/encoding, body is used as-is (and so will die in email sending if it contains wide characters).
* Include schema migration test.Matthew Somerville2017-09-14-0/+1
| | | | This was missed in 0998aef4.
* Version 2.2.Matthew Somerville2017-09-13-1/+1
| | | | | Couple of missed strings for translation, and prevent a couple of warnings in tests.
* [Oxfordshire] Log when problems sent by RDI email.Dave Arter2017-09-11-0/+1
| | | | | | | | The timestamp of when a problem was included in an RDI is shown on the problem’s inspector form. Also check back and include any inspected reports that for some reason haven't been instructed yet. Fixes mysociety/fixmystreetforcouncils#223.
* [fixmystreet.com] More data in fixture, wider areaMatthew Somerville2017-09-06-5/+11
| | | | Add some reports to the inspector's shortlist.
* Merge branch 'move-report-states-to-database'Matthew Somerville2017-08-31-2/+20
|\
| * Remove hardcoded states from Problem model.Matthew Somerville2017-08-31-2/+19
| | | | | | | | | | We keep the internal states hardcoded, plus the core open (confirmed) and closed ones, but the remainder are moved to the database.
| * Add state table to database.Matthew Somerville2017-08-29-0/+1
| |
* | Stop make_css failing if run on fresh checkout.Matthew Somerville2017-08-31-1/+7
| | | | | | | | The change in 66bd45b6 did not account for being run with no CSS files.
* | Stop using File::Slurp in make_css.Matthew Somerville2017-08-29-3/+3
|/
* Allow co-ords to be supplied to fixture script.Matthew Somerville2017-08-18-6/+15
|
* Add site-wide extra fields for reports, and admin UI to manageDave Arter2017-08-17-0/+1
| | | | | | | - Also provides an editor for the extra Open311 fields on contacts. - Adds .btn--small class for small buttons Fixes #1743.
* Add make_css flag to run script after compilationDave Arter2017-08-17-0/+5
| | | | | | | | | In conjunction with the --watch flag, the new --script flag can be used to run a given command after compilation caused by files changing. E.g. you could reload your browser automatically upon hitting save in your editor, with something like https://gist.github.com/davea/07a7456da15eeb8c47f1fb66e4b96c54
* Store duplicate reverse lookups upon dupe setting.Matthew Somerville2017-08-17-0/+20
| | | | | | This avoids the need to search the whole table to find a report's duplicates. And is easier than constructing an index or upgrading PostgreSQL.
* Merge branch 'switch-site-script'Matthew Somerville2017-08-10-0/+35
|\
| * Add switch-site script for easily switching configZarino Zappia2017-08-10-0/+35
| | | | | | | | | | | | | | Given a set of config files of the format `conf/general-{cobrand}.yml` this script lets you easily create and recreate a symlink at `conf/general.yml` that points to the cobrand config of your choice. The test suite also then uses this naming convention.
* | Fix issues with database migration script.Matthew Somerville2017-08-10-3/+2
|/ | | | | | A reference to ->storage was missed as this script changed in a different branch. The schema files contain transaction commands themselves. A check for migration 52 was missing.
* Move FixMyStreet::DB to FixMyStreet::DB::Schema.Matthew Somerville2017-08-09-4/+4
| | | | Store a schema object on FixMyStreet::DB instead.
* Version 2.1.1v2.1.1Struan Donald2017-08-03-1/+1
|
* Allow update-schema to run on empty database.Matthew Somerville2017-08-03-27/+32
|
* [Oxfordshire] RDI file should show all inspections as happening on the same dateDave Arter2017-07-24-0/+2
| | | | Fixes mysociety/fixmystreetforcouncils#203
* 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