All Projects → sjelfull → craft-audit

sjelfull / craft-audit

Licence: other
Audit log for Craft 3

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects

Projects that are alternatives of or similar to craft-audit

tablemaker
A user-definable table field type for Craft CMS
Stars: ✭ 39 (+116.67%)
Mutual labels:  craft, craftcms, craft-plugin, craftcms-plugin, craft3
craft-entry-instructions
A simple fieldtype to add instructions.
Stars: ✭ 16 (-11.11%)
Mutual labels:  craft, craftcms, craft-plugin, craftcms-plugin, craft3
craft-entriessubset
Craft field type plugin that extends the core Entries field type to give extra settings
Stars: ✭ 27 (+50%)
Mutual labels:  craft, craftcms, craft-plugin, craftcms-plugin
overflow.craft-plugin
A plain text Craft field type, with a soft or hard character limit.
Stars: ✭ 13 (-27.78%)
Mutual labels:  craft, craftcms, craft-plugin, craftcms-plugin
smartdown.craft-plugin
Bringing the unbridled joy of Markdown Extra and Smartypants to your Craft websites.
Stars: ✭ 26 (+44.44%)
Mutual labels:  craft, craftcms, craft-plugin, craftcms-plugin
craft-react
Client and Server-side React rendering for CraftCMS
Stars: ✭ 40 (+122.22%)
Mutual labels:  craftcms, craft-plugin, craftcms-plugin, craft3
Buttonbox
A collection of utility field types for Craft
Stars: ✭ 94 (+422.22%)
Mutual labels:  craft, craftcms, craft-plugin, craft3
craft-plugin-mix
Helper plugin for Laravel Mix in Craft CMS templates
Stars: ✭ 50 (+177.78%)
Mutual labels:  craft, craftcms, craft-plugin, craft3
visor
🕶 A simple admin overlay to get to the relevant areas of the Craft CMS control panel.
Stars: ✭ 25 (+38.89%)
Mutual labels:  craft, craftcms, craftcms-plugin, craft3
molecule
⚛️ Grab Twig components, CSS and JS files outside the primary template folder
Stars: ✭ 20 (+11.11%)
Mutual labels:  craft, craftcms, craftcms-plugin, craft3
Seo
SEO utilities including a unique field type, sitemap & redirect manager
Stars: ✭ 210 (+1066.67%)
Mutual labels:  craft, craftcms, craft-plugin, craft3
Simplemap
A beautifully simple map field type for Craft CMS.
Stars: ✭ 136 (+655.56%)
Mutual labels:  craft, craftcms, craft-plugin, craft3
craft-json-snippets
Helps make CraftCMS models in .json
Stars: ✭ 17 (-5.56%)
Mutual labels:  craft, craftcms, craft-plugin, craftcms-plugin
Craft Preparse Field
Field type that parses twig when an element is saved.
Stars: ✭ 103 (+472.22%)
Mutual labels:  craft, craftcms, craft-plugin, craft3
craft3-collections
Clean up those complex templates with Laravel Collections
Stars: ✭ 24 (+33.33%)
Mutual labels:  craft, craftcms, craftcms-plugin, craft3
Craft Brief
Quick, easy, and customizable user-group notifications for Craft CMS.
Stars: ✭ 47 (+161.11%)
Mutual labels:  craft, craftcms, craft-plugin
Awesome
A collection of awesome Craft CMS plugins, articles, resources and shiny things.
Stars: ✭ 449 (+2394.44%)
Mutual labels:  craft, craftcms, craft-plugin
Craft Async Queue
Async Queue Handler for Craft 3
Stars: ✭ 80 (+344.44%)
Mutual labels:  craft, craftcms, craft3
Craft.patrol
Patrol simplifies SSL and maintenance routing for sites built with Craft
Stars: ✭ 91 (+405.56%)
Mutual labels:  craft, craftcms, craft-plugin
craft-donkeytail
A Craft CMS fieldtype for content managing points on images.
Stars: ✭ 53 (+194.44%)
Mutual labels:  craftcms, craft-plugin, craftcms-plugin

Audit plugin for Craft CMS 3.x

Audit log for Craft 3.

Plugin icon

Note: This plugin costs $99.00 through the Craft Plugin Store when used in production.

Screenshots

Screenshot of index view

Screenshot of details view

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require superbig/craft-audit
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Audit.

Audit Overview

Audit automatically keeps an audit log for actions done by logged in users.

Configuring Audit

<?php
return [
    // How many days to keep log entries around
    'pruneDays'          => 30,

    // Enable logging
    'enabled'            => true,

    // Toggle specific event types
    'logElementEvents'            => true,
    'logChildElementEvents'       => false,
    'logDraftEvents'              => false,
    'logPluginEvents'             => true,
    'logUserEvents'               => true,
    'logRouteEvents'              => true,

    
    // Prune old records when a admin is logged in
    'pruneRecordsOnAdminRequests'          => false,

    // Enable geolocation status
    'enabledGeolocation' => true,
    'maxmindLicenseKey' => '',
    
    // Where to save Maxmind DB files
    'dbPath' => '',
];

Using Audit

As long as the plugin is installed, it will log the following events automatically:

  • Creating/saving/deleting elements (including users, Commerce product/variants etc.)
  • Saving global sets
  • Creating/saving/deleting routes
  • Installing/uninstalling and enabling/disabling plugins
  • Login/logout

More events like Commerce-specific event handling is planned.

Geolocation

To enable geolocation lookup with the help of the MaxMind GeoLite2 databases, you first have to generate a license key.

Add your MaxMind.com License Key obtained from the MaxMind.com account area.

Clearing old records

You can prune records older than n days (configured by the pruneDays setting) either by using the console command ./craft audit/default/prune-logs or by a button on the Audit index screen.

Credits

Brought to you by Superbig

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].