Skip to content

Features

Feature Description
Plugin Module Base class fields, discovery via folder scan or entry points.
Lifecycle Hooks after_setup_templates and on_load_complete — call order and usage.
Menu API @menu_entry decorator, parent items, admin section.
UI kit Stat tile, status badge and tag, alert banner, notification: the shared pieces and their colour rules.
Front-end helpers window.fp: escaping, formatting, notifications, confirmation, polling, API error text, CSV export (and its server-side twin, csv_response), chart theme.
Widgets All widget types (table, form, buttons, tabs, custom template) and ViewBuilder.generate().
Advisories Report what the operator should look at; the core collects plugins' and its own checks in one place.
Package updates Report newer releases of the installed packages; the Plugins page, the plugin page and the admin home show them.
Topbar Actions Register icon buttons in the admin topbar that open modals, run JS, or navigate.
Flash Messages Session-backed notifications with four severity levels.
Auth require_authentication, require_role, current user.
Health probes /health (liveness) and /ready (readiness) — core ships both; do not write your own.
Template escaping Autoescape is OFF fleet-wide — every plugin must escape user-supplied text itself.
Database helpers Sessions, per-transaction PostgreSQL guards (guard_transaction: read-only, statement/lock timeout), table creation, ensure_index (never a bare CREATE INDEX), adding a column to a live table, reading naive timestamps as UTC, and reading a period (24h, ISO) from a request.
Settings App-wide FastPluggyConfig and per-plugin module_settings; where a plugin keeps its files (plugin_data_dir).
GlobalRegistry Shared key-value store for cross-plugin data.
Event Bus Publish/subscribe bus for decoupled cross-plugin communication.
Metrics Expose a plugin's metrics to the metrics plugin (Prometheus format); the metrics the core exposes.
Auto LocalStorage Persist form element values across page loads with a single HTML attribute.