aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
Commit message (Expand)AuthorAgeFilesLines
* Merge 0.10->trunkKim Alvefur2014-09-181-3/+7
|\
| * core.modulemanager, core.moduleapi: Hack around dependency loopKim Alvefur2014-09-171-2/+5
| * core.moduleapi: Use require instead of global to get storagemanager in module...Kim Alvefur2014-09-171-1/+2
* | Merge 0.10->trunkKim Alvefur2014-05-091-1/+2
|\|
| * core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import f...Kim Alvefur2014-05-091-1/+2
* | core.moduleapi: Fix some global accesses.Waqas Hussain2013-11-061-2/+3
* | core/moduleapi: Return timer object from module:add_timerdaurnimator2013-11-061-5/+24
|/
* moduleapi: Add module:unhook()Matthew Wild2013-09-161-0/+4
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-6/+6
* moduleapi: module:get_host_type() now returns 'global' for * and 'local' for ...Matthew Wild2013-08-061-1/+1
* moduleapi: in module:provides(), add the name of the module in item._provided_byKim Alvefur2013-04-271-0/+1
* moduleapi: module:provides called without an item makes a copy of the environ...Kim Alvefur2013-04-271-1/+7
* moduleapi: Add module:get_option_inherited_set() to return a set that inherit...Matthew Wild2013-04-271-0/+12
* moduleapi: Add module:context(host) to produce a fake API context for a given...Matthew Wild2013-04-271-0/+4
* moduleapi: Make module:open_store() open a store named after the calling modu...Kim Alvefur2013-04-191-1/+1
* moduleapi: Add module:open_store() as a front-end to storagemanager.open()Matthew Wild2013-04-191-0/+4
* moduleapi: assert() that prosody.core_post_stanza is not nilMatthew Wild2013-04-051-1/+4
* moduleapi: have get_host_items wrap on get_items from modulemanager, also add...Marco Cirillo2013-04-011-17/+15
* core.*: Complete removal of all traces of the "core" section and section-rela...Kim Alvefur2013-03-231-5/+2
* moduleapi: Revert previous commit and add comment, it's meant to be this wayMatthew Wild2012-09-291-1/+1
* moduleapi: Fix require of modulemanager (thanks mva!)Matthew Wild2012-09-291-1/+1
* moduleapi: Clarify commentMatthew Wild2012-08-031-1/+1
* moduleapi: If path name ends with '-cache' create table as weak (keys and val...Matthew Wild2012-07-301-1/+4
* Merge with FlorobMatthew Wild2012-07-281-3/+1
|\
| * moduleapi: Remove unused import of util.multitableMatthew Wild2012-07-191-3/+1
* | Eliminate direct setfenv usageFlorian Zeitz2012-06-081-4/+3
|/
* modulemanager, moduleapi: Turn module.event_handlers into a multitable and tr...Matthew Wild2012-05-191-6/+1
* moduleapi, modulemanager: Re-structure module.event_handlers so that the same...Matthew Wild2012-05-181-1/+6
* moduleapi: Don't auto-reload self when already reloading (fixes reload of mod...Matthew Wild2012-05-111-1/+1
* moduleapi: Add module:get_directory() to get module file's directory, and mod...Matthew Wild2012-04-281-0/+10
* moduleapi: Import util.timerMatthew Wild2012-04-281-0/+1
* moduleapi: Remove unused variable 'module_items'Matthew Wild2012-04-281-1/+0
* moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza work...Matthew Wild2012-04-271-1/+2
* moduleapi: get_host_type(): Return nil for global modules (no host)Matthew Wild2012-04-271-1/+1
* moduleapi: Fix parameters to unhook_object_event()Matthew Wild2012-04-261-1/+1
* moduleapi: module:depends(): Don't load shared modules onto the current host ...Matthew Wild2012-04-261-1/+2
* moduleapi: Add module:unhook_object_event()Matthew Wild2012-04-261-0/+4
* moduleapi: Add module:add_timer(delay, callback) - automatically halts the ti...Matthew Wild2012-04-231-0/+7
* moduleapi: module:depends(): Load shared modules onto the current host even i...Matthew Wild2012-04-231-0/+3
* moduleapi: module:provides(): Add "-provider" onto the key nameMatthew Wild2012-04-231-1/+1
* moduleapi: module:provides(): Fix usage of wrong tableMatthew Wild2012-04-231-1/+1
* moduleapi: Have modules internally store a reference to shared tables they us...Matthew Wild2012-04-211-0/+2
* moduleapi: Add module:send() as an alias for core_post_stanza() from the curr...Matthew Wild2012-03-151-0/+5
* moduleapi: Add module:provides(), a shortcut to add an item with the current ...Matthew Wild2012-03-151-0/+14
* 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 l...Matthew Wild2012-01-221-0/+23
* moduleapi: Add module:depends(), a way to safely depend upon another module a...Matthew Wild2012-01-221-0/+29
* modulemanager, moduleapi: Replace hooks multitable with an event_handlers map...Matthew Wild2012-01-221-4/+7
* modulemanager: Move in-module API functions to core.moduleapi (half the file ...Matthew Wild2012-01-221-0/+239