mirror of
https://github.com/Findus23/plugin-QuickExcludeVisitorIP.git
synced 2024-09-08 03:03:46 +02:00
add description
This commit is contained in:
parent
0c7a0015c9
commit
6d95fdb12b
4 changed files with 10 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
|||
## Changelog
|
||||
|
||||
# 0.1.1
|
||||
|
||||
release version
|
||||
|
||||
|
||||
# 0.1.0
|
||||
|
||||
first beta version
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue