Commit Graph

1254 Commits

Author SHA1 Message Date
Kevin Murphy
ca38340de6 Included test cases for new Misc.contributors command 2004-09-10 08:31:17 +00:00
James Vega
51ad408ff3 Use our newly annotated ircmsgs to enhance Misc.last's output. 2004-09-10 06:45:27 +00:00
Jeremy Fincher
0cd853ad35 Added an extra test, just to be sure this worked. 2004-09-10 06:33:31 +00:00
Jeremy Fincher
fa124b14b7 Networked things appropriately. 2004-09-10 06:32:42 +00:00
Jeremy Fincher
95877b2d53 This should work somewhat. 2004-09-10 06:26:46 +00:00
Jeremy Fincher
9fa465ce09 Changed action to do; it's more consistent with 'say' (rather than 'privmsg') and MozBot's similar plugin. 2004-09-10 06:24:30 +00:00
Jeremy Fincher
daca76bfc8 Elucidating comment. 2004-09-09 15:35:05 +00:00
James Vega
3b30b7b4e4 Let's sleep just a smidge longer to ensure our time difference is >= 1 2004-09-09 14:59:30 +00:00
James Vega
3986f24dad Implement patch #1023620, Handling of international Google Groups snarfing 2004-09-09 14:04:44 +00:00
James Vega
a62b731571 add dest='noplugins' & dest='nonetwork' instead of converting everything to
use options.no_plugins and options.no_network
2004-09-09 00:09:03 +00:00
James Vega
ddfa5e8d32 Added patch #1024088, better handling of various Ebay URLs. 2004-09-08 23:44:39 +00:00
Jeremy Fincher
ee70224aa3 Changed callCommand to give a name rather than a method; added invalidCommand throttling, ctcp throttling, and whole bunch of other crap. 2004-09-08 23:34:48 +00:00
Jeremy Fincher
3ba8958a08 Changed to be more like other programs. 2004-09-08 22:39:30 +00:00
Jeremy Fincher
6526336c1d Fixed networkishness and broke out a test so its name is more appropriate. 2004-09-08 22:38:52 +00:00
Jeremy Fincher
277f0274b8 takeMsg after register. 2004-09-08 22:37:56 +00:00
Jeremy Fincher
9cba6478b1 Fixed networkishness. 2004-09-08 22:37:31 +00:00
Jeremy Fincher
61cc643932 More tests for TimeoutQueue. 2004-09-08 22:36:58 +00:00
James Vega
30d36aae1f Add support for multi-word karmas 2004-09-07 20:28:24 +00:00
Kevin Murphy
50d05323d6 Moved Geekquote related tests from test_Http to test_Geekquote
Added additional tests to test_Geekquote
2004-09-07 18:22:07 +00:00
Jeremy Fincher
35acc6c583 Added a --trace option, moved tracing to utils. 2004-09-06 08:19:20 +00:00
Jeremy Fincher
f4f25ef72c Added abs to the calc command. 2004-09-06 08:07:54 +00:00
Jeremy Fincher
a58b50c3bf Slight augmentation. 2004-09-06 07:54:03 +00:00
Grant Bowman
cad43feff1 Simple beginning. 2004-09-05 20:12:50 +00:00
Daniel DiPaolo
a4b3d66748 Yes, I realize that the new stuff doesn't work with these tests, but I
can't for the life of me figure out why not!  The tests look set up the
way they are supposed to (ChannelPlugin now...)
2004-09-05 17:30:10 +00:00
James Vega
977a33a43f Properly added and abstracted trackers commands 2004-09-04 05:51:30 +00:00
James Vega
553a61515c Consolidate @bugs, @rfes into @trackers and add support for retrieving info
on patches.  Add (commented out) infrastructure for supporting usage of
@bugs, @rfes, and @trackers depending on the value of a config var.
2004-09-03 19:46:50 +00:00
James Vega
75dc3e804a _getId needs the irc object if it's going to use it 2004-09-03 13:42:57 +00:00
Jeremy Fincher
13e77bac41 Added TimeoutQueue. 2004-09-01 21:58:21 +00:00
Jeremy Fincher
c036213b4c Useful printing of pid. 2004-09-01 06:13:30 +00:00
Jeremy Fincher
962843f658 Moved network test. 2004-08-31 19:07:06 +00:00
Jeremy Fincher
1e4fad0c48 Fix0red the test0r. 2004-08-31 19:05:43 +00:00
Jeremy Fincher
96abea0317 don't reply.whenNotCommand. 2004-08-31 18:57:34 +00:00
Jeremy Fincher
ead683b269 Can't define an empty word. 2004-08-31 18:23:47 +00:00
Jeremy Fincher
86c7743fc9 Fixed some == tests on nicks (became ircutils.strEqual). 2004-08-31 17:23:33 +00:00
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