Commit graph

4435 commits

Author SHA1 Message Date
Roger A. Light
0566a90eb0 Fix leak on exit in password-file plugin 2025-09-17 17:00:58 +01:00
Roger A. Light
e4c823f369 Bump cjson version 2025-09-17 13:56:32 +01:00
Roger A. Light
f4ccfd55f4 Fix spurious compiler warning 2025-09-17 12:49:41 +01:00
Roger A. Light
0a6fa2ee90 Uncrustify config, plus updated format changes 2025-09-17 12:48:02 +01:00
Roger A. Light
4c24b92e34 Formatting: Apply to C++ files 2025-09-17 12:48:02 +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
5e20df0031 Simplify preprocessor macros 2025-09-17 12:03:06 +01:00
Roger A. Light
6e7ddef145 Formatting: Always include comma for last enum
Plus some spacing
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
a9fe4037ea Add example plugin for topic hierarchy flattening.
Issue #3365
2025-09-16 16:13:18 +01:00
Roger A. Light
1c153b7266 MHD_start_daemon doesn't like NULL options 2025-09-16 11:48:55 +01:00
Roger A. Light
7c3e849a4a Add dashboard to Windows installers 2025-09-16 11:48:55 +01:00
Roger A. Light
bce81bbe28 Docker: Update packaging for 2.1
Add ubuntu based image
2025-09-16 11:48:55 +01:00
Roger A. Light
737a6ee413 Snap: Update packaging for http dashboard 2025-09-16 11:48:55 +01:00
Roger A. Light
64fc17b689 Windows: Add new components to installers 2025-09-16 11:48:55 +01:00
Roger A. Light
186ca924d7 Add missing parts for snap package 2025-09-16 11:48:55 +01:00
Roger A. Light
4f943e91da Fix some install inconsistencies 2025-09-16 11:48:55 +01:00
Roger A. Light
9be6f9a409 Add compile time checks for whether -lanl is required
Prior to glibc 2.34 this was required
2025-09-02 10:45:24 +01:00
Roger A. Light
ae7886d858 Macos: Only install cmake if not already installed
See https://github.com/actions/runner-images/issues/12912
2025-09-01 10:15:04 +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
40922655f6 Further attempt at Coverity Scan overflow_const suppression 2025-09-01 09:20:52 +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
f497c01ad1 Add mocks for libmosquitto_common 2025-08-28 20:07:10 +01:00
Roger A. Light
5f2717cc9d Remove chance any includes happen before _GNU_SOURCE is set 2025-08-27 14:09:31 +01:00
Roger A. Light
92cc2a159f Improve confusing macro guarded code 2025-08-27 13:55:37 +01:00
Roger A. Light
15f88445c2 Further attempt at Coverity Scan overflow_const suppression 2025-08-27 09:48:07 +01:00
Roger A. Light
f717e4c96f Don't increment array counts until after realloc has succeeded 2025-08-25 10:15:25 +01:00
Roger A. Light
0f96d25b74 Fix session expiry list corruption
This happens if a client with session-expiry-interval set disconnects,
is kicked by a plugin, and then expires.
2025-08-25 08:58:14 +01:00
Roger A. Light
77868330e1 Fix unreachable test code 2025-08-24 11:46:07 +01:00
Roger A. Light
a4ee5edbc5 Further attempt at Coverity Scan overflow_const suppression 2025-08-24 11:40:23 +01:00
Roger A. Light
76eaef0419 Fix leak in password-file plugin on error
Unreleased changes
2025-08-24 11:33:00 +01:00
Roger A. Light
d0a94d0f41 Fix leak in acl-file plugin.
Unreleased
2025-08-23 23:31:42 +01:00
Roger A. Light
1ae1d08141 Fix variety of Coverity Scan issues in tests 2025-08-23 23:15:16 +01:00
Roger A. Light
3ecbf701a4 Fix variety of Coverity Scan issues in tests 2025-08-23 22:34:34 +01:00
Roger A. Light
d9ce9006b5 Fix realloc leaks on failure 2025-08-23 21:35:19 +01:00
Roger A. Light
5b85540348 Fix test 2025-08-23 21:26:25 +01:00
Roger A. Light
7eb9b4e79d Attempt at a coverity suppression 2025-08-23 18:16:01 +01:00
Roger A. Light
ed9936e39d Exit broker on reload if acl_file or password_file detect invalid input
Also exit if a plugin returns an error code from the RELOAD event.

Closes #3350.
2025-08-23 08:52:24 +01:00
Roger A. Light
bd40dda241 libcommon: Remove unused WITH_BROKER code 2025-08-23 08:52:24 +01:00
Lachlan Greenland
aeb6e073df update: Generic Dockerfile README to note config provided via mount point
Signed-off-by: Lachlan Greenland <lgreenland93@gmail.com>
2025-08-23 07:24:23 +01:00
Roger A. Light
53a4406ddc Fix flaky test 2025-08-23 01:07:49 +01:00
Roger A. Light
17b3cea03f Remove redundant information from test identifiers 2025-08-23 01:02:45 +01:00
Roger A. Light
3bf502dab0 Expand logging of disconnect errors. 2025-08-23 00:43:30 +01:00