Commit Graph

945 Commits

Author SHA1 Message Date
James Vega f6088d57d8 Uncomment the urllib import
Update the usage example
Fixed a couple bugs in debversion regarding number of arguments
2003-10-20 17:23:08 +00:00
James Vega 2117d660a2 Dropped an extraneous paren 2003-10-20 17:20:41 +00:00
Jeremy Fincher c8fd603129 Added 'non-secret' to the 'isn't on any channels' response in relaywhois. 2003-10-20 11:43:57 +00:00
Jeremy Fincher 7180f8c4fc Changed the name back to Lookup. 2003-10-20 11:39:48 +00:00
Jeremy Fincher 55ccb85542 Removed the syntax command; changed interface of callbacks.findCallbackForCommand to return a list of the matching callbacks; fix help to handle the prefixing of the plugin name. 2003-10-20 10:25:13 +00:00
Jeremy Fincher 112303af56 Updated jeffk. 2003-10-20 10:15:56 +00:00
Jeremy Fincher 173f99ca76 Updated jeffk. 2003-10-20 08:12:32 +00:00
Jeremy Fincher 4040b24dba Oops, committed a failing test. 2003-10-20 08:00:56 +00:00
Jeremy Fincher 0ab3347567 Updated ChannelDB to use user ids instead of usernames. 2003-10-20 07:39:40 +00:00
Jeremy Fincher 0409c4f249 Added an example. 2003-10-20 06:59:53 +00:00
Jeremy Fincher 05d85147cb Moved FreeBSD to the sandbox. 2003-10-20 06:53:47 +00:00
Jeremy Fincher 2d56e7257e Made pydoc accept methods on builtin classes. 2003-10-20 06:43:59 +00:00
Jeremy Fincher e760320ca0 Changed to use the repr of the last message. 2003-10-20 06:22:15 +00:00
Jeremy Fincher c81170b362 Added a jeffk command. 2003-10-20 05:56:30 +00:00
Jeremy Fincher 3fb2795668 Moved the more useful Moobot commands to Fun. 2003-10-20 05:11:13 +00:00
Jeremy Fincher 53c37af8f6 Added an update to UptimesDB in __init__. 2003-10-20 03:44:10 +00:00
Jeremy Fincher c9e6f77c3a Restored the original conf.replyWhenNotCommand value on die(). 2003-10-20 03:43:18 +00:00
Jeremy Fincher 7b8322d6fd Changed the name back to News. 2003-10-19 21:10:56 +00:00
Jeremy Fincher 17e555c83d Changed the name back to Google. 2003-10-19 21:04:35 +00:00
Jeremy Fincher 1eb2a387eb Changed ChannelTopic back to Topic. 2003-10-19 15:48:44 +00:00
Jeremy Fincher 7f05bcf14b Changed the Lookup plugin to be FileLookup instead. 2003-10-19 15:05:40 +00:00
Jeremy Fincher 4b4ae20155 Changed the Dict plugin to Dictionary. 2003-10-19 14:58:08 +00:00
Jeremy Fincher 08fa5e01a0 Changed the name of the FunCommands to Fun. 2003-10-19 14:53:34 +00:00
Jeremy Fincher 86b60e0669 Small stylistic/formatting changes. 2003-10-19 14:49:38 +00:00
Jeremy Fincher 487ac95d80 Fix for a few exceptions escaping, bug #826177 in partciular. 2003-10-19 14:47:29 +00:00
Jeremy Fincher 37b796ac74 Oops, forgot an 'or'. 2003-10-19 14:45:14 +00:00
James Vega e1d1343055 Using utils.depluralize now instead of my previous hack 2003-10-18 14:21:03 +00:00
James Vega 29a3264126 Added more information to the snarfer and cleaned up the related tests. 2003-10-18 14:19:06 +00:00
Jeremy Fincher aab016ddd1 Changed the name of the Google plugin to GoogleTools. 2003-10-18 13:25:12 +00:00
Jeremy Fincher f92d03e3a3 Changed the name of the Topic plugin to ChannelTopic. 2003-10-18 13:14:57 +00:00
Jeremy Fincher 84fc2b1078 Changed the name of the News plugin to ChannelNews. 2003-10-18 13:04:29 +00:00
Jeremy Fincher 7ca40702bf Changed the name of the IMDB plugin to Movies. 2003-10-18 12:59:46 +00:00
Jeremy Fincher fa8fc4ab52 Fix for bug #825749, improper relaying of relay of kicks. 2003-10-17 23:08:27 +00:00
Jeremy Fincher 9966fc72a9 Made Status update the uptimes database on every message. 2003-10-17 21:51:31 +00:00
James Vega edab9e52b2 Added a scramble command and accompanying tests. 2003-10-17 17:03:25 +00:00
James Vega 6e728e74da Improve the snarfer re so that index.php is not required 2003-10-17 14:26:33 +00:00
James Vega 3dac2d986e Escape the .'s in the urls for the snarfer 2003-10-17 14:23:51 +00:00
James Vega a2c6084fd9 Replaced the old-style irc.queuemsg with newer irc.error 2003-10-17 14:18:00 +00:00
James Vega b2dd349235 Fixed all the #! lines to be consistent and a couple formatting issues with
the copyright
2003-10-16 14:53:42 +00:00
Jeremy Fincher a6ddd4816c Fixed the order of arguments on debversion and made it only do one package at a time. 2003-10-16 14:03:12 +00:00
Jeremy Fincher d307421665 Added QUIT statkeeping. 2003-10-16 13:34:02 +00:00
Jeremy Fincher b6185c4b33 Fixed problems with cpustats on Windows; at least now an error is reported. 2003-10-16 11:27:45 +00:00
Jeremy Fincher d6faad6775 Added server reporting to the Relay.relaywhois command. 2003-10-16 10:58:31 +00:00
Daniel DiPaolo a63ee1e304 * Decided to ditch the "_is_" syntax. I never liked it and implementing it
may prove to be difficult here.  It may find its way back in, but there's no
  point in having it in there now when it doesn't work right anyway.
2003-10-16 05:39:15 +00:00
Daniel DiPaolo aee5c6c18e * Finished up MoobotFactoids, I think. Added delete, augmentFactoids (foo is
also bar), and replaceFactoids (no foo is bar), as well as cleaning up some
  of the regexps that were there (we allow spaces in the factoids, dummy!), and
  also made the addFactoids regexp more accomodating to other phrases with the
  word "is" in them :)  Also, updated the tests for it, of course.
2003-10-16 05:27:01 +00:00
Daniel DiPaolo ea024def78 * Fixed some quoting issues in list*. Adopted the practice of repr()'ing all
factoid keys before displaying them (idea stolen from searchfactoids in
  Factoids).  Also fixed them in the tests as well as adding a test to insure
  that it's done right.
* Added the listkeys and listvalues commands.
2003-10-16 03:51:53 +00:00
James Vega a428c6fc91 Add slightly better handling of de-pluralization 2003-10-16 02:42:47 +00:00
Daniel DiPaolo ddfd7e10e1 * LOTS of updates to the MoobotFactoids test suite, parts of which aren't ready
yet, but the test targets should be pretty static from here on out, except
  adding new tests.
* Fixed up lock and coded unlock in MoobotFactoids (actually, factored the
  common code out into one helper function that each call).
* Added the changeFactoids (=~) portion.
* Changed the table structure again (should be the last time).  Locked_by was
  redundant if we're only going to let factoid creators lock/unlock.  Removed
  it.
2003-10-16 02:03:35 +00:00
James Vega f567f36e4c Fixed a bug with debfile so that it doesn't error out when there are no
arguments
2003-10-16 01:59:17 +00:00
Jeremy Fincher ba9e9f4397 Max out the recorded uptimes at 50. 2003-10-15 06:25:32 +00:00
Jeremy Fincher f987a6e69b Removed several instances where it would raise exceptions the message after parting a channel. 2003-10-15 05:56:32 +00:00
Jeremy Fincher bd7f1f9389 Fixed the snarfer to allow https links. 2003-10-15 05:37:21 +00:00
Jeremy Fincher b6fb71d5a5 Added one minor thing so *all* unexpired news items aren't shown. 2003-10-15 05:30:02 +00:00
Jeremy Fincher 5be65f1caf Added changenews and oldnews. 2003-10-15 05:25:26 +00:00
Daniel DiPaolo 41f1cddbcf * Fixed INSERT query in addFactoids to mirror the changes made in the table
structure a few revisions back (oops)
2003-10-14 16:00:50 +00:00
Jeremy Fincher 0064748d68 Whoa, that was some old code -- written before IrcMsg had an __len__, apparently. 2003-10-14 06:41:52 +00:00
Jeremy Fincher 79ea3b1363 Moved bestuptime over to the Status plugin. 2003-10-14 06:39:31 +00:00
Jeremy Fincher e4c64ec2ca Made *everything* case-insensitive. 2003-10-14 05:54:11 +00:00
Jeremy Fincher 8fd6a094de Made the help for wtf more descriptive. 2003-10-14 02:31:44 +00:00
Daniel DiPaolo 3ae813674e * adding MoobotFactoids stuff as per jemfinch's request - though it's not quite
done yet
2003-10-13 21:22:16 +00:00
Jeremy Fincher f706191201 Added test for rpn 2 degrees and fixed rpn to pass it. 2003-10-13 04:54:57 +00:00
Jeremy Fincher 6c3e193b93 Fixed bug found by G-LiTe and added a test. 2003-10-13 03:47:33 +00:00
James Vega 84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
James Vega 2acf59d781 Added a urlsnarfer and the appropriate tests 2003-10-11 20:52:35 +00:00
James Vega c202848677 Lots of cleanups.
Added a generic _formatResp that works with both bugs and rfes.
Renamed _*Opts and _{bug,rfe}Re so that they can be used with both bugs and rfes (since they're the same for both cases).
Bolded the description when requesting a single bug/rfe.
2003-10-11 18:40:22 +00:00
Jeremy Fincher 5c1ecc2248 Better error messages in addAlias. 2003-10-11 12:48:12 +00:00
Jeremy Fincher eb01a8e99d Removed pi -> 3.14 capability. 2003-10-11 03:37:38 +00:00
Jeremy Fincher e9bcf8a98d Should've been removed a long time ago. 2003-10-10 23:03:40 +00:00
James Vega 6fa0ef039d Cleaned up the usage example 2003-10-10 13:55:38 +00:00
James Vega 3c5978a76e Added the Sourceforge plugin (which has the commands: bugs and rfes) and the
accompanying tests
2003-10-10 13:47:06 +00:00
Jeremy Fincher ecbdb0bbbe Made the bot not relay his own TOPIC messages. 2003-10-10 13:37:23 +00:00
Jeremy Fincher 48f71bb29c Made to relay topic changes. 2003-10-10 06:10:50 +00:00
Daniel DiPaolo 9f2352fbea * Fixed searchtodo
* Wrote tests for Todo.py
2003-10-10 05:47:19 +00:00
Jeremy Fincher 1e8de55ff8 Fixed bug where factoids would raise a DatabaseError when there were no arguments given. 2003-10-10 05:44:41 +00:00
Jeremy Fincher 816d59b141 Don't bother with the questions about the info alias. No one cares. 2003-10-10 03:18:52 +00:00
Jeremy Fincher 2afb4ef965 Fix for bug #820810: Don't ask to load Alias if Alias is already loaded. 2003-10-10 03:17:24 +00:00
Jeremy Fincher bc3ec9f70c Fixed pluralization bug in stats command. 2003-10-09 19:20:50 +00:00
Jeremy Fincher 30b054c6cb Fixed several bugs and added a test to make sure they don't happen again. 2003-10-09 16:38:14 +00:00
Jeremy Fincher fc24f3ded1 Made seen case-insensitive. 2003-10-09 06:43:58 +00:00
Jeremy Fincher 7973dc8921 Fixed bug #820259, where he was killing himself if his nick didn't exactly match in case. 2003-10-09 05:49:01 +00:00
Jeremy Fincher 7b28caba1b Converted karma stuff to use addressedRegexps. 2003-10-09 05:08:18 +00:00
Jeremy Fincher aa7efcbad9 Fix for some bad tests; added support, fixed a long-latent bug that I thought was being tested for but wasn't. 2003-10-09 05:00:56 +00:00
Jeremy Fincher 7943351acb Added a missing commit. 2003-10-09 04:37:36 +00:00
Jeremy Fincher 10651494f5 Fixed Debian to use fix functions appropriately :) 2003-10-08 20:56:22 +00:00
James Vega 18d52f8b27 Needed to import fix and call fix.rsplit instead of utils.rsplit 2003-10-08 18:39:44 +00:00
Jeremy Fincher b719ab6c24 Fixed bug in looking up specific factoids. 2003-10-08 16:24:41 +00:00
Jeremy Fincher 8b7b4d97ac Added wildcard support, as per RFE #817309 2003-10-08 13:53:41 +00:00
Jeremy Fincher f28bed51ec Fixed bug in relaywhois response. 2003-10-08 06:25:05 +00:00
Jeremy Fincher e0184c5422 Added some more error-checking to the addAlias method. 2003-10-08 01:26:10 +00:00
Jeremy Fincher 28fb603ca0 Added some more error-checking to the addAlias method. 2003-10-07 22:19:08 +00:00
Jeremy Fincher 1099ca0705 Changed whois to internic. 2003-10-07 21:38:11 +00:00
Jeremy Fincher 9f2d619db8 Changed the pass statements to 'raise NotImplementedError' statements so the new changenews test would error out more quickly. 2003-10-07 09:32:42 +00:00
Daniel DiPaolo c5a7573f87 * First version of the Todo plugin, simple but functional enough for the
most simple of uses.
2003-10-07 06:50:21 +00:00
Jeremy Fincher de5202cc27 Bugfix. 2003-10-06 21:17:21 +00:00
Daniel DiPaolo 8fba4a85f5 * Fixed a little buglet in the debversion output where the "Shown" count
would be incorrect for any time nothing was found.
2003-10-06 21:15:07 +00:00
Jeremy Fincher 1a594b6dff Use ircutils.nickEqual instead of ==. 2003-10-06 13:00:22 +00:00
Jeremy Fincher 1e28e4f00a Changed msg.prefix to msg.nick in the self.chanserv comparison. 2003-10-06 05:57:03 +00:00
Jeremy Fincher 9e0ab0e73b *Trying*, as hard as possible, to be nice to Windows. 2003-10-05 21:37:29 +00:00
Jeremy Fincher 6107000658 Slight formatting changes and whatnot. 2003-10-05 20:33:01 +00:00
Jeremy Fincher d83cc90a32 Slightly changed the format of cmdstats. 2003-10-05 20:13:01 +00:00
Jeremy Fincher 498682d830 Changes to be nice to Windows. 2003-10-05 20:05:53 +00:00
Jeremy Fincher ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher 5576661ab5 Forgot the example. 2003-10-05 12:00:51 +00:00
Jeremy Fincher 9fe8ed19a7 Forgot an import. 2003-10-05 11:56:46 +00:00
Jeremy Fincher d5c4b15632 Forgot an import. 2003-10-05 11:22:29 +00:00
Jeremy Fincher cb7ffa4df9 Changed another error to reply. 2003-10-05 11:06:07 +00:00
Jeremy Fincher 2cd657c9a9 Made sure ChannelDBHandler is before callbacks.Privmsg* in the inheritance order so self.die() is ChannelDBHandler's and not callbacks.Privmsg*. 2003-10-05 04:41:49 +00:00
Jeremy Fincher 151657f40d Changed an error to a reply. 2003-10-05 03:49:29 +00:00
Jeremy Fincher 6eff484bda Slight indentation fix. 2003-10-04 14:57:37 +00:00
Jeremy Fincher 9ef4ea2bca Forgot some imports. 2003-10-04 14:57:20 +00:00
Jeremy Fincher d0c7d47de4 Some slight regexp updates. 2003-10-04 14:57:05 +00:00
Jeremy Fincher 84b7454709 Forgot sets import. 2003-10-04 14:56:54 +00:00
Jeremy Fincher 3af3b4c985 __all__'ed baseplugin.py, updated other plugins to reflect that. 2003-10-04 13:53:13 +00:00
Jeremy Fincher d079777f27 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:44:55 +00:00
Jeremy Fincher 71fcfb8db9 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:29:58 +00:00
Jeremy Fincher 195dc208dd Made quotes.randomquote simple dispatch to a quote with a --id option. 2003-10-04 10:22:36 +00:00
Jeremy Fincher 9543859047 Changed searchfactoids to default to a glob search; --regexp and --exact searches work with specific options. 2003-10-04 10:16:57 +00:00
Jeremy Fincher 9f24c13be8 Moved the list of commands from cmdstats to the commands command. 2003-10-03 22:55:34 +00:00
Jeremy Fincher 3be0c261d3 Syntax still said --url instead of --fancy. 2003-10-03 22:24:32 +00:00
Jeremy Fincher b100ceb185 Updated example string. 2003-10-03 10:13:41 +00:00
Jeremy Fincher 29825d76f9 Forgot to update help for the new indexing. 2003-10-03 10:09:49 +00:00
Jeremy Fincher 9cbc766b7c Fixed to kill bold much more accurately. 2003-10-03 08:49:51 +00:00
Jeremy Fincher 81e1c09981 Updated debfile to default to glob, but allow regexp and exact options. 2003-10-03 04:21:37 +00:00
Jeremy Fincher cbc109ada9 Getoptified debincoming. 2003-10-03 00:23:03 +00:00
Jeremy Fincher ff6fdf02f3 Added convert and units command. 2003-10-02 23:19:38 +00:00
Jeremy Fincher cecb130106 Added disablegooglesnarfer command to disable the snarfer. 2003-10-02 22:36:20 +00:00
Jeremy Fincher 4bda1fc74a Bug fixes for .so modules. 2003-10-02 16:13:49 +00:00
Jeremy Fincher ac78a1c2cb Stylistic changes. 2003-10-02 16:07:53 +00:00
Jeremy Fincher 88b3d63026 Made to index from 1 instead of 0. 2003-10-02 06:13:54 +00:00
Jeremy Fincher 746e292693 Made to index from 1 instead of 0. 2003-10-02 06:10:54 +00:00
Jeremy Fincher a8d7de246d Made indexing start from 1 instead of 0. 2003-10-02 05:58:53 +00:00
Jeremy Fincher 32eb85e3c5 Fix for KeyError escaping from stats. 2003-10-02 00:43:38 +00:00
Jeremy Fincher de7da5abc1 Fixed --user to actually work. 2003-10-02 00:42:26 +00:00
Jeremy Fincher dcffc5df62 Minor change: names -> nicks in @seen help. 2003-10-02 00:24:36 +00:00
Jeremy Fincher 0e0dad2341 Added additional help for karma command. 2003-10-02 00:16:39 +00:00
Jeremy Fincher f9a7bf0609 getopt-ified seen to use nicks by default and users only if given the --user option. 2003-10-02 00:13:44 +00:00
Jeremy Fincher 538a262341 Moved {zen,pydoc} to the Python plugin and {whois,dns} to the Network plugin. 2003-10-01 11:12:06 +00:00
Jeremy Fincher f84345048a Fix for bug #815242, pydoc fnmatch.fnmatch fails. 2003-09-30 22:12:50 +00:00
Jeremy Fincher bc5ec5d0f0 Fix for recent discovery that some misconfigured servers will send 422 instead of 376. 2003-09-30 15:21:02 +00:00
Jeremy Fincher a714fce09d Fixed cmdstats to make sure only canonicalNames get in. 2003-09-30 13:51:32 +00:00
Jeremy Fincher b9a81a3f5e Added 'individual' to commands processed. 2003-09-30 11:07:01 +00:00
Jeremy Fincher 8b04e1c537 Added cmdstats command. 2003-09-30 11:04:44 +00:00
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