Log

core/moduleapi.lua @ 12959:e331210beeb2

description author age
core.moduleapi: Record reverse dependencies Kim Alvefur Sun, 05 Mar 2023 14:07:08 +0100
core.moduleapi: Fix passing variable to logging Kim Alvefur Tue, 31 Jan 2023 07:48:21 +0100
core.moduleapi: Check for local role-aware sessions before e.g. s2s Kim Alvefur Mon, 29 Aug 2022 11:47:31 +0200
mod_authz_internal, and more: New iteration of role API Matthew Wild Wed, 17 Aug 2022 16:38:53 +0100
moduleapi: Stricter type check for actor in permission check Kim Alvefur Wed, 20 Jul 2022 13:08:07 +0200
moduleapi: Remove redundant expansion of ':' prefix in permission names Kim Alvefur Wed, 20 Jul 2022 13:07:04 +0200
moduleapi: Distribute permissions set from global modules to all hosts Kim Alvefur Wed, 20 Jul 2022 13:05:35 +0200
core.moduleapi: Expand permission name ':' prefix earlier Kim Alvefur Wed, 15 Jun 2022 23:04:17 +0200
core.moduleapi: Fixup method name Kim Alvefur Wed, 15 Jun 2022 23:03:15 +0200
Switch to a new role-based authorization framework, removing is_admin() Matthew Wild Wed, 15 Jun 2022 12:15:01 +0100
compat: Use table.pack (there since Lua 5.2) over our util.table Kim Alvefur Mon, 11 Jul 2022 19:15:24 +0200
compat: Remove handling of Lua 5.1 location of 'unpack' function Kim Alvefur Mon, 11 Jul 2022 19:07:38 +0200
core.moduleapi: Fix 'global' property via :context() - #1748 0.12 Kim Alvefur Wed, 27 Apr 2022 17:18:46 +0200
modulemanager, moduleapi: Switch to new pluginloader interface Matthew Wild Fri, 04 Feb 2022 14:11:46 +0000
moduleapi: Support stripping of multi-word from module names Matthew Wild Wed, 22 Dec 2021 14:40:42 +0000
mod_cron: Add a 'weekly' job frequency Kim Alvefur Fri, 03 Dec 2021 09:05:41 +0100
core.moduleapi: Add API for adding daily or hourly tasks via mod_cron Kim Alvefur Sun, 21 Nov 2021 18:13:21 +0100
mod_admin_shell: List collected metrics in module:info Kim Alvefur Wed, 24 Nov 2021 20:03:38 +0100
core.moduleapi: Fix name of renamed API in log message Kim Alvefur Thu, 18 Nov 2021 16:26:54 +0100
core.moduleapi: Ensure module:send_iq() handler priority over mod_iq Kim Alvefur Fri, 24 Sep 2021 20:26:21 +0200
core.moduleapi: Enable full JID origin queries with module:send_iq() Kim Alvefur Fri, 24 Sep 2021 20:17:31 +0200
core.moduleapi: Filter out unrelated direct replies to module:send_iq Kim Alvefur Fri, 24 Sep 2021 20:12:16 +0200
Statistics: Rewrite statistics backends to use OpenMetrics Jonas Schäfer Sun, 18 Apr 2021 11:47:41 +0200
core.moduleapi: Return resource path from module:get_directory() (API BC) Kim Alvefur Fri, 09 Oct 2020 16:37:15 +0200
core.moduleapi: Use resource path for :load_resource() Kim Alvefur Wed, 07 Oct 2020 16:10:51 +0200
core.moduleapi: Allow passing a config table trough :measure Kim Alvefur Fri, 04 Jan 2019 07:00:45 +0100
moduleapi: Rename argument to silence luacheck Kim Alvefur Wed, 01 Apr 2020 22:32:50 +0200
moduleapi: Fix handling of replies to :send_iq from internal modules Kim Alvefur Sun, 22 Mar 2020 22:32:26 +0100
core.moduleapi: Hook correct event type in some cases Kim Alvefur Thu, 16 Jan 2020 16:30:26 +0100
core.moduleapi: Rename local name for util.error for consistency Kim Alvefur Mon, 30 Dec 2019 09:54:49 +0100
core.moduleapi: Fix error context in :send_iq API Kim Alvefur Mon, 30 Dec 2019 09:53:10 +0100
core.moduleapi: Restructure send_iq method for more atomic cleanup Kim Alvefur Wed, 21 Aug 2019 23:18:08 +0200
core.moduleapi: Uppercase "IQ stanza" for consistency Kim Alvefur Wed, 21 Aug 2019 23:15:05 +0200
moduleapi: Log suppressed status priority and message when not overriding Matthew Wild Tue, 26 Mar 2019 17:22:56 +0000
moduleapi: Remove overly-verbose debug logging on module status change Matthew Wild Tue, 26 Mar 2019 17:22:25 +0000
moduleapi: New API for modules to set a status Matthew Wild Tue, 19 Mar 2019 09:04:40 +0000
core.moduleapi: Use convenience function for creating error object from stanza Kim Alvefur Sun, 30 Dec 2018 20:35:20 +0100
core.moduleapi: Use util.error for :send_iq errors Kim Alvefur Sun, 30 Dec 2018 16:03:15 +0100
core.moduleapi: Move util imports to top Kim Alvefur Sun, 30 Dec 2018 14:26:58 +0100
core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714) Kim Alvefur Fri, 28 Dec 2018 20:51:31 +0100
moduleapi: Use pack from util.table Kim Alvefur Sat, 08 Dec 2018 16:35:00 +0100
moduleapi: Prevent loading disabled module as dependency of enabled one Kim Alvefur Thu, 25 Oct 2018 17:11:10 +0200
core.moduleapi: Remove redundant condition Kim Alvefur Thu, 18 Oct 2018 00:49:29 +0200
moduleapi: Remove multiple-parameters feature from module:shared() Matthew Wild Wed, 08 Aug 2018 08:19:01 +0100
moduleapi: Use :send API from :broadcast for compactness Kim Alvefur Sat, 14 Jul 2018 21:25:34 +0200
moduleapi: Lazy-load statsmanager on demand Kim Alvefur Sat, 07 Jul 2018 21:55:18 +0200
moduleapi: Lazy-load configmanager on demand simplify dependency graph Kim Alvefur Sat, 07 Jul 2018 21:55:00 +0200
moduleapi: Remove unused and undocumented :has_feature and :has_identity Kim Alvefur Fri, 23 Feb 2018 17:11:59 +0100
moduleapi: Warn if a module being loaded as a dependency has been disabled Kim Alvefur Wed, 27 Dec 2017 00:42:57 +0100
Merge 0.10->trunk Kim Alvefur Thu, 16 Mar 2017 23:49:27 +0100
core.moduleapi: Factor out code for getting a scalar config option Kim Alvefur Wed, 15 Mar 2017 15:07:16 +0100
Merge 0.10->trunk Kim Alvefur Mon, 06 Mar 2017 01:14:32 +0100
core: Split some very long lines [luacheck] Kim Alvefur Sat, 04 Mar 2017 17:49:48 +0100
Merge 0.10->trunk Matthew Wild Wed, 31 Aug 2016 16:25:21 +0100
moduleapi: 'duration' became 'times' Matthew Wild Wed, 31 Aug 2016 16:10:16 +0100
Merge 0.10->trunk Kim Alvefur Thu, 07 Apr 2016 13:36:58 +0200
moduleapi: Allow an origin session to be passed to module:send() Kim Alvefur Wed, 06 Apr 2016 21:29:30 +0200
Merge 0.10->trunk Kim Alvefur Thu, 18 Feb 2016 15:00:17 +0100
loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck] Kim Alvefur Thu, 18 Feb 2016 14:57:51 +0100
loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+ Kim Alvefur Thu, 18 Feb 2016 14:57:04 +0100
moduleapi: Silence luacheck warning about unused 'id' parameter Matthew Wild Fri, 05 Feb 2016 00:10:27 +0000
Merge 0.10->trunk Matthew Wild Fri, 05 Feb 2016 00:04:11 +0000
moduleapi: Add API method for getting a file path Kim Alvefur Thu, 04 Feb 2016 10:05:35 +0100
Merge 0.10->trunk Matthew Wild Mon, 01 Feb 2016 21:28:07 +0000
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 Matthew Wild Mon, 01 Feb 2016 21:26:15 +0000
Merge 0.10->trunk Kim Alvefur Thu, 20 Aug 2015 13:05:22 +0200
core.*: Remove use of module() function Kim Alvefur Sat, 21 Feb 2015 10:42:19 +0100
Merge 0.10->trunk Matthew Wild Wed, 06 May 2015 19:26:53 +0100
moduleapi: Import util.stanza required for module:broadcast() Matthew Wild Wed, 06 May 2015 19:11:27 +0100
moduleapi: Add luacheck annotation Matthew Wild Wed, 06 May 2015 19:02:44 +0100
moduleapi: Minor variable renaming to avoid clashes with the 'type' function Matthew Wild Wed, 06 May 2015 19:02:07 +0100
moduleapi: Clear self.event_handlers when unhooking an event, to prevent leaks Matthew Wild Wed, 06 May 2015 19:01:16 +0100
moduleapi: module:measure_event(), module:measure_global_event(): Fix copy/paste error Matthew Wild Wed, 06 May 2015 19:00:05 +0100
moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable Matthew Wild Wed, 06 May 2015 18:58:29 +0100
moduleapi: Add module:broadcast() to send a stanza to a list of JIDs Matthew Wild Wed, 06 May 2015 18:37:46 +0100
Merge 0.10->trunk Kim Alvefur Sun, 03 May 2015 18:39:27 +0200
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