Log

core/moduleapi.lua @ 6861:39789f1669cb

description author age
Merge 0.10->trunk Kim Alvefur 2015-08-20
core.*: Remove use of module() function Kim Alvefur 2015-02-21
Merge 0.10->trunk Matthew Wild 2015-05-06
moduleapi: Import util.stanza required for module:broadcast() Matthew Wild 2015-05-06
moduleapi: Add luacheck annotation Matthew Wild 2015-05-06
moduleapi: Minor variable renaming to avoid clashes with the 'type' function Matthew Wild 2015-05-06
moduleapi: Clear self.event_handlers when unhooking an event, to prevent leaks Matthew Wild 2015-05-06
moduleapi: module:measure_event(), module:measure_global_event(): Fix copy/paste error Matthew Wild 2015-05-06
moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable Matthew Wild 2015-05-06
moduleapi: Add module:broadcast() to send a stanza to a list of JIDs Matthew Wild 2015-05-06
Merge 0.10->trunk Kim Alvefur 2015-05-03
moduleapi: New methods for modules to conveniently wrap events Matthew Wild 2015-04-28
moduleapi: Experimental API for modules to measure the rate+duration of events Matthew Wild 2015-04-28
Merge 0.10->trunk Matthew Wild 2015-01-21
moduleapi: Module API for statsmanager Matthew Wild 2015-01-21
Merge 0.10->trunk Kim Alvefur 2014-09-22
core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r) Kim Alvefur 2014-09-22
Merge 0.10->trunk Kim Alvefur 2014-09-18
core.modulemanager, core.moduleapi: Hack around dependency loop Kim Alvefur 2014-09-17
core.moduleapi: Use require instead of global to get storagemanager in module:open_store() Kim Alvefur 2014-09-17
Merge 0.10->trunk Kim Alvefur 2014-05-09
core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths Kim Alvefur 2014-05-09
core.moduleapi: Fix some global accesses. Waqas Hussain 2013-11-06
core/moduleapi: Return timer object from module:add_timer daurnimator 2013-11-06
moduleapi: Add module:unhook() Matthew Wild 2013-09-16
Remove all trailing whitespace Florian Zeitz 2013-08-09
moduleapi: module:get_host_type() now returns 'global' for * and 'local' for non-components Matthew Wild 2013-08-06
moduleapi: in module:provides(), add the name of the module in item._provided_by Kim Alvefur 2013-04-27
moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals Kim Alvefur 2013-04-27
moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set Matthew Wild 2013-04-27
moduleapi: Add module:context(host) to produce a fake API context for a given host (or global). module:context("*"):get_option("foo") to get global options. Matthew Wild 2013-04-27
moduleapi: Make module:open_store() open a store named after the calling module by default Kim Alvefur 2013-04-19
moduleapi: Add module:open_store() as a front-end to storagemanager.open() Matthew Wild 2013-04-19
moduleapi: assert() that prosody.core_post_stanza is not nil Matthew Wild 2013-04-05
moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API. Marco Cirillo 2013-04-01
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur 2013-03-23
moduleapi: Revert previous commit and add comment, it's meant to be this way Matthew Wild 2012-09-29
moduleapi: Fix require of modulemanager (thanks mva!) Matthew Wild 2012-09-29
moduleapi: Clarify comment Matthew Wild 2012-08-03
moduleapi: If path name ends with '-cache' create table as weak (keys and values) Matthew Wild 2012-07-29
Merge with Florob Matthew Wild 2012-07-28
Eliminate direct setfenv usage Florian Zeitz 2012-06-08
moduleapi: Remove unused import of util.multitable Matthew Wild 2012-07-19
modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash) Matthew Wild 2012-05-19
moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash) Matthew Wild 2012-05-18
moduleapi: Don't auto-reload self when already reloading (fixes reload of modules with cyclic dependencies) Matthew Wild 2012-05-11
moduleapi: Add module:get_directory() to get module file's directory, and module:load_resource() to load a file relative to that directory Matthew Wild 2012-04-28
moduleapi: Import util.timer Matthew Wild 2012-04-28
moduleapi: Remove unused variable 'module_items' Matthew Wild 2012-04-28
moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza works for compat) Matthew Wild 2012-04-27
moduleapi: get_host_type(): Return nil for global modules (no host) Matthew Wild 2012-04-27
moduleapi: Fix parameters to unhook_object_event() Matthew Wild 2012-04-26
moduleapi: module:depends(): Don't load shared modules onto the current host if the current host is '*'... Matthew Wild 2012-04-26
moduleapi: Add module:unhook_object_event() Matthew Wild 2012-04-26
moduleapi: Add module:add_timer(delay, callback) - automatically halts the timer on module unload Matthew Wild 2012-04-23
moduleapi: module:depends(): Load shared modules onto the current host even if they are loaded globally already Matthew Wild 2012-04-23
moduleapi: module:provides(): Add "-provider" onto the key name Matthew Wild 2012-04-23
moduleapi: module:provides(): Fix usage of wrong table Matthew Wild 2012-04-23
moduleapi: Have modules internally store a reference to shared tables they use, to ensure they don't get collected while any module that had access to that table is still loaded (thanks Zash) Matthew Wild 2012-04-21
moduleapi: Add module:send() as an alias for core_post_stanza() from the current host's origin Matthew Wild 2012-03-15