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
Daniel DiPaolo
b71787b702
* Added a required per-channel news capability
...
* Fixed tests (syntax error, tabs/spaces)
* Updated addnews to use new persistent userids
2003-09-26 22:40:35 +00:00
Jeremy Fincher
b1f0cb6647
Removed a gratuitous world.ircs.remove, probably fixing bug #801438 .
2003-09-25 08:18:36 +00:00
Jeremy Fincher
d3a21e29c0
Added an example string.
2003-09-25 07:27:02 +00:00
Jeremy Fincher
2c8dee38c2
Fix for configure bug.
2003-09-25 07:18:46 +00:00
Jeremy Fincher
6928a3a54f
Fixed an uncaught exception in Lookup.configure.
2003-09-24 07:55:28 +00:00
Jeremy Fincher
a13c8ab528
Removed the old sys.path-munging code now that we're disutil'ed.
2003-09-24 07:28:25 +00:00
Jeremy Fincher
474e611feb
Initial checkin of the distutils stuff.
2003-09-24 07:19:54 +00:00
Jeremy Fincher
01ee1169f0
Forgot to return after an irc.error.
2003-09-24 06:16:29 +00:00
Jeremy Fincher
1c86e6f40c
Removed shrink command since it's mostly unnecessary since we got the mores.
2003-09-24 04:19:23 +00:00
Jeremy Fincher
05eddc71f5
Fixed to use the proper irc.reply arguments instead of callbacks.reply.
2003-09-23 20:45:25 +00:00
Jeremy Fincher
23453eff6a
Made the game snarfer not prefix the response with the the nick.
2003-09-23 20:26:25 +00:00
Jeremy Fincher
bb9c956eea
Made sure there were no problems in __call__ if it wasn't started.
2003-09-23 19:39:48 +00:00
Jeremy Fincher
06e2e05b78
Added some guards for self.started to make sure certain commands aren't run before the plugin is started.
2003-09-23 18:59:22 +00:00
Jeremy Fincher
fcab1a30cf
Added a try/finally statement like ChannelLogger just got.
2003-09-23 18:45:08 +00:00
Jeremy Fincher
b1654bd4bc
Oops, accidentally committed a tyop in a comment.
2003-09-23 16:17:13 +00:00
Jeremy Fincher
a6d71770c9
Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception.
2003-09-23 16:08:05 +00:00
Jeremy Fincher
20e5bdb50d
Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception.
2003-09-23 16:01:04 +00:00
Jeremy Fincher
e4143b467a
Added a bit to the morehelp for calc to explain floating point inaccuracies.
2003-09-23 15:42:01 +00:00
Jeremy Fincher
d57c173598
Tiny update to the lithp command.
2003-09-22 22:36:23 +00:00
Jeremy Fincher
b4b2b2b883
Added --with option to quote command.
2003-09-22 22:11:05 +00:00
Jeremy Fincher
e40183f1e5
Fixed stupid verisign bug.
2003-09-22 18:00:16 +00:00
Jeremy Fincher
3e28059c9e
Fixed bug in genre pluralization.
2003-09-22 17:32:12 +00:00
Jeremy Fincher
b1b00401ed
Changed inFilter to __call__, since it doesn't do any filtering.
2003-09-22 11:17:10 +00:00
Jeremy Fincher
41d3039c68
Removed some debugging stuff that never should've been committed.
2003-09-22 11:16:41 +00:00
Jeremy Fincher
3a329b04f9
Added the uptimeEnder to world.flushers instead of just running it atexit.
2003-09-22 09:55:00 +00:00
Jeremy Fincher
f137b21dcf
Added extra logging to Enforcer in the case where it's not started.
2003-09-22 02:46:36 +00:00
Jeremy Fincher
fd568a7f48
Made echo not prefixName.
2003-09-19 17:25:38 +00:00
Jeremy Fincher
287c9028a5
Forgot a return after an irc.error.
2003-09-18 15:45:43 +00:00
Jeremy Fincher
3af8f1c790
Added private and action keywords to IrcObjectProxy.reply and converted FunDB to use them.
2003-09-18 07:26:21 +00:00
Jeremy Fincher
ab302e5742
Oops, left a random.choice with the arguments of a random.shuffle.
2003-09-18 05:58:24 +00:00
Jeremy Fincher
fad77c9545
Forgot to change a topicget to a gettopic.
2003-09-17 22:49:00 +00:00
Jeremy Fincher
d227111b0c
Added privmsgs.name, privmsgs.channel, and privmsgs.checkChannelCapability. Converted the Topic plugin to use some of them.
2003-09-17 22:38:03 +00:00