Commit Graph

49 Commits

Author SHA1 Message Date
Jeremy Fincher 4c681b274c Fixed test, made sure that a failure in adding lookups doesn't keep the plugin from isntantiating. 2004-02-13 10:06:27 +00:00
Jeremy Fincher 50b0957caf Oops, forgot to commit this awhile back. 2004-02-06 05:53:31 +00:00
Jeremy Fincher 6e062306f2 Added output to the list of functions imported from questions. 2004-02-06 04:36:21 +00:00
Jeremy Fincher 3d186a1478 Changed not to use onStart. 2004-02-04 07:44:51 +00:00
Jeremy Fincher be31cac273 Made lookups persistent with the registry. 2004-02-04 07:11:47 +00:00
Jeremy Fincher 03c6efcb7f Partial conversion to registry, need to get it on my desktop box to test. 2004-02-04 06:55:35 +00:00
Stéphan Kochen 5957eaad5d Lots of wizard updates. Still have to get rid of the onStart and
afterConnect stuff though.
2004-01-31 22:24:43 +00:00
James Vega fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Jeremy Fincher 6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher b2f23c6f63 Updated the rest of the code to use utils.changeFunctionName. 2004-01-16 16:39:00 +00:00
Jeremy Fincher 65b139dda9 Changed slightly to use nonCommentNonEmptyLines. 2004-01-11 14:38:11 +00:00
Jeremy Fincher 1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +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 aa7408c09b Changed over to the cool new RichReplyMethods stuff, mostly. 2004-01-07 19:09:24 +00:00
Jeremy Fincher ce93c286e2 Oops, forgot to change the name of the defined function. 2004-01-05 18:00:29 +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
James Vega 318b9d5d19 Added Lookup.search 2003-12-11 00:25:50 +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
Jeremy Fincher 3398f1a819 Made the error message better when people try to run a plugin that requires sqlite and they don't have it. 2003-12-03 23:48:00 +00:00
Jeremy Fincher c6b232b588 Made to require admin capabilities to add/remove lookups. 2003-12-03 21:19:49 +00:00
Jeremy Fincher fd06e1c7ee Changed to use DBHandler. 2003-12-02 22:40:50 +00:00
Jeremy Fincher ee5de6e0d7 Made sure to depluralize the command name. 2003-12-02 19:02:53 +00:00
Jeremy Fincher 1ff44651a9 Intify the stupid help. 2003-12-02 18:50:46 +00:00
Jeremy Fincher 1b8d655738 Added help strings to lookups. 2003-12-02 18:37:39 +00:00
James Vega 53b9a47e92 I canno' do it capt'n. My irc.error doesn't have a msg 2003-12-02 05:49:10 +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 2c779bd543 Changed Alias.freeze to Alias.lock. 2003-11-25 10:19:40 +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 5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher 6ae0a0b8c4 Made configure handle comments and empty lines. 2003-11-22 06:57:03 +00:00
Jeremy Fincher 27ce1d3cc7 Fixed an uncaught exception in configure. 2003-11-22 06:54:42 +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 2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
James Vega 5a6f3ee7bb Removed the example strings until we figure out what to do with them 2003-11-06 20:42:27 +00:00
Jeremy Fincher 1280dbdc90 Added test, fixed a bug it found. 2003-10-30 02:33:04 +00:00
Jeremy Fincher aee6579dc1 Still catching remnants of the FileLookup switch. 2003-10-21 06:31:57 +00:00
Jeremy Fincher 2b212bb37f Changed to use more generic names. 2003-10-21 04:32:52 +00:00
Jeremy Fincher 7180f8c4fc Changed the name back to Lookup. 2003-10-20 11:39:48 +00:00
Jeremy Fincher 7f05bcf14b Changed the Lookup plugin to be FileLookup instead. 2003-10-19 15:05:40 +00:00
Jeremy Fincher ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher dba6ae9217 Made addlookup ignore comment lines (designated by initial '#'). 2003-09-29 08:49:54 +00:00
Jeremy Fincher d3a21e29c0 Added an example string. 2003-09-25 07:27:02 +00:00
Jeremy Fincher 6928a3a54f Fixed an uncaught exception in Lookup.configure. 2003-09-24 07:55:28 +00:00
Jeremy Fincher 287c9028a5 Forgot a return after an irc.error. 2003-09-18 15:45:43 +00:00
Jeremy Fincher caa099dfc1 Added RFE #804955, lookup should return a random key: value if not given an argument. 2003-09-13 13:33:49 +00:00
Jeremy Fincher bafc23f536 Added configure questions. 2003-09-11 10:05:24 +00:00
Jeremy Fincher 7605f6512e Initial checkin. 2003-09-10 22:22:50 +00:00