Skip to content

Releases: mysociety/fixmystreet

Version 2.1.1

03 Aug 13:18
Compare
Choose a tag to compare
  • Email improvements:
    • Clicking on the map in an email links to the report #1596
  • Admin improvements:
    • Resend report if changing category changes send_method. #1772
    • Do not replace deleted text with [...] when moderating. #1774
    • Show reporter's phone number on inspector form. #1773
    • Redirect to /around after inspecting a report.
  • Bugfixes:
    • Cache template paths in About.pm with lang_code. #1765
    • Resize pin image before compositing onto static map.
  • Development improvements:
    • Use standard JavaScript translation for show/hide pins. #1752
    • Allow update-schema to run on empty database. #1755
    • Update MapIt URL to https in example webserver configs.
    • Option to redirect to custom URL from Contact form.

Version 2.1

18 Jul 17:43
Compare
Choose a tag to compare
  • New features:
  • Front end improvements:
    • Resize photos client-side before uploading. #1734
    • CSS header/content/navigation refactoring/simplification. #1719 #1718
    • Consolidate state dropdowns, make sure existing state is included. #1707
    • Simplify footer-marketing.html for most cobrands. #1709
    • Change the contact form Post button label to Send. #1750
    • Add an optional phone field to the contact form. #1750
    • Double resolution pin icons in core. #1713
  • Admin improvements:
    • Don't resend if category change subsets body. #1725
    • Fix styling of 'remove from site' button. #1700
    • Add inactive state to categories. #1757
    • Inspect form:
      • Make more visually distinct, better on medium screens. #1700 #1701
      • Populate defect types dropdown on category change. #1698
      • Update templates when category/state changed. #1729
      • Fix bug when switching state to duplicate and back. #1729
      • Don't preselect inspector template on page load. #1747
    • Allow inspectors to shortlist all reports in view. #1652
    • Subscribe inspectors to updates when state changes. #1694
    • Streamline new reports for inspectors. #1636
  • Bugfixes:
    • Make three strings translatable. #1744 #1735
    • Reinstate geolocation on alert page. #1726
    • Fix clickable spaces on inspect form/ward page. #1724
    • Make sure segmented control input not offscreen. #1749
    • Remove superfluous quote in HTML script element. #1705
    • Add missing closing to base FAQ.
  • Development improvements:
    • Allow static home page template override. #1745
    • Add Debian stretch/perl 5.24 support. #1746
    • Add scripts to rule them all. #1740
    • Update submodule on any Vagrant provisioning. #1702
    • Fix imbalanced paragraph tags in glossary. #1737
    • Spot badly configured SMTP type. #1758.
    • Add MAPIT_API_KEY support
    • Hooks:
      • Add hook for post-title field content in report form. #1735
      • Add hook so cobrands can change pin hover title. #1713
      • Allow cobrands to define pin colour for new reports. #1713
    • Testing:
      • Run each test file in a transaction. #1721
      • Test script should run 't' when other args given. #1721
      • Auto-add strict/warnings/Test::More with TestMech. #1554
      • Fix test that would not run offline. #1712
      • Fix timing edge case test failure.
  • Backwards incompatible changes:
    • The nav-wrapper-2 class has been removed. If you have a custom footer template, replace that class with 'container'. #1718
    • The /reports page now uses different generated data. If you have a custom reports/index.html template, you may need to call update-all-reports with the --table argument.
  • Internal things:
    • Move third party libraries into vendor directories. #1704
    • Stop using sudo on Travis, improve locale support. #1712
    • Add CodeCov coverage testing. #1759
  • UK:
    • Add fixture script. #1720
    • Add Borsetshire demo cobrand. #1717
    • Remove requirement for fixed body IDs. #1721
    • Show all pins on two-tier councils only. #1733
    • Stop nearest request with scientific notation. #1695

Version 2.0.4

13 Apr 21:23
Compare
Choose a tag to compare
  • Front end improvements:
    • On /reports maps, only include reports in view. #1689
  • Admin improvements:
    • Allow comma-separated contact emails in the admin. #1683
  • Bugfixes:
    • Upgrade Facebook 3rd party library to fix Facebook login. #1681
    • Don't error when devolved body, blank send methods. #1374
    • Fix issue with categories with regex characters. #1688

Version 2.0.3

31 Mar 14:08
Compare
Choose a tag to compare
  • Front end improvements:
    • Add ability to make map full screen on mobile report pages. #1655
    • Move staff-only JavaScript to separate file. #1666
    • Show loading indicator when loading pins. #1669
    • Allow users to reopen closed reports. #1607
  • Admin improvements:
    • Redirect to category-filtered /reports on login if present. #1622
    • Follow redirect to /admin after login if allowed. #1622
    • Include /admin link on top-level nav for admin users.
    • Add shortlist filters. #1629
    • Add submit buttons to admin index search forms. #1551
    • Store user object when deleting report. #1661
    • Use name at time of moderation, include superusers. #1660
    • Add customisable defect types. #1674
  • Bugfixes:
    • Fix crash on reports with empty bodies_str. #1635
    • Only output appcache/manifest for shortlist users. #1653
    • Fix placeholder typo in French translation.
    • Make sure report Ajax call is not cached by IE11. #1638
    • Check cobrand users list when admin merging users. #1662
    • Make sure emails are lowercased in admin. #1662
    • Specify options in 'all' status filter. #1664
    • Be clearer if no states selected is not all states. #1664
    • Set up correct environment in cobrand PO script. #1616
    • Allow superuser to leave update when inspecting. #1640
    • Remove duplicate <> around envelope senders. #1663
    • Fix invisible segmented controls in old Webkit. #1670
    • Remove superfluous lists from Open311 JSON output. #1672
    • Upgrade to using Email::Sender. #1639
    • Fix bug if test run c. 55 hours before BST starts.
    • Use lat/lon on inspection form if no local coordinates. #1676
    • Improve translatability of various pages.
  • Development improvements:
    • Send open reports regardless of current state. #1334
    • Clarify ‘inspected’ behaviour. #1614
    • Reduce disk stats. #1647
    • Refactor main navigation into reusable blocks.
    • Add Problem->time_ago for pretty-printed duration.
    • Add external_id field to ResponsePriority.
    • Forward on all bounces as bounces.
    • Use sender in From if From and To domains match. #1651
    • Refactor SendReport::Open311 to use cobrand hooks. #792
    • Do upload_dir check on start up, not each report. #1668
    • Make sure all tests can run offline. #1675
    • Add ability to override Google Maps road style. #1676

Version 2.0.2

03 Feb 15:57
Compare
Choose a tag to compare
  • Front end changes:
    • Add an offline fallback page with appcache. #1588
    • Improve print layout for report list pages. #1548
    • Rename ‘unable to fix’ as ‘no further action’.
  • Bugfixes:
    • Mark two missing strings for translation. #1604
    • Make sure email is lowercase when signing in. #1623
    • Make sure language included in calls to base_url_for_report. #1617
    • Small CSS homepage fixes.
    • Admin:
      • Fix filtering on shortlist page. #1620
      • Fix 'save with public update' toggle. #1615
  • Admin improvements:
    • Add offline report inspection for inspectors. #1588 #1602 #1608
    • Admin with appropriate permission can see body user who left contribute_as_body report or update. #1601 #1603
    • Include ‘Add user’ link on admin user search results page. #1606
    • Redirect to new user after user creation/edit. #1606
    • Redirect to shortlist after inspection if user has permission. #1612
    • Allow response templates to be associated with a state, and default to that template if report state changed to match. #1587
    • Disable show name checkbox when reporting as someone else. #1597
    • Show response priorities in report list items. #1582
    • Shortlist add/remove icons in report lists and report page. #1582
    • Reordering shortlist buttons in report lists. #1582
    • Default inspect form to save with public update.
    • Drop unneeded Cancel button on inspect form.
    • Use ‘*’ on admin page to signify superuser.
  • Development improvements:
    • Update has_body_permission_to to allow superusers. #1600
    • Move staging flags to their own config variable. #1600
    • Only warn of Open311 failure after a couple, in case it's transient.
    • Only load user body permissions once per request.
    • Return 400/500 for some client/server errors.
    • Fix bad cross-year test.

Version 2.0.1

16 Dec 12:54
Compare
Choose a tag to compare
  • Bugfixes:
    • Fix issue in dragging map in Chrome 55. openlayers/ol2#1510
    • Don't double-decode strftime output, to fix date/time display.
    • Filter category should always carry through to form.
    • Don't fix height of admin multiple selects. #1589
  • Admin improvements:
    • Add duplicate management to inspector view. #1581
    • Open inspect Navigate link in new tab. #1583
    • Scroll to report inspect form if present. #1583
    • Update problem lastupdate column on inspect save. #1584
    • Update priorities in inspect form on category change. #1590
  • Development improvements:
    • Pass test if NXDOMAINs are intercepted.
    • Better path for showing config git version. #1586

Version 2.0

15 Nov 14:36
Compare
Choose a tag to compare
  • Front end improvements:
    • Add HTML emails. #1281 #1103 #72
    • Stop map being underneath content sidebar/header. #1350 #361
    • Use Ajax/HTML5 history to pull in reports and improve map views. #1351 #1450 #1457 #1173
    • Allow multiple states and categories to be filtered. #1547
    • Add sort order options to list pages. #308
    • Invert area highlight on body pages. #1564
    • Allow users to change their own email. #360 #1440
    • Improve change password form/success page. #1503
    • Allow scroll wheel to zoom map. #1326
    • Rename "Your reports" in main navigation to "Your account".
    • Centre map on pin location when creating a report.
    • Zoom into map after second click on marker.
    • Maintain single newlines in text output. #306
    • JavaScript performance improvements. #1490 #1491
    • Allow searching for reports with ref: prefix in postcode field. #1495
    • Improve report form, with public, private, category sections. #1528
    • Only show relevant bodies after category selection.
    • Add update form name validation. #1493 #503 #1526
    • Add CORS header to RSS output. #1540
    • Switch MapQuest to HTTPS. #1505
    • Better 403/404 pages.
  • Admin improvements:
    • Greatly improve report edit page, including map. #1347
    • Improve category edit form, and display extra data. #1557 #1524
    • Hide confirmed column on body page if all categories confirmed. #1565
    • Show any waiting reports on admin index page. #1382
    • Allow user's phone number to be edited, and a report's category. #400
    • Resend report if changing category changes body. #1560.
    • Leave a public update if an admin changes a report's category. #1544
    • New user system:
      • /admin requires a user with the is_superuser flag. #1463
      • createsuperuser command for creating superusers.
      • Feature to create report as body/other user. #1473
      • Add user permissions system. #1486
      • Allow user to have an area assigned in admin. #1488
      • Allow user to have categories assigned in admin. #1563
      • Add inspector report detail view. #1470
      • Add user shortlists. #1482
      • Add response templates and priorities. #1500 #1517
      • Add user reputation and trusted users. #1533
  • Bugfixes:
    • Front end:
      • Fix photo preview display after submission. #1511
      • Update list of TLDs for email checking. #1504
      • Fix form validation issue with multiple IDs. #1513
      • Don't show deleted bodies on /reports. #1545
      • Stop using collapse filter in category template.
      • Use default link zoom for all map types.
      • Don't reload /reports or /my pages when filter updated.
      • Don't show alert email box if signed in.
    • Do not send alerts for hidden reports. #1461
    • Admin:
      • Fix contact editing of Open311 categories. #1535
      • Show 'Remove from site' button based on report. #1508
      • Improve moderation display and email. #855
      • Fix invalid SQL being generated by moderation lookup. #1489
      • Show user edit errors (e.g. blank name/email). #1510
      • Disallow empty name when creating/editing bodies.
      • Fix a crash on /admin/timeline.
  • Development improvements:
    • CSS:
      • make_css: Add output style option.
      • make_css: Follow symlinks.
      • Remove some unused CSS, and simplify full-width. #1423
      • Add generic .form-control and .btn classes.
    • Open311:
      • Tidy up/harden some handling. #1428
      • Add config for request limit, default 1000. #1313
      • Automatically spot co-ord/ID attributes. #1499
      • Make sure passed coordinate is decimal.
    • JavaScript:
      • Use static validation_rules.js file. #1451
      • Remove need to customise OpenLayers built script. #1448
      • Refactor and tidy all the JavaScript. #913
      • Prefer using an auto.min.js file if present/newer. #1491
    • Testing:
      • Speed up tests by stubbing out calls to Gaze.
      • Tests can run multiple times simultaneously. #1477
      • run-tests with no arguments runs all tests.
    • Don’t cache geocoder results when STAGING_SITE is 1. #1447
    • Make UPLOAD_DIR/GEO_CACHE relative to project root. #1474
    • Change add_links from a function to a filter. #1487
    • Optionally skip some cobrand restrictions. #1529
    • Allow contact form recipient override and extra fields.
    • Add server-side MapIt proxy.
  • Vagrant installation improvements:
    • Improve error handling.
    • Don't add a symlink if it is to the same place.
  • Backwards incompatible changes:
    • Drop support for IE6. #1356
  • UK
    • Better handling of two-tier reports. #1381
    • Allow limited admin access to body users on their own cobrands.
    • Add Content-Security-Policy header.

The Open311 adapter code has been moved to its own repository at https://github.com/mysociety/open311-adapter.

Version 1.8.4

06 Jul 15:26
Compare
Choose a tag to compare
  • Security:
    • Fix XSS vulnerability in OpenGraph header and hide/all pins links.
  • Front end improvements:
    • Wrap emails better for differing screen sizes. #1393
    • Fix annoying jump when "Get updates" drawer opened. #1425
    • Improve auth flow taken when return key used. #1433
    • Add and improve more CSRF tokens. #1433
    • Remove default box-shadow. #1419
    • Fix missing margin before reporting form email input. #1418
  • Bugfixes:
    • Redirect correctly if filter used without JavaScript. #1422
    • Remove race condition when starting new report. #1434
    • Fix a couple of display bugs in IE7. #1356
    • Correctly orient preview images. #1378

Version 1.7.2

06 Jul 15:26
Compare
Choose a tag to compare

This is a security update of an older version, please use the latest version if possible.

Security release, to fix XSS vulnerability in OpenGraph title header and hide pins/all pins links.

Version 1.6.3

06 Jul 15:26
Compare
Choose a tag to compare

This is a security update of an older version, please use the latest version if possible.

Security release, to fix XSS vulnerability in OpenGraph title header and hide pins/all pins links.