Features
- Experimental! New embedding system:
{{embedding ...}}blocks in pages (d1cf80d),
with built-in embeddings:{{InfoBox}}display structured information next to the main content, see #334{{ImageFrame}}display a image in a framed box next to the main content, see #178{{DataTable}}turn any markdown table in a page-, sort- and searchable data table, see #391.{{DataTable|src=...}}supports importing CSV attachments as datatable (c2415db).
{{Video}}embed a video from an url or an attachment into a wiki page{{AttachmentList}}display the attachments to the page in various styles, this was discussed in #402.
- New Flask CLI for user management, including password removal/generation, see #401 (9112672 by @deseven).
- New
ADMIN_USER_EMAILsetting for controlled admin registration, see #353 (0178ab6). - New
DEFAULT_COMMIT_MESSAGEsetting, see #379 (c979385). - Inline attachment improvements, see #407 (e951fed by @deseven).
- Added
SERVER_NAMEto Application Preferences, (75977a2).
Thanks to @LeaveerWang and @BrookeYangRui for reaching out and bringing potential security
risks when running the app withoutSERVER_NAMEand not behind a reverse proxy to our
attention, see otterwiki.com. clean_htmlrewrite with custom allow list support (35b9bcd by @deseven).- Added more icons for additional attachment mime-types (5aa6eb1).
- Updates in the plugin system:
- page life cycle hooks
page_saved,page_deleted,page_renamed(5c6a833 by Schuyler Erle/@schuyler). page_render_contexthook (686859c)static_csshook for adding css used by a plugin (1d16d94 by @redimp).renderer_javascripthook for plugins to inject JavaScript into rendered pages (1d16d94).embedding_parseandembedding_renderhooks for custom{{embedding ...}}blocks (d1aa50e).infoandhelphooks for plugin self-documentation and grouping by category.url_requestandurl_admin_requesthooks for handling requests to/-/plugin/<name>/and/-/admin/plugin/<name>/.
- page life cycle hooks
Bug Fixes
- Added a light mode sidebar CSS rule (da31071 by @ryanwhowe).
- Vertical jumps in sidebar when changing pages (d4b558e by @tvanas) with additional input from @ryanwhowe in #410.
- Replace preview watermark with a lighter version (cfee9d3 by Gabriele Bartoli/@Prodeguerriero).
- Editor table reformat not affecting other blocks (bcfe326).
- Don't escape text in links, markdown in link text is allowed (70a5911).
- Prevent zoom into forms on iOS (169669f by @gokomer).