aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
Commit message (Collapse)AuthorAgeFilesLines
* prosodyctl+util.prosodyctl.*: Start breaking up the ever-growing prosodyctlMatthew Wild2020-06-021-93/+16
|
* util.prosodyctl: Pass command line flag to force daemonization on startKim Alvefur2020-01-261-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 warningsKim Alvefur2019-12-231-2/+2
|
* util.prosodyctl: Enforce strict JID validation on user creationKim Alvefur2019-11-011-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 itselfJo?o Duarte2019-08-161-1/+2
|
* util/prosodyctl: Removed the check_flags and execute_command functionJo?o Duarte2019-08-161-25/+0
|
* util.prosodyctl: Changed a commentJo?o Duarte2019-08-011-1/+1
|
* util.prosodyctl: The check_flags function now considers that a module, if ↵Jo?o Duarte2019-07-311-2/+2
| | | | given, is specified at the penultimate argument it receives
* util.prosodyctl: Added the execute_command functionJo?o Duarte2019-07-311-0/+14
|
* util.prosodyctl: call_luarocks function is now compatible with the list commandJo?o Duarte2019-07-311-1/+5
|
* util.prosodyctl: Function now differentiates its output, depending if it is ↵Jo?o Duarte2019-07-311-1/+7
| | | | being called by install or remove
* util.prosodyctl: Added the call_luarocks functionJo?o Duarte2019-07-311-0/+7
|
* util.prosodyctl: Added the check_flags functionJo?o Duarte2019-07-311-1/+12
|
* util.prosodyctl: Created the helper function get_path_custom_pluginsJo?o Duarte2019-07-241-0/+9
|
* util.prosodyctl: Removed the admin_operation commandJo?o Duarte2019-07-241-22/+0
|
* util.prosodyctl: Added the show_module_configuration_help functionJo?o Duarte2019-07-231-0/+11
|
* util.prosodyctl: Corrected indentation on my codeJo?o Duarte2019-07-201-18/+18
|
* util.prosodyctl: Added help support to 'admin_operation'Jo?o Duarte2019-06-271-0/+5
|
* util.prosodyctl: Moved the 'admin_operation' function from prosodyctl to hereJo?o Duarte2019-06-251-0/+17
|
* util.prosodyctl: Allow passing path to Lua runtime to the start() functionKim Alvefur2019-01-101-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 Alvefur2018-06-061-2/+2
|
* prosodyctl, util.prosodyctl: Pass source path as a parameter instead of ↵Matthew Wild2018-03-221-5/+3
| | | | global variable
* util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2Matthew Wild2018-03-201-1/+4
|
* util.prosodyctl: Resolve possibly relative pidfile path (fixes inconsistency ↵Kim Alvefur2017-04-241-0/+2
| | | | with mod_posix)
* util.prosodyctl: Handle os.execute in Lua 5.2 returning true when command ↵Kim Alvefur2016-06-231-1/+1
| | | | terminates successfully
* util.prosodyctl: Remove unused variable [luacheck]Matthew Wild2016-03-101-1/+1
|
* net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵Matthew Wild2016-03-101-1/+1
| | | | util.rfc6724: Remove unused variables [luacheck]
* util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-211-34/+47
| | | | return them in a table at the end
* util.{interpolation,prosodyctl,sql}: Trim trailing whitespaceKim Alvefur2015-07-171-15/+15
|
* Merge 0.9->0.10Matthew Wild2014-08-281-14/+18
|\
| * prosodyctl: Verify that 'pidfile' is a string, show friendly error otherwiseKim Alvefur2014-08-261-0/+4
| |
* | prosodyctl, util.prosodyctl: Update to reflect that mod_posix gets loaded by ↵Kim Alvefur2014-04-101-2/+2
| | | | | | | | default on posix platforms
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-15/+15
|/
* util.prosodyctl: Initialize storagemanager on the host before initializing ↵Matthew Wild2013-04-271-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 removedKim Alvefur2013-03-231-2/+2
|
* util.prosodyctl: Use usermanager to delete users instead of unsetting their ↵Kim Alvefur2012-08-251-2/+2
| | | | password
* mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on ↵Florian Zeitz2012-06-091-0/+2
| | | | modules setting globals
* Merge with 0.9Matthew Wild2012-02-111-3/+3
|\
| * util.prosodyctl: Fix variable name clash introduced in 55ef5d83d00a (thanks ↵Matthew Wild2012-02-111-3/+3
| | | | | | | | chris)
* | Merge with 0.9Matthew Wild2012-02-081-1/+5
|\|
| * util.prosodyctl: In the register command, check that the virtual exists ↵Kim Alvefur2012-02-081-1/+5
| | | | | | | | before proceeding.
* | util.prosodyctl: Add getline() and show_prompt()Kim Alvefur2012-01-201-0/+15
|/
* Add "reload" command to prosodyctlVladimir Protasov2011-08-041-0/+16
|
* prosodyctl, util.prosodyctl: Move UI functions to util.prosodyctl so they ↵Matthew Wild2011-02-131-0/+86
| | | | can be used outside of prosodyctl itself
* mod_admin_adhoc: Support for reloading multiple modulesFlorian Zeitz2010-12-181-2/+2
|
* util.prosodyctl: Initialize storagemanager on hosts we modifyMatthew Wild2010-12-181-0/+3
|
* util.prosodyctl: Prep JIDs before checking whether they exist (thanks tja)Matthew Wild2010-12-071-3/+4
|
* prosodyctl, util.prosodyctl: Show error when mod_posix is not enabled and an ↵Matthew Wild2010-11-161-0/+6
| | | | attempt is made to query Prosody's status (thanks stever)
* util.prosodyctl: Fixed host variables in user_exists.Tobias Tom2010-07-011-2/+2
|
* util.prosodyctl: Initialize the host's auth provider if necessary (thanks ↵Matthew Wild2010-06-291-0/+12
| | | | johnny, and all the other people whom this hindered :) )