Commit graph

63 commits

Author SHA1 Message Date
Kim Alvefur
a7cff6b464 Merge 0.12->trunk 2024-10-26 12:43:53 +02:00
Aidan Epstein
f964cc51bb mod_admin_adhoc: Fix log messages for reloading modules.
Also rename for loop item so that it doesn't shadow module variable.
2024-09-29 18:09:17 -07:00
Kim Alvefur
98922d54b1 plugins: Prefix module imports with prosody namespace 2023-03-24 13:15:28 +01:00
Kim Alvefur
d5661f1de3 mod_admin_adhoc: Add XEP-0133 commands to Disable and Re-Enable users
Enables UI in clients supporting XEP-0050
2023-02-23 18:39:02 +01:00
Kim Alvefur
20543ca56e mod_admin_adhoc: Move number coercion into util.dataforms
Internal use of XEP-0122 to shift the responsibility for converting
numbers to strings.
2021-10-25 21:43:23 +02:00
Kim Alvefur
c506269ff5 Fix various spelling errors (thanks codespell)
Also special thanks to timeless, for wordlessly reminding me to check
for typos.
2021-07-27 00:13:18 +02:00
Kim Alvefur
41297ded22 mod_admin_adhoc: Log who performs administrative actions
Goal is to have some accountability for these privileged actions.
2021-06-27 21:56:45 +02:00
Kim Alvefur
a727de5ca6 mod_admin_adhoc: Delete "Get User Password" command
This doesn't really make sense today. It doesn't even work with
mod_auth_internal_hashed, which should be the default. And even with a
supporting authentication module, why would we just hand out the
password? One use case may be to recover a forgotten password. While not
yet included with Prosody, there are better ways to handle forgotten
passwords, usually by resetting them to a new password.
2021-06-27 21:51:21 +02:00
Kim Alvefur
4340a5d1d4 mod_admin_adhoc: Remove unused JID resource variables [luacheck] 2019-12-23 21:37:16 +01:00
Kim Alvefur
5164f0f45c mod_admin_adhoc: Add some flags to s2s listing command
These are present in mod_admin_telnet and relevant to s2s
2019-11-07 17:07:02 +01:00
Kim Alvefur
603ec72b5f mod_admin_adhoc: Ignore the very long lines at the end [luacheck] 2018-09-30 13:51:25 +02:00
Kim Alvefur
07d40c319c mod_admin_adhoc: Ignore shadowed 'err' variables [luacheck] 2018-09-30 13:39:25 +02:00
Kim Alvefur
6a4c16aa00 mod_admin_adhoc: Remove unused argument [luacheck] 2018-09-30 13:38:33 +02:00
Kim Alvefur
3154f05072 mod_admin_adhoc: Remove unused loop variables [luacheck] 2018-09-30 13:37:51 +02:00
Kim Alvefur
f072535414 mod_admin_adhoc: Normalize indentation 2018-08-03 20:51:08 +02:00
Kim Alvefur
2764350b80 mod_admin_adhoc: Keep options for list-single in 'options' field where they belong
Would previously not work due to #1177
2018-08-03 20:48:23 +02:00
Kim Alvefur
e85f412f21 mod_admin_adhoc: Silence various harmless warnings [luacheck] 2018-05-01 21:25:30 +02:00
Kim Alvefur
0538b4f963 mod_admin_adhoc: Rename loop variable to avoid name clash [luacheck] 2018-05-01 21:02:15 +02:00
Kim Alvefur
be5f654319 mod_admin_adhoc: Rename variable to avoid name clash [luacheck] 2018-05-01 20:54:51 +02:00
Kim Alvefur
ad64fec9f2 mod_admin_adhoc: Remove unused initial values [luacheck] 2018-05-01 20:51:37 +02:00
Kim Alvefur
28551ac858 mod_admin_adhoc: Split a long line (improves readability) [luacheck] 2018-05-01 20:47:52 +02:00
Kim Alvefur
3ec060fc0c Fix spelling throughout the codebase [codespell] 2018-02-04 01:51:25 +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
dc21fd08f4 mod_admin_adhoc: Show only connections to/from the host the command was run on 2016-01-03 17:48:36 +01:00
Kim Alvefur
b6cb16100c mod_admin_adhoc: Remove extra ) that should not be there 2016-01-03 17:22:58 +01:00
Kim Alvefur
88f902f1e9 mod_admin_adhoc: Declare local variable, don't set a global [luacheck] 2015-08-26 13:08:51 +02:00
Kim Alvefur
4924ad4d8e mod_admin_adhoc: Import missing util.set (fixes #518) 2015-08-26 13:08:10 +02:00
Kim Alvefur
27265c20e2 core.*: Remove use of module() function 2015-02-21 10:42:19 +01:00
Kim Alvefur
1265483280 mod_admin_adhoc: Remove special treatment of the "pending" roster entry 2015-04-25 14:21:40 +02:00
Kim Alvefur
e4a6b7e39a Merge 0.9->0.10 2014-10-05 15:37:21 +02:00
Kim Alvefur
74cbb01e3a mod_admin_adhoc: Add required to field in user deletion form too 2014-09-29 11:18:04 +02:00
Kim Alvefur
fc40eedab4 mod_admin_adhoc: Mark 'accountjids' field as required in 'end user sessions' command (thanks Lloyd) 2014-09-29 11:02:06 +02:00
Florian Zeitz
0248de1595 mod_admin_web: Add "List S2S connections" command 2014-09-28 23:03:03 +02:00
Florian Zeitz
759fbb65db mod_admin_adhoc: Show IP in detailed version of online user listing 2014-09-28 21:06:50 +02:00
Matthew Wild
af9bff4f7a mod_admin_adhoc: As the only user of set:items(), update... it's now an iterator, and the extra keys() iterator is now unnecessary 2013-09-03 12:22:22 +01:00
Florian Zeitz
94bc9e826d mod_admin_adhoc: Fix node of the "Get List of Online Users" command 2013-06-29 22:40:10 +02:00
Florian Zeitz
5468423a19 mod_admin_adhoc: Use util.adhoc 2013-04-23 14:49:48 +02:00
Kim Alvefur
91cc88b338 mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports 2013-03-23 01:27:38 +01:00
Florian Zeitz
bbb26de0d5 mod_admin_adhoc: Fix 'Shut down service' command 2013-02-07 22:11:35 +01:00
Florian Zeitz
6c313762fa mod_admin_adhoc: Implement global module unloading 2013-02-07 21:14:01 +01:00
Florian Zeitz
0aef88245b mod_admin_adhoc: Implement global module reloading 2013-02-07 00:40:00 +01:00
Florian Zeitz
ca3c3c6669 mod_admin_adhoc: Fix info message for module reload/unload 2013-02-06 00:53:49 +01:00
Florian Zeitz
a08a3edf11 mod_admin_adhoc: Implement global module loading 2013-02-06 00:51:25 +01:00
Florian Zeitz
2d26dbed78 mod_admin_adhoc: Remove a TODO, our pretty_print turns out not to be helpful after all 2013-02-05 00:43:14 +01:00
Kim Alvefur
bfd3085f78 mod_admin_adhoc: Remove unused form 2012-11-25 05:12:13 +01:00
Kim Alvefur
7e4ba4eda5 mod_admin_adhoc: Add commands for activating and deactivating hosts 2012-09-19 15:12:18 +02:00
Kim Alvefur
9ecbf71048 mod_admin_adhoc: Use usermanager.delete_user to delete users 2012-08-25 01:31:49 +02:00
Florian Zeitz
ddb2f794f7 mod_admin_adhoc, mod_announce: Explicitly specify possible actions for ad-hoc commands 2012-08-02 21:42:00 +02:00
Kim Alvefur
9114e88ee0 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. 2012-07-26 04:33:17 +02:00
Matthew Wild
e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 2012-07-23 17:32:33 +01:00