What Changed in May, June and July 2021
What changed in January to April 2020
Monday 3 May 2021
- Code to ensure a session is created when restoring saved routes
- Suppressed UK Waterways Ranking badges on non-UK pages
- Added the "blogs" plugin to pages - issue 897
→ Release 9.37.8
Tuesday 4 May 2021
- Several improvements to the map on the gazetteer page:
- clicking on waterways now zooms in, as it was always meant to
- hovering over places works properly
- Boat names escaped so social share works for boats with quotation marks in their names (for example)
- Moved wz_tooltip.js in page to remove reduce JS errors from it
→ Release 9.37.8.1
Wednesday 5 May 2021
- Trap to prevent multiple (thousands!) of reports of the same error
- Removed an old POI map file
- Restored ability to delete places
- Improvements to discussions
- Changing the status reloads the page to show the changed button
- Restored "delete" button
→ Release 9.37.8.2
Thursday 6 May 2021
- Fixed link to explorer in search results
- Added a version number to dynamically loaded scripts to reduce over-caching
→ Release 9.37.8.3
Friday 7 May 2021
- Improved versioning for JS across site (probably the 'cause' of several "this doesn't work/have you tried refreshed/oh, it's OK now" 'bugs'
- Improvements to JS error trapping
- Fixed a couple of bugs so discovered
- Restored "being rebuilt" message for pages
→ Release 9.37.8.4
Saturday 8 May 2021
- Should now capture sessions from failed JS if they exist
- Improvements to index page thumbnails (doesn't fail if window too wide, better code)
- Send column of error to help dig things out of compressed files
→ Release 9.37.8.5
- Fixed show all discussion pages - no error because of missing creole parser
- Really capture sessions this time, and place table as well
- Debugging to try to capture logon problem
→ Release 9.37.8.6
- Fixed JS bug in setting home mooring on options page
- Removed all traces of "Set_Content_Width"
- Fixed bug in vcruise of non-uk locations
- More debugging for callback problems (login probably one of these)
→ Release 9.37.8.7
Tuesday 11 May 2021
- Removed unwanted photo-licencing message from PDFs
- Some fixes to prevent JS errors from Safari 10.0 - the IE6 of 2021:
- URLSearchParameters
- Object,values
- Catch for expired sessions causing problems for api on index.page (and probably elsewhere)
→ Release 9.37.8.8
Wednesday 12 May 2021
- Restored ability to rate moorings and access on pages
Thursday 13 May 2021
- Added some more debugging catches to continue background work on making things more robust
→ Release 9.37.8.9
Friday 14 May 2021
- Possible fix to a possible vcruise JS bug in photo advance: definitely a fix to the code!
→ Release 9.37.8.10
Saturday 15 May 2021
- Similar tweak to the cp_info variable to see if it makes any difference
- Fixed daily maps on PDF itineraries (issue 913).
- Added a grouping by initial direction of travel to the "nearest" plugin - issue 845
→ Release 9.37.9
Sunday 16 May 2021
- Removed huge chunks of code from the generate_marker script as they never apply (it was a copy of generate_place and inherited a lot)
- Removed the option to revert from the "experimental" pages
- Improvements to the code to show/hide of the delete button that was sometimes breaking discussion editing
- Fixed bug in history to code to solve issue 914 - I've got to remember to check for -1
→ Release 9.37.9.1
Monday 17 May 2021
- Finally - I believe - fixed the photo caption escaping bug (it was a separate one) that was keeping issue 908 alive.
Wednesday 19 May 2021
- A heap of tweaks to fix or avoid reported JS bugs
→ Release 9.37.9.2
Saturday 22 May 2021
- A couple more tweaks so that when external JS fails to load the result is more elegant
- Fixed photo downloads which have been broken for several months from the look of things
- Improvements to page deletion when photos are changed; this may fix a problem with the old gazetteer cache still getting entries
- Some additional debugging info for JS as well
→ Release 9.37.9.3
- Fixed bug where trying to export a PDF with markers didn't produce the appropriate error page but instead loaded an old page -final part of issue 870
- Removed last vestiges of the ability to switch input screens
- Improvements to mode for turning things on and off in various edits to prevent JS errors
→ Release 9.37.9.4
- Some partial work on editing areas
Sunday 23 May 2021
- Enabled log in/out on drop down menu on all pages (failed on those - like output - that have a "banner" instead on wide screen output)
- Removed old Parse_JSON function as JSON.parse is now native to all sensible browsers
- Fixed a typo in yesterday's page deletion fix
→ Release 9.37.9.5 (without areas editing)
Tuesday 25 May 2021
- Added several hundred more icons for furthest place as it was blowing up sometimes (good example of the value of the JS error trapping finding new problems)
→ Release 9.37.9.6
Tuesday 1 June 2021
- More work on escaping of photo captions, which I think finally fixes it (issue 916).
- Improvement to cope to support automatic escaping of photo database reads
→ Release 9.37.9.7
Friday 4 June 2021
- Work on breadcrumbs to address issue 919, plus some other things found when testing
- Added breadcrumbs to photos
- Fixed link on breadcrumbs in areas
- Fixed link to QR codes in areas
- Added an error message for pages that call breadcrumbs with no data
→ Release 9.37.9.8
Saturday 5 June 2021
- Fixed furthest place when starting location came from a search (issue 802):
- Made it remember it was doing furthest place and not revert to route planning
- Made it keep the place so that it then gets substituted
- Added a new parameter to the "plan" mode for the API, to satisfy issue 921 by adding a "pref" parameter.
→ Release 9.37.10
Sunday 13 June 2021
- Restored editing of distance tables for waterways
- Route entry uses a new selector - finally implemented issue 42 - I'd written most of the code ages ago, but not got round to final testing and implementing it
- When you call this from route entry it loads to where it is, or the common subset of other places
→ Release 9.37.11
Tuesday 15 June 2021
- Made the gazetteer search use the new selector.
- Added a world map at the top level for the gazetteer. This is the first half of my suggested solution to issue 797.
→ Release 9.37.12
Tuesday 22 June 2021
http://canalplan/cgi-bin/canal.cgi
- Extended the route entry wizard to use the new selector (completes issue 797).
→ Release 9.37.13
- Fix to prevent missing graphics breaking place generation with an endless loop
- Fix to ensure background graphics are now calculated
→ Release 9.37.13.1
Friday 25 June 2021
- Tweaks to selector code to prevent errors when clicking on waterways that are not "active" at the current level, and to prevent them having a cursor to suggest this is a good idea
→ Release 9.37.13.2
Saturday 26 June 2021
- Got map-based selector working in pop ups for route planning. Improved the code quite a bit in doing so.
- Added it to "Find" for home mooring in preferences
- Added it to "Exclude a waterway" in preferences
- Added lazy loading to user photo pages as suggested in issue 934
→ Release 9.37.14
- Fixed the "explore" on "move photo"
- Made "move photo" show names not IDs (but users can input IDs and it still works)
- Removed selector from "move photo" because it doesn't make sense now you can have places, areas and features
- Added map-based selector to "major edit: add a waterway"
- Added map-based selector to "major edit: edit or add a cruising ring"
→ Release 9.37.15
Sunday 27 June 2021
- Improved display of photo descriptions to use wiki markup
- Added a message about this and the hint sheet to the page where you edit this
- Added a help-us plugin for photos with descriptions that contains HTML markup
Together these are a solution to issue 924.
→ Release 9.37.16
- Added a "jump to day nnn" to virtual cruise as suggested by issue 894
- Fixed a bug in the route calculator where the days shown in the gazetteer ("You pass here on ....") were out by one
- Greatly improved the pre-loading of data in virtual cruise
- Changed RSS link to photo description to the photo, not to a location that didn't work
→ Release 9.37.17
Monday 28 June 2021
- Prevented map zoom when scrolling past it
- Multiple fixes to the synchronisation and alerting code for place editing, triggered by issue 937.
→ Release 9.37.17.1
Tuesday 29 June 2021
- Removed all adverts from pages called from "showstuff" (which is blocked to direct links) to solve issue 927
- Added canonical paths to pages. Configured in /templates/default/config.hdf (currently set to https://canalplan.uk). Resolves issue 516
→ Release 9.37.18
Saturday 3 July 2021
- Prevented it trying (and failing) to create "goto" dropdown in vcruise if no date information
- Added the ability to lock places to prevent edit wars. Not bad to have got this far without needing it!
→ Release 9.37.19
Wednesday 7 July 2021 ==
- Changed the check on how many days you had to have in a route with first/last ends before getting a message - issue 939
- Improved the wording for the "last morning of trip" in outputs
- Some debugging info for a common bug, if it is a bug, and a redirect if it's not
→ Release 9.37.20
To Saturday 31 July 2021
- Removed unneeded old plugins configuration
- Hopefully a fix to export for development to allow the photos plugin to get through
- Fixed bug in thumbnail generation
- Fixed bug where dynamic text on pages got confused through async stuff (which sometimes put "you pass here" in navigational notes for example)
- New route_list table that should allow lots of things to be simplified (improves vcruise and when you pass through places enormously)
- The dynamic "you pass through here" block now covers where your trip starts and ends
- Added a "start virtual cruise here" button to gazetteer pages - issue 656
- Improvements to virtual cruise
- Fixed spacing between progress bar on virtual cruises and the "Go to" selector
- Fix bug in "Go to" where the destination was one place out half the time
- Added an indication of where in the route (proportion, days and date if relevant) you are
- Button is now "return" rather than "route editor" (which was always wrong for waterway virtual cruises)
→ Release 9.37.21
Saturday 31 July 2021
- Fixed issue 945 - all settings are taken properly from the route entry wizard now
- Fixed a bug when adding an external website to a feature
→ Release 9.37.21.1
