Kim Alvefur
cb06b21406
mod_admin_telnet: Handle unavailable cipher info ( fixes #1510 )
...
The LuaSec :info() method gathers info using the OpenSSL function
SSL_get_current_cipher(). Documentation for this function states that it
may return NULL if no session has been established (yet). If so, the
LuaSec functions wrapping this return nil, triggering a nil-indexing
error in mod_admin_telnet.
6 years ago
Kim Alvefur
cd774239f7
mod_admin_telnet: Allow passing list of hosts to http:list()
...
Lets you select what hosts to list http services on. In particular, this
enables listing global http services, which was not possible before.
6 years ago
Kim Alvefur
5fe826e317
mod_admin_telnet: Fix host selection filter, fixes loading on components
...
get_hosts_with_module(a component, mod) would still filter out
components since they don't have type="component" instead of "local"
Introduced in 4d3549e64489
6 years ago
Kim Alvefur
62e66fe940
mod_admin_telnet: Reflow hosts filter for readability
6 years ago
Kim Alvefur
6e9828ec03
mod_admin_telnet: Avoid indexing missing socket (thanks tmolitor)
...
if `sock` was nil it would still proceed with SNI and ALPN checks
6 years ago
Kim Alvefur
f507f3bb8b
mod_admin_telnet: Use promise based DNS resolving
...
Mostly done for testing this new API
6 years ago
Kim Alvefur
a6080a215e
mod_admin_telnet: Create a DNS resolver per console session ( fixes #1492 )
...
This is now the common pattern, eg see mod_s2s.
6 years ago
Kim Alvefur
7ee9d3b7af
mod_admin_telnet: Silence luacheck warnings
6 years ago
Kim Alvefur
842657970f
mod_admin_telnet: Include config:get() in help text
6 years ago
Kim Alvefur
9d389440a3
mod_admin_telnet: Use common sort function in s2s:show
6 years ago
Kim Alvefur
b3ff5eec9c
mod_admin_telnet: Use existing host comparison when comparing JIDs
6 years ago
Kim Alvefur
9eea55bee8
mod_admin_telnet: Sort hosts in module:list
6 years ago
Kim Alvefur
5f7845641e
mod_admin_telnet: Refactor internal function for listing hosts
...
Splits out a function that doesn't deal with modules for reuse elsewhere
6 years ago
Kim Alvefur
65c7619a6d
mod_admin_telnet: Merge hostname comparison functions
...
Missed that there existed one already when writing the one for host:list
6 years ago
Kim Alvefur
a34238b2a2
mod_admin_telnet: Sort by complete labels
...
Might as well.
6 years ago
Kim Alvefur
821603db8a
mod_admin_telnet: Fix host sorting
...
Reversing each %P is a noop
6 years ago
Kim Alvefur
ab7c35c8e5
mod_admin_telnet: Avoid using LuaSocket for timestamps
...
Using util.time will make it easier to move away from LuaSocket if we
ever wanted to do that.
6 years ago
Kim Alvefur
07645554cc
mod_admin_telnet: Sort hosts
...
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".
6 years ago
Kim Alvefur
2d7eada577
mod_admin_telnet: Display ALPN in show_tls() if supported and available
6 years ago
Kim Alvefur
b1d048f117
mod_admin_telnet: Show SNI name in show_tls() if available
6 years ago
Kim Alvefur
2a10ceae09
mod_admin_telnet: Show s2s authentication method (probably) used
6 years ago
Kim Alvefur
7590aa04d6
mod_admin_telnet: xmpp:ping: Log ping time
6 years ago
Kim Alvefur
469bfe7d6b
mod_admin_telnet: Use new compact function for waiting on promises
6 years ago
Kim Alvefur
f1dfdac89b
mod_admin_telnet: Identify native bidi sessions
6 years ago
Kim Alvefur
d2ab204f68
mod_admin_telnet: Identify bidi-capable s2sout sessions ( fixes #1403 )
6 years ago
Michel Le Bihan
9a5a3fd0f1
mod_admin_telnet: Collect array from Bosh connections when appending to connection list
...
Fixes #1356
7 years ago
Arc Riley
da0d3e296c
mod_admin_telnet: include BOSH connections in c2s:count ( #998 )
7 years ago
Arc Riley
cdbb6348f6
mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags ( #998 )
7 years ago
Arc Riley
30ef8e7ac4
mod_admin_telnet: include BOSH connections in c2s session commands ( #998 )
7 years ago
Matthew Wild
7896ef03a9
mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http')
7 years ago
Kim Alvefur
b1871e8b07
mod_admin_telnet: Guard against missing table field
7 years ago
Kim Alvefur
1fd061af59
mod_admin_telnet: Create metatable only once
7 years ago
Kim Alvefur
eb580b9f2b
mod_admin_telnet: Remove unused histogram [luacheck]
7 years ago
Kim Alvefur
7af977ccaf
mod_admin_telnet: Remove unused variable [luacheck]
7 years ago
Kim Alvefur
516c4c51ae
mod_admin_telnet: Import net.server instead of relying on global
7 years ago
Kim Alvefur
2f919fed94
mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash with 'hosts' arguments [luacheck]
7 years ago
Kim Alvefur
58f5eb9e57
mod_admin_telnet: Remove or rename various unused arguments and variables [luacheck]
7 years ago
Kim Alvefur
b1f6632732
mod_admin_telnet: Rename variable to avoid name clash [luacheck]
7 years ago
Kim Alvefur
db46752c37
mod_admin_telnet: Fix local reference to util.iterator
7 years ago
Matthew Wild
b83f34070d
mod_admin_telnet: Split out sort function for clarity
7 years ago
Matthew Wild
cceeea2c28
mod_admin_telnet: Make use of util.iterators.sorted_pairs()
7 years ago
Matthew Wild
db6b2ff8f9
mod_admin_telnet: Add debug:events() and debug:logevents()
8 years ago
Kim Alvefur
1a2ad62a21
mod_admin_telnet: Include the default path property in URL calculation ( fixes #1099 )
8 years ago
Kim Alvefur
8dad96d3f6
core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) ( fixes #512 )
9 years ago
Kim Alvefur
681b9a6405
mod_admin_telnet: Output human-friendly memory usage when meminfo is unavailable (thanks nbastin)
9 years ago
Matthew Wild
1251138daf
mod_admin_telnet: Rename timer:info() -> debug:timers()
8 years ago
Matthew Wild
d2ac8210b0
mod_admin_telnet: Add some experimental commands for inspecting stats
8 years ago
Kim Alvefur
5ad0f9390a
console: Allow passing a config when creating a room
8 years ago
Kim Alvefur
fb749e2076
plugins/various: Use type-specific config API
9 years ago
Kim Alvefur
6ca01c40ab
mod_admin_telnet: Print a message to open sessions when shutting down, including the reason
9 years ago