Commit Graph

1245 Commits

Author SHA1 Message Date
James Vega
ed61675016 Fix the bugs in #1032945, Observer.list exceptions and exceptions when adding
an observer after a plugin reload.
2004-09-22 22:06:27 +00:00
Jeremy Fincher
998f61cce8 Moved disambiguation stuff to callbacks.IOP. Also fixed rename-persistence. 2004-09-22 21:38:20 +00:00
Jeremy Fincher
99e35d6810 Fixed a performance problem. 2004-09-22 13:13:37 +00:00
Jeremy Fincher
2e07e23fd5 A little overzealous with the #! removals, weren't we, jamessan? :) 2004-09-22 11:41:12 +00:00
Daniel DiPaolo
b2dadb3516 Added new 'spellit' command 2004-09-22 03:38:39 +00:00
James Vega
3ee4223bda Fix for bug #1031800, uncaught exceptions in Config commands. 2004-09-21 14:21:57 +00:00
Kevin Murphy
f3d0670175 RFE 1017095 - Added wildcard support to Seen command 2004-09-21 06:51:12 +00:00
James Vega
fb56c08278 Add a test for Infobot not responding to directly addressed commands.
Add a test for some wonkiness with @user list when User and Seen are loaded.
2004-09-21 04:59:13 +00:00
James Vega
535f4a164f Fix bug #1031277, exception in some Topic commands when trying to modify a
topic in a channel that the bot is not in.
2004-09-20 19:24:15 +00:00
James Vega
a87660ade2 Fix bug #1031347, Google.stats exception. 2004-09-20 17:26:32 +00:00
James Vega
23397b44b4 Remove #! lines. 2004-09-20 15:25:47 +00:00
Kevin Murphy
99c412940c RFE 871111 : Added test cases for --nokey option 2004-09-20 06:17:05 +00:00
James Vega
7f22a1c9b6 Add rfe #1004006, {add,remove,{un,}set}capability can accept multiple capabilities. 2004-09-20 01:33:44 +00:00
Daniel DiPaolo
3e44335f28 Added fundb.search() and tests, AND fixed a bug with reloading FunDB 2004-09-18 15:36:52 +00:00
Jeremy Fincher
324ab71db4 Added topic command. 2004-09-16 18:43:31 +00:00
Jeremy Fincher
0ceb2deb80 enableSpecificTrackerCommands. 2004-09-16 16:11:20 +00:00
Jeremy Fincher
db4ae67a58 Fixed up a bit, and added tests 2004-09-16 16:03:47 +00:00
Jeremy Fincher
8a7681aa51 We added the ability for a command to determine if it's nested or not, so we can make this prettier. 2004-09-16 14:51:40 +00:00
Jeremy Fincher
a8ce25a3ee Tests for tags. 2004-09-16 14:50:34 +00:00
Jeremy Fincher
af65b54ecc Updated test to be more specific. 2004-09-16 14:18:23 +00:00
Jeremy Fincher
4f49f11f20 Updated to use tokenizedCommand. 2004-09-16 11:36:24 +00:00
Jeremy Fincher
727145afbe Added testSeconds. 2004-09-16 06:47:01 +00:00
Jeremy Fincher
00889cc390 Added max and min. 2004-09-15 16:17:03 +00:00
Jeremy Fincher
f53d3d5934 Added Time plugin, moved Misc.seconds to it. 2004-09-15 14:39:34 +00:00
Jeremy Fincher
c2399ec881 Case-insensitivity for Math.calc. 2004-09-14 21:51:54 +00:00
Kevin Murphy
e473c53726 Added a test case to catch the issue with properly pluralizing the word 'command' in the contributions output 2004-09-13 07:12:53 +00:00
Jeremy Fincher
4fec6def71 Allow multiple authentication. 2004-09-13 02:01:00 +00:00
Jeremy Fincher
75b33b8b44 Somehow I forgot a time.sleep in ChannelPluginTestCase._feedMsg, so it was sucking up 100% CPU. 2004-09-13 01:33:07 +00:00
Jeremy Fincher
ecaceff723 Bold was messing up the bug# regexp. 2004-09-13 01:32:15 +00:00
Jeremy Fincher
446174c51d Forgot to remove bender test. 2004-09-13 01:16:51 +00:00
Jeremy Fincher
8c68e389ec Forgot to change the dispatcher. 2004-09-13 01:16:24 +00:00
Jeremy Fincher
59d084abef Added a test for isnick always rejecting spaces in nick. 2004-09-13 00:42:10 +00:00
Jeremy Fincher
e5d3d39bed Updated to log threads. 2004-09-13 00:41:50 +00:00
Kevin Murphy
dba22a4b44 Updated for command name change in UrbanDict plugin 2004-09-12 21:05:52 +00:00
Jeremy Fincher
4f9e67a796 Fixed tests, and changed to use invalidCommand rather than addressedRegexps so commands may now be nested in definitions. 2004-09-12 20:24:08 +00:00
Jeremy Fincher
a9694c1012 Network plugin for network-related commands. 2004-09-12 05:46:18 +00:00
Jeremy Fincher
dfef079480 Name changed from 'Network' 2004-09-12 04:39:46 +00:00
Kevin Murphy
4dd4557796 Test cases for UrbanDict plugin 2004-09-11 20:35:39 +00:00
Jeremy Fincher
e525e04a42 Persistent renames. 2004-09-11 16:16:16 +00:00
James Vega
9c8c505de5 Scrap the Old 'n' Busted. Bring in the New Hotness (aka, freshly abstracted). 2004-09-10 19:37:49 +00:00
James Vega
a7bdd631e3 Add conf.supybot.plugins.Karma.allowUnaddressedKarma 2004-09-10 15:59:38 +00:00
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