rbot
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

16 years agorss plugin: there are feeds with items without content
Giuseppe Bilotta [Mon, 17 Mar 2008 18:00:26 +0000 (19:00 +0100)] 
rss plugin: there are feeds with items without content

16 years agorss plugin: make_stream final Hash should be optional
Giuseppe Bilotta [Mon, 17 Mar 2008 17:50:31 +0000 (18:50 +0100)] 
rss plugin: make_stream final Hash should be optional

16 years agogitignore: ignore Vim swap files
Giuseppe Bilotta [Mon, 17 Mar 2008 00:52:44 +0000 (01:52 +0100)] 
gitignore: ignore Vim swap files

16 years agodict plugin: provide htmlinfo filter for demauro
Giuseppe Bilotta [Mon, 17 Mar 2008 00:49:13 +0000 (01:49 +0100)] 
dict plugin: provide htmlinfo filter for demauro

16 years agobash plugin: provide htmlinfo filter
Giuseppe Bilotta [Mon, 17 Mar 2008 00:48:47 +0000 (01:48 +0100)] 
bash plugin: provide htmlinfo filter

16 years agoutils: Utils.check_location comfort method for :htmlinfo filters
Giuseppe Bilotta [Mon, 17 Mar 2008 00:16:44 +0000 (01:16 +0100)] 
utils: Utils.check_location comfort method for :htmlinfo filters

16 years agofilters: HTML info extraction is now a filter
Giuseppe Bilotta [Mon, 17 Mar 2008 00:00:54 +0000 (01:00 +0100)] 
filters: HTML info extraction is now a filter

16 years agofilters: don't force data types in @bot.filter()
Giuseppe Bilotta [Sun, 16 Mar 2008 23:24:29 +0000 (00:24 +0100)] 
filters: don't force data types in @bot.filter()

16 years agofilters: filters_ui core module to manage filters from IRC
Giuseppe Bilotta [Fri, 14 Mar 2008 00:13:20 +0000 (01:13 +0100)] 
filters: filters_ui core module to manage filters from IRC

16 years agorss plugin: command to show known rss types
Giuseppe Bilotta [Thu, 13 Mar 2008 23:47:24 +0000 (00:47 +0100)] 
rss plugin: command to show known rss types

16 years agorss plugin: define output templates as filters
Giuseppe Bilotta [Thu, 13 Mar 2008 23:27:59 +0000 (00:27 +0100)] 
rss plugin: define output templates as filters

16 years agofilters: has_filter? method
Giuseppe Bilotta [Thu, 13 Mar 2008 23:22:31 +0000 (00:22 +0100)] 
filters: has_filter? method

16 years agofilters: method to get the global filter name of a grouped filter
Giuseppe Bilotta [Thu, 13 Mar 2008 23:15:47 +0000 (00:15 +0100)] 
filters: method to get the global filter name of a grouped filter

16 years agofilters: filter_names(group=nil) method to retrieve available filters
Giuseppe Bilotta [Thu, 13 Mar 2008 22:18:29 +0000 (23:18 +0100)] 
filters: filter_names(group=nil) method to retrieve available filters

16 years agofilters: filter groups
Giuseppe Bilotta [Thu, 13 Mar 2008 23:26:30 +0000 (00:26 +0100)] 
filters: filter groups

16 years agomath plugin: allow floats as arguments to square and cubed roots
Giuseppe Bilotta [Thu, 13 Mar 2008 21:32:53 +0000 (22:32 +0100)] 
math plugin: allow floats as arguments to square and cubed roots

16 years agomath plugin: fix some english-to-math translations
Giuseppe Bilotta [Thu, 13 Mar 2008 21:19:45 +0000 (22:19 +0100)] 
math plugin: fix some english-to-math translations

16 years agorot13 plugin: provide a filter
Giuseppe Bilotta [Thu, 13 Mar 2008 21:15:21 +0000 (22:15 +0100)] 
rot13 plugin: provide a filter

16 years agofilters: @bot.filter can now be called with a list of filters and with any form of...
Giuseppe Bilotta [Thu, 13 Mar 2008 08:03:01 +0000 (09:03 +0100)] 
filters: @bot.filter can now be called with a list of filters and with any form of datastream initialization

16 years agofilters: DataStream can now be initialized with a String followed by a Hash
Giuseppe Bilotta [Thu, 13 Mar 2008 07:40:09 +0000 (08:40 +0100)] 
filters: DataStream can now be initialized with a String followed by a Hash

16 years agofilters: initial implementation
Giuseppe Bilotta [Wed, 12 Mar 2008 23:40:43 +0000 (00:40 +0100)] 
filters: initial implementation

16 years agorss plugin: show author for trac, but clobber email
Giuseppe Bilotta [Wed, 12 Mar 2008 01:28:28 +0000 (02:28 +0100)] 
rss plugin: show author for trac, but clobber email

16 years ago- (bin/rbot) no need to set $KCODE
dmitry kim [Tue, 11 Mar 2008 23:53:35 +0000 (02:53 +0300)] 
- (bin/rbot) no need to set $KCODE

16 years ago* we're now "git version", not "svn version" by default
dmitry kim [Tue, 11 Mar 2008 23:52:53 +0000 (02:52 +0300)] 
* we're now "git version", not "svn version" by default

16 years agoMerge branch 'master' of ruby-rbot.org:/var/git/rbot
dmitry kim [Tue, 11 Mar 2008 23:26:55 +0000 (02:26 +0300)] 
Merge branch 'master' of ruby-rbot.org:/var/git/rbot

16 years ago* (messagemapper) catch and report all exceptions in threaded actions
dmitry kim [Tue, 11 Mar 2008 23:26:47 +0000 (02:26 +0300)] 
* (messagemapper) catch and report all exceptions in threaded actions

16 years agodict plugin: french support (Littré dictionary)
Giuseppe Bilotta [Tue, 11 Mar 2008 23:15:19 +0000 (00:15 +0100)] 
dict plugin: french support (Littré dictionary)

16 years agodict plugin: thread retrievals
Giuseppe Bilotta [Tue, 11 Mar 2008 21:54:22 +0000 (22:54 +0100)] 
dict plugin: thread retrievals

16 years agogettext: undefine GetText if we failed to load properly
Giuseppe Bilotta [Tue, 11 Mar 2008 01:23:24 +0000 (02:23 +0100)] 
gettext: undefine GetText if we failed to load properly

16 years agoload-gettext.rb: accept ruby-gettext version of 1.8.0 and above, not just 1.8.0-1...
Yaohan Chen [Tue, 11 Mar 2008 08:59:21 +0000 (04:59 -0400)] 
load-gettext.rb: accept ruby-gettext version of 1.8.0 and above, not just 1.8.0-1.10.0

16 years agoircbot: don't die on SocketError during disconnect
Giuseppe Bilotta [Tue, 11 Mar 2008 00:54:29 +0000 (01:54 +0100)] 
ircbot: don't die on SocketError during disconnect

16 years ago.gitignore: ignore data/locale (.mo files)
Giuseppe Bilotta [Tue, 11 Mar 2008 00:47:21 +0000 (01:47 +0100)] 
.gitignore: ignore data/locale (.mo files)

16 years agoupdate .po files
Giuseppe Bilotta [Tue, 11 Mar 2008 00:37:58 +0000 (01:37 +0100)] 
update .po files

16 years ago+ root .gitignore file
dmitry kim [Tue, 11 Mar 2008 00:44:23 +0000 (03:44 +0300)] 
+ root .gitignore file

16 years agoDocumentation cleanups
Giuseppe Bilotta [Tue, 11 Mar 2008 00:20:42 +0000 (01:20 +0100)] 
Documentation cleanups

Fix typos, be more rdocish, and use the README as the main file

16 years agomore spurious leftovers from svn import
Giuseppe Bilotta [Mon, 10 Mar 2008 23:19:00 +0000 (00:19 +0100)] 
more spurious leftovers from svn import

16 years agosvn import left spurious lib/rbot/plugins hanging around
Giuseppe Bilotta [Mon, 10 Mar 2008 22:51:00 +0000 (23:51 +0100)] 
svn import left spurious lib/rbot/plugins hanging around

16 years agourl plugin: retry with chops even on URI::InvalidURIError
Giuseppe Bilotta [Mon, 10 Mar 2008 22:09:09 +0000 (23:09 +0100)] 
url plugin: retry with chops even on URI::InvalidURIError

16 years agokeywords plugin: add a configurable list of keywords to be ignored when listening
Adam James [Tue, 4 Mar 2008 17:28:31 +0000 (17:28 +0000)] 
keywords plugin: add a configurable list of keywords to be ignored when listening

16 years agoUnixify all line endings.
Giuseppe Bilotta [Tue, 4 Mar 2008 17:24:57 +0000 (18:24 +0100)] 
Unixify all line endings.

Some files had DOS-style line endings. Change all of them to Unix-style.

16 years agorss plugin: add 'photoblog' and 'news' formats
Adam James [Tue, 4 Mar 2008 17:10:19 +0000 (17:10 +0000)] 
rss plugin: add 'photoblog' and 'news' formats

16 years agorss plugin: make displaying links from the text of a feed item configurable
Adam James [Tue, 4 Mar 2008 17:04:09 +0000 (17:04 +0000)] 
rss plugin: make displaying links from the text of a feed item configurable

16 years agorss plugin: try to use <content:encoded> tags in feeds when possible
Adam James [Tue, 4 Mar 2008 16:47:25 +0000 (16:47 +0000)] 
rss plugin: try to use <content:encoded> tags in feeds when possible

16 years agorss plugin: it's item, not idem
Giuseppe Bilotta [Wed, 27 Feb 2008 00:06:09 +0000 (01:06 +0100)] 
rss plugin: it's item, not idem

16 years agotwitter plugin: twitter actions off was not working
Giuseppe Bilotta [Mon, 25 Feb 2008 09:18:00 +0000 (10:18 +0100)] 
twitter plugin: twitter actions off was not working

Since the twitter plugin is set to store strings, 'false' was stored (and
restored) as a string instead of a boolean value. Fix by deleting the key
instead of setting it to false.

16 years agotwitter plugin: use m.notify when twitting actions
Giuseppe Bilotta [Fri, 22 Feb 2008 20:22:37 +0000 (21:22 +0100)] 
twitter plugin: use m.notify when twitting actions

16 years agomessage.rb: #notify() method
Giuseppe Bilotta [Fri, 22 Feb 2008 20:22:09 +0000 (21:22 +0100)] 
message.rb: #notify() method

16 years agotwitter plugin: option to twit actions
Giuseppe Bilotta [Fri, 22 Feb 2008 18:44:34 +0000 (19:44 +0100)] 
twitter plugin: option to twit actions

16 years agofactoids plugin: split correctly when displaying facts
Giuseppe Bilotta [Sun, 17 Feb 2008 21:12:15 +0000 (22:12 +0100)] 
factoids plugin: split correctly when displaying facts

16 years agorfc2812: fix a bug in Client.reset
Giuseppe Bilotta [Fri, 15 Feb 2008 16:05:44 +0000 (17:05 +0100)] 
rfc2812: fix a bug in Client.reset

similarly to commit a13ef0352, an empty user should be set with *!*@*

16 years agorss plugin: CHECK if feed type is trac, '''don't''' ASSIGN trac type to all feeds
Giuseppe Bilotta [Thu, 14 Feb 2008 23:41:30 +0000 (00:41 +0100)] 
rss plugin: CHECK if feed type is trac, '''don't''' ASSIGN trac type to all feeds

16 years agobash plugin: check if the html is actually there
Giuseppe Bilotta [Thu, 14 Feb 2008 23:40:05 +0000 (00:40 +0100)] 
bash plugin: check if the html is actually there

16 years agomarkov plugin: markov probability <chance> wasn't working correctly
Giuseppe Bilotta [Thu, 14 Feb 2008 22:05:45 +0000 (23:05 +0100)] 
markov plugin: markov probability <chance> wasn't working correctly

16 years agoremote core module: fix description of remote.host config
Giuseppe Bilotta [Thu, 14 Feb 2008 15:39:06 +0000 (16:39 +0100)] 
remote core module: fix description of remote.host config

16 years agoconfig core module: default command auth fixes
Giuseppe Bilotta [Thu, 14 Feb 2008 15:36:43 +0000 (16:36 +0100)] 
config core module: default command auth fixes

16 years agoconfig core module: config search command
Giuseppe Bilotta [Thu, 14 Feb 2008 15:25:04 +0000 (16:25 +0100)] 
config core module: config search command

16 years ago* replace references to old website to references to new site
Giuseppe Bilotta [Thu, 14 Feb 2008 08:23:10 +0000 (09:23 +0100)] 
* replace references to old website to references to new site

16 years agolart plugin: replace "me" with sourcenick
jesse keys [Thu, 14 Feb 2008 00:38:07 +0000 (01:38 +0100)] 
lart plugin: replace "me" with sourcenick

16 years agowheelfortune plugin: suppress some warnings
Giuseppe Bilotta [Thu, 14 Feb 2008 00:54:17 +0000 (01:54 +0100)] 
wheelfortune plugin: suppress some warnings

16 years ago* suppress a couple of warnings about ambiguous parameters
Giuseppe Bilotta [Wed, 13 Feb 2008 16:43:19 +0000 (17:43 +0100)] 
* suppress a couple of warnings about ambiguous parameters

16 years agorss plugin: improve output for git commits in tracs
Giuseppe Bilotta [Wed, 13 Feb 2008 16:32:29 +0000 (17:32 +0100)] 
rss plugin: improve output for git commits in tracs

16 years agorss plugin: support git commits in trac
Giuseppe Bilotta [Wed, 13 Feb 2008 16:28:04 +0000 (17:28 +0100)] 
rss plugin: support git commits in trac

Since git changes are identified by their SHA1, they get too long in titles.
So we just clip that part out, as it's available in the link anyway.

16 years agosearch plugin: fix gcalc
Giuseppe Bilotta [Wed, 13 Feb 2008 16:07:48 +0000 (17:07 +0100)] 
search plugin: fix gcalc

16 years agoconfig: Value#get() should return #default(), not @default
Giuseppe Bilotta [Wed, 13 Feb 2008 15:38:57 +0000 (16:38 +0100)] 
config: Value#get() should return #default(), not @default

@default may be a Proc, in which case the default value is obtained
by calling the Proc. So use #default() that takes care of this already.

16 years agomarkov plugin: move settings to @bot.config
Giuseppe Bilotta [Wed, 13 Feb 2008 15:37:03 +0000 (16:37 +0100)] 
markov plugin: move settings to @bot.config

16 years agoconfig: allow @bot.config[key]=value constructs
Giuseppe Bilotta [Wed, 13 Feb 2008 15:36:43 +0000 (16:36 +0100)] 
config: allow @bot.config[key]=value constructs

16 years agofactoids plugin: factoids.not_triggers to prevent common words from becoming triggers
Giuseppe Bilotta [Wed, 13 Feb 2008 11:40:55 +0000 (12:40 +0100)] 
factoids plugin: factoids.not_triggers to prevent common words from becoming triggers

16 years agourl plugin: output link info with m.plainreply
Giuseppe Bilotta [Wed, 13 Feb 2008 11:30:35 +0000 (12:30 +0100)] 
url plugin: output link info with m.plainreply

Link info should be directed to the whole channel, not only the user that
triggered it; use m.plainreply instead of m.reply so that
core.reply_with_nick = true is ignored.

16 years agomarkov plugin: insert standard plugin header
Giuseppe Bilotta [Wed, 13 Feb 2008 08:35:37 +0000 (09:35 +0100)] 
markov plugin: insert standard plugin header