Commit Graph

1570 Commits

Author SHA1 Message Date
Jeremy Fincher
ec3a76c607 Swap network stuff to be inside the class. 2004-08-31 16:15:52 +00:00
Jeremy Fincher
e138211f9b Bugfixes and a test. 2004-08-30 21:46:04 +00:00
Jeremy Fincher
0cd0a44e7d I honestly cannot believe that this wasn't caught sooner. 2004-08-30 06:02:57 +00:00
Jeremy Fincher
3aedb305f9 Fix for possible bugz0r with reply.withNoticeWhenPrivate. 2004-08-30 04:35:51 +00:00
James Vega
a7379fe538 I should've run the tests earlier. Now adding the inital values to the db
actually works.
2004-08-30 02:03:38 +00:00
James Vega
164f57a01b Add Anonymous.action as requested by malex 2004-08-28 23:52:48 +00:00
James Vega
6b59933673 Let's make sure nested commands don't immediately nest commands (aka using a
nested command to determine what the outer nested command is going to call)
2004-08-28 22:28:44 +00:00
James Vega
0349d11853 Hopefully, this will fix the unicode issues we have with Amazon 2004-08-28 20:42:37 +00:00
Jeremy Fincher
1ad9816391 Tests for karma/infobot interaction. 2004-08-27 15:44:15 +00:00
Jeremy Fincher
9a7c64a359 Added clear command. 2004-08-27 15:26:52 +00:00
Jeremy Fincher
4c58c3995a Initial commit, test for bug with sending more than one later note. 2004-08-27 15:19:47 +00:00
Jeremy Fincher
c38ca4dec1 Added redo. 2004-08-27 08:44:20 +00:00
Jeremy Fincher
7e22b2b78d Added swap. 2004-08-27 07:06:59 +00:00
James Vega
29a6c92b76 Added an optional pair to start the chain, tests, and caught some errors. 2004-08-27 06:34:48 +00:00
Jeremy Fincher
049ff3d0cb Fixed bug in default. 2004-08-27 05:29:44 +00:00
James Vega
73686aeb50 Attempt to fix an error in testing permban, but it doesn't want to let itself
be fixed.
2004-08-26 14:29:50 +00:00
James Vega
ae8af84e6f RootWarner is a ChannelPluginTestCase and should use assertSnarf* asserts 2004-08-26 13:26:47 +00:00
Jeremy Fincher
bd306febf0 Only firewall if we're not testing. 2004-08-26 05:23:24 +00:00
Jeremy Fincher
e1aa6efdff Better fix for the bugs induced by this new firewall thing. 2004-08-26 05:05:01 +00:00
Jeremy Fincher
6381e2aef8 Fix for failures induced by the testing switch to un-firewalled (I think). 2004-08-26 04:53:30 +00:00
Jeremy Fincher
f2fd7c9e66 oops, got this reversed. 2004-08-26 04:43:19 +00:00
Jeremy Fincher
6b1f742e71 prefixChars == reply.whenAddressedBy.chars. 2004-08-25 23:03:42 +00:00
James Vega
e0c5dbae43 gotta stop being so greedy. it's not fair for everyone else 2004-08-25 16:42:54 +00:00
Jeremy Fincher
ec55e86c61 Let's catch SyntaxError and turn it into an appropriate ValueError. 2004-08-25 05:17:37 +00:00
Jeremy Fincher
0143a41e4f Changed the topic command to be topic.set-with-no-number. 2004-08-24 23:06:16 +00:00
Jeremy Fincher
30f93fdc8f Added the Topic.default command. 2004-08-24 23:00:48 +00:00
Jeremy Fincher
151d3b7571 Topic.undo. 2004-08-24 22:48:56 +00:00
Jeremy Fincher
18dce894a5 Refactoring, added set, topic, and insert. 2004-08-24 22:03:13 +00:00
James Vega
07757282f2 Add --without option for Mist.last 2004-08-24 20:22:12 +00:00
James Vega
2a040b475f actually implement reply.withNoticeWhenPrivate 2004-08-24 19:48:01 +00:00
Jeremy Fincher
868a6684af Removed logfile command, no one uses it and it's an information leak (channel logfiles). 2004-08-23 21:35:43 +00:00
Jeremy Fincher
8410c09e13 Initial checkin. 2004-08-23 20:30:26 +00:00
Jeremy Fincher
5861a5e07c Changed totalbugs/totalrfes to a single total command. 2004-08-23 19:53:29 +00:00
James Vega
edecd51fc1 It's handy to translate the user id to a name. 2004-08-23 19:23:01 +00:00
James Vega
852388e8b7 Being able to send a note using the person's current nick instead of needing
to know their ircdb user name is good
2004-08-23 17:36:00 +00:00
Jeremy Fincher
6e21d8b4e1 Made the test actually do something. 2004-08-23 16:38:29 +00:00
Jeremy Fincher
fae870c04f Updated. 2004-08-23 16:16:53 +00:00
Jeremy Fincher
30c70820f0 Initial commit. 2004-08-23 16:10:57 +00:00
Jeremy Fincher
c4ea6453fe Updated for jamessan's bugfix. 2004-08-23 14:09:47 +00:00
Jeremy Fincher
fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
Jeremy Fincher
06131461da We should call our parents more often. 2004-08-23 13:04:22 +00:00
Jeremy Fincher
5f24e4f6e1 Robustitude changes for testsupport. 2004-08-23 13:01:25 +00:00
Grant Bowman
992cbb91ee Upgrade of Fun's eightball command ported from Tellbot, previously
ported from Mozbot's MagicEightBall.bm module.
2004-08-23 06:51:18 +00:00
Jeremy Fincher
0e9a7a7057 New implementation of formatting; dropped unformatting entirely. 2004-08-21 07:30:39 +00:00
Jeremy Fincher
81ca3238f0 Test for case-insensitivity. 2004-08-21 03:00:09 +00:00
Jeremy Fincher
0f1842b18d Only do real variable names. 2004-08-21 02:57:47 +00:00
Jeremy Fincher
caa0790065 Split off a test. 2004-08-20 22:32:31 +00:00
Jeremy Fincher
eb23fa3b14 Fixed some space problems in Google.calc. 2004-08-20 18:01:36 +00:00
Jeremy Fincher
71c752a7fb Added bender, fixed bugs. 2004-08-20 17:20:52 +00:00
Jeremy Fincher
f914f5e7b9 Commented-out test that we're no longer worried about. 2004-08-20 05:31:59 +00:00
Jeremy Fincher
d86ebf4e7f Updated calc. 2004-08-20 04:08:00 +00:00
Jeremy Fincher
dec8c52b86 Fixed testChannel. 2004-08-19 18:19:20 +00:00
Jeremy Fincher
5be0b319a4 Bugfix. 2004-08-19 18:16:24 +00:00
James Vega
fa84b0c87c Switchamabob 2004-08-19 17:57:55 +00:00
Jeremy Fincher
23c4267744 Updated for the presence of User.stats. 2004-08-19 17:47:06 +00:00
Jeremy Fincher
715bdcf6e3 Made this work on boxes that don't have sqlite. 2004-08-19 17:10:24 +00:00
Jeremy Fincher
ad1b36a643 Added rescheduleEvent. 2004-08-19 16:58:42 +00:00
Grant Bowman
f4d6bac09e Joined extraneous lines. 2004-08-19 06:34:44 +00:00
Grant Bowman
4c459c3a72 Bugzilla.py enhancement to allow snarfing "bug ###".
new config variable: supybot.plugins.Bugzilla.snarfTarget
Uses existing supybot.plugins.Bugzilla.bugSnarfer boolean for activation.
Includes update to test_Bugzilla.py.

Developed by Mike Taylor and I.
2004-08-19 05:29:56 +00:00
Jeremy Fincher
1290d2e3eb Added profiling information as well as the threads command. 2004-08-17 20:28:00 +00:00
James Vega
72f36efc18 Fix some problems in Infobot.py's sqlite implementation and genericize
some other errors to better fit in with db abstraction
2004-08-17 20:01:23 +00:00
Jeremy Fincher
d1bf6b5497 New stats test. 2004-08-17 14:18:09 +00:00
James Vega
ff8edb48fe Abstract Infobot's DB and default to SqliteInfobotDB over PickleInfobotDB 2004-08-17 05:16:28 +00:00
Jeremy Fincher
4e53cfef63 Fixed bug #1009683. 2004-08-16 18:44:38 +00:00
James Vega
c2d5ac56ce Updated for database independence 2004-08-13 03:50:38 +00:00
Jeremy Fincher
a9ab89664c Moved logfilesize to Status. 2004-08-11 17:04:57 +00:00
James Vega
86efb09d6e Since I don't want to deal with keeping the responses up-to-date, this is
now a testNotError suite.
2004-08-11 12:33:25 +00:00
Jeremy Fincher
d762c1e8c8 Test fixes. 2004-08-11 07:42:32 +00:00
Jeremy Fincher
0768ce1c85 Converted to use dbi. 2004-08-11 06:17:11 +00:00
Jeremy Fincher
77ce14f481 Better error reporting in assertAction. 2004-08-11 06:13:11 +00:00
Jeremy Fincher
c941521ba0 Converted to use dbi. 2004-08-11 05:48:28 +00:00
Jeremy Fincher
e908b14c64 Added a field command. 2004-08-10 15:24:01 +00:00
Jeremy Fincher
8a4e79e007 Let's try to respect some channel values, shall we? 2004-08-08 17:48:33 +00:00
Jeremy Fincher
3fa477dc90 Removed reply.withPrivate notice, replaced with two separate variables, reply.withNotice and reply.inPrivate. 2004-08-08 17:34:59 +00:00
Jeremy Fincher
127e9f3ccf Fixed a bug in stripFormatting. 2004-08-08 02:07:11 +00:00
Jeremy Fincher
3db50c1a2b Fix for bug about reply.withPrivateNotice overriding stuff. 2004-08-08 00:41:13 +00:00
Jeremy Fincher
52cbec4838 Fixed some bugs with note orders, etc. 2004-08-07 00:48:03 +00:00
Jeremy Fincher
efc095fcc6 Broke user and last commands off. 2004-08-06 17:35:00 +00:00
Jeremy Fincher
42bd2d42ae Updated to use FlatfileDB. 2004-08-06 11:16:05 +00:00
James Vega
9db07346dc Fix (and cleanup) thanks to the suggestion in Bug #1002547 2004-08-04 02:33:57 +00:00
Jeremy Fincher
3234af10e7 Fix for bug #998311; we should now work fine with channels with dots in their names. 2004-08-02 10:47:05 +00:00
Jeremy Fincher
220d4b0889 Strike-- 2004-08-01 18:10:03 +00:00
James Vega
20ebbc15d5 We have to add a non-banmask hostmask to match against. banmask hostmask is
too general.
2004-08-01 16:05:07 +00:00
James Vega
d47d54bc82 Almost out entire testsuite works, yet again. Yay! 2004-08-01 14:38:37 +00:00
Jeremy Fincher
7c41187204 Now that we have directories in test-data, we better handle that. 2004-08-01 12:33:35 +00:00
Jeremy Fincher
98b7917ffc Don't know exactly why this helps, but there ya go. 2004-07-31 06:39:41 +00:00
Jeremy Fincher
9250d3ab32 Tons of differences, moved some registry values around, also changed some internal attributes of registry thingies. 2004-07-31 05:00:43 +00:00
James Vega
115a3a88ec move isCtcp to ircmsgs and fix up a couple things with Infobot 2004-07-31 03:45:25 +00:00
Jeremy Fincher
61793a489c Added the new buttkicking enable/disable. 2004-07-29 09:46:22 +00:00
Jeremy Fincher
a7dcf7604b Removed PersistentDictionary. 2004-07-29 06:58:42 +00:00
Jeremy Fincher
d594232c5c Reduced functionality, but I doubt anyone will complain. Much cleaner and clearer now that we're using flat files. 2004-07-28 05:59:30 +00:00
Jeremy Fincher
65c8b48d40 We're probably going to use Joel's irclib.py, stripped for its DCC stuff. 2004-07-27 23:55:05 +00:00
Jeremy Fincher
16ebd1c2ba Initial checkin. 2004-07-27 09:09:12 +00:00
Jeremy Fincher
377c443405 Deprecated, with no requests for revival. Removed. 2004-07-26 14:37:29 +00:00
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
Jeremy Fincher
356e32cdc5 Removed the configurable test. 2004-01-31 18:17:59 +00:00
Jeremy Fincher
42d80b6e3b test-logS gosh darn it\! 2004-01-31 17:46:19 +00:00
Jeremy Fincher
4c94713be1 Removed a useless test. 2004-01-31 17:45:44 +00:00
Jeremy Fincher
009b3b494b Attempting to remove config stuff from tests. 2004-01-31 17:45:12 +00:00
Jeremy Fincher
67a97fd136 Added getDomain and some tests. 2004-01-31 17:36:17 +00:00
Jeremy Fincher
487692f4dd Updated for the registry. 2004-01-31 17:22:32 +00:00
Jeremy Fincher
463163d977 Removed defaultPlugin test. 2004-01-31 07:42:03 +00:00
Jeremy Fincher
d2c6d66214 Fixed failing test for roulette. 2004-01-31 07:31:11 +00:00
Daniel DiPaolo
2c5e6163a0 This episode was brought to you by the letter 't' as in 'test'. More tests are
good.
2004-01-31 07:02:04 +00:00
Jeremy Fincher
2beb507554 Fixed all current failures in the no-plugins test cases. 2004-01-31 06:47:36 +00:00
Jeremy Fincher
a4c9d3f172 Formatting. 2004-01-30 06:12:46 +00:00
Keith Jones
1ad8ba41e5 New tests for new convert command 2004-01-28 22:48:45 +00:00
Jeremy Fincher
4e5957d8d2 These don't work yet, but I need to be able to see my other diff. 2004-01-28 19:08:47 +00:00
Vincent Foley
755f2c3564 *** empty log message *** 2004-01-28 16:43:17 +00:00
Vincent Foley
3e2f3b7f77 Added tests to reflect the changes to pluralize() and depluralize() 2004-01-27 21:02:19 +00:00
Jeremy Fincher
214b7960bf Initial checkin. These don't work, but I figured I'd add them anyway. 2004-01-27 20:06:28 +00:00
Jeremy Fincher
10afe5b8dd Removed bestuptime. 2004-01-27 19:24:39 +00:00
Jeremy Fincher
3f310efed7 Added a Regexp type. 2004-01-27 18:14:44 +00:00
Jeremy Fincher
048db92e65 Fixed no-help case in Config.help. 2004-01-27 00:42:17 +00:00
Jeremy Fincher
215a2b3a76 Changed to registry. 2004-01-26 19:17:59 +00:00
Jeremy Fincher
a54e5a6477 Added --groups to list; more tests. 2004-01-26 17:54:07 +00:00
Jeremy Fincher
1d43b84cb5 Initial checkin. 2004-01-26 17:36:43 +00:00
Jeremy Fincher
73a660164d Added optional 'to' handling to translate. 2004-01-25 18:13:13 +00:00
Jeremy Fincher
78eafe3fa6 Fixed the sqrt bug submitted by kmj. 2004-01-24 18:57:01 +00:00
Jeremy Fincher
bb92d8e40b Converted to use the new registry dealio. 2004-01-21 20:10:08 +00:00
Jeremy Fincher
1714359f0a Added an extra assert to testString. 2004-01-21 19:08:02 +00:00
James Vega
2963fd352d Add some tests for Sf.todo* and make a little TODO for anyone that's
interested/me to remember
2004-01-21 06:32:17 +00:00
James Vega
c801aa9c46 Massive updates. urllib2 -> webutils, configurables -> registry, fix
Debian.version
2004-01-21 04:17:18 +00:00
James Vega
2f3ad5893c Update to use the registry 2004-01-21 02:19:47 +00:00
James Vega
7336a4c9ad Someone forgot to convert the testsuite when FunDB.num was switched to
FunDB.stats. Took care of that and updated to use the registry.
2004-01-21 02:19:26 +00:00
Jeremy Fincher
4b1083931d Changed channel capabilities to use commas. 2004-01-20 21:53:13 +00:00
Jeremy Fincher
23c2640a87 Made test-conf if it doesn't exist. 2004-01-20 21:50:38 +00:00
Jeremy Fincher
c98ac096e8 Initial checkin. 2004-01-20 17:57:00 +00:00
Jeremy Fincher
201f11cc94 Updated for the new registry dealio. 2004-01-20 12:27:48 +00:00
James Vega
5f82d72b7e Updated to use registry 2004-01-20 07:11:00 +00:00
James Vega
0b11192acf Updated to use the registry. 2004-01-20 06:27:17 +00:00
James Vega
97eadb6feb Can actually search with Google now that google.setLicense is being called.
Also, maxiumum-results -> maxiumumResults to prettify the function calls.
2004-01-20 04:32:23 +00:00
James Vega
006909b909 Converted to use the registry. 2004-01-20 04:24:21 +00:00
James Vega
a8c3d67cfc Convert Google to using the registry which required adding PositiveInteger
Class to the registry.
2004-01-19 23:42:50 +00:00
Jeremy Fincher
fd132f20ad Added setdefault and get to IrcDict. 2004-01-19 22:29:55 +00:00
Jeremy Fincher
4df10116ed Added Config to the default list of plugins loaded. 2004-01-19 20:23:03 +00:00
Jeremy Fincher
9aede17efd Changed not even to define eval/exec when conf.allowEval is False. 2004-01-18 19:35:36 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
29426e2f1d Moved isIP* to utils from ircutils. 2004-01-16 17:33:51 +00:00
Jeremy Fincher
8f53601882 Added test for no escaping WebError. 2004-01-16 16:12:54 +00:00
Jeremy Fincher
4cd70bbdd4 Added years and weeks to seconds. 2004-01-15 17:34:05 +00:00
Jeremy Fincher
fd294faeee Added special 'me' handling to tell. 2004-01-15 17:21:06 +00:00
Jeremy Fincher
19a63ef669 Handled deprecation in tests. 2004-01-15 14:38:17 +00:00
Jeremy Fincher
b072772ea5 Updated, added a test for errorReplyNoCapability. 2004-01-15 12:07:31 +00:00
Jeremy Fincher
d33c5333c5 Removed set and unset, since they're not used at all by anyone. 2004-01-15 00:27:46 +00:00
Jeremy Fincher
eee9b5aaf2 Made revision accept a .py at the end of the filenames. 2004-01-14 15:50:45 +00:00
Daniel DiPaolo
18c49c9a56 Fixed case sensitivity on quotegrabs list. Again?? I could have sworn I fixed this already once! Doo-doo-doo-doo doo-doo-doo-doo doo-doo-doo-doo... 2004-01-13 06:39:58 +00:00
James Vega
6c1e115434 Finally put a small band-aid on the sourceforge functions. Now one can
specify the search type, but you'll still get an error if the bug isn't on the
first page.
2004-01-13 05:44:43 +00:00
Daniel DiPaolo
9d7c1a64c2 Make it so that ACTIONs don't get added as factoids 2004-01-11 23:22:59 +00:00
Jeremy Fincher
992781c908 Changed permissions 2004-01-11 14:35:51 +00:00
Jeremy Fincher
4452ca879e Added functions for reading non-comment or empty lines of a file. 2004-01-11 14:33:38 +00:00
Vincent Foley
3c47dc914d I can't find why the hangman test fails. 2004-01-09 23:40:18 +00:00
Jeremy Fincher
3e93599419 Fixed bugz0r in errorNoCapability. 2004-01-09 14:20:00 +00:00
Jeremy Fincher
69aaea218f Moved base command to Math (from Fun) and added a test for no escaping ValueError. 2004-01-09 00:13:44 +00:00
Jeremy Fincher
57b038ea63 Make sure seen doesn't warp the case of the nick given. 2004-01-08 23:31:01 +00:00
Jeremy Fincher
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
88cc0412c4 Updated. 2004-01-08 00:47:35 +00:00
Jeremy Fincher
2fce1dcf13 Added a note. 2004-01-07 19:03:06 +00:00
Jeremy Fincher
ebacb99788 Forgot to update for the Fun/Filter split. 2004-01-07 18:51:59 +00:00
Jeremy Fincher
6645679cd5 Removed a flaky, useless test. 2004-01-07 18:39:12 +00:00
Jeremy Fincher
eb0251c247 Oops, forgot to remove stuff from Fun. 2004-01-07 16:09:44 +00:00
Jeremy Fincher
a6ab624448 Moved Filter stuff out to its own plugin. 2004-01-07 16:00:03 +00:00
Jeremy Fincher
d5aeefeb59 Moved Weather to its own plugin. 2004-01-07 15:17:53 +00:00
Jeremy Fincher
09dfe24573 Fixed bugz0r with nested commands in Scheduler.repeat. 2004-01-04 19:35:02 +00:00
Jeremy Fincher
f1a68ff16f Moved seconds command to Misc from Scheduler. 2004-01-04 15:19:41 +00:00
Jeremy Fincher
332a1826d5 Doesn't matter now, but just in case... 2004-01-04 13:54:50 +00:00
Jeremy Fincher
d27fa33995 Added an extra assert. 2004-01-04 13:54:34 +00:00
Jeremy Fincher
a065477bbd Changed get to just plain note, as per RFE #869628. 2004-01-03 15:59:51 +00:00
Jeremy Fincher
18b06dbb89 Fix for findBinaryInPath test. 2004-01-03 15:42:59 +00:00
Jeremy Fincher
c4a122da5a Fixed bug #869652. 2004-01-03 06:26:39 +00:00
Jeremy Fincher
a0d2a9da2a Fixed bug #863808; added isIPV6. 2004-01-02 20:50:43 +00:00
Jeremy Fincher
a58e5b97d9 Fixed some tests. 2004-01-02 19:53:18 +00:00
Jeremy Fincher
87f3c2a644 Added the --nonetwork and --noplugins flag. 2004-01-01 19:51:48 +00:00
Jeremy Fincher
1c0526666d Initial checkin. 2004-01-01 19:51:34 +00:00
Jeremy Fincher
d5ed1e772c Guard against non-existent spell/fortune/wtf commands. 2004-01-01 19:49:52 +00:00
Jeremy Fincher
7cf27435bb Be more appropriate, since not all OSes have child time. 2004-01-01 19:49:26 +00:00
Jeremy Fincher
dea580d492 Kill the empty line\! 2004-01-01 19:48:41 +00:00
Jeremy Fincher
a477824967 Removed a (now) useless test. 2004-01-01 19:48:01 +00:00
Jeremy Fincher
bcbfd2130e Made matchCase its own available function. 2004-01-01 19:47:13 +00:00
Jeremy Fincher
8366d740d5 Began **kwargs'ing tests (with getMsg). 2004-01-01 19:46:29 +00:00
Jeremy Fincher
c0e219ecfb Initial checkin. 2004-01-01 19:45:15 +00:00
Jeremy Fincher
6393a0c36e Better handling of unknown memory thingies and proper handling of Darwin and changed memory to RSS and stuff like that. 2004-01-01 19:12:14 +00:00
Jeremy Fincher
a247e2f008 Better error handling for calc/icalc. 2004-01-01 19:09:34 +00:00
Jeremy Fincher
2f55345012 Added bold and maximum-results configurable. 2004-01-01 19:09:02 +00:00
Jeremy Fincher
83995296b7 Removed trailing periods in larts and praises. 2004-01-01 19:08:08 +00:00
Jeremy Fincher
8070401018 Added learn-separator and show-factoid-if-only-one-match configurables. 2004-01-01 19:07:38 +00:00
Jeremy Fincher
92ad8bfb14 Fixed indentation bug. 2003-12-30 01:53:44 +00:00
Daniel DiPaolo
629dd867f1 Fixed lack of case-insensitivity in randomquote 2003-12-29 11:12:37 +00:00
Daniel DiPaolo
bf3b4a074c Added test case for bug #866178 - invalidCommand called when addressed with
nick for karma++
2003-12-27 02:06:50 +00:00
Daniel DiPaolo
38b9cfadc7 Adding a test to make sure that bad nesting errors out completely and doesn't
call things like addFactoid.
2003-12-19 22:37:04 +00:00
Daniel DiPaolo
29cdcfb437 Fixed #862667 - floats in 'karma most' output, also made the number of items
shown with 'karma most' into a configurable and fixed a typo in one of the
other configurable descriptions
2003-12-19 03:13:17 +00:00
Daniel DiPaolo
1474c16a5f Fixed #862645 - unquoted spaces getting sent in HTTP request 2003-12-19 01:58:49 +00:00
Jeremy Fincher
e3661e3ba5 Removed assertRegexps and assertResponses, added RFE #836316 (target keyword) and frm keyword. 2003-12-18 08:39:29 +00:00
Daniel DiPaolo
b995b2fd5c Fixed a kernel bug which only happens when either one of the stable or beta
kernels isn't listed on the page and also fixed the geekquote tests to match
the new behavior.
2003-12-18 04:47:05 +00:00
Jeremy Fincher
7ce4ab206c Added titleSnarfer (RFE #842238). 2003-12-17 13:55:22 +00:00
Jeremy Fincher
3334180c82 Just in case. 2003-12-17 13:31:34 +00:00
Jeremy Fincher
bbafb4294e Added conf.replyWhenNotAddressed for RFE #859183. 2003-12-17 13:22:21 +00:00
Jeremy Fincher
751090a556 Some kind of little cleanup. There was a pluralize call that used the wrong order for its arguments. 2003-12-17 13:14:33 +00:00
Jeremy Fincher
4a6ac27406 Added a configurable to determine the number of things shown in the ranking. 2003-12-16 20:51:37 +00:00
Jeremy Fincher
2ba68353dd Added RFE #859119, configurable karma response. 2003-12-16 13:06:21 +00:00
Jeremy Fincher
6a674609f4 Fix for bug #859630 2003-12-16 04:12:01 +00:00
Daniel DiPaolo
35ecd7bd98 Closed #860139 - including wordstat count in stat output as well as rank. Also
made it so that if your name already appears in the top N results that it
doesn't append that rank stuff.
2003-12-15 12:39:38 +00:00
Daniel Berlin
be44ed857e Add Bugzilla search 2003-12-12 22:41:50 +00:00
Jeremy Fincher
590c9c64a0 Made help handle defaultplugins and whatnot correctly. 2003-12-12 17:53:16 +00:00
James Vega
e485984604 Make sure the ban length is an integer 2003-12-12 16:56:25 +00:00
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher
f4f91bcdb0 Removed --exact searching, made to search keys, not values by default, and added --values switch for searching values. 2003-12-12 14:01:16 +00:00
Jeremy Fincher
06c85f5c93 Removed --exact. 2003-12-12 13:25:03 +00:00
Jeremy Fincher
8f777db9f9 Fixed bug #858008, and a fix for another bug that invalidCommands that raise an exception stop the whole process; now it'll continue to later plugins. 2003-12-11 14:32:45 +00:00
James Vega
627dd87baf Now globs will actually be globbed 2003-12-11 00:27:01 +00:00
James Vega
318b9d5d19 Added Lookup.search 2003-12-11 00:25:50 +00:00
Jeremy Fincher
3f6d347e2b Added isCtcp. 2003-12-10 18:49:45 +00:00
James Vega
0c3c37b4ba Now Todo.remove can take multiple taskids to be removed instead of just one 2003-12-10 13:51:58 +00:00
Jeremy Fincher
7f7562ef42 Allow ambiguous aliases. 2003-12-10 07:43:45 +00:00
Jeremy Fincher
da6743b9b7 Added appropriate error messages for Admin.join when the channel can't be joined. Also added channels command to see what channels the bot is in. 2003-12-10 07:29:01 +00:00
Jeremy Fincher
9678560c98 Made configurable. 2003-12-10 06:58:17 +00:00
Jeremy Fincher
5980afc86f Made URL easily changeable and changed it to advogato. 2003-12-10 04:46:51 +00:00
Jeremy Fincher
091be1311d Spread out some tests, made action error on the empty string. 2003-12-10 04:38:44 +00:00
Jeremy Fincher
3978be5cdf Fixed bug #856997. 2003-12-09 21:36:33 +00:00
Jeremy Fincher
a6099943b4 Fix for bug #857054. 2003-12-09 21:32:55 +00:00
Jeremy Fincher
b4ffe24b84 Fixed it to reload Owner and Misc as necessary. 2003-12-09 21:32:31 +00:00
James Vega
66ec4ab4d7 Improve some error handling and test some more uses 2003-12-09 15:57:19 +00:00
James Vega
9ca2732b45 Just to double-check that indexing checks and unique topic number checking are
done properly.
2003-12-09 15:26:05 +00:00
Jeremy Fincher
88581d99e4 Added utils.sorted. 2003-12-09 14:46:12 +00:00
Jeremy Fincher
0aa5f2e5f7 More tests for reorder. 2003-12-09 14:38:37 +00:00
James Vega
03aad1712a Added Http.extension 2003-12-09 14:35:19 +00:00
James Vega
d91cc33c58 Added Topic.reorder 2003-12-09 14:05:32 +00:00
Jeremy Fincher
ef3ea98c92 Guarded test_Amazon against not having a license key. 2003-12-09 01:09:16 +00:00
Jeremy Fincher
ec16d3ae8b Reverted a version. 2003-12-09 00:39:16 +00:00
Daniel DiPaolo
2105be8c90 Fix an oopsie in the Poll tests where I was trying to close the wrong poll 2003-12-09 00:25:47 +00:00
Jeremy Fincher
fe9bf97a59 Change changeusername to changename. 2003-12-09 00:02:51 +00:00
James Vega
fc1fc32a01 Debian.incoming: glob is now required. Change glob behavior to match the rest
of supybot's globs.
2003-12-08 16:59:46 +00:00
James Vega
607793b6b4 Added Amazon.books and Amazon.videos so that users can search those products
by keywords.  Added tests to match.
2003-12-08 16:32:29 +00:00
Jeremy Fincher
d59b3022fc Added test for active/inactive in Todo.todo. 2003-12-08 13:16:51 +00:00
Jeremy Fincher
be7a2921e2 People should be able to get a todo regardless of its active/inactive status. 2003-12-07 01:19:00 +00:00
Daniel DiPaolo
99782d0eeb Added another check for setprefixchar to make sure it returns when it hits a
bad prefixchar
2003-12-05 19:54:16 +00:00
Daniel DiPaolo
2e4ecfe03b Fixed a bug in setprefixchar where things would get wonky when trying to set an
invalid prefixchar
2003-12-05 19:10:09 +00:00
Jeremy Fincher
926904031f Added tests for multiple regexps and regexp+glob. 2003-12-05 12:26:57 +00:00
Jeremy Fincher
f26115bb9b Fixed bug #853654. 2003-12-05 12:08:24 +00:00
Daniel DiPaolo
ef6e12ae90 More poll tests 2003-12-05 03:52:30 +00:00
Jeremy Fincher
56b68d6893 Fixed bug #853904. 2003-12-04 08:50:49 +00:00
Jeremy Fincher
41fd7c7887 Added icalc test. 2003-12-04 08:39:03 +00:00
Jeremy Fincher
978fcc2f55 Added a commented-out test I never got to work. 2003-12-04 08:20:40 +00:00
Jeremy Fincher
fd97e8d634 Fixed bug in that you could add over top already-existing commands. 2003-12-04 07:03:37 +00:00
James Vega
0857e3aca6 with Sourceforge.bug and Sourceforge.rfe's powers combined, we have
Sourceforge.tracker!
2003-12-04 02:18:55 +00:00
James Vega
fa1c70b137 Finished flushing out Amazon's use of the web services. Added actual tests to
the test suite and updated pyamazon from 0.4 to 0.61
2003-12-04 01:56:50 +00:00
Jeremy Fincher
1b462c8b55 Added a few more substitutes and allowed a few more names to be more compatible with blootbot. 2003-12-04 00:07:16 +00:00
Jeremy Fincher
cebcf5f0c7 Initial checkin. 2003-12-04 00:05:57 +00:00
Jeremy Fincher
4aa05c353a Added ping command. 2003-12-03 23:56:06 +00:00
Jeremy Fincher
95fc4532aa Added some tests for hostmaskPatternEqual. 2003-12-03 22:33:20 +00:00
Jeremy Fincher
246afc30e1 Made it not depend on Alias anymore. 2003-12-03 21:21:43 +00:00
Jeremy Fincher
43a890e488 Added kick command. 2003-12-03 20:52:05 +00:00
Jeremy Fincher
4726fdf223 Made sure the pluralized power commands don't get run with no arguments. 2003-12-03 20:49:51 +00:00
Jeremy Fincher
39ab2b78bf Added Channel.{deop,devoice,dehalfop} 2003-12-03 20:27:42 +00:00
Jeremy Fincher
7f3cafbfbd Fixed ops, deops, halfops, dehalfops, voices, and devoices. 2003-12-03 20:17:13 +00:00
Jeremy Fincher
0f3dcf0c01 Added Http.size, Http.doctype, and Http.headers. 2003-12-03 05:24:18 +00:00
Daniel DiPaolo
b6faf3602e Added test for the wordstats-top-n configurable 2003-12-03 03:51:31 +00:00
Daniel DiPaolo
42afa12765 Time to *really* finish up the stuff in the RFE and not just close it without
completely finishing it off ;)
2003-12-03 03:14:40 +00:00
Jeremy Fincher
2046e63898 Made to use the conf.confDir. 2003-12-03 02:30:41 +00:00
Jeremy Fincher
f8ea57b05f Added RFE #852937. 2003-12-03 02:17:10 +00:00
Jeremy Fincher
d4442a04ff Slightly tweaked, added test. 2003-12-03 01:55:19 +00:00
Jeremy Fincher
5dfb00ff7d Added lobotomies command. 2003-12-03 01:28:31 +00:00
Jeremy Fincher
77a8d8bd2d Added swap to rpn. 2003-12-02 22:08:46 +00:00
Jeremy Fincher
882b872d7c Made defaultplugin show the default plugin for a command if not given a plugin. 2003-12-02 19:21:05 +00:00
James Vega
7a418a1bf6 Damn, it feels good to be a ChannelDB 2003-12-02 19:00:11 +00:00
Jeremy Fincher
1b8d655738 Added help strings to lookups. 2003-12-02 18:37:39 +00:00
Jeremy Fincher
f9adc0d0c7 Made the separator a configurable. 2003-12-02 16:26:08 +00:00
Jeremy Fincher
2a9d9d1b5d Reworked so there's no double-import problem. 2003-12-02 12:27:45 +00:00
Jeremy Fincher
5549322771 Fix for bug #852422. 2003-12-02 11:16:26 +00:00
Jeremy Fincher
4e5e568244 Fix for bug #852433. 2003-12-02 11:06:39 +00:00
Jeremy Fincher
9264b635e2 Added most command. 2003-12-01 23:47:37 +00:00
Jeremy Fincher
b39e1237fc Added __iter__ to UsersDB for a cleaner interface. 2003-12-01 23:24:25 +00:00
Jeremy Fincher
e34d9deecd Fixed RFE #851183, ircdb.users.numUsers. 2003-12-01 23:17:26 +00:00
Jeremy Fincher
602f92622c Fixed RFE #828722 and removed Lookup's dependency on the Alias plugin. 2003-12-01 23:02:31 +00:00
Jeremy Fincher
c8de1e8155 Made the string of flags that require an argument an optional argument so you can parse the flags for some other purpose. 2003-12-01 21:59:01 +00:00
Jeremy Fincher
3179a8d8bc Fixed the case problem in User.list. 2003-12-01 21:27:26 +00:00
Jeremy Fincher
97b8bab611 Added User.list command to list registered users. 2003-12-01 20:57:00 +00:00
Jeremy Fincher
4c4fbaccc1 Added User.list command to list registered users. 2003-12-01 20:57:00 +00:00
Jeremy Fincher
f24011559b Changed the name of cpustats and netstats and cmdstats to remove the stats part. 2003-12-01 12:39:38 +00:00
Jeremy Fincher
35df9e1cfa Added test to make sure overlong regexps don't slip through. 2003-12-01 12:35:07 +00:00
Jeremy Fincher
fb2d9b7f4f Various re fixes, including bug #850931. 2003-12-01 11:06:17 +00:00
Jeremy Fincher
7bdf1059bf Added test for reasons' period not being kept in the actual lart/praise. 2003-11-29 19:04:41 +00:00
Jeremy Fincher
068003cb52 Added tests for Bug #850931. 2003-11-29 18:57:47 +00:00
Jeremy Fincher
72f93610b1 Fix for bug #851254. 2003-11-29 18:45:29 +00:00
Daniel DiPaolo
ea23b47163 Did a complete rework of the poll plugin. 2003-11-26 20:27:42 +00:00
Jeremy Fincher
8ee09a01b8 Set the minimum priority. 2003-11-26 19:21:43 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Daniel DiPaolo
89857d9bd8 Made Karma a configurable, added the 'simple-output' option to forego all the
'increased/decreased' output when requesting something's karma and to just
return the name and the total karma.
2003-11-26 17:07:20 +00:00
Daniel DiPaolo
8dc24b2d50 Implemented usability fix (RFE #849691) where if listkeys returns only one
factoid key, it should just return the value.
2003-11-26 16:20:57 +00:00
Jeremy Fincher
d64f5314f8 Fix for bug #849619. 2003-11-26 12:39:37 +00:00
Jeremy Fincher
23968baf49 Fix bug #849302. 2003-11-25 22:52:04 +00:00
Daniel DiPaolo
130f30cca8 Completed the implementation of handling google groups URLs with 'prev=/' in
them
2003-11-25 21:42:25 +00:00
Jeremy Fincher
adfb3e4035 Oops, had msg instead of response in the verbose printing. 2003-11-25 11:44:56 +00:00
Jeremy Fincher
5564e43239 Added ability to configure showing of ids on or off. 2003-11-25 11:43:09 +00:00
Jeremy Fincher
4770ef1b3f Added the to= keyword argument to reply. 2003-11-25 11:08:57 +00:00
Jeremy Fincher
2c779bd543 Changed Alias.freeze to Alias.lock. 2003-11-25 10:19:40 +00:00
Jeremy Fincher
a3aeaee2b0 Updated tests for another unavailable game. 2003-11-25 09:44:01 +00:00
Jeremy Fincher
86524fa148 Added revision command for finding out the revision of supybot's files. 2003-11-25 09:32:18 +00:00
Jeremy Fincher
210809ab99 Fix for bug #848475. 2003-11-25 09:13:28 +00:00
Jeremy Fincher
86b41dd4a6 Allowed escaping of colons in supyfact files. Didn't allow escaping of backslashes, yet, but that's less a worry, I think. 2003-11-25 09:08:06 +00:00
Jeremy Fincher
4cb49606c5 Stopped listing the plugin dispatcher command in the commands list. 2003-11-25 08:51:27 +00:00
Jeremy Fincher
4e273a2395 Fixed some use of regexps, commented out a test that was failing because a game expired. 2003-11-24 23:07:51 +00:00
Brett Phipps
79e28d4ba2 Added a test to test_Http.py in the weather section that I forgot
to add with my previous commit.
2003-11-24 21:55:38 +00:00
Jeremy Fincher
d338789a7b Fixed bug in acronym showing the header, added a test. 2003-11-23 13:25:43 +00:00
Jeremy Fincher
f79aafa3f7 Fixed to run on systems without sqlite. 2003-11-22 04:25:42 +00:00
Jeremy Fincher
0b9d7bd0bb Fixed bug #847032. 2003-11-22 03:50:45 +00:00
Jeremy Fincher
7784d21cde Fixed the bug in acronym for the change in format and tightened the test to catch such changes. 2003-11-22 01:13:33 +00:00
Jeremy Fincher
d83cf1450f Fix for bug #846714. 2003-11-21 22:22:18 +00:00
Jeremy Fincher
966a09437c Fixed bug in isAction. 2003-11-21 22:13:18 +00:00
Jeremy Fincher
cdda36f9fb Fixed the self-lart bug. 2003-11-21 17:42:41 +00:00
Jeremy Fincher
308ae5527c Fixed bug #846053. 2003-11-21 12:45:50 +00:00
Jeremy Fincher
0da5c27380 Fixed bug #846332. 2003-11-21 12:35:24 +00:00
Jeremy Fincher
43c594661c Fixed bug #846220. 2003-11-21 12:31:51 +00:00
James Vega
8b9f5a607f Fix the Google Groups snarfer bug and added appropriate tests 2003-11-20 19:53:15 +00:00
Jeremy Fincher
288c281343 Added tests for the weather errors-that-shouldn't-be-errors. 2003-11-20 12:19:05 +00:00
Jeremy Fincher
a1780908bd Made into a ChannelPluginTestCase. 2003-11-19 23:49:10 +00:00
Jeremy Fincher
00985ab587 Updated the test for the new snarfer default. 2003-11-19 23:41:54 +00:00
Jeremy Fincher
5fe1aeed02 Updated the test for the new snarfer default. 2003-11-19 23:39:42 +00:00
Jeremy Fincher
05390b6616 Updated the test for the new snarfer default and renamed the general test to 'test'. 2003-11-19 23:36:46 +00:00
Jeremy Fincher
738d1bbde3 Removed addbadword and removebadword; changed the name of addbadwords and removebadwords to add and remove, respectively. 2003-11-19 23:15:08 +00:00
Jeremy Fincher
e20f69288c Handled empty lines appropriately in supyfact files. 2003-11-19 22:39:01 +00:00
Jeremy Fincher
c17f85e51b Fixed escaping IOError from add command. 2003-11-19 22:36:58 +00:00
Jeremy Fincher
909597b7ac Changed the name of the commands in Markov and added a test (that currently only tests documentation) for Markov. 2003-11-19 22:25:19 +00:00
Jeremy Fincher
429c90ac2a Added __len__, __repr__, and a useful __init__ to IrcMsgQueue. 2003-11-19 16:22:46 +00:00
Jeremy Fincher
9a7de79467 Made removeHostmask remove all the matching hostmasks. 2003-11-19 15:35:01 +00:00
Jeremy Fincher
dd9bd35fc2 Changed to handle non-installed sqlite. 2003-11-19 14:51:58 +00:00
Jeremy Fincher
e5d71ac10a Changed the Lookup test to run even when SQLite isn't installed. 2003-11-19 14:50:21 +00:00
Jeremy Fincher
23db0b7aaa Handled the case where one factoid is returned from Factoids.search better. 2003-11-18 17:49:10 +00:00
Jeremy Fincher
2cbcddb582 Caught the LookupError raised from a bad encoding. 2003-11-17 23:10:14 +00:00
Jeremy Fincher
d7e95f5e87 Tightened the check for a proper auction id and refactored _getResponse. 2003-11-17 22:52:45 +00:00
James Vega
f57f57c5be Fixed some bugs in Bugzilla and added some tests to try and catch more
problems in the future.
2003-11-17 19:57:07 +00:00
James Vega
8dbaae1d37 Added a configure() question about aliasing sf to Sourceforge. Updated the
snarfer configurables so that they default to off and made the configure()
question available to all users. Updated the snarfer tests to ensure the
snarfer configurable is true before starting the tests.
2003-11-17 18:10:53 +00:00
James Vega
2909c4a8c6 @ebay -> @auction 2003-11-17 16:55:11 +00:00
James Vega
f7e44d8f50 Better error message and make sure an int is provided when we need it 2003-11-17 16:25:34 +00:00
Jeremy Fincher
7cbec39d55 Added a test for the configurable. 2003-11-17 06:29:13 +00:00
Jeremy Fincher
3a571c3fb9 Updated to thread tinyurl (there's still an un-passing test, but it seems to work on the bot itself). 2003-11-17 06:02:26 +00:00
Jeremy Fincher
889ed86026 Bugfixes (and removed threading). 2003-11-17 06:00:56 +00:00
Jeremy Fincher
320d6b003c Fix for bug #842414. 2003-11-15 08:09:29 +00:00
Jeremy Fincher
0e01a1dee8 Sweede is a fscking retard. 2003-11-15 03:01:01 +00:00
Jeremy Fincher
1961ff1f07 Removed Misc from the plugins list. 2003-11-14 22:01:20 +00:00
Daniel DiPaolo
f8e920ef36 Added some pickOptions tests 2003-11-14 16:15:01 +00:00
Jeremy Fincher
d4e5047ebf Fixed bugs in option parsing. 2003-11-14 15:49:13 +00:00
James Vega
882652ab63 Style changes 2003-11-14 14:07:36 +00:00
Daniel DiPaolo
fba0e908f7 Backed out the last test addition. 2003-11-13 22:11:39 +00:00
Daniel DiPaolo
11da098db2 Added a new test for the OptionList stuff to check to see if parsing is working
as expected.
2003-11-13 22:02:33 +00:00
Jeremy Fincher
f3e2e2a1ed Added a squish command/outfilter. 2003-11-13 20:24:40 +00:00
Jeremy Fincher
93b16b79c2 Made the bot refuse to kban himself; made him not use a banmask that would ban himself. 2003-11-13 19:35:24 +00:00
Jeremy Fincher
9b20e1dfb6 Fixed a possible uncaught KeyError, and added the ability for a kban to work on the person requesting it (so we can put it in aliases :)) 2003-11-13 19:01:40 +00:00
Jeremy Fincher
6004181695 Fixed bug in banmask when the host doesn't have a dot in it (rare, but possible). 2003-11-13 19:00:35 +00:00
Jeremy Fincher
7b86dfb195 Made $nick the same as $who. 2003-11-13 18:38:52 +00:00
Jeremy Fincher
d496328e81 Fixed bug in formatting of pydoc. 2003-11-13 17:56:51 +00:00