aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
Commit message (Expand)AuthorAgeFilesLines
* core.moduleapi: Fix min/maxinteger fallback for Lua 5.2Kim Alvefur2023-07-171-1/+1
* core.moduleapi: Add min/max range support to :get_option_periodKim Alvefur2023-07-171-11/+27
* moduleapi: Add :get_option_integer()Kim Alvefur2023-07-171-0/+14
* core.moduleapi: Accept boolean false to disable period settingKim Alvefur2023-07-161-1/+1
* core.moduleapi: Log error for unexpected types (booleans?) set as periodsKim Alvefur2023-07-161-0/+2
* core.moduleapi: Turn negative periods or "never" into infinityKim Alvefur2023-07-161-0/+7
* core.moduleapi: Improve handling of different types in :get_option_periodKim Alvefur2023-07-161-8/+8
* core.moduleapi: Add :get_option_period for parsing time intervalsKim Alvefur2023-07-161-0/+15
* core.moduleapi: Allow specifying an acceptable range for number optionsKim Alvefur2021-10-051-2/+14
* moduleapi: Add enum config option methodKim Alvefur2021-01-161-0/+9
* 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