Commit Graph

464 Commits

Author SHA1 Message Date
Jeremy Fincher
1342a76b95 Removed some debug.printfs. 2003-08-22 22:58:50 +00:00
James Vega
3c2ce0164a Added support for: created by, requested by, # requests to lart/praise/excuse/insult related functions
Added more error checking
Added a simple pluralizer
Added tests to stress lart/praise/excuse/insult portions of FunDB
2003-08-22 21:34:33 +00:00
Jeremy Fincher
436dc54ac3 Added configuration question for color. 2003-08-22 20:58:58 +00:00
James Vega
11c7124203 Added notification of which record number was added when adddb is called. 2003-08-22 08:10:58 +00:00
James Vega
52fab17e92 Added docstrings for ignore 2003-08-22 07:07:15 +00:00
James Vega
0b6fce1e06 Replaced the last of the specific functions with the general getdb.
Fixed some sql statements and cleaned up some responses.
2003-08-22 07:04:47 +00:00
Jeremy Fincher
c413261a3b Fixed crazy quoting bug. 2003-08-22 06:45:10 +00:00
James Vega
9b3faa1982 Removed some extraneous escaping of quotes and switched _tables from a list to a set. 2003-08-22 06:08:55 +00:00
James Vega
b785cc220f Remove an extraneous print statement 2003-08-22 05:40:36 +00:00
James Vega
24005d3df1 FunDB: Made more general get/remove/num/add commands to consolidate getlart, numinsults, et.al.
test_FunDB: Started adding tests for FunDB
2003-08-22 05:36:53 +00:00
James Vega
11a3cf195c Add the missing "onStart.append('load Amazon')" 2003-08-22 03:45:21 +00:00
Jeremy Fincher
35c33276ea Moved debversion to Debian from Http. 2003-08-22 00:52:10 +00:00
Jeremy Fincher
d3fd184995 Fixed a few bugs in debfile. 2003-08-22 00:49:40 +00:00
Jeremy Fincher
2aee3490d5 Initial commit. Has debfile command. 2003-08-22 00:46:05 +00:00
Jeremy Fincher
46101547ac Added PeriodicFileDownloader, a plugin mixin that handles the nastiness of getting files periodically. 2003-08-22 00:45:28 +00:00
James Vega
ae2fc047d3 Removed/modified some country codes for babelfish modules. 2003-08-21 22:38:26 +00:00
Jeremy Fincher
af9d8b6c28 Fixed relaywhois problems. 2003-08-21 16:31:37 +00:00
Jeremy Fincher
526e5b613b Added error to babelize in case one language isn't english. 2003-08-21 15:49:06 +00:00
Jeremy Fincher
2d6f22ae76 Fixed a bug in the regexp; removed a latent security bug that was just waiting for that regexp bug to be fixed. 2003-08-21 12:46:52 +00:00
Jeremy Fincher
088047aea8 Stylistic updates. 2003-08-21 12:25:35 +00:00
Jeremy Fincher
228624861f Killed NameError in relaycolor. 2003-08-21 11:49:42 +00:00
Jeremy Fincher
89e4a3ea59 Added command to turn colorization off. 2003-08-21 11:19:32 +00:00
James Vega
28a8071635 Add babelfish.py and the corresponding translate & babelize functions to Http.py 2003-08-20 22:47:19 +00:00
Jeremy Fincher
8c72168a30 Reordered imports. 2003-08-20 16:30:17 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
James Vega
9dc1221045 Added the missing 'import utils' 2003-08-20 13:44:30 +00:00
Jeremy Fincher
9c17ec5c68 Documentation change. 2003-08-20 09:35:23 +00:00
Jeremy Fincher
8a47be6767 Added Amazon module, useful for its isbn command. 2003-08-20 09:34:15 +00:00
Jeremy Fincher
15ba96b4eb Made the configure script use more natural English. 2003-08-20 08:54:29 +00:00
Jeremy Fincher
88e47b463a Documentation changes. 2003-08-20 07:32:49 +00:00
James Vega
edf695aaad Fixed the karma (++/--) regexes 2003-08-19 22:06:07 +00:00
Jeremy Fincher
866916f8c0 Made it snarf all URLs, not just ftp/http. 2003-08-19 17:23:06 +00:00
Jeremy Fincher
fa518894cc Fix for UnboundLocalError in kernel command. 2003-08-19 16:49:26 +00:00
James Vega
c8cafb6f45 Fixed the problem where 'load Unix' would never be appended to onStart 2003-08-19 14:47:59 +00:00
Jeremy Fincher
7fd35a1071 Made some changes to satisfy PyChecker. 2003-08-19 10:38:45 +00:00
Jeremy Fincher
dcacf9c7d5 Added lasturl command. 2003-08-19 09:10:41 +00:00
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