From 259b3f4acf207589826a29fdbc43a917e24bde98 Mon Sep 17 00:00:00 2001 From: Sascha Leib Date: Sat, 6 Dec 2025 19:04:57 +0100 Subject: [PATCH] Ready to merge --- admin.js | 6 +++++- plugin.info.txt | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/admin.js b/admin.js index a55f754..122175d 100644 --- a/admin.js +++ b/admin.js @@ -504,7 +504,11 @@ BotMon.live = { prereg = model._makePageView(dat, type); visitor._pageViews.push(prereg); } + // update the page view: prereg._tickCount += 1; + if (dat.captcha) { + prereg._captcha += dat.captcha; + } }, // updating visit data from the ticker log: @@ -569,7 +573,7 @@ BotMon.live = { _viewCount: 0, _loadCount: 0, _tickCount: 0, - _captcha: data.captcha + _captcha: data.captcha ? data.captcha : 'X' }; }, diff --git a/plugin.info.txt b/plugin.info.txt index 2371a85..47c4633 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base botmon author Sascha Leib email ad@hominem.com -date 2025-11-07 +date 2025-12-06 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