Commit Graph

186 Commits

Author SHA1 Message Date
Jeremy Fincher
eca71949b4 Minor code cleanup. 2003-12-17 13:16:42 +00:00
Jeremy Fincher
a12c4200ac Forgot a return. 2003-12-16 13:45:37 +00:00
Jeremy Fincher
cf80ab7800 Added Relay.command. 2003-12-16 13:44:09 +00:00
Jeremy Fincher
b7fbaedcad Made sure it doesn't relay CTCP messages. 2003-12-10 18:50:35 +00:00
Jeremy Fincher
c6d77bb923 Added a topic-sync configurable for determining whether or not the bot should relay topic changes. 2003-12-10 08:27:30 +00:00
James Vega
f4995b4df9 user->nick change for Relay.whois 2003-12-09 14:56:45 +00:00
James Vega
8fe7d7e4e8 Add identified status and away message to Relay.whois 2003-12-09 14:35:54 +00:00
Jeremy Fincher
2aaca31709 Moved Configurable out to its own module. 2003-12-03 23:14:09 +00:00
Jeremy Fincher
1f4c16367a Should be able to reload Relay now, but it's untested. 2003-12-02 13:39:30 +00:00
Jeremy Fincher
efa81e0ac2 Fixed SyntaxError. 2003-12-01 12:03:23 +00:00
Jeremy Fincher
b0fa390f99 Added the number of people to Relay.names. 2003-11-28 18:22:41 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher
0ab9d4e3ec Do sorting the right way (not only are cmp functions slow, but with nicks you need to sort by ircutils.toLower, not str.lower). 2003-11-21 11:45:43 +00:00
James Vega
e3b09746c0 Now we can sort names independent of case! 2003-11-20 23:46:56 +00:00
Jeremy Fincher
eb6e112f70 Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:37:04 +00:00
Jeremy Fincher
5149d17b6a Made Configurable persistent. 2003-11-11 15:58:20 +00:00
Jeremy Fincher
2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
Jeremy Fincher
225ee0ed6a Oops, SyntaxError. 2003-11-11 12:11:13 +00:00
Jeremy Fincher
754978850c Give a proper error message for possibly uncaught exception: bug #839653. 2003-11-11 11:37:17 +00:00
Jeremy Fincher
024f462361 Converted to Configurable. 2003-11-08 09:44:04 +00:00
James Vega
25aacc3cd7 Add name ordering and mode-characters for relay names. Name ordering is also
done by mode (ops sorted, then voices, etc)
2003-11-07 14:54:48 +00:00
James Vega
5a6f3ee7bb Removed the example strings until we figure out what to do with them 2003-11-06 20:42:27 +00:00
Jeremy Fincher
8474b10f32 Made Relay not ignore, and added a check to Owner.doPrivmsg to make sure commands can't get called by ignored people (even if noIgnore is True on the plugin with the commands. 2003-11-04 17:34:48 +00:00
Jeremy Fincher
afa0cb8f41 Fixed bug in relay whois; chopping characters off the end of the channel rather than the beginning. 2003-11-04 08:50:10 +00:00
Jeremy Fincher
3f081ee21c Added some error checking to join and part. 2003-10-30 04:06:46 +00:00
Jeremy Fincher
29d20d2513 Changed the color command to a toggle. 2003-10-30 02:03:49 +00:00
Jeremy Fincher
08f5adf362 Ew, ugly SQL!plugins/Quotes.py 2003-10-29 08:38:15 +00:00
Jeremy Fincher
80deb23897 Fix for relay whois bug with the reporting of status on channels. 2003-10-28 14:08:11 +00:00
Jeremy Fincher
a34589cce7 Completed the removal of callbacks.Privmsg.doPrivmsg. 2003-10-28 06:30:42 +00:00
Jeremy Fincher
218e53b409 Removed the die on the IRC object in relay disconnect because that makes all the plugins die. 2003-10-24 23:15:04 +00:00
Jeremy Fincher
f9bd4db612 Made the wizard and Relay.configure utils.dqrepr their channel names. 2003-10-22 09:14:49 +00:00
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