[pLog-svn] r6088 - plog/branches/lifetype-1.2/class/security
Jon Daley
plogworld at jon.limedaley.com
Thu Nov 29 11:49:23 EST 2007
On Fri, 30 Nov 2007, Mark Wu wrote:
> NullFilter => CommentFilter => BayesianFilter
>
> All plugin filter will after these three filters ...
Yes, I agree.
> Why pual add this is becasue he want to the ip-block or or dns-anti-spam can
> record the ip of the comments, too....
Ah, that's right. But, it is also useful for the plugins to
interact with each other's output too.
I wonder if the main problem is that the bayesian filter is in
charge of adding the comment to the database. He should probably just do
his bayesian training (and we can discuss whether he should train on the
output of hostblock, authimage, etc.) and the lifetype core should add the
comment once all of the filters have finished?
Probably sidetracking the conversation, but we had once talked
about letting each plugin decide whether the comment should be saved in
the database or not. That way, the programmer (or the user) for each
plugin can decide whether it should be saved.
Maybe people want to have auth image failures saved in the
database, sort of as a moderation type feature, for those users who can't
figure out how to get the right code. Or be able to have stricter
hostblock rules, but they get saved in the database and the blog owner
could delete them or publish them as appropriate.
More information about the pLog-svn
mailing list