Kim Alvefur
89af997157
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
1969b96da1
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
3947003b7e
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
23cd82ba5f
mod_admin_telnet: Reflow hosts filter for readability
6 years ago
Kim Alvefur
3827fd9716
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
b37a36b1be
mod_admin_telnet: Use promise based DNS resolving
...
Mostly done for testing this new API
6 years ago
Kim Alvefur
1d1491c01b
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
d7df11baf3
mod_admin_telnet: Silence luacheck warnings
6 years ago
Kim Alvefur
6183e7a303
mod_admin_telnet: Include config:get() in help text
6 years ago
Kim Alvefur
fac877feaa
mod_admin_telnet: Use common sort function in s2s:show
6 years ago
Kim Alvefur
13622b141e
mod_admin_telnet: Use existing host comparison when comparing JIDs
6 years ago
Kim Alvefur
567e4183b5
mod_admin_telnet: Sort hosts in module:list
6 years ago
Kim Alvefur
7b64b46af1
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
d146d6b8ac
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
d0cd5469d2
mod_admin_telnet: Sort by complete labels
...
Might as well.
6 years ago
Kim Alvefur
d7570eee7e
mod_admin_telnet: Fix host sorting
...
Reversing each %P is a noop
6 years ago
Kim Alvefur
655294f93e
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
3d63c139e6
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
593c04436f
mod_admin_telnet: Display ALPN in show_tls() if supported and available
6 years ago
Kim Alvefur
e130b37797
mod_admin_telnet: Show SNI name in show_tls() if available
6 years ago
Kim Alvefur
1a78e0a7ac
mod_admin_telnet: Show s2s authentication method (probably) used
6 years ago
Kim Alvefur
7b43531fa9
mod_admin_telnet: xmpp:ping: Log ping time
6 years ago
Kim Alvefur
f304a306dd
mod_admin_telnet: Use new compact function for waiting on promises
6 years ago
Kim Alvefur
2a9da5b8f0
mod_admin_telnet: Identify native bidi sessions
7 years ago
Kim Alvefur
60fddf5c7c
mod_admin_telnet: Identify bidi-capable s2sout sessions ( fixes #1403 )
7 years ago
Michel Le Bihan
2bb05d010d
mod_admin_telnet: Collect array from Bosh connections when appending to connection list
...
Fixes #1356
7 years ago
Arc Riley
a16b70c96d
mod_admin_telnet: include BOSH connections in c2s:count ( #998 )
7 years ago
Arc Riley
ed8b36a84b
mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags ( #998 )
7 years ago
Arc Riley
bbc0bd0b8a
mod_admin_telnet: include BOSH connections in c2s session commands ( #998 )
7 years ago
Matthew Wild
e7d4ae6aac
mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http')
7 years ago
Kim Alvefur
55998f91c2
mod_admin_telnet: Guard against missing table field
7 years ago
Kim Alvefur
03b285fc26
mod_admin_telnet: Create metatable only once
7 years ago
Kim Alvefur
d334d70ca6
mod_admin_telnet: Remove unused histogram [luacheck]
7 years ago
Kim Alvefur
86b9efb4ba
mod_admin_telnet: Remove unused variable [luacheck]
7 years ago
Kim Alvefur
95c0aba3f5
mod_admin_telnet: Import net.server instead of relying on global
7 years ago
Kim Alvefur
a8aba229b0
mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash with 'hosts' arguments [luacheck]
7 years ago
Kim Alvefur
5a249d370b
mod_admin_telnet: Remove or rename various unused arguments and variables [luacheck]
7 years ago
Kim Alvefur
1efa591f74
mod_admin_telnet: Rename variable to avoid name clash [luacheck]
7 years ago
Kim Alvefur
d18f2f7521
mod_admin_telnet: Fix local reference to util.iterator
7 years ago
Matthew Wild
818a977d38
mod_admin_telnet: Split out sort function for clarity
7 years ago
Matthew Wild
391fe2828f
mod_admin_telnet: Make use of util.iterators.sorted_pairs()
7 years ago
Matthew Wild
d869a89803
mod_admin_telnet: Add debug:events() and debug:logevents()
8 years ago
Kim Alvefur
3bd8a2257f
mod_admin_telnet: Include the default path property in URL calculation ( fixes #1099 )
8 years ago
Kim Alvefur
73b75571e6
core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) ( fixes #512 )
9 years ago
Kim Alvefur
14df21dc9b
mod_admin_telnet: Output human-friendly memory usage when meminfo is unavailable (thanks nbastin)
9 years ago
Matthew Wild
c017d7c73a
mod_admin_telnet: Rename timer:info() -> debug:timers()
8 years ago
Matthew Wild
22ae619680
mod_admin_telnet: Add some experimental commands for inspecting stats
8 years ago
Kim Alvefur
6223bf5220
console: Allow passing a config when creating a room
8 years ago
Kim Alvefur
c3d7d52f0d
plugins/various: Use type-specific config API
9 years ago
Kim Alvefur
d76ff8e08e
mod_admin_telnet: Print a message to open sessions when shutting down, including the reason
9 years ago