Commit graph

358 commits

Author SHA1 Message Date
Kim Alvefur
a7fef46789 prosodyctl: Reorganize help / command list 2021-01-22 00:11:39 +01:00
Kim Alvefur
8164b92989 prosodyctl: Report OpenSSL version 2021-05-12 01:11:42 +02:00
Matthew Wild
5bc8b2a379 Merge 0.11->trunk 2021-05-13 11:17:13 +01:00
Kim Alvefur
ed63f7f10b prosodyctl: Add reference to #1602 (plugin installer docs) in comment 2021-01-21 19:23:15 +01:00
Kim Alvefur
d35c2451b8 prosodyctl: Move message after condition
If the condition is false, the message becomes a lie!
2021-01-21 19:20:08 +01:00
Kim Alvefur
7d115edcbb prosodyctl: Fix copypaste oversight 2021-01-21 19:16:24 +01:00
Kim Alvefur
ea529c8062 prosodyctl: Abort if no plugin source specified for the installer
Better than having a non-working default.
2021-01-21 19:11:27 +01:00
Kim Alvefur
bd62b3bce7 prosodyctl: Move UI related calls out of util.prosodyctl
I think this follows the general separation of duties between prosodyctl
and util.prosodyctl better.
2021-01-21 19:04:57 +01:00
Kim Alvefur
07e3f4ace8 prosodyctl: Use luarocks status code as exit code
Enables some shell level error handling
2021-01-21 19:02:03 +01:00
Kim Alvefur
fb6fb88474 prosodyctl: Remove non-existant command from hidden commands
Apparently there existed a plugin installer for a brief time in 2010,
between c5d3905c98a6 and 8f78e8164032
2021-01-05 17:08:24 +01:00
Kim Alvefur
42eec522a3 util.prosodyctl: Get Luarocks server from config 2020-10-05 21:24:14 +02:00
Kim Alvefur
28aadca557 util.prosodyctl: Move hardcoded luarocks server into prosodyctl
To be replaced with config option in future commit
2020-10-05 21:24:07 +02:00
Kim Alvefur
b74859e35c util.prosodyctl: Flip argument order
"verb subject" feels better than "subject verb", especially since the
subject (module) is optional.
2020-10-05 21:17:29 +02:00
Kim Alvefur
f537afbb8e prosodyctl about: Show longer name for luaunbound
luaunbound, lunbound, lua-unbound ... "kärt barn har många namn"
2020-07-10 03:33:37 +02:00
Kim Alvefur
947c136c95 prosodyctl about: Strip name from lua module _VERSION
Some modules have _VERSION = "LuaModule x.y.z", so it is a bit weird
to show the name twice.
2020-07-10 03:29:06 +02:00
Kim Alvefur
c80ef42112 prosodyctl about: Substitute better names for some Lua modules
E.g. 'lxp' isn't that easy to guess that it's LuaExpat
2020-07-10 03:29:02 +02:00
Kim Alvefur
6e59b77502 prosodyctl about: Split out libraries into a separate section
Currently libevent and libunbound would show up under Lua modules but
they are not, so a separate section seems more appropriate.
2020-07-10 03:23:10 +02:00
Kim Alvefur
37566b1cc3 prosodyctl about: Use library function for sorted listing of lua modules
Code reuse and one less module to import is nice.
2020-07-10 03:13:27 +02:00
Kim Alvefur
4a42f8042d prosodyctl about: Report versions of luaunbound and libunbound 2020-06-25 17:26:58 +02:00
Matthew Wild
3fd3d2cd99 prosodyctl about: Report libexpat version if known 2021-05-11 14:15:22 +01:00
Matthew Wild
e9b383cdb2 prosodyctl: check config: Add 'gc' to list of global options 2021-04-30 21:20:14 +01:00
Matthew Wild
75a1867ca5 prosodyctl: Fix some luacheck warnings 2020-01-23 21:59:13 +00:00
Matthew Wild
23470dd8de Log warning when using prosodyctl start/stop/restart 2020-01-23 21:43:36 +00:00
Kim Alvefur
941b35fe8a prosodyctl: Print a blank line to improve spacing and readability 2019-12-31 02:50:25 +01:00
Kim Alvefur
a7809d953e prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple
Related #1483
2019-12-31 02:48:49 +01:00
Matthew Wild
366a099409 prosodyctl: Fix traceback when no command provided (thanks Zash) 2020-06-04 17:26:18 +01:00
Matthew Wild
46022b0988 prosodyctl+util.prosodyctl.*: Start breaking up the ever-growing prosodyctl 2020-06-02 08:01:21 +01:00
Matthew Wild
a355440c01 prosodyctl, util.prosodyctl.shell: prosodyctl shell - a client to access the prosodyctl admin shell 2020-06-01 15:44:44 +01:00
Kim Alvefur
5d10f5303b prosodyctl: Add 'daemonize' to deprecated options known by check command 2020-01-26 16:52:32 +01:00
Matthew Wild
f0b1353582 Merge 0.11->trunk 2020-01-23 21:59:43 +00:00
Matthew Wild
79d8e994a2 Merge 0.11->trunk 2020-01-23 21:44:42 +00:00
Kim Alvefur
0f26f2d5c9 Merge 0.11->trunk 2019-12-31 02:52:12 +01:00
Kim Alvefur
72f1544f6d Merge 0.11->trunk 2019-11-23 23:12:01 +01:00
Kim Alvefur
290f928559 prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy (#1469) 2019-11-23 23:10:39 +01:00
Kim Alvefur
f6983a3d51 prosodyctl: Print friendly version of error messages 2019-11-01 23:16:58 +01:00
Matthew Wild
4c6aca8604 prosodyctl: Fix traceback on incorrect proxy65_address type 2019-09-11 15:03:54 +01:00
Kim Alvefur
f83b6fc79c prosodyctl: Include version of LuaDBI in 'about' 2019-05-01 22:34:15 +02:00
Kim Alvefur
43151af529 Merge 0.11->trunk 2019-09-21 16:50:29 +02:00
Matthew Wild
fffb4ee43d prosodyctl about: Report network backend in use 2019-03-14 08:09:49 +00:00
Matthew Wild
9f32d30e97 Merge mod-installer (2019 GSoC by João Duarte) 2019-08-19 12:17:17 +01:00
João Duarte
9d8380db11 prosodyctl: Install, remove and list commands now use the call_luarocks function 2019-08-16 14:58:29 -07:00
João Duarte
ce4f9d56d9 prosodyctl: Fixed a typo 2019-08-16 08:38:29 -07:00
João Duarte
3fe8683f5e prosodyctl: Removed the auxiliary command 'enabled_plugins' 2019-07-31 11:13:14 -07:00
João Duarte
5ba7a798fb prosodyctl: The install, remove and list commands now work by calling the execute_command function 2019-07-31 11:01:36 -07:00
João Duarte
849165ba69 prosodyctl: Rewrote the list command, to make it cleaner and easier to work with 2019-07-31 10:22:40 -07:00
João Duarte
f74f2d0d17 prosodyctl: Rewrote the remove command, to make it cleaner and easier to work with 2019-07-31 10:07:22 -07:00
João Duarte
7e472f4b26 prosodyctl: Rewrote the install command, to make it more cleaner 2019-07-31 07:31:03 -07:00
João Duarte
372a90aff6 prosodyctl: Removed unnecessary comments from the remove command 2019-07-31 05:55:32 -07:00
João Duarte
1e03cec664 prosodyctl: Swapped prints for the show_message function at the install/remove commands 2019-07-31 05:47:36 -07:00
João Duarte
449256fa0c prosodyctl: Corrected the help output of the install and remove commands 2019-07-26 05:53:18 -07:00