Log

plugins/mod_admin_telnet.lua @ 9735:2d8ca54ecbc6

description author age
mod_admin_telnet: Enable async processing using util.async Kim Alvefur Thu, 27 Dec 2018 02:53:34 +0100
mod_admin_telnet: Invert host existence check Kim Alvefur Fri, 28 Dec 2018 20:56:01 +0100
admin_telnet: show when bidi is used on s2s Maxime “pep” Buquet Tue, 18 Dec 2018 20:23:33 +0000
various: Don't rely on _G.unpack existing Kim Alvefur Sat, 08 Dec 2018 17:09:55 +0100
mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http') Matthew Wild Tue, 09 Oct 2018 15:02:44 +0100
mod_admin_telnet: Guard against missing table field Kim Alvefur Sun, 30 Sep 2018 14:55:39 +0200
mod_admin_telnet: Create metatable only once Kim Alvefur Sun, 30 Sep 2018 14:55:15 +0200
mod_admin_telnet: Remove unused histogram [luacheck] Kim Alvefur Sun, 30 Sep 2018 14:54:51 +0200
mod_admin_telnet: Remove unused variable [luacheck] Kim Alvefur Sun, 30 Sep 2018 14:48:44 +0200
mod_admin_telnet: Import net.server instead of relying on global Kim Alvefur Sun, 30 Sep 2018 14:37:25 +0200
mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash with 'hosts' arguments [luacheck] Kim Alvefur Sun, 30 Sep 2018 14:33:42 +0200
mod_admin_telnet: Remove or rename various unused arguments and variables [luacheck] Kim Alvefur Sun, 30 Sep 2018 14:32:32 +0200
mod_admin_telnet: Rename variable to avoid name clash [luacheck] Kim Alvefur Sun, 30 Sep 2018 14:16:49 +0200
mod_admin_telnet: Fix local reference to util.iterator Kim Alvefur Sat, 29 Sep 2018 16:29:30 +0200
mod_admin_telnet: Split out sort function for clarity Matthew Wild Fri, 21 Sep 2018 14:37:47 +0100
mod_admin_telnet: Make use of util.iterators.sorted_pairs() Matthew Wild Fri, 21 Sep 2018 14:36:29 +0100
mod_admin_telnet: Rename timer:info() -> debug:timers() Matthew Wild Tue, 10 Jul 2018 21:08:32 +0100
mod_admin_telnet: Add some experimental commands for inspecting stats Matthew Wild Wed, 04 Jul 2018 06:57:32 +0100
Merge 0.10->trunk Matthew Wild Fri, 22 Jun 2018 13:21:42 +0100
mod_admin_telnet: Add debug:events() and debug:logevents() Matthew Wild Fri, 22 Jun 2018 13:20:38 +0100
console: Allow passing a config when creating a room Kim Alvefur Sat, 14 Apr 2018 16:14:55 +0200
Merge 0.10->trunk Kim Alvefur Sat, 10 Mar 2018 20:52:14 +0100
Merge 0.9->0.10 Kim Alvefur Sat, 10 Mar 2018 20:49:52 +0100
mod_admin_telnet: Include the default path property in URL calculation (fixes #1099) Kim Alvefur Sat, 10 Mar 2018 20:47:34 +0100
Merge 0.10->trunk Kim Alvefur Mon, 28 Aug 2017 21:05:12 +0200
core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) Kim Alvefur Fri, 28 Jul 2017 13:15:29 +0200
Merge 0.10->trunk Kim Alvefur Tue, 25 Apr 2017 01:42:59 +0200
mod_admin_telnet: Output human-friendly memory usage when meminfo is unavailable (thanks nbastin) Kim Alvefur Tue, 25 Apr 2017 00:14:19 +0200
Merge 0.10->trunk Kim Alvefur Thu, 16 Mar 2017 23:49:27 +0100
plugins/various: Use type-specific config API Kim Alvefur Thu, 16 Mar 2017 20:46:06 +0100
Merge 0.10->trunk Kim Alvefur Wed, 01 Mar 2017 02:38:05 +0100
mod_admin_telnet: Print a message to open sessions when shutting down, including the reason Kim Alvefur Tue, 21 Feb 2017 17:34:01 +0100
Merge 0.10->trunk Kim Alvefur Sat, 19 Nov 2016 01:05:36 +0100
mod_admin_telnet: Use the module:send() API for xmpp:ping command Kim Alvefur Fri, 18 Nov 2016 14:08:38 +0100
mod_admin_telnet: Fix to use modern way to fetch a MUC room Kim Alvefur Tue, 30 Aug 2016 17:53:57 +0200
Merge 0.10->trunk Kim Alvefur Fri, 08 Jul 2016 22:01:10 +0200
mod_admin_telnet: remove unused import (util.serialization) [luacheck] Anton Shestakov Sat, 09 Jul 2016 00:57:17 +0800
mod_admin_telnet: rename variable to make it defined (room -> room_name) Anton Shestakov Sat, 09 Jul 2016 00:47:55 +0800
Update every link to the documentation to use HTTPS Emmanuel Gil Peyrot Sat, 16 Apr 2016 21:08:05 +0100
Merge 0.10->trunk Matthew Wild Fri, 22 Jan 2016 13:22:50 +0000
mod_admin_telnet: Fix sorting of JIDs in c2s:show() family of functions (thanks lookshe and Zash) Matthew Wild Fri, 22 Jan 2016 13:20:00 +0000
Merge 0.10->trunk Kim Alvefur Sun, 10 Jan 2016 03:57:17 +0100
mod_admin_telnet: c2s:count in less lines Kim Alvefur Sun, 10 Jan 2016 00:00:22 +0100
mod_admin_telnet: Show unauthenticated clients identified by local/remote IP and port Kim Alvefur Sat, 09 Jan 2016 23:59:31 +0100
mod_admin_telnet: c2s:show() etc, list all sessions including unauthenticated or not with no stream opened Kim Alvefur Sat, 09 Jan 2016 23:58:43 +0100
mod_admin_telnet: Remove compat warning about 'console_banner' as a function Kim Alvefur Sun, 10 Jan 2016 00:01:28 +0100
Merge 0.10->trunk Kim Alvefur Sun, 27 Dec 2015 12:29:28 +0100
Merge 0.9->0.10 Kim Alvefur Wed, 23 Dec 2015 12:11:07 +0100
mod_admin_telnet: Backport 06696882d972 from 0.10 (this command greatly helps with debugging HTTP issues) Matthew Wild Tue, 22 Dec 2015 14:15:09 +0000
mod_admin_telnet: Make timer:info command more robust Kim Alvefur Wed, 23 Dec 2015 11:42:14 +0100
Merge 0.10->trunk Matthew Wild Thu, 10 Dec 2015 18:58:30 +0000
mod_admin_telnet: Add http:list() command to get info about current HTTP endpoints on the server Matthew Wild Thu, 10 Dec 2015 18:00:08 +0000
mod_admin_telnet: Add timer:info() which shows some basic info about util.timer Kim Alvefur Wed, 25 Nov 2015 15:34:54 +0100
Merge 0.10->trunk Matthew Wild Sun, 22 Nov 2015 15:52:10 +0000
mod_admin_telnet: c2s:show(): Add flag to indicate remote sessions Matthew Wild Sun, 22 Nov 2015 15:31:22 +0000
Merge 0.10->trunk Kim Alvefur Sat, 19 Sep 2015 17:51:20 +0200
mod_admin_telnet: Fix indentation Kim Alvefur Fri, 18 Sep 2015 16:16:10 +0200
Merge 0.10->trunk Kim Alvefur Thu, 20 Aug 2015 13:05:22 +0200
mod_admin_telnet: Remove now broken importing of modulemanager from various commands, use upvalue defined at top of file (thanks daurnimator) Kim Alvefur Sun, 22 Feb 2015 19:06:26 +0100
Merge 0.10->trunk Matthew Wild Tue, 24 Feb 2015 15:22:34 +0000
Merge 0.9->0.10 Matthew Wild Tue, 24 Feb 2015 15:22:09 +0000
mod_admin_telnet: Require util.pposix (fixes #471) Matthew Wild Fri, 20 Feb 2015 22:53:12 +0000
Merge 0.10 -> trunk Waqas Hussain Tue, 16 Dec 2014 18:33:54 -0500
mod_admin_telnet: Use the session-specific print function Kim Alvefur Sat, 13 Dec 2014 16:40:55 +0100
Merge 0.10->trunk Kim Alvefur Sun, 09 Nov 2014 20:32:33 +0100
mod_admin_telnet: Soft-reqire util.pposix for server:memory() Kim Alvefur Mon, 27 Oct 2014 11:12:08 +0100
Merge 0.10->trunk Kim Alvefur Tue, 02 Sep 2014 22:34:32 +0200
Merge 0.9->0.10 Kim Alvefur Tue, 02 Sep 2014 22:33:11 +0200
net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) Matthew Wild Fri, 29 Aug 2014 11:54:34 +0100
Merge 0.10->trunk Matthew Wild Fri, 25 Jul 2014 13:02:46 +0100
Merge 0.9->0.10 Matthew Wild Fri, 25 Jul 2014 13:01:57 +0100
mod_admin_telnet: Fix dns:(add,set)nameservers() Kim Alvefur Fri, 25 Jul 2014 13:59:17 +0200
mod_admin_telnet: Update muc:room(jid) and muc:list(host) to use the new MUC API Waqas Hussain Thu, 05 Jun 2014 17:15:04 -0400
mod_admin_telnet: Add command to list MUC rooms Matthew Wild Wed, 28 May 2014 12:43:34 +0100
mod_admin_telnet: Remove dead code Kim Alvefur Mon, 12 May 2014 01:16:17 +0200
mod_admin_telnet: Show which hosts are components and what type of component in host:list() Kim Alvefur Mon, 12 May 2014 01:07:40 +0200
mod_admin_telnet: Add c2s:show_tls(), behaves like s2s:show_tls() Kim Alvefur Sun, 11 May 2014 19:13:36 +0200
mod_admin_telnet: Move generation of log tag for s2s:show() (adds it to c2s:show() too) Kim Alvefur Sun, 11 May 2014 19:12:03 +0200
mod_admin_telnet: Add s2s:show_tls() for showing ciphers used on s2s connections Kim Alvefur Sun, 11 May 2014 18:51:08 +0200
mod_admin_telnet: Move extraction of c2s presence info into session_flags() Kim Alvefur Sun, 11 May 2014 19:03:23 +0200
mod_admin_telnet: Split (secure) into (authenticated) + (secure) Kim Alvefur Sun, 11 May 2014 18:28:00 +0200
mod_admin_telnet: Send NUL byte as keepalive on read timeouts Kim Alvefur Sun, 11 May 2014 18:22:17 +0200
Merge 0.9->0.10 Kim Alvefur Thu, 10 Apr 2014 13:15:11 +0200
mod_admin_telnet: muc:*: Fix nil index error when a room JID is passed with a non-existent host Matthew Wild Sat, 05 Apr 2014 15:05:40 +0100
Merge 0.9 -> 0.10 Kim Alvefur Wed, 12 Feb 2014 19:26:22 +0100
mod_admin_telnet: Prep jids for user:create() etc. Kim Alvefur Sun, 09 Feb 2014 15:17:01 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
Merge 0.9->trunk Kim Alvefur Tue, 06 Aug 2013 14:35:03 +0200
mod_admin_telnet, mod_s2s: Fix reporting of certificate chain validation details Kim Alvefur Tue, 06 Aug 2013 14:32:31 +0200
mod_admin_telnet: Refactor s2s:show() Kim Alvefur Thu, 20 Jun 2013 21:47:38 +0200
mod_admin_telnet: Generate session names the same way as in s2smanager Kim Alvefur Thu, 20 Jun 2013 21:47:28 +0200
mod_admin_telnet: Refactor s2s:close and s2s:closeall Kim Alvefur Thu, 20 Jun 2013 20:53:29 +0200
mod_admin_telnet: Refactor s2s:showcert() Kim Alvefur Wed, 19 Jun 2013 16:20:33 +0200
Merge 0.9->trunk Matthew Wild Tue, 11 Jun 2013 21:50:41 +0100
mod_admin_telnet: Add server:memory() command to view details of Prosody's memory usage Matthew Wild Thu, 16 May 2013 10:47:22 +0100
Merge 0.9->trunk Kim Alvefur Mon, 10 Jun 2013 14:37:02 +0200
mod_admin_telnet: Fix another wrong boolean expression Kim Alvefur Mon, 10 Jun 2013 14:35:35 +0200
mod_admin_telnet: Simplify IPv6 detection, fixes rare traceback Kim Alvefur Sun, 09 Jun 2013 12:59:23 +0200
Merge 0.9->trunk Matthew Wild Wed, 05 Jun 2013 21:36:29 +0100
mod_admin_telnet: Fix inverted boolean logic Kim Alvefur Tue, 04 Jun 2013 19:35:41 +0200
Merge 0.9->trunk Kim Alvefur Sun, 26 May 2013 22:59:06 +0200
mod_admin_telnet: Make the muc:create() command complain if the room already exists Kim Alvefur Sun, 26 May 2013 22:58:13 +0200
Merge 0.9->trunk Kim Alvefur Sat, 18 May 2013 13:20:46 +0200
mod_admin_telnet: Verify that the host exists in user commands (Thanks SkyBlue) Kim Alvefur Sat, 18 May 2013 13:19:31 +0200
mod_admin_telnet: Don't rely on getpeerchain returning an empty list Kim Alvefur Sat, 18 May 2013 13:11:44 +0200
mod_admin_telnet: Use stanza:get_child_text() Kim Alvefur Fri, 17 May 2013 18:28:05 +0200
mod_admin_telnet: List session flags (encryption, compression etc) the same way for c2s as s2s Kim Alvefur Fri, 17 May 2013 14:56:06 +0200
mod_admin_telnet: Add server:memory() command to view details of Prosody's memory usage Matthew Wild Thu, 16 May 2013 10:47:22 +0100
mod_admin_telnet: Add some DNS commands. Kim Alvefur Tue, 07 May 2013 17:17:32 +0200
mod_admin_telnet: Add muc:create(room) (thanks SkyBlue) Matthew Wild Thu, 25 Apr 2013 20:37:20 +0100
mod_admin_telnet: Stop processing lines when session is closed Kim Alvefur Fri, 28 Dec 2012 14:32:22 +0100
mod_admin_telnet: Add info about port commands to help Kim Alvefur Wed, 26 Dec 2012 02:46:49 +0100
mod_admin_telnet: Improve wording when listing users Kim Alvefur Sun, 09 Dec 2012 11:44:45 +0100
mod_admin_telnet: Refactor so that command processing is performed in a separate function (usable from other modules) Matthew Wild Thu, 22 Nov 2012 18:32:27 +0000
mod_admin_telnet: user:list(): Allow filtering the set of users Kim Alvefur Fri, 12 Oct 2012 18:49:22 +0200
mod_admin_telnet: user:list() check that the given host exists Kim Alvefur Fri, 12 Oct 2012 18:33:24 +0200
mod_admin_telnet: Fix copypaste error in user section of help Kim Alvefur Fri, 28 Sep 2012 11:59:37 +0200
mod_admin_telnet: Add support for listing users Kim Alvefur Fri, 21 Sep 2012 17:26:54 +0200
Merge 0.9->trunk Matthew Wild Wed, 19 Sep 2012 12:14:08 +0100
mod_admin_telnet: Fix user:*, correct names, docs, do validation Kim Alvefur Sat, 15 Sep 2012 23:00:59 +0200
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). Waqas Hussain Wed, 12 Sep 2012 22:22:31 +0500
mod_admin_telnet: Import prosody.incoming_s2s Matthew Wild Sat, 28 Jul 2012 01:28:14 +0100
mod_admin_telnet: Fix usage of incorrect variable Matthew Wild Sat, 28 Jul 2012 01:25:01 +0100
mod_admin_telnet: Remove unused variable Matthew Wild Sat, 28 Jul 2012 01:24:48 +0100
mod_admin_telnet: Import portmanager and s2smanager, as they are both used Matthew Wild Sat, 28 Jul 2012 01:24:34 +0100
mod_admin_telnet: Fix broken indentation Matthew Wild Sat, 28 Jul 2012 01:19:09 +0100
mod_admin_telnet: Use module:get_option() instead of configmanager directly Matthew Wild Sat, 28 Jul 2012 01:17:23 +0100
Merge with Florob Matthew Wild Sat, 28 Jul 2012 01:14:31 +0100
mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals Florian Zeitz Sat, 09 Jun 2012 02:27:44 +0200
Eliminate direct setfenv usage Florian Zeitz Fri, 08 Jun 2012 05:04:38 +0200
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. Kim Alvefur Thu, 26 Jul 2012 04:33:17 +0200
mod_admin_telnet: Add xmpp:ping(from, to), useful for initiating s2s connections Kim Alvefur Thu, 26 Jul 2012 02:27:24 +0200
mod_admin_telnet: Remove useless call to string.lower() Kim Alvefur Tue, 24 Jul 2012 22:03:51 +0200
mod_admin_telnet: Add missing import of usermanager Kim Alvefur Tue, 24 Jul 2012 21:37:16 +0200
mod_admin_telnet: Remove unused or duplicated locals Kim Alvefur Tue, 24 Jul 2012 21:36:47 +0200
mod_admin_telnet: Always handle commands terminated by line feeds - ensures consistency even when packets are joined or split on the network Matthew Wild Mon, 23 Jul 2012 14:03:00 +0100
Merge with Maranda Matthew Wild Sun, 22 Jul 2012 18:52:20 +0100
mod_admin_telnet: add s2s:closeall command and relative help entry. Marco Cirillo Mon, 09 Jul 2012 19:50:11 +0000
Merge with Zash Matthew Wild Sun, 22 Jul 2012 18:47:40 +0100
mod_admin_telnet: Add info about user management commands to the help Kim Alvefur Mon, 09 Jul 2012 20:39:55 +0200
mod_admin_telnet: Add some user management commands. Kim Alvefur Mon, 09 Jul 2012 20:21:47 +0200
mod_admin_telnet: Replace anonymous function with loop (saves a closure) Matthew Wild Sun, 22 Jul 2012 18:00:59 +0100
mod_admin_telnet: More code found and updated, which depended on pre-8c5b5ebaacb0 behaviour. Kim Alvefur Fri, 25 May 2012 12:50:58 +0200
mod_admin_telnet: Code found and updated, which depended on pre-8c5b5ebaacb0 behaviour. Kim Alvefur Fri, 25 May 2012 07:08:12 +0200
mod_admin_telnet: Add muc:room(jid) command to get the MUC room object Matthew Wild Wed, 02 May 2012 18:21:47 +0100
mod_admin_telnet: Add c2s:count() which shows number of connected users. Kim Alvefur Sat, 28 Apr 2012 17:18:03 +0200
Merge timber->trunk - thanks everyone! Matthew Wild Tue, 24 Apr 2012 21:59:20 +0100
mod_admin_telnet: Add initial port:list() and port:close() commands Matthew Wild Tue, 24 Apr 2012 15:40:00 +0100
mod_admin_telnet: module:load(): Fix 'global-module-already-loaded' errors when successfully loading a global module (fixes #228) Matthew Wild Sat, 21 Apr 2012 20:52:12 +0100
mod_admin_telnet: module:list(): List global modules (part-fixes #228) Matthew Wild Sat, 21 Apr 2012 20:39:52 +0100
mod_admin_telnet: module:reload(): If module is loaded on *, reload it there first (ensuring shared module code is reloaded before per-host children of that module) Matthew Wild Sat, 21 Apr 2012 20:39:21 +0100
mod_admin_telnet: get_host_set(): Include '*' in the set if no specific hosts are specified and the module is loaded there Matthew Wild Sat, 21 Apr 2012 20:38:27 +0100
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global() Kim Alvefur Thu, 15 Mar 2012 14:47:46 +0100
mod_admin_telnet: Import util.iterators properly Kim Alvefur Sat, 03 Mar 2012 00:32:57 +0100
mod_admin_telnet: make service private. Marco Cirillo Fri, 24 Feb 2012 15:35:04 +0000
mod_admin_telnet: Port to portmanager Matthew Wild Mon, 23 Jan 2012 01:05:32 +0000
mod_admin_telnet: Use module:shared() to expose commands table and default console environment Matthew Wild Sun, 22 Jan 2012 19:50:08 +0000
mod_admin_telnet: Add flag for IPv6 Kim Alvefur Mon, 05 Mar 2012 22:11:29 +0100
mod_admin_telnet: Add flag for stream management. Kim Alvefur Mon, 05 Mar 2012 22:11:05 +0100
mod_admin_telnet: (encrypted) is redundant in combination with (secure) Kim Alvefur Mon, 05 Mar 2012 22:10:09 +0100
mod_admin_telnet: Commond and flexible way to show stream properties. Kim Alvefur Mon, 05 Mar 2012 22:07:40 +0100
mod_admin_telnet: Update to newer luasec. Paul Aurich Mon, 06 Dec 2010 21:46:36 -0800
Merge 0.8->trunk (uh-oh) Matthew Wild Sun, 19 Dec 2010 02:36:56 +0000
modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs base plugins/mod_console.lua@e37ca8b95ec1 Matthew Wild Fri, 17 Dec 2010 12:44:24 +0000
modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs base plugins/mod_console.lua@666451edc78b Matthew Wild Fri, 17 Dec 2010 12:44:24 +0000