Commit Graph

540 Commits

Author SHA1 Message Date
James Vega fbb37025dc plugins/Sourceforge.py: lots of cleanups to the code. Also changed how
togglesnarfer works.
test/test_Sourceforge.py: updated to follow the plugin changes
2003-10-27 20:24:32 +00:00
Jeremy Fincher 19f50ea8f2 Added test for toString output when a channel is specified. 2003-10-27 20:24:23 +00:00
Jeremy Fincher 206de8d7e0 Initial checkin; has test for ToggleDictionary. 2003-10-27 20:21:02 +00:00
Stéphan Kochen 5ace5a48ad Some fixes to Poll, removed delete command, added example. 2003-10-27 15:11:45 +00:00
Jeremy Fincher 9caaf8fef9 Loaded Misc in every test because that's just plain neceessary, what with replyWhenNotCommand and all. 2003-10-27 08:50:42 +00:00
Jeremy Fincher f2ab2576da Unloaded Misc before testing for no response. 2003-10-27 08:50:18 +00:00
Jeremy Fincher c150567565 Misc includes a version command and is now loaded by default, so I had to disambiguate the version test. 2003-10-27 08:48:04 +00:00
Jeremy Fincher fc11ff4f24 Handle properly the case where no matching commands were found. 2003-10-27 04:59:54 +00:00
Jeremy Fincher 7ba9a855bb Test for gkstats Strike. 2003-10-26 12:26:39 +00:00
Jeremy Fincher 0f45fe2c36 Fixed bug in testGreet. 2003-10-25 18:22:52 +00:00
Jeremy Fincher dd673bc706 Changed splitting on None to pull off the nick to splitting on ' '. 2003-10-24 23:13:51 +00:00
Jeremy Fincher f83b2fb135 Fixed Added at: format again. 2003-10-24 22:46:48 +00:00
Jeremy Fincher 3538f2c7b4 Made outfilter channel-specific. 2003-10-24 22:43:48 +00:00
Jeremy Fincher 5ae13a9422 Made the bot keep stats on himself. 2003-10-24 22:29:30 +00:00
Jeremy Fincher fa5ac0a885 Fixed test to match new output. 2003-10-24 22:08:15 +00:00
Jeremy Fincher 5ddd26cc69 Fixed a bugger in Misc.py. 2003-10-24 21:59:49 +00:00
Jeremy Fincher a666eddd16 Added RFE #827538 and fixed the help test. 2003-10-24 21:55:34 +00:00
Stéphan Kochen 9320ad0e4e Long live unicode! :D 2003-10-24 21:37:09 +00:00
Jeremy Fincher 388da451f2 Fixed failure (used testHelp) and added an encoding so Python doesn't complain. 2003-10-24 21:28:12 +00:00
Jeremy Fincher 094bdee30b Fixed bug with commandsOnStart not being called unless they were already canonical names. 2003-10-24 18:53:34 +00:00
Stéphan Kochen 8d9eb27a2f Initial version of the Poll plugin. Still needs some work. (RFE #715810) 2003-10-24 16:54:07 +00:00
Jeremy Fincher aa088ef6d9 Added memory reporting stuff to cpustats. 2003-10-24 13:38:55 +00:00
Jeremy Fincher c9a6f88a9e Updated for the new assertError/assertHelp. 2003-10-24 11:52:24 +00:00
Jeremy Fincher 83c0d344bf Changed to match the new behavior of assertError. 2003-10-24 11:47:00 +00:00
Jeremy Fincher 80777b942f Added assertHelp to remedy the fact that help strings now count as errors. 2003-10-24 11:44:44 +00:00
Jeremy Fincher f8da745d3f Updated to consider getting the help string an error in assertNotError and assertError. 2003-10-24 11:31:48 +00:00
Jeremy Fincher 660ba14e96 Fixed some failing test cases. 2003-10-24 11:03:43 +00:00
Jeremy Fincher 7d960ca4c6 Added PersistentDictionary.flush. 2003-10-24 09:57:54 +00:00
Jeremy Fincher b9434a23a6 Added PersistentDictionary. 2003-10-24 09:53:03 +00:00
Jeremy Fincher fa589ac423 Fix for bug #829353; added a test for the remove command. 2003-10-24 09:10:10 +00:00
Jeremy Fincher 300004ca62 Fix for bug #829300 2003-10-24 09:03:34 +00:00
Daniel DiPaolo 8229759769 Added 'setpriority' and tests. 2003-10-24 07:12:51 +00:00
Daniel DiPaolo 1b25a207bf Made MoobotFactoids case insensitive, and added tests to make sure that
case-insensitivity works.
2003-10-24 01:03:18 +00:00
Daniel DiPaolo f0574da59a Fixed the 'title' regexp to be non-greedy, in case there's a </title> tag
within the document itself.  Also put a test for this (which will hopefully be
a permanent link... not sure though)
2003-10-24 00:46:21 +00:00
Jeremy Fincher 68dd30cb8b Made stats default to the name of the person asking. 2003-10-23 20:59:51 +00:00
James Vega 6cae1b5ec4 Rewrote @insult and cleaned up the tests for all of FunDB so that they are
more deterministic
2003-10-23 12:35:43 +00:00
Jeremy Fincher dd40523197 Added the note id to the response to sendnote. 2003-10-23 09:16:20 +00:00
Jeremy Fincher 3944b00001 Updated. 2003-10-23 08:35:26 +00:00
Jeremy Fincher 10c7b7c0c0 Made sure no messages longer than 512 bytes every leave the bot. 2003-10-23 05:53:49 +00:00
Jeremy Fincher 8914543d35 Made <number> optional in convert. 2003-10-23 04:21:40 +00:00
Jeremy Fincher 65b87f822c Fixed bug in info; returned n+1 factoids when there were only n. 2003-10-23 04:17:18 +00:00
Jeremy Fincher e255ef2e68 Made local plugins to be ordered before global plugins. 2003-10-23 03:26:36 +00:00
James Vega 8a378601b3 As part of the renaming madness, removed any ^db prefix 2003-10-23 02:12:07 +00:00
Daniel Berlin 0b380f56fe Add --id option to geekquote, make it always allow multiline quotes 2003-10-22 22:05:34 +00:00
Jeremy Fincher 84690d56c9 Fixed escaping ValueError in soundex. 2003-10-22 20:09:45 +00:00
Stéphan Kochen 5c1fc0114d Added optional <id> argument to FunDB's excuse 2003-10-22 19:52:05 +00:00
Jeremy Fincher f7caf3f4fd Updated jeffk and lithp. 2003-10-22 19:43:38 +00:00
Jeremy Fincher 615ed5c34b Made sure the snarfer doesn't respond if there's no license key. 2003-10-22 17:43:04 +00:00
James Vega 89e5a4aa0e The snarfer wasn't quite fixed. Should be fixed for good this time. Also added
a test to make sure that a bad url isn't snarfed.
2003-10-22 15:58:07 +00:00
Jeremy Fincher 0ea2f22517 Made the environment slightly cleaner in PluginTestCase.setUp. 2003-10-22 15:47:44 +00:00
Jeremy Fincher 52bd33015c Made the environment slightly cleaner in PluginTestCase.setUp. 2003-10-22 15:38:43 +00:00
Daniel Berlin f967783949 Fix import as stuff, add URL snarfer, add test for URL snarfer 2003-10-22 15:20:06 +00:00
Jeremy Fincher 657df52ea3 Fixed search to put the word between stars if it doesn't have any globbing metachacters. 2003-10-22 15:15:50 +00:00
James Vega f57aba4c80 test/test_Souceforge.py: Removed the commented out tests
plugins/Sourceforge.py: Reverted the snarfer RE back to how it was, with a
slight improvement. This should make it catch more URLs without having all the
negative feedback the last RE produced.
2003-10-22 12:34:22 +00:00
Jeremy Fincher 689c464012 Made --from use ircutils.nickEqual. 2003-10-22 08:08:59 +00:00
Jeremy Fincher 13c10c899e Made outfilters stackable, added md5 and sha as outfilters. 2003-10-22 05:15:41 +00:00
Jeremy Fincher d28b015b52 Added an apropos command. 2003-10-22 04:32:29 +00:00
Jeremy Fincher e8284ca938 Fixed os.path lookups. 2003-10-22 03:55:03 +00:00
Jeremy Fincher e189603220 Fixed multiple-karma responses in the face of no results. 2003-10-22 03:40:00 +00:00
Jeremy Fincher 8ebef1ec6e Commented out most of the https tests; made the regexp that the snarfer matches on much less complex so it would match a new URL that it didn't match before (and won't be so complex to maintain, to boot). 2003-10-22 03:11:16 +00:00
Jeremy Fincher 9c2a8121ec Fixed bug in isNick. 2003-10-22 01:40:27 +00:00
Jeremy Fincher f09928e5cd Fixed RFE #827285. 2003-10-21 23:21:32 +00:00
Jeremy Fincher be97120c63 Made the hostmask command default to providing the hostmask of the person asking giving the command if no nick is provided. 2003-10-21 21:33:27 +00:00
Jeremy Fincher 232c634436 Made to load Owner by default. 2003-10-21 20:47:55 +00:00
Daniel DiPaolo 86b633cfe6 Fixed MoobotFactoids tests to jive with new "glob by default" behavior. 2003-10-21 20:23:59 +00:00
Jeremy Fincher ec7644fd2f Better message for failed assertNoResponse calls. 2003-10-21 20:17:29 +00:00
James Vega 7d3d501073 Added the Ebay plugin and tests 2003-10-21 17:36:57 +00:00
James Vega 8521e23bd4 Changed the name of the class to match the name of the plugin class 2003-10-21 17:36:07 +00:00
Jeremy Fincher 912fb78afb Made the last test pass. 2003-10-21 17:14:28 +00:00
Daniel DiPaolo d470488788 Fixed to accomodate changed plugin names ("MiscCommands" -> "Misc", e.g.) 2003-10-21 16:54:08 +00:00
James Vega 46907405d9 Switch Sf back to Sourceforge due to a conversation I wasn't aware of where
they reversed the naming-decision
2003-10-21 16:43:02 +00:00
Daniel DiPaolo d959f84b73 Got most of the dunno stuff in place. 2003-10-21 15:44:17 +00:00
Stéphan Kochen a67748ec5f Changed --id=<id> to just <id> in praise and lart. 2003-10-21 15:36:39 +00:00
Stéphan Kochen 69c214785b Fixed a small buggeeeeh where lart and praise work without a victim. 2003-10-21 14:34:41 +00:00
Stéphan Kochen 5b1026e1f9 Added --id=<id> to praise and lart (RFE #827075) 2003-10-21 13:23:26 +00:00
James Vega 71c79417e1 Modified the snarfer so that it recognizes sf.net URLs. Also updated the tests
to check that functionality.
2003-10-21 12:37:04 +00:00
James Vega e4909c5f42 Switch the Sourceforge plugin name to Sf 2003-10-21 12:20:23 +00:00
James Vega d2b993d2ec Fixed the tests to match the change in Debian command names 2003-10-21 12:19:30 +00:00
Jeremy Fincher 2175bd72f3 Oops, had one remaining ownercommands to deal with. 2003-10-21 06:19:26 +00:00
Jeremy Fincher baa9922f5f Sorted the names so they'd go in a predictable order. 2003-10-21 06:11:34 +00:00
Jeremy Fincher ab2bea589a Changed the names of the src/ plugins. 2003-10-21 06:03:57 +00:00
Jeremy Fincher 8150a36369 Moved to sandbox. 2003-10-21 05:47:01 +00:00
Jeremy Fincher 0349f7b3b1 Converted to use more generic command names. 2003-10-21 05:32:57 +00:00
Jeremy Fincher 48737f2085 Made command names more generic. 2003-10-21 05:19:54 +00:00
Jeremy Fincher 1037ade8cb Changed to more generic command names. 2003-10-21 05:11:53 +00:00
Jeremy Fincher 907979b284 Changed command names to be more generic. 2003-10-21 05:06:36 +00:00
Jeremy Fincher 9ca4050b9b Changed to use more generic names. 2003-10-21 04:50:03 +00:00
Jeremy Fincher 1bd48bfad5 Changed names to be more generic/consistent. 2003-10-21 04:22:54 +00:00
Jeremy Fincher 62f371d848 Converted to use generic names. 2003-10-21 04:03:25 +00:00
Jeremy Fincher 26d41dac6e Forgot to normalize in cases of type.method. 2003-10-21 03:22:29 +00:00
James Vega 0da50a6496 Added some actual Debian tests 2003-10-21 01:55:13 +00:00
Stéphan Kochen 1b1fe4408e setconf can now list conf variables and tell which type they are. 2003-10-20 23:22:40 +00:00
Jeremy Fincher 776bad5700 Fixed bug with pydoc logging.Logger. 2003-10-20 22:37:33 +00:00
Jeremy Fincher 4a8b627b2d Added the outfilter command, great fun. 2003-10-20 21:15:06 +00:00
Jeremy Fincher 33e6bf3e7d Removed the remainder of the Moobot plugin. 2003-10-20 20:26:27 +00:00
Daniel Berlin f1e915b617 Add new bugzilla module 2003-10-20 19:56:17 +00:00
James Vega ce88b052d0 Added @disablesfsnarfer and its test 2003-10-20 17:52:09 +00:00
Jeremy Fincher 3beb83f963 Added cleanConfDir and cleanDataDir to PluginTestCase. 2003-10-20 16:19:03 +00:00
Jeremy Fincher 3212ece69c Finished 'big change' to allow dispatching and stuff. 2003-10-20 11:34:21 +00:00
Jeremy Fincher 55ccb85542 Removed the syntax command; changed interface of callbacks.findCallbackForCommand to return a list of the matching callbacks; fix help to handle the prefixing of the plugin name. 2003-10-20 10:25:13 +00:00