What Changed in January, February, March and April 2021
What changed in July to December 2020
Saturday 9 January 2021
- Code to work out whether a place being rotated is at the start or the end of a waterway when designing the map symbol for it. Issue 864.
- Made it so 'f:nn' locations work just like 's:nn' - fixes issue 865.
- Made "refresh" clear the closeup map file as well
→ Release 9.36.8.4
- Restored error messages for pages (root cause of issue 866).
- Improved duplicate alias error message while testing it.
→ Release 9.36.8.5
Saturday 16 January 2021 ==
- Tidied up tab code. Removed old corners and added using modern styles (and got them working again). Imported a style file. Removed javascript: links.
- Completed work on Geograph plugin for location pages
→ Release 9.36.9
Sunday 24 January 2021
- More tweaks and adjustments to Geograph and Photo plugins
- Google plugin for pages created
→ Release 9.36.10
Saturday 13 February 2021
- Further improvements to the Geograph and Photo plugins, especially around display of captions
- Code to throw a few random search engines at the new pages to see what happens
→ Release 9.36.11
- Added display of photo when moving it (lost in new photo work I think)
- Fixed drop-down of pre-prepared ideas for deleting photos
- Added delete photo to photo display page - this means that you don't need drop-downs on photos but can go via the show page
- Restored ability to add photos to places in pages subsystem
- Fixed some broken photo paths in virtual cruises
- Restored lat/lng etc to virtual cruises (lost since mobile menu added!)
→ Release 9.36.12
Sunday 14 February 2020
- Work on conditional checks in pages
- Added subsystem for conditional menu items and make it work with the "refresh" right
- Added discussions to dynamic pages - involves checking status at display time
→ Release 9.36.13
- Supported the "show discussion" links from the home page
- Fixed "edit feature" on new pages
- Fixed bug with daily totals for things like major aqueducts (issue 868).
→ Release 9.36.14
- Tweak to edit feature to remove duplicate of height entry from top of page
- Pre-release patch to gazetteer page code to fix issue 858 and issue 860.
Saturday 20 February 2021
- Framework to add an "edit" or "add" button to plugins for new pages created
To Saturday 20 March 2021
- Added the ability to add photos to features and areas (they could be moved to them, but not added before)
- Adding a photo causes a page to be regenerated and so the new photo is seen
- New framework used to add "add photo" icon and supporting code to place and feature plugins on pages
- Lots of improvements to new pages, mainly around systematising editing for assorted plugins, tidying up menus etc
- Fix to route entry to address issue 875 - home mooring not picked up in route planning
- Improved the initial layout of the route entry screen so you don't get so much stuff displayed then hidden. Better use of dynamic classes rather than styles
- Made route output maps resizable as requested in issue 877.
→ Release 9.36.15
Sunday 21 March 2021
- Continued to improve new pages:
- Fixed discussions - I was doing them wrong before
- Maps have links to external maps again
- Maps can be edited on places
- Adverts working properly on new pages
- Bodge to geodata cache so we don't swamp providers when rebuilding all pages
→ Release 9.36.16
- Replaced part of the build process that checked for unwanted statements in code by a configurable program and extended to make it check a wider range of things, including the new pages code and plugins.
- Fixed the things identified by that
→ Release 9.36.17
Saturday 27 March 2021
- Local distance tables in new gazetteers are correct
- By patching new gazetteer pages, can display marker places without needing to duplicate every page - works for all 4 page types
- Added a new generator for marker places. Adjusted code so they don't get cached.
- Fixed buttons at the bottom of new pages – issue 885.
- In doing that, sorted out the problem with "home moorings" and solved it properly (issue 875).
I view this as completing the the migration to the new gazetteer pages and will make them the active ones very shortly, hence the major increment to version number. I do expect to find some bugs though!
→ Release 9.37
Thursday 1 April 2021
- Pre-release fix to moving of marker on map
- Restored names to place maps
- Photos and geograph photos use "lazy loading"
- Fixed wikipedia fetch for places with quotation marks in names
- Fixed bug where "editable" configuration wasn't being parsed correctly
- Removed edit icon from description on marker places using this
- Marker places have "convert marker" option and not a lot more
- "Preferences" button on marker place now works
- Fixed silly bug I introduced when setting distances on new pages - issue 890.
→ Release 9.37.1
- Work to move from "display:none" to using classes had messed up the menus in route entry (issue 886). Fixed.
- And also affected the drop-down menu controls. The fact that Bootstrap used "hidden" as a class didn't help! I hope this fixes issue 889 as well.
→ Release 9.37.1.1
Friday 2 April 2021
- Virtual cruises now use the new pages to get the text to display
- Removed some obsolete inline editing code from new pages as this is no longer supported
Saturday 3 April 2021
- Fixed a couple of bugs in the background of new pages - around recalculating missing symbols for linear maps and updating options
- Changed wget calls in new pages to use timeouts (since the bug I had to work around has been fixed in subsequent release of wget)
- Return from virtual cruise of a waterway works
→ Release 9.37.2
Sunday 4 April 2021
- Closed down a couple of rare but recurring bugs from session management
- Tracked down very silly thing I'd done ages ago that damaged place finding - for example, returned "Lower Kyme Lock" as the best hit for "Wigan Bottom Lock".
Saturday 17 April 2020
- Bug in exclusion list that meant that the photos plugin was never getting updated fixed
- Made "History" button work for places (issue 898
- Removed it from non-places
- Made "Explore" button work for non-places
- Made it give good results for places with special characters in them (like apostrophes)
- Added "Select" button to explorer
Lots more work still needed to make the explorer properly integrate with the new route planner and pages, but will release these patches and keep working on it.
→ Release 9.37.3
- When the "Explorer" is called from a page it doesn't do the search.
Sunday 18 April 2021
- Improvements to the Explorer from route entry - if it knows the place (already in the list) it shows it directly, if not it uses the search
- Removed lots of old configuration data for gazetteer pages that don't get shown any more
- Expanded move photo so that it works when the photo is of an area as well as a place
Monday 19 April 2021
- Likewise made move photo work for photos of features
- Added an Explorer for move photo, as that's just the sort of time you are likely to be wanting to find nearby places, features and areas
- In Explorer, got "select" only showing on appropriate things for pages, photo edit and route entry, extending the configuration to be more flexible (so can select anything but waterways, say)
Tuesday 20 April 2021
- Made Explorer on "Gazetteer" page pick up and act on the three radio buttons the same way search does
Wednesday 21 April 2021
- Restored boats to Explorer
→ Release 9.37.4
Thursday 22 April 2021
- Some tidying up of code to remove old minigaz entirely, and put boat info into remote_render rather than api
- Pre-release fix to issue 904 - result of incredible daftness, and only on live version
Saturday 24 April 2021
- Proper distribution of adverts on new pages (id rather than date-based)
- Fix to issue 905 - error associated with new explorer code broke rearrangement of places part way through, leaving them in a mess
→ Release 9.37.5
- Area and feature maps have marker places included in the heavy line drawn on the map
- Deleted "info" places - they've been overtaken by areas and the code would need significant rework
- Removed a gauge_zone table that doesn't appear to do anything
- Updated JavaScript along the lines of issue 674
- Restored, but reworked, JS error catching and reporting now that things are fairly stable and a lot more is happening there.
→ Release 9.37.6
Sunday 25 April 2021
- JavaScript fixes from yesterday's reporting
- Removed reports of bugs in, say, Google's ad code
- Removed reports from some browsers (search engines?) that send no useful information at all
- Social share buttons work on places with apostrophes in their names (boats and places)
- Bug in showing users page startup
- Fixed a bug into editing/adding I introduced yesterday dammit (but at least new code told me!)
- Fixed a bug that was breaking "history" for some places
- Improved bug reporting to say what page has triggered the bug
→ Release 9.37.6.1
- More JS tweaks (most pre-released individually to test them):
- Yesterday had only done social share for boats. Now done for places, areas, features and waterways
- Pages had an error in dynamically loading plugins and calling them - should now be fixed
- Problems if you tried to set options on a page when you didn't have a session active - now loads them
- Attempt to stop things failing when trying to use the "what to show" option on pages sometimes
- Removed lots of old code for previous gazetteer pages
→ Release 9.37.6.2
Tuesday 27 April 2021
- Rewrite of JavaScript loading code to cope with the same thing being called more than once in quick succession (very nasty to find, diagnose and fix - I hate coding for asynchronous stuff) - all the gory details in issue 909.
- Fixed logic so that maps were shown if you weren't logged in, but did have a route planned, and hadn't changed any preferences (found when doing work on the previous item)
Wednesday 28 April 2021
- As suggested in discussion on issue 907 created coordinates for each type of place to allow them to be shown on external maps. This can be shown even when the map isn't displayed.
Friday 30 April 2021
- Fixed error in resizing maps
- Stopped stray coordinate entries breaking place addition
- Improved JS error reporting, but not turned on at the moment
→ Release 9.37.7
