Commit Graph

204 Commits

Author SHA1 Message Date
Jeremy Fincher
e50243262d Lowered the plugin's priority so it makes its decisisons about whether or not to relay something before anything else has gotten hold of the message. 2003-10-22 05:15:19 +00:00
Jeremy Fincher
3ac622ce11 Fixed a few bugs arising from the switch to generic names. 2003-10-21 07:19:53 +00:00
Jeremy Fincher
3310e0cb3e Converted to use generic command names. 2003-10-21 04:09:48 +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
37b796ac74 Oops, forgot an 'or'. 2003-10-19 14:45:14 +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
d6faad6775 Added server reporting to the Relay.relaywhois command. 2003-10-16 10:58:31 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +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
Jeremy Fincher
f28bed51ec Fixed bug in relaywhois response. 2003-10-08 06:25:05 +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
6eff484bda Slight indentation fix. 2003-10-04 14:57:37 +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
d0f9e11a32 Fix for bug #814149, bad error message in relaywhois. 2003-09-29 05:34:02 +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
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
b1b00401ed Changed inFilter to __call__, since it doesn't do any filtering. 2003-09-22 11:17:10 +00:00
Jeremy Fincher
3625d98ed7 Removed extra dot.. 2003-09-08 20:13:27 +00:00
Jeremy Fincher
e0396337b1 Made outFilter handle empty TOPICs. 2003-09-06 02:10:55 +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
dfb1b26333 Added a doKick. 2003-09-03 18:42:52 +00:00
Jeremy Fincher
b2d7893959 Made self.channels an IrcSet. 2003-08-29 08:15:07 +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
b572562cb3 Added utils.wrapLines and wrapped the lines of each plugin's example. 2003-08-27 16:25:43 +00:00
Jeremy Fincher
f9fee97f5f Made channels description in relaywhois slightly more descriptive. 2003-08-27 04:56:08 +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
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
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
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
38e63c6e84 Fixed exceptions raised by relaywhois. 2003-08-23 12:12:04 +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
436dc54ac3 Added configuration question for color. 2003-08-22 20:58:58 +00:00
Jeremy Fincher
af9d8b6c28 Fixed relaywhois problems. 2003-08-21 16:31:37 +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
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
a5baf0eb41 Stopped coloring networks, it sucked. 2003-08-15 05:41:51 +00:00
Jeremy Fincher
7fb632c49f Changed colorization slightly to include network abbreviation. 2003-08-12 19:10:27 +00:00
Jeremy Fincher
ad432a640a Added more color to reduce collisions; robustified relaywhois. 2003-08-12 08:48:16 +00:00
Jeremy Fincher
39cce9c3af Changed from 's.find(x) != -1' to 'x in s' 2003-08-11 17:16:03 +00:00
Jeremy Fincher
02ce886b55 Added relaysay command. 2003-08-07 08:20:23 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
33f2818398 Made Relay use ircutils.canonicalColor. 2003-07-30 11:01:44 +00:00
Jeremy Fincher
5644c8da57 Changed some mircColor stuff. 2003-07-23 15:24:05 +00:00
Jeremy Fincher
7c34d8b449 Minor formatting change. 2003-07-23 15:14:14 +00:00
Daniel DiPaolo
0e16b70f8b * added mircColor() function to ircutils as well as mircColors dict
* added test cases for this function
* implemented nick coloring for Relay
2003-07-23 05:29:16 +00:00
Jeremy Fincher
3fe182b9c3 Must've forgotten an older commit... 2003-07-23 01:45:48 +00:00
Jeremy Fincher
440a336010 Added relaywhois command. 2003-06-22 16:17:33 +00:00
Jeremy Fincher
1131cc4f15 Changed format of ACTIONs to match normal PRIVMSGs. 2003-06-05 21:03:22 +00:00
Jeremy Fincher
26f185c0e9 Changed some formatting of command relays. 2003-04-30 14:49:09 +00:00
Jeremy Fincher
7971760790 Forgot to import drivers. 2003-04-20 00:10:53 +00:00
Jeremy Fincher
85abb8c3bb Fixed strange editing error. 2003-04-20 00:00:37 +00:00
Jeremy Fincher
ee74036505 Changed to be driver-module independent. 2003-04-19 23:51:11 +00:00
Jeremy Fincher
fd22551da9 Commented-out debugging printfs. 2003-04-14 05:32:31 +00:00
Jeremy Fincher
6aa1e8a7ed Changed many dictionaries to the more appropriate ircutils.IrcDict. 2003-04-11 20:42:21 +00:00
Jeremy Fincher
51386068e4 Finally got QUIT relaying to work. 2003-04-09 19:11:00 +00:00
Jeremy Fincher
5518f75714 Wrong index. 2003-04-09 19:00:23 +00:00
Jeremy Fincher
64b60dceae Trying different index. 2003-04-09 18:52:55 +00:00
Jeremy Fincher
7890e9dbdb Added some debug statements and fixed outFilter. 2003-04-09 18:46:41 +00:00
Jeremy Fincher
9295254ccb Wrong index. 2003-04-09 18:21:48 +00:00
Jeremy Fincher
79a1d351ad Added and started using MaxLengthQueue. 2003-04-09 18:12:38 +00:00
Jeremy Fincher
67412da988 Fixed stupid bug. 2003-04-09 18:05:39 +00:00
Jeremy Fincher
f6c46bc004 Change to irc.state.copy() 2003-04-09 18:02:00 +00:00
Jeremy Fincher
d37e229027 Fixed non-relaying of QUITs. 2003-04-09 17:49:55 +00:00
Jeremy Fincher
8c9811ea05 Changed AsyncoreDriver to accept an irc as an argument, hopefully fixing the looping bug. 2003-04-09 15:07:23 +00:00
Jeremy Fincher
1035e9290a Added configure. 2003-04-08 07:15:45 +00:00
Jeremy Fincher
9c78731123 Added morehelp. 2003-04-06 09:17:38 +00:00
Jeremy Fincher
eb9e5c87f2 Changed drivers.close() to .die(). 2003-04-03 08:52:41 +00:00
Jeremy Fincher
9e05519660 Changed driver.die() to driver.close() 2003-04-03 06:58:30 +00:00
Jeremy Fincher
6385806048 Changed a message to be more accurate 2003-04-02 10:07:06 +00:00
Jeremy Fincher
f0cfa30eee Added QUIT propogation 2003-04-01 07:09:36 +00:00
Jeremy Fincher
390c1fa9ee Attribute mode changes to someone 2003-03-31 09:31:47 +00:00
Jeremy Fincher
2bb3189d54 Fixed nick and mode change propogation 2003-03-31 09:22:48 +00:00
Jeremy Fincher
f9cdb62725 Added nick and mode propogation 2003-03-31 07:04:23 +00:00
Jeremy Fincher
c42806665b Fixed 'let's send a new topic every second' problem. 2003-03-28 07:10:23 +00:00
Jeremy Fincher
e99df4442b Added topic propogation 2003-03-28 05:36:59 +00:00
Jeremy Fincher
b43acf0d5a Fixing relaydisconnect not to call otherIrc.die, since that kills the callbacks. 2003-03-28 01:36:00 +00:00
Jeremy Fincher
d33e67989b Forgot msg in someIrc.reply 2003-03-28 01:26:37 +00:00
Jeremy Fincher
c582cd9834 Finished polishing relaynames 2003-03-27 21:28:15 +00:00
Jeremy Fincher
b67f2fa874 Fixed showing of originating server in relaynames, and showing of empty name 2003-03-27 21:21:20 +00:00
Jeremy Fincher
a144afcd69 Fixed showing of originating server in relaynames, and showing of empty name 2003-03-27 21:18:49 +00:00
Jeremy Fincher
54221f1e87 Added relaynames command 2003-03-27 21:14:28 +00:00
Jeremy Fincher
3cea0564f1 Fixed exception-raising problem. 2003-03-27 21:03:02 +00:00
Jeremy Fincher
f1823ef5f5 (Hopefully) fixed joins-being-sent-to-original-channel bug. 2003-03-27 20:32:49 +00:00
Jeremy Fincher
fc20715427 Added utils.py, with a quality HTML stripper; removed stripHtml from other source files 2003-03-27 20:10:10 +00:00
Jeremy Fincher
4da96fb264 Fixed stupid bug in outFilter (* is a special regexp character) 2003-03-27 09:48:40 +00:00
Jeremy Fincher
5db1dbd595 Changed idiom in doPart to be more like others 2003-03-27 09:15:38 +00:00
Jeremy Fincher
da27691eac Fixed join/part being relayed bug 2003-03-27 09:14:00 +00:00
Jeremy Fincher
e3cf5753af Fixed problem with actions being relayed back to the original network 2003-03-27 08:56:34 +00:00
Jeremy Fincher
256e2e0a5d Fixed stupid bug in outFilter (forgot *not*) 2003-03-27 08:37:17 +00:00
Jeremy Fincher
34a47130e1 Fixed stupid bug in outFilter (extra parenthese in regexp) 2003-03-27 08:27:35 +00:00
Jeremy Fincher
fae918a1ba Fixed stupid bug in outFilter (forgot to return msg) 2003-03-27 08:26:36 +00:00
Jeremy Fincher
32262af492 Changed over to privmsgs.CapabilityCheckingPrivmsg and finished relaydisconnect. 2003-03-27 08:24:22 +00:00
Jeremy Fincher
d5c7789cbb Made bot relay its own non-relay messages and factored out formatting of PRIVMSGs. 2003-03-27 08:17:51 +00:00
Jeremy Fincher
c268078697 Fixed action handling 2003-03-27 08:04:19 +00:00
Jeremy Fincher
e112e32d71 Still buggy, but more featureful 2003-03-26 08:39:50 +00:00
James Vega
c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00