Commit Graph

1126 Commits

Author SHA1 Message Date
Jeremy Fincher
4d04bb546d Extra, more accurate asserts can't hurt. 2004-07-26 06:26:08 +00:00
Jeremy Fincher
fc312008ad Important change. 2004-07-26 06:20:03 +00:00
Jeremy Fincher
7dbbf16dcc Allow multiple nicks, refactored irclib.Irc a bit. 2004-07-26 06:05:39 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher
5c3f13bd51 This must not have been run in awhile. 2004-07-24 05:16:02 +00:00
Jeremy Fincher
db111b7a1b Removed, they broke. 2004-07-24 05:08:45 +00:00
Jeremy Fincher
97cfeef28c Slight output change on Babelfish. 2004-07-24 05:03:47 +00:00
Jeremy Fincher
115b3bdea9 Updated for Utilities/Format split. 2004-07-24 04:59:46 +00:00
Jeremy Fincher
88b966306a Removed final remnants of bracketSyntax. 2004-07-23 04:59:41 +00:00
Jeremy Fincher
278310e999 Moved some commands from Utilities to Format. 2004-07-23 04:55:17 +00:00
Jeremy Fincher
6fb53c1007 Added revision strings. 2004-07-23 04:20:13 +00:00
Jeremy Fincher
3532fbb729 Added revision strings. 2004-07-23 04:18:59 +00:00
Jeremy Fincher
a4386a6798 Updated to make mircColors an IrcDict, and clean up the limplementation of mircColor function. 2004-07-22 22:30:24 +00:00
Jeremy Fincher
c064aa1155 Let's make sure to zfill those digits before we mircColor. 2004-07-22 20:57:46 +00:00
James Vega
315810d08e yay! no more stray whitespace 2004-07-21 19:36:35 +00:00
Jeremy Fincher
368958388f Added aol filter. 2004-07-20 09:28:38 +00:00
Jeremy Fincher
1cc62cf609 Added a list command. 2004-07-20 06:37:21 +00:00
Jeremy Fincher
2377a4a83c Automatically convert non-strings to strings with safeArgument. 2004-07-19 22:33:58 +00:00
James Vega
91a440e6b3 Add rudimentary blocking of adjusting one's own karma 2004-07-07 18:10:00 +00:00
James Vega
0721a7005c Simplified the last fix and commented out the kban tests since they don't
work properly
2004-06-19 16:36:29 +00:00
James Vega
90a0529696 Fixed a bug and caught some interesting issues with strictRfc. Still need
to look into Channel.kban
2004-06-19 02:06:44 +00:00
James Vega
2657257535 Fixed a couple bugs and added tests for said bugs. 2004-06-19 00:10:04 +00:00
James Vega
d8b7254021 Revert a reply() change and fix some tests. 2004-06-09 23:48:33 +00:00
James Vega
32f39e0980 Babelize wasn't properly setting the language when it terminated early 2004-06-09 23:43:37 +00:00
James Vega
5633b9d46b Updated the tiny regexp to match the site's new layout. Added more checks for
nonSnarfingRegexp. Lowered the minimum length we check for tiny URLs since
they can be as short as 20 characters.
2004-06-07 19:45:49 +00:00
James Vega
36e7931b83 A few small corrections 2004-06-07 05:17:50 +00:00
James Vega
34555c51ff I didn't like the idea of supybot being able to time travel 2004-06-04 06:18:33 +00:00
Jeremy Fincher
faa5a8ce13 Removed old and busted; added new hotness. 2004-05-07 11:46:41 +00:00
Jeremy Fincher
5603c62f38 Maintainability updates. 2004-05-07 11:42:48 +00:00
James Vega
86451cc8ae Added Sourceforge.fight 2004-05-01 21:38:49 +00:00
Jeremy Fincher
dc1bc4ba55 Updated a ton of configuration variables. 2004-04-30 02:13:42 +00:00
James Vega
65ad15dd45 Fixed bugs in zipinfo and netcraft 2004-04-30 01:39:29 +00:00
Jeremy Fincher
2c2e21e765 Fixed bug #941101. 2004-04-29 11:49:24 +00:00
Jeremy Fincher
8274d5dfb9 Fixed strictRfc appropriately. 2004-04-29 11:41:05 +00:00
James Vega
20ac0993bc Add Http.zipinfo 2004-04-28 21:13:33 +00:00
James Vega
349245a78e Fix a (probably) long-standing bug with Debian.file and pythonZgrep. Update
Debian.version so that it uses the user's 'package' name as a subword for
which to search.  This better reflects the original behavior of
Debian.version.  Also added --exact option to Debian.version in case people
don't want to use the subword search.
2004-04-28 07:54:04 +00:00
James Vega
481dd5111a Add comma argument to commaAndify 2004-04-28 06:26:02 +00:00
Jeremy Fincher
b9524115b0 Fix for bug committed last night. 2004-04-27 17:14:31 +00:00
Jeremy Fincher
e50f3ccbac Added Utilities.last. 2004-04-22 03:39:38 +00:00
James Vega
81aff97e71 Apparently reply.whenNotCommand is False when we're running the tests 2004-04-21 08:05:47 +00:00
James Vega
173af6567f Update RSS.info to accept an rss feed name as well as a url 2004-04-21 07:38:18 +00:00
Jeremy Fincher
28fe96c833 Allow irc.error() to be called with no arguments and act as if ArgumentError was raised. 2004-04-21 04:31:42 +00:00
Jeremy Fincher
f7010805ee Made 'alias foo bar' work as expected. 2004-04-20 11:28:03 +00:00
Jeremy Fincher
7b16100376 Fix for bug #938377. 2004-04-20 10:59:20 +00:00
Jeremy Fincher
16b65f58ec detailedErrors should be True. 2004-04-20 10:58:13 +00:00
Jeremy Fincher
85807dd077 Fix for slashdot bug, I think. 2004-04-20 09:51:55 +00:00
Jeremy Fincher
9a907277c1 Changed reviter to reversed. 2004-04-20 09:51:20 +00:00
Jeremy Fincher
e3b1eb1850 Fixed bug in test. 2004-04-18 03:52:30 +00:00
Jeremy Fincher
119619d437 Updated to fix a bug in Config.help and a bug in the test for Config.list. 2004-04-18 02:40:18 +00:00
Jeremy Fincher
9be3ea075e Updated test because of CENSORSHIP. 2004-04-18 02:29:08 +00:00
James Vega
2a62e3cd5b supybot.plugins.Babelfish.disabledLanguages ->
supybot.plugins.Babelfish.languages
2004-04-17 17:17:45 +00:00
Jeremy Fincher
747b8f483f Fixed colorstrip => stripcolor bug in test. 2004-04-17 16:37:50 +00:00
Jeremy Fincher
e194e89c85 Check that an action doesn't continue past the first reply. 2004-04-17 14:07:55 +00:00
James Vega
b9ab839470 BadWords will now filter words that have been formatted 2004-04-15 21:20:52 +00:00
James Vega
e87c31aea4 ircutils.strip{Bold,Reverse,Underline,Formatting} 2004-04-15 21:15:57 +00:00
Jeremy Fincher
227738f78e Bugfix for Shame. 2004-04-15 06:36:34 +00:00
James Vega
08fc07b698 Yay! Finally able to consolidate Sourceforge.{rfe,bug} into
Sourceforge.tracker. Less code, more functionality. What could be better?
2004-04-15 06:20:21 +00:00
Jeremy Fincher
1cb8cd0933 Added RFE #900293. 2004-04-14 10:13:53 +00:00
James Vega
403a561671 Add supybot.plugins.Weather.convert, which determines weather or not whether
will convert temperature to the configured unit.
2004-04-14 00:26:08 +00:00
Jeremy Fincher
72c0eb5d23 Added success. 2004-04-13 01:49:56 +00:00
James Vega
0027117e8c Fix some coloring/formatting bugs we had 2004-04-13 01:01:17 +00:00
Jeremy Fincher
9c2611328f Added a test for notice and private combined. 2004-04-11 23:57:30 +00:00
Jeremy Fincher
e65a7ec17c Made it depend on sqlite. 2004-04-11 23:57:03 +00:00
Jeremy Fincher
1f0e646ff3 Fixed bugs in these tests. 2004-04-09 16:49:24 +00:00
Jeremy Fincher
4354a79f9f This should be guarded by the network condition. 2004-04-09 15:29:11 +00:00
Jeremy Fincher
ee5afd1074 Fixed some thingy. 2004-04-09 15:13:44 +00:00
James Vega
b2153c83fb unColor is now working. Added a colorstrip outfilter to Filter to close RFE
#863599
2004-04-09 03:59:12 +00:00
Jeremy Fincher
7f6040a160 Refactored callbacks.{error,reply} and its friends; added supybot.reply.errorWithNotice. 2004-04-09 02:55:03 +00:00
James Vega
47d7f5e18b Correctly get the disabledLanguages value (it's a ChannelValue, not
GlobalValue) and update the tests to match the new failure string.
2004-04-08 14:34:54 +00:00
James Vega
8587c3cd4f Added supybot.plugins.Babelfish.disabledLanguages to disable certain languages
from being translated/spoken
2004-04-08 03:28:28 +00:00
James Vega
42301c1117 Add a test for the recent Http.stockquote bug and remove testing of
Http.weather  (I thought I had already committed this)
2004-03-29 14:05:35 +00:00
James Vega
48d6dc5914 Add testing of units configuration 2004-03-26 00:57:14 +00:00
Jeremy Fincher
73a9ffc8ee Removed useless PluginDocumentation. 2004-03-25 12:19:31 +00:00
James Vega
823c91ff44 Updated Wordstats plugin to allow removal of tracked words. 2004-03-14 06:43:03 +00:00
Daniel DiPaolo
4e7d862373 Removing the "see foo" referencing code as it is error-prone (it's really tough
to accurately track self-referencing leading to recursion and circular
references leading to infinite looping) and I don't think it's all that useful.
Fixing it would make the already-contorted code of this plugin even worse!
2004-03-11 04:50:09 +00:00
James Vega
a79bc26201 Updated Seen.seen to accept no arguments. 2004-03-09 22:04:41 +00:00
James Vega
e31aa252dd Don't respond with the units so as to ease nesting convert and calc 2004-03-01 23:18:21 +00:00
Jeremy Fincher
fc71c53b0e Made echo use standardSubstitute. 2004-02-26 15:53:45 +00:00
James Vega
31c8af3fda Yay! Now Network.whois can retrieve information for any domain. 2004-02-24 21:52:53 +00:00
James Vega
d3b8c25255 Added Weather.cnn, which retrieves weather from weather.cnn.com.
Renamed Weather.weather to Weather.ham in preparation for jemfinch adding the
ability to specify which service to use when Weather.weather is called.
Added ability to specify default temperature units in which to report the
temperature.
2004-02-21 21:11:50 +00:00
Jeremy Fincher
58decb39a9 Fixed bug #900879. 2004-02-20 06:17:36 +00:00
James Vega
61dbf12016 Remove a subclass from test_Amazon.
Only quote words in Amazon results if they are not being bolded.
2004-02-19 07:40:57 +00:00
James Vega
0b48743065 Added tests to catch the pipeSyntax bug and to test G-Lite's new bracketSyntax
enabling/disabling.
2004-02-18 17:16:28 +00:00
Jeremy Fincher
2747baf48a Fixed bug in IrcObjectProxy{Regexp} where actions weren't targetted correctly based on the to/private arguments. 2004-02-18 13:41:47 +00:00
Jeremy Fincher
faa27d573f Fix for bug #899271, as well as some other problems with the test suite and ChannelPluginTestCase. 2004-02-18 07:36:40 +00:00
James Vega
3128255c0f MoobotFactoids.randomfactoid must've felt so lonely not having anyone to test
that he was ok.  Add that to him having an unwanted msg lying around, and he
must've been quite sad.
2004-02-17 21:41:52 +00:00
James Vega
3851d1d152 Added amazon snarfer and price information. 2004-02-17 16:40:32 +00:00
Stéphan Kochen
f1e34ccfa9 Added invite command with test, fixed docstrings. 2004-02-17 13:28:40 +00:00
Jeremy Fincher
976efd87cf Added skullY's patches for Network.whois for .orgs. 2004-02-17 08:08:18 +00:00
Daniel DiPaolo
a35e185c4b Just changed a var name to be more clear in _lock for MF, and finally fixed the
MF tests so that they all pass (without removing test functionality)!
2004-02-17 06:33:23 +00:00
Jeremy Fincher
32aa12b118 Finally fixed test0rz. 2004-02-17 05:18:58 +00:00
Jeremy Fincher
465e12e14e Mess up in rewrite. 2004-02-17 05:05:40 +00:00
Jeremy Fincher
37247adcea Rewrite of OptionListTestCase to actually test things well. 2004-02-17 05:00:00 +00:00
Daniel DiPaolo
98cc71d5c9 Fixed quoting issues (permanently, I hope) in the tests. 2004-02-17 04:49:00 +00:00
James Vega
62f3242b81 I thought this already sorted by id... 2004-02-17 02:41:09 +00:00
Jeremy Fincher
48d6c982ce Made a SupyTestCase base class to handle COOL STUFF\! 2004-02-16 04:12:35 +00:00
Jeremy Fincher
bfd5066ec9 Added some more better handling for channel modes. 2004-02-16 03:44:11 +00:00
Jeremy Fincher
67ab9f8ae1 Fix for 'revision Math' bug. 2004-02-16 03:01:20 +00:00
Jeremy Fincher
487fb3cc2f Made separateModes int the argument if it can. 2004-02-16 00:51:29 +00:00
Jeremy Fincher
af0a4987f4 Made Factoids infinitely cooler. WE REFUSE TO BE A REDHEADED STEPCHILD! 2004-02-13 21:50:23 +00:00
Jeremy Fincher
8569d70f85 Fixed over-specifying test. 2004-02-13 10:33:18 +00:00
Jeremy Fincher
175c73d164 You gotta have an encoding, dude. 2004-02-13 10:07:43 +00:00
Jeremy Fincher
60bf8eba95 Fixed testPlugin. 2004-02-13 09:56:34 +00:00
Jeremy Fincher
1d53c99f5b Fixed test. 2004-02-13 09:52:57 +00:00
Jeremy Fincher
87f4d36d6f Fixed tests. 2004-02-13 09:50:46 +00:00
Jeremy Fincher
c68a8015a0 Fixed failing tests. 2004-02-13 09:29:55 +00:00
Jeremy Fincher
e2795d3ef0 Fixed the failing testAddressedReplyWhenNotAddressed test. 2004-02-13 08:53:19 +00:00
Jeremy Fincher
2d79a470dc Fixed problem with integer-looking ids in repeat. 2004-02-13 04:24:44 +00:00
James Vega
1f9d794943 Fix the Debian.version regexps and fully propagate the Zegrep -> Zgrep
renaming that occured a few days ago.
2004-02-11 23:39:47 +00:00
Jeremy Fincher
5d3a3437db Fixed G-LiTe's bug with -l. 2004-02-11 06:57:35 +00:00
Daniel DiPaolo
5aef3f2e02 Removed all instances of repr()'ing (or "%r" % ...'ing) factoid values or keys,
as that mucks about with unicode input/output which is desirable to keep.
2004-02-10 14:01:50 +00:00
Keith Jones
abf56c909f added new test for longer numbers 2004-02-10 03:22:40 +00:00
Jeremy Fincher
5969fbf990 Make op/halfop/voice like de{op,halfop,voice}. 2004-02-09 18:23:21 +00:00
Jeremy Fincher
03084065d6 htmlToTexted the team. 2004-02-09 16:42:28 +00:00
James Vega
2a586bdb78 Change project registry value to defaultProject. 2004-02-09 04:02:21 +00:00
James Vega
1cffed1854 I should commit the test, too. 2004-02-09 03:09:08 +00:00
Jeremy Fincher
915d4674e3 Added a try/finally block. The snarfer test still needs one added. 2004-02-09 03:03:22 +00:00
Jeremy Fincher
ea2f4a55ca Fixed urlSnarfer bugz0r. 2004-02-09 02:52:41 +00:00
Jeremy Fincher
da209e5a36 Made enable case-insensitive. 2004-02-08 23:54:01 +00:00
Jeremy Fincher
5bc79e2503 Updated slightly to try and give a purer environment to tests. 2004-02-08 09:27:43 +00:00
Jeremy Fincher
e0e53b57d0 Updated to use makeChannelCapability, which is more appropriate. 2004-02-08 09:27:15 +00:00
Jeremy Fincher
40a0ed929f Updated test to match implementation. 2004-02-08 09:26:56 +00:00
Jeremy Fincher
54750f139f Fixed ignorant tests in Admin. 2004-02-08 09:26:41 +00:00
Jeremy Fincher
96eecfd477 Fixed most tests and made some stricter policy changes, as well handled the case of getUserId returning several hostmasks a little better. 2004-02-08 09:25:14 +00:00
Jeremy Fincher
605129991d Fixed tests for BadWords. 2004-02-08 08:04:40 +00:00
Keith Jones
ab26fbdf84 Added tests for new base command 2004-02-07 20:44:14 +00:00
Jeremy Fincher
6a2f9010b8 Fixed bugz0r. 2004-02-07 18:21:46 +00:00
Jeremy Fincher
a0d830c061 Added a test for supa1337. 2004-02-07 06:26:34 +00:00
Jeremy Fincher
1c1046cddb The bot won't de itself anymore. 2004-02-07 06:24:45 +00:00
Jeremy Fincher
1f312044ae Fixed bug. 2004-02-06 07:14:07 +00:00
Jeremy Fincher
9def8a49bd Hmm, didn't define keys. 2004-02-05 07:32:20 +00:00
Jeremy Fincher
6771c24ca6 Added InsensitivePreservingDict and made IrcDict a subclass of it. 2004-02-05 07:14:35 +00:00
Daniel DiPaolo
0d2724d0f3 Fixed Dunno.change and added a test to make sure it works 2004-02-05 06:00:44 +00:00
Jeremy Fincher
fe71094ad8 It doesn't fix it, but it's cleaner. 2004-02-03 07:12:19 +00:00
Jeremy Fincher
b9e611fd91 Allow an implicit supybot. 2004-02-02 08:33:03 +00:00
Jeremy Fincher
ad4b7945ae Fixed bugz0r in handling of nested actioning replies in tell. 2004-02-01 23:04:19 +00:00
James Vega
096bbdc463 Added --{from,to} and --sent options to Note.list 2004-02-01 21:47:11 +00:00
James Vega
33cafb818c We want to set the log level, not minimuPriority (which doesn't exist anymore) 2004-01-31 23:33:33 +00:00
Jeremy Fincher
03c46445d7 Fixed tests. 2004-01-31 22:07:27 +00:00
James Vega
b410a79d64 So begins the slow whittling away at the "Condense old notes" RFE 2004-01-31 22:05:09 +00:00
Jeremy Fincher
7f2578a13e Updated to make the tests pass. 2004-01-31 22:04:46 +00:00
James Vega
4a4aa6ec27 Hopefully this Amazon.books test will be more stable than the last one. 2004-01-31 22:04:40 +00:00
Jeremy Fincher
ec32901b86 Fixed the test. 2004-01-31 21:58:11 +00:00
Jeremy Fincher
2b93f028d9 Fixed test and the names of some configuration variables. 2004-01-31 21:56:39 +00:00
Jeremy Fincher
f3fd7dabe1 Changed num to stats. 2004-01-31 21:49:01 +00:00
Jeremy Fincher
f124b72267 Changed a ChannelPluginTestCase. 2004-01-31 21:48:04 +00:00
Jeremy Fincher
8e1b96885a Fixed all tests for this plugin. 2004-01-31 21:10:23 +00:00
Jeremy Fincher
55c392fae3 Fixed tests. 2004-01-31 21:03:31 +00:00
Jeremy Fincher
4ebbf7bf52 Fixed all tests. 2004-01-31 20:48:05 +00:00
Jeremy Fincher
e51b41eef3 Split Seen out from ChannelDB. 2004-01-31 20:26:15 +00:00