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
James Vega
d59ac366b3
ShrinkUrl: Add shrinkSnarfer.showDomain config
...
As requested by BeteNoire, add a config option to disable showing the domain
of the URL shrunk by the snarfer.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-07 23:46:50 -05:00
James Vega
62acb0c998
Make RSS.announce a nested plugin
...
This simplifies the interface for dealing with announced feeds by providing
separate "announce add", "announce remove", "announce list" commands as
opposed to the one "announce" command with confusing syntax.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-02-28 00:10:10 -05:00
James Vega
0e05fe67c7
No need to define RSS.listCommands
...
Doing so can lead to RSS feeds being listed multiple times.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-02-27 23:36:29 -05:00
James Vega
46a4076988
Add .gitignore
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-02-27 14:17:31 -05:00
Jeremy Fincher
4de0bb31f9
Corrected slight inaccuracy in a configuration parameter's help.
2009-03-11 13:37:27 -04:00
James Vega
8d21b7a8cf
Google: Rename safeSearch to searchFilter to ease upgrades
2009-03-11 13:37:27 -04:00
Jeremy Fincher
ad25afa900
Added supybot.plugins.AutoMode.owner, so the bot can choose not to automode owners.
2009-03-11 13:37:27 -04:00
James Vega
125d542706
Google: Fix Language.normalize to not prepend the empty string with 'lang_'
2009-03-11 13:37:27 -04:00
James Vega
feeded6135
Config: Differentiate between (un)settable config vars
...
Config.{set,get,default} should only be called on settable config
variables. Detect whether the given argument is settable and emit an
error if not. This avoids an uncaught exception.
2009-03-11 13:37:27 -04:00
James Vega
730bca616b
Karma: Remove getName function which hasn't been used since 2004
2009-03-11 13:37:27 -04:00
James Vega
ce469b0851
ChannelLogger: Allow logging to be disabled on specific channels
2009-03-11 13:37:27 -04:00
James Vega
125e24ceda
Channel.kban: Fall-back to exact hostmask when banmask matches the bot.
2009-03-11 13:37:27 -04:00
James Vega
42ef99a152
Use getBanmask for Channel.{ignore,ban}.add
2009-03-11 13:37:27 -04:00
James Vega
89874f0c3f
AutoMode: Use protocols.irc.banmask when banning
2009-03-11 13:37:27 -04:00
James Vega
775fe6fd4c
Move plugins.Channel.banmask to protocols.irc.banmask
...
Also add protocols.irc.banmask.makeBanmask as a common function for
getting a banmask from a hostmask.
2009-03-11 13:37:27 -04:00
James Vega
20dd2a0782
No need to define Alias.listCommands.
...
Doing so can actually result in duplicate alias listings.
2009-03-11 13:37:27 -04:00
James Vega
62897a9663
Workaround Python's idiocy with float -> str -> float conversions
2009-03-11 13:37:26 -04:00
James Vega
0bc16641b9
Use the timestamp formatter instead of duplicating the code
2009-03-11 13:37:26 -04:00
James Vega
1f3d9e64a3
Add test to ensure quoted factoids are preserved
2009-03-11 13:37:26 -04:00
James Vega
08a0531bf7
Update Factoids.getCommandHelp to respect supybot.reply.showSimpleSyntax
2009-03-11 13:37:26 -04:00
James Vega
9cc917bd36
Guard feedparser import and warn the user if it's not available
2009-03-11 13:37:26 -04:00
James Vega
e938c4d31b
Remove dictclient from Dict/ and update Dict/README.txt
2009-03-11 13:37:26 -04:00
James Vega
0ade3a0a4d
Remove feedparser from RSS/ and update RSS/README.txt
2009-03-11 13:37:26 -04:00
James Vega
1f4d1fca9f
Add test for a bug Tar-Get brought up on IRC
2009-03-11 13:37:26 -04:00
James Vega
507b95a2eb
Fix a couple Misc tests
2009-03-11 13:37:26 -04:00
James Vega
0a4c66071b
Adjust testTitle to take into account /.'s slight change
2009-03-11 13:37:26 -04:00
James Vega
6590bf898a
Do not directly import sets. supybot.utils provides __builtins__['set']
2009-03-11 13:37:26 -04:00
James Vega
828d41e37d
Add utils/crypt.py as a Python version-agnostic crypt module
2009-03-11 13:37:26 -04:00
James Vega
614fa22038
Fix a syntax error in the last command flood commit
2009-03-11 13:37:26 -04:00
James Vega
300443c8f6
Finish the implementation of command flood prevention
2009-03-11 13:37:26 -04:00
James Vega
b99b2c7f64
Add tests for recent bug-fixes
2009-03-11 13:37:26 -04:00
James Vega
cfe0ee8462
Actually set the 'rsz' option if it isn't defined.
2009-03-11 13:37:25 -04:00
James Vega
f772fbf284
Forgot to utf-8 encode the URL from a Google search
2009-03-11 13:37:25 -04:00
James Vega
6cfde5bcc9
Update googleSnarfer to use the new search method
2009-03-11 13:37:25 -04:00
James Vega
2b7c36c747
Remove unused SOAP.py from old Google implementation
2009-03-11 13:37:25 -04:00
James Vega
cbc91c6a26
Use a more appropriate message if the URL definitely has no title.
2009-03-11 13:37:25 -04:00