aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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.
* | basic front end tests for responsive designStruan Donald2018-10-01-0/+69
|/ | | | checks what is shown/hidden at various screen sizes
* Do not die if old UPLOAD_DIR config given.Matthew Somerville2018-10-01-2/+2
| | | | The new lookup would only work if it was present.
* [Docker] Copy the preinit file from the local working copy at buildSam Pearson2018-10-01-2/+1
| | | | | | Rather than pulling across the preinit file from master, use the version in the copy of FixMyStreet on the image - this will then match the release actually being built.
* [Oxfordshire] Avoid nav menu CSS overlap for staff on mappageZarino Zappia2018-10-01-2/+7
| | | | Fixes mysociety/fixmystreet-commercial#1131
* [Oxfordshire] Update cobrand to match new OCCLSS style guideZarino Zappia2018-10-01-459/+680
| | | | | The change to web/js/front.js was required because Oxfordshire has no `.report-a-problem-btn`, so the front.js shouldn’t assume it’s there.
* Nicer image replacement for #nav-link mobile menu buttonZarino Zappia2018-10-01-2/+4
| | | | | | | | | | | The large negative text-indent can sometimes cause horizontal scrollbars in Right-to-Left languages, and, in some browsers, can also result in a huge :focus outline being drawn around the button and off to the right of the window. Setting a zero height, padding top, and overflow:hidden is a simpler way to achieve the same thing, and works regardless of text direction, text length, or focus state.
* Reduce specificity of #front_stats CSSZarino Zappia2018-10-01-53/+48
| | | | There is no need for #front_stats to always be nested inside of #front-howto.
* Improve vertical alignment of #main-nav in IE9-11Zarino Zappia2018-10-01-7/+99
|
* [Oxfordshire] omit reference number from report confirm pageStruan Donald2018-10-01-0/+1
| | | | | | | | The reference number is a) the FMS report id which is irrelevant and b) we don't get an OCC reference number back immediately so could not show it anyway. Related to mysociety/fixmystreet-commercial#1193
* [Open311] turn on comment sending for OCCStruan Donald2018-10-01-4/+16
| | | | | but only send if the problem as a customer reference and use that as the external id reference
* [Oxfordshire] remove open311 hardcodingStruan Donald2018-10-01-15/+1
| | | | | we no longer need some of the hardcoded oxfordshire Open311 overrides so remove them
* [Oxfordshire] display customer reference on report pageStruan Donald2018-10-01-4/+3
| | | | | OCC uses the customer reference from extra to store the enquiry reference so use that on the report page rather than external_id.
* [Open311] add customer reference from update to problemStruan Donald2018-10-01-0/+30
| | | | | If an Open311 update has a customer_reference property then add that to the metadata for the problem.
* [Dependencies] Add libxml2-dev to packages filesSam Pearson2018-09-28-0/+4
| | | | | This is required to build some of the Perl modules pulled in by the addition of `Net::Amazon::S3`.
* Missing semicolon.Matthew Somerville2018-09-28-1/+1
|
* [Docker] Update example config to support S3 file storageSam Pearson2018-09-28-3/+23
|
* [Oxfordshire] add WDM migration bannerStruan Donald2018-09-28-0/+8
|
* Merge branch 'pluggable-photo-storage'Dave Arter2018-09-28-148/+1433
|\
| * Add S3 photo storage backendDave Arter2018-09-28-86/+1204
| |
| * Factor out photo storage backend init checksDave Arter2018-09-28-18/+35
| |
| * Handle failure of photo upload more gracefullyDave Arter2018-09-28-2/+8
| |