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
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
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
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
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
5fda0df4a9
Update dateutil to latest version and include all files
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-11 12:16:28 -04:00
James Vega
fea4cc2962
Fix setup.py and add local/__init__.py so Time can be installed
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-11 11:23:49 -04:00
Jeremy Fincher
279c00a925
Fixed dateutil to use the "local" subdirectory format.
2009-05-08 12:36:37 -05:00
James Vega
8c66ed9a3f
Add Success plugin from supybot-plugins package
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:52:16 -04:00
James Vega
f3a1e36727
Add Dunno plugin from supybot-plugins package
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:50:32 -04:00
James Vega
2b09c70bc3
Remove the Insult plugin
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:43:09 -04:00
James Vega
0615846ab3
Fix getCommandHelp's use of dynamic.msg
...
Default chan to None so we can still retrieve a config value if dynamic.msg
isn't valid (e.g., when running supybot-plugin-doc).
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 08:14:46 -04:00
James Vega
faed698932
Return a fake MakeDB function when documenting plugins.
...
There's no need to actually search for valid database backends when
documenting. It only gets in the way of the actual document generation
process.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-27 19:31:58 -04:00
James Vega
4285df0809
Factoids: Fix thinko in getCommandHelp
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-23 16:05:31 -04:00
James Vega
5301390290
BadWords: Only send a msg stripped of formatting if it had bad words
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-14 19:59:59 -04:00
James Vega
f2df22ef1a
User: Add private constraint to hostmask.add since a password may be given
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-08 16:55:40 -04:00
James Vega
d6f6f32219
Factoids: Add an __init__ function which calls our parents' __init__s
...
This ensures that we actually get self.dbCache defined in Factoids
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-06 17:30:53 -04:00
James Vega
804fbe8209
String: Trim trailing \n from encode's response.
...
Certain encode functions, like base64, add a trailing \n which simply clutters
the response for Supybot.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-06 11:29:11 -04:00
James Vega
6a0b667817
String: Update the codecs URL in encode/decode's help
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-06 11:27:04 -04:00
James Vega
ebfe8e66f3
String: Give a more useful message when decoding base64 fails
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-06 11:26:15 -04:00
James Vega
dfbec681d1
Limiter: Always set the limit above the current number of users
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-03 11:05:48 -04:00
James Vega
187620dddc
User: Prevent set.password from failing with an unknown hostmask
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-01 14:33:19 -04:00
James Vega
d8297dfd3f
Google: Modify our local simplejson to work pre-Python2.6
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-31 07:50:41 -04:00
James Vega
13715a0ca3
Google: Fix calc by basing the regex off the calc img
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-19 21:10:46 -04:00
James Vega
7b906fbf54
Fully qualify the call to universalImport so we don't get a NameError.
...
Also added some ImportError handlers to aid letting users of distribution
packages know if the distributions strip out the local module copies.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-19 20:33:17 -04:00
James Vega
843b6d0d02
Config: Show global and channel values for Config.config
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-18 14:41:02 -04:00
James Vega
4e8dde4994
Alias: Add a useful README
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-15 22:13:42 -04:00
James Vega
dc68e112df
Add simplejson to the Google plugin and use universalImport
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-15 19:55:14 -04:00
James Vega
abd122ce04
Add dictclient to the Dict plugin and use universalImport
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-15 19:27:44 -04:00
James Vega
0b65c483dc
Update RSS's README with the new announce syntax
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-15 19:19:14 -04:00
Jeremy Fincher
ce8b3a556f
Merge branch 'master' of ssh://jemfinch@supybot.git.sourceforge.net/gitroot/supybot
2009-03-12 13:49:15 -05:00
Jeremy Fincher
d73b1eecf7
Moved BadWords's kick-check to an inFilter rather than doPrivmsg, so ignored people can still be kicked.
2009-03-12 13:47:12 -05:00
James Vega
22da325656
Math: Move convertcore to the local directory
...
There's no need to try importing a system-wide copy (for now) as convertcore
is our own munging of convertall's code into a form that's easy for us to use.
This may change in the future.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 19:58:21 -04:00
James Vega
3fd92e7f24
RSS: Move feedparser to the local directory
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 19:43:23 -04:00
James Vega
ed32faabe1
Math: Remove extra try block in favor of universalImport
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 14:06:25 -04:00
Jeremy Fincher
5076241bcd
Fixed RSS to include a feedparser which doesn't override the globally-installed one, using universalImport.
2009-03-11 14:06:16 -04:00
Jeremy Fincher
a86b4694d7
Added utils.python.universalImport to make the previous idiom cleaner.
2009-03-11 14:05:53 -04:00
Jeremy Fincher
d6ad5b051f
Fix math to be capable of using externally-installed third-party packages, while still providing them for people who don't have them externally installed.
2009-03-11 14:05:26 -04:00
James Vega
f539e65b8e
Misc.last: Prevent potential information leaks
...
Add required predicates which
1) Do not retrieve messages from a channel the calling user isn't in
2) Do not retrieve messages from a +s channel unless the calling user is in a
query or in that channel
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-08 01:09:25 -05:00
James Vega
856f372303
ChannelLogger: Use a sane timestamp for filenameTimestamp
...
Closes #2591305
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-08 00:08:59 -05:00