Commit Graph

6854 Commits

Author SHA1 Message Date
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
e787c7aa49 Clarify comment about timestamp() override 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
eb6117da4f Embed formatArgumentError in Commands._callCommand.
This allows it to utilize getCommandHelp which means that plugins which define
their own getCommandHelp will no longer have broken help responses when
ArgumentError exceptions are raised.
2009-03-11 13:37:26 -04:00
James Vega
338a899782 Make getCommandHelp respect supybot.reply.showSimpleSyntax 2009-03-11 13:37:26 -04:00
James Vega
026a683dec Update cachingGetHelp to match callbacks.getHelp's prototype 2009-03-11 13:37:26 -04:00
James Vega
c936897488 Allow doc to be specified for getSyntax, similar to getHelp 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
3d5c877f80 Finally fix the XXX we had for httpUrlRe and urlRe 2009-03-11 13:37:26 -04:00
James Vega
75c300c6b0 Remove useless sets import and extraneous newlines 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
d72b696739 Do not pass arguments to object's __init__ 2009-03-11 13:37:26 -04:00
James Vega
73fb339b04 Only disable prefixNick if action is actually True 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
a9d1830303 Do not prefixNick for actions 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
Jeremy Fincher
9f3bc9d355 IrcCallback's super() doesn't take any args. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
8786b4c993 Added clearq command to clear the send queue. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
d08eee8f13 Made httpUrl arg wrapper add http:// if that produces a valid http url. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
526e71e104 Added test for firewall, fixed implementation so it actually works. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
9d474f7824 We can still continue if we're unable to load a plugin. 2009-03-11 13:37:25 -04:00
James Vega
2f15eb2418 getHaveOp needs to call getChannel if state.channel isn't set 2009-03-11 13:37:25 -04:00
James Vega
4827155c6b Use network.ssl.setValue instead of network.ssl.set 2009-03-11 13:37:25 -04:00
James Vega
e31d352e57 Correct the logic in _handleSocketError 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