aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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 :) )
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * prosodyctl: Use mode r+ for opening the file so 1) it fails if the file ↵Matthew Wild2010-01-131-1/+1
| | | | | | | | doesn't exist 2) we have write access to lock it
| * util.prosodyctl: Report Prosody as not running if the pidfile isn't lockedMatthew Wild2010-01-111-2/+9
| |
* | prosodyctl: Use mode r+ for opening the file so 1) it fails if the file ↵Matthew Wild2010-01-131-1/+1
| | | | | | | | doesn't exist 2) we have write access to lock it
* | util.prosodyctl: Report Prosody as not running if the pidfile isn't lockedMatthew Wild2010-01-111-2/+9
| |
* | util.prosodyctl: Saner determination of Prosody executable pathBrian Cully2009-12-211-3/+1
|/
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* util.prosodyctl: Fix undefined global accessMatthew Wild2009-07-101-1/+1
|
* util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks ↵Matthew Wild2009-05-061-0/+3
| | | | macaronyde!)
* util.prosodyctl: Return success status of usermanager.create_user()Matthew Wild2009-05-051-1/+4
|
* prosodyctl, util.prosodyctl: New prosodyctl utility for managing Prosody serversMatthew Wild2009-05-021-0/+113