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
James Vega
a946effc79
Fix a copy/paste error in User.capabilities help
2009-03-11 13:37:25 -04:00
James Vega
88ca711d6a
Change translate to use the (limited) translatable language list.
2009-03-11 13:37:25 -04:00
James Vega
1fbf61c571
Correct parsing of defaultLanguage parameter.
2009-03-11 13:37:25 -04:00
James Vega
62a8306fbb
Rewrite most of Google to use the new AJAX API.
...
Add a translate command as well.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
de69f9da17
Backed out my previous change. I should know better than to question the all-knowing jamessan.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
bec12b6877
Made jamessan's code agree with his comment (and the maximum integer that can fit into two bytes).
2009-03-11 13:37:25 -04:00
James Vega
699bb15f23
Fix a test failure by limiting random.randrange to [-32768, 32767]
2009-03-11 13:37:25 -04:00
James Vega
d39846ae68
Add a pointer to importantPlugins config var in defaultplugin's help.
2009-03-11 13:37:25 -04:00
James Vega
ac2fe7db3a
Add azn and uniud commands.
2009-03-11 13:37:25 -04:00
Daniel DiPaolo
2672cf6080
Fixed for a certain user whose name starts with a J and has "Finch" in it.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
1bf4f5554f
Added tests for later notes.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
1979f5ad35
Fixed bugs, added tests, etc.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
9a43f04248
Fixed final syntax error, added test.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
67d262a575
Fixed another bug in the new rank command.
2009-03-11 13:37:25 -04:00
Jeremy Fincher
8fefeaa11f
Fixed a few bugs in the new rank command.
2009-03-11 13:37:25 -04:00