]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
user/henk/code/ruby/rbot.git
16 years agoquotes plugin: modernize dispatcher, add localization
Giuseppe Bilotta [Thu, 10 Apr 2008 06:45:29 +0000 (08:45 +0200)]
quotes plugin: modernize dispatcher, add localization

16 years agoplugins: reinstate debug lines in privmsg()
Giuseppe Bilotta [Thu, 10 Apr 2008 06:05:01 +0000 (08:05 +0200)]
plugins: reinstate debug lines in privmsg()

16 years agouno plugin: TODOs
Giuseppe Bilotta [Wed, 9 Apr 2008 22:52:01 +0000 (00:52 +0200)]
uno plugin: TODOs

16 years agouno plugin: always bolden player names
Giuseppe Bilotta [Wed, 9 Apr 2008 22:41:40 +0000 (00:41 +0200)]
uno plugin: always bolden player names

16 years agouno plugin: public announce of people on join
Giuseppe Bilotta [Wed, 9 Apr 2008 22:09:50 +0000 (00:09 +0200)]
uno plugin: public announce of people on join

16 years agoplugins: mark priorities dirty on rescan
Giuseppe Bilotta [Wed, 9 Apr 2008 22:07:27 +0000 (00:07 +0200)]
plugins: mark priorities dirty on rescan

16 years agouno plugin: fix check for card presence
Giuseppe Bilotta [Wed, 9 Apr 2008 21:45:21 +0000 (23:45 +0200)]
uno plugin: fix check for card presence

16 years agomath plugin: stringify answer for reply
Giuseppe Bilotta [Wed, 9 Apr 2008 21:31:59 +0000 (23:31 +0200)]
math plugin: stringify answer for reply

Some Ruby versions seem to have a problem when answer is a Fixnum, so
make the .to_s conversion explicit

16 years agomath plugin: report errors with full backtrace
Giuseppe Bilotta [Wed, 9 Apr 2008 21:31:26 +0000 (23:31 +0200)]
math plugin: report errors with full backtrace

16 years agohl2 plugin: handle send errors as well
Giuseppe Bilotta [Wed, 9 Apr 2008 21:13:50 +0000 (23:13 +0200)]
hl2 plugin: handle send errors as well

16 years agouno plugin: don't trigger in-game commands if they have parameters they shouldn't...
Giuseppe Bilotta [Wed, 9 Apr 2008 21:09:11 +0000 (23:09 +0200)]
uno plugin: don't trigger in-game commands if they have parameters they shouldn't have

16 years agoAdded unit test for botmodule event priorities.
doki_pen [Wed, 9 Apr 2008 12:37:23 +0000 (08:37 -0400)]
Added unit test for botmodule event priorities.

16 years agoAdded event priorities to modules.
doki_pen [Wed, 9 Apr 2008 12:34:15 +0000 (08:34 -0400)]
Added event priorities to modules.

16 years agouno plugin: sort dealt cards too
Giuseppe Bilotta [Wed, 9 Apr 2008 20:24:40 +0000 (22:24 +0200)]
uno plugin: sort dealt cards too

16 years agouno plugin: colorize color pick
Giuseppe Bilotta [Wed, 9 Apr 2008 20:22:27 +0000 (22:22 +0200)]
uno plugin: colorize color pick

16 years agouno plugin: fix playing cards after a Reverse after a +something
Giuseppe Bilotta [Wed, 9 Apr 2008 20:02:00 +0000 (22:02 +0200)]
uno plugin: fix playing cards after a Reverse after a +something

16 years agouno plugin: fix endgame with positive picker
Giuseppe Bilotta [Wed, 9 Apr 2008 19:48:52 +0000 (21:48 +0200)]
uno plugin: fix endgame with positive picker

16 years agouno plugin: fix playability check for Reverse vs +x
Giuseppe Bilotta [Wed, 9 Apr 2008 19:47:21 +0000 (21:47 +0200)]
uno plugin: fix playability check for Reverse vs +x

16 years agouno plugin: sort players' cards
Giuseppe Bilotta [Wed, 9 Apr 2008 19:25:40 +0000 (21:25 +0200)]
uno plugin: sort players' cards

16 years agouno plugin: downcase parameters
Giuseppe Bilotta [Wed, 9 Apr 2008 15:06:40 +0000 (17:06 +0200)]
uno plugin: downcase parameters

16 years agouno plugin: don't reset the @picker until cards are assigned
Giuseppe Bilotta [Wed, 9 Apr 2008 14:57:39 +0000 (16:57 +0200)]
uno plugin: don't reset the @picker until cards are assigned

16 years agouno game: non-wilds can't be played on a +something unless they're the right color
Giuseppe Bilotta [Wed, 9 Apr 2008 14:57:01 +0000 (16:57 +0200)]
uno game: non-wilds can't be played on a +something unless they're the right color

16 years agouno plugin: endgame
Giuseppe Bilotta [Wed, 9 Apr 2008 14:46:14 +0000 (16:46 +0200)]
uno plugin: endgame

16 years agouno plugin: initial implementation of UNO! game, no endgame yet
Giuseppe Bilotta [Wed, 9 Apr 2008 12:30:26 +0000 (14:30 +0200)]
uno plugin: initial implementation of UNO! game, no endgame yet

16 years agomessage: force Irc color to be specificed with 2 digits
Giuseppe Bilotta [Tue, 8 Apr 2008 22:28:49 +0000 (00:28 +0200)]
message: force Irc color to be specificed with 2 digits

16 years agoextends: Array#shuffle! and shuffle methods
Giuseppe Bilotta [Tue, 8 Apr 2008 22:28:18 +0000 (00:28 +0200)]
extends: Array#shuffle! and shuffle methods

16 years agoextends: Array#delete_one takes an optional argument for the element to delete: if...
Giuseppe Bilotta [Tue, 8 Apr 2008 21:54:49 +0000 (23:54 +0200)]
extends: Array#delete_one takes an optional argument for the element to delete: if nil or absent, a random element is returned and deleted

16 years agoscript plugin: mark handled messages as replied
Giuseppe Bilotta [Tue, 8 Apr 2008 23:28:21 +0000 (01:28 +0200)]
script plugin: mark handled messages as replied

16 years agorevert previous useless commit and rdocify documentation of accessors to BotModule
Giuseppe Bilotta [Tue, 8 Apr 2008 14:28:53 +0000 (16:28 +0200)]
revert previous useless commit and rdocify documentation of accessors to BotModule

16 years agoextends: registry reader attribute for BotModule
Giuseppe Bilotta [Tue, 8 Apr 2008 14:19:49 +0000 (16:19 +0200)]
extends: registry reader attribute for BotModule

16 years agoremotectl plugin: use fake_message()
Giuseppe Bilotta [Tue, 8 Apr 2008 14:09:14 +0000 (16:09 +0200)]
remotectl plugin: use fake_message()

16 years agoreaction plugin: use fake_message()
Giuseppe Bilotta [Tue, 8 Apr 2008 14:09:14 +0000 (16:09 +0200)]
reaction plugin: use fake_message()

16 years agolinkbot plugin: use fake_message()
Giuseppe Bilotta [Tue, 8 Apr 2008 14:09:14 +0000 (16:09 +0200)]
linkbot plugin: use fake_message()

16 years agoalias plugin: use fake_message()
Giuseppe Bilotta [Tue, 8 Apr 2008 14:09:14 +0000 (16:09 +0200)]
alias plugin: use fake_message()

16 years agoextends: BotModule#fake_message() to simplify creation of fake messages
Giuseppe Bilotta [Tue, 8 Apr 2008 13:51:07 +0000 (15:51 +0200)]
extends: BotModule#fake_message() to simplify creation of fake messages

16 years agoUpdate po files
Giuseppe Bilotta [Mon, 7 Apr 2008 22:13:04 +0000 (00:13 +0200)]
Update po files

16 years agomessage: new 'ignored' property
Giuseppe Bilotta [Mon, 7 Apr 2008 12:14:25 +0000 (14:14 +0200)]
message: new 'ignored' property

16 years agoplugins: irc_delegate to do listen+actual delegate
Giuseppe Bilotta [Mon, 7 Apr 2008 11:51:48 +0000 (13:51 +0200)]
plugins: irc_delegate to do listen+actual delegate

16 years agolinkbot, remotectl plugins: delegate message() too
Giuseppe Bilotta [Mon, 7 Apr 2008 06:49:36 +0000 (08:49 +0200)]
linkbot, remotectl plugins: delegate message() too

16 years ago+ use the message() delegate instead of listen() when possible
Giuseppe Bilotta [Sun, 6 Apr 2008 23:02:13 +0000 (01:02 +0200)]
+ use the message() delegate instead of listen() when possible

16 years agoplugins: message() delegate
Giuseppe Bilotta [Sun, 6 Apr 2008 22:50:26 +0000 (00:50 +0200)]
plugins: message() delegate

16 years agoplugins/keywords: add method that was missing from commit 7cac523563de6473d2f93fd2d05 ...
Adam James [Sun, 6 Apr 2008 13:56:33 +0000 (14:56 +0100)]
plugins/keywords: add method that was missing from commit 7cac523563de6473d2f93fd2d05 ...

plugins/keywords: add method that was missing from commit 7cac523563de6473d2f93fd2d053446cde701db1

16 years agoweather plugin: get all advisories
Giuseppe Bilotta [Tue, 1 Apr 2008 14:20:51 +0000 (16:20 +0200)]
weather plugin: get all advisories

16 years agoweather plugin: don't break when there aren't advisories
Giuseppe Bilotta [Tue, 1 Apr 2008 13:27:56 +0000 (15:27 +0200)]
weather plugin: don't break when there aren't advisories

16 years agoauth core module: allow and deny commands
Giuseppe Bilotta [Thu, 27 Mar 2008 23:53:18 +0000 (00:53 +0100)]
auth core module: allow and deny commands

16 years agoplugins: expose the registry and the map handler as methods for the BotModule class
Giuseppe Bilotta [Thu, 27 Mar 2008 21:38:13 +0000 (22:38 +0100)]
plugins: expose the registry and the map handler as methods for the BotModule class

16 years ago* plugins/unicode -> core/unicode; don't require "jcode"
dmitry kim [Thu, 27 Mar 2008 23:49:35 +0000 (02:49 +0300)]
* plugins/unicode -> core/unicode; don't require "jcode"

16 years ago+ rss.rb: optional :delay param to '!rss rewatch'
dmitry kim [Thu, 27 Mar 2008 23:02:53 +0000 (02:02 +0300)]
+ rss.rb: optional :delay param to '!rss rewatch'

16 years ago* bin/rbot-remote: doc typo
dmitry kim [Thu, 27 Mar 2008 21:02:48 +0000 (00:02 +0300)]
* bin/rbot-remote: doc typo

16 years ago* (core/remote) use safe bind() defaults
dmitry kim [Thu, 27 Mar 2008 20:47:45 +0000 (23:47 +0300)]
* (core/remote) use safe bind() defaults

16 years ago* handle invites properly -- forgot more than half the files :/
Giuseppe Bilotta [Thu, 27 Mar 2008 20:50:50 +0000 (21:50 +0100)]
* handle invites properly -- forgot more than half the files :/

16 years ago* handle invites properly
Giuseppe Bilotta [Thu, 27 Mar 2008 20:34:37 +0000 (21:34 +0100)]
* handle invites properly

16 years agofactoids plugin: fix regexp for words such as jsn-
Giuseppe Bilotta [Thu, 27 Mar 2008 20:13:37 +0000 (21:13 +0100)]
factoids plugin: fix regexp for words such as jsn-

16 years agoweather plugin: advisories can be disabled
Giuseppe Bilotta [Wed, 26 Mar 2008 23:06:12 +0000 (00:06 +0100)]
weather plugin: advisories can be disabled

16 years agoweather plugin: echo special advisories if present
Giuseppe Bilotta [Wed, 26 Mar 2008 23:02:33 +0000 (00:02 +0100)]
weather plugin: echo special advisories if present

16 years agoweather plugin: properly support and signal multiple weather stations when one has...
Giuseppe Bilotta [Wed, 26 Mar 2008 21:17:18 +0000 (22:17 +0100)]
weather plugin: properly support and signal multiple weather stations when one has a special statement

16 years agoMerge atj's auth changes
Giuseppe Bilotta [Wed, 26 Mar 2008 07:06:24 +0000 (08:06 +0100)]
Merge atj's auth changes

Merge branch 'atj'

16 years agotranslations: update 'user tell' master password string.
Adam James [Wed, 26 Mar 2008 00:02:32 +0000 (00:02 +0000)]
translations: update 'user tell' master password string.

16 years agocore/auth.rb: don't allow the master password to be told to a user, and correct the...
Adam James [Tue, 25 Mar 2008 23:57:21 +0000 (23:57 +0000)]
core/auth.rb: don't allow the master password to be told to a user, and correct the message.

16 years agoircbot: remove obsolete commented includes
Giuseppe Bilotta [Tue, 25 Mar 2008 14:21:41 +0000 (15:21 +0100)]
ircbot: remove obsolete commented includes

16 years agofilters: UI and methods to list filter groups
Giuseppe Bilotta [Tue, 25 Mar 2008 11:44:48 +0000 (12:44 +0100)]
filters: UI and methods to list filter groups

16 years agoutils: Utils.secs_to_short convert seconds into hour:minute:seconds format etc
Giuseppe Bilotta [Mon, 24 Mar 2008 21:58:00 +0000 (22:58 +0100)]
utils: Utils.secs_to_short convert seconds into hour:minute:seconds format etc

16 years agoyoutube plugin: option to display alternative formats in video info
Giuseppe Bilotta [Mon, 24 Mar 2008 21:48:04 +0000 (22:48 +0100)]
youtube plugin: option to display alternative formats in video info

16 years ago* (reaction plugin) make rm recalculate chances of replies
Jan Wikholm [Mon, 24 Mar 2008 21:14:48 +0000 (23:14 +0200)]
* (reaction plugin) make rm recalculate chances of replies

16 years agoyoutube plugin: retrieve alternative formats for videos
Giuseppe Bilotta [Mon, 24 Mar 2008 21:28:30 +0000 (22:28 +0100)]
youtube plugin: retrieve alternative formats for videos

16 years agoslashdot plugin: fix title handling in htmlinfo filter
Giuseppe Bilotta [Mon, 24 Mar 2008 10:26:35 +0000 (11:26 +0100)]
slashdot plugin: fix title handling in htmlinfo filter

16 years agoimdb plugin: fix author output broken by [37b6e68426dbe8812b47ae5bcdadf0fb5df76e26]
Giuseppe Bilotta [Sun, 23 Mar 2008 21:07:46 +0000 (22:07 +0100)]
imdb plugin: fix author output broken by [37b6e68426dbe8812b47ae5bcdadf0fb5df76e26]

16 years agoyoutube plugin: refactor info() method into youtube video filter (for htmlinfo too)
Giuseppe Bilotta [Sun, 23 Mar 2008 16:45:19 +0000 (17:45 +0100)]
youtube plugin: refactor info() method into youtube video filter (for htmlinfo too)

16 years agoyoutube plugin: more compact info representation
Giuseppe Bilotta [Sun, 23 Mar 2008 16:16:04 +0000 (17:16 +0100)]
youtube plugin: more compact info representation

16 years agoyoutube plugin: fix retrieval of ratings, views and faves
Giuseppe Bilotta [Sun, 23 Mar 2008 16:06:06 +0000 (17:06 +0100)]
youtube plugin: fix retrieval of ratings, views and faves

16 years agoyoutube plugin: video data extraction has its own filter, used also in youtube info...
Giuseppe Bilotta [Sun, 23 Mar 2008 16:03:49 +0000 (17:03 +0100)]
youtube plugin: video data extraction has its own filter, used also in youtube info command

16 years agoyoutube plugin: initial commit
Giuseppe Bilotta [Sun, 23 Mar 2008 15:17:54 +0000 (16:17 +0100)]
youtube plugin: initial commit

16 years agoauth core module: missing h in permissions searcH help
Giuseppe Bilotta [Sun, 23 Mar 2008 11:01:40 +0000 (12:01 +0100)]
auth core module: missing h in permissions searcH help

16 years agorss plugin: check for <channel when <rdf:RDF is found
Giuseppe Bilotta [Sun, 23 Mar 2008 10:31:58 +0000 (11:31 +0100)]
rss plugin: check for <channel when <rdf:RDF is found

RSS htmlinfo filter was catching some false positives because
some web pages have embedded RDF resources (e.g. for trackbacks)
even though they are not RSS feeds. So check for the obligatory
channel tag when an rdf:RDF tag is found.

16 years agorss plugin: rescue RSS parsing in htmlinfo filter
Giuseppe Bilotta [Sun, 23 Mar 2008 10:29:06 +0000 (11:29 +0100)]
rss plugin: rescue RSS parsing in htmlinfo filter

16 years agorss plugin: missing 9 in FEED_NS regexp
Giuseppe Bilotta [Sun, 23 Mar 2008 10:16:33 +0000 (11:16 +0100)]
rss plugin: missing 9 in FEED_NS regexp

16 years agorss plugin: make htmlinfo input filter less greedy
Giuseppe Bilotta [Sun, 23 Mar 2008 00:15:27 +0000 (01:15 +0100)]
rss plugin: make htmlinfo input filter less greedy

16 years agoslashdot plugin: check if we are parsing an actual /. page rather than an rss feed
Giuseppe Bilotta [Sat, 22 Mar 2008 23:50:56 +0000 (00:50 +0100)]
slashdot plugin: check if we are parsing an actual /. page rather than an rss feed

16 years ago* plugins/search: thread, don't block
dmitry kim [Sat, 22 Mar 2008 23:15:30 +0000 (02:15 +0300)]
* plugins/search: thread, don't block

16 years ago* httputil: avoid double read in partial_body
dmitry kim [Sat, 22 Mar 2008 23:12:04 +0000 (02:12 +0300)]
* httputil: avoid double read in partial_body

16 years agomarkov plugin: thread markov chain construction and use in listen()
Giuseppe Bilotta [Sat, 22 Mar 2008 08:27:49 +0000 (09:27 +0100)]
markov plugin: thread markov chain construction and use in listen()

16 years agomarkov plugin: small optimization for markov chains contructions
Giuseppe Bilotta [Sat, 22 Mar 2008 08:19:54 +0000 (09:19 +0100)]
markov plugin: small optimization for markov chains contructions

16 years agomarkov plugin: remove @lastline cruft
Giuseppe Bilotta [Sat, 22 Mar 2008 08:16:32 +0000 (09:16 +0100)]
markov plugin: remove @lastline cruft

16 years agoupdated po files
Yaohan Chen [Fri, 21 Mar 2008 16:55:10 +0000 (12:55 -0400)]
updated po files

16 years agoMerge branch 'master' of ssh://ruby-rbot.org/var/git/rbot
Yaohan Chen [Fri, 21 Mar 2008 14:47:30 +0000 (10:47 -0400)]
Merge branch 'master' of ssh://ruby-rbot.org/var/git/rbot

16 years agomessage.rb: Regexp.escape nickname when embedding it in regexp, as nicknames can...
Yaohan Chen [Fri, 21 Mar 2008 14:41:49 +0000 (10:41 -0400)]
message.rb: Regexp.escape nickname when embedding it in regexp, as nicknames can contain [ ] | etc

16 years agofreshmeat plugin: htmlinfo filter
Giuseppe Bilotta [Wed, 19 Mar 2008 13:45:59 +0000 (14:45 +0100)]
freshmeat plugin: htmlinfo filter

16 years agoslashdot plugin: provide and htmlinfo filter for /. pages
Giuseppe Bilotta [Wed, 19 Mar 2008 12:14:25 +0000 (13:14 +0100)]
slashdot plugin: provide and htmlinfo filter for /. pages

16 years agoimdb plugin: use www, not us in links output to IRC
Giuseppe Bilotta [Wed, 19 Mar 2008 00:45:24 +0000 (01:45 +0100)]
imdb plugin: use www, not us in links output to IRC

16 years agoimdb plugin: htmlinfo filter for names too
Giuseppe Bilotta [Wed, 19 Mar 2008 00:43:59 +0000 (01:43 +0100)]
imdb plugin: htmlinfo filter for names too

16 years agoimdb plugin: imdb_filter for titles
Giuseppe Bilotta [Wed, 19 Mar 2008 00:37:27 +0000 (01:37 +0100)]
imdb plugin: imdb_filter for titles

16 years agoutils: Utils.check_location returns an array of locations if check succeeds
Giuseppe Bilotta [Wed, 19 Mar 2008 00:37:00 +0000 (01:37 +0100)]
utils: Utils.check_location returns an array of locations if check succeeds

16 years agoimdb plugin: character roles can contain HTML (e.g. <a href>), so clean it up
Giuseppe Bilotta [Tue, 18 Mar 2008 23:40:28 +0000 (00:40 +0100)]
imdb plugin: character roles can contain HTML (e.g. <a href>), so clean it up

16 years agoscript plugin: use m.okay
Giuseppe Bilotta [Tue, 18 Mar 2008 23:22:39 +0000 (00:22 +0100)]
script plugin: use m.okay

16 years agoscript plugin: script echo and eval mark the message as replied
Giuseppe Bilotta [Tue, 18 Mar 2008 23:21:49 +0000 (00:21 +0100)]
script plugin: script echo and eval mark the message as replied

16 years agoscript plugin: reindent
Giuseppe Bilotta [Tue, 18 Mar 2008 23:20:20 +0000 (00:20 +0100)]
script plugin: reindent

16 years agoMerge branch 'master' of ssh://ruby-rbot.org/var/git/rbot
Yaohan Chen [Tue, 18 Mar 2008 16:34:49 +0000 (12:34 -0400)]
Merge branch 'master' of ssh://ruby-rbot.org/var/git/rbot

16 years agoshorturls.rb: ignore error with include WWW since the module is not defined by newer...
Yaohan Chen [Tue, 18 Mar 2008 16:34:23 +0000 (12:34 -0400)]
shorturls.rb: ignore error with include WWW since the module is not defined by newer versions of shorturl gem

16 years agorss plugin: provide htmlinfo filter
Giuseppe Bilotta [Mon, 17 Mar 2008 18:14:28 +0000 (19:14 +0100)]
rss plugin: provide htmlinfo filter

16 years agorss plugin: use (?) for missing item and channel titles too
Giuseppe Bilotta [Mon, 17 Mar 2008 18:13:27 +0000 (19:13 +0100)]
rss plugin: use (?) for missing item and channel titles too