Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-08-05 | irclog core module: log rotation | Giuseppe Bilotta | |
2008-08-03 | * fix ominous bug in Regexp::IP_ADDR | Giuseppe Bilotta | |
2008-07-31 | + core/config: sort config search result | dmitry kim | |
2008-07-30 | message.rb: fix a thinko in inspect() | Giuseppe Bilotta | |
2008-07-30 | + @bot.wanted_nick stores the nick wanted by the bot | Giuseppe Bilotta | |
2008-07-30 | * nick is handled by config, not basics | Giuseppe Bilotta | |
2008-07-30 | ircbot.rb: server no-color modes can be configured | Giuseppe Bilotta | |
2008-07-29 | auth core botmodule: advertise and act on mismatched master password | Giuseppe Bilotta | |
2008-07-16 | Revert "* use to_irc_netmask(:force => true) to unlink Netmasks from their ↵ | Giuseppe Bilotta | |
Server to prevent errors when dumping users" This reverts commit 9a1cf6a11b12c06cd925dd6a789ec98fe750c8ad, since it was a hack to work around the undumpable Channel (and consequently Server and Netmask) caused by 847a977b228b35f5ab281a31dd3724a4db887dff "#any? and #all? methods for Channel#mode to check if modes are set" and fixed by 8f8205310518e7b0626d657ba9667f7bfc745371 "Dumpable definition of #any? and #all? methods for Channel#mode" | |||
2008-07-16 | Dumpable definition of #any? and #all? methods for Channel#mode | Giuseppe Bilotta | |
Commit 847a977b228b35f5ab281a31dd3724a4db887dff "#any? and #all? methods for Channel#mode to check if modes are set" turned Channel into a non-marshallable object because of singleton methods. Revert the commit and define an ad-hoc ModeHash class with the any? and all? methods, to make Channel#mode of that class. | |||
2008-07-14 | plugins.rb: commands were being delegated even from ignored messages | Giuseppe Bilotta | |
2008-07-14 | * use to_irc_netmask(:force => true) to unlink Netmasks from their Server to ↵ | Giuseppe Bilotta | |
prevent errors when dumping users | |||
2008-07-11 | do not crash when GetText.cached= is not defined | Yaohan Chen | |
2008-07-07 | httputil: don't fail when b0rked servers put the charset in the content-encoding | Giuseppe Bilotta | |
2008-07-03 | utils.rb: added timeago and distance_of_time_in_words functions | Casey Link | |
2008-07-01 | Version 0.9.11-rc1 | 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-28 | ircbot.rb: @bot.topic() can also be used to retrieve topic information ↵ | Giuseppe Bilotta | |
instead of setting it | |||
2008-06-28 | New IRC framework: allow RPL_TOPIC(_INFO) for channels we are not on, since ↵ | Giuseppe Bilotta | |
some networks allow it | |||
2008-06-26 | ircbot.rb: make #mode()'s third argument optional | Giuseppe Bilotta | |
2008-06-26 | config.rb: localize git date in version | Giuseppe Bilotta | |
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 | extends.rb: suppress warning | 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 | ircsocket.rb: use syswrite since ruby's buffered io is racy | Giuseppe Bilotta | |
In some situations a PRIVMSG could be output twice in sequence with no intervening newline when using the Socket#puts function. Use syswrite to skip Ruby's buffered IO. | |||
2008-06-24 | fake_message duplicates m.reply and m.in_thread from the :from message | Yaohan Chen | |
this makes it possible to create a fake message, override its reply method in order to get its "return value", even if the fake message will be handled by creating another fake message. | |||
2008-06-24 | fake messages will use the originating message's reply method | Yaohan Chen | |
this allows shell plugin to capture replies of a command even if this command is run because of a fake message | |||
2008-06-24 | ircbot.rb: copy missing template files on startup | Giuseppe Bilotta | |
2008-06-24 | config.rb: system wide overrides in /etc/rbot.conf | Giuseppe Bilotta | |
2008-06-23 | Set GetText.cached = false so that mo files are reloaded when setting locale | Yaohan Chen | |
2008-06-23 | rfc2812.rb: skip unknown channel modes altogether | Giuseppe Bilotta | |
Some servers set non-advertized channel modes. Since we cannot handle them (as we don't know what type they are) and setting them crashes the bot, we remove them. | |||
2008-06-23 | + strip all colours and formatting when sending to a +c or +C channel | Giuseppe Bilotta | |
2008-06-23 | #any? and #all? methods for Channel#mode to check if modes are set | Giuseppe Bilotta | |
2008-06-23 | extends: define Array#shuffle(\!) only if not present already, and use ↵ | Giuseppe Bilotta | |
simpler definitions | |||
2008-06-23 | rfc2812.rb: warn about unhandled numeric replies too | Giuseppe Bilotta | |
2008-06-23 | ircbot.rb: ask about current channel modes on join | Giuseppe Bilotta | |
2008-06-23 | rfc2812.rb: refactor MODE parsing to use it for RPL_CHANNELMODEIS (324) too | Giuseppe Bilotta | |
2008-06-20 | dbhash: doh | Giuseppe Bilotta | |
2008-06-20 | dbhash.rb: slightly rework errors for failing to load bdb | 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-19 | rbotconfig: be aware that -git versions also have revision information | Giuseppe Bilotta | |
2008-06-18 | rfc2812: be compatible with ruby < 1.8.7 | Giuseppe Bilotta | |
String#each_char is only available in ruby 1.8.7, so use each_byte followed by .chr | |||
2008-06-18 | rfc2812: fix MODE line parsing | Giuseppe Bilotta | |
2008-06-18 | + core/irclog: dedicated loggers thread | dmitry kim | |
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 | |