Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_admin_telnet: Avoid indexing missing socket (thanks tmolitor) | Kim Alvefur | 2020-02-05 | 1 | -12/+12 |
| | | | | if `sock` was nil it would still proceed with SNI and ALPN checks | ||||
* | mod_admin_telnet: Use promise based DNS resolving | Kim Alvefur | 2020-01-24 | 1 | -7/+5 |
| | | | | Mostly done for testing this new API | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2020-01-24 | 1 | -6/+19 |
|\ | |||||
| * | mod_admin_telnet: Create a DNS resolver per console session (fixes #1492) | Kim Alvefur | 2020-01-24 | 1 | -6/+19 |
| | | | | | | | | This is now the common pattern, eg see mod_s2s. | ||||
* | | mod_admin_telnet: Silence luacheck warnings | Kim Alvefur | 2019-12-23 | 1 | -2/+4 |
| | | |||||
* | | mod_admin_telnet: Include config:get() in help text | Kim Alvefur | 2019-12-22 | 1 | -0/+1 |
| | | |||||
* | | mod_admin_telnet: Use common sort function in s2s:show | Kim Alvefur | 2019-12-15 | 1 | -2/+2 |
| | | |||||
* | | mod_admin_telnet: Use existing host comparison when comparing JIDs | Kim Alvefur | 2019-12-15 | 1 | -1/+1 |
| | | |||||
* | | mod_admin_telnet: Sort hosts in module:list | Kim Alvefur | 2019-12-15 | 1 | -10/+1 |
| | | |||||
* | | mod_admin_telnet: Refactor internal function for listing hosts | Kim Alvefur | 2019-12-15 | 1 | -10/+16 |
| | | | | | | | | Splits out a function that doesn't deal with modules for reuse elsewhere | ||||
* | | mod_admin_telnet: Merge hostname comparison functions | Kim Alvefur | 2019-12-15 | 1 | -6/+2 |
| | | | | | | | | Missed that there existed one already when writing the one for host:list | ||||
* | | mod_admin_telnet: Sort by complete labels | Kim Alvefur | 2019-12-15 | 1 | -1/+1 |
| | | | | | | | | Might as well. | ||||
* | | mod_admin_telnet: Fix host sorting | Kim Alvefur | 2019-12-15 | 1 | -1/+1 |
| | | | | | | | | Reversing each %P is a noop | ||||
* | | mod_admin_telnet: Avoid using LuaSocket for timestamps | Kim Alvefur | 2019-12-08 | 1 | -2/+1 |
| | | | | | | | | | | Using util.time will make it easier to move away from LuaSocket if we ever wanted to do that. | ||||
* | | mod_admin_telnet: Sort hosts | Kim Alvefur | 2019-11-30 | 1 | -1/+5 |
| | | | | | | | | | | | | Groups by domain in DNS hierarchy order or something. Why not split on '.' you ask? Well becasue that's not what I typed here. Also "[^.]" is longer than "%P". | ||||
* | | mod_admin_telnet: Display ALPN in show_tls() if supported and available | Kim Alvefur | 2019-11-21 | 1 | -0/+6 |
| | | |||||
* | | mod_admin_telnet: Show SNI name in show_tls() if available | Kim Alvefur | 2019-11-20 | 1 | -0/+6 |
| | | |||||
* | | mod_admin_telnet: Show s2s authentication method (probably) used | Kim Alvefur | 2019-11-02 | 1 | -0/+6 |
| | | |||||
* | | mod_admin_telnet: xmpp:ping: Log ping time | Kim Alvefur | 2019-10-06 | 1 | -1/+3 |
| | | |||||
* | | mod_admin_telnet: Use new compact function for waiting on promises | Kim Alvefur | 2019-09-29 | 1 | -7/+1 |
| | | |||||
* | | mod_admin_telnet: Identify native bidi sessions | Kim Alvefur | 2019-09-08 | 1 | -1/+3 |
| | | |||||
* | | mod_admin_telnet: Identify bidi-capable s2sout sessions (fixes #1403) | Kim Alvefur | 2019-09-07 | 1 | -1/+1 |
| | | |||||
* | | mod_admin_telnet: Use already generated session id | Kim Alvefur | 2019-07-28 | 1 | -1/+1 |
| | | | | | | | | Don't need to construct it from components again | ||||
* | | mod_admin_telnet: Allow specifying a reason when closing sessions (#1400) | Kim Alvefur | 2019-07-28 | 1 | -8/+17 |
| | | |||||
* | | mod_admin_telnet: Add xmpp:ping to help | Kim Alvefur | 2019-07-26 | 1 | -0/+3 |
| | | |||||
* | | mod_admin_telnet: Add c2s:count() to help | Kim Alvefur | 2019-07-26 | 1 | -0/+1 |
| | | |||||
* | | mod_admin_telnet: Make c2s:count() consistent with c2s:show() | Kim Alvefur | 2019-07-26 | 1 | -3/+2 |
| | | | | | | | | Both now operate on the same complete set of c2s sessions | ||||
* | | mod_admin_telnet: Factor out function for collecting all c2s sessions for ↵ | Kim Alvefur | 2019-07-26 | 1 | -2/+6 |
| | | | | | | | | easier reuse | ||||
* | | mod_admin_telnet: Include both c2s connections and sessions in c2s:show() | Kim Alvefur | 2019-07-26 | 1 | -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 Alvefur | 2019-05-10 | 1 | -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 sandbox | Kim Alvefur | 2019-05-10 | 1 | -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 Bihan | 2019-06-03 | 1 | -1/+1 |
| | | | | | | | | | | | | connection list Fixes #1356 | ||||
* | | mod_admin_telnet: include BOSH connections in c2s:count (#998) | Arc Riley | 2019-05-02 | 1 | -1/+3 |
| | | |||||
* | | mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998) | Arc Riley | 2019-05-02 | 1 | -0/+6 |
| | | |||||
* | | mod_admin_telnet: include BOSH connections in c2s session commands (#998) | Arc Riley | 2019-05-02 | 1 | -0/+1 |
| | | |||||
* | | mod_admin_telnet: Adds c2s:closeall() (Fixes #1315) | João Duarte | 2019-04-17 | 1 | -0/+11 |
| | | |||||
* | | mod_admin_telnet: Show module status in module:list() | Matthew Wild | 2019-03-19 | 1 | -1/+6 |
| | | |||||
* | | mod_admin_telnet: sttas:show: Use format option that allows float numbers | Kim Alvefur | 2019-01-16 | 1 | -1/+1 |
| | | | | | | | | string.format("%d", 0.5) causes an error on Lua 5.3 | ||||
* | | mod_admin_telnet: Sort stats by name | Kim Alvefur | 2019-01-04 | 1 | -1/+1 |
| | | |||||
* | | mod_admin_telnet: Serialize config values (table: 0x123abc isn't useful) | Kim Alvefur | 2019-01-04 | 1 | -1/+2 |
| | | |||||
* | | mod_admin_telnet: config:get: Assume the global section if only one argument ↵ | Kim Alvefur | 2019-01-04 | 1 | -0/+3 |
| | | | | | | | | is given | ||||
* | | mod_admin_telnet: Remove the long gone 'section' argument in the ↵ | Kim Alvefur | 2019-01-04 | 1 | -2/+2 |
| | | | | | | | | undocumented config:get command | ||||
* | | core.moduleapi: Use util.error for :send_iq errors | Kim Alvefur | 2018-12-30 | 1 | -3/+0 |
| | | |||||
* | | mod_admin_telnet: Validate hostnames in xmpp:ping command | Kim Alvefur | 2018-12-29 | 1 | -2/+11 |
| | | | | | | | | Attempt to ping some invalid hostnames cause weird behavior | ||||
* | | mod_admin_telnet: Make xmpp:ping command wait and report the reply | Kim Alvefur | 2018-12-28 | 1 | -4/+19 |
| | | |||||
* | | mod_admin_telnet: Enable async processing using util.async | Kim Alvefur | 2018-12-27 | 1 | -2/+22 |
| | | |||||
* | | mod_admin_telnet: Invert host existence check | Kim Alvefur | 2018-12-28 | 1 | -5/+4 |
| | | | | | | | | Simplifies and reduces indentation | ||||
* | | admin_telnet: show when bidi is used on s2s | Maxime “pep” Buquet | 2018-12-18 | 1 | -0/+3 |
| | | |||||
* | | various: Don't rely on _G.unpack existing | Kim Alvefur | 2018-12-08 | 1 | -0/+1 |
|/ | |||||
* | mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http') | Matthew Wild | 2018-10-09 | 1 | -2/+5 |
| |