Flarum Audit joins the Open Source core
We're happy to announce another great feature coming to the Open Source community. For years, one of the most popular premium extensions has been Audit (Pro), built by @clarkwinkelmann — whose work has shaped Flarum's extension ecosystem for a long time. We're delighted to share that Audit is joining the Open Source core.
The Flarum Foundation has purchased the code from Clark and is about to release it as flarum/audit — the first-party successor to the kilowhat/flarum-ext-audit, audit-pro and audit-free extensions. We've refactored it and added easier filtering of log entries, and the previous free/pro split is gone: every feature is now included. New installs of Flarum 2.0 will come with Audit bundled in; on 1.x and existing 2.x installs it's opt-in, enabled from the Extensions page. It arrives with the upcoming Flarum 1.8.17, with a 2.x-compatible version following in RC4.
It records moderation and administration actions to a tamper-resistant audit log, so you can see who did what, when, and from where — searchable by action, actor, user, client type, discussion, and IP address, with quick shortcuts to a specific user's or discussion's history.
Out of the box it logs actions from the bundled Flarum extensions — Tags, Flags, Lock, Sticky, Approval, Suspend and Nicknames — alongside core events like group changes and permission updates. It also integrates with several popular third-party extensions, including FriendsOfFlarum's Impersonate, Split, Merge Discussions, Ban IPs, User Bio and Username Request.
@IanM has taken it further still: he's built a public Flarum\Audit\Extend\Audit extender so other extension developers can log their own actions to the audit log — no need to modify Audit itself. If you maintain an extension, now is a good time to think about which moderative and administrative actions you'd want to log. It's all documented today:
This is the second previously premium-only feature to become widely available to the community, after @luceos's generous donation of flarum/realtime. Both extensions have already been improved now that they're open — and that's exactly the point: Open Source means the whole community can build on them, and we're already seeing it happen.
Want to help us bring more to Open Source? Consider contributing — every contribution counts!