[MC] Core Library

[MC] Core Library 1.0.4

No permission to download
Core Library 1.0.4 gives status labels clearer colours, adds a review menu to its options and provides the shared pieces the next round of add-on updates rely on. Update Core Library before any add-on that requires 1.0.4: Discovery Feeds 1.1.6, Documentation Manager 1.0.1, Downloads Manager 1.2.5, Newsletters 1.1.0, Quarantine 1.0.4, Search Analytics 1.1.4, Sunset 1.1.5 and Thread Split 1.0.10.

Changelog

Improvements
  • Status labels used across add-ons have stronger colours, text colours chosen to stay readable on them, and a heavier weight
  • The shared audit log controller adds an entry page, previous and next links between entries, and links that filter the log by user
  • Shared phrased help for console commands, so an add-on's command descriptions and argument help can be translated
  • Below the branding option, a review menu lists your installed add-ons and links to each one's review page
  • The Core Library options group is listed first among the add-ons
We have released a new update adding more shared functions between certain add-ons and improvements.

New features
  • Shared audit log. A common base for add-on audit logs in the admin control panel, covering list, filters, paging and CSV export, with a cached summary and batched pruning of old entries.
    • Filter by actor (username, email address or user id), date range (with Today, Last 7 days and Last 30 days shortcuts), and add-on specific fields.
    • Filters that can't apply are dropped instead of showing a chip that does nothing.
    • CSV dates use the same timezone as the date filters, with the offset written out.
  • CSV export helper. Guards against spreadsheet formula injection while keeping plain numbers, negative ones included, as numbers.
  • Shared option tabs template for add-ons that split their options into tabs. A tab no longer draws a separator line at its top.

Improved
  • Icon picker.
    • The emoji tab is hidden when no emoji source is configured.
    • The image tab opens automatically when an upload URL is given.
    • New preview and colour-field hooks let add-ons tint icons (used by Forum Layouts and Social Profiles).
We have a released a new update.

New features:
  • Shared Markdown support. Core Library now bundles the CommonMark Markdown library together with an HTML sanitiser for its output. This is for upcoming add-ons.
  • Shared status labels. Add-ons can now use one consistent label style.

Bugs fixed:
  • Font Awesome icon classes are now cleaned before they are saved and again before they are shown, so only real icon classes can reach the page.
Back
Top Bottom