Commit Graph

11788 Commits

Author SHA1 Message Date
James Vega 154fbc30e9 Games: Re-add some, much higher, upper limits to dice.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-09 00:00:47 -04:00
James Vega 0abe22f5d1 Merge branch 'maint/0.83.4' 2010-09-08 23:50:35 -04:00
James Vega 45abdc8248 Karma: Refer to plugins.Karma.rankingDisplay in Karma.karma's help.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 23:44:40 -04:00
James Vega b0575cec88 Handle changes to fnmatch.translate in Python 2.6
Define utils.python.glob2re based on the Python version being used.
Use glob2re in Todo and Note plugins.

Closes: Sf#3059292
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 23:31:01 -04:00
James Vega fc2a84fb90 <text> -> <thing> in Karma.karma's help
Closes: Sf#3057517
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:43:45 -04:00
James Vega c0e24cef30 Limiter: Fix "reduce limit" test case.
Closes: Sf#3058142
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:42:07 -04:00
James Vega c9274606ce Google: Remove Groups snarfer
The regular expressions were woefully out of date and since there's not a
stable API (or any for that matter), keeping things working is a losing
battle.

Closes: Sf#3057485
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:20:23 -04:00
James Vega 7cf61ad046 Games: Remove arbitrary upper limits on dice command.
Closes: Sf#3057255
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 21:35:22 -04:00
Daniel Folkinshteyn 246c73eed2 BadWords: improve help for requireWordBoundaries config.
Make a note that the plugin requires restart or the words set updating,
for changes to this setting to take effect.
2010-09-08 00:11:28 -04:00
Daniel Folkinshteyn 8d80fb9e88 Badwords: add plugin docstring, and fix/standardize some method docstrings. 2010-09-07 20:27:51 -04:00
James Vega 63244b1e47 News: Use positiveInt converter instead of manual checks.
Closes: Sf#3059239
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-05 01:09:43 -04:00
Daniel Folkinshteyn 3c00d82579 Scheduler: don't immediately execute commands when restoring repeated events. 2010-09-04 01:25:57 -04:00
Daniel Folkinshteyn 0fe7912628 Misc: update version command to get latest version from gribble git.
Note: if this is ever merged into upstream supybot, should change url
to point at supybot gitweb, rather than gribble.
2010-09-02 18:31:42 -04:00
Daniel Folkinshteyn 567e72488d Cherry-pick a bunch of upstream fix commits. 2010-09-02 09:14:22 -04:00
James Vega bde37c2afe Channel: Correct specification of "#channel,op" capability.
Closes: Sf#3055991
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8cc6320768)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:09:29 -04:00
James Vega ee42f42fb4 Filter: Rename _(un)code to _(morse|unMorse)code
Closes: Sf#3056753
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 452c019b10)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:09:05 -04:00
James Vega d6423cad67 Dict: Refer to the server config variable in Dict.dict's help.
Closes: Sf#3056621
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit bc98577fb1)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:08:43 -04:00
James Vega 828b82ea9c User: Handle DuplicateHostmask exception in hostmask.add.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 577294f489)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:08:21 -04:00
James Vega 1fbc28b376 User: Only require name for set.password when changing other user's password.
Closes: Sf#3055358
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit de726f90f3)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:07:35 -04:00
James Vega 5e72daa5f4 User: Require set.password to be sent in private.
Closes: Sf#3055365
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f977a3a260)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:07:11 -04:00
James Vega 2c812cfd9e User: Specify changename must be used in private in its help.
Closes: Sf#3055353
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 07da8cab13)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:06:33 -04:00
James Vega 7613e4056a Model Admin's ignore help after Channel's.
Closes: Sf#3054919
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 25b987cc58)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-09-02 09:05:52 -04:00
Daniel Folkinshteyn 3a0e19bc22 Scheduler: remove spammy debug output. 2010-09-02 08:54:13 -04:00
Daniel Folkinshteyn f9fc250a62 Scheduler: handle event persistence on plugin reload.
Write data to disk on unload; populate events dict with events which are
still scheduled on reload.
2010-09-01 16:37:55 -04:00
Daniel Folkinshteyn e5e9cbba69 Scheduler: add scheduled task persistence.
The list of tasks scheduled with the Scheduler plugin is now saved
on exit, and restored upon restart.

Previously all scheduled tasks would be forgotten upon bot restart,
which was undesirable behavior.
2010-09-01 15:03:20 -04:00
James Vega 8deb47eb53 Merge branch 'maint/0.83.4' 2010-08-31 19:01:37 -04:00
James Vega 8cc6320768 Channel: Correct specification of "#channel,op" capability.
Closes: Sf#3055991
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-31 19:00:28 -04:00
James Vega 452c019b10 Filter: Rename _(un)code to _(morse|unMorse)code
Closes: Sf#3056753
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-31 18:52:09 -04:00
James Vega 28839f8d00 Merge branch 'maint/0.83.4' 2010-08-31 18:47:09 -04:00
James Vega bc98577fb1 Dict: Refer to the server config variable in Dict.dict's help.
Closes: Sf#3056621
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-31 18:46:05 -04:00
James Vega 7d87d2f87a Merge branch 'maint/0.83.4'
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:34:55 -04:00
James Vega 577294f489 User: Handle DuplicateHostmask exception in hostmask.add.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:32:39 -04:00
James Vega de726f90f3 User: Only require name for set.password when changing other user's password.
Closes: Sf#3055358
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:32:23 -04:00
James Vega f977a3a260 User: Require set.password be sent in private.
Closes: Sf#3055365
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:03:41 -04:00
James Vega 07da8cab13 User: Specify chanagename must be used in private in its help.
Closes: Sf#3055353
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 10:49:13 -04:00
James Vega 25b987cc58 Model Admin's ignore help after Channel's.
Closes: Sf#3054919
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 10:26:59 -04:00
James Vega e7ef97e529 Ensure channel-specific reply.whenNotAddressed works.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 166f32dcb0)
2010-08-24 19:52:59 -04:00
James Vega 0ff414b993 Services: Don't filter outgoing JOIN messages on disabled networks
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit acffde68ab)
2010-08-24 19:52:22 -04:00
James Vega 3f63917dc2 Use conf.registerGlobalValue to ensure generated values are properly setup.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 0c62204809)
2010-08-24 19:52:09 -04:00
James Vega 8c280369a6 Services: Properly register the NickServ.password group and child values.
Closes: Sf#3019174

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit d78f7b6ac5)
2010-08-24 19:51:51 -04:00
James Vega 31d5191dcd supybot: Remove extraneous sys.stdin.close()
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 0e22e218f0)
2010-08-24 19:51:33 -04:00
James Vega 0f877166ad Services: Fix conflict with callbacks.Commands.isDisabled
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f926804f40)
2010-08-24 19:51:09 -04:00
Daniel Folkinshteyn abf6df9e13 fix google calc to work when doing a currency conversion.
made the calcre more generic, so it finds stuff on both math and currency.
nothing a little exploration of google html page source couldn't solve.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 432228c736)
2010-08-24 19:50:47 -04:00
Daniel Folkinshteyn 9e1ba9910a make Misc.apropos return plugin name even if command is in only one plugin.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8daebd1240)
2010-08-24 19:50:22 -04:00
James Vega 976567c1ac Services: Disable most of the plugin on networks in the disabled list.
Notify the user when trying to use the commands on a disabled network, ignore
noJoinsUntilIdentified, and don't try communicating with services.

Closes: Sf#3018464

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 9e73f4482c)
2010-08-24 19:50:11 -04:00
James Vega 8d5e4ba624 Twisted: Send all available ircmsgs and reduce delay between checks
All ircmsgs that takeMsg will return should be processed each time
checkIrcForMsgs is called since there may be multiple available in the
fastqueue.

Reduced the time between calls of checkIrcForMsgs so the delay between
normally queued ircmsgs stays close to the configured throttleTime.

Closes: Sf#3018148
(cherry picked from commit adc5d62bbf)
2010-08-24 19:49:54 -04:00
James Vega ff760d1c69 Socket: Ensure driver is flagged as disconnected after a socket error.
Users were occasionally hitting a situation where the socket had errored,
causing a reconnect, but the socket wasn't closed nor the driver marked as
disconnected.  This resulted in run() continuing to try and use the driver,
which would cause another error, schedule another reconnect, log an error, ad
infinitum.

Closes: Sf#2965530

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit a278d17f2b)
2010-08-24 19:49:38 -04:00
James Vega a6857ce9bf utils/web.py: Only try catching socket.sslerror if built with SSL support
Closes: Sf#2998820

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f03a3f6c85)
2010-08-24 19:49:30 -04:00
James Vega 246e09cc99 Anonymous: Implement support for allowPrivateTarget config.
Closes: Sf#2991515

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 57e894de58)
2010-08-24 19:49:14 -04:00
Daniel Folkinshteyn e9d55d4bbd fix bug in RSS.announce.list:
Because the 'channel' argument was declared optional, calling announce.list
off-channel without a channel argument caused an error.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 40941e044a)
2010-08-24 19:48:42 -04:00