caption: 5.1.18 created: 20180512112829164 modified: 20180821123858749 tags: ReleaseNotes title: Release 5.1.18 type: text/vnd.tiddlywiki //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.17...v5.1.18]]// !! Major Improvements !!! Node.js HTTP Server The HTTP WebServer functionality has been significantly improved: * Adds ability to make a wiki that is read-only for anonymous users, but allows editing for users who log in * Adds support for serving static file attachments over HTTP * Adds support for multiple user credentials for basic authentication via a CSV file containing usernames/passwords * Hides UI features like the new tiddler button and the edit button when the user only has read-only access to the wiki * Adds support for serving over HTTPS as well as HTTP * Adds support for authentication via a trusted header, making it easier to integrate with corporate single sign on (and Windows authentication) * Adds support for more fine grained authorisation (ie granting/denying individual users read/write permission to resources) * Better debugging information * Experimental support for a new, plain HTML single tiddler per page view * Adds a simple level of [[CSRF protection|WebServer Parameter: csrf-disable]] * Deprecating the existing `--server` command in favour of a new `--listen` command using the new NamedCommandParameters support for named parameters that can be specified in any order * Refactoring routes as separate modules, making it easier to extend the server with new functionality See WebServer for more details, or [[see the changes on GitHub|https://github.com/Jermolene/TiddlyWiki5/pull/2679]]. !! Comment Plugin This release [[adds|https://github.com/Jermolene/TiddlyWiki5/commit/acaa07a964a004759ddb8fb755484918b3322815]] a new commenting plugin -- see $:/plugins/tiddlywiki/comments !! Translation Improvements New and improved translations: * !! Usability Improvements * [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/6b14969cf60bdcad16ac5978030bf1d929a712c6]] a warning for binary tiddlers in view mode * [[Extended|https://github.com/Jermolene/TiddlyWiki5/issues/3255]] permalink/permaview to copy the URL to the clipboard as well as updating the address bar. This behaviour can be customised in $:/ControlPanel settings * [[Improved|https://github.com/Jermolene/TiddlyWiki5/commit/d96c84426484747ab19d92b1d9f49e01c9dad985]] saving to use the $:/SiteTitle as the basis of the filename * [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/09112ed455e7c4be2e50e88c00f370d726d71f64]] support for [[webp|https://en.wikipedia.org/wiki/WebP]], [[heic and heif|https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format]] image formats !! Hackability Improvements * [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/763f8afaf2dc7dcaa2d4a492887a944d84c4fed2]] new [[contains Operator]] for searching within list fields * [[Added|https://github.com/Jermolene/TiddlyWiki5/issues/3396]] support for a navigation scroll offset to avoid navigating to tiddlers resulting in them being obscured under a `position:fixed` top menu bar * [[Extended|https://github.com/Jermolene/TiddlyWiki5/commit/3140ff9e490cc2e725c0d02edab8db93009d74b2]] [[WidgetMessage: tm-full-screen]] message to support forcing the status instead of just toggling it * [[Refactored|https://github.com/Jermolene/TiddlyWiki5/pull/2758]] the sidebar to make it be dynamically built from the tag <> * [[Added|https://github.com/Jermolene/TiddlyWiki5/pull/3346]] new [[range Operator]] for generating ranges of numbers * [[Added|https://github.com/Jermolene/TiddlyWiki5/pull/3360]] palette support for `