Commit Graph

1814 Commits

Author SHA1 Message Date
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
Jeremy Fincher
f917053150 Didn't update nickmods to match conf.nickmods when Irc.reset is called, in case we're on a dumb network like Freenode. 2003-10-19 13:59:00 +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
492899997f 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
e69d8a1f63 Added some tests to catch an re m// bug 2003-10-17 21:24:34 +00:00
Jeremy Fincher
2221acebde Hopefully fixed bug with empty word to define. 2003-10-17 21:15:48 +00:00
James Vega
edab9e52b2 Added a scramble command and accompanying tests. 2003-10-17 17:03:25 +00:00
Jeremy Fincher
4c8bb936b8 Changed bug to reportbug. 2003-10-17 16:39:05 +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
Jeremy Fincher
5ff709375e Oops, forgot the docstring. 2003-10-16 20:06:17 +00:00
Jeremy Fincher
2ffe5a13dd Added depluralize function and fixed latent (untested) capitalization buggerishness. 2003-10-16 20:05:45 +00:00
Jeremy Fincher
121be3d9cf Made the constructor take dictionaries. 2003-10-16 19:40:14 +00:00
Jeremy Fincher
f392696d98 Added TwoWayDictionary. 2003-10-16 19:36:33 +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
1e00aab6d2 Updated. 2003-10-16 13:42:51 +00:00
Jeremy Fincher
d307421665 Added QUIT statkeeping. 2003-10-16 13:34:02 +00:00
Jeremy Fincher
422bc27351 Updated. 2003-10-16 13:28:17 +00:00
Jeremy Fincher
683ba63949 Fixed bug in IrcState.copy -- it wasn't doing deep copies. 2003-10-16 13:27:40 +00:00
Jeremy Fincher
ee24accaf7 Fixed bug in default argument for IrcMsg.__init__ -- args should default to (), not None. 2003-10-16 13:11:46 +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
c40f5e6c59 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
Jeremy Fincher
3c676f844a Removed the OwnerCommands.say command; it wasn't useful enough. 2003-10-16 10:47:48 +00:00
Jeremy Fincher
06a45ff35a Eh, just made the formatting of assertActionRegexp different. 2003-10-16 10:46:04 +00:00
Jeremy Fincher
889e99cec6 Fixed an invalid irc.error in the part command. 2003-10-16 10:43:35 +00:00
Daniel DiPaolo
2ddb080a73 * added assertActionRegexp (semi-tested, not thoroughly tested) 2003-10-16 05:45:26 +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
fafa01659c Add some more tests to verify the depluralization efforts. Also split the http
and https snarfer tests into seperate functions.
2003-10-16 02:43:44 +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
1a51ced500 Added support for environment variables in pathnames. 2003-10-15 20:34:25 +00:00
Jeremy Fincher
63135c4c48 Removed a debugging print. 2003-10-15 06:53:54 +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