Log of /contributions/modules/spam/spam.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.51.4.1.2.41.2.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 19 17:56:25 2008 UTC
(14 months, 1 week ago)
by
jeremy
Branch:
DRUPAL-5--3
CVS Tags:
DRUPAL-5--1-0-ALPHA8,
DRUPAL-5--3-0-ALPHA7
Changes since
1.51.4.1.2.41.2.24: +244 -18 lines
Diff to
previous 1.51.4.1.2.41.2.24
, to
branch point 1.51.4.1.2.41
- spam.install
o feature #302469: update spam_filters_errors table to support feedback
- spam.module
o feature #302469: introduce support for spam filter feedback
o ^^ bypass filter if admin submitted comment reviewing filter feedback
o ^^ introduce spam feedback administration pages
o ^^ fix link generation when custom message is set
o ^^ update spam overview page so can filter by feedback
o ^^ delay content creation by saving form data for review
- spam_comment.inc
o feature #302469: provide admin form for comment spam feedback
- spam_node.inc
o feature #302469: provide admin form for node spam feedback
- spam_user.inc
o feature #302469: provide admin form for user spam feedback
- bayesian.module
- duplicate.module
- url.module
o feature #302469: centralize loading of content to allow overloading
Revision
1.51.4.1.2.41.2.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 19 17:55:27 2008 UTC
(18 months, 1 week ago)
by
jeremy
Branch:
DRUPAL-5--3
CVS Tags:
DRUPAL-5--3-0-alpha5
Changes since
1.51.4.1.2.41.2.19: +18 -4 lines
Diff to
previous 1.51.4.1.2.41.2.19
, to
branch point 1.51.4.1.2.41
- spam.module
o provide menu hook to spamapi
o allow modules to change forms within spamapi
- spam.install
o change all spam comments to a special status code
- spam_comment.inc
o change all spam comments to a special status code, so comments don't
appear in the administrative 'Approval queue'.
o provide administrative overview page for bulk editing spam comments
o add in-line spam-control options to other administrative comment pages
Revision
1.51.4.1.2.41.2.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 30 22:08:01 2008 UTC
(18 months, 3 weeks ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.18: +7 -3 lines
Diff to
previous 1.51.4.1.2.41.2.18
, to
branch point 1.51.4.1.2.41
- spam.module
o improved debugging when content type support is not properly implemented
o sort spam overview by lid, not timestamp
- spam_user.inc
o tell spam module to scan users when enabled
VS: ----------------------------------------------------------------------
Revision
1.51.4.1.2.41.2.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 30 01:15:42 2008 UTC
(18 months, 4 weeks ago)
by
jeremy
Branch:
DRUPAL-5--3
CVS Tags:
DRUPAL-5--3-0-ALPHA3
Changes since
1.51.4.1.2.41.2.15: +379 -6 lines
Diff to
previous 1.51.4.1.2.41.2.15
, to
branch point 1.51.4.1.2.41
pril 29, 2008
- spam.module
o implement spam overview page with filters and actions
o comment out unsupport content groups
o disable error reporting link, not yet fully functional
- spam_comment.inc
o implement spam comment overview filtering
- spam_user.inc
o implement spam user overview filtering
- spam_node.inc
o implement spam node overview filtering
Revision
1.51.4.1.2.41.2.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Apr 29 01:16:49 2008 UTC
(18 months, 4 weeks ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.14: +138 -68 lines
Diff to
previous 1.51.4.1.2.41.2.14
, to
branch point 1.51.4.1.2.41
- spam.module
o provide ability to trace logs generated from a single page load
o cleanup paths and administration pages for viewing spam logs
o make log level configurable
o move tokenizer function into bayesian module
- spam.install
o introduce trid (trace id) column
- url.module
o always log type and id if available
- node_age.module
o improve configuration help text
- bayesian.module
o always log type and id if available
o define local tokenizer function
o allow usage of external tokenizer functions
Revision
1.51.4.1.2.41.2.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Apr 22 17:38:11 2008 UTC
(19 months ago)
by
jeremy
Branch:
DRUPAL-5--3
CVS Tags:
DRUPAL-5--3-0-alpha1
Changes since
1.51.4.1.2.41.2.10: +90 -19 lines
Diff to
previous 1.51.4.1.2.41.2.10
, to
branch point 1.51.4.1.2.41
- spam.module
o add additional logging
o be sure content is blocked or updated when determined to be spam
o provide form for users to report when their content is mismarked
as spam
- spam.install
o provide field for feedback on filter errors
- url.module
o don't throw errors if there are no urls in the post
- bayesian.module
o add additional logging
- spam_comment.inc
o implement improperly filtered comment report form
- spam_node.inc
o implement improperly filtered node report form
o filter nodes before they are inserted
- node_age.module
o new filter: comments posted to very old nodes are more likely to
be spam
Revision
1.51.4.1.2.41.2.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Apr 22 02:09:03 2008 UTC
(19 months ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.9: +37 -26 lines
Diff to
previous 1.51.4.1.2.41.2.9
, to
branch point 1.51.4.1.2.41
- spam.module
o implement logging, add some debug logging
o allow filter to tell spam engine to skip it
o remove url extraction from tokenizer logic
- spam.install
o define proper spam_log table
- bayesian.module
o add some debug logging
- duplicate.module
o make it possible to register the module
- url.module
o implement url filter, integrate with spam and bayesian modules
Revision
1.51.4.1.2.41.2.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Apr 20 21:43:40 2008 UTC
(19 months ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.7: +58 -9 lines
Diff to
previous 1.51.4.1.2.41.2.7
, to
branch point 1.51.4.1.2.41
April 20, 2008
- spam.module
o only filter enabled content types
o only run enabled filters
o pass content type everywhere
o properly update tables if update applied to content not seen
before
o properly update tables even if redirected away during scanning
- duplicate.module
o pass content type everywhere
o properly update tables if update applied to content not seen
before
- spam_comment.inc
o cache the cid in a static so that it's always available
o introduce 'load' hook for loading comments
o introduce 'hostname' hook for loading IP of comment
- spam_node.inc
o initial support for filtering nodes, working
- spam_user.inc
o initial support for filtering users, partial
Revision
1.51.4.1.2.41.2.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 2 22:30:11 2007 UTC
(23 months, 3 weeks ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.6: +151 -30 lines
Diff to
previous 1.51.4.1.2.41.2.6
, to
branch point 1.51.4.1.2.41
- spam.module
o properly filter content that hasn't been posted yet
o support multiple levels of fields to support unposted content
o properly calculate spam score
o add "mark as spam" and "mark as not spam" links, menus and functions
o allow other filters to override spam_denied_page()
o hard coded spam actions for now, eventually will support actions module
- duplicate.install
o add "spam" field for easily tracking whether or not content is spam
- duplicate.module
o move defaults into defines at top of module source
o add configurable notification page for denied duplicate posts
o use spam_denied_page() to display deneid pages
o updated to support multiple levels of fields
o limit duplicate ip search to content previously determined to be spam
o implement 'mark_as_[not_]spam' hooks for tracking spam status
o call spam_mark_as_spam() when find too many identical postings
- spam_comment.inc
o updated to support multiple levels of fields
o implement 'link' hook for adding "mark as spam" type links to comments
o implement 'redirect' hook for redirecting to comment
o implement '[un]publish' hooks for publishing/unpublishing comments
Revision
1.51.4.1.2.41.2.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 29 03:28:51 2007 UTC
(23 months, 4 weeks ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.5: +130 -20 lines
Diff to
previous 1.51.4.1.2.41.2.5
, to
branch point 1.51.4.1.2.41
- spam.module
o add new SPAM_ACTION_HOLD action, holding potential spam in a special spam
queue for administrative review
o add spam_scan() API call for actual spam handling (still needs to support
all spam actions)
o pass sid and ip through $extra array, minimizing parameters and making it
possible to edit a spam comment as an admin without blocking your own IP
o add some watchdog logs
o implement spam_content_update() and spam_content_delete()
- spam_comment.inc
o add some comments
o support comment deletion
o simplify by offloading logic to spam api
- duplicate.module
o move sid and ip into $extra array
o add support content updates and deletes
Revision
1.51.4.1.2.41.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Nov 26 22:48:26 2007 UTC
(2 years ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.4: +70 -14 lines
Diff to
previous 1.51.4.1.2.41.2.4
, to
branch point 1.51.4.1.2.41
- spam.module
o remove debug code causing all submisisons to be spam
o don't throw ugly errors when now filters are enabled
o implement spam_content_insert() hook
o fix key mechanism for reporting mis-blocked content
- spam.install
o introduce table for storing mis-blocked content reports
- duplicate.module
o implement spamapi hook for tracking inserted content
o put content signing into function for re-use
Revision
1.51.4.1.2.41.2.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Nov 26 02:29:15 2007 UTC
(2 years ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.3: +316 -32 lines
Diff to
previous 1.51.4.1.2.41.2.3
, to
branch point 1.51.4.1.2.41
- spam.module
o implement simple spam_content_is_spam() API call for true/false filtering
o enhance spam_content_filter() API call for 1-99 filtering
o stub spam_content_insert() and spam_content_update() API calls
o re-arrange menus aiming to make them more logical
o introduce 'administer spam' and 'bypass filters' permissions
o implement _form_alter() hook for scanning form content
o stub content-type group setting page
o implement general spam settings page
o implement error page for reporting when content is blocked by spam
o implement mechanism for easily reporting mis-blocked content
- duplicate.install
o add field for expiring data without deleting it
- duplicate.module
o implement error page for reporting blacklisted IP addresses
o add ability to completely blacklist IP from website, not just from posting
- spam_comment.inc
o implement _comment() hook to catch comment API calls
o implement _spamapi() hook to support filtering comments
Revision
1.51.4.1.2.41.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 25 03:56:51 2007 UTC
(2 years ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.2: +38 -1 lines
Diff to
previous 1.51.4.1.2.41.2.2
, to
branch point 1.51.4.1.2.41
- spam.install
o remove duplicate information
- spam.module
o begin to implement spam filter function which calls external filters in
the order they are defined for the appropriate content-type group.
o provide filter configuration submenu
- duplicate.module/.info
o replaced ip.module
o define configuration page
o begin to implement duplicate spam filter
Revision
1.51.4.1.2.41.2.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 25 00:01:57 2007 UTC
(2 years ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41.2.1: +165 -19 lines
Diff to
previous 1.51.4.1.2.41.2.1
, to
branch point 1.51.4.1.2.41
- spam.install
o add support for content-type groups
o make weight signed to support negative weights
- spam.module
o cleanup inline comments to match current development plan
o implement basic default content-type group filter overview page
o create generic functions for invoking the spamapi hook
o introduce filter_info hook for defining spam filters
o introduce filter_install hook for installing spam filters and setting
default configuration values
- bayesion.module/.info
o module stub
- ip.module/.info
o module stub
Revision
1.51.4.1.2.41.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Nov 24 01:55:07 2007 UTC
(2 years ago)
by
jeremy
Branch:
DRUPAL-5--3
Changes since
1.51.4.1.2.41: +63 -3110 lines
Diff to
previous 1.51.4.1.2.41
Per normal, we totally screwed up trying to branch a project. Checking in
the proper files to our new branch, I think. Then we'll go back and fix the
main branch.
Revision
1.51.4.1.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jan 4 23:29:48 2007 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.51.4.1: +41 -46 lines
Diff to
previous 1.51.4.1
Sync 5.0 changes from kerneltrap.org source code repository. The
modules is not yet functional with Drupal 5.0, but some changes were
underway.
I thought I'd synced this earlier, but I accidently synced it into the
4.7 branch.
Revision
1.51 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Apr 17 20:15:18 2005 UTC
(4 years, 7 months ago)
by
jeremy
Branch:
MAIN
CVS Tags:
DRUPAL-4-5--1-0,
DRUPAL-4-6--1-0,
HEAD
Branch point for:
DRUPAL-4-6,
DRUPAL-4-7
Changes since
1.50: +139 -61 lines
Diff to
previous 1.50
- spam.module
o updated to work with Drupal 4.6
o fixed issues with publishing/unpublishing nodes and comments
o added ability to mass-delete spam nodes and comments
o issue #17031: simplified statistics page (needs lots of work)
o issue #14382: added ability to search/modify old comments
- spam.mysql
o issue #18411: mark all primary keys NOT NULL
Revision
1.48 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 7 19:43:38 2005 UTC
(4 years, 8 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.47: +66 -4 lines
Diff to
previous 1.47
- spam.module
o added initial support for scanning old comments with custom filters
(missing functionality: mass update, mass delete, scanning other content)
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 9 04:22:05 2005 UTC
(4 years, 9 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.45: +9 -5 lines
Diff to
previous 1.45
o don't send email if "auto deleting" spam (the idea is to prevent email
floods when for example a website is under a comment spam flood)
Revision
1.45 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 8 14:27:07 2005 UTC
(4 years, 9 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.44: +46 -29 lines
Diff to
previous 1.44
- spam.module
o fix "auto delete spam" option to work if multiple filters match with
different auto-delete settings.
o add watchdog entries when deleting, publishing and unpublishing content
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 8 05:47:51 2005 UTC
(4 years, 9 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.42: +52 -24 lines
Diff to
previous 1.42
o add "auto delete spam" option to custom filters, when enabled any new
content that matches the filter and is determined to be spam will be
automatically (and silently) deleted
- spam.mysql
o added autodelete column (to update existing install, execute:)
ALTER TABLE spam_custom ADD autodelete tinyint(1) unsigned default 0;
Revision
1.40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 7 05:01:11 2005 UTC
(4 years, 9 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.39: +66 -49 lines
Diff to
previous 1.39
o fix _spam_rating function to properly look at most interesting words
(it had been looking at the _least_ interesting words / this could have
a dramatic affect on the Bayesian filter, need to watch closely)
o cleanup spam_comment_actions and spam_node_actions
o add new ops for _spam hook:
- comment_spam
- comment_notspam
- content_spam
- content_notspam
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 6 16:35:53 2005 UTC
(4 years, 9 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.36: +145 -83 lines
Diff to
previous 1.36
o replace spam_get_rating() and is_spam() with single spam_check() function
o add support for _spam hook, allows other modules to add to spam settings
page, and to begin to perform spam filtering for custom content types.
supported hooks (see comments for spam_invoke_spam_hook):
- filter_settings
- url_count_settings
- action_settings
- url_count
- check
Revision
1.36 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 6 05:45:58 2005 UTC
(4 years, 9 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.35: +70 -49 lines
Diff to
previous 1.35
- spam.module
o fix url in notification mail messages to point to url for editing node
or comment (an adding $base_url to comment url)
o split out some api logic, adding two functions that can be called from
other modules, documented in code:
- spam_get_rating()
- is_spam()
o add support for _spam_url_count hook, allowing modules to define how
many urls are permitted for their content type
Revision
1.9.2.23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 30 04:57:41 2004 UTC
(4 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-4-5
Changes since
1.9.2.22: +2 -2 lines
Diff to
previous 1.9.2.22
, to
branch point 1.9
- spam.module
o fix bug #14505: allow editing of spam comments
(auto-unpublished spam comments will now show up in the comment moderation
queue)
o moved comment spam under "admin >> comments >> list"
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 16 04:08:27 2004 UTC
(4 years, 11 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.27: +3 -4 lines
Diff to
previous 1.27
- spam.module
o fix bug #14388: display accurate statistics
o fixed inaccurate counter when operating in TEFT mode
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 10 00:07:32 2004 UTC
(4 years, 11 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.25: +70 -0 lines
Diff to
previous 1.25
- spam.module
o add ability to limit the following:
- total URLs per comment
- repeat URLs per comment
- total URLs per non-comment content
- repeat URLs per non-comment content
(if limit is crossed, content is marked as spam)
Revision
1.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 9 14:58:27 2004 UTC
(4 years, 11 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.24: +138 -2 lines
Diff to
previous 1.24
- spam.module
o added interface to add/edit/delete URL filters (spammer domains)
o added help text for URL filters
VS: ----------------------------------------------------------------------
Revision
1.24 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 9 05:28:42 2004 UTC
(4 years, 11 months ago)
by
jeremy
Branch:
MAIN
Changes since
1.23: +42 -7 lines
Diff to
previous 1.23
December 8, 2004
- spam.module
o added a URL filter which quickly learns spammer URLs and provides an
option to automatically block new comments and content that contain
these spammer URLs.
o fixed a cut&paste bug in the open relay filter which prevented it from
ever working
o updated tokenizer to find urls in and out of href tags
NOTE: This change modifies the tokenizer. For best results, you should
rebuild all your spam tokens. This is done by pointing to the following
path on your site: /admin/spam/rebuild/all
WARNING: This will only work as intended if you have been saving your spam,
unpublishing it as recommended rather than deleting it. If you have been
deleting your spam, doing a "rebuild all" will cause your Bayesian filter
to forget everything it has learned to date. (You will not loose any custom
filters you may have configured.)
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 4 20:54:29 2004 UTC
(5 years ago)
by
jeremy
Branch:
MAIN
Changes since
1.21: +46 -41 lines
Diff to
previous 1.21
- spam.module
o statistics collection enabled by default
o don't display false statistics if statistics collection is disabled
- REDAME.txt
o mention custom filter functionality
- INSTALL.txt
o created installation/configuration guide
Revision
1.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 25 03:30:40 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.17: +184 -9 lines
Diff to
previous 1.17
- spam.module
o rest of feature #11991: introducing custom filters
(can define custom regex filters to blacklist/whitelist words/phrases)
- spam.mysql
o adds spam_custom table
(to upgrade, run CREATE TABLE spam_custom... section of spam.mysql)
Revision
1.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 24 03:49:43 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.16: +15 -2 lines
Diff to
previous 1.16
o part of feature #11991: set multi comment spam/not spam
(requires 'comment.module.patch' be applied to 4.5.0 comment.module)
(also implements multiple-comment-delete, though should be cleaned up
to offer an 'are you sure' dialog)
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 17 16:12:55 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.14: +8 -6 lines
Diff to
previous 1.14
- spam.module
o feature request #11662: display spam poster's IP address
To upgrade, execute the following on your database:
ALTER TABLE spam_nodes ADD hostname varchar(128) NOT NULL default '';
- spam.mysql
o add 'hostname' column to spam_nodes table (not needed for spam_comments
because hostname is already stored in core comments table)
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 16 21:16:30 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.13: +97 -23 lines
Diff to
previous 1.13
- spam.module
o added administrative spam overview page for viewing statistics
o fix "edit node" link on admin/node/spam admin page
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 16 13:34:29 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.11: +30 -25 lines
Diff to
previous 1.11
- spam.module
o fixed bug #11462: make module work with MySQL 3.x
o fix mail sending logic when comments and nodes are updated
Revision
1.8.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 9 17:28:43 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
DRUPAL-4-4
Changes since
1.8: +12 -16 lines
Diff to
previous 1.8
- spam module
o fixed comment spam admin form to be able to mark comments as not spam
o fixed comment/node updates to always update spam_comment table
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 9 15:57:56 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Branch point for:
DRUPAL-4-4
Changes since
1.7: +516 -385 lines
Diff to
previous 1.7
- spam.module:
o first official release for Drupal 4.4
o recheck for spam in comments/nodes when updated
o stick redundant code into functions spam_comment_actions/spam_node_actions
o hide bayesian filter options unless 'advanced configuration' is enabled
o added /admin/spam/rebuild/probabilities to force recalculation of the
spam probability of all learned tokens. No link to this option, the
url must be manually entered.
o re-order code, grouping hooks and internal logic
o general cleanup, added some more comments
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 5 23:05:18 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.6: +62 -3 lines
Diff to
previous 1.6
o added /admin/spam/rebuild/all to help with upgrades when tokenizer logic
changes. No link to this option, the url must be manually entered.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 5 20:44:27 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.5: +298 -49 lines
Diff to
previous 1.5
- spam.module
o no longer saves hostname when detecting spam comment (redundant)
o fixed typo that prevented unpublished spam comments from being editable
o cleaned up comment filtering admin page, can update multiple comments
at a time
o added node filtering, can enable/disable per node type
o updated help to reflect recent changes
- spam.mysql
o remove redundant 'hostname' column from spam_comment table, info already
in comment table
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 3 18:22:57 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.4: +105 -61 lines
Diff to
previous 1.4
- spam.module
o enhanced tokenizer logic to better handle html links
(Adds some redundancy that may prove problematic or may prove beneficial.
Specifically, each url is looked at whole as well as in pieces)
o added online help
o added phpdoc format comments to internal api functions
o fixed call to spam_unsave_tokens when admin marks comment not spam
o general cleanup
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Sep 30 02:47:35 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.3: +45 -17 lines
Diff to
previous 1.3
- spam.module:
o performance: only recalculate probability of tokens that have changed
o added ability to notify the admin when a spam comment is detected
o update 'last' field in spam_comments when changed
o store IP in spam_comments table when user leaves comment (to be
used for future blacklisting functionality)
o default to rebuilding probability table (if never built before)
o provide two probability calculation methods (development testing)
- spam.mysql:
o made 'token' field of spam_tokens table the PRIMARY KEY
o add 'hostname' field to spam_comments, for later use in blacklisting
VS: ----------------------------------------------------------------------
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 29 04:50:19 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.2: +54 -131 lines
Diff to
previous 1.2
- spam.module
o greatly simplified logic/optimized by combining all token tables
o added ability to auto-unpublish spam comments
o general cleanup
- spam.mysql
o combined all three tokens_* tables into one spam_tokens table
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 29 03:19:35 2004 UTC
(5 years, 1 month ago)
by
jeremy
Branch:
MAIN
Changes since
1.1: +64 -55 lines
Diff to
previous 1.1
- spam.module:
o reworked spam statistics logic, added additional counters/timestamps
o fixed comment regarding asort()
o in _spam_rating() switched from confusing while() loop to for() loop
o removed unused gid (group id)
- spam.mysql
o new spam_statistics table - to upgrade drop the old, add the new
o removed unused gid column from all tokens_ tables
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 26 22:14:15 2004 UTC
(5 years, 2 months ago)
by
jeremy
Branch:
MAIN
The spam module helps administrators to automatically deal with spam comments.
This is accomplished with a simple Bayesian filter, using statistical analysis
to determine whether or not a given comment is most likely spam.
NOTE: This module is still in an early beta state. It is believed to work,
however the algorithms used are somewhat simplistic, it is not optimized for
best performance, and the administrative interfaces are still primitive. That
said, I welcome testers, bug reports, and most of all patches.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.