aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | [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
|
* [Oxfordshire] Custom pin images with iconsZarino Zappia2017-06-09-4/+21
| | | | | | | Oxfordshire map pins now have icons on, and some use different colours, to better communicate the status of reports. Fixes mysociety/fixmystreetforcouncils#170
* Double resolution pin icons in coreZarino Zappia2017-06-09-0/+0
|
* Allow cobrands to define pin colour for new reportsZarino Zappia2017-06-09-8/+20
| | | | | | Previously, a green marker would be used for reports as they were being created. Now, cobrands can override `pin_new_report_colour` to show a different pin image when users are creating a new report.
* Add MAPIT_API_KEY supportDave Arter2017-06-08-0/+4
|
* Merge branch 'csssss'Matthew Somerville2017-06-08-1154/+648
|\
| * [fixmystreet.com] Fix report a problem bg hover.Matthew Somerville2017-06-08-0/+3
| | | | | | | | | | The change to background-colour in 35bf6ddb2e meant the normal hover linear-gradient was overriding.
| * Prevent #map_sidebar shadow from overlapping #site-headerZarino Zappia2017-06-08-1/+1
| |
| * Basic white label cobrand.Dave Arter2017-06-08-0/+61
| | | | | | | | | | | | This removes most of the FMS/mySociety branding, but uses the same logic as the fixmystreet.com cobrand wrt problem restrictions, handling, etc. Suitable for UK council demos.
| * Simplify .container width calculationsZarino Zappia2017-06-08-240/+107
| | | | | | | | | | | | Removing the explicit width lets .container scale down nicely to the "middle" 48-60em screen width range without its contents hitting the sides of the window (as previously happened).
| * Remove background overrides from sass core.Matthew Somerville2017-06-08-62/+23
| | | | | | | | | | | | Most cobrands have the same header at mobile and desktop, so it is easier and simpler for the default to have this and override where necessary.