Commit graph

400 commits

Author SHA1 Message Date
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
Kim Alvefur
a3522c0f2d prosodyctl: Allow continuing to run as root (fixes #893) 2017-04-19 19:31:46 +02:00
Matthew Wild
5ce98ecf13 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
54fea3aeec prosodyctl: Point out how default_storage is redundant if storage is a string 2017-04-08 16:42:42 +02:00
Kim Alvefur
3da6c11ac8 Merge 0.10->trunk 2018-06-28 11:05:00 +02:00
Kim Alvefur
087fbda1f7 prosodyctl: Restrict c2s checks for when c2s is enabled 2018-06-23 17:28:24 +02:00
Emmanuel Gil Peyrot
d5e1b39056 prosodyctl: Only check for s2s if mod_s2s is enabled (fixes #1031) 2018-06-23 16:15:36 +02:00
Matthew Wild
c5bd62df98 prosodyctl: check: Replace loaded-module calculation with a more accurate query to modulemanager, fixes #1171 2018-06-20 10:42:57 +01:00
Kim Alvefur
90f9911c53 prosodyctl: Config check for modules that are also components (fixes #1138) 2018-05-11 16:03:35 +02:00
Kim Alvefur
7af7beb0ea prosodyctl: Use prosody.hosts instead of _G.hosts 2018-03-29 20:51:16 +02:00
Kim Alvefur
574ae71c70 prosodyctl: Increase robustness in luarocks version detection (fixes #1003) 2018-03-30 12:12:50 +02:00
Matthew Wild
b28a70db83 prosodyctl: Large number of changes to satisfy [luacheck], includes bug fixes 2018-03-22 22:33:42 +00:00
Matthew Wild
c0912560a4 prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable 2018-03-22 21:54:59 +00:00
Matthew Wild
159f8f7bc1 prosodyctl: Run commands inside async context 2018-03-22 16:23:06 +00:00
Matthew Wild
3a8c72b72e prosody, prosodyctl, util.startup: Finally factor out startup-related and common code into a separate module 2018-03-20 16:10:37 +00:00
Kim Alvefur
d03099c7cc Merge 0.10->trunk 2018-03-06 01:45:58 +01:00
Kim Alvefur
f31e73eb48 Merge 0.10->trunk 2017-12-01 04:54:23 +01:00
Kim Alvefur
ca622317f1 Merge 0.10->trunk 2017-09-29 13:45:03 +02:00
Matthew Wild
d6833915bc Merge 0.10->trunk 2017-09-26 17:24:25 +01:00
Kim Alvefur
43e5d4df29 Merge 0.10->trunk 2017-09-21 02:36:28 +02:00
Kim Alvefur
4e7a2d21e8 Merge 0.10->trunk 2017-08-29 15:24:53 +02:00
Kim Alvefur
38f73e28ae Merge 0.10->trunk 2017-08-28 21:05:12 +02:00
Kim Alvefur
a65cd04e35 Merge 0.10->trunk 2017-07-06 11:24:36 +02:00
Emmanuel Gil Peyrot
eb231e9eab configmanager: Remove support for multiple parsers, fixes #852. 2017-05-27 15:32:28 +01:00
Kim Alvefur
9b9d6a9ba9 Merge 0.10->trunk 2017-05-17 01:06:20 +02:00
Kim Alvefur
d10300eca4 Merge 0.10->trunk 2017-04-25 01:42:59 +02:00
Kim Alvefur
706849aa1e Merge 0.10->trunk 2017-04-24 14:19:49 +02:00
Kim Alvefur
708f82e198 Merge 0.10->trunk 2017-04-21 15:22:17 +02:00
Kim Alvefur
8e1cca01e9 Merge 0.10->trunk 2017-04-20 16:21:13 +02:00