Commit Graph
264 Commits
Author SHA1 Message Date
Roger A. Light d4b5adbd49 Fix incomplete "make clean" 2026-02-02 16:33:37 +00:00
Roger A. Light e8380fd83e cmake: Attempt to fall back to readline if editline not available 2026-01-25 01:22:48 +00:00
Roger A. Light 7de6cb42ef Compiler warning fixes 2026-01-23 08:44:34 +00:00
Roger A. Light 758bf6a127 Minor compiler warning fixes 2026-01-21 16:58:42 +00:00
Roger A. Light 916afd6693 mosquitto_ctrl: Handle unavailable endpoint in shell 2025-10-15 17:15:04 +01:00
Roger A. Light 460995652e Formatting: Apply to C headers 2025-09-17 12:48:02 +01:00
Roger A. Light 7ea73f6d60 Formatting: Forbid single line if statements
These hide cases from coverage checks
2025-09-17 12:48:02 +01:00
Roger A. Light 48b76e49f8 Formatting: Misc automatic formatting changes 2025-09-17 12:03:06 +01:00
Roger A. Light 883fdb2ad2 Formatting: Double indent continuation 2025-09-17 12:03:06 +01:00
Roger A. Light 9d95bf24c3 Formatting: Indent fixes 2025-09-17 12:03:06 +01:00
Roger A. Light d743413ac3 Formatting: Spacing consistency 2025-09-17 12:03:06 +01:00
Roger A. Light 67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00
Roger A. Light 4f943e91da Fix some install inconsistencies 2025-09-16 11:48:55 +01:00
Roger A. Light a784bdd6df ctrl_shell: Move unlock out of response_wait
This makes the responsibility of response_wait clearer, and helps
coverity.
2025-09-01 09:24:12 +01:00
Roger A. Light 3017101dc9 Ctrl shell: Add optional priority for addRoleACL 2025-08-29 14:39:10 +01:00
Roger A. Light 1813074eae Ctrl shell: Add colours for printing topics and +ve and -ve responses
Apply to the getRole command
2025-08-29 14:38:31 +01:00
Roger A. Light e1536bb734 Ctrl shell: Add help topics to auto complete 2025-08-29 14:37:05 +01:00
Roger A. Light 82d2fd0d50 Fix Coverity Scan #1619411 2025-08-22 16:12:40 +01:00
Roger A. Light 0845330cfe Fix Coverity Scan #1592962 2025-08-22 15:18:17 +01:00
Roger A. Light ae56aa9c5c Fix Coverity Scan #1619416 2025-08-22 15:08:20 +01:00
Roger A. Light dde9282e27 Help Coverity Scan see the unlock 2025-08-22 15:03:10 +01:00
Roger A. Light 386101f2ac Fix Coverity Scan #1619419
Passing negative sock value to function
2025-08-22 14:59:45 +01:00
Roger A. Light 0199dfb5bf Fix Coverity Scan #1619416 2025-08-22 12:59:01 +01:00
Roger A. Light 422ea6ed26 Fix Coverity Scan #1619415
Data race in pthread_cond_timedwait. Unreleased, non-critical
2025-08-22 12:55:16 +01:00
Roger A. Light 8bdb6c69ef Fix Coverity Scan #1592961. 2025-08-22 12:44:05 +01:00
Roger A. Light 2bccc075a5 Fix Coverity Scan #1619411
Unchecked library return. Non-critical, unreleased
2025-08-22 12:25:26 +01:00
Roger A. Light 15c5dafb5b Fix oss-fuzz flaky issue
Caused by password file with many duplicate usernames, unlikely to occur
in practice
2025-08-22 11:09:39 +01:00
Roger A. Light c64273f663 Fix build on Mac OS, introduce Mac OS CI workflow
Closes #3312
2025-08-14 08:38:45 +01:00
Roger A. Light 3186e32a74 Remove unnecessary feature macros
Closes #3268
Closes #3141
2025-08-08 23:59:19 +01:00
Roger A. Light 6967e5b890 Update for previous commit
Update functionality, man page, changelog, and add test.
2025-08-07 23:35:12 +01:00
trystenandRoger A. Light 5a79f23510 add stdout option to mosquitto_passwd
parse a dash '-' to output a password to stdout when using -c 'create
new password file'
2025-08-07 23:10:06 +01:00
Roger A. Light 3d0e96be85 Merge branch 'master' into develop 2025-07-29 16:07:57 +01:00
Roger A. Light b8ffdb878e Merge from master 2025-07-25 19:13:51 +01:00
Roger A. Light 65ad337bbb dynsec: Add getDetails command 2025-07-17 17:04:48 +01:00
Roger A. Light 766fa2c5a9 Merge branch 'fixes' 2025-07-11 22:06:10 +01:00
Roger A. Light 43dda2ae20 Fix some build variants 2025-07-10 16:08:49 +01:00
Roger A. Light 792325f946 Fix cmake build 2025-07-10 14:17:27 +01:00
Roger A. Light 40be2719ee Fix build warnings 2025-07-10 11:00:59 +01:00
Roger A. Light 66d3ef0038 Fix db_dump not being built 2025-07-10 01:35:50 +01:00
Norbert HeusserandRoger Light f7a00aa19c Removed compiler warnings
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2025-07-10 00:52:33 +01:00
Steve HamannandRoger Light ff0afc8374 Implement migration script to migrate from ACL file to DynSec
Signed-off-by: Steve Hamann <steve.hamann@cedalo.com>
2025-07-10 00:46:17 +01:00
Roger A. Light b351309b03 Further build option fail fixes 2025-07-08 14:54:13 +01:00
Roger A. Light bdee2ba32e Fix openssl linking on cmake.
Thanks to notpeelz.
2025-04-27 23:28:59 +01:00
Roger A. Light 2ff2029c42 mosquitto_ctrl interactive shell mode 2025-04-16 15:42:51 +01:00
Roger A. Light 3511db6889 Whitespace tidy 2025-04-06 22:40:48 +01:00
Roger A. Light c6c6850d5c Whitespace tidy 2025-04-06 22:25:02 +01:00
Roger A. Light ae860b965f Fix passwd test 2025-03-26 20:54:21 +00:00
Roger A. Light 9f1ebee114 mosquitto_ctrl dynsec now also allows -i to specify a clientid
This is as well as `-c`. This matches the documentation which states `-i`.

Closes #3219. Thanks to dkusalic
2025-02-26 12:37:07 +00:00
greg.m4879andRoger Light 60e47417cd Fix db_dump build issue with some older toolchain
With some older gcc toolchain, mosquitto_db_dump fails to build because of
missing link with -lrt

[2021-04-13T08:09:44.016Z] time_mosq.o: In function `mosquitto_time':
[2021-04-13T08:09:44.016Z] /home/jenkins/workspace/CORE/Builder/slave_g/network/lib_mosquitto/apps/db_dump/../../lib/time_mosq.c:44: undefined reference to `clock_gettime'
[2021-04-13T08:09:44.016Z] collect2: ld returned 1 exit status
[2021-04-13T08:09:44.016Z] make[6]: *** [Makefile:28: mosquitto_db_dump] Error 1
2025-02-26 10:55:59 +00:00
fdelfrariandRoger Light 7999a5aebb Added Android specific includes 2025-02-25 11:26:36 +00:00