Edgewall Software
Modify

Opened 15 years ago

Closed 14 years ago

#8880 closed enhancement (fixed)

[PATCH] Add trusted karma points to spamfilter

Reported by: stoecker Owned by:
Priority: normal Milestone: plugin - spam-filter
Component: plugin/spamfilter Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The attached patch adds the ability to give trusted users an karma advance. That is an inbetween solution between trusting them totally and not trusting as it is possible now.

P.S. Can't the captcha and non-captcha version of the spam plugin be joined?

Attachments (2)

trustkarma.diff (1.4 KB ) - added by stoecker 15 years ago.
Patch file
patch_bug_8880_authenticated_users_karma.diff (1.5 KB ) - added by anonymous 15 years ago.
cleanup patch

Download all attachments as: .zip

Change History (6)

by stoecker, 15 years ago

Attachment: trustkarma.diff added

Patch file

comment:1 by Remy Blank, 15 years ago

Milestone: not applicable

comment:2 by Christian Boos, 15 years ago

The docstring should say something like "… when the trust_authenticated setting is false."

And more generally, I would suggest to use "authenticated" instead of "trusted" (if the authenticated users were trusted, you'd use trust_authenticated to begin with ;-) ).

So this becomes:

  authenticated_karma = IntOption('spam-filter', 'authenticated_karma ', '10', 
                                  """The karma given to authenticated users, in case
                                  `trust_authenticated` is false.""") 

Otherwise, looks fine.

comment:3 by Christian Boos, 15 years ago

Milestone: not applicablespam-filter-plugin

by anonymous, 15 years ago

cleanup patch

comment:4 by Dirk Stöcker, 14 years ago

Resolution: fixed
Status: newclosed

In r9878.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.