Commit Graph

7010 Commits

Author SHA1 Message Date
James Vega
eff20402ac Change canonize => normalize
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-27 16:41:34 -04:00
Štěpán Němec
e922918564 QuoteGrabs plugin: Add an `ungrab' command.
Also add a missing error check in the `list' db method.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-27 14:47:09 -04:00
Štěpán Němec
a66034f852 Fix some typos/wordings.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:34:12 -04:00
Štěpán Němec
2242b26025 scripts/supybot: Unify the `os.linesep' vs '\n' usage.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:15:50 -04:00
Štěpán Němec
a693162059 Note plugin: Fix erroneous use of __contributors__.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 15:43:10 -04:00
Štěpán Němec
53cac5b078 callbacks.py: Remove duplicated getRealIrc() definition
NestedCommandsIrcProxy inherits the method from ReplyIrcProxy.
(Also fix some typos.)

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-20 11:23:12 -04:00
Štěpán Němec
2fa0f6dedc commands.py: Sort the items of the wrappers dictionary
(just to make it readable)

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-20 11:20:48 -04:00
James Vega
169aee3bc0 ChannelStats.rank now starts from 1 instead of 0
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-20 10:48:41 -04:00
James Vega
aa9db7ba23 Escape '-' where necessary in supybot.1
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-25 15:12:30 +02:00
James Vega
c376b8e796 Channel: Allow kick to accept multiple nicks.
Closes: Sf patch #1813467

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-20 18:08:21 -04:00
Ricky Zhou
aa2337791a Account for negative times in timeElapsed.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-20 16:07:51 -04:00
James Vega
cbf68e53e3 QuoteGrabs: QuoteGrabsRecord at arg needs to be an int.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-18 20:27:45 -04:00
James Vega
dcb247494e User: getHostmasks should always return a string
Since it was calling irc.reply() in one case, we had both that irc.reply being
sent and the irc.reply() of what getHostmasks returned (None in that case).
Bad!

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-16 11:39:20 -04:00
James Vega
9dccada152 User: Fix hostmask.list to show the user's name not the repr user object
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-16 11:28:43 -04:00
James Vega
c9329303d3 Updated ChannelIdDatabasePlugin's getCommandHelp signature
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-14 20:32:57 -04:00
Jeremy Fincher
43129239d6 Added Seen.since, which lets a user see messages which were sent since the last time he parted a channel. 2009-07-01 15:40:58 -05:00
James Vega
ba29f0787c Channel: alert should not require the caller to have op capability
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-06-30 11:06:17 -04:00
James Vega
461f943d97 Google: Keep the list of supported languages in one place.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-06-26 18:21:16 -04:00
James Vega
874508867f QuoteGrabs: Fix incorrect argument order to _grab
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-06-26 16:58:46 -04:00
Jeremy Fincher
b9d6277e30 Added supybot.abuse.flood.command.invalid.notify, a configuration variable determining whether the bot will notify infractors of their ignoring. 2009-06-09 10:40:05 -05:00
Ricky Zhou
416a6e8dd2 Try using simplejson instead if json-py is installed.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-06-03 04:28:45 -04:00
James Vega
3c898fa483 supybot-wizard: Handle os.makedirs errors on Windows
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-26 16:27:53 -04:00
James Vega
b170d5f9c3 release.py: Remove the archives after uploading to Sourceforge
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:50:05 -04:00
James Vega
332a614eef Updated to 0.83.4.1+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:38:22 -04:00
James Vega
27a4ef0ed3 Updated to 0.83.4.1.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:38:12 -04:00
James Vega
462fac9307 release.py: Allow an extra version number.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:32:02 -04:00
James Vega
d7039f0c31 Update ChangeLog and RELNOTES for 0.83.4.1
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:15:44 -04:00
James Vega
afa49be456 Channel: Chunk mass mode changes according to supported['MODES']
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 10:38:49 -04:00
James Vega
b644e30bb6 Channel: Fix test failures from making ignores and bans use banmask
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 10:00:51 -04:00
James Vega
8bd37dbff7 Channel: Don't let nicks leak private info.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 00:30:13 -04:00
James Vega
54dda880d4 Add a pluginCommands kwarg to Commands.listCommands.
Plugins which implement their own listCommands method should pass their
non-typically discoverable commands to Commands.listCommands via this
mechanism.  This means that the de-duplication of commands is performed in one
spot instead of having each plugin implement it on their on in their
listCommands method.

This reverts commits 0ce829af6215b97e725f4d6d580d1151950be869 and
09fb0e6fc974445a3414fb03a94625f8538d4570.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-22 18:52:15 -04:00
Ricky Zhou
fa3a2dd23b Allow nItems to take longs as well.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-19 00:58:07 -04:00
James Vega
d7dee482ca Google: Ensure we don't try to use the 3rd party json module.
json-py provides a different interface than simplejson (renamed json when
included with Python2.6).  As such, we test for the different interface and
raise an error when we encounter it.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-19 00:55:17 -04:00
James Vega
cca36ed9f2 Factoids: Add simpleSyntax argument to getCommandHelp.
It helps to properly override the parent class's method so that Misc.help
doesn't error when trying to get Factoids.learn's help.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 11:09:18 -04:00
James Vega
9f718fb01c release.py: Use web.sf.net instead for uploading version.txt
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:56:05 -04:00
James Vega
3535f6a702 Updated to 0.83.4+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:52 -04:00
James Vega
f32c886692 Updated to 0.83.4.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:42 -04:00
James Vega
dbf58d5faa Update supybot-plugin-doc's manpage
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:46:18 -04:00
James Vega
249180bc41 release.py: Specify all the arguments for string formatting
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:31:16 -04:00
James Vega
660621d77e release.py: Use a proper commit message for the +git commit
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:30:54 -04:00
James Vega
1c4738bfdc supybot-wizard: Fix listing of plugins during setup.
Due to the changes to prevent the global plugins dir from being set in
supybot.directories.plugins, the global plugins weren't being found.  Simply
extend the list of directories with the global directory.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:26:57 -04:00
James Vega
0d98118247 Allow getCommandHelp to be told whether to use simpleSyntax.
Use this to force Misc.help to ignore simpleSyntax since the user has
explicitly asked for the help.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:12:54 -04:00
James Vega
7c89914d2d release.py: Don't specify -a and paths to git commit
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:07:27 -04:00
James Vega
e464260b8a release.py: Actually specify the user to clone as
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:04:39 -04:00
James Vega
8c3125a287 release.py: Correct a couple git checks
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:02:52 -04:00
James Vega
d09a4cbbc5 release.py: Allow for a dry-run to double-check the results
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 02:55:23 -04:00
James Vega
b82e22b019 Update ChangeLog and RELNOTES for 0.83.4
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 02:45:16 -04:00
James Vega
d7237104ae Math: Update the units info from ConvertAll
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:44:59 -04:00
James Vega
2e8a2238c1 INSTALL: Use python2.x/Python2x when referring to the version.
Use explicit numbers actually does confuse some people.  Hopefully the x will
make it easier for them to realize they should use whatever number corresponds
to the version they have installed.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:18:02 -04:00
James Vega
c03504b906 Change PySQLite version from 1.0.x to 1.x as 1.x seems to work now
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:17:05 -04:00