Commit Graph

1628 Commits

Author SHA1 Message Date
Jeremy Fincher
8b093f3b2b Fixed some database errors. 2003-08-19 07:48:43 +00:00
James Vega
7aabcfd41d Fixed a typo. prfix->prefix 2003-08-19 01:20:56 +00:00
James Vega
23f2106c1a Added win/loss/draw percentages to Gameknot.py 2003-08-18 22:20:48 +00:00
Jeremy Fincher
861e29c391 Fixed the total matches problem. 2003-08-18 21:32:11 +00:00
Jeremy Fincher
6560f9e7ae Finally removed all the known bugs. 2003-08-18 07:10:17 +00:00
Jeremy Fincher
e05a0d18c9 Found a bug, wrote a test, yay. 2003-08-18 06:58:37 +00:00
Jeremy Fincher
6025ecac05 Stupid regexp error. 2003-08-18 06:43:26 +00:00
Jeremy Fincher
a50e81d23e Changed the gameknotSnarfer to show whose move it is or who won the game. 2003-08-18 06:41:09 +00:00
Jeremy Fincher
0f4a78dc2d Added a snarfer for stats links and refactored. 2003-08-17 22:01:26 +00:00
Daniel DiPaolo
83c44eecab * added new utility, findBinaryInPath which searches the PATH for a specific binary
* removed getSpellBinary, and replaced with findBinaryInPath calls
2003-08-17 20:09:09 +00:00
Daniel DiPaolo
352207b82a * more descriptive morehelp for spell in Unix.py
* show total matches and number shown for spell
2003-08-17 19:51:05 +00:00
Jeremy Fincher
effb14e34a Argh, stupid empty lines...I hate when I put those in there. 2003-08-17 19:19:57 +00:00
Jeremy Fincher
2b79b6501f A few updates to the spell command, and some tests. 2003-08-17 19:15:37 +00:00
Daniel DiPaolo
99a7386c02 * added a 'spell' function in Unix.py 2003-08-17 18:10:48 +00:00
Jeremy Fincher
3c5be8a362 Basic snarfing and random URL returning is done. 2003-08-17 09:31:04 +00:00
Jeremy Fincher
cae9f9a255 Added an ignore command, useful for sequencing several nested commands. 2003-08-17 09:26:05 +00:00
Jeremy Fincher
44d4c98dc7 Had to do a map(int, ...) thing because sqlite sometimes sucks at that kind of thing. 2003-08-17 06:22:01 +00:00
Jeremy Fincher
b78cabaed5 Wrote some more tests for FunCommands; found some bugs in the process. 2003-08-17 02:02:53 +00:00
Jeremy Fincher
074268ffe6 Added some tests and fixed a bug they found in the title command. 2003-08-15 17:40:14 +00:00
Jeremy Fincher
a5baf0eb41 Stopped coloring networks, it sucked. 2003-08-15 05:41:51 +00:00
Jeremy Fincher
977031163e Made Notes notify on PRIVMSG as well as JOIN. 2003-08-15 03:00:59 +00:00
Jeremy Fincher
cb6f1a1432 Made zipcode handle zipcodefor stuff. 2003-08-15 03:00:10 +00:00
Jeremy Fincher
5cacbfb18a Wrong pluralization in karma. 2003-08-15 02:56:29 +00:00
Jeremy Fincher
d25b3894d7 Fixed bug in calc. 2003-08-15 00:42:35 +00:00
Jeremy Fincher
330dfad1ea Added specific logging of CTCP requests. 2003-08-14 17:54:28 +00:00
Jeremy Fincher
0231cdcfd4 Somewhat working now. 2003-08-14 12:11:45 +00:00
Jeremy Fincher
ebd2113eb3 Moved zipcode over to the FunDB module. 2003-08-14 10:51:42 +00:00
Jeremy Fincher
e30aa883cf Made the db commit before closing in ChannelDBHandler. 2003-08-13 05:53:34 +00:00
Jeremy Fincher
6d40bb475e Karma works now. 2003-08-12 19:38:23 +00:00
Jeremy Fincher
7fb632c49f Changed colorization slightly to include network abbreviation. 2003-08-12 19:10:27 +00:00
Jeremy Fincher
9b62a861c6 Removed an unneeded debug.printf. 2003-08-12 18:45:23 +00:00
Jeremy Fincher
88c6c7b136 Some changes to the karma stuff, I forget the details. 2003-08-12 18:44:13 +00:00
Jeremy Fincher
ad432a640a Added more color to reduce collisions; robustified relaywhois. 2003-08-12 08:48:16 +00:00
Jeremy Fincher
d81c1be4f2 Moving ChannelStats over to ChannelDB as we add karma and quotes. 2003-08-11 22:31:16 +00:00
Jeremy Fincher
39cce9c3af Changed from 's.find(x) != -1' to 'x in s' 2003-08-11 17:16:03 +00:00
Jeremy Fincher
241d20ea30 Removed, since gameknot was the last thing in it. 2003-08-11 05:22:51 +00:00
Jeremy Fincher
bba0e6e880 Moved gameknot stuff out to its own module. 2003-08-11 05:22:15 +00:00
Jeremy Fincher
1bbcfa9a5e Added a semi-accurate refcount measure to objects. 2003-08-11 05:06:41 +00:00
Jeremy Fincher
0cf850dfc1 Made to use new PrivmsgCommandAndRegexp callback. 2003-08-11 03:37:15 +00:00
Jeremy Fincher
abd94e32fb *Really* optimized objects command. 2003-08-07 09:19:40 +00:00
Jeremy Fincher
02ce886b55 Added relaysay command. 2003-08-07 08:20:23 +00:00
Jeremy Fincher
6dded57ea2 A few minor optimizations to take advantage of itertools. 2003-08-07 06:25:33 +00:00
Jeremy Fincher
36996dd3cf Updated stuff for 2.3 to break 2.2 compatibility :) 2003-08-07 02:48:44 +00:00
Jeremy Fincher
b4633370ce Forgot to add the % name to the 'no user' gkstats response. 2003-08-05 05:02:21 +00:00
Jeremy Fincher
6e19d921c8 Forget this with the other 2.3 upgrade stuff. 2003-08-01 02:58:29 +00:00
Jeremy Fincher
80b04b4d09 Added encode and decode commands. 2003-07-31 06:43:19 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
a6f8ddab18 Fixed googleinfo updating. 2003-07-30 20:07:25 +00:00
Jeremy Fincher
1230769fe0 Added googlefight command and cleaned up the output of metagoogle command. 2003-07-30 19:39:58 +00:00
Jeremy Fincher
f7637bd19c Added metagoogle command. 2003-07-30 19:08:05 +00:00
Jeremy Fincher
33f2818398 Made Relay use ircutils.canonicalColor. 2003-07-30 11:01:44 +00:00
Jeremy Fincher
1891a46894 Fixed bug in deepthought. 2003-07-29 12:48:54 +00:00
Jeremy Fincher
fb730d72a1 Fixed bug in acronym; why did it blindly remove the first and last responses? 2003-07-24 13:33:31 +00:00
Jeremy Fincher
b64e0d5730 Added a set of deepthoughts so lookup is faster if the queue gets large. 2003-07-24 10:09:50 +00:00
Jeremy Fincher
5644c8da57 Changed some mircColor stuff. 2003-07-23 15:24:05 +00:00
Jeremy Fincher
7c34d8b449 Minor formatting change. 2003-07-23 15:14:14 +00:00
Jeremy Fincher
d346d877c9 Tweaked deblookup and changed its named to debversion. 2003-07-23 15:10:41 +00:00
Daniel DiPaolo
d3268414e3 * added preliminary version of deblookup module (basically a straight copy of
moobot's deblookup with some minor tweaks)
2003-07-23 06:40:05 +00:00
Daniel DiPaolo
0e16b70f8b * added mircColor() function to ircutils as well as mircColors dict
* added test cases for this function
* implemented nick coloring for Relay
2003-07-23 05:29:16 +00:00
Jeremy Fincher
50bcc22e24 Made unmorse handle underscores in addition to dashes (as longs) 2003-07-23 02:14:39 +00:00
Jeremy Fincher
3fe182b9c3 Must've forgotten an older commit... 2003-07-23 01:45:48 +00:00
Jeremy Fincher
194eb12b26 Added a module to remove bold outgoing from the bot. 2003-07-21 03:59:34 +00:00
Jeremy Fincher
65d2dabc5c Added shrink command. (made it shirnk a little more) 2003-07-16 18:47:26 +00:00
Jeremy Fincher
8ba0d3a1a4 Added shrink command. 2003-07-16 18:45:28 +00:00
Jeremy Fincher
e745ec6d88 It's a string, not an integer, idjit! 2003-07-02 19:00:43 +00:00
Jeremy Fincher
df02bd593e Fixed plurality problem in gkstats. 2003-07-02 18:58:45 +00:00
Jeremy Fincher
440a336010 Added relaywhois command. 2003-06-22 16:17:33 +00:00
Jeremy Fincher
e689904c90 Changed me handling in lart. 2003-06-18 06:45:21 +00:00
Jeremy Fincher
d9399fb304 Added urllib.unquote to foldoc error message. 2003-06-14 10:40:52 +00:00
Jeremy Fincher
73c3b811aa Changed style of ord command to be cleaner. 2003-06-13 16:53:33 +00:00
Jeremy Fincher
046c6998e4 Fixed binary command. 2003-06-12 16:05:27 +00:00
Jeremy Fincher
1a704ef1f7 Made Markov module threaded. 2003-06-10 16:51:21 +00:00
Jeremy Fincher
a6d9ee029f Fixed the null nick problem with the IRC bot's own messages. 2003-06-10 07:31:11 +00:00
Jeremy Fincher
1131cc4f15 Changed format of ACTIONs to match normal PRIVMSGs. 2003-06-05 21:03:22 +00:00
Jeremy Fincher
82bb295b20 Fixed enqueuing in deepthought. 2003-06-03 05:24:21 +00:00
Jeremy Fincher
ee805e2860 Fixed IndexError on empty deepthoughtq. 2003-06-03 03:25:19 +00:00
Jeremy Fincher
800efee2ea Removed spurious quoting from acronym. 2003-06-02 07:21:35 +00:00
Jeremy Fincher
4be5d42dc5 Fixed Http.deepthought to queue thoughts and to import structures for such queueing. 2003-06-02 06:55:51 +00:00
Jeremy Fincher
f0c32e039d Stupid SyntaxError...grrr... 2003-06-02 06:51:09 +00:00
Jeremy Fincher
0f018d0221 Changed acronym to allow as many acronyms as possible. 2003-06-02 06:46:40 +00:00
Jeremy Fincher
b6e9d10a96 Added import sre_constants. 2003-06-02 06:42:15 +00:00
Jeremy Fincher
f10eff889d Added import utils. 2003-06-02 06:41:35 +00:00
Jeremy Fincher
9bf2b8a624 Handled case in last where argument isn't an integer. 2003-06-02 05:57:54 +00:00
Jeremy Fincher
c31078339b Failed google now handled in googleSnarfer. 2003-06-02 05:53:16 +00:00
Jeremy Fincher
663a9f75ae Failed regexp now handled in googlegroups. 2003-06-02 05:48:57 +00:00
Jeremy Fincher
c5e1e8e89a Fixed NameError in topic. 2003-06-02 05:42:57 +00:00
Jeremy Fincher
6f7e3e53c1 Moved queue from fix to structures. 2003-05-29 16:35:35 +00:00
Jeremy Fincher
5bc901e125 Changed foldoc to hopefully stave off the empty return. 2003-05-23 05:46:33 +00:00
Jeremy Fincher
09340376cb Changed utils.timeElapsed to use just a seconds instead of a now/then argument. 2003-05-20 15:37:25 +00:00
Jeremy Fincher
b633960740 Fixed lart code not to lart the bot himself. 2003-05-16 18:04:46 +00:00
Jeremy Fincher
26f185c0e9 Changed some formatting of command relays. 2003-04-30 14:49:09 +00:00
Jeremy Fincher
6822cc31a7 Better error handling for title command. 2003-04-29 15:40:02 +00:00
Jeremy Fincher
d7bdb77538 Fixed bug in googlesite. 2003-04-29 15:34:27 +00:00
Jeremy Fincher
b1e95f8b64 Started trying to make factoids useful. 2003-04-29 13:25:40 +00:00
Jeremy Fincher
670669fe68 Initial checkin. 2003-04-29 13:08:39 +00:00
Jeremy Fincher
45cdde675c Added title command; fixed a latent bug or two. 2003-04-29 06:48:54 +00:00
Jeremy Fincher
b037bcda4b Changed to only message doJoin when the user hasn't been notified of new messages. 2003-04-25 08:49:02 +00:00
Jeremy Fincher
8d0d138850 Updates to variable names and whatnot. 2003-04-24 17:36:25 +00:00
Jeremy Fincher
4f094a2e83 Changed utils.shrinkList to ircutils.shrinkList. 2003-04-24 16:35:20 +00:00
Jeremy Fincher
3620be1ed2 Forgot the utils. 2003-04-23 22:38:38 +00:00
Jeremy Fincher
0cc386e7f7 Change notification to only-notify-of-unnotified-messages. 2003-04-23 22:32:55 +00:00
Jeremy Fincher
5045894dcc Changed the order of __init__s (yeah, I'm a dork). 2003-04-22 11:24:57 +00:00
Jeremy Fincher
c39fba7b0b Syntax fix for SQL. 2003-04-21 13:07:01 +00:00
Jeremy Fincher
c46ae750f6 Removed spurious parentheses. 2003-04-20 21:56:08 +00:00
Jeremy Fincher
80e4dfbe63 Added world.threadsSpawned, logging of the number of threads spawned, and added the information to cpustats. 2003-04-20 16:15:35 +00:00
Jeremy Fincher
e06ce955fa Changed formatting of rpn in case of a non-empty stack. 2003-04-20 09:04:27 +00:00
Jeremy Fincher
b9153e5ad0 Added rpn command. 2003-04-20 08:52:59 +00:00
Jeremy Fincher
11a674eb2b Added handling for case of a channel with no pairs/follows. 2003-04-20 07:15:31 +00:00
Jeremy Fincher
f8bc027ede Added morehelp for the whole module. 2003-04-20 06:26:17 +00:00
Jeremy Fincher
4b3c9162b9 Added something to stop assertion errors in case of ChanServ stuff. 2003-04-20 01:40:55 +00:00
Jeremy Fincher
7971760790 Forgot to import drivers. 2003-04-20 00:10:53 +00:00
Jeremy Fincher
85abb8c3bb Fixed strange editing error. 2003-04-20 00:00:37 +00:00
Jeremy Fincher
ee74036505 Changed to be driver-module independent. 2003-04-19 23:51:11 +00:00
Jeremy Fincher
499507c103 Fixed tyop. 2003-04-19 22:38:40 +00:00
Jeremy Fincher
ed06656025 Moved google groups snarfer to the Google module. 2003-04-19 22:16:57 +00:00
Jeremy Fincher
43ae9188b5 Changed format of rssinfo command. 2003-04-19 21:40:39 +00:00
Jeremy Fincher
747d48c7ab Changed a few SQL statements and added oldnotes command. 2003-04-19 21:40:04 +00:00
Jeremy Fincher
ab7fd51ddd Changed morse/unmorse and related stuff to be (hopefully) clearer. 2003-04-19 21:39:23 +00:00
Jeremy Fincher
85331d2848 Added support for old google (the crazy irc bot)-style google responses. 2003-04-19 21:38:38 +00:00
Jeremy Fincher
1c49500263 Added strtranslate, strupper, and strlower. 2003-04-19 21:23:05 +00:00
Jeremy Fincher
8054a1cf5d Changed format slightly in rssinfo. 2003-04-19 07:03:29 +00:00
Jeremy Fincher
7e56114971 Normalize whitespace in rssinfo. 2003-04-19 07:01:01 +00:00
Daniel DiPaolo
99666246ed * Corrected the gameknot Forums regex to not require the ("&r=\d+") part since
not all the URLs necessarily have it.
* Added the game title to the output as well (haven't done a ton of testing on
  the regex, but it worked on every game I tried it on)
2003-04-19 04:43:46 +00:00
Jeremy Fincher
c506306635 Changed size of results and removed list of commands. 2003-04-18 14:47:52 +00:00
Jeremy Fincher
fa53cf34d5 Rewrote dict command. 2003-04-18 08:20:27 +00:00
Jeremy Fincher
c99f68894a Changed to use ircutils.shrinkList. 2003-04-18 08:19:22 +00:00
Jeremy Fincher
b321ca8bb9 Wrong number of arguments on error. 2003-04-17 10:07:06 +00:00
Jeremy Fincher
32268cdef8 Removed unused import. 2003-04-17 10:06:29 +00:00
Jeremy Fincher
ba67e2c8e0 Made it htmlToText headlines. 2003-04-17 10:06:11 +00:00
Jeremy Fincher
8d50d79e7a Added new getopt capability to google command. 2003-04-17 10:05:22 +00:00
Jeremy Fincher
e9e81227eb Initial import. 2003-04-17 09:59:22 +00:00
Jeremy Fincher
df3dcb7e2a Various updates. 2003-04-17 08:39:04 +00:00
Jeremy Fincher
5a11ebd8bd Fixed searchports somewhat. 2003-04-16 15:15:41 +00:00
Jeremy Fincher
110eb47529 Qualified foldoc raise of ArgumentError. 2003-04-16 08:35:13 +00:00
Jeremy Fincher
aafc138745 Fixed permissions bug. 2003-04-16 08:34:44 +00:00
Jeremy Fincher
42e1a7ca34 Added morehelps to all commands. 2003-04-16 08:26:58 +00:00
Jeremy Fincher
243e6eaa7c Removes list of commands in module docstring. 2003-04-16 07:22:06 +00:00
Jeremy Fincher
b11c3f4a8b Added notification on join of unread/unnotified messages. 2003-04-16 07:21:06 +00:00
Jeremy Fincher
481c9f31ac Fixed changetopic to use utils.perlReToReplacer and added help/morehelp for all commands. 2003-04-16 07:11:28 +00:00
Jeremy Fincher
d5484f620f Added final morehelp docstring. 2003-04-16 07:10:31 +00:00
Jeremy Fincher
cd73dfbc52 Changed formatting in presence of lacking titles and made it respond with as many results as it can. 2003-04-16 07:07:39 +00:00
Jeremy Fincher
9941d3534c Updated significantly; channelstats command added, bug fixed (frowns was only counting smileys) 2003-04-16 06:44:30 +00:00
Jeremy Fincher
aecad2fc58 Changed re command to use new utils functions. 2003-04-16 05:28:35 +00:00
Jeremy Fincher
b40431cf31 Added docstrings and method skeleton. 2003-04-15 23:29:40 +00:00
Jeremy Fincher
82c7d586ef Began switch to allow notifications. 2003-04-15 19:11:12 +00:00
Jeremy Fincher
f67fa45395 Added repr command and fixed strsplit. 2003-04-15 15:59:40 +00:00
Jeremy Fincher
25d90d6e43 Changed a few typos: irc.users -> ircdb.users. 2003-04-15 15:37:35 +00:00
James Vega
78687027b0 Fixed gkstats so that it doesn't display duplicate text with gkseen 2003-04-15 01:43:23 +00:00
James Vega
c7a867b589 The 'seen' regex for gkstats was changed back to searching through text instead of html. 2003-04-14 16:49:20 +00:00
Jeremy Fincher
c251ad32f3 Various code changes. 2003-04-14 15:10:38 +00:00
Jeremy Fincher
ea7a319157 Forgot to map(len, L). 2003-04-14 14:50:35 +00:00
Jeremy Fincher
7f21380417 Forgot to import operator. 2003-04-14 14:49:02 +00:00
Jeremy Fincher
71d13d49bb Forgot to self. cursor. 2003-04-14 14:47:49 +00:00
Jeremy Fincher
250cf8a95a Changed implementation of notes command. 2003-04-14 14:47:02 +00:00
Daniel DiPaolo
24234810fb Fixed gkstats to not break on people hiding their online status. (closes:
#720926)
2003-04-14 06:59:21 +00:00
Jeremy Fincher
0d99f0662a Removed makePrivate. 2003-04-14 06:57:41 +00:00
Jeremy Fincher
c6e47e6e12 Bugfix, hopefully 2003-04-14 05:38:44 +00:00
Jeremy Fincher
217f30ba7b Bugfix, hopefully 2003-04-14 05:35:02 +00:00
Jeremy Fincher
fd22551da9 Commented-out debugging printfs. 2003-04-14 05:32:31 +00:00
Daniel DiPaolo
4b0fd19e6c Overhaul of RSS.py:
* Changed caching mechanism to cache the entire feed instead of just the
  responses
* Added 'rssinfo' command to access the RSS info elements like URL,
  description, last updated time, etc.
* Updated docstrings and configure for the 'rssinfo' command
2003-04-14 05:17:49 +00:00
Jeremy Fincher
4caedf25b6 Converted some %d to %s. 2003-04-14 04:49:35 +00:00
Jeremy Fincher
662024d63d Changed ChannelLogger to only log channels. 2003-04-12 12:20:00 +00:00
Jeremy Fincher
066ed44b04 Changed seen to use utils.timeElapsed. 2003-04-12 10:39:04 +00:00
Jeremy Fincher
f6a286b311 Fixed makeNewAlias to allow and better argument handling. 2003-04-12 10:26:05 +00:00
Jeremy Fincher
4c67a96b49 Fixed bug in xor. 2003-04-11 21:49:47 +00:00
Jeremy Fincher
c92386f7cf Changed ISNULL(word) to word ISNULL. 2003-04-11 21:36:25 +00:00
Jeremy Fincher
13109d1f96 Changed word=NULL to ISNULL(word) 2003-04-11 21:33:23 +00:00
Jeremy Fincher
62a833f29a Added markovfirsts command. 2003-04-11 21:31:43 +00:00
Jeremy Fincher
8b0f62220d Added markovfirsts command. 2003-04-11 21:25:31 +00:00
Jeremy Fincher
fd43eeafb9 Fixed re command. 2003-04-11 21:19:28 +00:00
Jeremy Fincher
bd8de87438 Fixed re command. 2003-04-11 21:18:55 +00:00
Jeremy Fincher
62c407d694 Added re command. 2003-04-11 21:17:37 +00:00
Jeremy Fincher
9253ce5adc Stupid lack of import... 2003-04-11 21:05:16 +00:00
Jeremy Fincher
96e79c2b2d Fixed behavior for actions. 2003-04-11 21:04:34 +00:00
Jeremy Fincher
3ddc088764 Forgot to move two lines under the fix. 2003-04-11 21:00:51 +00:00
Jeremy Fincher
c282eadcc3 Fixed UnboundLocalError. 2003-04-11 20:57:39 +00:00
Jeremy Fincher
f39b35eb9b Must've forgotten this one earlier. 2003-04-11 20:52:39 +00:00
Jeremy Fincher
6aa1e8a7ed Changed many dictionaries to the more appropriate ircutils.IrcDict. 2003-04-11 20:42:21 +00:00
Jeremy Fincher
b24d360775 Just changed some inserts into _mathEnv to be in the initial declaration. 2003-04-11 20:04:43 +00:00
Jeremy Fincher
fd4c20c258 Added is_first field to database to make sure markov phrases start naturally. 2003-04-11 19:50:41 +00:00
Jeremy Fincher
78b44e7a1e Changed markov command to know when to stop instead of taking a length. 2003-04-11 14:08:45 +00:00
Jeremy Fincher
9de8e319f3 Slight format change to gameknot snarfer. 2003-04-11 07:38:51 +00:00
Jeremy Fincher
a576de04b1 Made ChannelDBHandler lowercase channels. 2003-04-11 07:08:11 +00:00
Jeremy Fincher
241e493755 Initial import. 2003-04-11 06:56:37 +00:00
Jeremy Fincher
d16c6aaed6 Initial (non-functional) import. 2003-04-09 19:16:52 +00:00
Jeremy Fincher
51386068e4 Finally got QUIT relaying to work. 2003-04-09 19:11:00 +00:00
Jeremy Fincher
5518f75714 Wrong index. 2003-04-09 19:00:23 +00:00
Jeremy Fincher
64b60dceae Trying different index. 2003-04-09 18:52:55 +00:00
Jeremy Fincher
7890e9dbdb Added some debug statements and fixed outFilter. 2003-04-09 18:46:41 +00:00
Jeremy Fincher
9295254ccb Wrong index. 2003-04-09 18:21:48 +00:00
Jeremy Fincher
79a1d351ad Added and started using MaxLengthQueue. 2003-04-09 18:12:38 +00:00
Jeremy Fincher
67412da988 Fixed stupid bug. 2003-04-09 18:05:39 +00:00
Jeremy Fincher
f6c46bc004 Change to irc.state.copy() 2003-04-09 18:02:00 +00:00
Jeremy Fincher
d37e229027 Fixed non-relaying of QUITs. 2003-04-09 17:49:55 +00:00
Jeremy Fincher
1bc77baebe Added getlart, getexcuse, getinsult. 2003-04-09 17:03:15 +00:00
Jeremy Fincher
8c9811ea05 Changed AsyncoreDriver to accept an irc as an argument, hopefully fixing the looping bug. 2003-04-09 15:07:23 +00:00
Jeremy Fincher
088e984f8f Commented out debug.printf statements. 2003-04-09 04:31:54 +00:00
Jeremy Fincher
e5a6f83aed Added morehelp to googlelicensekey 2003-04-08 19:19:21 +00:00
Jeremy Fincher
1113173077 Initial import. 2003-04-08 19:16:18 +00:00
Jeremy Fincher
ce1435a55f Minor changes 2003-04-08 09:11:33 +00:00
Jeremy Fincher
24129e2867 Moved from plugins/deprecated/ 2003-04-08 08:40:50 +00:00
Jeremy Fincher
bdd6207b9f Stupidity 2003-04-08 08:30:28 +00:00
Jeremy Fincher
33a9e88c76 Changed strsplit and arg. 2003-04-08 08:29:30 +00:00
Jeremy Fincher
15487a6416 Fixed arg. 2003-04-08 08:24:27 +00:00
Jeremy Fincher
22155c2714 Fixed AttributeError in strsplit. 2003-04-08 08:22:15 +00:00
Jeremy Fincher
c8c7c40791 Added arg command. 2003-04-08 08:20:48 +00:00
Jeremy Fincher
4cdf013c14 Improved formatting of headlines. 2003-04-08 07:52:24 +00:00
Jeremy Fincher
9a79c6b0ee Added echo command. 2003-04-08 07:19:56 +00:00
Jeremy Fincher
94e753aaaa Added configure to optionally disable progstats. 2003-04-08 07:18:53 +00:00
Jeremy Fincher
1035e9290a Added configure. 2003-04-08 07:15:45 +00:00
Jeremy Fincher
6adf5cf04b Totally changed interface and added configure. 2003-04-08 07:08:46 +00:00
Jeremy Fincher
11ae9119ba Added changes from jemfinch. 2003-04-08 07:07:54 +00:00
Jeremy Fincher
e5b0cd33a3 Added configure. 2003-04-08 07:07:10 +00:00
Jeremy Fincher
fa3e65d7b1 Added configure and proper length coverups for bad words. 2003-04-08 07:06:28 +00:00
Jeremy Fincher
6305958784 Initial import. 2003-04-08 07:00:39 +00:00
Jeremy Fincher
4f54eb864e Added 'quotes' to docstring (wasn't there before) 2003-04-06 12:24:56 +00:00
Jeremy Fincher
d625b56eae Added arstechnica and advogato; restructured to make adding feeds quick and easy. 2003-04-06 12:19:55 +00:00
Jeremy Fincher
43c0de76d9 Forgot to import time. 2003-04-06 11:49:53 +00:00
Jeremy Fincher
6976d587d5 Removed slashdot and moved it to RSS.py 2003-04-06 11:48:29 +00:00
Jeremy Fincher
78a2a21286 Initial import. 2003-04-06 11:42:41 +00:00
Jeremy Fincher
99364a27af Changed slashdot to use rssparser and also to remove all stories if the resulting message is too long. 2003-04-06 11:28:51 +00:00
Jeremy Fincher
9c78731123 Added morehelp. 2003-04-06 09:17:38 +00:00
Jeremy Fincher
047470f371 Fixed gkstats 'last seen' regexp. 2003-04-05 19:45:48 +00:00
Jeremy Fincher
a708471a45 Added morehelps and change a gkstats regexp slightly. 2003-04-05 19:41:59 +00:00
Jeremy Fincher
8f16571fdb Fixed stupid syntax error (wrong quotes around praise) 2003-04-05 12:37:15 +00:00
Jeremy Fincher
a50643c025 Added soundex to utils (along with a test) and to FunCommands. 2003-04-05 11:23:28 +00:00
Jeremy Fincher
7a3d06a2bb Changed NOTNULL to NOT NULL and the order of the methods (yeah, I'm anal) 2003-04-05 10:24:40 +00:00
Jeremy Fincher
100d0fa016 Added levenshtein distance 2003-04-04 15:49:24 +00:00
Jeremy Fincher
40b8eb3956 Changed ircutils.reply to ircutils.replyTo 2003-04-04 06:59:39 +00:00
Jeremy Fincher
46eb87808f Changed validArgument to isValidArgument 2003-04-04 06:08:36 +00:00
Brett Kelly
b5d47aa811 added numlarts, numinsults, and numexcuses 2003-04-04 02:35:18 +00:00
Jeremy Fincher
d6087e2906 Added i to _mathEnv 2003-04-03 09:59:05 +00:00
Jeremy Fincher
1eb088de21 Added timeElapsed and converted FunCommands to use it. 2003-04-03 09:11:57 +00:00
Jeremy Fincher
eb9e5c87f2 Changed drivers.close() to .die(). 2003-04-03 08:52:41 +00:00
Jeremy Fincher
ea11c0ea5f Whitespace changes 2003-04-03 08:24:52 +00:00
Jeremy Fincher
e9a5ad1367 Removed; subsumed by a smarter scripts/newplugin.py 2003-04-03 08:22:58 +00:00
Jeremy Fincher
0dfaa7881d Normalize whitespace in pydoc 2003-04-03 07:38:46 +00:00
Brett Kelly
073188eb25 all systems go, added some pretty stuffs to be STYLE compliant :) 2003-04-03 07:11:16 +00:00
Jeremy Fincher
9e05519660 Changed driver.die() to driver.close() 2003-04-03 06:58:30 +00:00
Brett Kelly
7c31468866 everything appears to be working, please lemme know if it barfs 2003-04-03 05:48:57 +00:00
James Vega
924d48ebad Prettified acronym's morehelp 2003-04-03 05:48:04 +00:00
Jeremy Fincher
f1b02e64e5 Formatting changes to netcraft and gkstats. 2003-04-02 16:13:29 +00:00
Jeremy Fincher
59a803d3b2 Ugh, stupid bug. 2003-04-02 16:05:26 +00:00
Jeremy Fincher
fcb0403711 Added proper response for invalid hostnames 2003-04-02 16:03:38 +00:00
Jeremy Fincher
c49bd6f88f Fixed handling of channel capabilities 2003-04-02 11:08:34 +00:00
Jeremy Fincher
6385806048 Changed a message to be more accurate 2003-04-02 10:07:06 +00:00
Jeremy Fincher
33847807f7 Forgot to remove the creation of debugging files. 2003-04-02 09:53:50 +00:00
Jeremy Fincher
089d032b34 Fixed AttributeError in cpustats 2003-04-02 09:31:50 +00:00
Jeremy Fincher
75768aa524 Added netcraft command 2003-04-02 08:54:23 +00:00
Brett Kelly
487c99c909 fixed output when querying for all unread notes 2003-04-02 08:30:12 +00:00
Jeremy Fincher
99cb3579a6 Fixed pydoc command to allow getting docstrings of objects in __builtins__. 2003-04-02 08:13:10 +00:00
Jeremy Fincher
10a0fe9f93 Made uptime command not based on loading of FunCommands module. 2003-04-02 07:50:35 +00:00
Jeremy Fincher
952b7b6517 Added pydoc command 2003-04-02 07:27:00 +00:00
Jeremy Fincher
ecdcabb4e6 Most structure and commands in place 2003-04-01 09:07:14 +00:00
Jeremy Fincher
3da6310065 Added some fixes; seen command works, and stats somewhat works. 2003-04-01 08:38:53 +00:00
Jeremy Fincher
dae47de713 Basic framework in place 2003-04-01 08:36:13 +00:00
Jeremy Fincher
f0cfa30eee Added QUIT propogation 2003-04-01 07:09:36 +00:00
Brett Kelly
e06f07d402 private/public messages working now 2003-04-01 02:30:10 +00:00
Brett Kelly
c618a8fd19 getnote (almost) works now 2003-04-01 01:44:02 +00:00
Jeremy Fincher
a52a1fe6d6 Forgot to change the class name 2003-03-31 15:55:38 +00:00
Jeremy Fincher
988618af4f Altered lithp command to handle 'z' and changed a list comprehension with a builtin to a map 2003-03-31 10:45:41 +00:00
Jeremy Fincher
bfc6533d22 Changed OverflowError message. 2003-03-31 10:34:22 +00:00
Jeremy Fincher
880e004abb Added better handling for OverflowError 2003-03-31 10:18:40 +00:00
Jeremy Fincher
c599e9962b Added binary command 2003-03-31 10:08:22 +00:00
Jeremy Fincher
390c1fa9ee Attribute mode changes to someone 2003-03-31 09:31:47 +00:00
Jeremy Fincher
2bb3189d54 Fixed nick and mode change propogation 2003-03-31 09:22:48 +00:00
Jeremy Fincher
534c367b89 Slightly modified acronym regexp not to capture extra groups 2003-03-31 08:10:33 +00:00
Jeremy Fincher
d6f7fef0f8 Changed acronym to use %r for definitions so they get quoted. 2003-03-31 07:06:13 +00:00
Jeremy Fincher
f9cdb62725 Added nick and mode propogation 2003-03-31 07:04:23 +00:00
Jeremy Fincher
371210da16 Removed Utils.py because it conflicts with src/utils.py on case-insensitive OSes 2003-03-31 06:30:32 +00:00
Jeremy Fincher
0fc8e5e0d4 Initial import; conflict with src/utils.py 2003-03-31 06:29:38 +00:00
Jeremy Fincher
8fd1d71952 Made lithp a little more naturally lispish 2003-03-31 05:56:22 +00:00
James Vega
b1a2b87ed3 Adjusted the regex. Added morehelp response. Adjusted the request so that it specifies a browser (site does browser-checking). Used some list comprehension to show only the first 5 results. 2003-03-31 03:26:23 +00:00
James Vega
fc0bbc34d2 Removed a print statement 2003-03-31 02:09:24 +00:00
James Vega
a2d004b3bd Fixed gkstats so that they work with utils.textToHtml 2003-03-31 02:06:42 +00:00
James Vega
f7939bd43b Finished the google groups fix. Added a check for links to framed pages in order to grab non-framed pages to parse through. 2003-03-28 17:56:27 +00:00
Jeremy Fincher
ce741a1f0e Added changetopic 2003-03-28 17:30:10 +00:00
Jeremy Fincher
f7c409055e Initial import; going off Ofnibot's source to start with. 2003-03-28 09:07:21 +00:00
Jeremy Fincher
6859415bc5 Removed a few unused modules PyChecker noticed 2003-03-28 08:02:43 +00:00
Jeremy Fincher
b943dafd29 Accidentally commited earlier; just a few style changes and docstring improvements. 2003-03-28 07:48:16 +00:00
Jeremy Fincher
85e7e3ae05 Removed CHANGELOG and TODO, not very useful these days 2003-03-28 07:38:16 +00:00
Jeremy Fincher
c42806665b Fixed 'let's send a new topic every second' problem. 2003-03-28 07:10:23 +00:00
Jeremy Fincher
8d857b6ffd Changed lithp command to change ss or SS to just th. 2003-03-28 07:00:15 +00:00
Jeremy Fincher
42d20674bb Changed lithp command to change Xes too. 2003-03-28 06:57:48 +00:00
Jeremy Fincher
c85b3bc052 Changed lithp command to be case-insensitive 2003-03-28 06:54:15 +00:00
Jeremy Fincher
c0804180b4 Added lithp command. 2003-03-28 06:52:08 +00:00
Brett Kelly
e861a8af89 gettin' there, slowly... 2003-03-28 06:25:12 +00:00
Jeremy Fincher
5f5ef91a11 Trying converters out. 2003-03-28 06:11:54 +00:00
Brett Kelly
a4ff3abea7 gettin' there, slowly... 2003-03-28 06:06:19 +00:00
Jeremy Fincher
e99df4442b Added topic propogation 2003-03-28 05:36:59 +00:00
Jeremy Fincher
25e71562d2 Formatting changes 2003-03-28 05:19:14 +00:00
Jeremy Fincher
55aaa596e0 Changed DBHandler to ChannelDBHandler 2003-03-28 05:15:08 +00:00
Brett Kelly
5f77c05cad and we're STILL fixing syntaxproblems 2003-03-28 03:57:12 +00:00
Jeremy Fincher
bce7b6fcd8 Changed stripHtml to utils.htmlToText 2003-03-28 03:53:22 +00:00
Jeremy Fincher
b0daafe00e *Really* fixed now. 2003-03-28 03:10:22 +00:00
Brett Kelly
9808581d37 Still toying with sql syntax 2003-03-28 02:56:05 +00:00
Jeremy Fincher
2db2f64696 Fixed NickServ module. 2003-03-28 02:44:01 +00:00
Jeremy Fincher
0863a95919 Removed a useless variable and changed a response to use conf.replyRequiresPrivacy 2003-03-28 02:34:31 +00:00
Jeremy Fincher
846b4853d7 Slight efficiency increase 2003-03-28 02:05:20 +00:00
Jeremy Fincher
88dbed38a1 Took out short blurb about GPL (Strike gave consent) 2003-03-28 02:02:45 +00:00
James Vega
c41b2c2109 Began fixing google groups parser. 2003-03-28 01:43:08 +00:00
Jeremy Fincher
b43acf0d5a Fixing relaydisconnect not to call otherIrc.die, since that kills the callbacks. 2003-03-28 01:36:00 +00:00
Jeremy Fincher
d33e67989b Forgot msg in someIrc.reply 2003-03-28 01:26:37 +00:00
Jeremy Fincher
c582cd9834 Finished polishing relaynames 2003-03-27 21:28:15 +00:00
Jeremy Fincher
b67f2fa874 Fixed showing of originating server in relaynames, and showing of empty name 2003-03-27 21:21:20 +00:00
Jeremy Fincher
a144afcd69 Fixed showing of originating server in relaynames, and showing of empty name 2003-03-27 21:18:49 +00:00
Jeremy Fincher
54221f1e87 Added relaynames command 2003-03-27 21:14:28 +00:00
Jeremy Fincher
3cea0564f1 Fixed exception-raising problem. 2003-03-27 21:03:02 +00:00
Jeremy Fincher
f1823ef5f5 (Hopefully) fixed joins-being-sent-to-original-channel bug. 2003-03-27 20:32:49 +00:00
Jeremy Fincher
fc20715427 Added utils.py, with a quality HTML stripper; removed stripHtml from other source files 2003-03-27 20:10:10 +00:00
James Vega
f355465ad6 _gkrecord regex needed to be before stripHtml. Also fixed the _gkseen regex since there is not always 2 spaces. Used \s+ instead. 2003-03-27 17:37:47 +00:00
Jeremy Fincher
4da96fb264 Fixed stupid bug in outFilter (* is a special regexp character) 2003-03-27 09:48:40 +00:00
Jeremy Fincher
5db1dbd595 Changed idiom in doPart to be more like others 2003-03-27 09:15:38 +00:00
Jeremy Fincher
c62a65e1ec Fixed a few bugs 2003-03-27 09:14:18 +00:00
Jeremy Fincher
da27691eac Fixed join/part being relayed bug 2003-03-27 09:14:00 +00:00
Jeremy Fincher
e3cf5753af Fixed problem with actions being relayed back to the original network 2003-03-27 08:56:34 +00:00
Jeremy Fincher
f32efbf2b2 Added Friendly.py, a module to be friendly to people. 2003-03-27 08:53:13 +00:00
Jeremy Fincher
256e2e0a5d Fixed stupid bug in outFilter (forgot *not*) 2003-03-27 08:37:17 +00:00
Jeremy Fincher
34a47130e1 Fixed stupid bug in outFilter (extra parenthese in regexp) 2003-03-27 08:27:35 +00:00
Jeremy Fincher
fae918a1ba Fixed stupid bug in outFilter (forgot to return msg) 2003-03-27 08:26:36 +00:00
Jeremy Fincher
32262af492 Changed over to privmsgs.CapabilityCheckingPrivmsg and finished relaydisconnect. 2003-03-27 08:24:22 +00:00
Jeremy Fincher
d5c7789cbb Made bot relay its own non-relay messages and factored out formatting of PRIVMSGs. 2003-03-27 08:17:51 +00:00
Jeremy Fincher
c268078697 Fixed action handling 2003-03-27 08:04:19 +00:00
Brett Kelly
b640aa746b Fixing SQL syntax 2003-03-27 07:13:37 +00:00
Brett Kelly
c299956101 Fixing little syntax errors 2003-03-27 06:31:32 +00:00
Brett Kelly
935b09d5b8 Made major changes to make it nearly functional, added methods to read, send, and delete notes 2003-03-27 06:07:21 +00:00
Brett Kelly
67944a8b1b initial import of Notes plugin (in progress) 2003-03-27 02:42:26 +00:00
Jeremy Fincher
4679d9b184 Added strsplit command 2003-03-26 10:38:46 +00:00
Jeremy Fincher
37ce2de476 Changed bareword to actual string. 2003-03-26 10:15:30 +00:00
Jeremy Fincher
df45ce1195 Fixed html stripping in foldoc. 2003-03-26 10:14:10 +00:00
Jeremy Fincher
6aacef4cf4 Fixed FunCommands.lastfrom actually use channel argument 2003-03-26 10:12:06 +00:00
Jeremy Fincher
e7da39da77 Untested, but close to functional 2003-03-26 10:04:26 +00:00
Jeremy Fincher
e112e32d71 Still buggy, but more featureful 2003-03-26 08:39:50 +00:00
Jeremy Fincher
6d56a864b4 Forgot irc.reply(msg, conf.replySuccess) in addlart. 2003-03-26 00:42:13 +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
4b6f87f195 Fixed an AttributeError (connection->conn) 2003-03-25 19:22:28 +00:00
Jeremy Fincher
6fa46793a0 Fixed a stupid variable name (def\!) 2003-03-25 19:21:42 +00:00
Jeremy Fincher
fa261c0e80 Added acronym and geekquote commands and triple-quoted method docstrings. 2003-03-25 09:02:03 +00:00
Jeremy Fincher
958d1c934e Added kernel command 2003-03-25 08:38:14 +00:00
Jeremy Fincher
eb48daa8d3 Added default module docstring and imported privmsgs and callbacks by default. 2003-03-25 07:00:29 +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
Jeremy Fincher
bf25751aa3 Added module docstring and dawdit alias for unmorse 2003-03-25 06:51:13 +00:00
Jeremy Fincher
54e0c07a9c Added module docstring and removed nslookup/host as aliases for dns 2003-03-25 06:49:58 +00:00
Jeremy Fincher
8bafe4ee12 Changed module docstring and the order of arguments for startnickserv 2003-03-25 06:35:53 +00:00
James Vega
0535b87c29 Corrected my gkstats _record regex. 2003-03-25 04:22:24 +00:00
James Vega
0294dd255c Made the 'record' regex more generic. This should make it work for everyone.
Added a check for 'Team', since not everyone will have one.
2003-03-25 01:40:49 +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
bbe6cbc05d Fixed bug #708321 2003-03-24 08:33:00 +00:00
Jeremy Fincher
67870237fd Removed cfactive, since, well, CoderForums isn't active. 2003-03-22 09:07:14 +00:00
Jeremy Fincher
7851ea4ef9 sets aren't lists, and don't have .extend(). 2003-03-22 08:14:36 +00:00
Jeremy Fincher
b6e98a577f Added slashdot command (thanks, inkedmn!) 2003-03-22 07:53:46 +00:00
Jeremy Fincher
8c27ab7917 Slightly changed format of gameknot URL snarfer 2003-03-22 03:15:12 +00:00
Jeremy Fincher
300cb1d766 Removed printf debug 2003-03-22 03:13:51 +00:00
Jeremy Fincher
d91b9e95ef Added team and "last seen" info in gkstats 2003-03-16 12:43:59 +00:00
Jeremy Fincher
b8189d55ce Fixed morse code 2003-03-15 12:49:54 +00:00
Jeremy Fincher
52b1270211 Removed __init__ and created _revcode more naturally. Also added some morehelp strings. 2003-03-15 12:39:46 +00:00
Jeremy Fincher
5aea60bd07 Added @give command. 2003-03-15 12:27:40 +00:00
Jeremy Fincher
24c6eaa9df Fixed chr command to take hex/oct/binary literals and added a base command 2003-03-15 12:00:31 +00:00
Jeremy Fincher
8d287c2f66 Fixed bad pluralization in cpustats 2003-03-15 11:51:16 +00:00
Jeremy Fincher
f6066236a9 Stupid tabs. 2003-03-15 11:18:28 +00:00
Jeremy Fincher
94c10ca5da Changed format of gameknot URL snarfer. 2003-03-15 11:11:55 +00:00
Jeremy Fincher
7e5162d8e4 Fixed various non-closed urllib2.urlopens; changed gkstats to respond appropriately if there's no such user. 2003-03-15 11:11:01 +00:00
Jeremy Fincher
3a6c557fd0 Added ord/chr commands 2003-03-15 10:00:49 +00:00
Jeremy Fincher
fcdcd11ed5 Changed gkstats command to respond that the user wasn't found on nonexistent users. 2003-03-15 09:49:31 +00:00
Jeremy Fincher
d2f56143dc Fixed strjoin and added strconcat 2003-03-15 00:55:43 +00:00
Jeremy Fincher
4670e6df55 Added license. 2003-03-13 16:28:12 +00:00
Jeremy Fincher
c86363db46 Made gameknot.com URL snarfer bold the names. 2003-03-13 07:58:05 +00:00
Jeremy Fincher
ced5e6b052 Fixed gameknot.com URL snarfer formatting 2003-03-13 07:55:49 +00:00
Jeremy Fincher
4ee9dc7217 Fixed gameknot.com URL snarfer formatting (double colons) 2003-03-13 07:53:13 +00:00
Jeremy Fincher
d782f7c725 Fixed gameknot.com URL snarfer 2003-03-13 07:52:04 +00:00
Jeremy Fincher
ee7e27436c Slightly changed the formatting of the output (again). 2003-03-13 07:37:21 +00:00
Jeremy Fincher
d9b17f5a45 Slightly changed the formatting of the output. 2003-03-13 07:34:11 +00:00
Jeremy Fincher
5ec9df1a2d Fixed some bugs in the weather command. 2003-03-13 07:31:38 +00:00
Jeremy Fincher
677a63a1c7 *** empty log message *** 2003-03-13 07:14:33 +00:00
Jeremy Fincher
5e39dbafa7 Added inkedmn's weather command. 2003-03-13 07:12:47 +00:00
Jeremy Fincher
c4a577c9c2 Minor change in formatting of Http module and foldoc command. 2003-03-12 15:12:49 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00