Log

core/moduleapi.lua @ 12054:0116fa57f05c

description author age
mod_cron: Add a 'weekly' job frequency Kim Alvefur 2021-12-03
core.moduleapi: Add API for adding daily or hourly tasks via mod_cron Kim Alvefur 2021-11-21
mod_admin_shell: List collected metrics in module:info Kim Alvefur 2021-11-24
core.moduleapi: Fix name of renamed API in log message Kim Alvefur 2021-11-18
core.moduleapi: Ensure module:send_iq() handler priority over mod_iq Kim Alvefur 2021-09-24
core.moduleapi: Enable full JID origin queries with module:send_iq() Kim Alvefur 2021-09-24
core.moduleapi: Filter out unrelated direct replies to module:send_iq Kim Alvefur 2021-09-24
Statistics: Rewrite statistics backends to use OpenMetrics Jonas Schäfer 2021-04-18
core.moduleapi: Return resource path from module:get_directory() (API BC) Kim Alvefur 2020-10-09
core.moduleapi: Use resource path for :load_resource() Kim Alvefur 2020-10-07
core.moduleapi: Allow passing a config table trough :measure Kim Alvefur 2019-01-04
moduleapi: Rename argument to silence luacheck Kim Alvefur 2020-04-01
moduleapi: Fix handling of replies to :send_iq from internal modules Kim Alvefur 2020-03-22
core.moduleapi: Hook correct event type in some cases Kim Alvefur 2020-01-16
core.moduleapi: Rename local name for util.error for consistency Kim Alvefur 2019-12-30
core.moduleapi: Fix error context in :send_iq API Kim Alvefur 2019-12-30
core.moduleapi: Restructure send_iq method for more atomic cleanup Kim Alvefur 2019-08-21
core.moduleapi: Uppercase "IQ stanza" for consistency Kim Alvefur 2019-08-21
moduleapi: Log suppressed status priority and message when not overriding Matthew Wild 2019-03-26
moduleapi: Remove overly-verbose debug logging on module status change Matthew Wild 2019-03-26
moduleapi: New API for modules to set a status Matthew Wild 2019-03-19
core.moduleapi: Use convenience function for creating error object from stanza Kim Alvefur 2018-12-30
core.moduleapi: Use util.error for :send_iq errors Kim Alvefur 2018-12-30
core.moduleapi: Move util imports to top Kim Alvefur 2018-12-30
core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714) Kim Alvefur 2018-12-28
moduleapi: Use pack from util.table Kim Alvefur 2018-12-08
moduleapi: Prevent loading disabled module as dependency of enabled one Kim Alvefur 2018-10-25
core.moduleapi: Remove redundant condition Kim Alvefur 2018-10-17
moduleapi: Remove multiple-parameters feature from module:shared() Matthew Wild 2018-08-08
moduleapi: Use :send API from :broadcast for compactness Kim Alvefur 2018-07-14
moduleapi: Lazy-load statsmanager on demand Kim Alvefur 2018-07-07
moduleapi: Lazy-load configmanager on demand simplify dependency graph Kim Alvefur 2018-07-07
moduleapi: Remove unused and undocumented :has_feature and :has_identity Kim Alvefur 2018-02-23
moduleapi: Warn if a module being loaded as a dependency has been disabled Kim Alvefur 2017-12-26
Merge 0.10->trunk Kim Alvefur 2017-03-16
core.moduleapi: Factor out code for getting a scalar config option Kim Alvefur 2017-03-15
Merge 0.10->trunk Kim Alvefur 2017-03-06
core: Split some very long lines [luacheck] Kim Alvefur 2017-03-04
Merge 0.10->trunk Matthew Wild 2016-08-31
moduleapi: 'duration' became 'times' Matthew Wild 2016-08-31
Merge 0.10->trunk Kim Alvefur 2016-04-07
moduleapi: Allow an origin session to be passed to module:send() Kim Alvefur 2016-04-06
Merge 0.10->trunk Kim Alvefur 2016-02-18
loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck] Kim Alvefur 2016-02-18
loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+ Kim Alvefur 2016-02-18
moduleapi: Silence luacheck warning about unused 'id' parameter Matthew Wild 2016-02-05
Merge 0.10->trunk Matthew Wild 2016-02-05
moduleapi: Add API method for getting a file path Kim Alvefur 2016-02-04
Merge 0.10->trunk Matthew Wild 2016-02-01
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 2016-02-01
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
moduleapi: Add module:provides(), a shortcut to add an item with the current module's name Matthew Wild 2012-03-15
moduleapi: Set module.global = true when module:set_global() is called Matthew Wild 2012-03-14
moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules Matthew Wild 2012-01-22
moduleapi: Add module:depends(), a way to safely depend upon another module at runtime Matthew Wild 2012-01-22
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 2012-01-22
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild 2012-01-22