Commit Graph

1470 Commits

Author SHA1 Message Date
Jeremy Fincher
a456c5ea57 Changed the name to URL. 2003-11-04 08:48:05 +00:00
Jeremy Fincher
d548447750 Moved Karma off into its own plugin. 2003-11-04 08:42:11 +00:00
Jeremy Fincher
c1e9205545 Stylistic update; there are things better than lambdas... 2003-11-04 08:26:52 +00:00
Jeremy Fincher
91b01f9fe3 Reduced some lines to fewer than 80 characters. 2003-11-04 07:03:18 +00:00
Jeremy Fincher
8e45f35946 Refactored a bit and allow 'pydoc copy'. 2003-11-04 06:26:24 +00:00
Daniel DiPaolo
6092ce484a Added the 'list' function, added code to prevent duplicate grabs being added to
the database.
2003-11-04 04:38:40 +00:00
Jeremy Fincher
be3e5e482a Changed magic numbers to variables. 2003-11-03 17:45:48 +00:00
Jeremy Fincher
5fb5241602 Fixed a few bugs. 2003-11-03 16:17:40 +00:00
Jeremy Fincher
3fde50eaf9 Initial Checkin. 2003-11-03 06:59:38 +00:00
Jeremy Fincher
66797de4bf Changed the name of the quote command to get. 2003-11-03 06:36:18 +00:00
Daniel DiPaolo
cc94948d10 Fixed greedniess of a few regexes and did some associated fixes. 2003-11-03 06:25:02 +00:00
James Vega
bf12760108 Added tinyurl stuff 2003-11-03 05:39:14 +00:00
Daniel DiPaolo
0de26afa99 changed factoids to use irc.reply(..., action=True) instead of queueMsg 2003-11-03 03:23:00 +00:00
James Vega
526c4c3e56 setdefault -> defaultproject
defaultproject without a project name clears the default project
cleanup bugs and rfes a little (although they aren't working in the case of
'bugs #'. must use 'bugs project #')
2003-11-03 01:12:00 +00:00
James Vega
72e554350b Added support for more countries (should support all english-speaking
countries) and added support for ebay.com/.*?/ws as opposed to just
ebay.com/ws
2003-11-03 00:16:43 +00:00
Daniel DiPaolo
96f299c10c Included plugins.standardSubstitute in factoids parsing now 2003-11-02 23:45:31 +00:00
James Vega
68d36db874 Snarfer cleanups and toggle tests 2003-11-02 20:31:37 +00:00
James Vega
d74a59a2f5 Cleaned up the snarfer 2003-11-02 19:46:35 +00:00
Jeremy Fincher
d816bc6a68 Added selfstats toggle; Fixed karma to be case-insensitive but case-preserving. 2003-11-02 18:59:06 +00:00
James Vega
4d77ffc92e Added the ASPN Recipe snarfer (RFE #831028) and tests 2003-11-02 18:55:08 +00:00
Daniel Berlin
d557443883 Make Dunno use standardSubstitute 2003-11-02 03:18:39 +00:00
Daniel DiPaolo
82d2d8162a Fixed a bug where addFactoid wasn't splitting on the first "is" 2003-11-01 22:08:52 +00:00
James Vega
1d1d7a87c2 Lots of changes to make it follow the format of a typical supybot plugin 2003-10-31 23:53:35 +00:00
James Vega
fcd4919bab Fix the snarfer re so that it does match extraneous text 2003-10-31 22:48:43 +00:00
Daniel DiPaolo
15b18edc11 made karma case-insensitive 2003-10-31 21:03:35 +00:00
Jeremy Fincher
4e4855094c Forget to catch the actual exception instance in callCommand. 2003-10-31 19:17:26 +00:00
James Vega
d50d435363 For some reason I was replacing the bot's name with the user's name 2003-10-31 18:43:08 +00:00
Daniel DiPaolo
c318d5e384 Added the "action" command and associated tests. 2003-10-30 17:16:02 +00:00
Jeremy Fincher
06ce1bcb94 Added change. 2003-10-30 04:36:40 +00:00
Jeremy Fincher
3f081ee21c Added some error checking to join and part. 2003-10-30 04:06:46 +00:00
Jeremy Fincher
bc6f4bd149 Converted to not use the new module but the types module instead. 2003-10-30 03:46:31 +00:00
Jeremy Fincher
8d04bdbcb6 Refactored some stuff to be a bit cleaner. 2003-10-30 03:38:55 +00:00
Jeremy Fincher
1280dbdc90 Added test, fixed a bug it found. 2003-10-30 02:33:04 +00:00
Jeremy Fincher
29d20d2513 Changed the color command to a toggle. 2003-10-30 02:03:49 +00:00
Jeremy Fincher
646e41bd53 Changed the regexp for sfSnarfer to make it a little easier to read. 2003-10-30 00:13:00 +00:00
Daniel DiPaolo
0011fff94e Changed all %d's to %s's 2003-10-29 22:05:53 +00:00
James Vega
afc74b96f0 Fix replacement of my/me not obeying word boundaries. Also created tests to
ensure it stays fixed.
2003-10-29 20:27:09 +00:00
Daniel DiPaolo
8cc9620a4b Fixed ordering by priority when requesting todos for a person (or self) 2003-10-29 20:12:02 +00:00
Daniel DiPaolo
3b0276e688 Fixed a dumb dumb bug where I forgot to include the "msg" arg for irc.error 2003-10-29 17:26:05 +00:00
Jeremy Fincher
2a0687e46c Fixed AttributeError in seen. 2003-10-29 16:18:16 +00:00
Jeremy Fincher
2b68eb908f Make seen not error if it doesn't recognize the user. 2003-10-29 16:15:33 +00:00
Jeremy Fincher
08f5adf362 Ew, ugly SQL!plugins/Quotes.py 2003-10-29 08:38:15 +00:00
Daniel DiPaolo
bfdbda625a Changed karma pluralization to use utils.pluralize() and fixed the tests to
avoid erroring due to ambiguous commands for 'stats' (since 'User' is also
loaded for the tests)
2003-10-29 07:46:49 +00:00
James Vega
0400f02f13 Added the Toggleable.__init__'s and therefore the help commands 2003-10-29 07:23:20 +00:00
Jeremy Fincher
6d36432508 Fixed __init__ and its error with instancemethods not having adjustable __doc__ strings. 2003-10-29 06:35:02 +00:00
James Vega
535cdde13c Switched the togglesnarfers to the new Toggleable mixin 2003-10-29 06:06:56 +00:00
Daniel DiPaolo
f0b850118b MoobotFactoids should be pretty dang close to finished now. Got the "_is_"
syntax working just fine.
2003-10-29 03:01:02 +00:00
Daniel Berlin
0c96bf73a7 Made replies all one message 2003-10-29 02:41:03 +00:00
Jeremy Fincher
acd36c80d4 Added toggles for auto-{op,voice,halfop} 2003-10-29 00:04:30 +00:00
Jeremy Fincher
2757f239b1 Added solaris to the list of supported operating systems for memory stats. 2003-10-28 20:18:33 +00:00
Daniel DiPaolo
05f8d6a2f8 Added "todo change" and tests for it. 2003-10-28 18:43:43 +00:00
Daniel DiPaolo
f9d97c91f5 Overhaul of Todo, somewhat. Made everyone's todos accessible by anyone, either
by id or by username.  Also, made it so todos are never deleted, just set to
inactive.
2003-10-28 17:40:41 +00:00
Daniel DiPaolo
2527f47cb6 Punctuation ("?!") is now stripped from keys before insertion into the db 2003-10-28 15:30:43 +00:00
James Vega
8ae59844bf Fix some typos I thought I had already committed 2003-10-28 14:29:06 +00:00
Jeremy Fincher
80deb23897 Fix for relay whois bug with the reporting of status on channels. 2003-10-28 14:08:11 +00:00
Jeremy Fincher
a34589cce7 Completed the removal of callbacks.Privmsg.doPrivmsg. 2003-10-28 06:30:42 +00:00
Jeremy Fincher
0a34794a33 Small stylistic change and removed the returns from invalidCommand. 2003-10-28 06:09:05 +00:00
Jeremy Fincher
7703e3f4d7 Typo fixes. 2003-10-28 06:05:51 +00:00
Jeremy Fincher
ef4aed0db3 Just some slight style things (I'm committing because DannyB will be hacking on it later). 2003-10-28 05:50:40 +00:00
Jeremy Fincher
c2f179cd0d Fixed some bugs and cleaned up the test suite. 2003-10-28 05:49:31 +00:00
Daniel DiPaolo
084fe1854f More MoobotFactoids/Dunno separation fun and fixes 2003-10-28 05:31:51 +00:00
Daniel DiPaolo
faea5a5909 Split out dunnos from MoobotFactoids (into Dunno.py) in anticipation of the
invalidCommand infrastructure addition.
2003-10-28 01:46:58 +00:00
James Vega
114909f702 Fix a silly line-continuation error 2003-10-28 00:20:23 +00:00
James Vega
6e911131fd plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error
src/conf.py: Fix a typo in replyPossibleBug string
2003-10-27 23:45:15 +00:00
James Vega
d370c485f6 Fix a new bug where a person not having a 'seen' status wasn't properly
trapped
2003-10-27 23:22:35 +00:00
James Vega
ed44f00c6f Missed an 's' in there 2003-10-27 23:02:48 +00:00
James Vega
61576fdd13 Reworked the togglesnarfer stuff 2003-10-27 22:58:47 +00:00
James Vega
1e4879dfb1 Reworked the togglesnarfer mechanism 2003-10-27 22:57:05 +00:00
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
Stéphan Kochen
5ace5a48ad Some fixes to Poll, removed delete command, added example. 2003-10-27 15:11:45 +00:00
Jeremy Fincher
aab9d8a3a0 Made the output of gkstats a little prettier. 2003-10-27 05:13:31 +00:00
Jeremy Fincher
a1c911e954 Added the ability to see notes you've sent yourself. 2003-10-26 17:50:12 +00:00
Jeremy Fincher
ebcc9a3f1d Added the ability to see notes you've sent yourself. 2003-10-26 17:49:11 +00:00
Jeremy Fincher
0f45fe2c36 Fixed bug in testGreet. 2003-10-25 18:22:52 +00:00
Jeremy Fincher
218e53b409 Removed the die on the IRC object in relay disconnect because that makes all the plugins die. 2003-10-24 23:15:04 +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
42795d34d0 Removed the percentage thing, it's not entirely useful. 2003-10-24 21:42:54 +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
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
James Vega
df3602bf4d Added another field (Submitted by) to the snarfer. Centralized the re options
for the parsers
2003-10-24 12:38:45 +00:00
Jeremy Fincher
660ba14e96 Fixed some failing test cases. 2003-10-24 11:03:43 +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
d54ec97253 Fixed bug in CVS. 2003-10-24 08:57:02 +00:00
Daniel DiPaolo
8229759769 Added 'setpriority' and tests. 2003-10-24 07:12:51 +00:00
Daniel DiPaolo
c1ee1b8c10 Cosmetic fixes. 2003-10-24 06:11:16 +00:00
Daniel DiPaolo
051928efa5 Added locked_by back ... to stay, now admin/owner people can lock/unlock
factoids that they didn't create.  So it'll be nice to be able to see just who
locked a factoid of yours.
2003-10-24 02:25:41 +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
Daniel DiPaolo
aa05fc1a79 Made it so admins can unlock anyone's factoids. 2003-10-23 21:35:13 +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
6d9aea2d26 Missing conf import 2003-10-23 15:31:56 +00:00
James Vega
85e863f92c Parse 'my' in @lart and @praise (Closes: RFE #828950) 2003-10-23 15:23:01 +00:00
Jeremy Fincher
aa09eb16a7 Forgot to set the probability for NO YUO 2003-10-23 15:10:07 +00:00
James Vega
7fd9859682 Switch irc.queueMsg to irc.reply 2003-10-23 14:59:03 +00:00
James Vega
7e01b8a74d Convert irc.queueMsg(callbacks.reply to irc.reply 2003-10-23 14:52:59 +00:00
James Vega
cbbc2818ee Changed an irc.queueMsg to irc.reply 2003-10-23 13:13:40 +00:00
James Vega
d608f82875 configure() was still adding 'load IMDB' to onStart instead of 'load Movies' 2003-10-23 12:59:15 +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
2ab2afdae9 Updated configure to be more descriptive about disabling progstats. 2003-10-23 08:15:47 +00:00
Jeremy Fincher
7bf41499cb Fixed pluralization bug in info. 2003-10-23 05:14:41 +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
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
Jeremy Fincher
9a5cb77fe4 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
James Vega
b03e5612d2 Added configure() prompts to automatically disable the snarfer 2003-10-22 18:51:16 +00:00
Daniel DiPaolo
e39a8c4237 Improve the error messages returned in a few "except" blocks. 2003-10-22 18:29:02 +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
Daniel DiPaolo
6cf0005abe Put "prefixName=False" in a bunch of the irc.reply()s so that things like
dunnos wouldn't look stupid.
2003-10-22 16:38:46 +00:00
Jeremy Fincher
6382e75820 Forgot to import socket. 2003-10-22 16:05:18 +00:00
Daniel DiPaolo
93f19492ca Could have sworn I committed this already... turns on globbing by default (I
think .. too lazy to diff and see if that's what changed)
2003-10-22 16:01:05 +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
Daniel Berlin
d55f5c489f Add snarfer toggle 2003-10-22 15:54:32 +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
Jeremy Fincher
1879f0786d Slight code cleanup and catching of timed out connections. 2003-10-22 15:12:33 +00:00
James Vega
8f6adf62f5 Add dberlin's friendlytoofriendly patch 2003-10-22 13:53:09 +00:00
James Vega
dc9acab9b5 Improved the snarfer re and added the 'Buy It Now' price to the list of things
which are snarfed.
2003-10-22 13:45:06 +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
f9bd4db612 Made the wizard and Relay.configure utils.dqrepr their channel names. 2003-10-22 09:14:49 +00:00
Jeremy Fincher
9240ca88b6 Slight modification on exclaim. 2003-10-22 05:44:18 +00:00
Jeremy Fincher
4be5758099 Brought BadWords up to the times. 2003-10-22 05:35:52 +00:00
Jeremy Fincher
13c10c899e Made outfilters stackable, added md5 and sha as outfilters. 2003-10-22 05:15:41 +00:00
Jeremy Fincher
e50243262d Lowered the plugin's priority so it makes its decisisons about whether or not to relay something before anything else has gotten hold of the message. 2003-10-22 05:15:19 +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
f09928e5cd Fixed RFE #827285. 2003-10-21 23:21:32 +00:00
Jeremy Fincher
9cb41e6420 Made ordering in PrivmsgCommandAndRegexp depend on the list of regexp-methods. 2003-10-21 21:10:20 +00:00
Jeremy Fincher
e298f33d7e Fixed problem with new.function. 2003-10-21 20:59:51 +00:00
Daniel Berlin
98a13e267a Fix multiline geekquotes 2003-10-21 19:54:30 +00:00
Jeremy Fincher
52d4767601 Added a period to the invalid alias complaint. 2003-10-21 19:20:47 +00:00
Jeremy Fincher
388fae08c5 Made the snarfer remove the parentheses from a URL. 2003-10-21 19:20:30 +00:00
James Vega
7d3d501073 Added the Ebay plugin and tests 2003-10-21 17:36:57 +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
Jeremy Fincher
ec626896d3 Generalized the command names. 2003-10-21 07:26:06 +00:00
Jeremy Fincher
3ac622ce11 Fixed a few bugs arising from the switch to generic names. 2003-10-21 07:19:53 +00:00
Jeremy Fincher
0c93c8071f Updated to use more generic command names. 2003-10-21 06:36:38 +00:00
Jeremy Fincher
e767feb20b Updated to use generic command name and to require privilege for licensekey. 2003-10-21 06:35:15 +00:00
Jeremy Fincher
aee6579dc1 Still catching remnants of the FileLookup switch. 2003-10-21 06:31:57 +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
c4b838894d Oops, didn't quite finish. 2003-10-21 05:29:39 +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
5bae246ad5 Made names more generic. 2003-10-21 04:44:44 +00:00
Jeremy Fincher
2b212bb37f Changed to use more generic names. 2003-10-21 04:32:52 +00:00
Jeremy Fincher
1bd48bfad5 Changed names to be more generic/consistent. 2003-10-21 04:22:54 +00:00
Jeremy Fincher
3310e0cb3e Converted to use generic command names. 2003-10-21 04:09:48 +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
Jeremy Fincher
776bad5700 Fixed bug with pydoc logging.Logger. 2003-10-20 22:37:33 +00:00
Jeremy Fincher
e1eb6cff8e Fix for bug #826612. 2003-10-20 22:24:08 +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
James Vega
f6088d57d8 Uncomment the urllib import
Update the usage example
Fixed a couple bugs in debversion regarding number of arguments
2003-10-20 17:23:08 +00:00
James Vega
2117d660a2 Dropped an extraneous paren 2003-10-20 17:20:41 +00:00
Jeremy Fincher
c8fd603129 Added 'non-secret' to the 'isn't on any channels' response in relaywhois. 2003-10-20 11:43:57 +00:00
Jeremy Fincher
7180f8c4fc Changed the name back to Lookup. 2003-10-20 11:39:48 +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
Jeremy Fincher
112303af56 Updated jeffk. 2003-10-20 10:15:56 +00:00
Jeremy Fincher
173f99ca76 Updated jeffk. 2003-10-20 08:12:32 +00:00
Jeremy Fincher
4040b24dba Oops, committed a failing test. 2003-10-20 08:00:56 +00:00
Jeremy Fincher
0ab3347567 Updated ChannelDB to use user ids instead of usernames. 2003-10-20 07:39:40 +00:00
Jeremy Fincher
0409c4f249 Added an example. 2003-10-20 06:59:53 +00:00
Jeremy Fincher
05d85147cb Moved FreeBSD to the sandbox. 2003-10-20 06:53:47 +00:00
Jeremy Fincher
2d56e7257e Made pydoc accept methods on builtin classes. 2003-10-20 06:43:59 +00:00
Jeremy Fincher
e760320ca0 Changed to use the repr of the last message. 2003-10-20 06:22:15 +00:00
Jeremy Fincher
c81170b362 Added a jeffk command. 2003-10-20 05:56:30 +00:00
Jeremy Fincher
3fb2795668 Moved the more useful Moobot commands to Fun. 2003-10-20 05:11:13 +00:00
Jeremy Fincher
53c37af8f6 Added an update to UptimesDB in __init__. 2003-10-20 03:44:10 +00:00
Jeremy Fincher
c9e6f77c3a Restored the original conf.replyWhenNotCommand value on die(). 2003-10-20 03:43:18 +00:00
Jeremy Fincher
7b8322d6fd Changed the name back to News. 2003-10-19 21:10:56 +00:00
Jeremy Fincher
17e555c83d Changed the name back to Google. 2003-10-19 21:04:35 +00:00
Jeremy Fincher
1eb2a387eb Changed ChannelTopic back to Topic. 2003-10-19 15:48:44 +00:00
Jeremy Fincher
7f05bcf14b Changed the Lookup plugin to be FileLookup instead. 2003-10-19 15:05:40 +00:00
Jeremy Fincher
4b4ae20155 Changed the Dict plugin to Dictionary. 2003-10-19 14:58:08 +00:00
Jeremy Fincher
08fa5e01a0 Changed the name of the FunCommands to Fun. 2003-10-19 14:53:34 +00:00
Jeremy Fincher
86b60e0669 Small stylistic/formatting changes. 2003-10-19 14:49:38 +00:00
Jeremy Fincher
487ac95d80 Fix for a few exceptions escaping, bug #826177 in partciular. 2003-10-19 14:47:29 +00:00
Jeremy Fincher
37b796ac74 Oops, forgot an 'or'. 2003-10-19 14:45:14 +00:00
James Vega
e1d1343055 Using utils.depluralize now instead of my previous hack 2003-10-18 14:21:03 +00:00
James Vega
29a3264126 Added more information to the snarfer and cleaned up the related tests. 2003-10-18 14:19:06 +00:00
Jeremy Fincher
aab016ddd1 Changed the name of the Google plugin to GoogleTools. 2003-10-18 13:25:12 +00:00
Jeremy Fincher
f92d03e3a3 Changed the name of the Topic plugin to ChannelTopic. 2003-10-18 13:14:57 +00:00
Jeremy Fincher
84fc2b1078 Changed the name of the News plugin to ChannelNews. 2003-10-18 13:04:29 +00:00
Jeremy Fincher
7ca40702bf Changed the name of the IMDB plugin to Movies. 2003-10-18 12:59:46 +00:00
Jeremy Fincher
fa8fc4ab52 Fix for bug #825749, improper relaying of relay of kicks. 2003-10-17 23:08:27 +00:00
Jeremy Fincher
9966fc72a9 Made Status update the uptimes database on every message. 2003-10-17 21:51:31 +00:00
James Vega
edab9e52b2 Added a scramble command and accompanying tests. 2003-10-17 17:03:25 +00:00
James Vega
6e728e74da Improve the snarfer re so that index.php is not required 2003-10-17 14:26:33 +00:00
James Vega
3dac2d986e Escape the .'s in the urls for the snarfer 2003-10-17 14:23:51 +00:00
James Vega
a2c6084fd9 Replaced the old-style irc.queuemsg with newer irc.error 2003-10-17 14:18:00 +00:00
James Vega
b2dd349235 Fixed all the #! lines to be consistent and a couple formatting issues with
the copyright
2003-10-16 14:53:42 +00:00
Jeremy Fincher
a6ddd4816c Fixed the order of arguments on debversion and made it only do one package at a time. 2003-10-16 14:03:12 +00:00
Jeremy Fincher
d307421665 Added QUIT statkeeping. 2003-10-16 13:34:02 +00:00
Jeremy Fincher
b6185c4b33 Fixed problems with cpustats on Windows; at least now an error is reported. 2003-10-16 11:27:45 +00:00
Jeremy Fincher
d6faad6775 Added server reporting to the Relay.relaywhois command. 2003-10-16 10:58:31 +00:00
Daniel DiPaolo
a63ee1e304 * Decided to ditch the "_is_" syntax. I never liked it and implementing it
may prove to be difficult here.  It may find its way back in, but there's no
  point in having it in there now when it doesn't work right anyway.
2003-10-16 05:39:15 +00:00
Daniel DiPaolo
aee5c6c18e * Finished up MoobotFactoids, I think. Added delete, augmentFactoids (foo is
also bar), and replaceFactoids (no foo is bar), as well as cleaning up some
  of the regexps that were there (we allow spaces in the factoids, dummy!), and
  also made the addFactoids regexp more accomodating to other phrases with the
  word "is" in them :)  Also, updated the tests for it, of course.
2003-10-16 05:27:01 +00:00
Daniel DiPaolo
ea024def78 * Fixed some quoting issues in list*. Adopted the practice of repr()'ing all
factoid keys before displaying them (idea stolen from searchfactoids in
  Factoids).  Also fixed them in the tests as well as adding a test to insure
  that it's done right.
* Added the listkeys and listvalues commands.
2003-10-16 03:51:53 +00:00
James Vega
a428c6fc91 Add slightly better handling of de-pluralization 2003-10-16 02:42:47 +00:00
Daniel DiPaolo
ddfd7e10e1 * LOTS of updates to the MoobotFactoids test suite, parts of which aren't ready
yet, but the test targets should be pretty static from here on out, except
  adding new tests.
* Fixed up lock and coded unlock in MoobotFactoids (actually, factored the
  common code out into one helper function that each call).
* Added the changeFactoids (=~) portion.
* Changed the table structure again (should be the last time).  Locked_by was
  redundant if we're only going to let factoid creators lock/unlock.  Removed
  it.
2003-10-16 02:03:35 +00:00
James Vega
f567f36e4c Fixed a bug with debfile so that it doesn't error out when there are no
arguments
2003-10-16 01:59:17 +00:00
Jeremy Fincher
ba9e9f4397 Max out the recorded uptimes at 50. 2003-10-15 06:25:32 +00:00
Jeremy Fincher
f987a6e69b Removed several instances where it would raise exceptions the message after parting a channel. 2003-10-15 05:56:32 +00:00
Jeremy Fincher
bd7f1f9389 Fixed the snarfer to allow https links. 2003-10-15 05:37:21 +00:00
Jeremy Fincher
b6fb71d5a5 Added one minor thing so *all* unexpired news items aren't shown. 2003-10-15 05:30:02 +00:00
Jeremy Fincher
5be65f1caf Added changenews and oldnews. 2003-10-15 05:25:26 +00:00
Daniel DiPaolo
41f1cddbcf * Fixed INSERT query in addFactoids to mirror the changes made in the table
structure a few revisions back (oops)
2003-10-14 16:00:50 +00:00
Jeremy Fincher
0064748d68 Whoa, that was some old code -- written before IrcMsg had an __len__, apparently. 2003-10-14 06:41:52 +00:00
Jeremy Fincher
79ea3b1363 Moved bestuptime over to the Status plugin. 2003-10-14 06:39:31 +00:00
Jeremy Fincher
e4c64ec2ca Made *everything* case-insensitive. 2003-10-14 05:54:11 +00:00
Jeremy Fincher
8fd6a094de Made the help for wtf more descriptive. 2003-10-14 02:31:44 +00:00
Daniel DiPaolo
3ae813674e * adding MoobotFactoids stuff as per jemfinch's request - though it's not quite
done yet
2003-10-13 21:22:16 +00:00
Jeremy Fincher
f706191201 Added test for rpn 2 degrees and fixed rpn to pass it. 2003-10-13 04:54:57 +00:00
Jeremy Fincher
6c3e193b93 Fixed bug found by G-LiTe and added a test. 2003-10-13 03:47:33 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
James Vega
2acf59d781 Added a urlsnarfer and the appropriate tests 2003-10-11 20:52:35 +00:00
James Vega
c202848677 Lots of cleanups.
Added a generic _formatResp that works with both bugs and rfes.
Renamed _*Opts and _{bug,rfe}Re so that they can be used with both bugs and rfes (since they're the same for both cases).
Bolded the description when requesting a single bug/rfe.
2003-10-11 18:40:22 +00:00
Jeremy Fincher
5c1ecc2248 Better error messages in addAlias. 2003-10-11 12:48:12 +00:00
Jeremy Fincher
eb01a8e99d Removed pi -> 3.14 capability. 2003-10-11 03:37:38 +00:00
Jeremy Fincher
e9bcf8a98d Should've been removed a long time ago. 2003-10-10 23:03:40 +00:00
James Vega
6fa0ef039d Cleaned up the usage example 2003-10-10 13:55:38 +00:00
James Vega
3c5978a76e Added the Sourceforge plugin (which has the commands: bugs and rfes) and the
accompanying tests
2003-10-10 13:47:06 +00:00
Jeremy Fincher
ecbdb0bbbe Made the bot not relay his own TOPIC messages. 2003-10-10 13:37:23 +00:00
Jeremy Fincher
48f71bb29c Made to relay topic changes. 2003-10-10 06:10:50 +00:00
Daniel DiPaolo
9f2352fbea * Fixed searchtodo
* Wrote tests for Todo.py
2003-10-10 05:47:19 +00:00
Jeremy Fincher
1e8de55ff8 Fixed bug where factoids would raise a DatabaseError when there were no arguments given. 2003-10-10 05:44:41 +00:00
Jeremy Fincher
816d59b141 Don't bother with the questions about the info alias. No one cares. 2003-10-10 03:18:52 +00:00
Jeremy Fincher
2afb4ef965 Fix for bug #820810: Don't ask to load Alias if Alias is already loaded. 2003-10-10 03:17:24 +00:00
Jeremy Fincher
bc3ec9f70c Fixed pluralization bug in stats command. 2003-10-09 19:20:50 +00:00
Jeremy Fincher
30b054c6cb Fixed several bugs and added a test to make sure they don't happen again. 2003-10-09 16:38:14 +00:00
Jeremy Fincher
fc24f3ded1 Made seen case-insensitive. 2003-10-09 06:43:58 +00:00
Jeremy Fincher
7973dc8921 Fixed bug #820259, where he was killing himself if his nick didn't exactly match in case. 2003-10-09 05:49:01 +00:00
Jeremy Fincher
7b28caba1b Converted karma stuff to use addressedRegexps. 2003-10-09 05:08:18 +00:00
Jeremy Fincher
aa7efcbad9 Fix for some bad tests; added support, fixed a long-latent bug that I thought was being tested for but wasn't. 2003-10-09 05:00:56 +00:00
Jeremy Fincher
7943351acb Added a missing commit. 2003-10-09 04:37:36 +00:00
Jeremy Fincher
10651494f5 Fixed Debian to use fix functions appropriately :) 2003-10-08 20:56:22 +00:00
James Vega
18d52f8b27 Needed to import fix and call fix.rsplit instead of utils.rsplit 2003-10-08 18:39:44 +00:00
Jeremy Fincher
b719ab6c24 Fixed bug in looking up specific factoids. 2003-10-08 16:24:41 +00:00
Jeremy Fincher
8b7b4d97ac Added wildcard support, as per RFE #817309 2003-10-08 13:53:41 +00:00
Jeremy Fincher
f28bed51ec Fixed bug in relaywhois response. 2003-10-08 06:25:05 +00:00
Jeremy Fincher
e0184c5422 Added some more error-checking to the addAlias method. 2003-10-08 01:26:10 +00:00
Jeremy Fincher
28fb603ca0 Added some more error-checking to the addAlias method. 2003-10-07 22:19:08 +00:00
Jeremy Fincher
1099ca0705 Changed whois to internic. 2003-10-07 21:38:11 +00:00
Jeremy Fincher
9f2d619db8 Changed the pass statements to 'raise NotImplementedError' statements so the new changenews test would error out more quickly. 2003-10-07 09:32:42 +00:00
Daniel DiPaolo
c5a7573f87 * First version of the Todo plugin, simple but functional enough for the
most simple of uses.
2003-10-07 06:50:21 +00:00
Jeremy Fincher
de5202cc27 Bugfix. 2003-10-06 21:17:21 +00:00
Daniel DiPaolo
8fba4a85f5 * Fixed a little buglet in the debversion output where the "Shown" count
would be incorrect for any time nothing was found.
2003-10-06 21:15:07 +00:00
Jeremy Fincher
1a594b6dff Use ircutils.nickEqual instead of ==. 2003-10-06 13:00:22 +00:00
Jeremy Fincher
1e28e4f00a Changed msg.prefix to msg.nick in the self.chanserv comparison. 2003-10-06 05:57:03 +00:00
Jeremy Fincher
9e0ab0e73b *Trying*, as hard as possible, to be nice to Windows. 2003-10-05 21:37:29 +00:00
Jeremy Fincher
6107000658 Slight formatting changes and whatnot. 2003-10-05 20:33:01 +00:00
Jeremy Fincher
d83cc90a32 Slightly changed the format of cmdstats. 2003-10-05 20:13:01 +00:00
Jeremy Fincher
498682d830 Changes to be nice to Windows. 2003-10-05 20:05:53 +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
5576661ab5 Forgot the example. 2003-10-05 12:00:51 +00:00
Jeremy Fincher
9fe8ed19a7 Forgot an import. 2003-10-05 11:56:46 +00:00
Jeremy Fincher
d5c4b15632 Forgot an import. 2003-10-05 11:22:29 +00:00
Jeremy Fincher
cb7ffa4df9 Changed another error to reply. 2003-10-05 11:06:07 +00:00
Jeremy Fincher
2cd657c9a9 Made sure ChannelDBHandler is before callbacks.Privmsg* in the inheritance order so self.die() is ChannelDBHandler's and not callbacks.Privmsg*. 2003-10-05 04:41:49 +00:00
Jeremy Fincher
151657f40d Changed an error to a reply. 2003-10-05 03:49:29 +00:00
Jeremy Fincher
6eff484bda Slight indentation fix. 2003-10-04 14:57:37 +00:00
Jeremy Fincher
9ef4ea2bca Forgot some imports. 2003-10-04 14:57:20 +00:00
Jeremy Fincher
d0c7d47de4 Some slight regexp updates. 2003-10-04 14:57:05 +00:00
Jeremy Fincher
84b7454709 Forgot sets import. 2003-10-04 14:56:54 +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
d079777f27 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:44:55 +00:00
Jeremy Fincher
71fcfb8db9 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:29:58 +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
9543859047 Changed searchfactoids to default to a glob search; --regexp and --exact searches work with specific options. 2003-10-04 10:16:57 +00:00
Jeremy Fincher
9f24c13be8 Moved the list of commands from cmdstats to the commands command. 2003-10-03 22:55:34 +00:00
Jeremy Fincher
3be0c261d3 Syntax still said --url instead of --fancy. 2003-10-03 22:24:32 +00:00
Jeremy Fincher
b100ceb185 Updated example string. 2003-10-03 10:13:41 +00:00
Jeremy Fincher
29825d76f9 Forgot to update help for the new indexing. 2003-10-03 10:09:49 +00:00
Jeremy Fincher
9cbc766b7c Fixed to kill bold much more accurately. 2003-10-03 08:49:51 +00:00
Jeremy Fincher
81e1c09981 Updated debfile to default to glob, but allow regexp and exact options. 2003-10-03 04:21:37 +00:00
Jeremy Fincher
cbc109ada9 Getoptified debincoming. 2003-10-03 00:23:03 +00:00
Jeremy Fincher
ff6fdf02f3 Added convert and units command. 2003-10-02 23:19:38 +00:00
Jeremy Fincher
cecb130106 Added disablegooglesnarfer command to disable the snarfer. 2003-10-02 22:36:20 +00:00
Jeremy Fincher
4bda1fc74a Bug fixes for .so modules. 2003-10-02 16:13:49 +00:00
Jeremy Fincher
ac78a1c2cb Stylistic changes. 2003-10-02 16:07:53 +00:00
Jeremy Fincher
88b3d63026 Made to index from 1 instead of 0. 2003-10-02 06:13:54 +00:00
Jeremy Fincher
746e292693 Made to index from 1 instead of 0. 2003-10-02 06:10:54 +00:00
Jeremy Fincher
a8d7de246d Made indexing start from 1 instead of 0. 2003-10-02 05:58:53 +00:00
Jeremy Fincher
32eb85e3c5 Fix for KeyError escaping from stats. 2003-10-02 00:43:38 +00:00
Jeremy Fincher
de7da5abc1 Fixed --user to actually work. 2003-10-02 00:42:26 +00:00
Jeremy Fincher
dcffc5df62 Minor change: names -> nicks in @seen help. 2003-10-02 00:24:36 +00:00
Jeremy Fincher
0e0dad2341 Added additional help for karma command. 2003-10-02 00:16:39 +00:00
Jeremy Fincher
f9a7bf0609 getopt-ified seen to use nicks by default and users only if given the --user option. 2003-10-02 00:13:44 +00:00
Jeremy Fincher
538a262341 Moved {zen,pydoc} to the Python plugin and {whois,dns} to the Network plugin. 2003-10-01 11:12:06 +00:00
Jeremy Fincher
f84345048a Fix for bug #815242, pydoc fnmatch.fnmatch fails. 2003-09-30 22:12:50 +00:00
Jeremy Fincher
bc5ec5d0f0 Fix for recent discovery that some misconfigured servers will send 422 instead of 376. 2003-09-30 15:21:02 +00:00
Jeremy Fincher
a714fce09d Fixed cmdstats to make sure only canonicalNames get in. 2003-09-30 13:51:32 +00:00
Jeremy Fincher
b9a81a3f5e Added 'individual' to commands processed. 2003-09-30 11:07:01 +00:00
Jeremy Fincher
8b04e1c537 Added cmdstats command. 2003-09-30 11:04:44 +00:00
Jeremy Fincher
ce3043a50f Initial checkin. 2003-09-30 10:47:05 +00:00
Jeremy Fincher
df1a26900d Added a bit more error checking in the case of bad arguments. 2003-09-29 16:13:51 +00:00
Jeremy Fincher
dba6ae9217 Made addlookup ignore comment lines (designated by initial '#'). 2003-09-29 08:49:54 +00:00
Jeremy Fincher
1410d1af43 Added the ability to handle multiple karma items in one request, like Moobot. 2003-09-29 07:29:18 +00:00
Jeremy Fincher
29fd291a5b Cleanup of debincoming (also made sure to thread it). 2003-09-29 06:08:16 +00:00
Jeremy Fincher
14459d05d8 Commented out new.function stuff for later when new.function actually works. 2003-09-29 05:41:03 +00:00
Jeremy Fincher
d0f9e11a32 Fix for bug #814149, bad error message in relaywhois. 2003-09-29 05:34:02 +00:00
Brett Kelly
8e45ffc020 added debincoming command 2003-09-27 03:54:58 +00:00
Daniel DiPaolo
b71787b702 * Added a required per-channel news capability
* Fixed tests (syntax error, tabs/spaces)
* Updated addnews to use new persistent userids
2003-09-26 22:40:35 +00:00
Jeremy Fincher
b1f0cb6647 Removed a gratuitous world.ircs.remove, probably fixing bug #801438. 2003-09-25 08:18:36 +00:00
Jeremy Fincher
d3a21e29c0 Added an example string. 2003-09-25 07:27:02 +00:00
Jeremy Fincher
2c8dee38c2 Fix for configure bug. 2003-09-25 07:18:46 +00:00
Jeremy Fincher
6928a3a54f Fixed an uncaught exception in Lookup.configure. 2003-09-24 07:55:28 +00:00
Jeremy Fincher
a13c8ab528 Removed the old sys.path-munging code now that we're disutil'ed. 2003-09-24 07:28:25 +00:00
Jeremy Fincher
474e611feb Initial checkin of the distutils stuff. 2003-09-24 07:19:54 +00:00
Jeremy Fincher
01ee1169f0 Forgot to return after an irc.error. 2003-09-24 06:16:29 +00:00
Jeremy Fincher
1c86e6f40c Removed shrink command since it's mostly unnecessary since we got the mores. 2003-09-24 04:19:23 +00:00
Jeremy Fincher
05eddc71f5 Fixed to use the proper irc.reply arguments instead of callbacks.reply. 2003-09-23 20:45:25 +00:00
Jeremy Fincher
23453eff6a Made the game snarfer not prefix the response with the the nick. 2003-09-23 20:26:25 +00:00
Jeremy Fincher
bb9c956eea Made sure there were no problems in __call__ if it wasn't started. 2003-09-23 19:39:48 +00:00
Jeremy Fincher
06e2e05b78 Added some guards for self.started to make sure certain commands aren't run before the plugin is started. 2003-09-23 18:59:22 +00:00
Jeremy Fincher
fcab1a30cf Added a try/finally statement like ChannelLogger just got. 2003-09-23 18:45:08 +00:00
Jeremy Fincher
b1654bd4bc Oops, accidentally committed a tyop in a comment. 2003-09-23 16:17:13 +00:00
Jeremy Fincher
a6d71770c9 Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception. 2003-09-23 16:08:05 +00:00
Jeremy Fincher
20e5bdb50d Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception. 2003-09-23 16:01:04 +00:00
Jeremy Fincher
e4143b467a Added a bit to the morehelp for calc to explain floating point inaccuracies. 2003-09-23 15:42:01 +00:00
Jeremy Fincher
d57c173598 Tiny update to the lithp command. 2003-09-22 22:36:23 +00:00
Jeremy Fincher
b4b2b2b883 Added --with option to quote command. 2003-09-22 22:11:05 +00:00
Jeremy Fincher
e40183f1e5 Fixed stupid verisign bug. 2003-09-22 18:00:16 +00:00
Jeremy Fincher
3e28059c9e Fixed bug in genre pluralization. 2003-09-22 17:32:12 +00:00
Jeremy Fincher
b1b00401ed Changed inFilter to __call__, since it doesn't do any filtering. 2003-09-22 11:17:10 +00:00
Jeremy Fincher
41d3039c68 Removed some debugging stuff that never should've been committed. 2003-09-22 11:16:41 +00:00
Jeremy Fincher
3a329b04f9 Added the uptimeEnder to world.flushers instead of just running it atexit. 2003-09-22 09:55:00 +00:00
Jeremy Fincher
f137b21dcf Added extra logging to Enforcer in the case where it's not started. 2003-09-22 02:46:36 +00:00
Jeremy Fincher
fd568a7f48 Made echo not prefixName. 2003-09-19 17:25:38 +00:00
Jeremy Fincher
287c9028a5 Forgot a return after an irc.error. 2003-09-18 15:45:43 +00:00
Jeremy Fincher
3af8f1c790 Added private and action keywords to IrcObjectProxy.reply and converted FunDB to use them. 2003-09-18 07:26:21 +00:00
Jeremy Fincher
ab302e5742 Oops, left a random.choice with the arguments of a random.shuffle. 2003-09-18 05:58:24 +00:00
Jeremy Fincher
fad77c9545 Forgot to change a topicget to a gettopic. 2003-09-17 22:49:00 +00:00
Jeremy Fincher
d227111b0c Added privmsgs.name, privmsgs.channel, and privmsgs.checkChannelCapability. Converted the Topic plugin to use some of them. 2003-09-17 22:38:03 +00:00
Jeremy Fincher
fd1aacbd64 Fixed snarfer for drawn games. 2003-09-17 21:31:04 +00:00
James Vega
b95985c3aa dbchange now updates the added_by field 2003-09-16 18:53:09 +00:00
James Vega
292bb2550e Removed requested_by and use_count from {lart,excuse,insult,praise} tables 2003-09-16 18:11:16 +00:00
Jeremy Fincher
9ed2dcbc31 Fixed bug #807245, changetopic reorders topics. 2003-09-16 18:08:33 +00:00
James Vega
7719b8dad3 Fixed a couple typos in dbinfo 2003-09-16 17:16:11 +00:00
James Vega
32b0b65475 plugins/FunDB.py: added support for dbchange
test/test_FunDB.py: added testing for dbchange
2003-09-16 16:49:17 +00:00
Daniel DiPaolo
467688de74 A bit of cleanup work, mostly on the python zegrep portion of debfile 2003-09-15 02:45:39 +00:00
Jeremy Fincher
679b8fbaee Fixed output in the face of a single responding dictionary. 2003-09-14 07:39:39 +00:00
Daniel DiPaolo
3da65af7c8 * Beginnings of news stuff, yay 2003-09-14 07:38:26 +00:00
Jeremy Fincher
e729b430b6 Updated for the new ircdb.users. 2003-09-14 02:43:17 +00:00
Jeremy Fincher
644fd692fa Changed random.sample(seq, 1)[0] to random.choice. Completely forgot the name of the choice function. 2003-09-14 01:18:50 +00:00
Jeremy Fincher
b497acbc43 Removed the URL from the snarfer output. 2003-09-13 22:32:32 +00:00
Jeremy Fincher
9f51a69d96 Moved calc and rpn from FunCommands to the new Math plugin. 2003-09-13 15:00:22 +00:00
Jeremy Fincher
d2ec31c45b Fixed bug in removeAlias that it wouldn't clear the frozen set. 2003-09-13 14:46:03 +00:00
Jeremy Fincher
358533b335 Removed deepthought command now that we have a supyfact for it. 2003-09-13 13:39:41 +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
fb60da149b Added ability to specify optional arguments in aliases with @\d+. 2003-09-13 13:30:33 +00:00
Jeremy Fincher
41d266f207 Updated ircdb to have persistent user ids. 2003-09-12 20:06:58 +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
Daniel DiPaolo
47ea9b809f * Fixed Debian's debfile command to work properly 2003-09-11 18:46:17 +00:00
Jeremy Fincher
9eb08fa205 Removed length restriction from deepthought. 2003-09-11 18:39:47 +00:00
Jeremy Fincher
7dfeb8d486 Added necessary imports to configure. 2003-09-11 12:32:39 +00:00
Jeremy Fincher
60dc66927d Added special handling in the case where the bot is kicked from the channel. 2003-09-11 10:27:49 +00:00
Jeremy Fincher
bafc23f536 Added configure questions. 2003-09-11 10:05:24 +00:00
Jeremy Fincher
e6556ec101 Removed zipcode stuff. 2003-09-11 09:56:59 +00:00
Jeremy Fincher
99f88bd20a Added DCC CHAT support. 2003-09-11 06:43:49 +00:00
Jeremy Fincher
77ff4f8036 Help updates, updates for metagoogle, and a change in bolding. 2003-09-10 22:29:34 +00:00
Jeremy Fincher
7605f6512e Initial checkin. 2003-09-10 22:22:50 +00:00
Jeremy Fincher
273e4a7a0c Added removeAlias method for easy access from within other plugins. 2003-09-10 21:15:09 +00:00
Jeremy Fincher
dca69510f3 Extracted alias-adding functionality out into a function usable from within other plugins. 2003-09-10 20:25:15 +00:00
Jeremy Fincher
d46f6494e7 Made --url into --fancy and made simple URL responses the default. 2003-09-10 18:15:28 +00:00
Jeremy Fincher
ffefdf1ab7 Added new pipe syntax to check for recursive aliases. 2003-09-10 08:15:44 +00:00
Jeremy Fincher
ecc820a49c Fixe for bug with titles that spread across lines. 2003-09-09 21:00:36 +00:00
Jeremy Fincher
580edc37c5 Added a commit to doPrivmsg. 2003-09-09 17:40:47 +00:00
Jeremy Fincher
949deee935 Added RFE #802856, so regexps aren't required by searchfactoids. 2003-09-09 08:41:16 +00:00
Jeremy Fincher
073040d92e Fixed bug #802804 about the bad appearance of [not an acronym]. 2003-09-09 08:33:07 +00:00
Jeremy Fincher
d68c42684d Fixed bug #802801 about calc exposing too ugly error messages. Added tests. 2003-09-09 08:25:33 +00:00
Jeremy Fincher
9bca5d98f7 Fixed bug #802826, --safe wouldn't work. 2003-09-09 08:23:36 +00:00
Jeremy Fincher
e386518997 Fixed escaping KeyError and added test. 2003-09-09 07:57:49 +00:00
Jeremy Fincher
2719812074 Fixed bug with ACTIONs and added test. 2003-09-09 07:36:41 +00:00
Jeremy Fincher
8e44660692 Forgot to change the --url results based on now getting the id from the database. 2003-09-09 03:53:27 +00:00
Jeremy Fincher
cec0f77538 Changed unlearn to forget. 2003-09-08 20:14:46 +00:00
Jeremy Fincher
3625d98ed7 Removed extra dot.. 2003-09-08 20:13:27 +00:00
Jeremy Fincher
0c3e75b282 Added #id to lasturl. 2003-09-08 19:44:09 +00:00
James Vega
89d5f7a088 Make sure the urllib2 file gets closed properly in pgpkey 2003-09-08 17:35:24 +00:00
James Vega
cc07bc1272 Switched pgpkey from using .read() to .readline() since there's possibly a large amount of results. 2003-09-08 17:15:26 +00:00
James Vega
d9e3a199b0 Removed the trailing ' :: ' from pgpkey 2003-09-08 08:59:43 +00:00
James Vega
ecdcc63756 Switched a couple error messages to use conf.replyNotRegistered 2003-09-08 08:58:56 +00:00
James Vega
f8c85b07bc Fixed doPrivmsg and added more useful error messages 2003-09-08 08:58:00 +00:00
Jeremy Fincher
43fbbb9b70 Changed to use callbacks.reply again, now that we have the prefixName option. 2003-09-08 08:50:57 +00:00
James Vega
9d8aa07f86 Added pgpkey and a test case for it 2003-09-08 08:48:33 +00:00
Jeremy Fincher
7ed17912d2 Fixed bug where it doesn't respond to non-registered users. 2003-09-08 08:32:06 +00:00
Jeremy Fincher
66b62a42cd Fixed calc command. 2003-09-07 20:29:42 +00:00
Jeremy Fincher
da6f429fe5 Made a do376 so it authenticates (hopefully) before joining a channel. 2003-09-07 09:49:43 +00:00
Jeremy Fincher
4ca8f91fa9 Added WHERE clause for making sure started <> 0. 2003-09-07 08:09:23 +00:00
Jeremy Fincher
e53d4e7f87 Removed less command. 2003-09-07 06:34:07 +00:00
Jeremy Fincher
e3148c03fe Removed foldoc command (it's markedly inferior to Dict.dict). 2003-09-07 06:32:13 +00:00
Jeremy Fincher
cfa737d1d7 Changed limit to 100 instead of 10. 2003-09-07 06:23:32 +00:00
Jeremy Fincher
b6993152e6 Converted not to care about how long its messages are. 2003-09-07 06:10:09 +00:00
Jeremy Fincher
61ad6c7f1d Fixed bugs all over it. 2003-09-07 06:07:25 +00:00
Jeremy Fincher
b68908ed00 Convert not to care how long its messages are. 2003-09-07 06:01:25 +00:00
Jeremy Fincher
d3f1ca724f Convert not to care how long its messages are. 2003-09-07 05:37:49 +00:00
Jeremy Fincher
3161bb5750 Converted to not care how long its messages are. 2003-09-07 05:34:56 +00:00
Jeremy Fincher
5ef3d7c5f5 Moved tell and last commands from FunCommands to MiscCommands. 2003-09-07 05:26:18 +00:00
Jeremy Fincher
0c3cb0522b Converted to not worry about message length. 2003-09-07 05:08:30 +00:00
Jeremy Fincher
8a70f15e89 Fixed bug in aliases with no arguments and added test for it. 2003-09-06 21:58:42 +00:00
Jeremy Fincher
e01d52b2f2 Added less command. 2003-09-06 21:51:21 +00:00
Jeremy Fincher
63403e6408 Fixed documentation bugs. 2003-09-06 18:29:44 +00:00
Jeremy Fincher
b0ccf44e2b Fixed a documentation bug and changed startnickserv to startservices. 2003-09-06 18:26:31 +00:00
Jeremy Fincher
0c9efdf1ae Wasn't calling setDaemon on threads spawned in PeriodicFileDownloader. 2003-09-06 18:18:34 +00:00
Jeremy Fincher
526ac1ee18 Added URL for codecs module to encode/decode morehelps. 2003-09-06 08:39:50 +00:00
Jeremy Fincher
74d3b7820f Added PluginDocumentation to test to make sure all commands have documentation. 2003-09-06 06:23:03 +00:00
Jeremy Fincher
1ad3ec9914 Fixed some bugs with removetopic when the topic didn't match topicUnformatter. 2003-09-06 05:25:42 +00:00
Jeremy Fincher
1795229d85 Added dup to rpn and fixed bug with calc and rpn commands that they couldn't do negative values. 2003-09-06 05:25:05 +00:00
Jeremy Fincher
0bcffe0d3e Changed morehelp for translate. 2003-09-06 04:51:28 +00:00
Jeremy Fincher
e0396337b1 Made outFilter handle empty TOPICs. 2003-09-06 02:10:55 +00:00
Jeremy Fincher
9249df4d25 Made to ignore empty TOPICs just sent for information. 2003-09-06 02:06:57 +00:00
Jeremy Fincher
5974639ee3 Made Enforcer send an empty TOPIC to each channel when startenforcer is called so there is no exception when self.topics is empty. 2003-09-06 02:03:44 +00:00
Jeremy Fincher
b3253df28e do332 wasn't guarded by self.started. 2003-09-06 01:15:32 +00:00
Jeremy Fincher
8f2766b5ce Fixed UnboundLocalError from a variable name change in debfile. 2003-09-06 01:06:28 +00:00
Jeremy Fincher
2484ce94be Bold, for Strike. And also a bugfix, so it's not an entirely useless commit :) 2003-09-05 20:53:49 +00:00
Jeremy Fincher
9ddc8b2402 Forgot a format. 2003-09-05 20:47:35 +00:00
Jeremy Fincher
559bd74928 Added a randomdictionary example and changed the no matches output in the case where a dictionary is specified. 2003-09-05 20:46:39 +00:00
Jeremy Fincher
7501b3a625 Moved dict stuff to its own plugin. 2003-09-05 20:22:43 +00:00
Jeremy Fincher
e59f076f48 Forgot module docstring. 2003-09-05 19:50:38 +00:00
Jeremy Fincher
21f0cb89ae Moved babelfish stuff to its own plugin. 2003-09-05 19:49:44 +00:00
Jeremy Fincher
49ef542c83 Added --url option to lasturl. 2003-09-05 19:37:58 +00:00
Jeremy Fincher
0719bdec92 Added priority stuff for RFE #799899 2003-09-05 19:28:04 +00:00
Jeremy Fincher
0f843dd651 Fixed stupid failed tests in Notes. I'm retard. 2003-09-05 19:01:02 +00:00
Jeremy Fincher
5bcd98e1a4 Finally found that crazy KeyError exception being raised, I think. 2003-09-05 18:53:09 +00:00
Jeremy Fincher
fed6273f03 Make mention of <snip> in morehelp. 2003-09-05 15:47:15 +00:00
Jeremy Fincher
b682b8c2dc Bold <snip>. 2003-09-05 15:45:00 +00:00
Jeremy Fincher
39a5879d3f Fixed docstring for last command and change the way dict shows chopped entries. 2003-09-05 15:42:43 +00:00
Jeremy Fincher
5944282355 Added more example. 2003-09-05 10:56:30 +00:00
Jeremy Fincher
dc2e2077fb Added rudimentary whois command. 2003-09-05 09:59:59 +00:00
Jeremy Fincher
596958c4cc Added beGracious, changed to raw strings for regexps, and created test. 2003-09-05 09:40:26 +00:00
Jeremy Fincher
3be6255745 Updated example to have searchfactoids. 2003-09-05 08:17:14 +00:00
Jeremy Fincher
5fbba15857 Converted searchfactoids to accept a regular expression. 2003-09-05 08:15:26 +00:00
Jeremy Fincher
b2beec0804 Forgot to remove a format character after the last commit. 2003-09-05 06:55:58 +00:00
Jeremy Fincher
20036816c8 Converted uses of utils.pluralize to utils.nItems. 2003-09-05 06:49:14 +00:00
Jeremy Fincher
28b0fdba97 Made sure to close file descriptors in debfile. 2003-09-05 06:47:12 +00:00
Jeremy Fincher
d43b1ea700 Added dictionaries command and changed the order of the arguments to the dict command; also added --fancy argument to last command. 2003-09-05 04:28:56 +00:00
Jeremy Fincher
ea74e4e898 Fixed bug with multiple criteria in the last command. 2003-09-05 03:34:37 +00:00
Jeremy Fincher
b1a40f1cfd Rudimentary key searching added with the searchfactoids command. 2003-09-05 01:30:02 +00:00
Jeremy Fincher
55e3478668 Uh, I thought I committed this already...moved functions from fix.py to utils.py. 2003-09-05 00:16:28 +00:00
Jeremy Fincher
1208dd863a Oops, forgot a parenthese. 2003-09-04 21:37:38 +00:00
Jeremy Fincher
1d70b27b79 Added a die method. 2003-09-04 21:36:01 +00:00
Jeremy Fincher
f65829b768 Moved several things from fix.py to utils.py. 2003-09-04 20:42:37 +00:00
Jeremy Fincher
fff4a7d864 Made a set of the dbs that responded so each db only gets listed once. 2003-09-04 17:17:03 +00:00
Jeremy Fincher
9a2f80ae7b Forgot to commit from chemistry. 2003-09-04 17:13:13 +00:00
Jeremy Fincher
062231bb4b Added code to allow removal of all factoids associated with a given key. 2003-09-04 12:14:12 +00:00
Jeremy Fincher
dab57f3080 Fixed bug #800165. 2003-09-04 12:08:02 +00:00
Jeremy Fincher
3fb97984dc Removed the crazy topicPrefix stuff, it was pretty useless. 2003-09-03 20:41:28 +00:00
Jeremy Fincher
d0b7d5906f <Strike|work@oftc> I like the extraneous '.' on the end of the factoids. 2003-09-03 20:29:04 +00:00
Jeremy Fincher
f719009e1d Fixed something, although by now I forget what it was. Ah, the doTopic stuff. Yeah, I fixed that. 2003-09-03 20:00:54 +00:00
Jeremy Fincher
339375bc42 Made to work again. 2003-09-03 18:45:29 +00:00
Jeremy Fincher
fa878a9289 Fixed bug in doKick. 2003-09-03 18:45:17 +00:00
Jeremy Fincher
dfb1b26333 Added a doKick. 2003-09-03 18:42:52 +00:00
Jeremy Fincher
2e23c68afb Just chop off the extra if everything is too big; also allow specification of the dictionary. 2003-09-03 18:16:06 +00:00
Jeremy Fincher
56e6fbd21c There is no more BasePlugin. 2003-09-03 17:50:32 +00:00
Jeremy Fincher
4200b4a4a7 Updated doJoin to use utils.nItems and made it doPrivmsg instead. 2003-09-03 17:43:06 +00:00
Jeremy Fincher
0791d9cbea Changed last/lastfrom to the new method as per RFE 798374. 2003-09-03 17:18:38 +00:00
Jeremy Fincher
67d5465329 Changed an if to an elif in lasturl. 2003-09-03 17:03:38 +00:00
Jeremy Fincher
1da0f301f5 Small change in order of sortBy and shrinkList. 2003-09-03 14:26:25 +00:00
Jeremy Fincher
c98a25d6a2 Oops, forgot the '% word' 2003-09-03 12:21:56 +00:00
Jeremy Fincher
fd57203a67 Changed a something to an anything and looped until a valid key is given in configure. 2003-09-03 09:45:11 +00:00
Jeremy Fincher
5857a17f88 Added dict command. 2003-09-03 09:38:17 +00:00
Jeremy Fincher
7bbb893662 Fixed bug where 'alias punish lart ' would make punish raise a 'cannot nest' error. 2003-09-02 19:51:04 +00:00
Jeremy Fincher
236582f5e9 Changed a popen2 to popen4. 2003-09-02 08:09:58 +00:00
Jeremy Fincher
9b2a114d0c Changed the name of the uptimeEnder function so it shows up more clearly in atexit._exithandlers. 2003-09-02 08:08:54 +00:00
Jeremy Fincher
92b2d195b3 Made seen command handle actions better. 2003-09-02 06:19:58 +00:00
Jeremy Fincher
a846928596 Added wtf command. 2003-09-01 18:41:16 +00:00
Jeremy Fincher
ee8deced50 Cosmetic; semicolon instead of comma. 2003-09-01 08:46:14 +00:00
Jeremy Fincher
3fd04637af Attempt to solve the atexit-closed-database problem. 2003-09-01 08:40:41 +00:00
Jeremy Fincher
8b1a47b295 Attempt to solve the atexit-closed-database problem. 2003-09-01 08:38:25 +00:00
Jeremy Fincher
6c81eb9084 Made 'import this' not print. 2003-09-01 08:05:14 +00:00
James Vega
862489d205 Modified a docstring 2003-09-01 07:44:08 +00:00
James Vega
aa9f8a997e Added new lart/praise functionality. Now accepts a reason for larting/praising something 2003-09-01 06:11:02 +00:00
Jeremy Fincher
44972da513 Cleaned up makeDb. 2003-09-01 05:51:32 +00:00
Jeremy Fincher
30d3747f1d Added utils.pluralize. 2003-09-01 05:42:35 +00:00
James Vega
01adb33deb Fix a typo 2003-09-01 05:03:27 +00:00
James Vega
0061e42c97 Added tableDict, tableExists() and createTables to clean up/fix makeDB() 2003-09-01 04:45:26 +00:00