rbot
15 years ago* plugins.rb: avoid uninitialized warning on @priority
dmitry kim [Tue, 17 Jun 2008 13:32:41 +0000 (17:32 +0400)] 
* plugins.rb: avoid uninitialized warning on @priority

15 years agoirclog: log own CTCP message with correct syntax
Giuseppe Bilotta [Mon, 16 Jun 2008 19:07:33 +0000 (21:07 +0200)] 
irclog: log own CTCP message with correct syntax

15 years ago* rss.rb: use guids to check for seen items
dmitry kim [Wed, 11 Jun 2008 06:32:57 +0000 (10:32 +0400)] 
* rss.rb: use guids to check for seen items

15 years agohelp for eval and echo
Adam Di Carlo [Wed, 11 Jun 2008 19:31:56 +0000 (14:31 -0500)] 
help for eval and echo

15 years ago* launch_here.rb: patch $0 to make restart work
dmitry kim [Wed, 11 Jun 2008 19:51:32 +0000 (23:51 +0400)] 
* launch_here.rb: patch $0 to make restart work

15 years ago* launch_here.rb should be runnable from any directory
dmitry kim [Wed, 11 Jun 2008 19:40:13 +0000 (23:40 +0400)] 
* launch_here.rb should be runnable from any directory

15 years agoadd wrapper for msgmerge to workaround gettext bug with "empty" pot files
Yaohan Chen [Sat, 7 Jun 2008 19:48:53 +0000 (15:48 -0400)] 
add wrapper for msgmerge to workaround gettext bug with "empty" pot files

15 years agorecommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per plugin
Yaohan Chen [Sat, 7 Jun 2008 18:30:33 +0000 (14:30 -0400)] 
recommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per plugin
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

15 years agomark spell plugin for gettext
Yaohan Chen [Sat, 7 Jun 2008 17:45:56 +0000 (13:45 -0400)] 
mark spell plugin for gettext

15 years agoRevert "each plugin uses its own po file"
Yaohan Chen [Fri, 6 Jun 2008 20:41:20 +0000 (16:41 -0400)] 
Revert "each plugin uses its own po file"

This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481.

15 years agoeach plugin uses its own po file
Yaohan Chen [Fri, 6 Jun 2008 02:20:18 +0000 (22:20 -0400)] 
each plugin uses its own po file
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

16 years agomark translatable strings in nickserv.rb, po update
Yaohan Chen [Sun, 1 Jun 2008 18:56:33 +0000 (14:56 -0400)] 
mark translatable strings in nickserv.rb, po update

16 years agoshortenurls plugin: get rid of WWW:: namespace entirely
Giuseppe Bilotta [Thu, 29 May 2008 21:25:13 +0000 (23:25 +0200)] 
shortenurls plugin: get rid of WWW:: namespace entirely

16 years agochanged m.thread to m.in_thread, with different semantics
Yaohan Chen [Wed, 28 May 2008 17:03:00 +0000 (13:03 -0400)] 
changed m.thread to m.in_thread, with different semantics
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)

16 years agouse m.thread.nil? rather than longer m.thread == nil
Yaohan Chen [Wed, 28 May 2008 01:13:53 +0000 (21:13 -0400)] 
use m.thread.nil? rather than longer m.thread == nil

16 years agoadd attribute BasicUserMessage#thread
Yaohan Chen [Tue, 27 May 2008 02:29:41 +0000 (22:29 -0400)] 
add attribute BasicUserMessage#thread
this specifies whether the message handler is to be threaded, and overrides the map
option if non-nil.

16 years ago* autoflush $stdout in setup wizard
dmitry kim [Thu, 22 May 2008 20:42:49 +0000 (00:42 +0400)] 
* autoflush $stdout in setup wizard

16 years agobotsnack plugin: help: it's @bot.nick, not @nick
Giuseppe Bilotta [Tue, 20 May 2008 19:48:17 +0000 (21:48 +0200)] 
botsnack plugin: help: it's @bot.nick, not @nick

16 years agobotsnack plugin: restore 0.9.10 code now that reply_with_nick has been fixed
Giuseppe Bilotta [Tue, 20 May 2008 19:42:48 +0000 (21:42 +0200)] 
botsnack plugin: restore 0.9.10 code now that reply_with_nick has been fixed

16 years agoFix m.reply() regexp check for nick presence, which failed for nicks such as unfo...
Giuseppe Bilotta [Tue, 20 May 2008 19:40:40 +0000 (21:40 +0200)] 
Fix m.reply() regexp check for nick presence, which failed for nicks such as unfo- or jsn-

16 years agoRevival of botsnack functionality as a plugin
Jan Wikholm [Tue, 20 May 2008 16:04:01 +0000 (19:04 +0300)] 
Revival of botsnack functionality as a plugin

The botsnack functionality which was in rbot 0.9.10 core has now been resurrected with love as a plugin. Show your bot some love!

16 years agofish plugin: fix text translation after babelfish moved to Yahoo, and disable non...
Giuseppe Bilotta [Wed, 14 May 2008 23:12:56 +0000 (01:12 +0200)] 
fish plugin: fix text translation after babelfish moved to Yahoo, and disable non-working URL translation

16 years agofish plugin: fix text translation after babelfish moved to Yahoo, and disable non...
Giuseppe Bilotta [Wed, 14 May 2008 23:11:53 +0000 (01:11 +0200)] 
fish plugin: fix text translation after babelfish moved to Yahoo, and disable non-working URL translation

16 years agofixed typo in help auth
Moritz 'moemoe' Augsburger [Sat, 3 May 2008 23:16:11 +0000 (01:16 +0200)] 
fixed typo in help auth

16 years ago* unicode.rb: @old_kcode --> @@old_kcode [we aren't always called as an instance]
dmitry kim [Wed, 30 Apr 2008 23:46:41 +0000 (03:46 +0400)] 
* unicode.rb: @old_kcode --> @@old_kcode [we aren't always called as an instance]

16 years agomessagemapper: Regexp#mm_cleanup method instead of repeated (and wrong) progressive...
Giuseppe Bilotta [Wed, 30 Apr 2008 22:41:15 +0000 (00:41 +0200)] 
messagemapper: Regexp#mm_cleanup method instead of repeated (and wrong) progressive cleanup

16 years agomessagemapper.rb: keep options when removing captures in regexps
Giuseppe Bilotta [Wed, 30 Apr 2008 22:24:22 +0000 (00:24 +0200)] 
messagemapper.rb: keep options when removing captures in regexps

16 years agorfc2812.rb: handle mode changes like -o+b
Giuseppe Bilotta [Wed, 30 Apr 2008 22:17:02 +0000 (00:17 +0200)] 
rfc2812.rb: handle mode changes like -o+b

16 years agoseen plugin: use case instead of ifs, and clean up a little
Giuseppe Bilotta [Tue, 29 Apr 2008 20:54:15 +0000 (22:54 +0200)] 
seen plugin: use case instead of ifs, and clean up a little

16 years agoseen plugin: fix seen data for nick change
Giuseppe Bilotta [Tue, 29 Apr 2008 20:38:00 +0000 (22:38 +0200)] 
seen plugin: fix seen data for nick change

16 years agoconfig core botmodule: only show possible keys summary when more than one key was...
Giuseppe Bilotta [Wed, 23 Apr 2008 22:29:28 +0000 (00:29 +0200)] 
config core botmodule: only show possible keys summary when more than one key was found

16 years agoconfig core botmodule: bolden keys on search
Giuseppe Bilotta [Wed, 23 Apr 2008 22:28:28 +0000 (00:28 +0200)] 
config core botmodule: bolden keys on search

16 years agocore: refactor signal trapping, and call it from initialize()
Giuseppe Bilotta [Wed, 23 Apr 2008 17:06:50 +0000 (19:06 +0200)] 
core: refactor signal trapping, and call it from initialize()

16 years agocore: restart on SIGHUP
Giuseppe Bilotta [Wed, 23 Apr 2008 16:33:44 +0000 (18:33 +0200)] 
core: restart on SIGHUP

16 years agoUpdate AUTHORS
Giuseppe Bilotta [Tue, 22 Apr 2008 08:37:20 +0000 (10:37 +0200)] 
Update AUTHORS

16 years agoLicensing uniformity: dual-license rbot core under MIT+acknowledgement and GPLv2
Giuseppe Bilotta [Tue, 22 Apr 2008 07:53:22 +0000 (09:53 +0200)] 
Licensing uniformity: dual-license rbot core under MIT+acknowledgement and GPLv2

16 years agouno plugin: most commands should only trigger after the game has started
Giuseppe Bilotta [Mon, 21 Apr 2008 21:43:23 +0000 (23:43 +0200)] 
uno plugin: most commands should only trigger after the game has started

16 years agouno plugin: only allow to pick a color after a wild
Giuseppe Bilotta [Mon, 21 Apr 2008 21:37:04 +0000 (23:37 +0200)] 
uno plugin: only allow to pick a color after a wild

16 years agorss plugin: return from select_nonempty() as soon as nonempty is found
Giuseppe Bilotta [Sat, 19 Apr 2008 09:39:18 +0000 (11:39 +0200)] 
rss plugin: return from select_nonempty() as soon as nonempty is found

Don't map over all parameters, because some parameters might not respond
to empty?. Also, it's unnecessarily slow. Just return as soon as we
found a nonempty parameter.

16 years agocore/irclog: black and whitelists
Giuseppe Bilotta [Sat, 19 Apr 2008 08:15:02 +0000 (10:15 +0200)] 
core/irclog: black and whitelists

16 years agocore/irclog: config option for max open files
Giuseppe Bilotta [Sat, 19 Apr 2008 07:18:31 +0000 (09:18 +0200)] 
core/irclog: config option for max open files

16 years ago* make the daemonization thing to suck less (wrt standard io channels)
dmitry kim [Thu, 17 Apr 2008 21:38:31 +0000 (01:38 +0400)] 
* make the daemonization thing to suck less (wrt standard io channels)

16 years agoupdate .po files
Giuseppe Bilotta [Wed, 16 Apr 2008 22:44:17 +0000 (00:44 +0200)] 
update .po files

16 years agogettext: support anonymous modules (and thus plugins) with newer gettext
Giuseppe Bilotta [Wed, 16 Apr 2008 21:49:41 +0000 (23:49 +0200)] 
gettext: support anonymous modules (and thus plugins) with newer gettext

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.

16 years ago+ ircbot logging: log_session_end on restarts, too
dmitry kim [Tue, 15 Apr 2008 21:59:03 +0000 (01:59 +0400)] 
+ ircbot logging: log_session_end on restarts, too

16 years ago* ircbot logging: fixed the logger thread wrt daemonizing
dmitry kim [Tue, 15 Apr 2008 21:06:28 +0000 (01:06 +0400)] 
* ircbot logging: fixed the logger thread wrt daemonizing

16 years ago+ ircbot logging: atomic multiline log records
dmitry kim [Tue, 15 Apr 2008 19:07:02 +0000 (23:07 +0400)] 
+ ircbot logging: atomic multiline log records

16 years ago* ircbot logging: $log_queue / logger thread
dmitry kim [Tue, 15 Apr 2008 18:54:55 +0000 (22:54 +0400)] 
* ircbot logging: $log_queue / logger thread

16 years agodebug logging: don't raise on SecurityError
Giuseppe Bilotta [Tue, 15 Apr 2008 13:01:37 +0000 (15:01 +0200)] 
debug logging: don't raise on SecurityError

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.

16 years agoscript plugin: report_error() method
Giuseppe Bilotta [Tue, 15 Apr 2008 13:01:26 +0000 (15:01 +0200)] 
script plugin: report_error() method

16 years ago+ core/irclog: stamp/close logs on rescan/restart
dmitry kim [Tue, 15 Apr 2008 01:25:45 +0000 (05:25 +0400)] 
+ core/irclog: stamp/close logs on rescan/restart

16 years ago+ core/irclog: expiration for the open logfiles cache
dmitry kim [Tue, 15 Apr 2008 01:14:25 +0000 (05:14 +0400)] 
+ core/irclog: expiration for the open logfiles cache

16 years ago+ core/irclog: time stamp on open
dmitry kim [Tue, 15 Apr 2008 00:29:37 +0000 (04:29 +0400)] 
+ core/irclog: time stamp on open

16 years agoirclog: uniformize logging style
Giuseppe Bilotta [Tue, 15 Apr 2008 00:03:04 +0000 (02:03 +0200)] 
irclog: uniformize logging style

16 years agoirclog core module: dispatch from listen() to catch double-delegated messages early
Giuseppe Bilotta [Mon, 14 Apr 2008 23:54:07 +0000 (01:54 +0200)] 
irclog core module: dispatch from listen() to catch double-delegated messages early

16 years agoircbot.rb: fix some IRC log refactoring issues
Giuseppe Bilotta [Mon, 14 Apr 2008 23:48:33 +0000 (01:48 +0200)] 
ircbot.rb: fix some IRC log refactoring issues

16 years agoIRC logging refactoring
Giuseppe Bilotta [Mon, 14 Apr 2008 23:21:34 +0000 (01:21 +0200)] 
IRC logging refactoring

16 years agouno plugin: more help
Giuseppe Bilotta [Mon, 14 Apr 2008 21:34:57 +0000 (23:34 +0200)] 
uno plugin: more help

16 years agouno plugin: initialize top10 counter both for inline and spread lists
Giuseppe Bilotta [Mon, 14 Apr 2008 20:55:05 +0000 (22:55 +0200)] 
uno plugin: initialize top10 counter both for inline and spread lists

16 years agoutils: URI fragment is sometimes found in id attribute to A tag
Giuseppe Bilotta [Mon, 14 Apr 2008 20:32:38 +0000 (22:32 +0200)] 
utils: URI fragment is sometimes found in id attribute to A tag

16 years agoutils: don't hang when getting first par with nonexistant uri-fragment
Giuseppe Bilotta [Mon, 14 Apr 2008 20:22:55 +0000 (22:22 +0200)] 
utils: don't hang when getting first par with nonexistant uri-fragment

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.

16 years agouno plugin: command to transfer game ownership
Giuseppe Bilotta [Mon, 14 Apr 2008 19:09:06 +0000 (21:09 +0200)] 
uno plugin: command to transfer game ownership

16 years agouno plugin: game starter how has temporary full uno::manage permissions for the game
Giuseppe Bilotta [Mon, 14 Apr 2008 17:58:31 +0000 (19:58 +0200)] 
uno plugin: game starter how has temporary full uno::manage permissions for the game

16 years agoauth core botmodule: it's p, not params
Giuseppe Bilotta [Mon, 14 Apr 2008 17:49:04 +0000 (19:49 +0200)] 
auth core botmodule: it's p, not params

16 years ago+ temporary permissions
Giuseppe Bilotta [Mon, 14 Apr 2008 15:33:19 +0000 (17:33 +0200)] 
+ temporary permissions

16 years agouno plugin: cleanly end all games on cleanup()
Giuseppe Bilotta [Mon, 14 Apr 2008 15:16:17 +0000 (17:16 +0200)] 
uno plugin: cleanly end all games on cleanup()

16 years agouno plugin: clean up game management permissions
Giuseppe Bilotta [Mon, 14 Apr 2008 15:04:35 +0000 (17:04 +0200)] 
uno plugin: clean up game management permissions

16 years agoyoutube plugin: update filters to new YouTube layout
Giuseppe Bilotta [Sun, 13 Apr 2008 23:03:21 +0000 (01:03 +0200)] 
youtube plugin: update filters to new YouTube layout

16 years agouno plugin: remove completed TODOs
Giuseppe Bilotta [Sun, 13 Apr 2008 22:08:02 +0000 (00:08 +0200)] 
uno plugin: remove completed TODOs

16 years agoplugins: rework delegate() to accept options
Giuseppe Bilotta [Sun, 13 Apr 2008 01:41:55 +0000 (03:41 +0200)] 
plugins: rework delegate() to accept options

16 years ago+ UnknownMessage class
Giuseppe Bilotta [Sat, 12 Apr 2008 23:46:46 +0000 (01:46 +0200)] 
+ UnknownMessage class

16 years ago+ NamesMessage class
Giuseppe Bilotta [Sat, 12 Apr 2008 23:44:26 +0000 (01:44 +0200)] 
+ NamesMessage class

16 years agorfc2812: parse User mode changes, even though they aren't handled yet
Giuseppe Bilotta [Sat, 12 Apr 2008 23:30:34 +0000 (01:30 +0200)] 
rfc2812: parse User mode changes, even though they aren't handled yet

16 years agorfc2812: clean up channel mode handling
Giuseppe Bilotta [Sat, 12 Apr 2008 23:16:16 +0000 (01:16 +0200)] 
rfc2812: clean up channel mode handling

16 years ago+ ModeChangeMessage class
Giuseppe Bilotta [Sat, 12 Apr 2008 22:53:56 +0000 (00:53 +0200)] 
+ ModeChangeMessage class

16 years ago+ MotdMessage class
Giuseppe Bilotta [Sat, 12 Apr 2008 22:03:47 +0000 (00:03 +0200)] 
+ MotdMessage class

16 years ago+ delegate notice() for NoticeMessage
Giuseppe Bilotta [Sat, 12 Apr 2008 21:48:54 +0000 (23:48 +0200)] 
+ delegate notice() for NoticeMessage

16 years ago+ WelcomeMessage class
Giuseppe Bilotta [Sat, 12 Apr 2008 21:43:37 +0000 (23:43 +0200)] 
+ WelcomeMessage class

16 years agoplugins: make delegate() aware of ignored and fake messages
Giuseppe Bilotta [Sat, 12 Apr 2008 20:07:10 +0000 (22:07 +0200)] 
plugins: make delegate() aware of ignored and fake messages

By convention, ignored messages will only be delegated to plugins with
negative priority, while fake messages will only be delegated to plugins
with positive priority.

16 years agotest for event threshold
doki_pen [Sat, 12 Apr 2008 15:36:56 +0000 (11:36 -0400)] 
test for event threshold

16 years agoevent delegation thresholds
doki_pen [Sat, 12 Apr 2008 15:38:50 +0000 (11:38 -0400)] 
event delegation thresholds

16 years agouno plugin: top scores and wins
Giuseppe Bilotta [Sat, 12 Apr 2008 07:53:59 +0000 (09:53 +0200)] 
uno plugin: top scores and wins

16 years agouno plugin: channel and player stats
Giuseppe Bilotta [Sat, 12 Apr 2008 07:26:07 +0000 (09:26 +0200)] 
uno plugin: channel and player stats

16 years agouno plugin: a Reverse on a Reverse on a +X should be playable regardless of color
Giuseppe Bilotta [Fri, 11 Apr 2008 19:00:06 +0000 (21:00 +0200)] 
uno plugin: a Reverse on a Reverse on a +X should be playable regardless of color

16 years agouno plugin: Reverse with two players and a picker should bounce the pick
Giuseppe Bilotta [Fri, 11 Apr 2008 18:53:49 +0000 (20:53 +0200)] 
uno plugin: Reverse with two players and a picker should bounce the pick

16 years agouno plugin: mark all legit moves as not challengeable
Giuseppe Bilotta [Fri, 11 Apr 2008 17:20:35 +0000 (19:20 +0200)] 
uno plugin: mark all legit moves as not challengeable

16 years agouno plugin: don't fail to drop players that left the channel
Giuseppe Bilotta [Fri, 11 Apr 2008 17:07:29 +0000 (19:07 +0200)] 
uno plugin: don't fail to drop players that left the channel

16 years agouno plugin: W+4 can be challenged
Giuseppe Bilotta [Fri, 11 Apr 2008 15:18:41 +0000 (17:18 +0200)] 
uno plugin: W+4 can be challenged

16 years agouno plugin: allow playing a double +2 card
Giuseppe Bilotta [Fri, 11 Apr 2008 13:31:40 +0000 (15:31 +0200)] 
uno plugin: allow playing a double +2 card

16 years agouno plugin: correct handling of drops and forced game ends
Giuseppe Bilotta [Fri, 11 Apr 2008 10:26:45 +0000 (12:26 +0200)] 
uno plugin: correct handling of drops and forced game ends

16 years ago* recalculate the relative version timestamp on !version
dmitry kim [Thu, 10 Apr 2008 22:30:59 +0000 (02:30 +0400)] 
* recalculate the relative version timestamp on !version

16 years agouno plugin: pick or pass are the same when +X are pending
Giuseppe Bilotta [Thu, 10 Apr 2008 18:32:29 +0000 (20:32 +0200)] 
uno plugin: pick or pass are the same when +X are pending

16 years ago+ show relative timestamp in git version
dmitry kim [Thu, 10 Apr 2008 18:26:24 +0000 (22:26 +0400)] 
+ show relative timestamp in git version

16 years agofilters: suppress a warning
Giuseppe Bilotta [Thu, 10 Apr 2008 17:17:21 +0000 (19:17 +0200)] 
filters: suppress a warning

16 years agorbot: don't fail in git checkout if git can't be run
Giuseppe Bilotta [Thu, 10 Apr 2008 16:59:54 +0000 (18:59 +0200)] 
rbot: don't fail in git checkout if git can't be run

16 years agoadds test for add_botmodules bug fix.
doki_pen [Thu, 10 Apr 2008 14:17:22 +0000 (10:17 -0400)] 
adds test for add_botmodules bug fix.

16 years agoBug fix, priority order needs to be marked dirty when modules added.
doki_pen [Thu, 10 Apr 2008 14:13:46 +0000 (10:13 -0400)] 
Bug fix, priority order needs to be marked dirty when modules added.

16 years agouno plugin: document playability of two equal cards
Giuseppe Bilotta [Thu, 10 Apr 2008 12:58:03 +0000 (14:58 +0200)] 
uno plugin: document playability of two equal cards

16 years agouno plugin: player replacement
Giuseppe Bilotta [Thu, 10 Apr 2008 12:48:22 +0000 (14:48 +0200)] 
uno plugin: player replacement

16 years agouno plugin: allow players to drop from the game
Giuseppe Bilotta [Thu, 10 Apr 2008 12:16:32 +0000 (14:16 +0200)] 
uno plugin: allow players to drop from the game