summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-06-18rfc2812: fix MODE line parsingGiuseppe Bilotta
2008-06-18+ core/irclog: dedicated loggers threaddmitry kim
2008-06-18* ircbot: fix quiet/reset_quiet wrt missing argsdmitry kim
2008-06-17+ print the location of the debug log to stdout on startdmitry kim
2008-06-17* load-gettext: warn() -> warning()dmitry kim
2008-06-17* plugins.rb: avoid uninitialized warning on @prioritydmitry kim
2008-06-16irclog: log own CTCP message with correct syntaxGiuseppe Bilotta
2008-06-07recommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per pluginYaohan 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-06Revert "each plugin uses its own po file"Yaohan Chen
This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481.
2008-06-05each plugin uses its own po fileYaohan 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-28changed m.thread to m.in_thread, with different semanticsYaohan 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-27use m.thread.nil? rather than longer m.thread == nilYaohan Chen
2008-05-27add attribute BasicUserMessage#threadYaohan 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 wizarddmitry kim
2008-05-20Fix m.reply() regexp check for nick presence, which failed for nicks such as ↵Giuseppe Bilotta
unfo- or jsn-
2008-05-04fixed typo in help authMoritz 'moemoe' Augsburger
2008-05-01* unicode.rb: @old_kcode --> @@old_kcode [we aren't always called as an ↵dmitry kim
instance]
2008-05-01messagemapper: Regexp#mm_cleanup method instead of repeated (and wrong) ↵Giuseppe Bilotta
progressive cleanup
2008-05-01messagemapper.rb: keep options when removing captures in regexpsGiuseppe Bilotta
2008-05-01rfc2812.rb: handle mode changes like -o+bGiuseppe Bilotta
2008-04-24config core botmodule: only show possible keys summary when more than one ↵Giuseppe Bilotta
key was found
2008-04-24config core botmodule: bolden keys on searchGiuseppe Bilotta
2008-04-23core: refactor signal trapping, and call it from initialize()Giuseppe Bilotta
2008-04-23core: restart on SIGHUPGiuseppe Bilotta
2008-04-22Licensing uniformity: dual-license rbot core under MIT+acknowledgement and GPLv2Giuseppe Bilotta
2008-04-19core/irclog: black and whitelistsGiuseppe Bilotta
2008-04-19core/irclog: config option for max open filesGiuseppe Bilotta
2008-04-18* make the daemonization thing to suck less (wrt standard io channels)dmitry kim
2008-04-16gettext: support anonymous modules (and thus plugins) with newer gettextGiuseppe Bilotta
While older ruby-gettext raised when trying to bind for anonymous modules (such as the ones that wrap rbot plugins), newer versions just provide an empty array. This makes the previous fix (which used rescue) ineffective. Solve by rescuing with [] (so that older gettext behaves like the new one) and then adding Object if the list is indeed empty.
2008-04-16+ ircbot logging: log_session_end on restarts, toodmitry kim
2008-04-16* ircbot logging: fixed the logger thread wrt daemonizingdmitry kim
2008-04-15+ ircbot logging: atomic multiline log recordsdmitry kim
2008-04-15* ircbot logging: $log_queue / logger threaddmitry kim
2008-04-15debug logging: don't raise on SecurityErrorGiuseppe 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+ core/irclog: stamp/close logs on rescan/restartdmitry kim
2008-04-15+ core/irclog: expiration for the open logfiles cachedmitry kim
2008-04-15+ core/irclog: time stamp on opendmitry kim
2008-04-15irclog: uniformize logging styleGiuseppe Bilotta
2008-04-15irclog core module: dispatch from listen() to catch double-delegated ↵Giuseppe Bilotta
messages early
2008-04-15ircbot.rb: fix some IRC log refactoring issuesGiuseppe Bilotta
2008-04-15IRC logging refactoringGiuseppe Bilotta
2008-04-14utils: URI fragment is sometimes found in id attribute to A tagGiuseppe Bilotta
2008-04-14utils: don't hang when getting first par with nonexistant uri-fragmentGiuseppe Bilotta
When an URL is passed which has a uri-fragment referring to a nonexisting named ref, the bot should not hang with 100% CPU usage while trying to match a horribly designed regular expression. Fix by using a much simpler regexp and post-match.
2008-04-14auth core botmodule: it's p, not paramsGiuseppe Bilotta
2008-04-14+ temporary permissionsGiuseppe Bilotta
2008-04-13plugins: rework delegate() to accept optionsGiuseppe Bilotta
2008-04-13+ UnknownMessage classGiuseppe Bilotta
2008-04-13+ NamesMessage classGiuseppe Bilotta
2008-04-13rfc2812: parse User mode changes, even though they aren't handled yetGiuseppe Bilotta
2008-04-13rfc2812: clean up channel mode handlingGiuseppe Bilotta