Ready to merge
This commit is contained in:
6
admin.js
6
admin.js
@@ -504,7 +504,11 @@ BotMon.live = {
|
|||||||
prereg = model._makePageView(dat, type);
|
prereg = model._makePageView(dat, type);
|
||||||
visitor._pageViews.push(prereg);
|
visitor._pageViews.push(prereg);
|
||||||
}
|
}
|
||||||
|
// update the page view:
|
||||||
prereg._tickCount += 1;
|
prereg._tickCount += 1;
|
||||||
|
if (dat.captcha) {
|
||||||
|
prereg._captcha += dat.captcha;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// updating visit data from the ticker log:
|
// updating visit data from the ticker log:
|
||||||
@@ -569,7 +573,7 @@ BotMon.live = {
|
|||||||
_viewCount: 0,
|
_viewCount: 0,
|
||||||
_loadCount: 0,
|
_loadCount: 0,
|
||||||
_tickCount: 0,
|
_tickCount: 0,
|
||||||
_captcha: data.captcha
|
_captcha: data.captcha ? data.captcha : 'X'
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
base botmon
|
base botmon
|
||||||
author Sascha Leib
|
author Sascha Leib
|
||||||
email ad@hominem.com
|
email ad@hominem.com
|
||||||
date 2025-11-07
|
date 2025-12-06
|
||||||
name Bot Monitoring
|
name Bot Monitoring
|
||||||
desc A tool for monitoring and analysing bot traffic to your wiki (under development)
|
desc A tool for monitoring and blocking bot traffic to your wiki (under development)
|
||||||
url https://www.dokuwiki.org/plugin:botmon
|
url https://www.dokuwiki.org/plugin:botmon
|
||||||
|
|||||||
Reference in New Issue
Block a user