Commit graph

171 commits

Author SHA1 Message Date
Arc Riley
a16b70c96d mod_admin_telnet: include BOSH connections in c2s:count (#998) 2019-05-02 17:44:21 -07:00
Arc Riley
ed8b36a84b mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998) 2019-05-02 17:28:49 -07:00
Arc Riley
bbc0bd0b8a mod_admin_telnet: include BOSH connections in c2s session commands (#998) 2019-05-02 16:33:14 -07:00
João Duarte
196ac28ab5 mod_admin_telnet: Adds c2s:closeall() (Fixes #1315) 2019-04-17 10:11:22 -07:00
Matthew Wild
ab545f19a3 mod_admin_telnet: Show module status in module:list() 2019-03-19 09:05:37 +00:00
Kim Alvefur
b2c3b2f740 mod_admin_telnet: sttas:show: Use format option that allows float numbers
string.format("%d", 0.5) causes an error on Lua 5.3
2019-01-16 14:20:16 +01:00
Kim Alvefur
51c4d0a0e4 mod_admin_telnet: Sort stats by name 2019-01-04 15:13:52 +01:00
Kim Alvefur
d020a0b577 mod_admin_telnet: Serialize config values (table: 0x123abc isn't useful) 2019-01-04 13:41:39 +01:00
Kim Alvefur
5fb717bbce mod_admin_telnet: config:get: Assume the global section if only one argument is given 2019-01-04 13:39:13 +01:00
Kim Alvefur
11b2a79872 mod_admin_telnet: Remove the long gone 'section' argument in the undocumented config:get command 2019-01-04 13:38:30 +01:00
Kim Alvefur
f102941562 core.moduleapi: Use util.error for :send_iq errors 2018-12-30 16:03:15 +01:00
Kim Alvefur
5eb327274a mod_admin_telnet: Validate hostnames in xmpp:ping command
Attempt to ping some invalid hostnames cause weird behavior
2018-12-29 03:21:13 +01:00
Kim Alvefur
f1f0c276bc mod_admin_telnet: Make xmpp:ping command wait and report the reply 2018-12-28 20:59:10 +01:00
Kim Alvefur
851f330348 mod_admin_telnet: Enable async processing using util.async 2018-12-27 02:53:34 +01:00
Kim Alvefur
9a412b02e9 mod_admin_telnet: Invert host existence check
Simplifies and reduces indentation
2018-12-28 20:56:01 +01:00
Maxime “pep” Buquet
738a1171dc admin_telnet: show when bidi is used on s2s 2018-12-18 20:23:33 +00:00
Kim Alvefur
2b289f34f9 various: Don't rely on _G.unpack existing 2018-12-08 17:09:55 +01:00
Matthew Wild
e7d4ae6aac mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http') 2018-10-09 15:02:44 +01:00
Kim Alvefur
55998f91c2 mod_admin_telnet: Guard against missing table field 2018-09-30 14:55:39 +02:00
Kim Alvefur
03b285fc26 mod_admin_telnet: Create metatable only once 2018-09-30 14:55:15 +02:00
Kim Alvefur
d334d70ca6 mod_admin_telnet: Remove unused histogram [luacheck] 2018-09-30 14:54:51 +02:00
Kim Alvefur
86b9efb4ba mod_admin_telnet: Remove unused variable [luacheck] 2018-09-30 14:48:44 +02:00
Kim Alvefur
95c0aba3f5 mod_admin_telnet: Import net.server instead of relying on global 2018-09-30 14:37:25 +02:00
Kim Alvefur
a8aba229b0 mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash with 'hosts' arguments [luacheck] 2018-09-30 14:33:42 +02:00
Kim Alvefur
5a249d370b mod_admin_telnet: Remove or rename various unused arguments and variables [luacheck] 2018-09-30 14:32:32 +02:00
Kim Alvefur
1efa591f74 mod_admin_telnet: Rename variable to avoid name clash [luacheck] 2018-09-30 14:16:49 +02:00
Kim Alvefur
d18f2f7521 mod_admin_telnet: Fix local reference to util.iterator 2018-09-29 16:29:30 +02:00
Matthew Wild
818a977d38 mod_admin_telnet: Split out sort function for clarity 2018-09-21 14:37:47 +01:00
Matthew Wild
391fe2828f mod_admin_telnet: Make use of util.iterators.sorted_pairs() 2018-09-21 14:36:29 +01:00
Matthew Wild
c017d7c73a mod_admin_telnet: Rename timer:info() -> debug:timers() 2018-07-10 21:08:32 +01:00
Matthew Wild
22ae619680 mod_admin_telnet: Add some experimental commands for inspecting stats 2018-07-04 06:57:32 +01:00
Matthew Wild
71620cbd96 Merge 0.10->trunk 2018-06-22 13:21:42 +01:00
Matthew Wild
d869a89803 mod_admin_telnet: Add debug:events() and debug:logevents() 2018-06-22 13:20:38 +01:00
Kim Alvefur
6223bf5220 console: Allow passing a config when creating a room 2018-04-14 16:14:55 +02:00
Kim Alvefur
14b65a9175 Merge 0.10->trunk 2018-03-10 20:52:14 +01:00
Kim Alvefur
8eaef0235b Merge 0.9->0.10 2018-03-10 20:49:52 +01:00
Kim Alvefur
3bd8a2257f mod_admin_telnet: Include the default path property in URL calculation (fixes #1099) 2018-03-10 20:47:34 +01:00
Kim Alvefur
73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 2017-07-28 13:15:29 +02:00
Kim Alvefur
14df21dc9b mod_admin_telnet: Output human-friendly memory usage when meminfo is unavailable (thanks nbastin) 2017-04-25 00:14:19 +02:00
Kim Alvefur
38f73e28ae Merge 0.10->trunk 2017-08-28 21:05:12 +02:00
Kim Alvefur
d10300eca4 Merge 0.10->trunk 2017-04-25 01:42:59 +02:00
Kim Alvefur
3e5d5895f9 Merge 0.10->trunk 2017-03-16 23:49:27 +01:00
Kim Alvefur
c3d7d52f0d plugins/various: Use type-specific config API 2017-03-16 20:46:06 +01:00
Kim Alvefur
55ba289bed Merge 0.10->trunk 2017-03-01 02:38:05 +01:00
Kim Alvefur
d76ff8e08e mod_admin_telnet: Print a message to open sessions when shutting down, including the reason 2017-02-21 17:34:01 +01:00
Kim Alvefur
da42ca2167 Merge 0.10->trunk 2016-11-19 01:05:36 +01:00
Kim Alvefur
383aa66ca8 mod_admin_telnet: Use the module:send() API for xmpp:ping command 2016-11-18 14:08:38 +01:00
Kim Alvefur
5235e5ec1a mod_admin_telnet: Fix to use modern way to fetch a MUC room 2016-08-30 17:53:57 +02:00
Kim Alvefur
7b3f79b2ec Merge 0.10->trunk 2016-07-08 22:01:10 +02:00
Anton Shestakov
2a2ade5de5 mod_admin_telnet: remove unused import (util.serialization) [luacheck] 2016-07-09 00:57:17 +08:00