Log

core/moduleapi.lua @ 6657:f1af4edd5722

description author age
moduleapi: New methods for modules to conveniently wrap events Matthew Wild Tue, 28 Apr 2015 14:18:43 +0100
moduleapi: Experimental API for modules to measure the rate+duration of events Matthew Wild Tue, 28 Apr 2015 13:52:07 +0100
Merge 0.10->trunk Matthew Wild Wed, 21 Jan 2015 01:29:00 +0000
moduleapi: Module API for statsmanager Matthew Wild Wed, 21 Jan 2015 01:28:12 +0000
Merge 0.10->trunk Kim Alvefur Tue, 23 Sep 2014 01:44:16 +0200
core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r) Kim Alvefur Tue, 23 Sep 2014 00:23:33 +0200
Merge 0.10->trunk Kim Alvefur Thu, 18 Sep 2014 02:22:48 +0200
core.modulemanager, core.moduleapi: Hack around dependency loop Kim Alvefur Wed, 17 Sep 2014 14:48:49 +0200
core.moduleapi: Use require instead of global to get storagemanager in module:open_store() Kim Alvefur Wed, 17 Sep 2014 14:47:52 +0200
Merge 0.10->trunk Kim Alvefur Fri, 09 May 2014 23:35:54 +0200
core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths Kim Alvefur Fri, 09 May 2014 19:35:29 +0200
core.moduleapi: Fix some global accesses. Waqas Hussain Wed, 06 Nov 2013 14:38:51 -0500
core/moduleapi: Return timer object from module:add_timer daurnimator Wed, 06 Nov 2013 12:56:35 -0500
moduleapi: Add module:unhook() Matthew Wild Mon, 16 Sep 2013 18:41:09 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
moduleapi: module:get_host_type() now returns 'global' for * and 'local' for non-components Matthew Wild Tue, 06 Aug 2013 17:17:23 +0100
moduleapi: in module:provides(), add the name of the module in item._provided_by Kim Alvefur Sat, 27 Apr 2013 19:44:37 +0200
moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals Kim Alvefur Sat, 27 Apr 2013 19:14:22 +0200
moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set Matthew Wild Sat, 27 Apr 2013 14:59:00 +0100
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 Sat, 27 Apr 2013 14:57:24 +0100
moduleapi: Make module:open_store() open a store named after the calling module by default Kim Alvefur Fri, 19 Apr 2013 14:42:32 +0200
moduleapi: Add module:open_store() as a front-end to storagemanager.open() Matthew Wild Fri, 19 Apr 2013 13:29:47 +0100
moduleapi: assert() that prosody.core_post_stanza is not nil Matthew Wild Fri, 05 Apr 2013 19:13:46 +0100
moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API. Marco Cirillo Mon, 01 Apr 2013 23:44:28 +0000
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur Sat, 23 Mar 2013 02:33:15 +0100
moduleapi: Revert previous commit and add comment, it's meant to be this way Matthew Wild Sat, 29 Sep 2012 17:07:08 +0100
moduleapi: Fix require of modulemanager (thanks mva!) Matthew Wild Sat, 29 Sep 2012 10:46:03 +0100
moduleapi: Clarify comment Matthew Wild Fri, 03 Aug 2012 14:07:41 +0100
moduleapi: If path name ends with '-cache' create table as weak (keys and values) Matthew Wild Mon, 30 Jul 2012 00:40:02 +0100
Merge with Florob Matthew Wild Sat, 28 Jul 2012 01:14:31 +0100
Eliminate direct setfenv usage Florian Zeitz Fri, 08 Jun 2012 05:04:38 +0200
moduleapi: Remove unused import of util.multitable Matthew Wild Thu, 19 Jul 2012 15:35:07 +0100
modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash) Matthew Wild Sat, 19 May 2012 15:39:16 +0100
moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash) Matthew Wild Fri, 18 May 2012 23:53:02 +0100
moduleapi: Don't auto-reload self when already reloading (fixes reload of modules with cyclic dependencies) Matthew Wild Fri, 11 May 2012 18:55:23 +0100
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 Sat, 28 Apr 2012 19:41:04 +0100
moduleapi: Import util.timer Matthew Wild Sat, 28 Apr 2012 02:40:36 +0100
moduleapi: Remove unused variable 'module_items' Matthew Wild Sat, 28 Apr 2012 02:24:41 +0100
moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza works for compat) Matthew Wild Fri, 27 Apr 2012 18:35:33 +0100
moduleapi: get_host_type(): Return nil for global modules (no host) Matthew Wild Fri, 27 Apr 2012 18:34:40 +0100
moduleapi: Fix parameters to unhook_object_event() Matthew Wild Thu, 26 Apr 2012 14:51:55 +0100
moduleapi: module:depends(): Don't load shared modules onto the current host if the current host is '*'... Matthew Wild Thu, 26 Apr 2012 07:04:59 +0100
moduleapi: Add module:unhook_object_event() Matthew Wild Thu, 26 Apr 2012 05:39:27 +0100
moduleapi: Add module:add_timer(delay, callback) - automatically halts the timer on module unload Matthew Wild Mon, 23 Apr 2012 15:38:40 +0100
moduleapi: module:depends(): Load shared modules onto the current host even if they are loaded globally already Matthew Wild Mon, 23 Apr 2012 14:15:07 +0100
moduleapi: module:provides(): Add "-provider" onto the key name Matthew Wild Mon, 23 Apr 2012 14:10:04 +0100
moduleapi: module:provides(): Fix usage of wrong table Matthew Wild Mon, 23 Apr 2012 14:09:35 +0100
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 Sat, 21 Apr 2012 22:52:15 +0100
moduleapi: Add module:send() as an alias for core_post_stanza() from the current host's origin Matthew Wild Thu, 15 Mar 2012 02:53:05 +0000
moduleapi: Add module:provides(), a shortcut to add an item with the current module's name Matthew Wild Thu, 15 Mar 2012 02:52:31 +0000
moduleapi: Set module.global = true when module:set_global() is called Matthew Wild Wed, 14 Mar 2012 21:33:15 +0000
moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules Matthew Wild Sun, 22 Jan 2012 19:48:53 +0000
moduleapi: Add module:depends(), a way to safely depend upon another module at runtime Matthew Wild Sun, 22 Jan 2012 19:35:50 +0000
modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object. Matthew Wild Sun, 22 Jan 2012 18:49:11 +0000
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild Sun, 22 Jan 2012 18:41:55 +0000