aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc/mod_adhoc.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_adhoc: Simplify variable referencesKim Alvefur2022-03-221-2/+2
| | | | Since commands[node] was already stored in a local a few lines up
* Spelling: Fix various spelling mistakes (thanks timeless)Kim Alvefur2022-03-071-1/+1
| | | | | | Words, sometimes I wonder how they even work Maybe I missed something.
* mod_adhoc: Log commands provided at debug levelKim Alvefur2020-11-221-0/+2
|
* mod_adhoc: Improve permission setting (fix #1482) BCKim Alvefur2019-12-201-2/+2
| | | | | | | Rename 'user' permission mode to 'any' for clarity, too easily mistaken for what the 'local_user' setting does. It is also removed as a default and made a required argument.
* mod_adhoc: Remove unused variable [luacheck]Kim Alvefur2019-12-231-4/+4
|
* mod_adhoc: Add compat marker for older handling of adhoc itemsKim Alvefur2018-10-271-1/+1
| | | | | | | Most modules use the module:provides() API which add the '-provides' suffix. Previously module:add_item() was used. See 58714123f600
* mod_adhoc: Use util.iterators.sorted_pairs() to sort commandsMatthew Wild2018-09-211-5/+2
|
* mod_adhoc: Simplify iq handling by hooking on iq-set/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-20/+18
|
* mod_adhoc: Remove unused local [luacheck]Kim Alvefur2018-03-061-1/+1
|
* mod_adhoc: Rename variable to avoid name clash [luacheck]Kim Alvefur2017-12-051-2/+2
|
* plugins: Explicitly return to halt event propagation (session.send sometimes ↵Kim Alvefur2015-09-211-2/+4
| | | | does not return true)
* mod_adhoc: Add local_user permissionFlorian Zeitz2013-07-241-9/+20
|
* mod_adhoc: Use mod_disco for disco handlingFlorian Zeitz2013-07-241-52/+39
|
* mod_adhoc: Sort commands by node. This guarantees the order remains the same ↵Florian Zeitz2013-07-241-1/+5
| | | | across restarts etc.
* mod_adhoc, mod_admin_adhoc, mod_announce: Use module:provides() to manage ↵Florian Zeitz2012-06-121-0/+1
| | | | Ad-Hoc commands
* mod_adhoc: Use module:handle_items()Matthew Wild2011-12-101-11/+5
|
* mod_adhoc: Add support for commands only executable by global administratorsFlorian Zeitz2011-06-021-6/+9
|
* mod_adhoc: Answer disco#info for node=xmlns_cmdFlorian Zeitz2010-10-011-13/+23
|
* mod_adhoc: remove 0.7 compat codeFlorian Zeitz2010-09-011-3/+1
|
* mod_adhoc: Answer disco#info (This is a MUST in XEP-0050)Florian Zeitz2010-08-221-0/+25
|
* mod_adhoc: Code restructuringFlorian Zeitz2010-08-221-8/+6
|
* mod_adhoc: Update for new is_admin usageMatthew Wild2010-06-221-3/+1
|
* mod_adhoc: Scan through list of items on load, in case items have been added ↵Matthew Wild2010-06-111-1/+10
| | | | before we were loaded
* mod_adhoc: Imported from prosody-modules, thanks Florob!Matthew Wild2010-06-091-0/+67