aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_admin_telnet: Factor out function for collecting all c2s sessions for ↵Kim Alvefur2019-07-261-2/+6
| | | | easier reuse
* mod_admin_telnet: Include both c2s connections and sessions in c2s:show()Kim Alvefur2019-07-261-1/+3
| | | | This way both incomplete connections and hibernating c2s sessions are shown.
* mod_admin_telnet: Move error handling to thread callback (fixes #1391)Kim Alvefur2019-05-101-7/+4
| | | | Avoids yielding over pcall boundry, fixes xmpp:ping() command on Lua 5.1
* mod_admin_telnet: Check for simple commands before executing in sandboxKim Alvefur2019-05-101-5/+5
| | | | | | This makes fixing yield over pcall boundry issue easier since it would have jumped to the thread error handler instead of proceeding to checking for simple commands.
* mod_admin_telnet: Collect array from Bosh connections when appending to ↵Michel Le Bihan2019-06-031-1/+1
| | | | | | connection list Fixes #1356
* mod_admin_telnet: include BOSH connections in c2s:count (#998)Arc Riley2019-05-021-1/+3
|
* mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998)Arc Riley2019-05-021-0/+6
|
* mod_admin_telnet: include BOSH connections in c2s session commands (#998)Arc Riley2019-05-021-0/+1
|
* mod_admin_telnet: Adds c2s:closeall() (Fixes #1315)Jo?o Duarte2019-04-171-0/+11
|
* mod_admin_telnet: Show module status in module:list()Matthew Wild2019-03-191-1/+6
|
* mod_admin_telnet: sttas:show: Use format option that allows float numbersKim Alvefur2019-01-161-1/+1
| | | | string.format("%d", 0.5) causes an error on Lua 5.3
* mod_admin_telnet: Sort stats by nameKim Alvefur2019-01-041-1/+1
|
* mod_admin_telnet: Serialize config values (table: 0x123abc isn't useful)Kim Alvefur2019-01-041-1/+2
|
* mod_admin_telnet: config:get: Assume the global section if only one argument ↵Kim Alvefur2019-01-041-0/+3
| | | | is given
* mod_admin_telnet: Remove the long gone 'section' argument in the ↵Kim Alvefur2019-01-041-2/+2
| | | | undocumented config:get command
* core.moduleapi: Use util.error for :send_iq errorsKim Alvefur2018-12-301-3/+0
|
* mod_admin_telnet: Validate hostnames in xmpp:ping commandKim Alvefur2018-12-291-2/+11
| | | | Attempt to ping some invalid hostnames cause weird behavior
* mod_admin_telnet: Make xmpp:ping command wait and report the replyKim Alvefur2018-12-281-4/+19
|
* mod_admin_telnet: Enable async processing using util.asyncKim Alvefur2018-12-271-2/+22
|
* mod_admin_telnet: Invert host existence checkKim Alvefur2018-12-281-5/+4
| | | | Simplifies and reduces indentation
* admin_telnet: show when bidi is used on s2sMaxime ?pep? Buquet2018-12-181-0/+3
|
* various: Don't rely on _G.unpack existingKim Alvefur2018-12-081-0/+1
|
* mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http')Matthew Wild2018-10-091-2/+5
|
* mod_admin_telnet: Guard against missing table fieldKim Alvefur2018-09-301-1/+1
|
* mod_admin_telnet: Create metatable only onceKim Alvefur2018-09-301-1/+2
|
* mod_admin_telnet: Remove unused histogram [luacheck]Kim Alvefur2018-09-301-2/+0
|
* mod_admin_telnet: Remove unused variable [luacheck]Kim Alvefur2018-09-301-1/+1
|
* mod_admin_telnet: Import net.server instead of relying on globalKim Alvefur2018-09-301-0/+1
|
* mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash ↵Kim Alvefur2018-09-301-15/+14
| | | | with 'hosts' arguments [luacheck]
* mod_admin_telnet: Remove or rename various unused arguments and variables ↵Kim Alvefur2018-09-301-15/+15
| | | | [luacheck]
* mod_admin_telnet: Rename variable to avoid name clash [luacheck]Kim Alvefur2018-09-301-2/+2
|
* mod_admin_telnet: Fix local reference to util.iteratorKim Alvefur2018-09-291-2/+2
|
* mod_admin_telnet: Split out sort function for clarityMatthew Wild2018-09-211-5/+7
|
* mod_admin_telnet: Make use of util.iterators.sorted_pairs()Matthew Wild2018-09-211-10/+7
|
* mod_admin_telnet: Rename timer:info() -> debug:timers()Matthew Wild2018-07-101-37/+38
|
* mod_admin_telnet: Add some experimental commands for inspecting statsMatthew Wild2018-07-041-0/+314
|
* Merge 0.10->trunkMatthew Wild2018-06-221-0/+21
|\
| * mod_admin_telnet: Add debug:events() and debug:logevents()Matthew Wild2018-06-221-0/+21
| |
* | console: Allow passing a config when creating a roomKim Alvefur2018-04-141-2/+3
| |
* | Merge 0.10->trunkKim Alvefur2018-03-101-1/+1
|\|
| * Merge 0.9->0.10Kim Alvefur2018-03-101-1/+1
| |\
| | * mod_admin_telnet: Include the default path property in URL calculation ↵Kim Alvefur2018-03-101-1/+1
| | | | | | | | | | | | (fixes #1099)
| | * mod_admin_telnet: Backport 06696882d972 from 0.10 (this command greatly ↵Matthew Wild2015-12-221-0/+27
| | | | | | | | | | | | helps with debugging HTTP issues)
| | * mod_admin_telnet: Require util.pposix (fixes #471)Matthew Wild2015-02-201-0/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2017-08-281-1/+1
|\| |
| * | core.usermanager, various modules: Disconnect other resources on password ↵Kim Alvefur2017-07-281-1/+1
| | | | | | | | | | | | change (thanks waqas) (fixes #512)
* | | Merge 0.10->trunkKim Alvefur2017-04-251-1/+1
|\| |
| * | mod_admin_telnet: Output human-friendly memory usage when meminfo is ↵Kim Alvefur2017-04-251-1/+1
| | | | | | | | | | | | unavailable (thanks nbastin)
* | | Merge 0.10->trunkKim Alvefur2017-03-161-2/+2
|\| |
| * | plugins/various: Use type-specific config APIKim Alvefur2017-03-161-2/+2
| | |