diff --git a/CHANGELOG.md b/CHANGELOG.md index 11bb4fe..90d0e9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## Changelog +# 0.1.1 + +release version + + # 0.1.0 first beta version diff --git a/QuickExcludeVisitorIP.php b/QuickExcludeVisitorIP.php index 5e2badc..8fa2ec5 100644 --- a/QuickExcludeVisitorIP.php +++ b/QuickExcludeVisitorIP.php @@ -17,12 +17,12 @@ class QuickExcludeVisitorIP extends Plugin public function registerEvents() { return array( - 'Live.renderVisitorIcons' => 'handleMyEventInATemplate', + 'Live.renderVisitorIcons' => 'addLinkToTemplate', 'AssetManager.getJavaScriptFiles' => 'getJavaScriptFiles', ); } - public function handleMyEventInATemplate(&$outString, Row $visit) + public function addLinkToTemplate(&$outString, Row $visit) { if (Access::getInstance()->hasSuperUserAccess()) { $ip = $visit->getColumn("visitIp"); diff --git a/README.md b/README.md index 4929d16..003cbfd 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,6 @@ ## Description +You want to ignore the visits of your colleagues with static IP addresses, but don't copy all of them manually? +This plugin adds a `ignore` button to the visitor log that immediately adds the IP Address of the visitor to the global Matomo IP ignore list. diff --git a/plugin.json b/plugin.json index 069d75a..144a14a 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "name": "QuickExcludeVisitorIP", "description": "Adds a button to Visitor Profile to quickly add them to the list of ignored IPs", - "version": "0.1.0", + "version": "0.1.1", "theme": false, "require": { "piwik": ">=3.10.0,<5.0.0-b1"