summaryrefslogtreecommitdiff
path: root/lib/rbot/plugins.rb
AgeCommit message (Collapse)Author
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-09-12rdocument Irc::Plugins::BotModuleGiuseppe Bilotta
2007-09-02plugins.rb: use fast delegation hashGiuseppe Bilotta
We delegate common hooks through the fast-delegation hash, and revert to brute-force querying for everything else. Beware that this may breaks plugins which add/remove delegatable methods at runtime, but no such plugin is currently used (AFAIK).
2007-09-02plugins.rb: set up fast delegation hashGiuseppe Bilotta
Delegating a message requires checking if each of the loaded plugins responds to a given method. This can be time consuming when many plugins are loaded. We set up a hash that maps each commonly delegated method to the list of plugins that respond to it.
2007-09-02plugins.rb: minor #delegate() optimizationGiuseppe Bilotta
2007-09-02+ ctcp_listen plugin delegateGiuseppe Bilotta
2007-08-26Report plugin loading failues as errors, not as warningsGiuseppe Bilotta
2007-08-26Remove extra (un)bolding from 'help failed plugins' help textGiuseppe Bilotta
2007-07-29Add missing space in messageGiuseppe Bilotta
2007-07-22fixed a copy-paste error causing incorrect count of failed plugins to be ↵Yaohan Chen
displayed
2007-07-14- fixed an error due to copy and pasting causing the help message to list ↵Yaohan Chen
core modules twice without listing plugins
2007-07-09integrated ruby-gettextYaohan Chen
modified a few files to allow translated messages created gettext template file initialized gettext files for Japanese and Simplified Chinese
2007-05-10+ (plugins) draft implementation of event hooksDmitry Kim
2007-03-20* tidying up 'help ignored plugins' outputDmitry Kim
2007-03-20* don't set @failures_shown on debug(status)Dmitry Kim
2007-03-19plugins: only show number of ignored and/or failed plugins only the first ↵Giuseppe Bilotta
time a user asks for help
2007-03-17Plugins: rename Plugins::pluginmanager to Plugins::managerGiuseppe Bilotta
2007-03-10Allow customization of the plugins load pathGiuseppe Bilotta
2007-02-15New unreplied() method for plugins that want to handle PRIVMSGs unreplied by ↵Giuseppe Bilotta
any other plugin. Use it in the keywords plugin
2007-01-23Memory optimizations in plugin management (useful on rescans)Giuseppe Bilotta
2006-10-15Allow plugins to do things when the language is changed. Will be used e.g. ↵Giuseppe Bilotta
by lart to use language-specific lart files
2006-10-02Fix help (one more time)Giuseppe Bilotta
2006-09-25Clean up botmodule loading and command parsing and delegating. Restore ↵Giuseppe Bilotta
hash-like behaviour for the plugin manager, so that @bot.plugins['name'] returns the botmodule with the given name
2006-08-17Fix help. For realGiuseppe Bilotta
2006-08-16Fix helpGiuseppe Bilotta
2006-08-05Fix some save/quit/rescan racesGiuseppe Bilotta
2006-08-04Some fixes for the help system. Still not perfect, but better than beforeGiuseppe Bilotta
2006-08-04Fix stupid bug introduced with the new debugging messages. switch to ↵Giuseppe Bilotta
kind_of? instead of .class<=
2006-08-03Lots of fixes all around, in preparation for the new auth coremoduleGiuseppe Bilotta
2006-08-02Fix message handling, comment out some debug messagesGiuseppe Bilotta
2006-08-02Initial factorization of botconfig into kernel functionality and a coremoduleGiuseppe Bilotta
2006-08-02Auth now follows the specs defined in NewAuthModule even though there is no ↵Giuseppe Bilotta
actual auth coremodule. config.rb needs to be split into a class definition file and a coremodule that manages it
2006-08-02Modularized core now functional. Still a lot to do and auth missing, but the ↵Giuseppe Bilotta
bot is almost usable now
2006-08-01New modular framework is in place. Nothing works until core/auth.rb is done, ↵Giuseppe Bilotta
though
2006-08-01First step towards the new modularized core frameworkGiuseppe Bilotta
2006-07-30BDB::Fatal errors in plugins are now raised to toplevel; bdb lg_max ↵Giuseppe Bilotta
increased to 8 megabytes
2006-07-27Display plugin status after rescanGiuseppe Bilotta
2006-07-27Whitespace/comment cleanup. Use =begin / =end for very large comments.Giuseppe Bilotta
2006-07-27Remove @blacklisted, not needed anymore; include filename in module_eval to ↵Giuseppe Bilotta
get more sensible tracebacks; add some empty lines to make markey happy
2006-07-26Provide a handle method for plugins, so that plugin creators can both use ↵Giuseppe Bilotta
map and make their own privmsg method by calling handle(m) from within it
2006-07-26Add info about ignored plugins (blacklisted, disabled, already loaded) to ↵Giuseppe Bilotta
help; clean up failed plugins help
2006-07-25Better reporting of plugin failuresGiuseppe Bilotta
2006-07-25Fix a bug in {{{help pluginfailures}}}Giuseppe Bilotta
2006-07-25Inform users about plugins that failed to load; preserve the (supposedly) ↵Giuseppe Bilotta
most interesting part(s) of the backtrace and display them on request
2006-07-24Implement map! properly this timeGiuseppe Bilotta
2006-07-24Add mapsvn diff method for plugins: just like map, but doesn't add synonyms ↵Giuseppe Bilotta
to the plugin name
2006-07-22Ok, too hasty. Fix 'no plugins loaded on rescan' bug introduced by previous ↵Giuseppe Bilotta
patch
2006-07-22New configuration option plugins.blacklist holding an array of plugins to be ↵Giuseppe Bilotta
blacklisted; entries are plugin filenames without the final {{{.rb}}}
2006-07-20All lib/rbot files are now upgraded to the new logging featureGiuseppe Bilotta
2006-07-20Include exception class when plugins failGiuseppe Bilotta