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

16 years ago* dictclient.rb: break help message into topics
Yaohan Chen [Sun, 7 Oct 2007 03:08:23 +0000 (03:08 +0000)]
* dictclient.rb: break help message into topics

16 years agoFix overzealous [1231]
Giuseppe Bilotta [Thu, 4 Oct 2007 23:46:53 +0000 (23:46 +0000)]
Fix overzealous [1231]

16 years agoquiz plugin: split top N tables at the name divisor
Giuseppe Bilotta [Thu, 4 Oct 2007 23:46:51 +0000 (23:46 +0000)]
quiz plugin: split top N tables at the name divisor

16 years ago* (utils) should use partial_body() for non-text responses as well
Dmitry Kim [Mon, 1 Oct 2007 21:33:57 +0000 (21:33 +0000)]
* (utils) should use partial_body() for non-text responses as well

16 years agocore/config: fix help
Giuseppe Bilotta [Mon, 1 Oct 2007 06:03:19 +0000 (06:03 +0000)]
core/config: fix help

16 years agomessage.rb: fix logmessage for CTCP ACTIONs
Giuseppe Bilotta [Tue, 25 Sep 2007 12:52:01 +0000 (12:52 +0000)]
message.rb: fix logmessage for CTCP ACTIONs

16 years agomessage.rb: logmessage method to retrieve the message for logging purposes
Giuseppe Bilotta [Mon, 24 Sep 2007 20:08:13 +0000 (20:08 +0000)]
message.rb: logmessage method to retrieve the message for logging purposes

When logging messages, it is appropriate to remove color and identification prefixes (in networks that support it), but not the address prefix.

Solve this by saving a copy of the message without the address prefix(es) removed, and use it in irclog*() methods.

16 years agocore/userdata: store transient data too, keyed by (first-and-only) netmask
Giuseppe Bilotta [Mon, 24 Sep 2007 08:08:37 +0000 (08:08 +0000)]
core/userdata: store transient data too, keyed by (first-and-only) netmask

16 years agocore/userdata: always store nick-based data
Giuseppe Bilotta [Mon, 24 Sep 2007 08:08:35 +0000 (08:08 +0000)]
core/userdata: always store nick-based data

16 years agocore/userdata: refactor set_data_hash method
Giuseppe Bilotta [Mon, 24 Sep 2007 08:08:33 +0000 (08:08 +0000)]
core/userdata: refactor set_data_hash method

16 years agocore/auth: missing help for who is
Giuseppe Bilotta [Sun, 23 Sep 2007 23:24:19 +0000 (23:24 +0000)]
core/auth: missing help for who is

16 years agocore/userdata: with_botdata method
Giuseppe Bilotta [Sun, 23 Sep 2007 23:24:17 +0000 (23:24 +0000)]
core/userdata: with_botdata method

16 years agocore/userdata: bot_data -> botdata
Giuseppe Bilotta [Sun, 23 Sep 2007 23:24:15 +0000 (23:24 +0000)]
core/userdata: bot_data -> botdata

16 years agoNew Auth Framework: use Botuser#default? and owner? methods
Giuseppe Bilotta [Sun, 23 Sep 2007 10:57:12 +0000 (10:57 +0000)]
New Auth Framework: use Botuser#default? and owner? methods

16 years agoNew Auth Framework: BotUser#default? and owner? methods
Giuseppe Bilotta [Sun, 23 Sep 2007 10:57:10 +0000 (10:57 +0000)]
New Auth Framework: BotUser#default? and owner? methods

16 years agoUserData cote botmodule to handle user data storage/retrieval
Giuseppe Bilotta [Sun, 23 Sep 2007 10:57:08 +0000 (10:57 +0000)]
UserData cote botmodule to handle user data storage/retrieval

16 years agoregistry.rb: don't create registry file unless accessing it for writing
Giuseppe Bilotta [Sat, 22 Sep 2007 15:15:43 +0000 (15:15 +0000)]
registry.rb: don't create registry file unless accessing it for writing

16 years agomessage.rb: fix "I'm Stupid(TM)" bug in [1100]
Giuseppe Bilotta [Sat, 22 Sep 2007 13:44:07 +0000 (13:44 +0000)]
message.rb: fix "I'm Stupid(TM)" bug in [1100]

16 years ago* (botuser) generalize() netmasks on transient->permanent
Dmitry Kim [Sat, 22 Sep 2007 13:32:07 +0000 (13:32 +0000)]
* (botuser) generalize() netmasks on transient->permanent

16 years ago+ (irc) generalize() method for Netmask class
Dmitry Kim [Sat, 22 Sep 2007 13:31:20 +0000 (13:31 +0000)]
+ (irc) generalize() method for Netmask class

16 years agoNew Auth Framework: add make_permanent() and related methods to make a transient...
Giuseppe Bilotta [Sat, 22 Sep 2007 07:12:46 +0000 (07:12 +0000)]
New Auth Framework: add make_permanent() and related methods to make a transient BotUser permanent

16 years agoNew Auth Framework: please document methods
Giuseppe Bilotta [Sat, 22 Sep 2007 07:12:44 +0000 (07:12 +0000)]
New Auth Framework: please document methods

16 years agoreaction plugin: uniformize auth_path for trigger removal commands
Giuseppe Bilotta [Sat, 22 Sep 2007 07:12:43 +0000 (07:12 +0000)]
reaction plugin: uniformize auth_path for trigger removal commands

16 years agoreaction plugin: order reaction candidates by number of captures as secondary order
Giuseppe Bilotta [Sat, 22 Sep 2007 07:12:41 +0000 (07:12 +0000)]
reaction plugin: order reaction candidates by number of captures as secondary order

16 years agoreaction plugin: no more :stuff, but :before and :after for the pre and postmatch...
Giuseppe Bilotta [Fri, 21 Sep 2007 19:45:08 +0000 (19:45 +0000)]
reaction plugin: no more :stuff, but :before and :after for the pre and postmatch text

16 years agoreaction plugin: it's %{key}, not %%{key}
Giuseppe Bilotta [Fri, 21 Sep 2007 19:45:02 +0000 (19:45 +0000)]
reaction plugin: it's %{key}, not %%{key}

16 years ago+ (botuser + maskdb) fast netmask lookup + supplemental fixes for transient users
Dmitry Kim [Fri, 21 Sep 2007 18:07:09 +0000 (18:07 +0000)]
+ (botuser + maskdb) fast netmask lookup + supplemental fixes for transient users

16 years ago* (core/auth) more debug logging on exceptions
Dmitry Kim [Fri, 21 Sep 2007 18:02:54 +0000 (18:02 +0000)]
* (core/auth) more debug logging on exceptions

16 years agoNew Auth Framework: auth core botmodule was missing an m.reply
Giuseppe Bilotta [Fri, 21 Sep 2007 15:35:15 +0000 (15:35 +0000)]
New Auth Framework: auth core botmodule was missing an m.reply

16 years agoNew Auth Framework: auth core botmodule was failing when someone asked something...
Giuseppe Bilotta [Fri, 21 Sep 2007 15:35:13 +0000 (15:35 +0000)]
New Auth Framework: auth core botmodule was failing when someone asked something about a nonexisting botuser

16 years agoreaction plugin: quoted multi-word triggers in [1189] were not being unquoted when...
Giuseppe Bilotta [Fri, 21 Sep 2007 14:24:19 +0000 (14:24 +0000)]
reaction plugin: quoted multi-word triggers in [1189] were not being unquoted when setting up the trigger

16 years agoreaction plugin: use the longest-matching trigger, not the first one found
Giuseppe Bilotta [Fri, 21 Sep 2007 14:24:17 +0000 (14:24 +0000)]
reaction plugin: use the longest-matching trigger, not the first one found

16 years agoreaction plugin: make triggers case insensitive
Giuseppe Bilotta [Fri, 21 Sep 2007 13:32:53 +0000 (13:32 +0000)]
reaction plugin: make triggers case insensitive

16 years ago+ (core/auth) "!who is :user" syntax
Dmitry Kim [Fri, 21 Sep 2007 11:07:52 +0000 (11:07 +0000)]
+ (core/auth) "!who is :user" syntax

16 years agoUtils.decode_html_entities: get rid of commented table and implement latin-1 (and...
Giuseppe Bilotta [Fri, 21 Sep 2007 09:38:35 +0000 (09:38 +0000)]
Utils.decode_html_entities: get rid of commented table and implement latin-1 (and then some) decoding

16 years agoUtils: we are an UTF-8 aware bot now, no need to ASCIIfy HTML entities
Giuseppe Bilotta [Fri, 21 Sep 2007 09:25:14 +0000 (09:25 +0000)]
Utils: we are an UTF-8 aware bot now, no need to ASCIIfy HTML entities

16 years agoUtils.decode_html_entities: fix decoding of unknown symbols
Giuseppe Bilotta [Fri, 21 Sep 2007 09:20:11 +0000 (09:20 +0000)]
Utils.decode_html_entities: fix decoding of unknown symbols

16 years agoreaction plugin: range attribute should be an accessor, not a reader
Giuseppe Bilotta [Fri, 21 Sep 2007 07:25:40 +0000 (07:25 +0000)]
reaction plugin: range attribute should be an accessor, not a reader

16 years agoreaction plugin: revert [1204], having r.range == nil is an actually supported scenar...
Giuseppe Bilotta [Fri, 21 Sep 2007 07:08:33 +0000 (07:08 +0000)]
reaction plugin: revert [1204], having r.range == nil is an actually supported scenario, and if it happens unexpectedly it's some other bug

16 years ago* (plugins/url) url.display_link_info now also applies for error messages
Dmitry Kim [Fri, 21 Sep 2007 03:39:13 +0000 (03:39 +0000)]
* (plugins/url) url.display_link_info now also applies for error messages

16 years ago* (plugins/reaction) fixed r.range == nil case
Dmitry Kim [Fri, 21 Sep 2007 03:36:13 +0000 (03:36 +0000)]
* (plugins/reaction) fixed r.range == nil case

16 years agoreaction plugin: captures in regexp are now available as match1, match2, etc
Giuseppe Bilotta [Thu, 20 Sep 2007 15:24:58 +0000 (15:24 +0000)]
reaction plugin: captures in regexp are now available as match1, match2, etc

16 years agoreaction plugin: allow moving replies from one trigger to another
Giuseppe Bilotta [Thu, 20 Sep 2007 15:10:08 +0000 (15:10 +0000)]
reaction plugin: allow moving replies from one trigger to another

16 years agoreaction plugin: chance was not actually optional
Giuseppe Bilotta [Thu, 20 Sep 2007 14:09:29 +0000 (14:09 +0000)]
reaction plugin: chance was not actually optional

16 years agoreaction plugin: reply ranges were not being updated when adding a new reply
Giuseppe Bilotta [Thu, 20 Sep 2007 13:58:21 +0000 (13:58 +0000)]
reaction plugin: reply ranges were not being updated when adding a new reply

16 years agoreaction plugin: it is now possible to change the chance of a reaction by 'adding...
Giuseppe Bilotta [Thu, 20 Sep 2007 13:49:19 +0000 (13:49 +0000)]
reaction plugin: it is now possible to change the chance of a reaction by 'adding' it again

16 years agoreaction plugin: update help
Giuseppe Bilotta [Thu, 20 Sep 2007 13:49:18 +0000 (13:49 +0000)]
reaction plugin: update help

16 years agoreaction plugin: missing \! in string-to-chance conversion
Giuseppe Bilotta [Thu, 20 Sep 2007 13:49:16 +0000 (13:49 +0000)]
reaction plugin: missing \! in string-to-chance conversion

16 years agoreaction plugin: author/date/channel information are reply, not trigger specific...
Giuseppe Bilotta [Thu, 20 Sep 2007 13:49:15 +0000 (13:49 +0000)]
reaction plugin: author/date/channel information are reply, not trigger specific. Add command to show them

16 years agoreaction plugin: triggers can have multiple reactions, each with a different percentage
Giuseppe Bilotta [Thu, 20 Sep 2007 13:49:13 +0000 (13:49 +0000)]
reaction plugin: triggers can have multiple reactions, each with a different percentage

If the sum of all the percentages is less than 1, then there is chance that nothing
will be replied. Otherwise, the percentage is just the relative chance that each
reply will be selected.

16 years agourl plugin: bail out early when no urls were found
Giuseppe Bilotta [Wed, 19 Sep 2007 21:19:46 +0000 (21:19 +0000)]
url plugin: bail out early when no urls were found

16 years agourl plugin: only extract URIs for the schemes we're interested in (http[s])
Giuseppe Bilotta [Wed, 19 Sep 2007 21:19:45 +0000 (21:19 +0000)]
url plugin: only extract URIs for the schemes we're interested in (http[s])

16 years agocore: only WHO on join if it's the bot itself joining a channel
Giuseppe Bilotta [Wed, 19 Sep 2007 20:45:41 +0000 (20:45 +0000)]
core: only WHO on join if it's the bot itself joining a channel