Commit Graph

621 Commits

Author SHA1 Message Date
James Vega
0061e42c97 Added tableDict, tableExists() and createTables to clean up/fix makeDB() 2003-09-01 04:45:26 +00:00
James Vega
5c034ead98 Fixed the onStart load string to match the module's name change from NickServ to Services 2003-08-31 21:58:08 +00:00
James Vega
07d46283ef Fixed a missing parameter to an irc.error() call 2003-08-31 21:32:53 +00:00
Jeremy Fincher
488fd6dd32 Forgot self. 2003-08-31 08:43:56 +00:00
Jeremy Fincher
cc2689ddb8 Forgot to import world. 2003-08-31 08:42:51 +00:00
Jeremy Fincher
883287c261 Added bestuptime command. 2003-08-31 08:42:07 +00:00
Jeremy Fincher
c891592b59 Fixed bug in strlen where it didn't account for spaces. 2003-08-30 22:54:11 +00:00
Jeremy Fincher
35cbbf7717 Made RSS docstring more appropriate, now that help works with modules. 2003-08-30 19:53:53 +00:00
Jeremy Fincher
bf5d0aa30b Updated example. 2003-08-30 19:30:28 +00:00
Jeremy Fincher
7290221a90 Removed the title line from zen's _these. 2003-08-30 19:25:14 +00:00
Jeremy Fincher
36ecc4fcf6 Added zen command. 2003-08-30 19:23:34 +00:00
Jeremy Fincher
442392b5ba Guarded inserts into sys.path. 2003-08-30 19:20:08 +00:00
Jeremy Fincher
d0d95cd017 Fixed odd error in findAliasCommand. 2003-08-30 19:05:03 +00:00
Jeremy Fincher
5841566982 Docstrings updated. 2003-08-30 04:46:17 +00:00
Jeremy Fincher
dfc9f2f160 Finished change to Services. 2003-08-30 04:28:09 +00:00
Jeremy Fincher
97d5ee8ad4 Tyop 2003-08-30 04:15:57 +00:00
Jeremy Fincher
e623d2e4b6 Added docstring and guard for lasturls. 2003-08-30 02:40:03 +00:00
Jeremy Fincher
736d46cff3 Forgot to close the file object from urllib2.urlopen. 2003-08-30 02:35:28 +00:00
Jeremy Fincher
7911d0f0a3 Moved kernel over to Http as per the wishes of the kernel.org folx0rs. 2003-08-30 02:33:28 +00:00
Jeremy Fincher
8f40c90e0b Fixed new pluralization bug in cpustats. 2003-08-30 02:08:13 +00:00
Jeremy Fincher
f4fb779f9f Added docstrings. 2003-08-29 17:03:12 +00:00
James Vega
f70919f1a8 Added a missing import line 2003-08-29 14:02:14 +00:00
Jeremy Fincher
06f7fef11f Stupid missing import... 2003-08-29 13:38:07 +00:00
Jeremy Fincher
f87eb2e654 Tyop. 2003-08-29 08:16:29 +00:00
Jeremy Fincher
b2d7893959 Made self.channels an IrcSet. 2003-08-29 08:15:07 +00:00
Jeremy Fincher
feff6f77ce Added eightball command. 2003-08-29 07:49:11 +00:00
Jeremy Fincher
2e4c9439b9 Changed topicUnformatter regexp slightly and fixed shuffletopic so it wouldn't send a repeat topic. 2003-08-29 07:32:14 +00:00
Jeremy Fincher
89a0d12cce Added tracking of how many commands have been processed. 2003-08-29 07:08:03 +00:00
Jeremy Fincher
295c5d8411 Added example. 2003-08-29 07:01:05 +00:00
Jeremy Fincher
fcdcebf990 Changed the name of NickServ to Services. 2003-08-29 06:50:33 +00:00
Jeremy Fincher
2c2031e167 Made randomfactoid more useful and fixed a bug in unlearn. 2003-08-29 06:45:51 +00:00
Jeremy Fincher
60c598be87 Wrote tests and fixed lots of bugs and usability flaws. 2003-08-29 06:32:49 +00:00
Jeremy Fincher
37f88d5e21 Added more tests and the lasturls command (and --nolimit option to the lasturl command. 2003-08-29 00:40:28 +00:00
Jeremy Fincher
6d7e68fa71 Added tests, fixed the bugs the tests found. 2003-08-28 23:59:03 +00:00
Jeremy Fincher
b6b47b5d3f Added example string. 2003-08-28 23:11:43 +00:00
Jeremy Fincher
336108c736 Added example string. 2003-08-28 22:24:33 +00:00
Jeremy Fincher
83d587b8a3 Changed some bugs in configure. 2003-08-28 21:27:15 +00:00
Jeremy Fincher
f1d876288f Added module docstring. 2003-08-28 21:26:56 +00:00
Jeremy Fincher
740acc5d08 Brought up-to-date with current plugin template. 2003-08-28 17:56:48 +00:00
Jeremy Fincher
f4a057cf4b Changed binascii.hexlify to encode('hex_codec'). 2003-08-28 17:56:27 +00:00
Jeremy Fincher
2935c16d27 Added example string. 2003-08-28 17:55:01 +00:00
Jeremy Fincher
5860657194 Added 401 to the commands that result in a 'no user on this network' message for relaywhois. 2003-08-28 16:31:56 +00:00
Jeremy Fincher
aabd095239 Moved world.version to conf.version. 2003-08-28 13:59:07 +00:00
Jeremy Fincher
50d1b9ba76 Forgot stupid utils import. 2003-08-27 23:36:47 +00:00
Jeremy Fincher
d21d868b28 Added hexip command. 2003-08-27 22:43:29 +00:00
Jeremy Fincher
550f0fb3de Forgot return after irc.error and added test for non-existent location. 2003-08-27 22:30:48 +00:00
Jeremy Fincher
ce67b6ef5a Added better error reporting. 2003-08-27 22:27:58 +00:00
Jeremy Fincher
c8b09bd44d Added configure function and example and module docstring and more function documentation. 2003-08-27 18:18:41 +00:00
Jeremy Fincher
9d51e998b5 Added example strings. 2003-08-27 18:06:26 +00:00
Jeremy Fincher
b572562cb3 Added utils.wrapLines and wrapped the lines of each plugin's example. 2003-08-27 16:25:43 +00:00
Jeremy Fincher
575656992e Fixed bug in weather, added test for it; added example string. 2003-08-27 16:01:51 +00:00
Jeremy Fincher
bb1bdd2725 Added tell command. 2003-08-27 07:46:03 +00:00
Jeremy Fincher
9550971042 Added ability for commands to raise callbacks.CannotNest if they are not nestable. 2003-08-27 07:45:48 +00:00
Jeremy Fincher
f9fee97f5f Made channels description in relaywhois slightly more descriptive. 2003-08-27 04:56:08 +00:00
Jeremy Fincher
52dba88bd3 Made much more efficient. 2003-08-27 01:42:00 +00:00
Jeremy Fincher
6d8a9e9c23 Changed 'no notes' message to be more natural English. 2003-08-26 18:14:32 +00:00
Jeremy Fincher
8f33ff28bd Made --at option for lasturl be more natural with domains. 2003-08-26 18:14:13 +00:00
Jeremy Fincher
19a9804dee Added a test and fixed several bugs it found. 2003-08-26 18:10:17 +00:00
Jeremy Fincher
5491d97704 Gave a proper error message for a relaywhois is a nick that isn't online. 2003-08-26 17:55:30 +00:00
Jeremy Fincher
09c77aa234 Can catch re.error instead of sre_constants.error. 2003-08-26 17:08:46 +00:00
Jeremy Fincher
3dd176ab63 Updated a whole lot of stuff. 2003-08-26 17:07:37 +00:00
Jeremy Fincher
898b219871 Unified the ircs' histories, making lastfrom work correctly. 2003-08-26 16:40:31 +00:00
Jeremy Fincher
906b83f1ec Added example. 2003-08-26 12:45:08 +00:00
Jeremy Fincher
c9546934d5 Removed id number from randomurl output. 2003-08-26 11:54:24 +00:00
Jeremy Fincher
84c028c0dc Removed id number from randomurl output. 2003-08-26 11:52:42 +00:00
Jeremy Fincher
871d6858c0 Added an example and changed the regexp not to allow <> into the URL. 2003-08-26 11:39:18 +00:00
Jeremy Fincher
79b199cec1 Removed list of commands in module docstring. 2003-08-26 11:26:12 +00:00
Jeremy Fincher
0cf31453bc Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). 2003-08-26 11:25:43 +00:00
Jeremy Fincher
cfe4ce14a9 Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). 2003-08-26 11:24:06 +00:00
Jeremy Fincher
5289f6bc75 Renamed conf.timestampFormat to conf.logTimestampFormat and added conf.humanTimestampFormat. 2003-08-26 11:15:15 +00:00
Jeremy Fincher
b3976501ff Removed spurious blank line. 2003-08-25 20:13:48 +00:00
Jeremy Fincher
075af0967c Commented out some debug.printfs. 2003-08-25 20:13:20 +00:00
Jeremy Fincher
5eafec7121 Made morehelp better for dbadd. 2003-08-25 20:13:04 +00:00
Jeremy Fincher
7932c6078f Added example, and made dice commaAndify its numbers. 2003-08-25 20:12:21 +00:00
Jeremy Fincher
e30cf69ec1 Added privmsgs.thread, and so nuked ThreadedFunCommands (subsumed into FunCommands) 2003-08-25 19:34:25 +00:00
Jeremy Fincher
84959a1815 I can't even tell what this change is, but apparently there is one. 2003-08-25 17:48:03 +00:00
Jeremy Fincher
ad8159751f Added fortune command and some more tests. 2003-08-25 07:55:08 +00:00
Jeremy Fincher
56117a0662 Made the error message in the face of problems connecting much prettier. 2003-08-25 07:24:31 +00:00
Jeremy Fincher
eb7b696ce9 Made increase/decrease karma stuff work more like moobot (i.e., require a prefixchar and disallow spaces) 2003-08-25 07:24:11 +00:00
Jeremy Fincher
a92798c9d8 Fixed relaywhois to not require the network if the relay is only relaying between two networks. Also fixed a possible later UnboundLocalError in a few places. 2003-08-25 06:48:28 +00:00
Jeremy Fincher
ebabf6112f Changed Candler to delete the database as well as commit/close on die() 2003-08-25 06:27:07 +00:00
Jeremy Fincher
18260e986d Removed arg, strsplit, and fixed re to handle s/// regexps too. 2003-08-25 06:25:50 +00:00
Jeremy Fincher
c9c77f92c2 Fixed mime/unmime and docstring. 2003-08-25 06:24:42 +00:00
Jeremy Fincher
3ae2f79919 Forgot to reply with actor stuff. 2003-08-25 05:19:27 +00:00
Jeremy Fincher
98b0acb942 Made karma return the highest/lowest karmas when given no arguments. 2003-08-24 21:51:20 +00:00
Jeremy Fincher
577e7517af Made the output of osuemail a little bit cleaner. 2003-08-24 20:58:11 +00:00
Jeremy Fincher
30711266a7 Added osubuilding command. 2003-08-23 14:12:04 +00:00
Jeremy Fincher
5536e2181d Added module docstrings and changed argument order of osuemail. 2003-08-23 13:05:41 +00:00
Jeremy Fincher
5b2cc92917 Weather now works. This is gotenks2's commit. 2003-08-23 13:00:24 +00:00
Jeremy Fincher
5234c730c1 Converted states to lower before checking for membership in the set. 2003-08-23 12:44:25 +00:00
Jeremy Fincher
98011fe099 Added docstring. 2003-08-23 12:40:35 +00:00
James Vega
63fafdcccb Added bwp's weather module 2003-08-23 12:40:30 +00:00
Jeremy Fincher
5769e4d4cf Updated ChannelDBHandler to always return a new database if self.threaded is True. 2003-08-23 12:38:58 +00:00
Jeremy Fincher
38e63c6e84 Fixed exceptions raised by relaywhois. 2003-08-23 12:12:04 +00:00
Jeremy Fincher
8b05ce6e1a Fixed inability to find out the specifics about 'die hard'. 2003-08-23 11:40:40 +00:00
Jeremy Fincher
57b0c23a79 Added strlen command. 2003-08-23 11:34:13 +00:00
Jeremy Fincher
320f1d26b7 Made imdb handle people properly. 2003-08-23 08:52:42 +00:00
Jeremy Fincher
f35da83b1b Added rating to imdb output. 2003-08-23 08:35:18 +00:00
Jeremy Fincher
5d554a5c3b Initial checkin. 2003-08-23 08:26:51 +00:00
Jeremy Fincher
17478daca2 Began some swithover to the new method; mostly I just needed to try a commit. 2003-08-23 06:07:20 +00:00
Jeremy Fincher
3fe81ebdcb Added docstring and configure function. 2003-08-23 05:55:20 +00:00
James Vega
b86205ae8b Changed out some try blocks for if/else 2003-08-23 05:21:45 +00:00
Jeremy Fincher
57cc6615c4 Should be able to reload Relay module now too. 2003-08-23 05:04:41 +00:00
Jeremy Fincher
147d5cf6da Finally got the persistent configuration working with the Relay module (though don't try to reload it :)). 2003-08-23 04:42:04 +00:00
Jeremy Fincher
9d20105689 Fixed grouping of regexp. 2003-08-23 04:08:42 +00:00
Jeremy Fincher
05eabee767 Anchored a regexp and fixed a bug or two. 2003-08-22 23:00:10 +00:00
Jeremy Fincher
95f5abdda4 Made sure no prefixchars got into the karma table. 2003-08-22 22:59:28 +00:00
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