Commit graph

400 commits

Author SHA1 Message Date
João Duarte
e1969065c4 prosodyctl: Added the install and remove arguments to the reorganized commands_order variable 2019-07-24 04:59:46 -07:00
João Duarte
b291e91de2 prosodyctl: Removed the admin_add and admin_remove from the commands_order variable 2019-07-24 04:53:02 -07:00
João Duarte
d38ebec466 prosodyctl: Removed the make, admin_add and admin_remove commands 2019-07-24 04:42:45 -07:00
João Duarte
447b7f8731 prosodyctl: Removed the development commands magic, get_modules and write_rockspec 2019-07-24 04:24:29 -07:00
João Duarte
ecd9e8f5d7 prosodyctl: Created a temporary function, that automatically sets up a repo with rockspecs for prosody modules 2019-07-23 13:27:19 -07:00
João Duarte
a935d786f3 prosodyctl: The install command now prints output regarding module configuration 2019-07-23 10:26:00 -07:00
João Duarte
d5026a6f63 prosodyctl: The install command is now also checking a specified remote server 2019-07-23 08:48:31 -07:00
João Duarte
94ba83d8e6 prosodyctl: Corrected the outputs from the install command 2019-07-23 08:36:06 -07:00
João Duarte
9da5559197 prosodyctl: Corrected output printed by the remove command 2019-07-23 07:21:08 -07:00
João Duarte
aaac83292f prosodyctl: Corrected indentation on my code 2019-07-20 12:41:06 -07:00
João Duarte
cbeea7c287 prosodyctl: Removed trailing whitespaces 2019-07-17 09:47:37 -07:00
João Duarte
5fa25a8910 prosodyctl: Added missing semicolons to some return calls 2019-07-17 09:12:32 -07:00
João Duarte
efb9164e51 prosodyctl: Improved the 'remove' command 2019-07-17 09:03:15 -07:00
João Duarte
213539ccd9 prosodyctl: The 'install' command can now recognize the flag '--tree' 2019-07-17 03:45:26 -07:00
João Duarte
184b2a45b8 prosodyctl: Improved the 'list' command 2019-07-17 03:31:02 -07:00
João Duarte
344f333e82 prosodyctl: Added the 'install' command 2019-07-17 03:20:08 -07:00
João Duarte
5b190cf276 prosodyctl: Added the 'remove' command 2019-07-16 10:34:13 -07:00
João Duarte
8fa4d6e250 prosodyctl: Added the 'make' function 2019-07-16 10:26:44 -07:00
João Duarte
db90fc5da5 prosodyctl: Added the 'write_rockspec' function 2019-07-16 10:08:12 -07:00
João Duarte
7c291a6e15 prosodyctl: Added the 'get_modules' commands 2019-07-16 10:05:31 -07:00
João Duarte
11a354176f prosodyctl: added help support to all my functions 2019-06-27 18:00:11 +01:00
João Duarte
fce54a8010 prosodyctl: Complemented my functions with return calls, when possible 2019-06-26 16:46:51 +01:00
João Duarte
79191ed8f2 prosodyctl: Corrected the calls to the recently moved function 'admin_operation' 2019-06-25 13:22:22 +01:00
João Duarte
122bde2f2c util.prosodyctl: Moved the 'admin_operation' function from prosodyctl to here 2019-06-25 13:20:54 +01:00
João Duarte
2aa2aff974 prosodyctl: Added the 'admin_remove' command 2019-06-25 12:03:20 +01:00
João Duarte
6021b58712 prosodyctl: Added the 'admin_add' command 2019-06-25 12:02:37 +01:00
João Duarte
b12ba15540 prosodyctl: Changed the command 'admin_add' to 'admin_operation', which will be called by both add/remove operations 2019-06-25 00:52:12 +01:00
João Duarte
1fda45e586 prosodyctl: Implemented a command bridge to the 'luarocks-admin add' command, called 'admin_add' 2019-06-21 19:03:04 +01:00
João Duarte
992d18aa62 prosodyctl: Implemented the 'list' command, which is a bridge to 'luarocks list' 2019-06-20 19:17:47 +01:00
João Duarte
8025f98427 prosodyctl: Renamed the command function 'test' to 'enabled_plugins', which now only shows the plugins, in a list 2019-06-07 13:09:01 +01:00
João Duarte
cf25afe5b1 prosodyctl: Added the 'local_plugins' command function, which prints back a list of locally available plugins 2019-06-07 13:00:40 +01:00
João Duarte
83ca8aef54 prosodyctl: The 'test' function now also prints which plugins are enabled 2019-06-07 11:46:19 +01:00
João Duarte
66bb4ab449 prosodyctl: Created a custom function, 'test', that prints back a welcoming message 2019-06-07 11:36:13 +01:00
Kim Alvefur
6d6eefea93 Merge 0.11->trunk 2019-05-03 18:14:14 +02:00
Kim Alvefur
59c09fa604 prosodyctl check: Add statisticsmanager settings to known global options 2018-12-17 15:34:15 +01:00
Kim Alvefur
e12412bc08 Merge 0.10->trunk 2018-10-24 17:18:34 +02:00
Kim Alvefur
2dd5ee9357 prosodyctl: Change ownership of certs to same as the cert base dir when running from a source checkout 2018-10-24 17:13:49 +02:00
Kim Alvefur
d3d71d91bb prosodyctl: Allow cert dir to not be owned by root (fixes #1075) 2018-10-24 17:04:17 +02:00
Kim Alvefur
fbec700e42 prosodyctl: Warn if attempting to run an unknown check (fixes #1161) 2018-06-28 10:56:24 +02:00
Matthew Wild
29ebeb2da4 prosodyctl: Make log level configurable through PROSODYCTL_LOG_LEVEL (useful for debugging) 2018-06-07 11:21:51 +01:00
Kim Alvefur
8799bd0293 prosodyctl: Also look for options that belong in global section under disabled hosts (fixes #1207)
Thanks ivucica
2018-08-30 00:17:54 +02:00
Kim Alvefur
f7bf94cd03 prosodyctl: Use correct separator in chown call (fixes #1093) 2018-03-02 01:51:06 +01:00
Matthew Wild
c09bd4346b prosodyctl: Fix traceback with lfs < 1.6.2 and show warning 2017-11-30 18:47:06 +00:00
Kim Alvefur
b080aec43a prosodyctl: Abort and warn if the config can't be opened after dropping root privileges (fixes #990) 2017-09-27 15:37:10 +02:00
Kim Alvefur
b71438e89d prosody, prosodyctl: Print the actual config file name used when a problem loading it was encountered (see #990) 2017-09-27 15:33:29 +02:00
Kim Alvefur
296e430244 prosodyctl: cert import: Reuse function from certmanager for locating certificates and keys 2017-09-27 15:21:20 +02:00
Waqas Hussain
30dcc73298 prosodyctl check: Fix traceback when no modules_enabled are defined (e.g., a completely empty config) 2017-09-24 18:23:45 -04:00
Kim Alvefur
d578e7d08f prosodyctl: cert import: Use env variable set by certbot if invoked as post-renew hook 2017-09-18 18:28:29 +02:00
Kim Alvefur
e7f9f1976b prosodyctl: Only demand a hostname argument to cert commands other than import 2017-09-18 17:08:31 +02:00
Kim Alvefur
b70edb66cf prosodyctl: Use all enabled hosts if no hostnames passed to cert import 2017-09-18 17:06:35 +02:00