Skip to content

Hint at automatic cleanup in the blocklist and username statistics views (#214) - #17

Merged
codeling merged 3 commits into
mainfrom
claude/eloquent-thompson-xkl38k
Oct 7, 2026
Merged

codeling merged 3 commits into
mainfrom
claude/eloquent-thompson-xkl38k

Conversation

@codeling

@codeling codeling commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to the manual failed login cleanup for codeling/bfstop#214: the other views showing data that the plugin deletes automatically now say so, like the failed login list does.

  • Blocked IPs (database): a notice says whether expired blocks (and their unblock records) are deleted automatically after N weeks, depending on the "Prune old attempts" setting, with a link to the Settings. It also states that permanent blocks are never deleted automatically.
  • Username statistics: the info text now adds that at most 10,000 usernames are kept and the ones with the fewest attempts are deleted automatically once a day (the plugin's trimUsernameStats()). The number is read from the plugin's DatabaseHelper::$USERNAME_STATS_MAX_ROWS, so it can't drift apart. The limit is fixed, so there is no setting to link to.
  • en-GB and de-DE strings, plus a README.md note.

The log view hint that was originally part of this PR was dropped when merging main: #16 added its own (with configurable retention), which supersedes it.

Checked: php -l on the changed files and tests/lint/check-language.php (0 errors). Not tested in a running Joomla.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LRuU3DmommJbXWgh5sjoRf

claude added 2 commits October 7, 2026 15:56
The blocked IPs (database) list now says whether expired blocks are
deleted automatically ("Prune old attempts") and links to the settings.
The log view explains that the log file is rotated at 5 MB and where the
previous generation is kept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LRuU3DmommJbXWgh5sjoRf
@codeling codeling changed the title Hint at automatic cleanup in the blocklist and log views (#214) Hint at automatic cleanup in the blocklist view (#214) Oct 7, 2026
@codeling codeling changed the title Hint at automatic cleanup in the blocklist view (#214) Hint at automatic cleanup in the blocklist and username statistics views (#214) Oct 7, 2026
@codeling
codeling merged commit f33f7f6 into main Oct 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants