Commit graph

270 commits

Author SHA1 Message Date
Kim Alvefur
8fe336b4a1 prosodyctl: Fix later import of LuaFileSystem
lfs or WHAT

How did this even happen?
2021-09-11 22:26:50 +02:00
Kim Alvefur
13c5a2359d prosodyctl: Add 'limits' to known globals to warn about misplacing it
It will do nothing in a VirtualHost section for example.
2021-05-27 12:35:55 +02:00
Matthew Wild
3fd3d2cd99 prosodyctl about: Report libexpat version if known 2021-05-11 14:15:22 +01:00
Matthew Wild
e9b383cdb2 prosodyctl: check config: Add 'gc' to list of global options 2021-04-30 21:20:14 +01:00
Matthew Wild
75a1867ca5 prosodyctl: Fix some luacheck warnings 2020-01-23 21:59:13 +00:00
Matthew Wild
23470dd8de Log warning when using prosodyctl start/stop/restart 2020-01-23 21:43:36 +00:00
Kim Alvefur
941b35fe8a prosodyctl: Print a blank line to improve spacing and readability 2019-12-31 02:50:25 +01:00
Kim Alvefur
a7809d953e prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple
Related #1483
2019-12-31 02:48:49 +01:00
Kim Alvefur
290f928559 prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469) 2019-11-23 23:10:39 +01:00
Matthew Wild
4c6aca8604 prosodyctl: Fix traceback on incorrect proxy65_address type 2019-09-11 15:03:54 +01:00
Kim Alvefur
f83b6fc79c prosodyctl: Include version of LuaDBI in 'about' 2019-05-01 22:34:15 +02:00
Matthew Wild
fffb4ee43d prosodyctl about: Report network backend in use 2019-03-14 08:09:49 +00:00
Kim Alvefur
59c09fa604 prosodyctl check: Add statisticsmanager settings to known global options 2018-12-17 15:34:15 +01:00
Kim Alvefur
e12412bc08 Merge 0.10->trunk 2018-10-24 17:18:34 +02:00
Kim Alvefur
2dd5ee9357 prosodyctl: Change ownership of certs to same as the cert base dir when running from a source checkout 2018-10-24 17:13:49 +02:00
Kim Alvefur
d3d71d91bb prosodyctl: Allow cert dir to not be owned by root (fixes #1075) 2018-10-24 17:04:17 +02:00
Kim Alvefur
fbec700e42 prosodyctl: Warn if attempting to run an unknown check (fixes #1161) 2018-06-28 10:56:24 +02:00
Matthew Wild
29ebeb2da4 prosodyctl: Make log level configurable through PROSODYCTL_LOG_LEVEL (useful for debugging) 2018-06-07 11:21:51 +01:00
Kim Alvefur
8799bd0293 prosodyctl: Also look for options that belong in global section under disabled hosts (fixes #1207)
Thanks ivucica
2018-08-30 00:17:54 +02:00
Kim Alvefur
f7bf94cd03 prosodyctl: Use correct separator in chown call (fixes #1093) 2018-03-02 01:51:06 +01:00
Matthew Wild
c09bd4346b prosodyctl: Fix traceback with lfs < 1.6.2 and show warning 2017-11-30 18:47:06 +00:00
Kim Alvefur
b080aec43a prosodyctl: Abort and warn if the config can't be opened after dropping root privileges (fixes #990) 2017-09-27 15:37:10 +02:00
Kim Alvefur
b71438e89d prosody, prosodyctl: Print the actual config file name used when a problem loading it was encountered (see #990) 2017-09-27 15:33:29 +02:00
Kim Alvefur
296e430244 prosodyctl: cert import: Reuse function from certmanager for locating certificates and keys 2017-09-27 15:21:20 +02:00
Waqas Hussain
30dcc73298 prosodyctl check: Fix traceback when no modules_enabled are defined (e.g., a completely empty config) 2017-09-24 18:23:45 -04:00
Kim Alvefur
d578e7d08f prosodyctl: cert import: Use env variable set by certbot if invoked as post-renew hook 2017-09-18 18:28:29 +02:00
Kim Alvefur
e7f9f1976b prosodyctl: Only demand a hostname argument to cert commands other than import 2017-09-18 17:08:31 +02:00
Kim Alvefur
b70edb66cf prosodyctl: Use all enabled hosts if no hostnames passed to cert import 2017-09-18 17:06:35 +02:00
Kim Alvefur
0147d39460 prosody, prosodyctl: Fix traceback if ssl config is missing (thanks lookshe and sol) 2017-08-29 15:23:39 +02:00
Kim Alvefur
cb0a2ffe81 prosody, prosodyctl: Set up TLS settings for HTTPS requests in net.http (part of fix for #659) 2017-07-07 20:42:35 +02:00
Kim Alvefur
ef1f75a9dd prosodyctl: Skip certificate checks for hosts of the form node@host (fixes #779) 2017-08-04 20:27:43 +02:00
Kim Alvefur
39bcea0025 prosodyctl: Make cert check do the same as check certs 2017-07-06 10:41:28 +02:00
Kim Alvefur
25efb61c24 prosodyctl: Show description of each certificate subcommand 2017-05-16 17:51:33 +02:00
Kim Alvefur
c73ae7ef30 prosodyctl: Add cert import to short help 2017-04-24 15:53:26 +02:00
Kim Alvefur
04abad10a7 prosodyctl: Attempt to reload prosody after importing certificates 2017-04-22 19:12:51 +02:00
Kim Alvefur
dbb0ad8e7e prosodyctl: Make note about reporting where certificates are searched for 2017-04-22 19:12:26 +02:00
Kim Alvefur
934e6627ec prosodyctl: Return non-zero exit code from cert import if no certificates imported 2017-04-22 19:12:04 +02:00
Kim Alvefur
eae8bd26c2 prosodyctl: Delay reporting of successful certificate imports until all done 2017-04-22 19:11:26 +02:00
Kim Alvefur
279badc8ae prosodyctl: cert import: Command to copy certificates into prosodys certificate directory (fixes #892) 2017-04-21 15:11:25 +02:00
Kim Alvefur
e90ec99152 prosodyctl: Split long line [luacheck] 2017-04-21 14:44:28 +02:00
Kim Alvefur
c89f88fd54 prosodyctl: Normalize inconsistent whitespace [luacheck] 2017-04-21 14:43:52 +02:00
Kim Alvefur
31c0689963 prosodyctl: Verify that directory certs are written to exists 2017-04-21 14:34:53 +02:00
Kim Alvefur
1dfc20f031 prosodyctl: Verify permissions on directory that certificates are written to 2017-04-21 14:24:59 +02:00
Kim Alvefur
c732b4835f prosodyctl: Return non-zero status to indicate error 2017-04-21 14:20:46 +02:00
Kim Alvefur
3c2a15fa08 prosodyctl: Remove example showing deprecated config option 2017-04-21 13:29:04 +02:00
Kim Alvefur
868ae999f7 prosodyctl: Fix indentation 2017-04-21 13:21:47 +02:00
Kim Alvefur
9b5bd658a4 prosodyctl: Use the correct variable 2017-04-20 16:20:28 +02:00
Kim Alvefur
256ab5259d prosodyctl cert: If running as root, write certificate files to config directory (fixes #530) 2017-04-19 20:39:47 +02:00
Kim Alvefur
28473a6452 prosodyctl: Rename variable for soft-require success to improve readability 2017-04-19 20:38:55 +02:00
Kim Alvefur
1584f132bf prosodyctl: Remove --root from arg array 2017-04-19 20:26:09 +02:00