Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-12 | ircsocket: tunable IRC penalty | Giuseppe Bilotta | |
2008-09-24 | ircbot.rb: fill was_on info when delegating sent QUIT | Giuseppe Bilotta | |
2008-09-05 | quiet exception list | Giuseppe Bilotta | |
Keep a track of exceptions to a global 'quiet' command so that user can use !quiet and !talk in here to make the bot only talk in one channel without quiet-ing it by hand in each one of the other channels. | |||
2008-08-19 | IRC socket: get rid of delay/burst | Giuseppe Bilotta | |
The penalty system should be enough to prevent the bot from being disconnected because of excess flood, making the old sendq delay/burst code unnecessary. So get rid of the latter altogether. (If the penalty system as implemented ever happens to be insufficient as implemented, it should just get fixed rather than rely on the sendq delay/burst assistance.) | |||
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-06 | basics: option to join channel after identification is confirmed | Giuseppe Bilotta | |
Sometimes it is necessary to wait for identification to be confirmed before certain channels may be joined. In this case the option irc.join_after_identify can be set to true, and the bot will wait for nickserv to confirm the identification before joining any channels. This solution is actually a rather ugly hack, but I can't think of a better way to approach the problem without rewriting the whole framework. | |||
2008-07-30 | + @bot.wanted_nick stores the nick wanted by the bot | Giuseppe Bilotta | |
2008-07-30 | ircbot.rb: server no-color modes can be configured | 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-28 | ircbot.rb: @bot.topic() can also be used to retrieve topic information ↵ | Giuseppe Bilotta | |
instead of setting it | |||
2008-06-26 | ircbot.rb: make #mode()'s third argument optional | Giuseppe Bilotta | |
2008-06-24 | ircbot.rb: create the appropriate directories when updating botclass dir ↵ | Giuseppe Bilotta | |
from template | |||
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-24 | ircbot.rb: copy missing template files on startup | Giuseppe Bilotta | |
2008-06-23 | + strip all colours and formatting when sending to a +c or +C channel | Giuseppe Bilotta | |
2008-06-23 | ircbot.rb: ask about current channel modes on join | Giuseppe Bilotta | |
2008-06-20 | ircbot.rb: ensure that the logger is flushed | Giuseppe Bilotta | |
If the bot fails to load (e.g. because of missing dependency) the user might miss the last error messages because the logger thread wouldn't reach completion. Ensure its closure in an END block. | |||
2008-06-18 | * ircbot: fix quiet/reset_quiet wrt missing args | dmitry kim | |
2008-06-17 | + print the location of the debug log to stdout on start | dmitry kim | |
2008-04-23 | core: refactor signal trapping, and call it from initialize() | Giuseppe Bilotta | |
2008-04-23 | core: restart on SIGHUP | Giuseppe Bilotta | |
2008-04-18 | * make the daemonization thing to suck less (wrt standard io channels) | dmitry kim | |
2008-04-16 | + ircbot logging: log_session_end on restarts, too | dmitry kim | |
2008-04-16 | * ircbot logging: fixed the logger thread wrt daemonizing | dmitry kim | |
2008-04-15 | + ircbot logging: atomic multiline log records | dmitry kim | |
2008-04-15 | * ircbot logging: $log_queue / logger thread | dmitry kim | |
2008-04-15 | debug logging: don't raise on SecurityError | Giuseppe Bilotta | |
Some scripts (from the scripts plugin) can trigger the logging functions (debug, warning, info etc) in a $SAFE context: this causes the logger to fail. Catch SecurityError in raw_log() to prevent these valid scripts from failing. | |||
2008-04-15 | ircbot.rb: fix some IRC log refactoring issues | Giuseppe Bilotta | |
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 | + delegate notice() for NoticeMessage | Giuseppe Bilotta | |
2008-04-12 | + WelcomeMessage class | Giuseppe Bilotta | |
2008-04-07 | message: new 'ignored' property | Giuseppe Bilotta | |
2008-04-07 | plugins: irc_delegate to do listen+actual delegate | Giuseppe Bilotta | |
2008-04-07 | plugins: message() delegate | Giuseppe Bilotta | |
2008-03-27 | * handle invites properly -- forgot more than half the files :/ | Giuseppe Bilotta | |
2008-03-25 | ircbot: remove obsolete commented includes | Giuseppe Bilotta | |
2008-03-11 | ircbot: don't die on SocketError during disconnect | Giuseppe Bilotta | |
2008-02-14 | * replace references to old website to references to new site | Giuseppe Bilotta | |
2007-11-06 | Improved inspect methods all around | 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-19 | core: only WHO on join if it's the bot itself joining a channel | Giuseppe Bilotta | |
2007-09-13 | more rdoc-ification | Giuseppe Bilotta | |
2007-09-13 | namespaces: simplify Irc::Bot::Auth manager singleton name and accessor | Giuseppe Bilotta | |
2007-09-12 | namespaces: provide backwards compatibility methods for BotConfig.register ↵ | Giuseppe Bilotta | |
and related classes | |||
2007-09-12 | namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::* | Giuseppe Bilotta | |