core/moduleapi.lua
Wed, 27 Apr 2022 17:18:46 +0200 Kim Alvefur core.moduleapi: Fix 'global' property via :context() - #1748 0.12
Fri, 04 Feb 2022 14:11:46 +0000 Matthew Wild modulemanager, moduleapi: Switch to new pluginloader interface
Wed, 22 Dec 2021 14:40:42 +0000 Matthew Wild moduleapi: Support stripping of multi-word from module names
Fri, 03 Dec 2021 09:05:41 +0100 Kim Alvefur mod_cron: Add a 'weekly' job frequency
Sun, 21 Nov 2021 18:13:21 +0100 Kim Alvefur core.moduleapi: Add API for adding daily or hourly tasks via mod_cron
Wed, 24 Nov 2021 20:03:38 +0100 Kim Alvefur mod_admin_shell: List collected metrics in module:info
Thu, 18 Nov 2021 16:26:54 +0100 Kim Alvefur core.moduleapi: Fix name of renamed API in log message
Fri, 24 Sep 2021 20:26:21 +0200 Kim Alvefur core.moduleapi: Ensure module:send_iq() handler priority over mod_iq
Fri, 24 Sep 2021 20:17:31 +0200 Kim Alvefur core.moduleapi: Enable full JID origin queries with module:send_iq()
Fri, 24 Sep 2021 20:12:16 +0200 Kim Alvefur core.moduleapi: Filter out unrelated direct replies to module:send_iq
Sun, 18 Apr 2021 11:47:41 +0200 Jonas Schäfer Statistics: Rewrite statistics backends to use OpenMetrics
Fri, 09 Oct 2020 16:37:15 +0200 Kim Alvefur core.moduleapi: Return resource path from module:get_directory() (API BC)
Wed, 07 Oct 2020 16:10:51 +0200 Kim Alvefur core.moduleapi: Use resource path for :load_resource()
Fri, 04 Jan 2019 07:00:45 +0100 Kim Alvefur core.moduleapi: Allow passing a config table trough :measure
Wed, 01 Apr 2020 22:32:50 +0200 Kim Alvefur moduleapi: Rename argument to silence luacheck
Sun, 22 Mar 2020 22:32:26 +0100 Kim Alvefur moduleapi: Fix handling of replies to :send_iq from internal modules
Thu, 16 Jan 2020 16:30:26 +0100 Kim Alvefur core.moduleapi: Hook correct event type in some cases
Mon, 30 Dec 2019 09:54:49 +0100 Kim Alvefur core.moduleapi: Rename local name for util.error for consistency
Mon, 30 Dec 2019 09:53:10 +0100 Kim Alvefur core.moduleapi: Fix error context in :send_iq API
Wed, 21 Aug 2019 23:18:08 +0200 Kim Alvefur core.moduleapi: Restructure send_iq method for more atomic cleanup
Wed, 21 Aug 2019 23:15:05 +0200 Kim Alvefur core.moduleapi: Uppercase "IQ stanza" for consistency
Tue, 26 Mar 2019 17:22:56 +0000 Matthew Wild moduleapi: Log suppressed status priority and message when not overriding
Tue, 26 Mar 2019 17:22:25 +0000 Matthew Wild moduleapi: Remove overly-verbose debug logging on module status change
Tue, 19 Mar 2019 09:04:40 +0000 Matthew Wild moduleapi: New API for modules to set a status
Sun, 30 Dec 2018 20:35:20 +0100 Kim Alvefur core.moduleapi: Use convenience function for creating error object from stanza
Sun, 30 Dec 2018 16:03:15 +0100 Kim Alvefur core.moduleapi: Use util.error for :send_iq errors
Sun, 30 Dec 2018 14:26:58 +0100 Kim Alvefur core.moduleapi: Move util imports to top
Fri, 28 Dec 2018 20:51:31 +0100 Kim Alvefur core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714)
Sat, 08 Dec 2018 16:35:00 +0100 Kim Alvefur moduleapi: Use pack from util.table
Thu, 25 Oct 2018 17:11:10 +0200 Kim Alvefur moduleapi: Prevent loading disabled module as dependency of enabled one
Thu, 18 Oct 2018 00:49:29 +0200 Kim Alvefur core.moduleapi: Remove redundant condition
Wed, 08 Aug 2018 08:19:01 +0100 Matthew Wild moduleapi: Remove multiple-parameters feature from module:shared()
Sat, 14 Jul 2018 21:25:34 +0200 Kim Alvefur moduleapi: Use :send API from :broadcast for compactness
Sat, 07 Jul 2018 21:55:18 +0200 Kim Alvefur moduleapi: Lazy-load statsmanager on demand
Sat, 07 Jul 2018 21:55:00 +0200 Kim Alvefur moduleapi: Lazy-load configmanager on demand simplify dependency graph
Fri, 23 Feb 2018 17:11:59 +0100 Kim Alvefur moduleapi: Remove unused and undocumented :has_feature and :has_identity
Wed, 27 Dec 2017 00:42:57 +0100 Kim Alvefur moduleapi: Warn if a module being loaded as a dependency has been disabled
Thu, 16 Mar 2017 23:49:27 +0100 Kim Alvefur Merge 0.10->trunk
Wed, 15 Mar 2017 15:07:16 +0100 Kim Alvefur core.moduleapi: Factor out code for getting a scalar config option
Mon, 06 Mar 2017 01:14:32 +0100 Kim Alvefur Merge 0.10->trunk
Sat, 04 Mar 2017 17:49:48 +0100 Kim Alvefur core: Split some very long lines [luacheck]
Wed, 31 Aug 2016 16:25:21 +0100 Matthew Wild Merge 0.10->trunk
Wed, 31 Aug 2016 16:10:16 +0100 Matthew Wild moduleapi: 'duration' became 'times'
Thu, 07 Apr 2016 13:36:58 +0200 Kim Alvefur Merge 0.10->trunk
Wed, 06 Apr 2016 21:29:30 +0200 Kim Alvefur moduleapi: Allow an origin session to be passed to module:send()
Thu, 18 Feb 2016 15:00:17 +0100 Kim Alvefur Merge 0.10->trunk
Thu, 18 Feb 2016 14:57:51 +0100 Kim Alvefur loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck]
Thu, 18 Feb 2016 14:57:04 +0100 Kim Alvefur loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+
Fri, 05 Feb 2016 00:10:27 +0000 Matthew Wild moduleapi: Silence luacheck warning about unused 'id' parameter
Fri, 05 Feb 2016 00:04:11 +0000 Matthew Wild Merge 0.10->trunk
Thu, 04 Feb 2016 10:05:35 +0100 Kim Alvefur moduleapi: Add API method for getting a file path
Mon, 01 Feb 2016 21:28:07 +0000 Matthew Wild Merge 0.10->trunk
Mon, 01 Feb 2016 21:26:15 +0000 Matthew Wild modulemanager, util.pluginloader: Move logic for locating some module libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call
Thu, 20 Aug 2015 13:05:22 +0200 Kim Alvefur Merge 0.10->trunk
Sat, 21 Feb 2015 10:42:19 +0100 Kim Alvefur core.*: Remove use of module() function
Wed, 06 May 2015 19:26:53 +0100 Matthew Wild Merge 0.10->trunk
Wed, 06 May 2015 19:11:27 +0100 Matthew Wild moduleapi: Import util.stanza required for module:broadcast()
Wed, 06 May 2015 19:02:44 +0100 Matthew Wild moduleapi: Add luacheck annotation
Wed, 06 May 2015 19:02:07 +0100 Matthew Wild moduleapi: Minor variable renaming to avoid clashes with the 'type' function
Wed, 06 May 2015 19:01:16 +0100 Matthew Wild moduleapi: Clear self.event_handlers when unhooking an event, to prevent leaks
Wed, 06 May 2015 19:00:05 +0100 Matthew Wild moduleapi: module:measure_event(), module:measure_global_event(): Fix copy/paste error
Wed, 06 May 2015 18:58:29 +0100 Matthew Wild moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable
Wed, 06 May 2015 18:37:46 +0100 Matthew Wild moduleapi: Add module:broadcast() to send a stanza to a list of JIDs
Sun, 03 May 2015 18:39:27 +0200 Kim Alvefur Merge 0.10->trunk
Tue, 28 Apr 2015 14:18:43 +0100 Matthew Wild moduleapi: New methods for modules to conveniently wrap events
Tue, 28 Apr 2015 13:52:07 +0100 Matthew Wild moduleapi: Experimental API for modules to measure the rate+duration of events
Wed, 21 Jan 2015 01:29:00 +0000 Matthew Wild Merge 0.10->trunk
Wed, 21 Jan 2015 01:28:12 +0000 Matthew Wild moduleapi: Module API for statsmanager
Tue, 23 Sep 2014 01:44:16 +0200 Kim Alvefur Merge 0.10->trunk
Tue, 23 Sep 2014 00:23:33 +0200 Kim Alvefur core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)
Thu, 18 Sep 2014 02:22:48 +0200 Kim Alvefur Merge 0.10->trunk
Wed, 17 Sep 2014 14:48:49 +0200 Kim Alvefur core.modulemanager, core.moduleapi: Hack around dependency loop
Wed, 17 Sep 2014 14:47:52 +0200 Kim Alvefur core.moduleapi: Use require instead of global to get storagemanager in module:open_store()
Fri, 09 May 2014 23:35:54 +0200 Kim Alvefur Merge 0.10->trunk
Fri, 09 May 2014 19:35:29 +0200 Kim Alvefur core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths
Wed, 06 Nov 2013 14:38:51 -0500 Waqas Hussain core.moduleapi: Fix some global accesses.
Wed, 06 Nov 2013 12:56:35 -0500 daurnimator core/moduleapi: Return timer object from module:add_timer
Mon, 16 Sep 2013 18:41:09 +0100 Matthew Wild moduleapi: Add module:unhook()
Fri, 09 Aug 2013 17:48:21 +0200 Florian Zeitz Remove all trailing whitespace
Tue, 06 Aug 2013 17:17:23 +0100 Matthew Wild moduleapi: module:get_host_type() now returns 'global' for * and 'local' for non-components
Sat, 27 Apr 2013 19:44:37 +0200 Kim Alvefur moduleapi: in module:provides(), add the name of the module in item._provided_by
Sat, 27 Apr 2013 19:14:22 +0200 Kim Alvefur moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals
Sat, 27 Apr 2013 14:59:00 +0100 Matthew Wild moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set
Sat, 27 Apr 2013 14:57:24 +0100 Matthew Wild 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.
Fri, 19 Apr 2013 14:42:32 +0200 Kim Alvefur moduleapi: Make module:open_store() open a store named after the calling module by default
Fri, 19 Apr 2013 13:29:47 +0100 Matthew Wild moduleapi: Add module:open_store() as a front-end to storagemanager.open()
Fri, 05 Apr 2013 19:13:46 +0100 Matthew Wild moduleapi: assert() that prosody.core_post_stanza is not nil
Mon, 01 Apr 2013 23:44:28 +0000 Marco Cirillo moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API.
Sat, 23 Mar 2013 02:33:15 +0100 Kim Alvefur core.*: Complete removal of all traces of the "core" section and section-related code.
Sat, 29 Sep 2012 17:07:08 +0100 Matthew Wild moduleapi: Revert previous commit and add comment, it's meant to be this way
Sat, 29 Sep 2012 10:46:03 +0100 Matthew Wild moduleapi: Fix require of modulemanager (thanks mva!)
Fri, 03 Aug 2012 14:07:41 +0100 Matthew Wild moduleapi: Clarify comment
Mon, 30 Jul 2012 00:40:02 +0100 Matthew Wild moduleapi: If path name ends with '-cache' create table as weak (keys and values)
Sat, 28 Jul 2012 01:14:31 +0100 Matthew Wild Merge with Florob
Fri, 08 Jun 2012 05:04:38 +0200 Florian Zeitz Eliminate direct setfenv usage
Thu, 19 Jul 2012 15:35:07 +0100 Matthew Wild moduleapi: Remove unused import of util.multitable
Sat, 19 May 2012 15:39:16 +0100 Matthew Wild modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash)
Fri, 18 May 2012 23:53:02 +0100 Matthew Wild moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash)
Fri, 11 May 2012 18:55:23 +0100 Matthew Wild moduleapi: Don't auto-reload self when already reloading (fixes reload of modules with cyclic dependencies)
Sat, 28 Apr 2012 19:41:04 +0100 Matthew Wild moduleapi: Add module:get_directory() to get module file's directory, and module:load_resource() to load a file relative to that directory
Sat, 28 Apr 2012 02:40:36 +0100 Matthew Wild moduleapi: Import util.timer
Sat, 28 Apr 2012 02:24:41 +0100 Matthew Wild moduleapi: Remove unused variable 'module_items'
Fri, 27 Apr 2012 18:35:33 +0100 Matthew Wild moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza works for compat)
Fri, 27 Apr 2012 18:34:40 +0100 Matthew Wild moduleapi: get_host_type(): Return nil for global modules (no host)
Thu, 26 Apr 2012 14:51:55 +0100 Matthew Wild moduleapi: Fix parameters to unhook_object_event()
Thu, 26 Apr 2012 07:04:59 +0100 Matthew Wild moduleapi: module:depends(): Don't load shared modules onto the current host if the current host is '*'...
Thu, 26 Apr 2012 05:39:27 +0100 Matthew Wild moduleapi: Add module:unhook_object_event()
Mon, 23 Apr 2012 15:38:40 +0100 Matthew Wild moduleapi: Add module:add_timer(delay, callback) - automatically halts the timer on module unload
Mon, 23 Apr 2012 14:15:07 +0100 Matthew Wild moduleapi: module:depends(): Load shared modules onto the current host even if they are loaded globally already
Mon, 23 Apr 2012 14:10:04 +0100 Matthew Wild moduleapi: module:provides(): Add "-provider" onto the key name
Mon, 23 Apr 2012 14:09:35 +0100 Matthew Wild moduleapi: module:provides(): Fix usage of wrong table
Sat, 21 Apr 2012 22:52:15 +0100 Matthew Wild 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)
Thu, 15 Mar 2012 02:53:05 +0000 Matthew Wild moduleapi: Add module:send() as an alias for core_post_stanza() from the current host's origin
Thu, 15 Mar 2012 02:52:31 +0000 Matthew Wild moduleapi: Add module:provides(), a shortcut to add an item with the current module's name
Wed, 14 Mar 2012 21:33:15 +0000 Matthew Wild moduleapi: Set module.global = true when module:set_global() is called
Sun, 22 Jan 2012 19:48:53 +0000 Matthew Wild moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules
Sun, 22 Jan 2012 19:35:50 +0000 Matthew Wild moduleapi: Add module:depends(), a way to safely depend upon another module at runtime
Sun, 22 Jan 2012 18:49:11 +0000 Matthew Wild 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.
Sun, 22 Jan 2012 18:41:55 +0000 Matthew Wild modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay)
less more (0) tip