What Changed in January 2020
What changed in November and December 2019
Wednesday 1 January 2020
- Fixed long-standing bug reported in issue 683 where requested overnight stops were moved to the end of lock flights etc.
- Noticed when working on this that gazetteer pages gave the wrong day number for overnight stops, so fixed that.
- Made gazetteer pages give dates rather than numbers for stops and passes when you have dates set
Thursday 2 January 2020
- Improved messages in output when stops are in flights (now that this can actually happen!)
- Prevented a change to a marker place failing when trying to delete closeup maps
- Removed "Edit" button from maps on marker places (as the only thing you can do is move, and that already exists)
- Removed closeup maps from marker places (because why?) These last 3 fix issue 684 I hope
→ Release 9.34.14
To Saturday 4 January 2020
- Subsystem to detect screen size and switch menu depending
- New top-bar and drop-down menu for small screens
These two appear to make the site a lot easier to use on small screens in themselves, as well as being the foundation for future improvements, so seem worth releasing and putting to users before doing any more work on this.
Note that the front page is pretty rubbish if you go back to it, but not really any worse than before. This is probably the next thing to redesign.
→ Release 9.35 *ADDS*Mobile-friendly layout
- Pre-release patch to prevent all stylesheets vanishing on some browsers!
Sunday 5 January 2020
- Removed the indent on place names in route lists when on small screens
- Code to reshape the home page on narrow screens
- Added a "find" to the narrow screen menu bar
- Added logon to narrow screens version
→ Release 9.35.1
- Suppressed items from the narrow screen menu - removed "home" (as it's there) and the current page when easy to define (so not wiki pages – yet)
To Thursday 9 January 2020
- Removed all the new code to calculate the screen and replaced it media queries in stylesheets. This is a much better approach generally and does nice things like switch automatically when pages change.
- Enhanced logon status code to cope with there being two menus on pages (although only one is displayed at any one time) - this was already a bug on the index page but now applies to them all
Saturday 11 January 2020
- Enough other tweaks to make the new CSS-only version publishable as a baseline for further work
- Fixed a bug in the code that says what day you pass through places when you had travel on the first night
→ Release 9.35.2
- Renamed the CanalPlan files clearsilver.[ch] and nme.[ch] to have a can_ prefix to avoid problems on systems that aren't case sensitive.
- Broke a comment over two lines to stop the latest gcc complaining.
- Replaced banners on narrow output pages with top menus
Sunday 12 January 2020
- Made an responsive accordion format for the route output. Not quite working perfectly (they don't seem to be collapsable on desktop, and can have multiple expanded on mobile, but still big improvement).
- Restored submenus to operation (issue 691) - result of having two sets of identical items now there are two menus (although only one shown at a time) so added a distinguishing suffix in a not very elegant way.
→ Release 9.35.3
- Fixed an old unreported bug where a good match on a flight name in route planning caused it to fail by putting the feature code in as the place id, instead of producing a list of places for you to pick from (causing example - "wigan flight") - detected from autobug emails.
Saturday 18 January 2020
- Fixed an old unreported bug where errors when editing places caused a crash rather than a message - detected from autobug emails.
- Prevented photos with no place ID causing errors. They are now flagged like that and can be moved to other places. Again, detected from autobug emails.
- Some tweaks to responsive styling to prevent top menu extending too far right on some devices
- Removed items from menus on marker places (external websites and add photos) - triggered by external websites failing with error.
- Put closeup maps on gazetteer pages when not logged in to increase caching and help with problems with itineraries (and especially PDF ones)
→ Release 9.35.4
Sunday 19 January 2020
- Major refactoring of Show_Route function in canal.can - reduced it from 168 to 58 lines by removing things into 6 new functions. In doing so spotted things at opposite ends of the function that made sense putting them together. Much easier to work on now.
- Build in a check and work-around for rare but recurring bug where altroutes failed because of inconsistencies between place_table and saved totals.
- Added pubs to the configuration file for automatic symbols from place names
Monday 20 January 2020
- Fixed the quicksearch boxes - another note in issue 691.
→ Release 9.35.5
Wednesday 22 January 2020
- Fixes to display of stoppages and notices - separators in the navigational notes on gazetteer, and auto-tidying of HTML (in a not very efficient way) added as a proof of concept. As much as can practically be done on issue 679 I think.
- A follow-on fix to the changes to quicksearch boxes that prevented some details on gazetteer pages loading
→ Release 9.35.6
Friday 24 January 2020
- Fixed a typo in field names that was stopping some quick searches from working
- Added old names to code so cached search engine results weren't failing
- Fixed error in refactoring that damaged PDF generation
→ Release 9.35.6.1
