Commit Graph

1014 Commits

Author SHA1 Message Date
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