Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2008-06-17 | * load-gettext: warn() -> warning() | dmitry kim | |
2008-06-17 | * plugins.rb: avoid uninitialized warning on @priority | dmitry kim | |
2008-06-16 | irclog: log own CTCP message with correct syntax | Giuseppe Bilotta | |
2008-06-07 | recommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per plugin | Yaohan Chen | |
each plugin uses its own po file, no change required for plugin source, Rakefile, plugin loader and gettext loader are modified to adjust to the change | |||
2008-06-06 | Revert "each plugin uses its own po file" | Yaohan Chen | |
This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481. | |||
2008-06-05 | each plugin uses its own po file | Yaohan Chen | |
no modification in plugin source is needed, plugin loader is modified to automatically bind to the plugin's text domain updatepo task is modified to maintain per-plugin po file po files are updated and cleaned | |||
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 | use m.thread.nil? rather than longer m.thread == nil | Yaohan Chen | |
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-23 | * autoflush $stdout in setup wizard | dmitry kim | |
2008-05-20 | Fix m.reply() regexp check for nick presence, which failed for nicks such as ↵ | Giuseppe Bilotta | |
unfo- or jsn- | |||
2008-05-04 | fixed typo in help auth | Moritz 'moemoe' Augsburger | |
2008-05-01 | * unicode.rb: @old_kcode --> @@old_kcode [we aren't always called as an ↵ | dmitry kim | |
instance] | |||
2008-05-01 | messagemapper: Regexp#mm_cleanup method instead of repeated (and wrong) ↵ | Giuseppe Bilotta | |
progressive cleanup | |||
2008-05-01 | messagemapper.rb: keep options when removing captures in regexps | Giuseppe Bilotta | |
2008-05-01 | rfc2812.rb: handle mode changes like -o+b | Giuseppe Bilotta | |
2008-04-24 | config core botmodule: only show possible keys summary when more than one ↵ | Giuseppe Bilotta | |
key was found | |||
2008-04-24 | config core botmodule: bolden keys on search | Giuseppe Bilotta | |
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-22 | Licensing uniformity: dual-license rbot core under MIT+acknowledgement and GPLv2 | Giuseppe Bilotta | |
2008-04-19 | core/irclog: black and whitelists | Giuseppe Bilotta | |