aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
|
* 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.
| * Update all cobrands for new core styles.Zarino Zappia2017-06-08-595/+408
| | | | | | | | Adjustments necessary due to the preceding commits.
| * Tidy up .content width/margin/padding.Matthew Somerville2017-06-08-17/+3
| | | | | | | | | | There was no need for the default .content width to be fixed and require overriding.
| * Add Sass variable for header top border.Matthew Somerville2017-06-08-3/+16
| | | | | | | | | | This makes it easier to change/remove the default top border, with subsequent measurements adjusting accordingly.
| * Simplify navigation HTML/CSS (larger widths).Zarino Zappia2017-06-08-177/+44
| | | | | | | | | | | | | | This commit removes the caption-side handling, which wasn't actually used. It gets rid of .nav-wrapper-2, and uses site-header for header display (e.g. top border). It does not update any cobrands with what needs changing.
| * Reduce complexity of header CSS.Zarino Zappia2017-06-08-131/+54
| | | | | | | | | | | | Rely upon the site logo for the header height, rather than use absolute positioning/height. This commit only alters the base styling, including cobrands; layout styling comes later.
* | Merge branch 'csssss-part-i'Matthew Somerville2017-06-07-138/+75
|\|
| * Default to same-size logo on front page.Matthew Somerville2017-06-07-9/+25
| | | | | | | | | | This means that only cobrands that want a different/bigger logo have to override it.
| * No need for display:inline on floated nav items.Zarino Zappia2017-06-06-5/+2
| |
| * Remove mySociety logo from default header.Zarino Zappia2017-06-06-80/+38
| |
| * [fixmystreet.com] Better .content homepage layout.Matthew Somerville2017-06-06-44/+10
| | | | | | | | Remove unused .tablewrapper footer CSS.
* | [fixmystreet.com] Rework pro marketing pageMartin Wright2017-06-02-182/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | Reorder structure of the page Remove icons from features text Add screenshot of theme examples Remove compatibility information Recolour clients section Pricing table - Move prices to bottom - Ditch 'show more' functionality - Add revised tier names