aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
Commit message (Collapse)AuthorAgeFilesLines
* moduleapi: Add module:send() as an alias for core_post_stanza() from the ↵Matthew Wild2012-03-151-0/+5
| | | | current host's origin
* moduleapi: Add module:provides(), a shortcut to add an item with the current ↵Matthew Wild2012-03-151-0/+14
| | | | module's name
* moduleapi: Set module.global = true when module:set_global() is calledMatthew Wild2012-03-141-0/+1
|
* moduleapi: Add module:shared(), a way to easily share data between multiple ↵Matthew Wild2012-01-221-0/+23
| | | | loaded modules
* moduleapi: Add module:depends(), a way to safely depend upon another module ↵Matthew Wild2012-01-221-0/+29
| | | | at runtime
* modulemanager, moduleapi: Replace hooks multitable with an event_handlers ↵Matthew Wild2012-01-221-4/+7
| | | | map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object.
* modulemanager: Move in-module API functions to core.moduleapi (half the file ↵Matthew Wild2012-01-221-0/+239
size, yay)