rbot
15 years agoVersion 0.9.11-rc1 rbot-0.9.11-rc1
Giuseppe Bilotta [Mon, 30 Jun 2008 23:48:37 +0000 (01:48 +0200)] 
Version 0.9.11-rc1

15 years agoRakefile: update list of binaries
Giuseppe Bilotta [Mon, 30 Jun 2008 23:48:27 +0000 (01:48 +0200)] 
Rakefile: update list of binaries

15 years agoItalian PO typo
Giuseppe Bilotta [Mon, 30 Jun 2008 21:10:18 +0000 (23:10 +0200)] 
Italian PO typo

15 years agofiglet plugin: check paths and fonts using Utils.safe_exec
Giuseppe Bilotta [Mon, 30 Jun 2008 14:08:47 +0000 (16:08 +0200)] 
figlet plugin: check paths and fonts using Utils.safe_exec

15 years ago* external execute plugin default to non-absolute paths
Giuseppe Bilotta [Mon, 30 Jun 2008 13:55:23 +0000 (15:55 +0200)] 
* external execute plugin default to non-absolute paths

15 years ago* markov: lowered the priority of the learning thread
dmitry kim [Mon, 30 Jun 2008 13:58:01 +0000 (17:58 +0400)] 
* markov: lowered the priority of the learning thread

15 years ago+ markov: sleep() some in the learning thread
dmitry kim [Mon, 30 Jun 2008 13:45:00 +0000 (17:45 +0400)] 
+ markov: sleep() some in the learning thread

15 years agoAdd a host.path setting to set the path to the host command.
Diego 'Flameeyes' Pettenò [Mon, 30 Jun 2008 09:39:36 +0000 (11:39 +0200)] 
Add a host.path setting to set the path to the host command.

15 years agoAdd a cal.path option with the path to the cal program.
Diego 'Flameeyes' Pettenò [Mon, 30 Jun 2008 09:37:37 +0000 (11:37 +0200)] 
Add a cal.path option with the path to the cal program.

15 years agoReplace spell.program option with a spell.path one.
Diego 'Flameeyes' Pettenò [Mon, 30 Jun 2008 09:34:31 +0000 (11:34 +0200)] 
Replace spell.program option with a spell.path one.

The new option follows the same format as figlet.path and
fortune.path, and has the full path to the spell program.

15 years agoItalian translation update
Giuseppe Bilotta [Mon, 30 Jun 2008 09:08:57 +0000 (11:08 +0200)] 
Italian translation update

15 years agoadd task for normalizing po files
Yaohan Chen [Sun, 29 Jun 2008 21:32:39 +0000 (17:32 -0400)] 
add task for normalizing po files
translators should run normalizepo task after editing po files, before commiting to
version control

15 years agonormalize pot and po files
Yaohan Chen [Sun, 29 Jun 2008 21:23:20 +0000 (17:23 -0400)] 
normalize pot and po files

15 years agomake gettext tasks only update a file with new msg/msgid, normalize po/pot files
Yaohan Chen [Sat, 28 Jun 2008 21:58:04 +0000 (17:58 -0400)] 
make gettext tasks only update a file with new msg/msgid, normalize po/pot files

15 years agosearch plugin: fix gcalc regexp
Giuseppe Bilotta [Mon, 30 Jun 2008 08:47:03 +0000 (10:47 +0200)] 
search plugin: fix gcalc regexp

15 years ago* AUTHORS: jsn-: i refuse to use gmail.org!
dmitry kim [Sun, 29 Jun 2008 23:48:01 +0000 (03:48 +0400)] 
* AUTHORS: jsn-: i refuse to use gmail.org!

15 years agomessage.rb: suppress warning about duplicate method
Giuseppe Bilotta [Sun, 29 Jun 2008 19:55:59 +0000 (21:55 +0200)] 
message.rb: suppress warning about duplicate method

15 years ago* fix handling of IDENTIFY_MSG
Giuseppe Bilotta [Sun, 29 Jun 2008 18:19:41 +0000 (20:19 +0200)] 
* fix handling of IDENTIFY_MSG

When a server has IDENTIFY-MSG, we would expect identification in any
PRIVMSG or NOTICE, even on those generated from the bot. This caused
lots of spurious warnings, and would lead to mislogging when a
bot-generated message started with + or -.

Fix this by only handling IDENTIFY-MSG on server-generated messages.

15 years agoircbot.rb: @bot.topic() can also be used to retrieve topic information instead of...
Giuseppe Bilotta [Sat, 28 Jun 2008 19:06:29 +0000 (21:06 +0200)] 
ircbot.rb: @bot.topic() can also be used to retrieve topic information instead of setting it

15 years agoNew IRC framework: allow RPL_TOPIC(_INFO) for channels we are not on, since some...
Giuseppe Bilotta [Sat, 28 Jun 2008 19:01:19 +0000 (21:01 +0200)] 
New IRC framework: allow RPL_TOPIC(_INFO) for channels we are not on, since some networks allow it

15 years agofiglet plugin: make it more friendly to external usage
Giuseppe Bilotta [Fri, 27 Jun 2008 17:03:03 +0000 (19:03 +0200)] 
figlet plugin: make it more friendly to external usage

15 years agoircbot.rb: make #mode()'s third argument optional
Giuseppe Bilotta [Thu, 26 Jun 2008 19:35:19 +0000 (21:35 +0200)] 
ircbot.rb: make #mode()'s third argument optional

15 years agobans plugin: fix bans rm badword :regexp
Giuseppe Bilotta [Thu, 26 Jun 2008 17:18:06 +0000 (19:18 +0200)] 
bans plugin: fix bans rm badword :regexp

15 years ago* plugins/bans: show the bad word message in channel before the (kick)ban
dmitry kim [Thu, 26 Jun 2008 17:00:07 +0000 (21:00 +0400)] 
* plugins/bans: show the bad word message in channel before the (kick)ban

15 years ago* plugins/bans: fix timed bans
dmitry kim [Thu, 26 Jun 2008 16:47:15 +0000 (20:47 +0400)] 
* plugins/bans: fix timed bans

15 years agoUpdate PO
Giuseppe Bilotta [Thu, 26 Jun 2008 12:49:15 +0000 (14:49 +0200)] 
Update PO

15 years agoconfig.rb: localize git date in version
Giuseppe Bilotta [Thu, 26 Jun 2008 12:45:41 +0000 (14:45 +0200)] 
config.rb: localize git date in version

15 years agomessage.rb: saner \#inspect() for BasicUserMessage and derivatives
Giuseppe Bilotta [Wed, 25 Jun 2008 22:23:23 +0000 (00:23 +0200)] 
message.rb: saner \#inspect() for BasicUserMessage and derivatives

15 years agomarkov plugin: use plain message
Giuseppe Bilotta [Wed, 25 Jun 2008 21:01:29 +0000 (23:01 +0200)] 
markov plugin: use plain message

15 years ago* (plugins/urban): fix the errors introduced by jsn- in the previous commit
dmitry kim [Wed, 25 Jun 2008 20:03:38 +0000 (00:03 +0400)] 
* (plugins/urban): fix the errors introduced by jsn- in the previous commit

15 years agourban plugin: when urbandictionary.com goes offline, don't throw errors.
Spencer RInehart [Wed, 25 Jun 2008 19:21:08 +0000 (15:21 -0400)] 
urban plugin: when urbandictionary.com goes offline, don't throw errors.

15 years agoscript plugin: store channels as strings
Giuseppe Bilotta [Wed, 25 Jun 2008 19:33:24 +0000 (21:33 +0200)] 
script plugin: store channels as strings

15 years agomarkov plugin: do learning in one thread, instead of threading for each message
Yaohan Chen [Wed, 25 Jun 2008 19:27:38 +0000 (15:27 -0400)] 
markov plugin: do learning in one thread, instead of threading for each message

15 years agoallow multi-line (artificial) messages be delegated and handled
Yaohan Chen [Tue, 24 Jun 2008 17:45:56 +0000 (13:45 -0400)] 
allow multi-line (artificial) messages be delegated and handled

15 years agoextends.rb: suppress warning
Giuseppe Bilotta [Tue, 24 Jun 2008 17:32:09 +0000 (19:32 +0200)] 
extends.rb: suppress warning

15 years agoircbot.rb: create the appropriate directories when updating botclass dir from template
Giuseppe Bilotta [Tue, 24 Jun 2008 16:53:45 +0000 (18:53 +0200)] 
ircbot.rb: create the appropriate directories when updating botclass dir from template

15 years agobans plugin: badword checks on plain message
Giuseppe Bilotta [Tue, 24 Jun 2008 15:30:04 +0000 (17:30 +0200)] 
bans plugin: badword checks on plain message

15 years agomessage handling: improve IRC format handling for received messages
Giuseppe Bilotta [Tue, 24 Jun 2008 15:27:30 +0000 (17:27 +0200)] 
message handling: improve IRC format handling for received messages

Rather than stripping colors all around and keeping other format codes,
we only strip initial and final formatting before parsing the message.

We store the original, unstripped message in #logmessage() and a
fully stripped copy of the message in #plainmessage()

This means that most plugins will now have full formatting of arguments
preserved, while stupid IRC usage of formatting whole lines will not
interfere with bot usage. Plugins that need a fully stripped version of
the message can still access it.

15 years agolastfm plugin: code cleanup and warning suppression
Giuseppe Bilotta [Tue, 24 Jun 2008 13:47:40 +0000 (15:47 +0200)] 
lastfm plugin: code cleanup and warning suppression

15 years agofiglet plugin: fix font usage and defaults
Giuseppe Bilotta [Tue, 24 Jun 2008 13:45:17 +0000 (15:45 +0200)] 
figlet plugin: fix font usage and defaults

15 years agoircsocket.rb: use syswrite since ruby's buffered io is racy
Giuseppe Bilotta [Tue, 24 Jun 2008 13:30:54 +0000 (15:30 +0200)] 
ircsocket.rb: use syswrite since ruby's buffered io is racy

In some situations a PRIVMSG could be output twice in sequence with no
intervening newline when using the Socket#puts function. Use syswrite to
skip Ruby's buffered IO.

15 years agofake_message duplicates m.reply and m.in_thread from the :from message
Yaohan Chen [Tue, 24 Jun 2008 03:29:51 +0000 (23:29 -0400)] 
fake_message duplicates m.reply and m.in_thread from the :from message
this makes it possible to create a fake message, override its reply method in order
to get its "return value", even if the fake message will be handled by creating
another fake message.

15 years agofake messages will use the originating message's reply method
Yaohan Chen [Mon, 23 Jun 2008 23:30:29 +0000 (19:30 -0400)] 
fake messages will use the originating message's reply method
this allows shell plugin to capture replies of a command even if this command is
run because of a fake message

15 years agoircbot.rb: copy missing template files on startup
Giuseppe Bilotta [Tue, 24 Jun 2008 10:08:40 +0000 (12:08 +0200)] 
ircbot.rb: copy missing template files on startup

15 years agoconfig.rb: system wide overrides in /etc/rbot.conf
Giuseppe Bilotta [Tue, 24 Jun 2008 09:01:48 +0000 (11:01 +0200)] 
config.rb: system wide overrides in /etc/rbot.conf

15 years agoPO update
Giuseppe Bilotta [Tue, 24 Jun 2008 00:24:14 +0000 (02:24 +0200)] 
PO update

15 years agoFrench translation
Marc Lagrange [Mon, 23 Jun 2008 23:58:30 +0000 (01:58 +0200)] 
French translation

15 years agofiglet plugin: toilet support
Giuseppe Bilotta [Tue, 24 Jun 2008 00:17:56 +0000 (02:17 +0200)] 
figlet plugin: toilet support

15 years agospell plugin: command line option
Giuseppe Bilotta [Mon, 23 Jun 2008 23:33:48 +0000 (01:33 +0200)] 
spell plugin: command line option

15 years agospell plugin: use case instead of if/elsif/.../end and wrap in rescue
Giuseppe Bilotta [Mon, 23 Jun 2008 23:20:17 +0000 (01:20 +0200)] 
spell plugin: use case instead of if/elsif/.../end and wrap in rescue

15 years agospell plugin: spell program is a config option
Giuseppe Bilotta [Mon, 23 Jun 2008 22:56:37 +0000 (00:56 +0200)] 
spell plugin: spell program is a config option

15 years agoFollow pagination of results
Spencer RInehart [Mon, 23 Jun 2008 22:20:42 +0000 (18:20 -0400)] 
Follow pagination of results

15 years agolastfm plugin: tries to parse the current station. will show just listened track...
Casey Link [Mon, 23 Jun 2008 18:58:00 +0000 (14:58 -0400)] 
lastfm plugin: tries to parse the current station. will show just listened track if real time data isn't there.

15 years agoSet GetText.cached = false so that mo files are reloaded when setting locale
Yaohan Chen [Mon, 23 Jun 2008 20:30:59 +0000 (16:30 -0400)] 
Set GetText.cached = false so that mo files are reloaded when setting locale

15 years agodict.rb plugin: fixes the oxford parser so it doesn't spit out a bunch of extra crap
Casey Link [Mon, 23 Jun 2008 22:00:08 +0000 (18:00 -0400)] 
dict.rb plugin: fixes the oxford parser so it doesn't spit out a bunch of extra crap

before:
[13:45:29] <insanity> fruitful: adjective 1 producing much fruit; fertile. 2 producing good results; productive. DERIVATIVES fruitfully adverb fruitfulness noun.
Perform another search of the Compact Oxford English Dictionary About this dictionary The Compact Oxford English Dictionary of Current English contains 145,000 words,
phrases, and definitions. Find out more about Oxford's range of English dictionaries Sign up for the AskOxford Word of...

after:
[13:58:36] <VanGogh> fruitful: adjective 1 producing much fruit; fertile. 2 producing good results; productive. DERIVATIVES fruitfully adverb fruitfulness noun.

15 years agoUrban can now grab the first page of definitions.
Spencer RInehart [Mon, 23 Jun 2008 20:05:18 +0000 (16:05 -0400)] 
Urban can now grab the first page of definitions.

15 years agoIgnore generated files.
Diego 'Flameeyes' Pettenò [Mon, 23 Jun 2008 16:39:49 +0000 (18:39 +0200)] 
Ignore generated files.

15 years agoProperly find out the available fortune categories.
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.

15 years agorfc2812.rb: skip unknown channel modes altogether
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.

15 years agorename plugin_files to source_files in rgettext_proc
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

15 years agomake gettext tasks output files being regenerated and sources
Yaohan Chen [Mon, 23 Jun 2008 01:07:32 +0000 (21:07 -0400)] 
make gettext tasks output files being regenerated and sources

15 years ago+ strip all colours and formatting when sending to a +c or +C channel
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

15 years ago#any? and #all? methods for Channel#mode to check if modes are set
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

15 years agoextends: define Array#shuffle(\!) only if not present already, and use simpler defini...
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

15 years agorfc2812.rb: warn about unhandled numeric replies too
Giuseppe Bilotta [Sun, 22 Jun 2008 22:46:58 +0000 (00:46 +0200)] 
rfc2812.rb: warn about unhandled numeric replies too

15 years agoircbot.rb: ask about current channel modes on join
Giuseppe Bilotta [Sun, 22 Jun 2008 22:42:52 +0000 (00:42 +0200)] 
ircbot.rb: ask about current channel modes on join

15 years agorfc2812.rb: refactor MODE parsing to use it for RPL_CHANNELMODEIS (324) too
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

15 years agoPO updates
Giuseppe Bilotta [Sun, 22 Jun 2008 10:14:25 +0000 (12:14 +0200)] 
PO updates

15 years agomakemo task autocreates data/locale/*/LC_MESSAGES directories
Yaohan Chen [Sat, 21 Jun 2008 18:16:09 +0000 (14:16 -0400)] 
makemo task autocreates data/locale/*/LC_MESSAGES directories

15 years agolastfm plugin: default to current nick for lookups
Giuseppe Bilotta [Sat, 21 Jun 2008 15:42:25 +0000 (17:42 +0200)] 
lastfm plugin: default to current nick for lookups

15 years agolastfm plugin: no need to specify a username for functions that act on a user. fixed...
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.

15 years agolastfm plugin: users can now associate their lastfm username with their irc nickname...
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

15 years agolastfm plugin: added now playing info to the help
Casey Link [Sat, 21 Jun 2008 12:55:56 +0000 (08:55 -0400)] 
lastfm plugin: added now playing info to the help

15 years agolastfm plugin: Added now playing command
Casey Link [Sat, 21 Jun 2008 12:50:32 +0000 (08:50 -0400)] 
lastfm plugin: Added now playing command

15 years ago* initialize $version_timestamp to suppress a warning
Giuseppe Bilotta [Sat, 21 Jun 2008 08:31:05 +0000 (10:31 +0200)] 
* initialize $version_timestamp to suppress a warning

15 years agofiglet plugin: font is now a config value
Giuseppe Bilotta [Sat, 21 Jun 2008 07:45:34 +0000 (09:45 +0200)] 
figlet plugin: font is now a config value

15 years agofiglet plugin: utf-8
Giuseppe Bilotta [Sat, 21 Jun 2008 07:19:45 +0000 (09:19 +0200)] 
figlet plugin: utf-8

15 years agofiglet plugin: ignore max_lines
Giuseppe Bilotta [Sat, 21 Jun 2008 07:16:53 +0000 (09:16 +0200)] 
figlet plugin: ignore max_lines

15 years agofiglet plugin: be informative when figlet wasn't found
Giuseppe Bilotta [Sat, 21 Jun 2008 07:10:42 +0000 (09:10 +0200)] 
figlet plugin: be informative when figlet wasn't found

15 years agomove bin/msgmerge-wrapper.rb to top level, as it is not intended for installation
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

15 years agosetup.rb: some sanitizing
Giuseppe Bilotta [Fri, 20 Jun 2008 20:03:19 +0000 (22:03 +0200)] 
setup.rb: some sanitizing

15 years agoUpdate to setup.rb 3.4.1
Giuseppe Bilotta [Fri, 20 Jun 2008 20:02:42 +0000 (22:02 +0200)] 
Update to setup.rb 3.4.1

15 years agorewrite updatepo and makemo tasks to take advantage of file timestamps
Yaohan Chen [Fri, 20 Jun 2008 18:41:18 +0000 (14:41 -0400)] 
rewrite updatepo and makemo tasks to take advantage of file timestamps

15 years agoItalian translation fixes
Giuseppe Bilotta [Fri, 20 Jun 2008 17:09:30 +0000 (19:09 +0200)] 
Italian translation fixes

15 years agomade the time plugin have more pretty output, show real timezone abbr. instead of...
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

15 years agoupdated italian translation
Feroce Maria Bumerlo [Fri, 20 Jun 2008 00:00:13 +0000 (02:00 +0200)] 
updated italian translation

15 years agogrouphug plugin: tweak regex so it captures confessions with newlines properly
Casey Link [Fri, 20 Jun 2008 13:56:45 +0000 (09:56 -0400)] 
grouphug plugin: tweak regex so it captures confessions with newlines properly

15 years ago* directory independent launch_here.rb: 3rd attempt
dmitry kim [Fri, 20 Jun 2008 12:24:38 +0000 (16:24 +0400)] 
* directory independent launch_here.rb: 3rd attempt

15 years agodbhash: doh
Giuseppe Bilotta [Fri, 20 Jun 2008 10:15:31 +0000 (12:15 +0200)] 
dbhash: doh

15 years agodbhash.rb: slightly rework errors for failing to load bdb
Giuseppe Bilotta [Fri, 20 Jun 2008 10:12:23 +0000 (12:12 +0200)] 
dbhash.rb: slightly rework errors for failing to load bdb

15 years agoircbot.rb: ensure that the logger is flushed
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.

15 years agobin/rbot: don't look for a svn revision if .svn doesn't exist
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

15 years agoPO update
Giuseppe Bilotta [Thu, 19 Jun 2008 23:58:06 +0000 (01:58 +0200)] 
PO update

15 years agoquotes plugin: fix help
Giuseppe Bilotta [Thu, 19 Jun 2008 23:55:31 +0000 (01:55 +0200)] 
quotes plugin: fix help

15 years agoquotes plugin: more localization
Giuseppe Bilotta [Thu, 19 Jun 2008 23:55:18 +0000 (01:55 +0200)] 
quotes plugin: more localization

15 years agoupdated italian translation for quotes
Giuseppe Bilotta [Thu, 19 Jun 2008 23:44:05 +0000 (01:44 +0200)] 
updated italian translation for quotes

15 years agowheelfortune: typo in help
Giuseppe Bilotta [Thu, 19 Jun 2008 23:37:03 +0000 (01:37 +0200)] 
wheelfortune: typo in help

15 years agoupdated italian translation for WOF
Giuseppe Bilotta [Thu, 19 Jun 2008 23:34:44 +0000 (01:34 +0200)] 
updated italian translation for WOF

15 years agoupdated italian translation for factoids
Giuseppe Bilotta [Thu, 19 Jun 2008 23:34:35 +0000 (01:34 +0200)] 
updated italian translation for factoids

15 years agoupdated italian translation for rss
Giuseppe Bilotta [Thu, 19 Jun 2008 23:34:26 +0000 (01:34 +0200)] 
updated italian translation for rss