Matthew Wild
72b6c110f0
mod_admin_socket: Fire event on admin client disconnect
2025-01-07 18:16:23 +00:00
Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
2023-03-24 13:15:28 +01:00
Kim Alvefur
02b01c4826
Merge 0.12->trunk
2023-02-16 20:15:39 +01:00
Kim Alvefur
67ea0ee50e
mod_admin_socket: Return error on unhandled input to prevent apparent freeze
...
When mod_admin_socket is loaded without mod_admin_shell, attempt to use
`prosodyctl shell` will appear to freeze after any input, since no
response is returned.
2023-02-16 17:20:09 +01:00
Kim Alvefur
b15a8e1360
mod_admin_socket: Fix typo in comments
...
Introduced in 6966026262f4
2023-01-20 18:16:10 +01:00
Matthew Wild
f8690bf151
mod_admin_socket: Improve error reporting when socket can't be created ( fixes #1719 )
2022-03-19 11:38:21 +00:00
Kim Alvefur
7badf61246
mod_admin_socket: Comment on LuaSocket UNIX compat code
...
Ref #1717
2022-03-16 19:32:17 +01:00
Kim Alvefur
8e5fec3220
mod_admin_socket: Compat for luasocket prior to unix datagram support
...
The "socket.unix" module exported only a function before
aa1b8cc9bc
when datagram support was added.
Fixes #1717
Thanks rsc and lucas for reporting and testing
2022-03-15 10:48:46 +01:00
Kim Alvefur
aa8c162f11
mod_admin_socket: Use module API meant for file paths
...
Makes it so that a relative path in the config becomes relative to the
data directory.
2020-06-01 23:17:20 +02:00
Kim Alvefur
5cdbe0edde
mod_admin_socket: Use wrapserver if available
...
Why have a custom accept function when this is net.server's entire
thing?
2020-06-01 17:27:50 +02:00
Matthew Wild
4c6992a00e
mod_admin_socket, util.adminstream: New module to manage a local unix domain socket for admin functionality
2020-06-01 15:42:19 +01:00