Commit Graph

199 Commits

Author SHA1 Message Date
James Vega fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Jeremy Fincher 6950f65c98 Topic sync has broken one of our invariants. 2004-01-19 20:21:30 +00:00
Jeremy Fincher 6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher 4db8dfb773 Catch an exception uncaught before. 2004-01-15 11:25:04 +00:00
Jeremy Fincher 585eb4a751 Oops, still had a msg! 2004-01-09 00:03:59 +00:00
Jeremy Fincher 1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +00:00
Jeremy Fincher 530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher aa7408c09b Changed over to the cool new RichReplyMethods stuff, mostly. 2004-01-07 19:09:24 +00:00
Jeremy Fincher 4e69914648 Made to relay actions and away messages. 2004-01-04 13:50:43 +00:00
Jeremy Fincher 68591b1ec9 Fixed bug #868338 (Relay.whois). 2004-01-02 20:59:14 +00:00
Jeremy Fincher 526f8d7314 Make sure to relay actions and away messages. 2004-01-01 19:10:20 +00:00
Jeremy Fincher bddac5c382 Oops, shouldn't have made self._whois an IrcDict. 2003-12-18 08:29:17 +00:00
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