Commit Graph

722 Commits

Author SHA1 Message Date
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
Jeremy Fincher
9a2f80ae7b Forgot to commit from chemistry. 2003-09-04 17:13:13 +00:00
Jeremy Fincher
062231bb4b Added code to allow removal of all factoids associated with a given key. 2003-09-04 12:14:12 +00:00
Jeremy Fincher
dab57f3080 Fixed bug #800165. 2003-09-04 12:08:02 +00:00
Jeremy Fincher
3fb97984dc Removed the crazy topicPrefix stuff, it was pretty useless. 2003-09-03 20:41:28 +00:00
Jeremy Fincher
d0b7d5906f <Strike|work@oftc> I like the extraneous '.' on the end of the factoids. 2003-09-03 20:29:04 +00:00
Jeremy Fincher
f719009e1d Fixed something, although by now I forget what it was. Ah, the doTopic stuff. Yeah, I fixed that. 2003-09-03 20:00:54 +00:00
Jeremy Fincher
339375bc42 Made to work again. 2003-09-03 18:45:29 +00:00
Jeremy Fincher
fa878a9289 Fixed bug in doKick. 2003-09-03 18:45:17 +00:00
Jeremy Fincher
dfb1b26333 Added a doKick. 2003-09-03 18:42:52 +00:00
Jeremy Fincher
2e23c68afb Just chop off the extra if everything is too big; also allow specification of the dictionary. 2003-09-03 18:16:06 +00:00
Jeremy Fincher
56e6fbd21c There is no more BasePlugin. 2003-09-03 17:50:32 +00:00
Jeremy Fincher
4200b4a4a7 Updated doJoin to use utils.nItems and made it doPrivmsg instead. 2003-09-03 17:43:06 +00:00
Jeremy Fincher
0791d9cbea Changed last/lastfrom to the new method as per RFE 798374. 2003-09-03 17:18:38 +00:00
Jeremy Fincher
67d5465329 Changed an if to an elif in lasturl. 2003-09-03 17:03:38 +00:00
Jeremy Fincher
1da0f301f5 Small change in order of sortBy and shrinkList. 2003-09-03 14:26:25 +00:00
Jeremy Fincher
c98a25d6a2 Oops, forgot the '% word' 2003-09-03 12:21:56 +00:00
Jeremy Fincher
fd57203a67 Changed a something to an anything and looped until a valid key is given in configure. 2003-09-03 09:45:11 +00:00
Jeremy Fincher
5857a17f88 Added dict command. 2003-09-03 09:38:17 +00:00
Jeremy Fincher
7bbb893662 Fixed bug where 'alias punish lart ' would make punish raise a 'cannot nest' error. 2003-09-02 19:51:04 +00:00
Jeremy Fincher
236582f5e9 Changed a popen2 to popen4. 2003-09-02 08:09:58 +00:00
Jeremy Fincher
9b2a114d0c Changed the name of the uptimeEnder function so it shows up more clearly in atexit._exithandlers. 2003-09-02 08:08:54 +00:00
Jeremy Fincher
92b2d195b3 Made seen command handle actions better. 2003-09-02 06:19:58 +00:00
Jeremy Fincher
a846928596 Added wtf command. 2003-09-01 18:41:16 +00:00
Jeremy Fincher
ee8deced50 Cosmetic; semicolon instead of comma. 2003-09-01 08:46:14 +00:00
Jeremy Fincher
3fd04637af Attempt to solve the atexit-closed-database problem. 2003-09-01 08:40:41 +00:00
Jeremy Fincher
8b1a47b295 Attempt to solve the atexit-closed-database problem. 2003-09-01 08:38:25 +00:00
Jeremy Fincher
6c81eb9084 Made 'import this' not print. 2003-09-01 08:05:14 +00:00
James Vega
862489d205 Modified a docstring 2003-09-01 07:44:08 +00:00
James Vega
aa9f8a997e Added new lart/praise functionality. Now accepts a reason for larting/praising something 2003-09-01 06:11:02 +00:00
Jeremy Fincher
44972da513 Cleaned up makeDb. 2003-09-01 05:51:32 +00:00
Jeremy Fincher
30d3747f1d Added utils.pluralize. 2003-09-01 05:42:35 +00:00
James Vega
01adb33deb Fix a typo 2003-09-01 05:03:27 +00:00
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