Commit graph

266 commits

Author SHA1 Message Date
Matthew Wild
a703f27284 prosodyctl: Fix some luacheck warnings 2020-01-23 21:59:13 +00:00
Matthew Wild
348f638b3a Log warning when using prosodyctl start/stop/restart 2020-01-23 21:43:36 +00:00
Kim Alvefur
1ee37abc70 prosodyctl: Print a blank line to improve spacing and readability 2019-12-31 02:50:25 +01:00
Kim Alvefur
964d68a2e6 prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple
Related #1483
2019-12-31 02:48:49 +01:00
Kim Alvefur
d76bbecd01 prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469) 2019-11-23 23:10:39 +01:00
Matthew Wild
30c2b8036c prosodyctl: Fix traceback on incorrect proxy65_address type 2019-09-11 15:03:54 +01:00
Kim Alvefur
33d32b5cb3 prosodyctl: Include version of LuaDBI in 'about' 2019-05-01 22:34:15 +02:00
Matthew Wild
feb226825d prosodyctl about: Report network backend in use 2019-03-14 08:09:49 +00:00
Kim Alvefur
2842d0c3ac prosodyctl check: Add statisticsmanager settings to known global options 2018-12-17 15:34:15 +01:00
Kim Alvefur
801e965b8d Merge 0.10->trunk 2018-10-24 17:18:34 +02:00
Kim Alvefur
8eb2a6f4c1 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
5756d8fc1a prosodyctl: Allow cert dir to not be owned by root (fixes #1075) 2018-10-24 17:04:17 +02:00
Kim Alvefur
fdc0d5f9b4 prosodyctl: Warn if attempting to run an unknown check (fixes #1161) 2018-06-28 10:56:24 +02:00
Matthew Wild
0ff1619ea4 prosodyctl: Make log level configurable through PROSODYCTL_LOG_LEVEL (useful for debugging) 2018-06-07 11:21:51 +01:00
Kim Alvefur
6079a380d8 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
bde433b14c prosodyctl: Use correct separator in chown call (fixes #1093) 2018-03-02 01:51:06 +01:00
Matthew Wild
bb6a748943 prosodyctl: Fix traceback with lfs < 1.6.2 and show warning 2017-11-30 18:47:06 +00:00
Kim Alvefur
942b986071 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
28746d6a2e 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
dc6396df0d prosodyctl: cert import: Reuse function from certmanager for locating certificates and keys 2017-09-27 15:21:20 +02:00
Waqas Hussain
fcf05fde86 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
ba6413cac8 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
188a2f9b5c prosodyctl: Only demand a hostname argument to cert commands other than import 2017-09-18 17:08:31 +02:00
Kim Alvefur
51cfd5b4c7 prosodyctl: Use all enabled hosts if no hostnames passed to cert import 2017-09-18 17:06:35 +02:00
Kim Alvefur
fb7792a6d3 prosody, prosodyctl: Fix traceback if ssl config is missing (thanks lookshe and sol) 2017-08-29 15:23:39 +02:00
Kim Alvefur
24e2e04d48 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
d7b37ef781 prosodyctl: Skip certificate checks for hosts of the form node@host (fixes #779) 2017-08-04 20:27:43 +02:00
Kim Alvefur
b518128734 prosodyctl: Make cert check do the same as check certs 2017-07-06 10:41:28 +02:00
Kim Alvefur
769dbb1e2f prosodyctl: Show description of each certificate subcommand 2017-05-16 17:51:33 +02:00
Kim Alvefur
a42e9137c5 prosodyctl: Add cert import to short help 2017-04-24 15:53:26 +02:00
Kim Alvefur
d40c43dffe prosodyctl: Attempt to reload prosody after importing certificates 2017-04-22 19:12:51 +02:00
Kim Alvefur
e887b4bcb8 prosodyctl: Make note about reporting where certificates are searched for 2017-04-22 19:12:26 +02:00
Kim Alvefur
1cfa8feaec prosodyctl: Return non-zero exit code from cert import if no certificates imported 2017-04-22 19:12:04 +02:00
Kim Alvefur
3b0dfa75d6 prosodyctl: Delay reporting of successful certificate imports until all done 2017-04-22 19:11:26 +02:00
Kim Alvefur
db408d9cf0 prosodyctl: cert import: Command to copy certificates into prosodys certificate directory (fixes #892) 2017-04-21 15:11:25 +02:00
Kim Alvefur
a1679e225c prosodyctl: Split long line [luacheck] 2017-04-21 14:44:28 +02:00
Kim Alvefur
7be07e3ec3 prosodyctl: Normalize inconsistent whitespace [luacheck] 2017-04-21 14:43:52 +02:00
Kim Alvefur
ef9465a761 prosodyctl: Verify that directory certs are written to exists 2017-04-21 14:34:53 +02:00
Kim Alvefur
b5e6c7a6f5 prosodyctl: Verify permissions on directory that certificates are written to 2017-04-21 14:24:59 +02:00
Kim Alvefur
451ec7734c prosodyctl: Return non-zero status to indicate error 2017-04-21 14:20:46 +02:00
Kim Alvefur
4b189254a7 prosodyctl: Remove example showing deprecated config option 2017-04-21 13:29:04 +02:00
Kim Alvefur
132063858c prosodyctl: Fix indentation 2017-04-21 13:21:47 +02:00
Kim Alvefur
d7900a6980 prosodyctl: Use the correct variable 2017-04-20 16:20:28 +02:00
Kim Alvefur
8a5beb28d9 prosodyctl cert: If running as root, write certificate files to config directory (fixes #530) 2017-04-19 20:39:47 +02:00
Kim Alvefur
b8928f7400 prosodyctl: Rename variable for soft-require success to improve readability 2017-04-19 20:38:55 +02:00
Kim Alvefur
ca280495d6 prosodyctl: Remove --root from arg array 2017-04-19 20:26:09 +02:00
Kim Alvefur
358ede93a7 prosodyctl: Allow continuing to run as root (fixes #893) 2017-04-19 19:31:46 +02:00
Matthew Wild
91a21b8f75 prosodyctl: Don't switch user if we are root and run_as_root is enabled 2017-04-19 12:40:03 +01:00
Kim Alvefur
6dee387e59 prosodyctl: Point out how default_storage is redundant if storage is a string 2017-04-08 16:42:42 +02:00
Kim Alvefur
6d7e7a81e2 Merge 0.10->trunk 2018-06-28 11:05:00 +02:00