Commit graph

400 commits

Author SHA1 Message Date
Matthew Wild
b090b67ec4 prosodyctl: Define prosody.core_post_stanza as an empty function 2013-04-06 20:07:08 +01:00
Kim Alvefur
2e91cb38d9 prosody, prosodyctl: Remove last trace of "core" \o/ 2013-03-23 15:00:49 +01:00
Kim Alvefur
79a96e236c prosodyctl, prosody: Pass the selected config file from prosodyctl to prosody 2013-01-09 22:01:52 +01:00
Kim Alvefur
c445bb3bd8 prosodyctl: Pop arg items after use. Fixes #306 2013-01-09 20:40:44 +01:00
Kim Alvefur
7855128caa prosodyctl, prosody.cfg.lua.dist, certs/Makefile: Use .crt as suffix for certificates everywhere (thanks jasperixla) 2013-01-08 21:20:00 +01:00
Kim Alvefur
2b0081486e prosodyctl: Load LFS and util.openssl when actually needed (fixes unhelpful warnings if no LuaSec installed) 2013-01-08 13:33:35 +01:00
Kim Alvefur
7aca7b6303 prosodyctl: Fix copypaste error 2012-09-19 23:29:25 +02:00
Kim Alvefur
fb9f19c208 prosodyctl: Set stricter umask while generating key (thanks darkrain) 2012-09-19 23:26:38 +02:00
Kim Alvefur
799a42cb68 prosodyctl: Abort if unable to load util.pposix 2012-09-19 23:25:10 +02:00
Kim Alvefur
4020eeba35 prosodyctl: Set $HOME to data path. Fixes issue with openssl and random state (Thanks Florob) 2012-09-19 23:24:40 +02:00
Waqas Hussain
4b8ade497e prosodyctl: Make sure hosts[*].modules always exists. 2012-09-23 01:11:20 +05:00
Matthew Wild
0cf860fc7a prosody, prosodyctl: chdir() to data directory on startup 2012-09-19 12:39:21 +01:00
Kim Alvefur
ae8b24b196 prosodyctl: Use util.prosodyctl.deluser 2012-08-25 01:32:26 +02:00
Matthew Wild
80e119abd6 Merge 0.11->trunk 2019-03-14 08:10:01 +00:00
Kim Alvefur
42f4b6b225 prosodyctl: about: Report the current operating system according to uname 2018-12-08 18:02:56 +01:00
Kim Alvefur
d254f7e101 prosodyctl: Fix module.command invocation (thanks woffs)
The first argument is already removed once since c7727c13260f
2019-01-18 18:30:41 +01:00
Kim Alvefur
7fefafa8f6 mod_websocket: Drop CORS code in favor of that in mod_http
Like for mod_bosh, deprecates consider_websocket_secure and depend on
mod_http_crossdomain if it is set.
2018-10-04 12:24:08 +02:00
Kim Alvefur
467260e6f5 mod_bosh: Drop CORS code in favor of than in mod_http
This deprecates the cross_domain_bosh setting. As a compat measure, if
it is set, mod_http_crossdomain is loaded.
2018-10-04 12:23:06 +02:00
Kim Alvefur
1e4a0ebba2 prosodyctl: Use the same runtime for starting prosody
Improves the experience with the `make integration-test` command
2019-01-10 15:25:38 +01:00
Kim Alvefur
e31667cf15 prosodyctl: Pass the original argv table to subcommands (with first argument removed)
This preserves eg arg[-1] where you might find the path to the Lua
executable, which can be useful.
2019-01-10 14:54:34 +01:00
Matthew Wild
81bef2c93b Merge with Florob 2012-07-28 01:14:31 +01:00
Kim Alvefur
92a51d69e9 prosodyctl: Fix typo 2012-07-03 15:56:32 +02:00
Florian Zeitz
8eec297456 mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals 2012-06-09 02:27:44 +02:00
Kim Alvefur
4ce79f0c27 prosodyctl: Add duplicate code for getting version of prosody 2012-05-15 20:15:52 +02:00
Kim Alvefur
0e5cf44aad prosodyctl: Fix for generating certs with UTF-8 2012-05-14 18:04:32 +02:00
Kim Alvefur
f64f214934 prosodyctl: Improve help messages for cert commands 2012-05-13 15:02:38 +02:00
Kim Alvefur
79dfc716bd prosodyctl: Show an error if the user doesn't supply a hostname to the certificate commands 2012-05-09 01:11:27 +02:00
Kim Alvefur
27840ebbf4 prosodyctl: Replace hack with lfs for checking if a file exists 2012-05-09 01:02:00 +02:00
Kim Alvefur
3da90f3bb5 prosodyctl: Use util.openssl in certificate helpers. Improve feedback 2012-05-09 00:33:55 +02:00
Kim Alvefur
e77054f2ec prosodyctl: Fix import of util.iterators 2012-05-04 01:13:33 +02:00
Kim Alvefur
5cf8e1100c prosodyctl: Add commands for generating certificates and keys 2012-01-20 22:04:28 +01:00
Matthew Wild
9dca4d2345 prosodyctl: Adjust description of 'reload' command (thanks crocket) 2012-01-17 21:10:16 +00:00
Matthew Wild
20db89605b prosodyctl: Update message on reload success 2011-08-04 14:00:24 -04:00
Vladimir Protasov
d20a983470 Add "reload" command to prosodyctl 2011-08-04 21:26:15 +04:00
Matthew Wild
28b366799e prosodyctl: Remove typo'd '+' after LuaRocks 1.x version (thanks spoobie) 2011-07-27 14:25:05 -04:00
Matthew Wild
8d564b3582 prosodyctl: Add info about the presence of LuaRocks to 'about' command 2011-07-27 14:06:46 -04:00
Matthew Wild
b5efdaa68e prosodyctl: Fix 'about' command to not show up where it shouldn't... 2011-07-19 12:51:59 -04:00
Matthew Wild
47179a8bb8 prosodyctl: Add 'about' command to list Prosody version, directories, and various other stuff 2011-06-27 12:02:50 +01:00
Matthew Wild
4ef5a9ba3a prosody, prosodyctl: Use plugin_paths in addition to, not instead of, the default plugin path 2011-02-24 01:35:33 +00:00
Matthew Wild
731c29b5ac prosodyctl: Support for plugin_paths config option 2011-02-22 18:37:29 +00:00
Matthew Wild
a5e641fa8f prosodyctl, util.prosodyctl: Move UI functions to util.prosodyctl so they can be used outside of prosodyctl itself 2011-02-13 19:28:29 +00:00
Matthew Wild
371cf4887a prosodyctl: Instead of calling datamanager.set_path(), just ensure prosody.paths.data always contains the correct value (including config) 2011-01-07 11:56:52 +00:00
Matthew Wild
e29ff95c8f prosody, prosodyctl: Filter out relative paths from package.(c)path when installed 2011-01-04 21:19:28 +00:00
Matthew Wild
99ec1ccf1e prosody, prosodyctl: Create prosody object as a local before exporting as a global 2011-01-04 21:18:35 +00:00
Matthew Wild
6d96edf726 prosody, prosodyctl, util.dependencies: Split checking and logging of dependencies so we can check hard deps before the config and logging is loaded 2010-12-20 14:06:16 +00:00
Florian Zeitz
af433a87e1 mod_admin_adhoc: Support for reloading multiple modules 2010-12-18 21:04:45 +01:00
Matthew Wild
7b6dc4fed9 prosodyctl: Add dummy lock/unlock_globals() until util.startup comes along 2010-12-18 04:02:28 +00:00
Waqas Hussain
7491c61427 prosodyctl: Added and updated some comments and some semicolons, to match main prosody executable. 2010-12-12 17:18:16 +05:00
Waqas Hussain
f7936f9d0f prosodyctl: Read PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables, to match main prosody executable. 2010-12-12 17:17:20 +05:00
Waqas Hussain
fc9f921bc2 prosodyctl: Added support for --config command line argument, and multiple config parsers (to match the main prosody executable). 2010-12-12 17:10:24 +05:00