Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-19 | remove whitespace | Raine Virta | |
2009-01-22 | + (reply) config option to force reply to query | Simon Hafner | |
+ (reply) symbol to bypass the config option * (plugins) fixed url according to the patch The symbols are: :to => :public force the message to be replied in channel (if any) :to => :private force the message to be replied in private :to => :auto takes core.private_replies (default) | |||
2009-01-22 | + (reply) add new option to control nick prefixing | Simon Hafner | |
Message#reply() now accepts a :reply option :nick => false don't prefix nick :nick => true prefix nick :nick => :auto take core.reply_with_nick (default) | |||
2008-09-05 | message.rb: fix the fix to message addressing logic | Giuseppe Bilotta | |
This reverts commit b6bd9a24014ac9fbc822e9051f216f0506f24cd5 "message.rb: fix message addressing logic" since it actually breaks the validity for address? in a number of cases. Instead, add proper @address setting to NickMessage which is the only one getting it wrong presently. | |||
2008-08-13 | message.rb: fix message addressing logic | Giuseppe Bilotta | |
IRC messages which are not PRIVMSG or NOTICE (i.e. not UserMessage) are 'addressed' to the bot when they originate from it. Rather than putting this logic in each one of them (and forgetting about it for some, e.g. NICK messages), put it in BasicUserMessage. Compensate by always setting @address in UserMessage to test against target instead. | |||
2008-08-10 | + handle WHOIS queries | Giuseppe Bilotta | |
The bot now exposes a whois(nick) method to make WHOIS queries to the server. The extended syntax whois(nick, server) is also supported, allowing another server to be queried (this is useful to retrieve info which is only available on nick's server, such as idle time and signon date). Most if not all RFC-compliant replies are handled, although some of the data received is currently ignored. Non-RFC extended replies such as nickserv identification status are not hanlded yet, since they are highly server-specific, both in numeric reply choice (e.g. 307 vs 320) and in reply message syntax and meaning. A new WhoisMessage is also introduced, for plugin delegation. The source is the originating server, the target is the user for which information was requested. A #whois() method is provided holding all retrieved information. | |||
2008-08-09 | message.rb: correct @plainmessage and @message for CTCP messages | Giuseppe Bilotta | |
After CTCP parsing, @plainmessage was not defined correctly (as it still contained the CTCP command), and @plainmessage and @message were not being cleaned up correctly. This manifested itself e.g. with spurious \001ACTION and other strange unusual byte sequence popping up in markov-generated text. Fix by redefining @plainmessage and @message appropriately in CTCP handling. | |||
2008-07-30 | message.rb: fix a thinko in inspect() | Giuseppe Bilotta | |
2008-06-29 | message.rb: suppress warning about duplicate method | Giuseppe Bilotta | |
2008-06-29 | * fix handling of IDENTIFY_MSG | Giuseppe Bilotta | |
When a server has IDENTIFY-MSG, we would expect identification in any PRIVMSG or NOTICE, even on those generated from the bot. This caused lots of spurious warnings, and would lead to mislogging when a bot-generated message started with + or -. Fix this by only handling IDENTIFY-MSG on server-generated messages. | |||
2008-06-26 | message.rb: saner \#inspect() for BasicUserMessage and derivatives | Giuseppe Bilotta | |
2008-06-24 | allow multi-line (artificial) messages be delegated and handled | Yaohan Chen | |
2008-06-24 | message handling: improve IRC format handling for received messages | Giuseppe Bilotta | |
Rather than stripping colors all around and keeping other format codes, we only strip initial and final formatting before parsing the message. We store the original, unstripped message in #logmessage() and a fully stripped copy of the message in #plainmessage() This means that most plugins will now have full formatting of arguments preserved, while stupid IRC usage of formatting whole lines will not interfere with bot usage. Plugins that need a fully stripped version of the message can still access it. | |||
2008-06-23 | + strip all colours and formatting when sending to a +c or +C channel | Giuseppe Bilotta | |
2008-05-28 | changed m.thread to m.in_thread, with different semantics | Yaohan Chen | |
m.in_thread indicates that the caller of delegate is in thread (and is handled by not creating another thread for m's mapped action) | |||
2008-05-27 | add attribute BasicUserMessage#thread | Yaohan Chen | |
this specifies whether the message handler is to be threaded, and overrides the map option if non-nil. | |||
2008-05-20 | Fix m.reply() regexp check for nick presence, which failed for nicks such as ↵ | Giuseppe Bilotta | |
unfo- or jsn- | |||
2008-04-15 | IRC logging refactoring | Giuseppe Bilotta | |
2008-04-13 | + UnknownMessage class | Giuseppe Bilotta | |
2008-04-13 | + NamesMessage class | Giuseppe Bilotta | |
2008-04-13 | rfc2812: parse User mode changes, even though they aren't handled yet | Giuseppe Bilotta | |
2008-04-13 | + ModeChangeMessage class | Giuseppe Bilotta | |
2008-04-13 | + MotdMessage class | Giuseppe Bilotta | |
2008-04-12 | + WelcomeMessage class | Giuseppe Bilotta | |
2008-04-09 | message: force Irc color to be specificed with 2 digits | Giuseppe Bilotta | |
2008-04-07 | message: new 'ignored' property | Giuseppe Bilotta | |
2008-03-27 | * handle invites properly -- forgot more than half the files :/ | Giuseppe Bilotta | |
2008-03-21 | message.rb: Regexp.escape nickname when embedding it in regexp, as nicknames ↵ | Yaohan Chen | |
can contain [ ] | etc | |||
2008-02-22 | message.rb: #notify() method | Giuseppe Bilotta | |
2007-09-25 | message.rb: fix logmessage for CTCP ACTIONs | Giuseppe Bilotta | |
2007-09-24 | message.rb: logmessage method to retrieve the message for logging purposes | Giuseppe Bilotta | |
When logging messages, it is appropriate to remove color and identification prefixes (in networks that support it), but not the address prefix. Solve this by saving a copy of the message without the address prefix(es) removed, and use it in irclog*() methods. | |||
2007-09-22 | message.rb: fix "I'm Stupid(TM)" bug in [1100] | Giuseppe Bilotta | |
2007-09-12 | namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::* | Giuseppe Bilotta | |
2007-09-04 | New Auth Framework, New Irc Framework: convenience methods for Irc::User to ↵ | Giuseppe Bilotta | |
retrieve the associated BotUser and its data | |||
2007-09-02 | message.rb: convenience method to get the botuser corresponding the message ↵ | Giuseppe Bilotta | |
source | |||
2007-09-02 | * CTCP replies always use the same CTCP command. Use the new syntax to reply ↵ | Giuseppe Bilotta | |
to CTCP PING and TIME commands in basics | |||
2007-09-02 | * (message.rb) CTCP commands may have no parameters | Giuseppe Bilotta | |
2007-09-02 | + cleaner support for CTCP commands | Giuseppe Bilotta | |
2007-08-30 | * (message.rb) dear tango_! i think i know what r1073 was. here's my version. | Dmitry Kim | |
2007-08-30 | !!! (message.rb) dear tango_! i have no idea what r1073 is! -jsn. | Dmitry Kim | |
2007-08-30 | message.rb: try to handle situations where the source isn't an Irc::User | Giuseppe Bilotta | |
2007-08-29 | Put the Irc attributes back where they belong | Giuseppe Bilotta | |
2007-08-29 | Color codes and Irc.color(fg, bg) methods to ease color display | Giuseppe Bilotta | |
2007-08-29 | ColorRx: accept a color specification with no foreground color | Giuseppe Bilotta | |
2007-08-29 | Add Italic (\011) constant to complement Underline, Reverse and Bold | Giuseppe Bilotta | |
2007-03-15 | * fixed a regexp for "identify-msg" server capability ("^" was missing) | Dmitry Kim | |
2007-02-20 | Minor message optimizations | Giuseppe Bilotta | |
2007-02-05 | sendmsg improvements: plugins can now choose what to do with overlong ↵ | Giuseppe Bilotta | |
messages without having to resort to custom solutions | |||
2007-02-04 | Minor optimization in message.rb | Giuseppe Bilotta | |
2006-08-11 | nickokay now properly selected | Giuseppe Bilotta | |