Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.prosodyctl: Always return exit code from luarocks | Kim Alvefur | 2021-01-21 | 1 | -4/+1 |
| | | | | os.exit(true) errors on Lua 5.1 | ||||
* | prosodyctl: Move UI related calls out of util.prosodyctl | Kim Alvefur | 2021-01-21 | 1 | -8/+0 |
| | | | | | I think this follows the general separation of duties between prosodyctl and util.prosodyctl better. | ||||
* | util.prosodyctl: Reword message to sound more natural | Kim Alvefur | 2021-01-21 | 1 | -1/+1 |
| | | | | | | | English is hard. "to" might also work, but we'll go with this for now. 18:32:11 <MattJ> s/at/in/ ? 18:32:19 <MattJ> to match luarocks :) | ||||
* | util.prosodyctl: Propagate status from luarocks invocation | Kim Alvefur | 2021-01-21 | 1 | -1/+6 |
| | |||||
* | util.prosodyctl: Use installer path prepared by util.startup | Kim Alvefur | 2021-01-21 | 1 | -10/+1 |
| | |||||
* | util.prosodyctl: Simplify luarocks invocation | Kim Alvefur | 2020-10-05 | 1 | -7/+3 |
| | |||||
* | util.prosodyctl: Move hardcoded luarocks server into prosodyctl | Kim Alvefur | 2020-10-05 | 1 | -2/+2 |
| | | | | To be replaced with config option in future commit | ||||
* | util.prosodyctl: Flip argument order | Kim Alvefur | 2020-10-05 | 1 | -1/+1 |
| | | | | | "verb subject" feels better than "subject verb", especially since the subject (module) is optional. | ||||
* | util.prosodyctl: Construct luarocks command line with templates | Kim Alvefur | 2020-10-05 | 1 | -2/+7 |
| | | | | More flexible and safer wrt escaping | ||||
* | prosodyctl+util.prosodyctl.*: Start breaking up the ever-growing prosodyctl | Matthew Wild | 2020-06-02 | 1 | -93/+16 |
| | |||||
* | util.prosodyctl: Pass command line flag to force daemonization on start | Kim Alvefur | 2020-01-26 | 1 | -2/+2 |
| | | | | | | | Part of the deprecation of the 'daemonize' config option. Further, it is a bit weird to run `prosodyctl start` and get Prosody running in the foreground. | ||||
* | util.prosodyctl: Silence luacheck warnings | Kim Alvefur | 2019-12-23 | 1 | -2/+2 |
| | |||||
* | util.prosodyctl: Enforce strict JID validation on user creation | Kim Alvefur | 2019-11-01 | 1 | -1/+1 |
| | | | | | | This is where 64ddcbc9a328 should have started. By preventing creation of users with invalid JIDs, it will slowly become safer to enforce strict validation on everything. | ||||
* | util/prosodyctl: call_luarocks now sets a directory variable itself | João Duarte | 2019-08-16 | 1 | -1/+2 |
| | |||||
* | util/prosodyctl: Removed the check_flags and execute_command function | João Duarte | 2019-08-16 | 1 | -25/+0 |
| | |||||
* | util.prosodyctl: Changed a comment | João Duarte | 2019-08-01 | 1 | -1/+1 |
| | |||||
* | util.prosodyctl: The check_flags function now considers that a module, if ↵ | João Duarte | 2019-07-31 | 1 | -2/+2 |
| | | | | given, is specified at the penultimate argument it receives | ||||
* | util.prosodyctl: Added the execute_command function | João Duarte | 2019-07-31 | 1 | -0/+14 |
| | |||||
* | util.prosodyctl: call_luarocks function is now compatible with the list command | João Duarte | 2019-07-31 | 1 | -1/+5 |
| | |||||
* | util.prosodyctl: Function now differentiates its output, depending if it is ↵ | João Duarte | 2019-07-31 | 1 | -1/+7 |
| | | | | being called by install or remove | ||||
* | util.prosodyctl: Added the call_luarocks function | João Duarte | 2019-07-31 | 1 | -0/+7 |
| | |||||
* | util.prosodyctl: Added the check_flags function | João Duarte | 2019-07-31 | 1 | -1/+12 |
| | |||||
* | util.prosodyctl: Created the helper function get_path_custom_plugins | João Duarte | 2019-07-24 | 1 | -0/+9 |
| | |||||
* | util.prosodyctl: Removed the admin_operation command | João Duarte | 2019-07-24 | 1 | -22/+0 |
| | |||||
* | util.prosodyctl: Added the show_module_configuration_help function | João Duarte | 2019-07-23 | 1 | -0/+11 |
| | |||||
* | util.prosodyctl: Corrected indentation on my code | João Duarte | 2019-07-20 | 1 | -18/+18 |
| | |||||
* | util.prosodyctl: Added help support to 'admin_operation' | João Duarte | 2019-06-27 | 1 | -0/+5 |
| | |||||
* | util.prosodyctl: Moved the 'admin_operation' function from prosodyctl to here | João Duarte | 2019-06-25 | 1 | -0/+17 |
| | |||||
* | util.prosodyctl: Allow passing path to Lua runtime to the start() function | Kim Alvefur | 2019-01-10 | 1 | -3/+4 |
| | | | | | By default the shebang is used. Being able to override it is useful in cases where the shebang does not match the configured runtime. | ||||
* | util.prosodyctl: Rename variables for consistency (thanks Link Mauve) | Kim Alvefur | 2018-06-06 | 1 | -2/+2 |
| | |||||
* | prosodyctl, util.prosodyctl: Pass source path as a parameter instead of ↵ | Matthew Wild | 2018-03-22 | 1 | -5/+3 |
| | | | | global variable | ||||
* | util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2 | Matthew Wild | 2018-03-20 | 1 | -1/+4 |
| | |||||
* | util.prosodyctl: Resolve possibly relative pidfile path (fixes inconsistency ↵ | Kim Alvefur | 2017-04-24 | 1 | -0/+2 |
| | | | | with mod_posix) | ||||
* | util.prosodyctl: Handle os.execute in Lua 5.2 returning true when command ↵ | Kim Alvefur | 2016-06-23 | 1 | -1/+1 |
| | | | | terminates successfully | ||||
* | util.prosodyctl: Remove unused variable [luacheck] | Matthew Wild | 2016-03-10 | 1 | -1/+1 |
| | |||||
* | net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵ | Matthew Wild | 2016-03-10 | 1 | -1/+1 |
| | | | | util.rfc6724: Remove unused variables [luacheck] | ||||
* | util.*: Remove use of module() function, make all module functions local and ↵ | Kim Alvefur | 2015-02-21 | 1 | -34/+47 |
| | | | | return them in a table at the end | ||||
* | util.{interpolation,prosodyctl,sql}: Trim trailing whitespace | Kim Alvefur | 2015-07-17 | 1 | -15/+15 |
| | |||||
* | Merge 0.9->0.10 | Matthew Wild | 2014-08-28 | 1 | -14/+18 |
|\ | |||||
| * | prosodyctl: Verify that 'pidfile' is a string, show friendly error otherwise | Kim Alvefur | 2014-08-26 | 1 | -0/+4 |
| | | |||||
* | | prosodyctl, util.prosodyctl: Update to reflect that mod_posix gets loaded by ↵ | Kim Alvefur | 2014-04-10 | 1 | -2/+2 |
| | | | | | | | | default on posix platforms | ||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -15/+15 |
|/ | |||||
* | util.prosodyctl: Initialize storagemanager on the host before initializing ↵ | Matthew Wild | 2013-04-27 | 1 | -2/+4 |
| | | | | usermanager. This fixes brokenness when the auth provider opens the store on load (as they all do since eeea0eb2602a) (thanks nulani) | ||||
* | util.{prosodyctl,openssl}: More use of config sections removed | Kim Alvefur | 2013-03-23 | 1 | -2/+2 |
| | |||||
* | util.prosodyctl: Use usermanager to delete users instead of unsetting their ↵ | Kim Alvefur | 2012-08-25 | 1 | -2/+2 |
| | | | | password | ||||
* | mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on ↵ | Florian Zeitz | 2012-06-09 | 1 | -0/+2 |
| | | | | modules setting globals | ||||
* | Merge with 0.9 | Matthew Wild | 2012-02-11 | 1 | -3/+3 |
|\ | |||||
| * | util.prosodyctl: Fix variable name clash introduced in 55ef5d83d00a (thanks ↵ | Matthew Wild | 2012-02-11 | 1 | -3/+3 |
| | | | | | | | | chris) | ||||
* | | Merge with 0.9 | Matthew Wild | 2012-02-08 | 1 | -1/+5 |
|\| | |||||
| * | util.prosodyctl: In the register command, check that the virtual exists ↵ | Kim Alvefur | 2012-02-08 | 1 | -1/+5 |
| | | | | | | | | before proceeding. |