]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
user/henk/code/ruby/rbot.git
17 years agoimdb plugin: bring help up to speed with what the plugin offers
Giuseppe Bilotta [Fri, 20 Apr 2007 22:02:21 +0000 (22:02 +0000)]
imdb plugin: bring help up to speed with what the plugin offers

17 years agoHttpUtil: fix gunzipping with partial content; and debug response in url plugin earlier
Giuseppe Bilotta [Sun, 15 Apr 2007 01:44:40 +0000 (01:44 +0000)]
HttpUtil: fix gunzipping with partial content; and debug response in url plugin earlier

17 years ago* (plugins/urban) do not cache "random" lookups
Dmitry Kim [Sat, 14 Apr 2007 16:25:45 +0000 (16:25 +0000)]
* (plugins/urban) do not cache "random" lookups

17 years agorss plugin: fix bugs with category retrieval and author display
Giuseppe Bilotta [Sat, 14 Apr 2007 08:41:45 +0000 (08:41 +0000)]
rss plugin: fix bugs with category retrieval and author display

17 years agourl plugin: return nil when we return nothing
Giuseppe Bilotta [Sat, 14 Apr 2007 00:23:02 +0000 (00:23 +0000)]
url plugin: return nil when we return nothing

17 years agoTry calling the interpreter explicitly on restart if exec'ing /bin/bash fails
Giuseppe Bilotta [Thu, 12 Apr 2007 23:14:05 +0000 (23:14 +0000)]
Try calling the interpreter explicitly on restart if exec'ing /bin/bash fails

17 years agorss plugin: catch all errors when stopping watches
Giuseppe Bilotta [Thu, 12 Apr 2007 23:03:08 +0000 (23:03 +0000)]
rss plugin: catch all errors when stopping watches

17 years agoStop timers when shutting down
Giuseppe Bilotta [Thu, 12 Apr 2007 23:02:12 +0000 (23:02 +0000)]
Stop timers when shutting down

17 years agoDefine pretty_inspect for the older version of Ruby that don't have it
Giuseppe Bilotta [Thu, 12 Apr 2007 14:23:29 +0000 (14:23 +0000)]
Define pretty_inspect for the older version of Ruby that don't have it

17 years agoroulette plugin: clear() players' array instead of instantiating a new one
Giuseppe Bilotta [Thu, 12 Apr 2007 13:56:47 +0000 (13:56 +0000)]
roulette plugin: clear() players' array instead of instantiating a new one

17 years agoscript, rss plugins: raise if main data could not be restored from the registry
Giuseppe Bilotta [Thu, 12 Apr 2007 11:22:05 +0000 (11:22 +0000)]
script, rss plugins: raise if main data could not be restored from the registry

17 years agoModule\#define_structure method: define a new Struct only if doesn't exist already...
Giuseppe Bilotta [Thu, 12 Apr 2007 10:35:45 +0000 (10:35 +0000)]
Module\#define_structure method: define a new Struct only if doesn't exist already or if the attribute list changed

17 years agourl plugin: search for user-provided string in urls info too; and truly update url...
Giuseppe Bilotta [Thu, 12 Apr 2007 08:30:33 +0000 (08:30 +0000)]
url plugin: search for user-provided string in urls info too; and truly update url info when it wasn't present before

17 years agourl plugin: store info with urls, optionally display it when listing or searching...
Giuseppe Bilotta [Thu, 12 Apr 2007 00:42:16 +0000 (00:42 +0000)]
url plugin: store info with urls, optionally display it when listing or searching for urls

17 years agoHttpUtil: decompress gzipped body in partial_body too; whitespace cleanup too
Giuseppe Bilotta [Wed, 11 Apr 2007 22:43:00 +0000 (22:43 +0000)]
HttpUtil: decompress gzipped body in partial_body too; whitespace cleanup too

17 years agoNew IRC Framework: move #full_irc_downcase() and #full_downcase() methods to Irc...
Giuseppe Bilotta [Wed, 11 Apr 2007 22:29:32 +0000 (22:29 +0000)]
New IRC Framework: move #full_irc_downcase() and #full_downcase() methods to Irc::Netmask from Irc::User, and use them in Netmask conversion

17 years agoNew IRC Framework: fix critical bug in Irc::Netmask to Regexp conversion
Giuseppe Bilotta [Wed, 11 Apr 2007 21:28:33 +0000 (21:28 +0000)]
New IRC Framework: fix critical bug in Irc::Netmask to Regexp conversion

17 years agourl plugin: revert to block get_response and partial_body to work around sites which...
Giuseppe Bilotta [Wed, 11 Apr 2007 18:15:15 +0000 (18:15 +0000)]
url plugin: revert to block get_response and partial_body to work around sites which return 400 on partial content

17 years agouse pretty printing with Logger (debug, info, warning and error messages)
Giuseppe Bilotta [Wed, 11 Apr 2007 17:32:26 +0000 (17:32 +0000)]
use pretty printing with Logger (debug, info, warning and error messages)

17 years agodatabase: rbot will now refuse to run on bdb versions lower than 4.x, and it will...
Giuseppe Bilotta [Mon, 9 Apr 2007 21:46:41 +0000 (21:46 +0000)]
database: rbot will now refuse to run on bdb versions lower than 4.x, and it will recommend version 4.2 or higher

17 years agoauth: improve help
Giuseppe Bilotta [Mon, 9 Apr 2007 21:21:07 +0000 (21:21 +0000)]
auth: improve help

17 years agoextends: pick_one and rand methods for Range
Giuseppe Bilotta [Mon, 9 Apr 2007 21:17:05 +0000 (21:17 +0000)]
extends: pick_one and rand methods for Range

17 years agofix restarting when directory had changed
Giuseppe Bilotta [Mon, 9 Apr 2007 21:07:52 +0000 (21:07 +0000)]
fix restarting when directory had changed

17 years agorbot launcher: report local changes on more occasions
Giuseppe Bilotta [Mon, 9 Apr 2007 20:54:39 +0000 (20:54 +0000)]
rbot launcher: report local changes on more occasions

17 years agofix minor warnings from figlet and imdb plugins
Giuseppe Bilotta [Mon, 9 Apr 2007 20:34:32 +0000 (20:34 +0000)]
fix minor warnings from figlet and imdb plugins

17 years agoMore require cleanups
Giuseppe Bilotta [Mon, 9 Apr 2007 20:18:01 +0000 (20:18 +0000)]
More require cleanups

17 years ago* (plugins/rss) use "%H:%M" for time format
Dmitry Kim [Mon, 9 Apr 2007 19:15:53 +0000 (19:15 +0000)]
* (plugins/rss) use "%H:%M" for time format

17 years agorss plugin: parse feed on first retrieval; add some more debug
Giuseppe Bilotta [Sun, 8 Apr 2007 23:49:15 +0000 (23:49 +0000)]
rss plugin: parse feed on first retrieval; add some more debug

17 years agorss plugin: parse feed on first run, even if we don't check for new items
Giuseppe Bilotta [Sun, 8 Apr 2007 23:11:54 +0000 (23:11 +0000)]
rss plugin: parse feed on first run, even if we don't check for new items

17 years agorss plugin: overrule max lines, display all feeds
Giuseppe Bilotta [Sun, 8 Apr 2007 23:01:58 +0000 (23:01 +0000)]
rss plugin: overrule max lines, display all feeds

17 years agoHttpUtil: require 'cgi' as it is now used in most querying plugins
Giuseppe Bilotta [Sun, 8 Apr 2007 22:47:15 +0000 (22:47 +0000)]
HttpUtil: require 'cgi' as it is now used in most querying plugins

17 years agorss plugin: changeset [894] was missing the actual commit! commit the changes of...
Giuseppe Bilotta [Sun, 8 Apr 2007 22:28:29 +0000 (22:28 +0000)]
rss plugin: changeset [894] was missing the actual commit! commit the changes of [894]; additionally, show links in the description

17 years agoHTML IRCification: support options. currently only option is :a_href which can be...
Giuseppe Bilotta [Sun, 8 Apr 2007 22:26:28 +0000 (22:26 +0000)]
HTML IRCification: support options. currently only option is :a_href which can be either :link_out to show the actual link or any of Reverse, Bold, Underline to mark the link using the corresponding attribute

17 years ago* (plugins/ri) allow user to ask for a long entry to be sent to her in msg,
Dmitry Kim [Sun, 8 Apr 2007 22:10:48 +0000 (22:10 +0000)]
* (plugins/ri) allow user to ask for a long entry to be sent to her in msg,
  even when asking in channel

17 years agorss plugin: watching now relies on an ID built from title, link and description to...
Giuseppe Bilotta [Sun, 8 Apr 2007 21:32:14 +0000 (21:32 +0000)]
rss plugin: watching now relies on an ID built from title, link and description to check if any item is new. Optionally, the description can be ignored (rss.show_updated = false). Use Set to store IDs, and require 'set' in Utils because other plugins might be optimized to use it

17 years agoHTML IRCification: don't modify the receiver; provide an ircify_html! method to modif...
Giuseppe Bilotta [Sun, 8 Apr 2007 21:11:31 +0000 (21:11 +0000)]
HTML IRCification: don't modify the receiver; provide an ircify_html! method to modify in place

17 years agoimdb plugin: fix for the previous commit
Giuseppe Bilotta [Sun, 8 Apr 2007 19:19:31 +0000 (19:19 +0000)]
imdb plugin: fix for the previous commit

17 years agoimdb plugin: ircify html in extra comments about roles
Giuseppe Bilotta [Sun, 8 Apr 2007 18:48:41 +0000 (18:48 +0000)]
imdb plugin: ircify html in extra comments about roles

17 years agoimdb plugin: try to guess what kind of role is requested depending on the prefix...
Giuseppe Bilotta [Sun, 8 Apr 2007 18:45:10 +0000 (18:45 +0000)]
imdb plugin: try to guess what kind of role is requested depending on the prefix used (with/by/from)

17 years agoimdb plugin: allow filtering by role when looking for movies by person/year
Giuseppe Bilotta [Sun, 8 Apr 2007 18:38:54 +0000 (18:38 +0000)]
imdb plugin: allow filtering by role when looking for movies by person/year

17 years agoimdb plugin: movies by person/year can now be shown in decades, and by shortening...
Giuseppe Bilotta [Sun, 8 Apr 2007 18:05:50 +0000 (18:05 +0000)]
imdb plugin: movies by person/year can now be shown in decades, and by shortening the year (19xx or 1xxx is assumed)

17 years agorss plugin: user ircify_html
Giuseppe Bilotta [Sun, 8 Apr 2007 17:25:28 +0000 (17:25 +0000)]
rss plugin: user ircify_html

17 years agorss plugin: don't flood watcher with current rss content when a watch is added
Giuseppe Bilotta [Sun, 8 Apr 2007 16:41:01 +0000 (16:41 +0000)]
rss plugin: don't flood watcher with current rss content when a watch is added

17 years agodice plugin: apply OddBloke's display patch from #143, with minor space tweaks
Giuseppe Bilotta [Sun, 8 Apr 2007 16:32:07 +0000 (16:32 +0000)]
dice plugin: apply OddBloke's display patch from #143, with minor space tweaks

17 years agoHttpUtil: inform servers that we accept gzipped data
Giuseppe Bilotta [Sun, 8 Apr 2007 15:48:36 +0000 (15:48 +0000)]
HttpUtil: inform servers that we accept gzipped data

17 years agoHttpUtil: decode gzipped content
Giuseppe Bilotta [Sun, 8 Apr 2007 15:29:36 +0000 (15:29 +0000)]
HttpUtil: decode gzipped content

17 years agourl plugin: show value of content-encoding if present
Giuseppe Bilotta [Sun, 8 Apr 2007 15:28:46 +0000 (15:28 +0000)]
url plugin: show value of content-encoding if present

17 years agoircbot: do not use debug in sendmsg() because it breaks script. script plugin: handle...
Giuseppe Bilotta [Sun, 8 Apr 2007 10:26:50 +0000 (10:26 +0000)]
ircbot: do not use debug in sendmsg() because it breaks script. script plugin: handle all Exceptions.

17 years agotube plugin: don't include REXML
Giuseppe Bilotta [Sun, 8 Apr 2007 09:54:27 +0000 (09:54 +0000)]
tube plugin: don't include REXML

17 years ago* (plugins/tube) no need to require rexml or uri/common
Dmitry Kim [Sun, 8 Apr 2007 09:51:43 +0000 (09:51 +0000)]
* (plugins/tube) no need to require rexml or uri/common

17 years agoplugins: use CGI.escape instead of URI.escape where appropriate, remove some checks...
Giuseppe Bilotta [Sun, 8 Apr 2007 09:37:01 +0000 (09:37 +0000)]
plugins: use CGI.escape instead of URI.escape where appropriate, remove some checks for InvalidURIs that don't make sense anymore, irficy some more html

17 years ago* (plugins/ri) acknoledge the '!ri tell (whom)' command
Dmitry Kim [Sat, 7 Apr 2007 23:39:04 +0000 (23:39 +0000)]
* (plugins/ri) acknoledge the '!ri tell (whom)' command

17 years agoplugins: remove excess requires and Net::HTTP.version setups
Giuseppe Bilotta [Sat, 7 Apr 2007 23:27:49 +0000 (23:27 +0000)]
plugins: remove excess requires and Net::HTTP.version setups

17 years agoimdb plugin: command to display the characters (and actors) in a given movie
Giuseppe Bilotta [Sat, 7 Apr 2007 21:40:43 +0000 (21:40 +0000)]
imdb plugin: command to display the characters (and actors) in a given movie

17 years agoimdb plugin: say something when nothing was found
Giuseppe Bilotta [Sat, 7 Apr 2007 13:04:47 +0000 (13:04 +0000)]
imdb plugin: say something when nothing was found

17 years agoimdb plugin: character lookup by actor and movie
Giuseppe Bilotta [Sat, 7 Apr 2007 13:02:51 +0000 (13:02 +0000)]
imdb plugin: character lookup by actor and movie

17 years agoimdb plugin: TV series are not shown by default when looking for movies by person...
Giuseppe Bilotta [Sat, 7 Apr 2007 12:05:10 +0000 (12:05 +0000)]
imdb plugin: TV series are not shown by default when looking for movies by person/year, but they can be enabled with the imdb.tv_series_in_movies option

17 years agoimdb plugin: fix parsing bug with extra information after roles other than the last
Giuseppe Bilotta [Sat, 7 Apr 2007 11:51:45 +0000 (11:51 +0000)]
imdb plugin: fix parsing bug with extra information after roles other than the last

17 years agoimdb plugin: better catching; sort movies before TV series
Giuseppe Bilotta [Sat, 7 Apr 2007 10:52:38 +0000 (10:52 +0000)]
imdb plugin: better catching; sort movies before TV series

17 years agoroulette plugin: disable 'twice in a row' shooting, with option to re-enable it
Giuseppe Bilotta [Sat, 7 Apr 2007 09:05:38 +0000 (09:05 +0000)]
roulette plugin: disable 'twice in a row' shooting, with option to re-enable it

17 years agoimdb plugin: some titles with extra info where missed when searching for movies by...
Giuseppe Bilotta [Fri, 6 Apr 2007 23:51:52 +0000 (23:51 +0000)]
imdb plugin: some titles with extra info where missed when searching for movies by person+year

17 years agoimdb plugin: initial work on a 'movie by person and year' search
Giuseppe Bilotta [Fri, 6 Apr 2007 23:41:17 +0000 (23:41 +0000)]
imdb plugin: initial work on a 'movie by person and year' search

17 years agoimdb plugin: improve title fixing
Giuseppe Bilotta [Fri, 6 Apr 2007 22:20:54 +0000 (22:20 +0000)]
imdb plugin: improve title fixing

17 years agoimdb plugin: prefix search string with 'name' or 'title' to only search for people...
Giuseppe Bilotta [Fri, 6 Apr 2007 22:10:09 +0000 (22:10 +0000)]
imdb plugin: prefix search string with 'name' or 'title' to only search for people or movies respectively

17 years agofish plugin: minimal cache management
Giuseppe Bilotta [Fri, 6 Apr 2007 21:22:27 +0000 (21:22 +0000)]
fish plugin: minimal cache management

17 years agofish plugin: use get instead of get_response and resp.body.each_line
Giuseppe Bilotta [Fri, 6 Apr 2007 20:59:04 +0000 (20:59 +0000)]
fish plugin: use get instead of get_response and resp.body.each_line

17 years agofish plugin: multiline answers are now properly detected
Giuseppe Bilotta [Fri, 6 Apr 2007 20:54:13 +0000 (20:54 +0000)]
fish plugin: multiline answers are now properly detected

17 years agofish plugin: default from/to translation languages can now be configured. The plugin...
Giuseppe Bilotta [Fri, 6 Apr 2007 20:10:37 +0000 (20:10 +0000)]
fish plugin: default from/to translation languages can now be configured. The plugin also tries to detect if a failure to translate was because the from/to pair is not supported by the site

17 years agobash plugin: revamped and enhanced
Giuseppe Bilotta [Fri, 6 Apr 2007 16:32:42 +0000 (16:32 +0000)]
bash plugin: revamped and enhanced

17 years ago+ (plugins/ri) "ri [tell] <whom> [about] <something>" syntax support
Dmitry Kim [Fri, 6 Apr 2007 15:42:35 +0000 (15:42 +0000)]
+ (plugins/ri) "ri [tell] <whom> [about] <something>" syntax support
+ (plugins/ri) add Eric Hodel to the header credits section

17 years ago- (contrib/plugins/ri) removed the old contrib version
Dmitry Kim [Fri, 6 Apr 2007 14:17:34 +0000 (14:17 +0000)]
- (contrib/plugins/ri) removed the old contrib version
+ (plugins/ri) plugin header

17 years ago+ (plugins/) 'ri' plugin (the same functionality as ruby 'ri' command)
Dmitry Kim [Fri, 6 Apr 2007 14:05:53 +0000 (14:05 +0000)]
+ (plugins/) 'ri' plugin (the same functionality as ruby 'ri' command)

17 years ago* (utils) fix stderr redirection in safe_exec()
Dmitry Kim [Fri, 6 Apr 2007 14:04:43 +0000 (14:04 +0000)]
* (utils) fix stderr redirection in safe_exec()

17 years agoNew IRC Framework: topic setter should be a Netmask, not a User. Also improve display...
Giuseppe Bilotta [Fri, 6 Apr 2007 13:54:27 +0000 (13:54 +0000)]
New IRC Framework: topic setter should be a Netmask, not a User. Also improve display of Netmasks with unknown (generic) user/host components

17 years ago* (rfc2812) fixed 'Welcome' message parsing
Dmitry Kim [Fri, 6 Apr 2007 13:38:38 +0000 (13:38 +0000)]
* (rfc2812) fixed 'Welcome' message parsing

17 years agoDefault maximum lines to send per message is now 5
Giuseppe Bilotta [Fri, 6 Apr 2007 12:46:51 +0000 (12:46 +0000)]
Default maximum lines to send per message is now 5

17 years agolastfm plugin: number of events to be displayed can now be configured
Giuseppe Bilotta [Fri, 6 Apr 2007 11:39:25 +0000 (11:39 +0000)]
lastfm plugin: number of events to be displayed can now be configured

17 years agoExtend Numeric class with a clip() method to force a number to be in a given range
Giuseppe Bilotta [Fri, 6 Apr 2007 10:56:01 +0000 (10:56 +0000)]
Extend Numeric class with a clip() method to force a number to be in a given range

17 years agolastfm plugin: overlong artisti descriptions are truncated; artist events can be...
Giuseppe Bilotta [Fri, 6 Apr 2007 09:15:41 +0000 (09:15 +0000)]
lastfm plugin: overlong artisti descriptions are truncated; artist events can be searched without prefix

17 years agolastfm plugin: allow searching events by group instead of location, and fix some...
Giuseppe Bilotta [Fri, 6 Apr 2007 09:05:31 +0000 (09:05 +0000)]
lastfm plugin: allow searching events by group instead of location, and fix some display issues

17 years agolastfm plugin: refactoring
Giuseppe Bilotta [Fri, 6 Apr 2007 08:49:09 +0000 (08:49 +0000)]
lastfm plugin: refactoring

17 years agolastfm plugin: perfectionism run
Giuseppe Bilotta [Fri, 6 Apr 2007 08:36:56 +0000 (08:36 +0000)]
lastfm plugin: perfectionism run

17 years agolastfm plugin: cleanup events display
Giuseppe Bilotta [Fri, 6 Apr 2007 08:30:06 +0000 (08:30 +0000)]
lastfm plugin: cleanup events display

17 years agolastfm plugin: don't be silent when no events are found
Giuseppe Bilotta [Thu, 5 Apr 2007 22:23:03 +0000 (22:23 +0000)]
lastfm plugin: don't be silent when no events are found

17 years agolastfm plugin: command to compactly display next events in a requested location
Giuseppe Bilotta [Thu, 5 Apr 2007 22:20:30 +0000 (22:20 +0000)]
lastfm plugin: command to compactly display next events in a requested location

17 years agolastfm plugin: bugfixes, proper handling of artists/groups without description
Giuseppe Bilotta [Thu, 5 Apr 2007 21:35:05 +0000 (21:35 +0000)]
lastfm plugin: bugfixes, proper handling of artists/groups without description

17 years agolastfm plugin: initial work on artist/track/album retrieval (only artist so far)
Giuseppe Bilotta [Thu, 5 Apr 2007 20:45:28 +0000 (20:45 +0000)]
lastfm plugin: initial work on artist/track/album retrieval (only artist so far)

17 years ago+ (httputil) 'x-rbot-location' header in response object carries the uri from which...
Dmitry Kim [Thu, 5 Apr 2007 20:36:51 +0000 (20:36 +0000)]
+ (httputil) 'x-rbot-location' header in response object carries the uri from which the response was received (for redirect followers, etc)

17 years agoHttpUtil: try all detected charsets when converting a webpage, until one that works...
Giuseppe Bilotta [Thu, 5 Apr 2007 20:24:23 +0000 (20:24 +0000)]
HttpUtil: try all detected charsets when converting a webpage, until one that works is found

17 years agolastfm plugin: fix incorrect song info when title or author contained a comma
Giuseppe Bilotta [Thu, 5 Apr 2007 16:25:30 +0000 (16:25 +0000)]
lastfm plugin: fix incorrect song info when title or author contained a comma

17 years agoimdb plugin: remove spaces around slashes separating countries
Giuseppe Bilotta [Thu, 5 Apr 2007 16:18:26 +0000 (16:18 +0000)]
imdb plugin: remove spaces around slashes separating countries

17 years agourl plugin: echo all info on a single line, and use commas to separate thousands...
Giuseppe Bilotta [Thu, 5 Apr 2007 15:30:59 +0000 (15:30 +0000)]
url plugin: echo all info on a single line, and use commas to separate thousands when reporting object size

17 years agoFix overconservative line splitting and bug in last line truncation
Giuseppe Bilotta [Thu, 5 Apr 2007 14:55:12 +0000 (14:55 +0000)]
Fix overconservative line splitting and bug in last line truncation

17 years agoFix a bug introduced in [830]
Giuseppe Bilotta [Thu, 5 Apr 2007 14:27:05 +0000 (14:27 +0000)]
Fix a bug introduced in [830]

17 years agoHTML IRCification: try to handle super and subscripts
Giuseppe Bilotta [Thu, 5 Apr 2007 14:20:00 +0000 (14:20 +0000)]
HTML IRCification: try to handle super and subscripts

17 years agosearch plugin: gcalc command thanks to epitron
Giuseppe Bilotta [Thu, 5 Apr 2007 14:09:23 +0000 (14:09 +0000)]
search plugin: gcalc command thanks to epitron

17 years agoSome new feature(s)!
Chris Gahan [Thu, 5 Apr 2007 13:52:41 +0000 (13:52 +0000)]
Some new feature(s)!

17 years ago* (url) fix response size reporting for ranged responses
Dmitry Kim [Thu, 5 Apr 2007 13:31:44 +0000 (13:31 +0000)]
* (url) fix response size reporting for ranged responses

17 years agoFix truncation placement for multi-line messages
Giuseppe Bilotta [Thu, 5 Apr 2007 10:06:21 +0000 (10:06 +0000)]
Fix truncation placement for multi-line messages

17 years agoimdb plugin: fix detection of multiple titles per year
Giuseppe Bilotta [Thu, 5 Apr 2007 09:30:37 +0000 (09:30 +0000)]
imdb plugin: fix detection of multiple titles per year