Yaohan Chen [Sun, 15 Jul 2007 21:35:12 +0000 (21:35 +0000)]
gettextized two messages in azgame missed in the previous revision
edited Japanese translation
Yaohan Chen [Sat, 14 Jul 2007 04:10:27 +0000 (04:10 +0000)]
- added po files for en_US. it is necessary for users using this locale to avoid
getting an exception when checking gettext info (they also need to run rake makemo)
Yaohan Chen [Sat, 14 Jul 2007 04:05:28 +0000 (04:05 +0000)]
added a warning message if retrieving gettext info fails
added Nn_ dummy replacement
Yaohan Chen [Sat, 14 Jul 2007 03:59:11 +0000 (03:59 +0000)]
modified azgame to use gettext
added Japanese translation for azgame
Yaohan Chen [Sat, 14 Jul 2007 00:29:12 +0000 (00:29 +0000)]
- fixed an error due to copy and pasting causing the help message to list core modules
twice without listing plugins
Dmitry Kim [Thu, 12 Jul 2007 16:23:58 +0000 (16:23 +0000)]
* (gettext) make us somewhat less dependent on gettext internals
Dmitry Kim [Thu, 12 Jul 2007 09:49:50 +0000 (09:49 +0000)]
* (gettext) work around failing current_textdomain_info()
Yaohan Chen [Tue, 10 Jul 2007 05:16:02 +0000 (05:16 +0000)]
added the data directory for searching translatable source files
marked translatable strings for shiritori and dictclient plugins
added Japanese translation for shiritori
Yaohan Chen [Mon, 9 Jul 2007 08:46:03 +0000 (08:46 +0000)]
fixed a few strings which used gettext without changing #{} syntax
Yaohan Chen [Mon, 9 Jul 2007 08:31:45 +0000 (08:31 +0000)]
integrated ruby-gettext
modified a few files to allow translated messages
created gettext template file
initialized gettext files for Japanese and Simplified Chinese
Giuseppe Bilotta [Sun, 8 Jul 2007 19:08:39 +0000 (19:08 +0000)]
dict plugin: echo definitions from chambers
Giuseppe Bilotta [Sat, 7 Jul 2007 21:56:38 +0000 (21:56 +0000)]
search plugin: add google define support
Giuseppe Bilotta [Sat, 7 Jul 2007 21:12:51 +0000 (21:12 +0000)]
Fix Google Calculator regexp and ask for UTF-8 encoded results
Yaohan Chen [Fri, 15 Jun 2007 16:44:37 +0000 (16:44 +0000)]
added DICT (RFC 2229) client plugin
Yaohan Chen [Fri, 15 Jun 2007 16:39:25 +0000 (16:39 +0000)]
autoop plugin: make the "add" command add arguments to existing settings
Yaohan Chen [Fri, 15 Jun 2007 16:37:07 +0000 (16:37 +0000)]
linkbot plugin: make message pattern configurable
Giuseppe Bilotta [Mon, 28 May 2007 08:01:35 +0000 (08:01 +0000)]
quotes plugin: update to new auth system
Giuseppe Bilotta [Mon, 28 May 2007 07:46:21 +0000 (07:46 +0000)]
quotes plugin: cleanups
Giuseppe Bilotta [Wed, 23 May 2007 19:24:54 +0000 (19:24 +0000)]
search plugin: truncate overlong lines when outputting first par in compact form
Giuseppe Bilotta [Wed, 23 May 2007 18:46:25 +0000 (18:46 +0000)]
search plugin: compactify results when only one of them is returned
Giuseppe Bilotta [Wed, 23 May 2007 18:26:05 +0000 (18:26 +0000)]
search plugin: add support for uncyclopedia
Giuseppe Bilotta [Sun, 20 May 2007 22:30:55 +0000 (22:30 +0000)]
Raise with a meaningful error message when block/unblock/rescehdule is attempted on a nonexistant timer.
Giuseppe Bilotta [Sun, 20 May 2007 21:47:51 +0000 (21:47 +0000)]
Fix #151 in a different way.
Dmitry Kim [Fri, 11 May 2007 16:24:41 +0000 (16:24 +0000)]
+ (plugins/delicious) automatic url logging to del.icio.us (alpha)
+ (plugins/url) logging hook / event
Dmitry Kim [Thu, 10 May 2007 23:24:21 +0000 (23:24 +0000)]
+ (extends) :limit option support in ircify_html()
Giuseppe Bilotta [Thu, 10 May 2007 23:03:53 +0000 (23:03 +0000)]
Be slightly less anal about non-RFC-compliant MOTD, and issue a warning instead of causing an error further down
Dmitry Kim [Thu, 10 May 2007 23:03:19 +0000 (23:03 +0000)]
+ (plugins) draft implementation of event hooks
Dmitry Kim [Thu, 26 Apr 2007 22:56:14 +0000 (22:56 +0000)]
+ (httputil) bruteforce truncated chars when guessing the encoding
Dmitry Kim [Thu, 26 Apr 2007 21:14:53 +0000 (21:14 +0000)]
* (plugins/unicode) partially revering previous partial revert (yeah, i know). srsly, this time i hope we got it right.
Dmitry Kim [Thu, 26 Apr 2007 21:10:28 +0000 (21:10 +0000)]
* (plugins/unicode) '//ignore' strikes back; partially reverting [929]
Giuseppe Bilotta [Wed, 25 Apr 2007 21:03:46 +0000 (21:03 +0000)]
dice plugin: dice.max_dices option to prevent nice people from asking for
987654321d100
Giuseppe Bilotta [Wed, 25 Apr 2007 19:17:24 +0000 (19:17 +0000)]
bin/rbot: only set when --loglevel is provided on the command line
Dmitry Kim [Tue, 24 Apr 2007 05:08:44 +0000 (05:08 +0000)]
* (plugins/url) don't download (and don't cache) non-text urls
Dmitry Kim [Sat, 21 Apr 2007 17:58:25 +0000 (17:58 +0000)]
+ pidfile support + command line option for pid file name
Giuseppe Bilotta [Sat, 21 Apr 2007 00:48:34 +0000 (00:48 +0000)]
unicode plugin: fix bug with //ignore in/out transcoding option, and add iso-8859-15 fallback in encoding.charsets defaults, to prevent input strings containing unmapped cp1252 octets from crashing the bot
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
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
Dmitry Kim [Sat, 14 Apr 2007 16:25:45 +0000 (16:25 +0000)]
* (plugins/urban) do not cache "random" lookups
Giuseppe Bilotta [Sat, 14 Apr 2007 08:41:45 +0000 (08:41 +0000)]
rss plugin: fix bugs with category retrieval and author display
Giuseppe Bilotta [Sat, 14 Apr 2007 00:23:02 +0000 (00:23 +0000)]
url plugin: return nil when we return nothing
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
Giuseppe Bilotta [Thu, 12 Apr 2007 23:03:08 +0000 (23:03 +0000)]
rss plugin: catch all errors when stopping watches
Giuseppe Bilotta [Thu, 12 Apr 2007 23:02:12 +0000 (23:02 +0000)]
Stop timers when shutting down
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
Giuseppe Bilotta [Thu, 12 Apr 2007 13:56:47 +0000 (13:56 +0000)]
roulette plugin: clear() players' array instead of instantiating a new one
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
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
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
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
Giuseppe Bilotta [Wed, 11 Apr 2007 22:43:00 +0000 (22:43 +0000)]
HttpUtil: decompress gzipped body in partial_body too; whitespace cleanup too
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
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
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
Giuseppe Bilotta [Wed, 11 Apr 2007 17:32:26 +0000 (17:32 +0000)]
use pretty printing with Logger (debug, info, warning and error messages)
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
Giuseppe Bilotta [Mon, 9 Apr 2007 21:21:07 +0000 (21:21 +0000)]
auth: improve help
Giuseppe Bilotta [Mon, 9 Apr 2007 21:17:05 +0000 (21:17 +0000)]
extends: pick_one and rand methods for Range
Giuseppe Bilotta [Mon, 9 Apr 2007 21:07:52 +0000 (21:07 +0000)]
fix restarting when directory had changed
Giuseppe Bilotta [Mon, 9 Apr 2007 20:54:39 +0000 (20:54 +0000)]
rbot launcher: report local changes on more occasions
Giuseppe Bilotta [Mon, 9 Apr 2007 20:34:32 +0000 (20:34 +0000)]
fix minor warnings from figlet and imdb plugins
Giuseppe Bilotta [Mon, 9 Apr 2007 20:18:01 +0000 (20:18 +0000)]
More require cleanups
Dmitry Kim [Mon, 9 Apr 2007 19:15:53 +0000 (19:15 +0000)]
* (plugins/rss) use "%H:%M" for time format
Giuseppe Bilotta [Sun, 8 Apr 2007 23:49:15 +0000 (23:49 +0000)]
rss plugin: parse feed on first retrieval; add some more debug
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
Giuseppe Bilotta [Sun, 8 Apr 2007 23:01:58 +0000 (23:01 +0000)]
rss plugin: overrule max lines, display all feeds
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
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
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
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
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
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
Giuseppe Bilotta [Sun, 8 Apr 2007 19:19:31 +0000 (19:19 +0000)]
imdb plugin: fix for the previous commit
Giuseppe Bilotta [Sun, 8 Apr 2007 18:48:41 +0000 (18:48 +0000)]
imdb plugin: ircify html in extra comments about roles
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)
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
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)
Giuseppe Bilotta [Sun, 8 Apr 2007 17:25:28 +0000 (17:25 +0000)]
rss plugin: user ircify_html
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
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
Giuseppe Bilotta [Sun, 8 Apr 2007 15:48:36 +0000 (15:48 +0000)]
HttpUtil: inform servers that we accept gzipped data
Giuseppe Bilotta [Sun, 8 Apr 2007 15:29:36 +0000 (15:29 +0000)]
HttpUtil: decode gzipped content
Giuseppe Bilotta [Sun, 8 Apr 2007 15:28:46 +0000 (15:28 +0000)]
url plugin: show value of content-encoding if present
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.
Giuseppe Bilotta [Sun, 8 Apr 2007 09:54:27 +0000 (09:54 +0000)]
tube plugin: don't include REXML
Dmitry Kim [Sun, 8 Apr 2007 09:51:43 +0000 (09:51 +0000)]
* (plugins/tube) no need to require rexml or uri/common
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
Dmitry Kim [Sat, 7 Apr 2007 23:39:04 +0000 (23:39 +0000)]
* (plugins/ri) acknoledge the '!ri tell (whom)' command
Giuseppe Bilotta [Sat, 7 Apr 2007 23:27:49 +0000 (23:27 +0000)]
plugins: remove excess requires and Net::HTTP.version setups
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
Giuseppe Bilotta [Sat, 7 Apr 2007 13:04:47 +0000 (13:04 +0000)]
imdb plugin: say something when nothing was found
Giuseppe Bilotta [Sat, 7 Apr 2007 13:02:51 +0000 (13:02 +0000)]
imdb plugin: character lookup by actor and movie
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
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
Giuseppe Bilotta [Sat, 7 Apr 2007 10:52:38 +0000 (10:52 +0000)]
imdb plugin: better catching; sort movies before TV series
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
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
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
Giuseppe Bilotta [Fri, 6 Apr 2007 22:20:54 +0000 (22:20 +0000)]
imdb plugin: improve title fixing
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
Giuseppe Bilotta [Fri, 6 Apr 2007 21:22:27 +0000 (21:22 +0000)]
fish plugin: minimal cache management