Commit Graph

42 Commits

Author SHA1 Message Date
James Vega
2ad62c502a Add conf.supybot.plugins.Quotes.requireRegistration and fix a bug with
Quotes.random
2004-08-17 03:45:30 +00:00
James Vega
46c71a7521 Add dbi.NoRecordError and update Quotes to use it 2004-08-16 17:34:58 +00:00
James Vega
57c2f263f9 Fix broken Quotes.info and improve Quotes.search by passing the predicate
to QuotesDB.search instead of the regexp.
2004-08-16 16:36:18 +00:00
James Vega
c2d5ac56ce Updated for database independence 2004-08-13 03:50:38 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher
eb217d82ae Changed num to stats. 2004-01-18 08:19:44 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +00:00
Jeremy Fincher
099b8bc14b Updated some capabilities stuff. 2004-01-08 15:24:56 +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
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +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
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher
927b1d4e65 Removed vestigal quotegrabs table statement. 2003-11-14 19:10:51 +00:00
Jeremy Fincher
6519d08ed4 Removed the Toggleable subclass, since it wasn't being used at all (accidentally committed earlier, I'm sure). 2003-11-08 09:28:02 +00:00
Jeremy Fincher
66797de4bf Changed the name of the quote command to get. 2003-11-03 06:36:18 +00:00
Jeremy Fincher
08f5adf362 Ew, ugly SQL!plugins/Quotes.py 2003-10-29 08:38:15 +00:00
Jeremy Fincher
48737f2085 Made command names more generic. 2003-10-21 05:19:54 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +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
3af3b4c985 __all__'ed baseplugin.py, updated other plugins to reflect that. 2003-10-04 13:53:13 +00:00
Jeremy Fincher
195dc208dd Made quotes.randomquote simple dispatch to a quote with a --id option. 2003-10-04 10:22:36 +00:00
Jeremy Fincher
b4b2b2b883 Added --with option to quote command. 2003-09-22 22:11:05 +00:00
James Vega
f524ec0ac9 plugins/Quotes.py: addquote now announces the id of the new quote
test/test_Quotes.py: updated to reflect change in plugin
2003-09-12 13:23:09 +00:00
James Vega
91274d3f54 addquote now returns the number id of the quote that was added, i.e. Quote #4 added 2003-09-12 10:54:25 +00:00
Jeremy Fincher
19a9804dee Added a test and fixed several bugs it found. 2003-08-26 18:10:17 +00:00
Jeremy Fincher
3dd176ab63 Updated a whole lot of stuff. 2003-08-26 17:07:37 +00:00
Jeremy Fincher
79b199cec1 Removed list of commands in module docstring. 2003-08-26 11:26:12 +00:00
Jeremy Fincher
0cf31453bc Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). 2003-08-26 11:25:43 +00:00
Jeremy Fincher
cfe4ce14a9 Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). 2003-08-26 11:24:06 +00:00
Jeremy Fincher
5289f6bc75 Renamed conf.timestampFormat to conf.logTimestampFormat and added conf.humanTimestampFormat. 2003-08-26 11:15:15 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
c39fba7b0b Syntax fix for SQL. 2003-04-21 13:07:01 +00:00
Jeremy Fincher
4f54eb864e Added 'quotes' to docstring (wasn't there before) 2003-04-06 12:24:56 +00:00
Jeremy Fincher
55aaa596e0 Changed DBHandler to ChannelDBHandler 2003-03-28 05:15:08 +00:00
Jeremy Fincher
273e426972 Changed randomquote to give the number of the quote 2003-03-25 23:26:31 +00:00
Jeremy Fincher
d3e28c1cfe Fixed randomquote in the face of an empty database. 2003-03-25 20:12:27 +00:00
Jeremy Fincher
0afc399bfc Added module docstrings (which will later be used by the installer script. 2003-03-25 06:53:51 +00:00
James Vega
c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00