[Tkabber-dev] r226 - trunk/plugins/antispam

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue May 19 12:34:30 MSD 2009


Author: gebb
Date: 2009-05-19 12:34:29 +0400 (Tue, 19 May 2009)
New Revision: 226

Modified:
   trunk/plugins/antispam/ChangeLog
   trunk/plugins/antispam/README
   trunk/plugins/antispam/antispam.tcl
Log:
Made the plugin disabled by default, because until tuned properly it prevents registration on transports.

Modified: trunk/plugins/antispam/ChangeLog
===================================================================
--- trunk/plugins/antispam/ChangeLog	2009-05-09 01:30:49 UTC (rev 225)
+++ trunk/plugins/antispam/ChangeLog	2009-05-19 08:34:29 UTC (rev 226)
@@ -1,20 +1,25 @@
+2009-05-19 Otto Gebb
+
+	* Minor change: Made the plugin disabled by default, because
+	until tuned properly it prevents registration on transports.
+
 2009-02-21 Otto Gebb
 
-	* Bug fixed: Offline spam messages were not blocked. 
-	The processing of all offline messages is now postponed 
-	until the roster arrives. However, offline spam messages 
-	are still shown if a disconnect occurs before the roster 
-	has arrived, because we can't validate the sender then.
+	* Bug fixed: Offline spam messages were not blocked.  The
+	processing of all offline messages is now postponed until the
+	roster arrives. However, offline spam messages are still
+	shown if a disconnect occurs before the roster has arrived,
+	because we can't validate the sender then.
 
 2009-02-19 Otto Gebb
 
-	* Bug fixed: All offline messages were blocked. Added check if
-	roster is initialized. This inroduces a new issue, however:
-	offline spam messages are now not blocked.
+	* Bug fixed: All offline messages were blocked. Added check
+	if roster is initialized. This inroduces a new issue,
+		however: offline spam messages are now not blocked.
 
 2008-10-21 Otto Gebb
 
-	* Bug fixed: Accept subscription if there is evidence that 
+	* Bug fixed: Accept subscription if there is evidence that
 	the sender is not a spammer.
 
 2008-10-19 Otto Gebb
@@ -26,18 +31,18 @@
 	messages and therefore not blocked.
 
 	* Upgrade: Plugin code was brought in compliance with the
-	greatly reworked Tkabber code, due to the migration to 
-	the tclxmpp library.
+	greatly reworked Tkabber code, due to the migration to the
+	tclxmpp library.
 
 2008-09-25 Otto Gebb 
 
-	* Bug fixed: Error messages containing the correct password were
-	accepted.
+	* Bug fixed: Error messages containing the correct password
+	were accepted.
 
 2008-09-24 Otto Gebb 
 
-	* Suppression of opening a chat tab for an error message caused by a
-	password request.
+	* Suppression of opening a chat tab for an error message
+	caused by a password request.
 
 	* Proper debug messaging support.
 
@@ -45,4 +50,4 @@
 
 	* Initial version.
 
-vim:ai:si:noet:nosta:ts=3:sw=3
+vim:ai:si:noet:nosta:ts=3:sw=3:tw=64

Modified: trunk/plugins/antispam/README
===================================================================
--- trunk/plugins/antispam/README	2009-05-09 01:30:49 UTC (rev 225)
+++ trunk/plugins/antispam/README	2009-05-19 08:34:29 UTC (rev 226)
@@ -77,5 +77,13 @@
    set ::plugins::debug::debug(antispam) 1
 }
 
+IV. Cautions.
 
+Care must be taken when using this plugin. Until tuned properly
+it may hinder communication with transports. Please adjust the
+disable_regex and enable_regex settings before turning the
+blugin on. For example, if you expect to receive spam from
+ICQ-contacts only, you can set enable_regex to something like
+ at icq-transport-jid.
+
 vim:et:ts=4:sw=4:tw=64

Modified: trunk/plugins/antispam/antispam.tcl
===================================================================
--- trunk/plugins/antispam/antispam.tcl	2009-05-09 01:30:49 UTC (rev 225)
+++ trunk/plugins/antispam/antispam.tcl	2009-05-19 08:34:29 UTC (rev 226)
@@ -24,7 +24,7 @@
 			enables the showing of messages."] \
 		-group Plugins
 
-	custom::defvar options(enabled) 1 \
+	custom::defvar options(enabled) 0 \
 		[::msgcat::mc "Enables or disables the spam protection."] \
 		-group $group \
 		-type boolean



More information about the Tkabber-dev mailing list