summaryrefslogtreecommitdiff
path: root/lib/rbot/plugins.rb
AgeCommit message (Collapse)Author
2008-07-14plugins.rb: commands were being delegated even from ignored messagesGiuseppe Bilotta
2008-06-17* plugins.rb: avoid uninitialized warning on @prioritydmitry kim
2008-06-07recommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per pluginYaohan Chen
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
2008-06-06Revert "each plugin uses its own po file"Yaohan Chen
This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481.
2008-06-05each plugin uses its own po fileYaohan Chen
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
2008-04-13plugins: rework delegate() to accept optionsGiuseppe Bilotta
2008-04-13+ ModeChangeMessage classGiuseppe Bilotta
2008-04-13+ MotdMessage classGiuseppe Bilotta
2008-04-12+ delegate notice() for NoticeMessageGiuseppe Bilotta
2008-04-12+ WelcomeMessage classGiuseppe Bilotta
2008-04-12plugins: make delegate() aware of ignored and fake messagesGiuseppe Bilotta
By convention, ignored messages will only be delegated to plugins with negative priority, while fake messages will only be delegated to plugins with positive priority.
2008-04-12event delegation thresholdsdoki_pen
2008-04-10Bug fix, priority order needs to be marked dirty when modules added.doki_pen
2008-04-10plugins: reinstate debug lines in privmsg()Giuseppe Bilotta
2008-04-10plugins: mark priorities dirty on rescanGiuseppe Bilotta
2008-04-09Added event priorities to modules.doki_pen
2008-04-08revert previous useless commit and rdocify documentation of accessors to ↵Giuseppe Bilotta
BotModule
2008-04-07plugins: irc_delegate to do listen+actual delegateGiuseppe Bilotta
2008-04-07plugins: message() delegateGiuseppe Bilotta
2008-03-28plugins: expose the registry and the map handler as methods for the ↵Giuseppe Bilotta
BotModule class
2008-03-27* handle invites properly -- forgot more than half the files :/Giuseppe Bilotta
2007-12-13plugins: register maps with full information accessible via @bot.plugins.mapsGiuseppe Bilotta
2007-12-13plugins: refactor common code in #map() and #map!() to auxiliary #do_map() ↵Giuseppe Bilotta
method
2007-11-06Improved inspect methods all aroundGiuseppe Bilotta
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