Commit Graph

803 Commits

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