aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* [fixmystreet.com] Fixed includes questionnaires.Matthew Somerville2017-07-07-1/+4
| | | | Questionnaire responses don't currently set problem_state.
* [fixmystreet.com] Improve Pro link on non-front.Matthew Somerville2017-07-07-12/+8
| | | | Give it the same sort of look as currently on the front page.
* Add missing closing </dl> to base FAQ.Matthew Somerville2017-07-07-0/+1
|
* Merge branch 'issues/forcouncils/195-overloaded-action-scheduled'Matthew Somerville2017-07-07-41/+60
|\
| * [Oxfordshire] Separate defect creation from state.Matthew Somerville2017-07-07-40/+59
| | | | | | | | | | | | | | Revert the behaviour from 36baff2d, so that everyone can use the 'action scheduled' state, and instead if someone with report_instruct permission has the state set to 'action scheduled', add an extra mandatory question asking whether they want to raise a defect or not.
| * Make sure segmented control input not offscreen.Matthew Somerville2017-07-07-1/+1
| | | | | | | | | | The input is used by e.g. Chrome/Safari to position the "required" error message, so needs to be on screen.
* | Merge branch 'issues/commercial/864-update-contact-form'Matthew Somerville2017-07-07-8/+49
|\ \
| * | Change the contact form Post button label to Send.Martin Wright2017-07-07-1/+1
| | | | | | | | | | | | | | | 'Post' suggest you're putting this somewhere, like a message board, whereas 'Send' is more conventional for contact forms.
| * | Add an optional phone field to the contact form.Martin Wright2017-07-07-1/+22
| | |
| * | [fixmystreet.com] Add a note to the contact blurb.Martin Wright2017-07-07-6/+18
| | | | | | | | | | | | | | | To encourage local council people interested in FixMyStreet Pro to use our sales enquiry form instead of the general contact form.
| * | [fixmystreet.com] Optional phone on council form.Martin Wright2017-07-07-0/+8
| |/
* | [fixmystreet.com] New version of /reports page.Zarino Zappia2017-07-06-39/+899
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Better handling of JS geolocation.Matthew Somerville2017-07-06-7/+7
| | | | | | | | Puts it back on alert page, lost in July 2016.
* | Better clearfix for .form-txt-submit-boxZarino Zappia2017-07-06-1/+1
| |
* | Merge branch 'issues/forcouncils/198-rdi-ordering'Matthew Somerville2017-07-06-53/+83
|\ \
| * | [Oxfordshire] Group RDI output by activity code.Matthew Somerville2017-07-06-53/+83
| | |
* | | [Oxfordshire] Fix bug downloading All Inspectors RDI.Matthew Somerville2017-07-06-1/+2
| |/ |/|
* | Merge branch 'stretch-support'Matthew Somerville2017-07-06-11108/+6768
|\ \
| * | [Travis] Test perl 5.24 as used by Debian stretch.Matthew Somerville2017-07-06-2/+5
| | |
| * | Stop using mySociety::Web and mySociety::Sundries.Matthew Somerville2017-07-06-24/+16
| | | | | | | | | | | | | | | Both uses can be covered by existing modules. This means we can drop FCGI also.
| * | Upgrade Net::Twitter::Lite and SOAP::Lite.Matthew Somerville2017-07-06-180/+80
| | | | | | | | | | | | This means we can drop Crypt::SSLeay and a few others.
| * | Upgrade Net::SSLeay.Matthew Somerville2017-07-04-3/+4
| | |
| * | Make sure required packages installed on stretch.Matthew Somerville2017-07-04-0/+4
| | | | | | | | | | | | | | | These two packages were previously installed as a dependency of postgresql-server-dev-all, but are no longer on stretch.
| * | Remove some modules no longer needed.Matthew Somerville2017-07-04-199/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Class::Std, Class::Std::Fast and TermReadyKey were installed for use by SOAP::WSDL, which was removed in 4d077406. Return::Value was used by Email::Send, removed in b26da0da. The remainder are core modules that now have a minimal version which is higher than what we require. Other things that look to be removed but shouldn't: * CGI and Module::Pluggable need to be packaged as these are removed from core in 5.22 and 5.20 respectively; * MooseX::NonMoose is still needed for system Mac perl installation; * Cpanel::JSON::XS/ Devel::GlobalDestruction::XS might be installed; * CPAN::Meta::YAML, I'm not sure about but it seems to think that it already has a higher version installed than it does.
| * | Update carton/cpanm to handle 5.24 @INC change.Matthew Somerville2017-07-04-10700/+6653
| |/
* / Don't preselect inspector template on page load.Matthew Somerville2017-07-06-6/+10
|/
* Fix clickable spaces on inspect form/ward page.Matthew Somerville2017-06-30-12/+16
| | | | | Make the relevant labels inline-block so that their click area is not wider than their content; move the body name outside of the heading.
* Add scripts to rule them all.Matthew Somerville2017-06-30-1/+42
| | | | | Along the model of GitHub’s scripts, add generic scripts to bootstrap, update, test or run a server.
* Merge branch 'issues/forcouncils/193-state-of-the-template'Matthew Somerville2017-06-30-29/+115
|\
| * Update templates when category/state changed.Matthew Somerville2017-06-30-13/+66
| | | | | | | | | | | | When the category or state changes, the list of available templates updates (previously it was frozen at what the category was on page load, and didn't care about the state).
| * Fix bug when switching state to duplicate and backMatthew Somerville2017-06-30-6/+2
| | | | | | | | | | It would match the wrong submit button (because switching to duplicate introduced new submit buttons).
| * Factor out $inspect_form in JavaScript.Matthew Somerville2017-06-30-11/+14
| |
| * [fixmystreet.com] Template/priorities in fixture.Matthew Somerville2017-06-20-0/+34
| | | | | | | | Also include areas in auto-generated problems.
* | Resize photos client-side before uploadingDave Arter2017-06-30-89/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The newest version of Dropzone has added support for client-side resizing of images, so this commit upgrades to version 5.1.1 and takes advantage of that in order to reduce the disc space consumed by uploaded images. The target size & JPEG quality is quite aggressive, resulting in files in the region of 200-300KB instead of several MB. I've tried to pick a value which doesn't impact the usefulness of the photos in identifying problems. Handily the new version also correctly rotates images according to the EXIF tag so our patch has be reduced dramatically to deal with the sync nature of the mini EXIF library in use. Related to the disc space part of #1411, though EXIF metadata isn't stripped.
* | Translation updates to v2.0.4 from/to Transifex.Matthew Somerville2017-06-30-753/+10175
| |
* | [UK Councils] Show all pins only on two-tiersDave Arter2017-06-26-0/+7
|/ | | | Fixes mysociety/fixmystreet-commercial#859
* Don't resend if category change subsets body.Matthew Somerville2017-06-20-3/+3
| | | | | | Instead of checking if the list of bodies has changed at all, mark the report for resending if there is a body in the new list not present in the old.
* Move `toggle_shortlist` to `utils`pezholio2017-06-20-14/+13
|
* Return Response Priorities as JSON.pezholio2017-06-20-49/+129
| | | | | This now lets the response priority and defect type handling share the same code.
* Populate defect types dropdown on category changepezholio2017-06-20-19/+169
|
* [fixmystreet.com] Fix relative paths in fixture.Matthew Somerville2017-06-20-3/+3
|
* Test script should run 't' when other args given.Matthew Somerville2017-06-20-9/+9
|
* Run each test file in a transaction.Matthew Somerville2017-06-20-360/+159
| | | | This means that the tests can be run in parallel.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-94/+101
| | | | | | | | | | | | 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.
* Remove final use of old DBHandle.Matthew Somerville2017-06-20-239/+2
|
* [Borsetshire] Fix incorrect map page header heightZarino Zappia2017-06-20-4/+6
|
* [fixmystreet.com] Improve fixture loading script.Matthew Somerville2017-06-20-26/+545
| | | | | | 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.
* [Borsetshire] New cobrand for fictional councilZarino Zappia2017-06-15-0/+233
|
* [Oxfordshire] Show problem state in marker tooltipZarino Zappia2017-06-10-3/+13
| | | | Add hook so that cobrands can change pin hover title.
* Refactor pretty state display.Matthew Somerville2017-06-10-78/+40
|