summaryrefslogtreecommitdiff
path: root/lib/rbot/plugins.rb
AgeCommit message (Collapse)Author
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
2006-06-08Improved handling of database handling and cleanup during shutdownGiuseppe Bilotta
2006-02-09attempt to resolve #65Tom Gilbert
2006-01-21bunch of changes.Tom Gilbert
Another of Chris' plugins. A contributed russian.lang from ruskie (honest, that's his nick!). Some tweaks to error handling. Some modified user/auth handling (from DevRandom) still a bit more to do on that tho..
2005-08-10patch from Alexey Froloff:Tom Gilbert
Do not try to load same plugin from different locations. Added ability to disable system-wide plugins - create PLUGIN.rb.disabled in user's plugins directory. For example, to disable freshmeat plugin installed in /usr/share/rbot/plugins/freshmeat.rb one can create empty file ~/.rbot/plugins/freshmeat.rb.disabled
2005-08-04Thu Aug 04 23:03:30 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Improved ircd recognition of rfc2812.rb * de-string'd, de-cap'd rfc2812.rb, looks less shouty now * moved the Q auth stuff (for quakenet) into a new qauth plugin (untested!) * finish fixing the httputil
2005-08-03Thu Aug 04 00:11:52 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Tweaked the debug() stuff a bit. Need to do this more cleanly really * Added a fair bit of documentation for some of the new features
2005-08-03Wed Aug 03 15:25:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Added french language file (TODO most of the plugins just talk english) * The way the Enum configs were set up, it wasn't possible to add language files to rbot at runtime (the directory was only scanned at startup). Now you can set a values Proc, which is called to return a list of allowed values whenever it's queried. * Added Config module for determining where we were installed. Unfortunately rubygems is a total whore in this regard, and I hope the current hackery I have to do to support it becomes redundant in the future.
2005-08-03This change they made around TimeoutErrors really pees me off...Tom Gilbert
2005-07-31Sun Jul 31 02:20:08 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Updated docgen to generate rdoc again with the new repo structure * added new restart command to the core bot, quits irc and reexecs the bot, to pick up new code/libraries etc.
2005-07-29Fri Jul 29 13:07:56 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Moved some stuff out of util.rb into the plugins that actually need them. Those methods didn't belong in util as they were plugin-specific. * moved a few more plugins to use map() where appropriate * made the url plugin only store unique urls
2005-07-28Thu Jul 28 23:45:26 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Reworked the Timer module. The Timer now has a smart thread manager to start/stop the tick() thread. This means the timer isn't called every 0.1 seconds to see what needs doing, which is much more efficient * reworked the ircsocket queue mechanism to use a Timer * reworked the nickserv plugin to use maps * made server.reconnect_wait configurable * added Class tracing mechanism to bin/rbot, use --trace Classname for debugging
2005-07-27this packaging stuff seems to actually be workingTom Gilbert
2005-07-27more work on packaging, use Irc::Config module for storing configuration setTom Gilbert
by install.rb
2005-07-27rework various modules to use the installed directoriesTom Gilbert
2005-07-27move rbot into lib - still rearranging for packaging/installationTom Gilbert