]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
user/henk/code/ruby/rbot.git
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

16 years agomarkov plugin: update help
Giuseppe Bilotta [Wed, 13 Feb 2008 08:32:00 +0000 (09:32 +0100)]
markov plugin: update help

16 years agomarkov plugin: display current probability when {{{markov probability}}} is called...
Giuseppe Bilotta [Wed, 13 Feb 2008 08:30:17 +0000 (09:30 +0100)]
markov plugin: display current probability when {{{markov probability}}} is called without a parameter

16 years agourl plugin: strip final characters from URL when we get 404, in case it was due to...
Giuseppe Bilotta [Wed, 13 Feb 2008 00:53:39 +0000 (01:53 +0100)]
url plugin: strip final characters from URL when we get 404, in case it was due to trailing punctuation

16 years agofactoids plugin: be silent when learning factoids from chat, with option to provide...
Giuseppe Bilotta [Wed, 13 Feb 2008 00:40:23 +0000 (01:40 +0100)]
factoids plugin: be silent when learning factoids from chat, with option to provide feedback

16 years agofactoids plugin: actually learn new keywords when learning new factoids
Giuseppe Bilotta [Wed, 13 Feb 2008 00:34:34 +0000 (01:34 +0100)]
factoids plugin: actually learn new keywords when learning new factoids

16 years agofactoids plugin: draft 'listen and learn' process
Giuseppe Bilotta [Wed, 13 Feb 2008 00:29:55 +0000 (01:29 +0100)]
factoids plugin: draft 'listen and learn' process

16 years ago* fix a bug in the definition of Object#nil_or_empty?
Giuseppe Bilotta [Tue, 12 Feb 2008 23:38:09 +0000 (00:38 +0100)]
* fix a bug in the definition of Object#nil_or_empty?

16 years agorfc2812: fix a bug in Client.user initialization
Giuseppe Bilotta [Tue, 12 Feb 2008 23:37:25 +0000 (00:37 +0100)]
rfc2812: fix a bug in Client.user initialization

16 years agofactoids plugin: don't be too verbose when learning facts
Giuseppe Bilotta [Tue, 12 Feb 2008 23:16:23 +0000 (00:16 +0100)]
factoids plugin: don't be too verbose when learning facts

16 years agofactoids plugin: add have and do in trigger_pattern
Giuseppe Bilotta [Tue, 12 Feb 2008 23:06:25 +0000 (00:06 +0100)]
factoids plugin: add have and do in trigger_pattern

16 years agofactoids plugin: short_fact() auxiliary (no metadata)
Giuseppe Bilotta [Tue, 12 Feb 2008 23:01:53 +0000 (00:01 +0100)]
factoids plugin: short_fact() auxiliary (no metadata)

16 years agofactoids plugin: options to facts() method may be nil, not just empty
Giuseppe Bilotta [Tue, 12 Feb 2008 22:52:37 +0000 (23:52 +0100)]
factoids plugin: options to facts() method may be nil, not just empty

16 years agohttputil: config values for HTTP read and open timeouts
Giuseppe Bilotta [Tue, 12 Feb 2008 20:46:21 +0000 (21:46 +0100)]
httputil: config values for HTTP read and open timeouts

16 years agodice plugin: update file header and update it to better match rbot plugins header
Giuseppe Bilotta [Mon, 11 Feb 2008 12:28:14 +0000 (13:28 +0100)]
dice plugin: update file header and update it to better match rbot plugins header

16 years agodice plugin: limit maximum sides per dice
Giuseppe Bilotta [Mon, 11 Feb 2008 12:21:14 +0000 (13:21 +0100)]
dice plugin: limit maximum sides per dice

16 years agobin/rbot: be compatible with older gits
Giuseppe Bilotta [Mon, 11 Feb 2008 09:16:25 +0000 (10:16 +0100)]
bin/rbot: be compatible with older gits

16 years agorss plugin: use += instead of <<, we don't want to mess with the original author...
Giuseppe Bilotta [Sun, 10 Feb 2008 12:32:41 +0000 (13:32 +0100)]
rss plugin: use += instead of <<, we don't want to mess with the original author value

16 years agorss plugin: append space to author when appropriate
Giuseppe Bilotta [Sun, 10 Feb 2008 12:29:19 +0000 (13:29 +0100)]
rss plugin: append space to author when appropriate

16 years agorss plugin: implement and use select_nonempty to grab correct category and author...
Giuseppe Bilotta [Sun, 10 Feb 2008 12:28:12 +0000 (13:28 +0100)]
rss plugin: implement and use select_nonempty to grab correct category and author fields

16 years agorss plugin: add 'git' feed type
Giuseppe Bilotta [Sun, 10 Feb 2008 12:20:09 +0000 (13:20 +0100)]
rss plugin: add 'git' feed type

16 years agobotuser: add command to reset the netmasks list
Giuseppe Bilotta [Sun, 10 Feb 2008 11:14:26 +0000 (12:14 +0100)]
botuser: add command to reset the netmasks list

16 years agoutils: fix decode_html_entities for numerical entities without HTMLEntities
Giuseppe Bilotta [Wed, 30 Jan 2008 15:18:24 +0000 (15:18 +0000)]
utils: fix decode_html_entities for numerical entities without HTMLEntities

16 years agogrouphug.rb: apply patch (#170) from tarpman to adjust to new grouphug page format
Yaohan Chen [Wed, 30 Jan 2008 13:22:23 +0000 (13:22 +0000)]
grouphug.rb: apply patch (#170) from tarpman to adjust to new grouphug page format

16 years agourl plugin: check the canonical name, the IP address, and any known aliases against...
Giuseppe Bilotta [Sun, 20 Jan 2008 17:18:58 +0000 (17:18 +0000)]
url plugin: check the canonical name, the IP address, and any known aliases against no_info_hosts

16 years agowheelfortune plugin: help
Giuseppe Bilotta [Mon, 31 Dec 2007 01:02:34 +0000 (01:02 +0000)]
wheelfortune plugin: help

16 years agolastfm plugin: update event parsing
Giuseppe Bilotta [Mon, 31 Dec 2007 00:44:20 +0000 (00:44 +0000)]
lastfm plugin: update event parsing

16 years agofactoids plugin: split facts output at the -- joiner
Giuseppe Bilotta [Mon, 24 Dec 2007 14:02:31 +0000 (14:02 +0000)]
factoids plugin: split facts output at the -- joiner

16 years agofactoids plugin: 'facts about' searches whole words, 'facts search' uses regular...
Giuseppe Bilotta [Mon, 24 Dec 2007 14:01:42 +0000 (14:01 +0000)]
factoids plugin: 'facts about' searches whole words, 'facts search' uses regular expressions, keyword-style '?' queries act like 'facts about'

16 years ago* (core/auth) fixed an error in error handling code
Dmitry Kim [Wed, 19 Dec 2007 18:48:14 +0000 (18:48 +0000)]
* (core/auth) fixed an error in error handling code

16 years agolinkbot.rb:
Yaohan Chen [Wed, 19 Dec 2007 12:55:46 +0000 (12:55 +0000)]
linkbot.rb:
+ strip embedded formatting code in nicknames
+ update patterns when the configuration is changed

16 years ago* (registry) no infinite recursion, please
Dmitry Kim [Sun, 16 Dec 2007 22:20:46 +0000 (22:20 +0000)]
* (registry) no infinite recursion, please

16 years agowheelfortune: fix 'wof cancel' command
Giuseppe Bilotta [Sun, 16 Dec 2007 21:07:03 +0000 (21:07 +0000)]
wheelfortune: fix 'wof cancel' command

16 years ago* (registry) dup() the default on return
Dmitry Kim [Fri, 14 Dec 2007 21:33:38 +0000 (21:33 +0000)]
* (registry) dup() the default on return

16 years ago* (registry) fix the default value handling for non-existent registry files
Dmitry Kim [Fri, 14 Dec 2007 21:06:21 +0000 (21:06 +0000)]
* (registry) fix the default value handling for non-existent registry files

16 years agomaskdb: be case insenstive
Giuseppe Bilotta [Fri, 14 Dec 2007 11:18:54 +0000 (11:18 +0000)]
maskdb: be case insenstive

16 years agoremotectl: what's action_path? when in doubt, expunge
Giuseppe Bilotta [Thu, 13 Dec 2007 12:39:11 +0000 (12:39 +0000)]
remotectl: what's action_path? when in doubt, expunge

16 years agorss: rss rewatch now accepts an optional handle to force rewatching that particular...
Giuseppe Bilotta [Thu, 13 Dec 2007 12:24:49 +0000 (12:24 +0000)]
rss: rss rewatch now accepts an optional handle to force rewatching that particular feed

16 years agoauth: adjust some permissions
Giuseppe Bilotta [Thu, 13 Dec 2007 10:48:13 +0000 (10:48 +0000)]
auth: adjust some permissions

16 years agomessagemapper: fix set_auth_path() logic
Giuseppe Bilotta [Thu, 13 Dec 2007 10:47:29 +0000 (10:47 +0000)]
messagemapper: fix set_auth_path() logic

16 years agoauth: 'permission search' command to look up the full_auth_path of commands
Giuseppe Bilotta [Thu, 13 Dec 2007 10:34:49 +0000 (10:34 +0000)]
auth: 'permission search' command to look up the full_auth_path of commands

16 years agoplugins: register maps with full information accessible via @bot.plugins.maps
Giuseppe Bilotta [Thu, 13 Dec 2007 10:34:04 +0000 (10:34 +0000)]
plugins: register maps with full information accessible via @bot.plugins.maps

16 years agoplugins: refactor common code in #map() and #map!() to auxiliary #do_map() method
Giuseppe Bilotta [Thu, 13 Dec 2007 10:33:19 +0000 (10:33 +0000)]
plugins: refactor common code in #map() and #map!() to auxiliary #do_map() method

16 years agoauth: user tell should be in the 'manage' auth path, and thus forbidden by default
Giuseppe Bilotta [Tue, 11 Dec 2007 22:08:29 +0000 (22:08 +0000)]
auth: user tell should be in the 'manage' auth path, and thus forbidden by default

16 years agowheelfortune: wof replace mechanism to fix the category, clue and/or answer of a...
Giuseppe Bilotta [Tue, 11 Dec 2007 20:41:39 +0000 (20:41 +0000)]
wheelfortune: wof replace mechanism to fix the category, clue and/or answer of a QA not yet announced

16 years agowheelfortune: rework replies to QA additions, providing the round number at which...
Giuseppe Bilotta [Tue, 11 Dec 2007 20:40:53 +0000 (20:40 +0000)]
wheelfortune: rework replies to QA additions, providing the round number at which the clue will be given

16 years agowheelfortune: spare one line when announcing
Giuseppe Bilotta [Tue, 11 Dec 2007 12:04:15 +0000 (12:04 +0000)]
wheelfortune: spare one line when announcing

16 years agomaskdb: dup strings for manipulation
Giuseppe Bilotta [Fri, 7 Dec 2007 22:59:34 +0000 (22:59 +0000)]
maskdb: dup strings for manipulation

16 years agowheelfortune: start checking permissions
Giuseppe Bilotta [Fri, 7 Dec 2007 22:58:49 +0000 (22:58 +0000)]
wheelfortune: start checking permissions

16 years agowheelfortune: the name of the game chosen by the player is stored for future retrieval
Giuseppe Bilotta [Fri, 7 Dec 2007 19:10:02 +0000 (19:10 +0000)]
wheelfortune: the name of the game chosen by the player is stored for future retrieval

16 years agouserdata: classes with singleton methods are not dumpable. dup the hash before storage
Giuseppe Bilotta [Fri, 7 Dec 2007 19:09:17 +0000 (19:09 +0000)]
userdata: classes with singleton methods are not dumpable. dup the hash before storage

16 years agowheelfortune: vowels must now be bought
Giuseppe Bilotta [Fri, 7 Dec 2007 19:08:33 +0000 (19:08 +0000)]
wheelfortune: vowels must now be bought

16 years agoNew Irc Framework: netmask generalization now takes into consideration AzzurraNet...
Giuseppe Bilotta [Fri, 7 Dec 2007 13:00:18 +0000 (13:00 +0000)]
New Irc Framework: netmask generalization now takes into consideration AzzurraNet host shadowing

16 years agowheelfortune: some work on presentation
Giuseppe Bilotta [Fri, 7 Dec 2007 12:59:32 +0000 (12:59 +0000)]
wheelfortune: some work on presentation

16 years agowheelfortune: say when there are no scores
Giuseppe Bilotta [Fri, 7 Dec 2007 12:58:47 +0000 (12:58 +0000)]
wheelfortune: say when there are no scores

16 years agowheelfortune: allow the game name to be customized
Giuseppe Bilotta [Thu, 6 Dec 2007 23:58:20 +0000 (23:58 +0000)]
wheelfortune: allow the game name to be customized

16 years agowheelfortune: display round count on cancel
Giuseppe Bilotta [Thu, 6 Dec 2007 23:46:45 +0000 (23:46 +0000)]
wheelfortune: display round count on cancel

16 years agowheelfortune: multiple fixes
Giuseppe Bilotta [Thu, 6 Dec 2007 15:17:07 +0000 (15:17 +0000)]
wheelfortune: multiple fixes

16 years agowheelfortune: it's chan, not p[:chan]
Giuseppe Bilotta [Thu, 6 Dec 2007 15:16:21 +0000 (15:16 +0000)]
wheelfortune: it's chan, not p[:chan]

16 years agowheelfortune: Wheel-of-Fortune game plugin. Initial commit
Giuseppe Bilotta [Thu, 6 Dec 2007 15:15:37 +0000 (15:15 +0000)]
wheelfortune: Wheel-of-Fortune game plugin. Initial commit

16 years agodebug info to track hard-to-nail bug about disappearing hosts in botuser netmasks
Giuseppe Bilotta [Thu, 6 Dec 2007 14:30:42 +0000 (14:30 +0000)]
debug info to track hard-to-nail bug about disappearing hosts in botuser netmasks