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

16 years agoauth: don't say stupid things when the password is changed
Giuseppe Bilotta [Thu, 6 Dec 2007 14:29:57 +0000 (14:29 +0000)]
auth: don't say stupid things when the password is changed

16 years agouserdata: don't extend the botuser hash to support dotted indices when migrating...
Giuseppe Bilotta [Thu, 6 Dec 2007 13:06:00 +0000 (13:06 +0000)]
userdata: don't extend the botuser hash to support dotted indices when migrating users

16 years agorss plugin: display author if present in default format
Giuseppe Bilotta [Tue, 4 Dec 2007 20:44:19 +0000 (20:44 +0000)]
rss plugin: display author if present in default format

16 years agoauth core module: improve user destroy semantics
Giuseppe Bilotta [Tue, 4 Dec 2007 20:27:49 +0000 (20:27 +0000)]
auth core module: improve user destroy semantics

16 years agouserdata: extend userdata hash with DottedIndex access
Giuseppe Bilotta [Tue, 4 Dec 2007 15:01:21 +0000 (15:01 +0000)]
userdata: extend userdata hash with DottedIndex access

16 years agoextends: DottedIndex module to extend Hash-like classes for nested dot-separated...
Giuseppe Bilotta [Tue, 4 Dec 2007 15:00:35 +0000 (15:00 +0000)]
extends: DottedIndex module to extend Hash-like classes for nested dot-separated index access (h['one.key'] is like h[:one][:key] with intermediate hash creation)

16 years agoazgame plugin: whitespace cleanup
Giuseppe Bilotta [Tue, 4 Dec 2007 13:11:03 +0000 (13:11 +0000)]
azgame plugin: whitespace cleanup

16 years agoNew Auth Framework: migrate userdata on permification
Giuseppe Bilotta [Tue, 4 Dec 2007 12:35:02 +0000 (12:35 +0000)]
New Auth Framework: migrate userdata on permification

16 years agoNew Auth Framework: migrate userdata on botuser copy/rename
Giuseppe Bilotta [Tue, 4 Dec 2007 11:34:15 +0000 (11:34 +0000)]
New Auth Framework: migrate userdata on botuser copy/rename

16 years agoNew Auth Framework: meet and hello commands to make transient botusers permanent
Giuseppe Bilotta [Mon, 3 Dec 2007 23:47:59 +0000 (23:47 +0000)]
New Auth Framework: meet and hello commands to make transient botusers permanent

16 years agosalut plugin: only reply to salutations in unreplied messages
Giuseppe Bilotta [Mon, 3 Dec 2007 23:47:12 +0000 (23:47 +0000)]
salut plugin: only reply to salutations in unreplied messages

16 years agoNew Auth Framework: sanitize botusername ''before'' checking for existence
Giuseppe Bilotta [Mon, 3 Dec 2007 23:46:26 +0000 (23:46 +0000)]
New Auth Framework: sanitize botusername ''before'' checking for existence

16 years agoNew Auth Framework: trap user editing exceptions
Giuseppe Bilotta [Mon, 3 Dec 2007 22:03:32 +0000 (22:03 +0000)]
New Auth Framework: trap user editing exceptions

16 years agoNew Auth Framework: TypeError, not TypError
Giuseppe Bilotta [Mon, 3 Dec 2007 21:44:11 +0000 (21:44 +0000)]
New Auth Framework: TypeError, not TypError

16 years ago* (plugins/rss) maintain refresh timeouts through restarts/rescans
Dmitry Kim [Thu, 29 Nov 2007 21:33:50 +0000 (21:33 +0000)]
* (plugins/rss) maintain refresh timeouts through restarts/rescans

16 years agorss plugin: manageable permissions and defaults
Giuseppe Bilotta [Thu, 29 Nov 2007 16:15:19 +0000 (16:15 +0000)]
rss plugin: manageable permissions and defaults

16 years agorss plugin: calculate item_uid_for_bot() on Atom feeds without breaking
Giuseppe Bilotta [Thu, 29 Nov 2007 14:57:11 +0000 (14:57 +0000)]
rss plugin: calculate item_uid_for_bot() on Atom feeds without breaking

16 years agorss plugin: help for 'who watches'
Giuseppe Bilotta [Wed, 28 Nov 2007 23:44:45 +0000 (23:44 +0000)]
rss plugin: help for 'who watches'

16 years agorss plugin: initial support for Atom feeds (needs Ruby's rss module 0.1.8 or later)
Giuseppe Bilotta [Wed, 28 Nov 2007 23:15:29 +0000 (23:15 +0000)]
rss plugin: initial support for Atom feeds (needs Ruby's rss module 0.1.8 or later)

16 years agokarma plugin: skip messages which don't have ++ or -- in them
Giuseppe Bilotta [Wed, 28 Nov 2007 22:24:57 +0000 (22:24 +0000)]
karma plugin: skip messages which don't have ++ or -- in them

16 years agoalias.rb:
Yaohan Chen [Mon, 26 Nov 2007 05:15:52 +0000 (05:15 +0000)]
alias.rb:
* show a clear error message when the alias is removed but mapping is not yet

16 years agoalias.rb:
Yaohan Chen [Mon, 26 Nov 2007 04:25:19 +0000 (04:25 +0000)]
alias.rb:
* fix bug in alias checking code which prevented aliases with more than one
  parameters
+ reply with error message if mapping alias fails

16 years ago* (plugins/urban) filter urbandictionary suggestion via uniq()
Dmitry Kim [Sat, 24 Nov 2007 16:29:58 +0000 (16:29 +0000)]
* (plugins/urban) filter urbandictionary suggestion via uniq()

16 years ago* (plugins/urban) CGI.escape -> URI.escape
Dmitry Kim [Sat, 24 Nov 2007 16:17:50 +0000 (16:17 +0000)]
* (plugins/urban) CGI.escape -> URI.escape

16 years ago* (plugins/urban) only return 1 answer; other minor improvements
Dmitry Kim [Sat, 24 Nov 2007 16:09:04 +0000 (16:09 +0000)]
* (plugins/urban) only return 1 answer; other minor improvements

16 years ago* (plugins/urban) route around urbanwap acting smaert wrt IP addresses (back to html...
Dmitry Kim [Sat, 24 Nov 2007 12:25:44 +0000 (12:25 +0000)]
* (plugins/urban) route around urbanwap acting smaert wrt IP addresses (back to html scraping)

16 years agoshiritori.rb: use normalize-japanese.rb, if present, to allow katakana
Yaohan Chen [Fri, 23 Nov 2007 22:20:22 +0000 (22:20 +0000)]
shiritori.rb: use normalize-japanese.rb, if present, to allow katakana

16 years agotwitter plugin: twitter friends status command
Giuseppe Bilotta [Fri, 23 Nov 2007 21:40:56 +0000 (21:40 +0000)]
twitter plugin: twitter friends status command

16 years ago* (plugins/karma) don't thank for bot karma decrements
Dmitry Kim [Fri, 23 Nov 2007 12:50:14 +0000 (12:50 +0000)]
* (plugins/karma) don't thank for bot karma decrements

16 years ago* (plugins/karma) new, hopefully less broken, karma syntax parser
Dmitry Kim [Fri, 23 Nov 2007 12:41:05 +0000 (12:41 +0000)]
* (plugins/karma) new, hopefully less broken, karma syntax parser

16 years agolanguage.rb: add '.UTF-8' to Lang2Locale values to make gettext use UTF-8 on WIN32
Yaohan Chen [Thu, 22 Nov 2007 04:32:32 +0000 (04:32 +0000)]
language.rb: add '.UTF-8' to Lang2Locale values to make gettext use UTF-8 on WIN32

16 years agoNew IRC Framework: warn, don't raise, on case mismatch
Giuseppe Bilotta [Wed, 21 Nov 2007 22:19:26 +0000 (22:19 +0000)]
New IRC Framework: warn, don't raise, on case mismatch

16 years agofactoids plugin: config value for number of search results
Giuseppe Bilotta [Wed, 21 Nov 2007 22:18:40 +0000 (22:18 +0000)]
factoids plugin: config value for number of search results

16 years agofactoids plugin: an empty trigger_pattern list means any word is a keyword
Giuseppe Bilotta [Wed, 21 Nov 2007 21:58:17 +0000 (21:58 +0000)]
factoids plugin: an empty trigger_pattern list means any word is a keyword

16 years agofactoids plugin: config option to reply to queries only when addressed
Giuseppe Bilotta [Wed, 21 Nov 2007 21:48:25 +0000 (21:48 +0000)]
factoids plugin: config option to reply to queries only when addressed