aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* [BANES] Show open reports only by default.Matthew Somerville2018-10-09-0/+2
|
* Merge branch 'send-reopen-comment-option'Matthew Somerville2018-10-09-193/+367
|\
| * [Open311] More testing of GetServiceRequestUpdatesMatthew Somerville2018-10-09-22/+24
| |
| * Remove hard-coded body name in Problem.Matthew Somerville2018-10-09-4/+4
| | | | | | | | We can now use the new open311_post_update_skip function.
| * [Open311] Move send-comments cobrand specific codeMatthew Somerville2018-10-09-61/+67
| |
| * Add get_cobrand_logged to Comment.Matthew Somerville2018-10-09-8/+27
| |
| * [Open311] Move send-comments code to package.Matthew Somerville2018-10-09-157/+304
| |
* | [FixMyStreet] add subcategories to fixture and enable for demoStruan Donald2018-10-09-9/+11
| | | | | | | | | | The fixture script now generates subcategories so we need to turn these on in the Borsetshire demo site so the categories make sense.
* | reselect subcategory selects on /report/newStruan Donald2018-10-09-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | If /report/new is opened directly then the fixmystreet.reporting_data is not set, but the categories are already in place. These are then replaced when update_pin is called. If this has been triggered by clicking on a category with a subcategory this replaces the category selects but did not correctly reset them. By saving any selected value in the main category select we can correctly reset this and hence the display of the subcategory select. Fixes #2276
* | front end category testsStruan Donald2018-10-09-3/+59
| | | | | | | | Check selecting a category and selecting a sub category
* | [Oxfordshire] allow searching on ENQ customer_referenceStruan Donald2018-10-09-0/+30
| |
* | allow cobrands to override searching by refStruan Donald2018-10-09-4/+8
| | | | | | | | Add a cobrand hook to allow searching by reference to be overridden
* | [BANES] Branding for HTML emailsZarino Zappia2018-10-08-0/+124
|/
* [Open311] Add ability to send reopen status.Matthew Somerville2018-10-08-0/+8
| | | | Switch on for Buckinghamshire.
* Speed up dashboard CSV export.Matthew Somerville2018-10-08-5/+31
| | | | | | | Without fetching bodies_str, the update export was doing a query per update to fetch the corresponding problem. [BANES] Speed up extra columns by prefetching the relevant users.
* Merge branch 'dashboard-update-csv-export'Matthew Somerville2018-10-05-97/+258
|\
| * Dashboard update CSV export.Matthew Somerville2018-10-03-20/+160
| |
| * More efficient horizontal spacing in dashboard-options-tabsZarino Zappia2018-10-03-1/+16
| |
| * Rename problems_rs to objects_rs.Matthew Somerville2018-10-03-17/+20
| | | | | | | | No functional change.
| * Some minor function refactoring.Matthew Somerville2018-10-03-28/+29
| |
| * Add two fields to dashboard CSV export.Matthew Somerville2018-10-03-39/+42
| |
* | Merge branch 'test-warnings'Matthew Somerville2018-10-04-14/+34
|\ \
| * | Add perl 5.26/5.28 support.Matthew Somerville2018-10-04-8/+20
| | | | | | | | | | | | | | | Upgrade a couple of modules, deal with '.' not present in @INC, captures returning undef rather than '', and a test.
| * | Deal with a variety of low-level test warnings.Matthew Somerville2018-10-04-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Stop red warning being output by S3 bucket creation failure test * Make sure 'num_old_reports' is always a number on /around pages * Stop 'category_extra' being generated when unnecessary * Prevent warning printed in getservicerequestupdates.t * Prevent info lines from being output in develop.t * Remove line of #s in root.t * And an ID diag in zurich.t
* | | [Oxfordshire] Only run PROW code in Oxfordshire.Matthew Somerville2018-10-04-1/+5
|/ /
* | [Docs] Use service command in examplesSam Pearson2018-10-04-14/+13
| | | | | | | | | | | | | | | | | | This changes a handful of example commands that restart the fixmystreet application server to use the `service` command rather than the script in `/etc/init.d`. This should be compatible with systems using either of `systemd` or `sysvinit`. [skip ci]
* | [Docs] Updated docs with more detail on AMI buildsSam Pearson2018-10-04-12/+44
|/ | | | | | | | | | This expands the documentation on using our official AMI to cover in more detail options for customising installations using our Packer builds. It also updates the current official AMI ID with the latest relase. [skip ci]
* Add page on testing, update manual install.Matthew Somerville2018-10-03-71/+85
|
* Clearer relocation options while reporting.Zarino Zappia2018-10-03-5/+40
| | | | | | | | | | | | | | | | Now that the "Report a problem" link in the nav bar links, more often than not, to the reporting form rather than the homepage, it could be challenging to actually start a new report in a location *other* than the one currently on screen. Rather than adding a link to the homepage, this change hopefully adds a link right at the moment the user expects it – right on the "Report a problem" form. It also gave us an opportunity to reword the "Wrong location" message and give it an icon more suitable for high-dpi displays. Fixes #2238.
* Merge branch 'version-2.4.1'v2.4.1Matthew Somerville2018-10-03-3420/+3592
|\
| * Version 2.4.1.Matthew Somerville2018-10-03-2/+36
| |
| * Upgrade Net::Facebook::Oauth2 to 0.11.Matthew Somerville2018-10-03-6/+7
| | | | | | | | | | v2.8 of the FB API is due to turn off in April 2019, let's upgrade well in advance.
| * Update with new strings.Matthew Somerville2018-10-03-3325/+3504
| |
| * Update from Transifex.Matthew Somerville2018-10-03-47/+40
| |
| * Revert 50693857 “Clearer relocation options...”Matthew Somerville2018-10-03-40/+5
| | | | | | | | So version 2.4.1 has no translation changes, putting back straight after.
* | Add cobrand options to browser-test script.Struan Donald2018-10-03-9/+35
| | | | | | | | | | | | Add options to set the cobrand plus related options for co-ordinates, name and area id to the browser test command. Set BASE_URL to same as test server, as that is used in e.g. list link output.
* | use postcode from ENV in front end testsStruan Donald2018-10-03-9/+12
| | | | | | | | | | rather than hardcoding a postcode pull it from ENV to make testing a bit more flexible for use in cobrand testing
* | [Oxfordshire] display message if user selects PROW categoryStruan Donald2018-10-03-0/+29
|/ | | | | Adds some div wrappers round the non category bit of the form so we can then hide easily.
* [FixaMinGata] Update "personuppgiftsombud"Jon Kristensen2018-10-03-1/+1
|
* [FixaMinGata] Update privacy policy link textJon Kristensen2018-10-03-1/+1
|
* [UK] Fix ward pages containing ampersands.Matthew Somerville2018-10-03-11/+13
| | | | | Map ward names on their short names, so any processing applies equally to URL and names returned by MapIt.
* Example systemd service unit fileSam Pearson2018-10-03-0/+22
| | | | | | | | This adds a systemd service unit file for managing the FixMyStreet Catalyst process manager. This also updates the commonlib submodule with matching changes to our install scripts.
* [Zurich] Ignore deleted categories on change.Matthew Somerville2018-10-02-1/+1
| | | | | | | This led to an odd issue whereby a deleted category started being used for a category change, but only when the other category with the same name was edited (so thus changed the database's internal ordering).
* Merge branch 'issues/commercial/1188-push-state'Matthew Somerville2018-10-02-24/+205
|\
| * Fix history API bug.Matthew Somerville2018-10-02-9/+30
| | | | | | | | | | | | replace_query_parameter() was stringifying select multiples, meaning they were incorrectly recorded by the pushState and thus breaking on navigation.
| * Add some Cypress tests for the map list pages.Struan Donald2018-10-02-0/+122
| | | | | | | | | | | | | | | | Including testing the filters, viewing a report, and pushState. Plus a mock MapIt handler for returning a GeoJSON outline, to make the page load. The BASE_URL is also set to the same as the test server, as that is used in list link output.
| * Adapt fixture script to be non-random on request.Struan Donald2018-10-02-15/+53
| | | | | | | | | | The existing fixture script generates random results so is no use for front end testing.
* | [Vagrant] Ensure `local` directory is presentSam Pearson2018-10-02-0/+1
| | | | | | | | | | | | | | | | When using the mySociety Vagrant box, ensure that the `local/` directory is present before attempting to bind mount the pre-built Perl modules. Without this directory present the bind mount will fail and the Perl modules will all be built again unnecessarily.
* | Add check for PIDFILE to init script stop actionSam Pearson2018-10-02-1/+5
| | | | | | | | | | | | The install script calls a service restart at build, this failed if the stop action in the init script doesn't check for the existence of the PIDFILE first, so check.
* | HTML template for the "partial" report confirmation emailZarino Zappia2018-10-01-0/+23
| | | | | | | | Fixes #2263.