Bot-BasicBot-Pluggable
view release on metacpan or search on metacpan
- Join: Don't accept commands to join/part channels unless the
user asking us to do so is auth'd to the bot
- ChanOp: Make the ChanOp module actually work (uhm...)
0.84 2009/12/11
- Log4Perl: Instead of just printing error messages to stdout,
the bot now uses Log4perl to emit warnings and debugging information.
For now i just added this new capability to Bot::BasicBot::Pluggable
but this will be expanded to all the modules in one of the next
releases.
The bot's old log() function will now emit a message with
priority warning to mimic the old behaviour.
The command line bots now have two new options: --loglevel and
--logconfig.
- Commandline Bot: A simple command line bot was part of the
github repository for quite some time now, but it was never
shipped with a release before. To close #46875 and as it's a
really neat way to test some modules, i'll reworked
bot-basicbot-pluggable-cli, added
App::Bot::BasicBot::Pluggable::Console and
Bot::BasicBot::Pluggable::Console and use
Test::Bot::BasicBot::Pluggable as its basis. You can call it
with the same arguments as its irc cousin, but some options
like --server or even --channel does not (yet?) make any sense
in this context.
- Auth: Added allow_anonymous as requested and implemented by
Toni Spets. Setting this value to true, does basically disable
authentication for all modules, that are not explicitly checking
for the users authentication level.
You only ever want to set this value to true, if you want to
develop modules that need to prefix commands with ! for
unauthenticated users. You've been warned.
- Loader, Vars: As direct consequence Loader.pm and Vars.pm do
now check explicitly.
- Loader: !list does now also return all available but not loaded
modules (thanks to Manuel Hachtkemper for the hint). I can see
that the old behaviour might be a little bit confusing for some
users.
- available_modules() returns really all available modules ...
till this release the bot just returned modules in PERL5LIB and
ignored modules in ./modules and ./
- Store: DBI, DBM::Deep and DBD::SQLite are no langer hard
requirements of this module. Bot::BasicBot::Pluggable now tries
to load all storage types in a predefined order until one returns
successfully. Normally you should just select one explicitly.
- Base.pm: Removed Base.pm from the list of available modules und
depracate its usage
- Try::Tiny: Error handling is now performed by try::tiny instead
of writing all the eval boilerplate. Although it does lack some
convenience, i selected it as we'll get it through moose in any
case.
- ChanOp.pm: New core module to handle channel managment operations
like oping, deoping, kicking and flood control. Please take a
closer look at this module, it definitly needs some testing!
0.83 2009/11/08
- added four missing dispatch events from Bot::Basicbot: nick_change,
kicked, topic and userquit. All four can now be handled by modules.
- converted some evaled expressions to code blocks
- documented a problem with hash signs in yaml configuration files
0.82 2009/08/31
- Failing tests on cpantesters as two tests are creating intermediate
files.
I'm just using the memory backend again.
0.81 2009/08/30
- redfined logic of --store option
Although i added a store option in the last version of the
command line bot, it wasn't really helpful as you just could
load storage backend without any options. The --store option
is now a hashref, with the only drawback that you have to
specify a storage type even if you just want load a backend
without any options.
- moved store_from_hashref from B::BB::P to B::BB::P::Store and
renamed it to new_from_hashref. This could possibly *break*
code, but i didn't expect it to. *hrhr*
0.80 2009/08/15
- new command line bot
big rewrite of the command line bot with the help of MooseX::Getopt
and MooseX::SimpleConfig. It should be possible to call a lot of
aspects of the pluggable infrastructure without writing perl code.
0.79 2009/07/12
- the need-more-sleep-release ... sorry, that's the last for today
- replied was never called ... now we put it back in front again
but shallow copy the message first
0.78 2009/07/12
- replied is now called after reply so that modules really can't change the message
0.77 2009/07/12
- added a new event 'replied' to give any module the chance to act on that
- Join:
- corrected missing command in help
- Seen:
- now also reckognize joins and parts
- Infobot:
( run in 0.967 second using v1.01-cache-2.11-cpan-524268b4103 )