]>
git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
Spencer RInehart [Mon, 23 Jun 2008 20:05:18 +0000 (16:05 -0400)]
Urban can now grab the first page of definitions.
Diego 'Flameeyes' Pettenò [Mon, 23 Jun 2008 16:39:49 +0000 (18:39 +0200)]
Ignore generated files.
Diego 'Flameeyes' Pettenò [Mon, 23 Jun 2008 16:39:12 +0000 (18:39 +0200)]
Properly find out the available fortune categories.
Instead of hardcoding the fortune categories path, ask fortune itself
to report which categories you can get the quotes from.
This fixes the fortune plugin on Gentoo for instance where the
databases are installed in /usr/share/fortune rather than
/usr/games/share/fortune.
Giuseppe Bilotta [Mon, 23 Jun 2008 16:00:42 +0000 (18:00 +0200)]
rfc2812.rb: skip unknown channel modes altogether
Some servers set non-advertized channel modes. Since we
cannot handle them (as we don't know what type they are)
and setting them crashes the bot, we remove them.
Yaohan Chen [Mon, 23 Jun 2008 01:08:16 +0000 (21:08 -0400)]
rename plugin_files to source_files in rgettext_proc
because the proc is used for non plugin files too
Yaohan Chen [Mon, 23 Jun 2008 01:07:32 +0000 (21:07 -0400)]
make gettext tasks output files being regenerated and sources
Giuseppe Bilotta [Sun, 22 Jun 2008 23:35:43 +0000 (01:35 +0200)]
+ strip all colours and formatting when sending to a +c or +C channel
Giuseppe Bilotta [Sun, 22 Jun 2008 23:17:52 +0000 (01:17 +0200)]
#any? and #all? methods for Channel#mode to check if modes are set
Giuseppe Bilotta [Sun, 22 Jun 2008 23:04:10 +0000 (01:04 +0200)]
extends: define Array#shuffle(\!) only if not present already, and use simpler definitions
Giuseppe Bilotta [Sun, 22 Jun 2008 22:46:58 +0000 (00:46 +0200)]
rfc2812.rb: warn about unhandled numeric replies too
Giuseppe Bilotta [Sun, 22 Jun 2008 22:42:52 +0000 (00:42 +0200)]
ircbot.rb: ask about current channel modes on join
Giuseppe Bilotta [Sun, 22 Jun 2008 22:40:38 +0000 (00:40 +0200)]
rfc2812.rb: refactor MODE parsing to use it for RPL_CHANNELMODEIS (324) too
Giuseppe Bilotta [Sun, 22 Jun 2008 10:14:25 +0000 (12:14 +0200)]
PO updates
Yaohan Chen [Sat, 21 Jun 2008 18:16:09 +0000 (14:16 -0400)]
makemo task autocreates data/locale/*/LC_MESSAGES directories
Giuseppe Bilotta [Sat, 21 Jun 2008 15:42:25 +0000 (17:42 +0200)]
lastfm plugin: default to current nick for lookups
Casey Link [Sat, 21 Jun 2008 14:18:52 +0000 (10:18 -0400)]
lastfm plugin: no need to specify a username for functions that act on a user. fixed help too.
Casey Link [Sat, 21 Jun 2008 14:08:48 +0000 (10:08 -0400)]
lastfm plugin: users can now associate their lastfm username with their irc nickname, and 'lastfm' by itself will
retunr the now playing tracks
Casey Link [Sat, 21 Jun 2008 12:55:56 +0000 (08:55 -0400)]
lastfm plugin: added now playing info to the help
Casey Link [Sat, 21 Jun 2008 12:50:32 +0000 (08:50 -0400)]
lastfm plugin: Added now playing command
Giuseppe Bilotta [Sat, 21 Jun 2008 08:31:05 +0000 (10:31 +0200)]
* initialize $version_timestamp to suppress a warning
Giuseppe Bilotta [Sat, 21 Jun 2008 07:45:34 +0000 (09:45 +0200)]
figlet plugin: font is now a config value
Giuseppe Bilotta [Sat, 21 Jun 2008 07:19:45 +0000 (09:19 +0200)]
figlet plugin: utf-8
Giuseppe Bilotta [Sat, 21 Jun 2008 07:16:53 +0000 (09:16 +0200)]
figlet plugin: ignore max_lines
Giuseppe Bilotta [Sat, 21 Jun 2008 07:10:42 +0000 (09:10 +0200)]
figlet plugin: be informative when figlet wasn't found
Yaohan Chen [Fri, 20 Jun 2008 20:36:00 +0000 (16:36 -0400)]
move bin/msgmerge-wrapper.rb to top level, as it is not intended for installation
path/command for the msgmerge-wrapper can be adjusted with env var, if
"ruby msgmerge-wrapper.rb" doesn't work on the platform
Giuseppe Bilotta [Fri, 20 Jun 2008 20:03:19 +0000 (22:03 +0200)]
setup.rb: some sanitizing
Giuseppe Bilotta [Fri, 20 Jun 2008 20:02:42 +0000 (22:02 +0200)]
Update to setup.rb 3.4.1
Yaohan Chen [Fri, 20 Jun 2008 18:41:18 +0000 (14:41 -0400)]
rewrite updatepo and makemo tasks to take advantage of file timestamps
Giuseppe Bilotta [Fri, 20 Jun 2008 17:09:30 +0000 (19:09 +0200)]
Italian translation fixes
Ian Alexander Monroe [Fri, 20 Jun 2008 15:52:28 +0000 (11:52 -0400)]
made the time plugin have more pretty output, show real timezone abbr. instead of "UTC" all the time
Feroce Maria Bumerlo [Fri, 20 Jun 2008 00:00:13 +0000 (02:00 +0200)]
updated italian translation
Casey Link [Fri, 20 Jun 2008 13:56:45 +0000 (09:56 -0400)]
grouphug plugin: tweak regex so it captures confessions with newlines properly
dmitry kim [Fri, 20 Jun 2008 12:24:38 +0000 (16:24 +0400)]
* directory independent launch_here.rb: 3rd attempt
Giuseppe Bilotta [Fri, 20 Jun 2008 10:15:31 +0000 (12:15 +0200)]
dbhash: doh
Giuseppe Bilotta [Fri, 20 Jun 2008 10:12:23 +0000 (12:12 +0200)]
dbhash.rb: slightly rework errors for failing to load bdb
Giuseppe Bilotta [Fri, 20 Jun 2008 09:56:45 +0000 (11:56 +0200)]
ircbot.rb: ensure that the logger is flushed
If the bot fails to load (e.g. because of missing dependency) the user
might miss the last error messages because the logger thread wouldn't
reach completion. Ensure its closure in an END block.
Giuseppe Bilotta [Fri, 20 Jun 2008 09:30:57 +0000 (11:30 +0200)]
bin/rbot: don't look for a svn revision if .svn doesn't exist
Giuseppe Bilotta [Thu, 19 Jun 2008 23:58:06 +0000 (01:58 +0200)]
PO update
Giuseppe Bilotta [Thu, 19 Jun 2008 23:55:31 +0000 (01:55 +0200)]
quotes plugin: fix help
Giuseppe Bilotta [Thu, 19 Jun 2008 23:55:18 +0000 (01:55 +0200)]
quotes plugin: more localization
Giuseppe Bilotta [Thu, 19 Jun 2008 23:44:05 +0000 (01:44 +0200)]
updated italian translation for quotes
Giuseppe Bilotta [Thu, 19 Jun 2008 23:37:03 +0000 (01:37 +0200)]
wheelfortune: typo in help
Giuseppe Bilotta [Thu, 19 Jun 2008 23:34:44 +0000 (01:34 +0200)]
updated italian translation for WOF
Giuseppe Bilotta [Thu, 19 Jun 2008 23:34:35 +0000 (01:34 +0200)]
updated italian translation for factoids
Giuseppe Bilotta [Thu, 19 Jun 2008 23:34:26 +0000 (01:34 +0200)]
updated italian translation for rss
Giuseppe Bilotta [Thu, 19 Jun 2008 18:04:25 +0000 (20:04 +0200)]
updated italian translation for UNO
Giuseppe Bilotta [Thu, 19 Jun 2008 16:38:07 +0000 (18:38 +0200)]
rbotconfig: be aware that -git versions also have revision information
Giuseppe Bilotta [Thu, 19 Jun 2008 16:12:41 +0000 (18:12 +0200)]
hl2 plugin: improve help
Andrew Northall [Thu, 19 Jun 2008 10:11:55 +0000 (11:11 +0100)]
updated hl2 plugin
Giuseppe Bilotta [Wed, 18 Jun 2008 16:18:05 +0000 (18:18 +0200)]
rfc2812: be compatible with ruby < 1.8.7
String#each_char is only available in ruby 1.8.7, so use each_byte
followed by .chr
Giuseppe Bilotta [Wed, 18 Jun 2008 15:48:57 +0000 (17:48 +0200)]
rfc2812: fix MODE line parsing
Giuseppe Bilotta [Wed, 18 Jun 2008 14:59:05 +0000 (16:59 +0200)]
Italian translation for youtube plugin
Giuseppe Bilotta [Wed, 18 Jun 2008 14:46:53 +0000 (16:46 +0200)]
Updated po files
dmitry kim [Wed, 18 Jun 2008 09:24:48 +0000 (13:24 +0400)]
+ core/irclog: dedicated loggers thread
dmitry kim [Wed, 18 Jun 2008 10:39:15 +0000 (14:39 +0400)]
* ircbot: fix quiet/reset_quiet wrt missing args
Casey Link [Wed, 18 Jun 2008 09:37:45 +0000 (05:37 -0400)]
* plugins/grouphug: cache the results from a page request, don't re-request until the cache has been used up.
dmitry kim [Tue, 17 Jun 2008 13:23:43 +0000 (17:23 +0400)]
+ print the location of the debug log to stdout on start
dmitry kim [Tue, 17 Jun 2008 13:33:47 +0000 (17:33 +0400)]
* load-gettext: warn() -> warning()
dmitry kim [Tue, 17 Jun 2008 13:33:13 +0000 (17:33 +0400)]
* plugins: misc warnings cleanups
dmitry kim [Tue, 17 Jun 2008 13:32:41 +0000 (17:32 +0400)]
* plugins.rb: avoid uninitialized warning on @priority
Giuseppe Bilotta [Mon, 16 Jun 2008 19:07:33 +0000 (21:07 +0200)]
irclog: log own CTCP message with correct syntax
dmitry kim [Wed, 11 Jun 2008 06:32:57 +0000 (10:32 +0400)]
* rss.rb: use guids to check for seen items
Adam Di Carlo [Wed, 11 Jun 2008 19:31:56 +0000 (14:31 -0500)]
help for eval and echo
dmitry kim [Wed, 11 Jun 2008 19:51:32 +0000 (23:51 +0400)]
* launch_here.rb: patch $0 to make restart work
dmitry kim [Wed, 11 Jun 2008 19:40:13 +0000 (23:40 +0400)]
* launch_here.rb should be runnable from any directory
Yaohan Chen [Sat, 7 Jun 2008 19:48:53 +0000 (15:48 -0400)]
add wrapper for msgmerge to workaround gettext bug with "empty" pot files
Yaohan Chen [Sat, 7 Jun 2008 18:30:33 +0000 (14:30 -0400)]
recommit
33c336af346dc08b4f4f4951dd6eae7150cef481 po file per plugin
each plugin uses its own po file, no change required for plugin source, Rakefile,
plugin loader and gettext loader are modified to adjust to the change
Yaohan Chen [Sat, 7 Jun 2008 17:45:56 +0000 (13:45 -0400)]
mark spell plugin for gettext
Yaohan Chen [Fri, 6 Jun 2008 20:41:20 +0000 (16:41 -0400)]
Revert "each plugin uses its own po file"
This reverts commit
33c336af346dc08b4f4f4951dd6eae7150cef481 .
Yaohan Chen [Fri, 6 Jun 2008 02:20:18 +0000 (22:20 -0400)]
each plugin uses its own po file
no modification in plugin source is needed, plugin loader is modified to automatically
bind to the plugin's text domain
updatepo task is modified to maintain per-plugin po file
po files are updated and cleaned
Yaohan Chen [Sun, 1 Jun 2008 18:56:33 +0000 (14:56 -0400)]
mark translatable strings in nickserv.rb, po update
Giuseppe Bilotta [Thu, 29 May 2008 21:25:13 +0000 (23:25 +0200)]
shortenurls plugin: get rid of WWW:: namespace entirely
Yaohan Chen [Wed, 28 May 2008 17:03:00 +0000 (13:03 -0400)]
changed m.thread to m.in_thread, with different semantics
m.in_thread indicates that the caller of delegate is in thread (and is handled by
not creating another thread for m's mapped action)
Yaohan Chen [Wed, 28 May 2008 01:13:53 +0000 (21:13 -0400)]
use m.thread.nil? rather than longer m.thread == nil
Yaohan Chen [Tue, 27 May 2008 02:29:41 +0000 (22:29 -0400)]
add attribute BasicUserMessage#thread
this specifies whether the message handler is to be threaded, and overrides the map
option if non-nil.
dmitry kim [Thu, 22 May 2008 20:42:49 +0000 (00:42 +0400)]
* autoflush $stdout in setup wizard
Giuseppe Bilotta [Tue, 20 May 2008 19:48:17 +0000 (21:48 +0200)]
botsnack plugin: help: it's @bot.nick, not @nick
Giuseppe Bilotta [Tue, 20 May 2008 19:42:48 +0000 (21:42 +0200)]
botsnack plugin: restore 0.9.10 code now that reply_with_nick has been fixed
Giuseppe Bilotta [Tue, 20 May 2008 19:40:40 +0000 (21:40 +0200)]
Fix m.reply() regexp check for nick presence, which failed for nicks such as unfo- or jsn-
Jan Wikholm [Tue, 20 May 2008 16:04:01 +0000 (19:04 +0300)]
Revival of botsnack functionality as a plugin
The botsnack functionality which was in rbot 0.9.10 core has now been resurrected with love as a plugin. Show your bot some love!
Giuseppe Bilotta [Wed, 14 May 2008 23:12:56 +0000 (01:12 +0200)]
fish plugin: fix text translation after babelfish moved to Yahoo, and disable non-working URL translation
Giuseppe Bilotta [Wed, 14 May 2008 23:11:53 +0000 (01:11 +0200)]
fish plugin: fix text translation after babelfish moved to Yahoo, and disable non-working URL translation
Moritz 'moemoe' Augsburger [Sat, 3 May 2008 23:16:11 +0000 (01:16 +0200)]
fixed typo in help auth
dmitry kim [Wed, 30 Apr 2008 23:46:41 +0000 (03:46 +0400)]
* unicode.rb: @old_kcode --> @@old_kcode [we aren't always called as an instance]
Giuseppe Bilotta [Wed, 30 Apr 2008 22:41:15 +0000 (00:41 +0200)]
messagemapper: Regexp#mm_cleanup method instead of repeated (and wrong) progressive cleanup
Giuseppe Bilotta [Wed, 30 Apr 2008 22:24:22 +0000 (00:24 +0200)]
messagemapper.rb: keep options when removing captures in regexps
Giuseppe Bilotta [Wed, 30 Apr 2008 22:17:02 +0000 (00:17 +0200)]
rfc2812.rb: handle mode changes like -o+b
Giuseppe Bilotta [Tue, 29 Apr 2008 20:54:15 +0000 (22:54 +0200)]
seen plugin: use case instead of ifs, and clean up a little
Giuseppe Bilotta [Tue, 29 Apr 2008 20:38:00 +0000 (22:38 +0200)]
seen plugin: fix seen data for nick change
Giuseppe Bilotta [Wed, 23 Apr 2008 22:29:28 +0000 (00:29 +0200)]
config core botmodule: only show possible keys summary when more than one key was found
Giuseppe Bilotta [Wed, 23 Apr 2008 22:28:28 +0000 (00:28 +0200)]
config core botmodule: bolden keys on search
Giuseppe Bilotta [Wed, 23 Apr 2008 17:06:50 +0000 (19:06 +0200)]
core: refactor signal trapping, and call it from initialize()
Giuseppe Bilotta [Wed, 23 Apr 2008 16:33:44 +0000 (18:33 +0200)]
core: restart on SIGHUP
Giuseppe Bilotta [Tue, 22 Apr 2008 08:37:20 +0000 (10:37 +0200)]
Update AUTHORS
Giuseppe Bilotta [Tue, 22 Apr 2008 07:53:22 +0000 (09:53 +0200)]
Licensing uniformity: dual-license rbot core under MIT+acknowledgement and GPLv2
Giuseppe Bilotta [Mon, 21 Apr 2008 21:43:23 +0000 (23:43 +0200)]
uno plugin: most commands should only trigger after the game has started
Giuseppe Bilotta [Mon, 21 Apr 2008 21:37:04 +0000 (23:37 +0200)]
uno plugin: only allow to pick a color after a wild
Giuseppe Bilotta [Sat, 19 Apr 2008 09:39:18 +0000 (11:39 +0200)]
rss plugin: return from select_nonempty() as soon as nonempty is found
Don't map over all parameters, because some parameters might not respond
to empty?. Also, it's unnecessarily slow. Just return as soon as we
found a nonempty parameter.
Giuseppe Bilotta [Sat, 19 Apr 2008 08:15:02 +0000 (10:15 +0200)]
core/irclog: black and whitelists
Giuseppe Bilotta [Sat, 19 Apr 2008 07:18:31 +0000 (09:18 +0200)]
core/irclog: config option for max open files