aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
Commit message (Expand)AuthorAgeFilesLines
* moduleapi: Add luacheck annotation to suppress warning about unused selfMatthew Wild2023-04-011-1/+1
* moduleapi: Add module:once() to execute a function after module load/startupMatthew Wild2023-04-011-0/+5
* moduleapi: Add 'peek' to :may() and new :could() helper to suppress loggingMatthew Wild2023-03-261-7/+19
* moduleapi: may: Fail early if a local session has no role assignedMatthew Wild2023-03-251-3/+8
* core: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-22/+22
* core.moduleapi: Record reverse dependenciesKim Alvefur2023-03-051-0/+4
* core.moduleapi: Fix passing variable to loggingKim Alvefur2023-01-311-1/+1
* core.moduleapi: Check for local role-aware sessions before e.g. s2sKim Alvefur2022-08-291-9/+9
* mod_authz_internal, and more: New iteration of role APIMatthew Wild2022-08-171-1/+2
* moduleapi: Stricter type check for actor in permission checkKim Alvefur2022-07-201-1/+1
* moduleapi: Remove redundant expansion of ':' prefix in permission namesKim Alvefur2022-07-201-1/+0
* moduleapi: Distribute permissions set from global modules to all hostsKim Alvefur2022-07-201-0/+8
* core.moduleapi: Expand permission name ':' prefix earlierKim Alvefur2022-06-151-3/+3
* core.moduleapi: Fixup method nameKim Alvefur2022-06-151-1/+1
* Switch to a new role-based authorization framework, removing is_admin()Matthew Wild2022-06-151-0/+63
* compat: Use table.pack (there since Lua 5.2) over our util.tableKim Alvefur2022-07-111-1/+1
* compat: Remove handling of Lua 5.1 location of 'unpack' functionKim Alvefur2022-07-111-1/+1
* core.moduleapi: Fix 'global' property via :context() - #1748Kim Alvefur2022-04-271-1/+1
* modulemanager, moduleapi: Switch to new pluginloader interfaceMatthew Wild2022-02-041-2/+2
* moduleapi: Support stripping of multi-word from module namesMatthew Wild2021-12-221-1/+1
* mod_cron: Add a 'weekly' job frequencyKim Alvefur2021-12-031-0/+5
* core.moduleapi: Add API for adding daily or hourly tasks via mod_cronKim Alvefur2021-11-211-0/+15
* mod_admin_shell: List collected metrics in module:infoKim Alvefur2021-11-241-0/+2
* core.moduleapi: Fix name of renamed API in log messageKim Alvefur2021-11-181-1/+1
* core.moduleapi: Ensure module:send_iq() handler priority over mod_iqKim Alvefur2021-09-241-2/+2
* core.moduleapi: Enable full JID origin queries with module:send_iq()Kim Alvefur2021-09-241-2/+11
* core.moduleapi: Filter out unrelated direct replies to module:send_iqKim Alvefur2021-09-241-1/+4
* Statistics: Rewrite statistics backends to use OpenMetricsJonas Schäfer2021-04-181-19/+26
* core.moduleapi: Return resource path from module:get_directory() (API BC)Kim Alvefur2020-10-091-2/+2
* core.moduleapi: Use resource path for :load_resource()Kim Alvefur2020-10-071-1/+1
* core.moduleapi: Allow passing a config table trough :measureKim Alvefur2019-01-041-2/+2
* moduleapi: Rename argument to silence luacheckKim Alvefur2020-04-011-2/+2
* moduleapi: Fix handling of replies to :send_iq from internal modulesKim Alvefur2020-03-221-1/+10
* core.moduleapi: Hook correct event type in some casesKim Alvefur2020-01-161-1/+2
* core.moduleapi: Rename local name for util.error for consistencyKim Alvefur2019-12-301-6/+6
* core.moduleapi: Fix error context in :send_iq APIKim Alvefur2019-12-301-1/+1
* core.moduleapi: Restructure send_iq method for more atomic cleanupKim Alvefur2019-08-211-16/+23
* core.moduleapi: Uppercase "IQ stanza" for consistencyKim Alvefur2019-08-211-1/+1
* moduleapi: Log suppressed status priority and message when not overridingMatthew Wild2019-03-261-1/+1
* moduleapi: Remove overly-verbose debug logging on module status changeMatthew Wild2019-03-261-1/+0
* moduleapi: New API for modules to set a statusMatthew Wild2019-03-191-0/+31
* core.moduleapi: Use convenience function for creating error object from stanzaKim Alvefur2018-12-301-3/+1
* core.moduleapi: Use util.error for :send_iq errorsKim Alvefur2018-12-301-5/+21
* core.moduleapi: Move util imports to topKim Alvefur2018-12-301-2/+4
* core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714)Kim Alvefur2018-12-281-0/+65
* moduleapi: Use pack from util.tableKim Alvefur2018-12-081-1/+1
* moduleapi: Prevent loading disabled module as dependency of enabled oneKim Alvefur2018-10-251-3/+3
* core.moduleapi: Remove redundant conditionKim Alvefur2018-10-181-1/+1
* moduleapi: Remove multiple-parameters feature from module:shared()Matthew Wild2018-08-081-25/+24
* moduleapi: Use :send API from :broadcast for compactnessKim Alvefur2018-07-141-1/+1