Commit Graph

53 Commits (74814cc68f86d748037046d60d0bdaf467d78d37)

Author SHA1 Message Date
Roger A. Light 96931643a4 Use strings.h for strcasecmp, except on Windows.
Closes #2420. Thanks to Frédéric Fauberteau.
4 years ago
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger A. Light 77af2ecefe Fix `mosquitto_ctrl dynsec setDefaultACLAccess` command not working. 4 years ago
Roger Light e1c8f09372 Remove C++ style comments. 4 years ago
Roger A. Light 0446bba7df Fix some conversion warnings. 5 years ago
Roger A. Light 3ac2c3ee09 Improve mosquitto_ctrl documentation. 5 years ago
Roger Light 2de8c15bc9 Minor build fixes. 5 years ago
Roger A. Light 603107b87a Fix build of mosquitto_ctrl with static only libs. 5 years ago
Roger A. Light 706a1f3f29 Fix more minor compiler warnings. 5 years ago
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
5 years ago
Roger A. Light 9c4b9a0311 ctrl: Error if new passwords don't match.
Produce an error when requesting a new password if both
attempts do not match.

Closes #2011. Thanks to Willem Eradus.
5 years ago
Roger A. Light 26fbd0ec74 ctrl: Allow command line arguments to override config file options.
Closes #2010. Thanks to Willem Eradus.
5 years ago
Roger A. Light 370cec5edd Fixes for lots of minor build warnings highlighted by Visual Studio. 5 years ago
Roger Light 5b3acfe3cc Fix `mosquitto_ctrl dynsec getGroup` not showing roles.
Closes #1997. Thanks to Willem Eradus.
5 years ago
Roger A. Light 99e8c8001d Build lib from in mosquitto_ctrl directory. 5 years ago
Roger A. Light f7dc138157 Fix `install` target when using WITH_CJSON=no.
Closes #1938. Thanks to apple3306 and JulianCaruso.
5 years ago
Roger A. Light 791c63372b Fix cjson include paths. 5 years ago
Karl Palsson 58a06f3331 apps: mosquitto_ctrl: don't hard set paths
In a cross compile environment, these paths will be added elsewhere, and
in a local environment, they should already be covered by the system
compiler.  Simply drop them.

Signed-off-by: Karl Palsson <karlp@etactica.com>
5 years ago
Roger A. Light 6ad5f19aef CMake build fixes for Windows. 5 years ago
Roger A. Light d6fe93aa51 ctrl: --force not supported. 5 years ago
Roger A. Light 26ffe1300a Various Windows build fixes. 5 years ago
Roger A. Light 550c54701e Fix cmake build when cjson not available. 5 years ago
Roger A. Light d291effdcf Fix mosquitto_ctrl Makefile build yes/no based on deps. 5 years ago
Roger A. Light 3731535298 Add SPDX license identifiers. 5 years ago
Roger A. Light 757888b7f5 ctrl: Add warning if connecting without encryption. 5 years ago
Roger A. Light 584cf51ba7 Update to EPL-2.0 5 years ago
Roger A. Light f83fcc8535 Fix Coverity Scan issues.
1436866
1436865
1436864
1436862
1436857
1436856
1436852
1436851
5 years ago
Roger A. Light 04d53e8919 ctrl: Give helpful message when initialising dynsec. 5 years ago
Roger A. Light 6b75dc601e Cope with missing username. 5 years ago
Roger A. Light aa7176e3ad Fix mosquitto_ctrl_example shared object building on some platforms.
Closes #1895. Thanks to Franz.
5 years ago
Roger A. Light b06c5cd88f dynsec: Add setClientId command. 5 years ago
Roger A. Light 8c6a7314b7 ctrl: Fix reporting when module not supported. 5 years ago
Roger A. Light edd74cca59 Fix cmake build of mosquitto_ctrl. 5 years ago
Franz Auernigg 73f1a1c892 Fix enclosing include brackets in cmake
Signed-off-by: Franz Auernigg <f.auernigg@commend.com>
5 years ago
Roger A. Light 4b3c76d97a mosquitto_ctrl: Allow optional client and password when creating a client. 5 years ago
Roger A. Light 4d6384c758 Build and conversion fixes for build variants. 5 years ago
Roger A. Light aafb75b6bc Ctrl: Fix use of ints in cJSON. 5 years ago
Roger A. Light 9785896eea Ctrl: Report errors on invalid args, don't try to connect. 5 years ago
Roger A. Light bb03b9c081 Let mosquitto_ctrl load external modules.
Also provide an example.
5 years ago
Roger A. Light 97385f522b Ctrl: Client only deals with a payload string, not cJSON. 5 years ago
Roger A. Light 866c395dcc Dynsec: Add "disabled" property for getClient/listClients. 5 years ago
Roger A. Light 66d16280d8 dynsec: Add enableClient disableClient commands. 5 years ago
Roger A. Light 98815c5037 ctrl: Ask for passwords if not given.
Applies to login user, init, createClient, and setClientPassword.
5 years ago
Roger A. Light 99a544ac73 ctrl: Ask for login password if the user doesn't provide it. 5 years ago
Roger A. Light df30b6c9d4 Dynsec: add getAnonymousGroup and getDefaultACLAccess commands 5 years ago
Roger A. Light c9cb10a079 ctrl: get* output for dynsec. 5 years ago
Roger A. Light 4c427915a0 ctrl: Fix acltype names. 5 years ago
Roger A. Light 015eee6cb6 ctrl: Fix parameter order to match docs. 5 years ago
Roger A. Light 1e2ba03754 ctrl: Give dynsec init user more rights.
Subscribe and receive from $SYS/#
Subscribe and receive from #
5 years ago
Roger A. Light 1f0ae42917 ctrl: Fix incorrect dynsec commands. 5 years ago