github redimp/otterwiki v2.18.0

5 hours ago

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_EMAIL setting for controlled admin registration, see #353 (0178ab6).
  • New DEFAULT_COMMIT_MESSAGE setting, see #379 (c979385).
  • Inline attachment improvements, see #407 (e951fed by @deseven).
  • Added SERVER_NAME to Application Preferences, (75977a2).
    Thanks to @LeaveerWang and @BrookeYangRui for reaching out and bringing potential security
    risks when running the app without SERVER_NAME and not behind a reverse proxy to our
    attention, see otterwiki.com.
  • clean_html rewrite 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_context hook (686859c)
    • static_css hook for adding css used by a plugin (1d16d94 by @redimp).
    • renderer_javascript hook for plugins to inject JavaScript into rendered pages (1d16d94).
    • embedding_parse and embedding_render hooks for custom {{embedding ...}} blocks (d1aa50e).
    • info and help hooks for plugin self-documentation and grouping by category.
    • url_request and url_admin_request hooks for handling requests to /-/plugin/<name>/ and /-/admin/plugin/<name>/.

Bug Fixes

Dependencies

  • Updated mermaid to 11.12.3 (fbd44f9).
  • Added simple-datatables for DataTable embedding (1b950a5).

Compare with v2.17.3

New Contributors

Don't miss a new otterwiki release

NewReleases is sending notifications on new releases.