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

16 years agofactoids plugin: reply when queries match a trigger
Giuseppe Bilotta [Wed, 21 Nov 2007 21:41:18 +0000 (21:41 +0000)]
factoids plugin: reply when queries match a trigger

16 years agofactoids plugin: scan factoids for query triggers
Giuseppe Bilotta [Wed, 21 Nov 2007 21:30:22 +0000 (21:30 +0000)]
factoids plugin: scan factoids for query triggers

16 years agotwitter plugin: use the correct time
Giuseppe Bilotta [Wed, 21 Nov 2007 14:53:37 +0000 (14:53 +0000)]
twitter plugin: use the correct time

16 years agotranslator.rb: improved help message from translators
Yaohan Chen [Sun, 18 Nov 2007 09:50:57 +0000 (09:50 +0000)]
translator.rb: improved help message from translators

16 years agotwitter plugin: fix help
Giuseppe Bilotta [Sun, 18 Nov 2007 09:35:40 +0000 (09:35 +0000)]
twitter plugin: fix help

16 years agotranslator.rb: use "help <translator>" instead of "help translator <translator>"...
Yaohan Chen [Wed, 14 Nov 2007 09:16:08 +0000 (09:16 +0000)]
translator.rb: use "help <translator>" instead of "help translator <translator>" to show
               translator information

16 years agoweather plugin: properly support multiple US and non-US stations
Giuseppe Bilotta [Thu, 8 Nov 2007 23:59:26 +0000 (23:59 +0000)]
weather plugin: properly support multiple US and non-US stations

16 years agoweather plugin: refactor HTML cleanup code
Giuseppe Bilotta [Thu, 8 Nov 2007 23:58:39 +0000 (23:58 +0000)]
weather plugin: refactor HTML cleanup code

16 years agoweather plugin: fix detection of weather page
Giuseppe Bilotta [Thu, 8 Nov 2007 23:57:53 +0000 (23:57 +0000)]
weather plugin: fix detection of weather page

16 years agoweather plugin: fix 163
Giuseppe Bilotta [Thu, 8 Nov 2007 23:06:27 +0000 (23:06 +0000)]
weather plugin: fix 163

16 years agoalias.rb: revert previous commit about creating path since mkdir_p only creates
Yaohan Chen [Thu, 8 Nov 2007 07:21:22 +0000 (07:21 +0000)]
alias.rb: revert previous commit about creating path since mkdir_p only creates
directory if it does not exist

16 years agorbot should default to the debug level used by ruby
Giuseppe Bilotta [Wed, 7 Nov 2007 19:00:38 +0000 (19:00 +0000)]
rbot should default to the debug level used by ruby

16 years agoalias plugin: don't create data path if it already exists
Giuseppe Bilotta [Wed, 7 Nov 2007 18:30:22 +0000 (18:30 +0000)]
alias plugin: don't create data path if it already exists

16 years agolart plugin: fix listlart/praise logic
Giuseppe Bilotta [Wed, 7 Nov 2007 18:29:36 +0000 (18:29 +0000)]
lart plugin: fix listlart/praise logic

16 years agoImproved inspect methods all around
Giuseppe Bilotta [Tue, 6 Nov 2007 22:39:57 +0000 (22:39 +0000)]
Improved inspect methods all around

16 years agoNew Irc Framework: methods to convert channel user modes (op, voice, etc) from mode...
Giuseppe Bilotta [Tue, 6 Nov 2007 22:39:10 +0000 (22:39 +0000)]
New Irc Framework: methods to convert channel user modes (op, voice, etc) from mode (o, v, ...) to prefix (@, +, ...) and back

16 years agoNew Irc Framework: fix channel creation when topic=nil
Giuseppe Bilotta [Tue, 6 Nov 2007 13:19:39 +0000 (13:19 +0000)]
New Irc Framework: fix channel creation when topic=nil

16 years agofactoids plugin: echo the newly learned fact
Giuseppe Bilotta [Mon, 5 Nov 2007 17:03:32 +0000 (17:03 +0000)]
factoids plugin: echo the newly learned fact

16 years agofactoids plugin: tell the user the index of the fact when refusing to learn something...
Giuseppe Bilotta [Mon, 5 Nov 2007 17:02:47 +0000 (17:02 +0000)]
factoids plugin: tell the user the index of the fact when refusing to learn something we know already

16 years agotranslator.rb: display translation provider when it's chosen automatically
Yaohan Chen [Mon, 5 Nov 2007 15:32:13 +0000 (15:32 +0000)]
translator.rb: display translation provider when it's chosen automatically

16 years agoalias.rb: help message for aliases show alias definitions
Yaohan Chen [Mon, 5 Nov 2007 04:13:32 +0000 (04:13 +0000)]
alias.rb: help message for aliases show alias definitions

16 years agofactoids plugin: no need to prepend 'learnt' to metadata
Giuseppe Bilotta [Sun, 4 Nov 2007 23:06:37 +0000 (23:06 +0000)]
factoids plugin: no need to prepend 'learnt' to metadata

16 years agokeywords plugin: keyword wipe command to remove unforgettable keywords
Giuseppe Bilotta [Sun, 4 Nov 2007 21:51:49 +0000 (21:51 +0000)]
keywords plugin: keyword wipe command to remove unforgettable keywords

16 years agofactoids plugin: actually output metadata in long form of Factoid#to_s
Giuseppe Bilotta [Sun, 4 Nov 2007 20:37:02 +0000 (20:37 +0000)]
factoids plugin: actually output metadata in long form of Factoid#to_s

16 years agokeywords plugin: simpler forget code
Giuseppe Bilotta [Sun, 4 Nov 2007 20:02:18 +0000 (20:02 +0000)]
keywords plugin: simpler forget code

16 years agokeywords plugin: inform the user when a keyword couldn't be deleted because it wasn...
Giuseppe Bilotta [Sun, 4 Nov 2007 19:49:01 +0000 (19:49 +0000)]
keywords plugin: inform the user when a keyword couldn't be deleted because it wasn't found

16 years agofactoids plugin: command to forget a fact by index rather than text
Giuseppe Bilotta [Sun, 4 Nov 2007 15:14:21 +0000 (15:14 +0000)]
factoids plugin: command to forget a fact by index rather than text

16 years agofactoids plugin: display (selected, random) multiple facts in a single line, but...
Giuseppe Bilotta [Sun, 4 Nov 2007 15:13:35 +0000 (15:13 +0000)]
factoids plugin: display (selected, random) multiple facts in a single line, but in long form

16 years agofactoids plugin: move meta display into Factoid#to_s
Giuseppe Bilotta [Sun, 4 Nov 2007 15:12:43 +0000 (15:12 +0000)]
factoids plugin: move meta display into Factoid#to_s

16 years agofactoids plugin: display multiple facts one per line, but only a limited number of...
Giuseppe Bilotta [Sun, 4 Nov 2007 15:11:55 +0000 (15:11 +0000)]
factoids plugin: display multiple facts one per line, but only a limited number of them

16 years agoextends: Arraydata/rbot/plugins/factoids.rbdelete_one to remove a random element...
Giuseppe Bilotta [Sun, 4 Nov 2007 15:11:09 +0000 (15:11 +0000)]
extends: Arraydata/rbot/plugins/factoids.rbdelete_one to remove a random element from an array

16 years agofactoids plugin: mark factoids as changed after factfile import
Giuseppe Bilotta [Sun, 4 Nov 2007 15:10:23 +0000 (15:10 +0000)]
factoids plugin: mark factoids as changed after factfile import

16 years agofactoids plugin: factfile import
Giuseppe Bilotta [Sun, 4 Nov 2007 14:03:26 +0000 (14:03 +0000)]
factoids plugin: factfile import

16 years agofactoids plugin: ensure that edited metadata is properly saved, and check for parseab...
Giuseppe Bilotta [Sun, 4 Nov 2007 14:02:36 +0000 (14:02 +0000)]
factoids plugin: ensure that edited metadata is properly saved, and check for parseable dates

16 years agofactoids plugin: fact metadata editing
Giuseppe Bilotta [Sun, 4 Nov 2007 12:19:56 +0000 (12:19 +0000)]
factoids plugin: fact metadata editing

16 years agofactoids plugin: output fact numbers prefixed by a pound sign (#), and accept it...
Giuseppe Bilotta [Sun, 4 Nov 2007 12:19:11 +0000 (12:19 +0000)]
factoids plugin: output fact numbers prefixed by a pound sign (#), and accept it in index parameter

16 years agofactoids plugin: tell fact metadata, if present
Giuseppe Bilotta [Sun, 4 Nov 2007 12:18:27 +0000 (12:18 +0000)]
factoids plugin: tell fact metadata, if present

16 years agofactoids plugin: retrieve fact by index
Giuseppe Bilotta [Sun, 4 Nov 2007 12:17:41 +0000 (12:17 +0000)]
factoids plugin: retrieve fact by index

16 years agofactoids plugin: default auth_path for fact editing
Giuseppe Bilotta [Sun, 4 Nov 2007 12:16:56 +0000 (12:16 +0000)]
factoids plugin: default auth_path for fact editing

16 years agokeywords plugin: when exporting to factoids, split at ' or '
Giuseppe Bilotta [Sun, 4 Nov 2007 01:38:28 +0000 (01:38 +0000)]
keywords plugin: when exporting to factoids, split at ' or '

16 years agofactoids plugin: fact command (get a random fact). Remove fact command from chucknorr...
Giuseppe Bilotta [Sun, 4 Nov 2007 01:24:06 +0000 (01:24 +0000)]
factoids plugin: fact command (get a random fact). Remove fact command from chucknorris plugin

16 years agofactoids plugin: Factoid and FactoidList classes
Giuseppe Bilotta [Sun, 4 Nov 2007 01:23:21 +0000 (01:23 +0000)]
factoids plugin: Factoid and FactoidList classes

16 years agokeywords plugin: export data to flat factoids file
Giuseppe Bilotta [Sun, 4 Nov 2007 00:26:32 +0000 (00:26 +0000)]
keywords plugin: export data to flat factoids file

16 years agokeywords plugin: don't break if forget, tell and/or learn were registered by another...
Giuseppe Bilotta [Sat, 3 Nov 2007 15:49:30 +0000 (15:49 +0000)]
keywords plugin: don't break if forget, tell and/or learn were registered by another plugin (e.g. factoids)

16 years agofactoids plugin
Giuseppe Bilotta [Sat, 3 Nov 2007 15:39:08 +0000 (15:39 +0000)]
factoids plugin

16 years agoazgame plugin: better handling of late checks
Giuseppe Bilotta [Thu, 1 Nov 2007 22:10:58 +0000 (22:10 +0000)]
azgame plugin: better handling of late checks

16 years agolart plugin: listlart and listpraise commands
Giuseppe Bilotta [Thu, 1 Nov 2007 00:31:01 +0000 (00:31 +0000)]
lart plugin: listlart and listpraise commands

16 years agoreaction plugin: better matching for non-regexp triggers
Giuseppe Bilotta [Thu, 1 Nov 2007 00:30:16 +0000 (00:30 +0000)]
reaction plugin: better matching for non-regexp triggers

16 years agoreaction plugin: fix reaction removal when no index was specified
Giuseppe Bilotta [Wed, 31 Oct 2007 21:45:42 +0000 (21:45 +0000)]
reaction plugin: fix reaction removal when no index was specified

16 years agoreaction plugin: improve trigger_syntax further
Giuseppe Bilotta [Wed, 31 Oct 2007 21:44:57 +0000 (21:44 +0000)]
reaction plugin: improve trigger_syntax further

16 years agoreaction plugin: reactions can now call commands
Giuseppe Bilotta [Wed, 31 Oct 2007 21:27:07 +0000 (21:27 +0000)]
reaction plugin: reactions can now call commands

16 years agoreaction plugin: allow removal of a single reaction to a trigger
Giuseppe Bilotta [Wed, 31 Oct 2007 21:26:22 +0000 (21:26 +0000)]
reaction plugin: allow removal of a single reaction to a trigger

16 years agoreaction plugin: collect trigger syntax into a single regexp
Giuseppe Bilotta [Wed, 31 Oct 2007 21:25:33 +0000 (21:25 +0000)]
reaction plugin: collect trigger syntax into a single regexp

16 years agoreaction plugin: update help text to match new syntax
Giuseppe Bilotta [Wed, 31 Oct 2007 19:50:58 +0000 (19:50 +0000)]
reaction plugin: update help text to match new syntax

16 years ago* (rbot/config) slightly less ugly ArrayValue validation interface
Dmitry Kim [Wed, 31 Oct 2007 19:42:24 +0000 (19:42 +0000)]
* (rbot/config) slightly less ugly ArrayValue validation interface

16 years ago* (plugins/usermodes) connect() accepts no arguments
Dmitry Kim [Wed, 31 Oct 2007 19:40:34 +0000 (19:40 +0000)]
* (plugins/usermodes) connect() accepts no arguments

16 years agoazgame: another missing parenthesis
Giuseppe Bilotta [Wed, 31 Oct 2007 19:15:04 +0000 (19:15 +0000)]
azgame: another missing parenthesis

16 years agolinkbot.rb: ignore colors when matching against message pattern
Yaohan Chen [Wed, 31 Oct 2007 17:35:07 +0000 (17:35 +0000)]
linkbot.rb: ignore colors when matching against message pattern

16 years agodictclient.rb: make commands threaded
Yaohan Chen [Wed, 31 Oct 2007 17:30:27 +0000 (17:30 +0000)]
dictclient.rb: make commands threaded

16 years agoazgame: longer timeout when checking italian words
Giuseppe Bilotta [Tue, 30 Oct 2007 14:21:17 +0000 (14:21 +0000)]
azgame: longer timeout when checking italian words

16 years agoazgame: thread word check so that online checking doesn't block
Giuseppe Bilotta [Mon, 29 Oct 2007 23:17:53 +0000 (23:17 +0000)]
azgame: thread word check so that online checking doesn't block

16 years agohttputil: inform the servers we also accept deflate
Giuseppe Bilotta [Mon, 29 Oct 2007 20:49:23 +0000 (20:49 +0000)]
httputil: inform the servers we also accept deflate

16 years agohttputil: support Content-Encoding: deflate
Giuseppe Bilotta [Mon, 29 Oct 2007 20:48:36 +0000 (20:48 +0000)]
httputil: support Content-Encoding: deflate

16 years agoUpdate .po files
Giuseppe Bilotta [Sun, 21 Oct 2007 23:26:43 +0000 (23:26 +0000)]
Update .po files

16 years agoazgame: missing closing parenthesis in message
Giuseppe Bilotta [Sun, 21 Oct 2007 23:25:55 +0000 (23:25 +0000)]
azgame: missing closing parenthesis in message

16 years agoazgame: fix score calculation
Giuseppe Bilotta [Sun, 21 Oct 2007 23:25:07 +0000 (23:25 +0000)]
azgame: fix score calculation

16 years agoSuppress some warnings
Giuseppe Bilotta [Sun, 21 Oct 2007 22:57:55 +0000 (22:57 +0000)]
Suppress some warnings

16 years agousermodes plugin: initial commit. handles automatico usermode setting on connect
Giuseppe Bilotta [Wed, 17 Oct 2007 07:52:22 +0000 (07:52 +0000)]
usermodes plugin: initial commit. handles automatico usermode setting on connect

16 years agokarma plugin: setkarma command
Giuseppe Bilotta [Sat, 13 Oct 2007 11:56:44 +0000 (11:56 +0000)]
karma plugin: setkarma command

16 years ago* (ircsocket) inconsistent socket state after ssl exceptions in connect(), fixed
Dmitry Kim [Thu, 11 Oct 2007 22:15:35 +0000 (22:15 +0000)]
* (ircsocket) inconsistent socket state after ssl exceptions in connect(), fixed

16 years agoNew Auth Framework: always allow the 'login' command
Giuseppe Bilotta [Thu, 11 Oct 2007 07:59:27 +0000 (07:59 +0000)]
New Auth Framework: always allow the 'login' command

16 years agohttputil: try to guess content-type from extension if it's not defined
Giuseppe Bilotta [Thu, 11 Oct 2007 07:37:55 +0000 (07:37 +0000)]
httputil: try to guess content-type from extension if it's not defined

16 years agohttputil: beware that content-type header may be absent
Giuseppe Bilotta [Thu, 11 Oct 2007 07:37:10 +0000 (07:37 +0000)]
httputil: beware that content-type header may be absent

16 years agofirst_html_par: detect fragment at the right place
Giuseppe Bilotta [Thu, 11 Oct 2007 07:36:23 +0000 (07:36 +0000)]
first_html_par: detect fragment at the right place