Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | compat: Remove handling of Lua 5.1 location of 'unpack' function | Kim Alvefur | 2022-07-11 | 1 | -1/+1 |
| | |||||
* | executables: Reject Lua 5.1 early | Kim Alvefur | 2022-07-02 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | Prevents attempting to load libraries that may no longer be found and crashing with a traceback. Platforms like Debian where multiple Lua versions can be installed at the same time and 'lua' pointing to one of the installed interpreters via symlinks, there's the possibility that prosody/prosodyctl may be invoked with Lua 5.1, which will no longer have any of the rest of Prosody libraries available to be require(), and thus would immediately fail with an unfriendly traceback. Checking and aborting early with a friendlier message and reference to more information is better. Part of #1600 | ||||
* | prosodyctl: Pass server when listing (outdated) plugins (fix #1738) | Kim Alvefur | 2022-04-05 | 1 | -1/+7 |
| | | | | | Needed since it checks the manifest of the repository and most likely defaults to luarocks.org unless specified | ||||
* | prosodyctl about: Report version of lua-readline | Kim Alvefur | 2022-03-27 | 1 | -2/+8 |
| | | | | Good to know since it affects how well the shell works | ||||
* | prosodyctl: Restore 'list --outdated' | Kim Alvefur | 2022-02-17 | 1 | -0/+4 |
| | | | | | Parsing --flags puts it into 'opts', so --outdated wasn't passed to luarocks, breaking that functionality | ||||
* | prosodyctl: Allow passing server on command line with --server | Kim Alvefur | 2022-02-04 | 1 | -1/+1 |
| | | | | Because why not I guess. This mirrors the corresponding luarocks command | ||||
* | prosodyctl: Allow install plugin via explicit path or URL | Kim Alvefur | 2022-02-04 | 1 | -2/+2 |
| | | | | | | | | | | This way you don't need to set the server URL in the config to use this, you could just ^C^V an install line from a web page that says prosodyctl install https://modules.example.com/mod_example.src.rock Drop the help message in this case since it'll be all messed up by being given an URL or rock filename. | ||||
* | prosodyctl: Return success status code from --help | Kim Alvefur | 2022-02-04 | 1 | -11/+11 |
| | | | | | Only when the help is shown because of invalid arguments should a non-zero status code be returned to indicate a problem. | ||||
* | prosodyctl: Use argument parsing library to parse --help, -h, -? | Kim Alvefur | 2022-02-04 | 1 | -12/+27 |
| | | | | Reads nicer, but adds more code. Can always be reverted later I suppose. | ||||
* | prosodyctl: Hide process management commands when init system should be used ↵ | Kim Alvefur | 2021-12-21 | 1 | -3/+19 |
| | | | | instead | ||||
* | prosodyctl: Reorder help sections | Kim Alvefur | 2021-12-21 | 1 | -5/+5 |
| | | | | | | By how old the commands are? Or how disruptive the changes are? Or just by what feels best? | ||||
* | prosodyctl: Fix weird indentation | Kim Alvefur | 2021-11-06 | 1 | -2/+2 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2021-09-20 | 1 | -1/+1 |
|\ | |||||
| * | prosodyctl: Fix later import of LuaFileSystem | Kim Alvefur | 2021-09-11 | 1 | -1/+1 |
| | | | | | | | | | | | | lfs or WHAT How did this even happen? | ||||
| * | prosodyctl: Add 'limits' to known globals to warn about misplacing it | Kim Alvefur | 2021-05-27 | 1 | -1/+1 |
| | | | | | | | | It will do nothing in a VirtualHost section for example. | ||||
* | | prosodyctl: Add a note about checking the order of listed commands | Kim Alvefur | 2021-07-15 | 1 | -1/+1 |
| | | | | | | | | Should Plugin really be first? What order makes the most sense? | ||||
* | | prosodyctl: Add cert to command listing | Kim Alvefur | 2021-07-15 | 1 | -1/+3 |
| | | | | | | | | | | This hides a whole bunch of subcommands tho, maybe those should be explicitly listed? | ||||
* | | prosodyctl: Add 'shell' to command listing | Kim Alvefur | 2021-07-15 | 1 | -1/+2 |
| | | |||||
* | | prosodyctl: Add 'check' to command listing (fixes #1622) | Kim Alvefur | 2021-05-30 | 1 | -0/+10 |
| | | | | | | | | | | Along with infrastructure for the other commands that live in external modules. | ||||
* | | prosodyctl: Reorganize help / command list | Kim Alvefur | 2021-01-22 | 1 | -7/+15 |
| | | |||||
* | | prosodyctl: Report OpenSSL version | Kim Alvefur | 2021-05-12 | 1 | -0/+4 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2021-05-13 | 1 | -0/+4 |
|\| | |||||
| * | prosodyctl about: Report libexpat version if known | Matthew Wild | 2021-05-11 | 1 | -1/+5 |
| | | |||||
| * | prosodyctl: check config: Add 'gc' to list of global options | Matthew Wild | 2021-04-30 | 1 | -1/+1 |
| | | |||||
* | | prosodyctl: Add reference to #1602 (plugin installer docs) in comment | Kim Alvefur | 2021-01-21 | 1 | -0/+1 |
| | | |||||
* | | prosodyctl: Move message after condition | Kim Alvefur | 2021-01-21 | 1 | -1/+1 |
| | | | | | | | | If the condition is false, the message becomes a lie! | ||||
* | | prosodyctl: Fix copypaste oversight | Kim Alvefur | 2021-01-21 | 1 | -2/+2 |
| | | |||||
* | | prosodyctl: Abort if no plugin source specified for the installer | Kim Alvefur | 2021-01-21 | 1 | -1/+7 |
| | | | | | | | | Better than having a non-working default. | ||||
* | | prosodyctl: Move UI related calls out of util.prosodyctl | Kim Alvefur | 2021-01-21 | 1 | -0/+5 |
| | | | | | | | | | | I think this follows the general separation of duties between prosodyctl and util.prosodyctl better. | ||||
* | | prosodyctl: Use luarocks status code as exit code | Kim Alvefur | 2021-01-21 | 1 | -3/+6 |
| | | | | | | | | Enables some shell level error handling | ||||
* | | prosodyctl: Remove non-existant command from hidden commands | Kim Alvefur | 2021-01-05 | 1 | -1/+1 |
| | | | | | | | | | | Apparently there existed a plugin installer for a brief time in 2010, between c5d3905c98a6 and 8f78e8164032 | ||||
* | | util.prosodyctl: Get Luarocks server from config | Kim Alvefur | 2020-10-05 | 1 | -1/+2 |
| | | |||||
* | | util.prosodyctl: Move hardcoded luarocks server into prosodyctl | Kim Alvefur | 2020-10-05 | 1 | -1/+1 |
| | | | | | | | | To be replaced with config option in future commit | ||||
* | | util.prosodyctl: Flip argument order | Kim Alvefur | 2020-10-05 | 1 | -3/+3 |
| | | | | | | | | | | "verb subject" feels better than "subject verb", especially since the subject (module) is optional. | ||||
* | | prosodyctl about: Show longer name for luaunbound | Kim Alvefur | 2020-07-10 | 1 | -2/+2 |
| | | | | | | | | luaunbound, lunbound, lua-unbound ... "kärt barn har många namn" | ||||
* | | prosodyctl about: Strip name from lua module _VERSION | Kim Alvefur | 2020-07-10 | 1 | -1/+5 |
| | | | | | | | | | | Some modules have _VERSION = "LuaModule x.y.z", so it is a bit weird to show the name twice. | ||||
* | | prosodyctl about: Substitute better names for some Lua modules | Kim Alvefur | 2020-07-10 | 1 | -1/+10 |
| | | | | | | | | E.g. 'lxp' isn't that easy to guess that it's LuaExpat | ||||
* | | prosodyctl about: Split out libraries into a separate section | Kim Alvefur | 2020-07-10 | 1 | -5/+10 |
| | | | | | | | | | | Currently libevent and libunbound would show up under Lua modules but they are not, so a separate section seems more appropriate. | ||||
* | | prosodyctl about: Use library function for sorted listing of lua modules | Kim Alvefur | 2020-07-10 | 1 | -5/+3 |
| | | | | | | | | Code reuse and one less module to import is nice. | ||||
* | | prosodyctl about: Report versions of luaunbound and libunbound | Kim Alvefur | 2020-06-25 | 1 | -0/+7 |
| | | |||||
* | | prosodyctl: Fix traceback when no command provided (thanks Zash) | Matthew Wild | 2020-06-04 | 1 | -1/+1 |
| | | |||||
* | | prosodyctl+util.prosodyctl.*: Start breaking up the ever-growing prosodyctl | Matthew Wild | 2020-06-02 | 1 | -825/+11 |
| | | |||||
* | | prosodyctl, util.prosodyctl.shell: `prosodyctl shell` - a client to access ↵ | Matthew Wild | 2020-06-01 | 1 | -0/+4 |
| | | | | | | | | the prosodyctl admin shell | ||||
* | | prosodyctl: Add 'daemonize' to deprecated options known by check command | Kim Alvefur | 2020-01-26 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-01-23 | 1 | -4/+5 |
|\| | |||||
| * | prosodyctl: Fix some luacheck warnings | Matthew Wild | 2020-01-23 | 1 | -4/+5 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-01-23 | 1 | -0/+20 |
|\| | |||||
| * | Log warning when using prosodyctl start/stop/restart | Matthew Wild | 2020-01-23 | 1 | -0/+20 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-12-31 | 1 | -0/+6 |
|\| | |||||
| * | prosodyctl: Print a blank line to improve spacing and readability | Kim Alvefur | 2019-12-31 | 1 | -0/+1 |
| | |