Roger A. Light
6fd9c200ac
Fix coverity scan 1499796
3 years ago
Roger A. Light
9bb389dda1
Avoid compile error.
...
"a label can only be part of a statement and a declaration is not a
statement"
3 years ago
Roger A. Light
87cb3250cd
Set C99 as the explicit, not implicit, build standard.
3 years ago
Roger A. Light
2a95ec73ba
Fix Coverity Scan 1491166.
3 years ago
Roger A. Light
f0d7c27a67
Add tests to coverity scan
3 years ago
Roger A. Light
1a5cd9e849
Fix Coverity Scan 1499794.
3 years ago
Roger A. Light
9c2d0ce401
Fix copy paste error.
...
Coverity Scan 1499794.
3 years ago
Roger A. Light
c5c7dd3f57
Fix payload check
3 years ago
Roger A. Light
65153eba45
Example plugin that bans based on payload
3 years ago
Roger A. Light
a872c0466f
Fix leak
3 years ago
Roger A. Light
9d3f19b3bb
Test tidy
3 years ago
Roger A. Light
74ef9eec4c
Don't use deprecated wrap_socket.
3 years ago
Roger A. Light
ad8a841a4a
More robust SSL test.
3 years ago
Roger A. Light
7fb760ef27
Split config parse tests by tls/not.
3 years ago
Roger A. Light
d8bdc17a39
Fix slightly flaky test.
3 years ago
Roger A. Light
f2524ee413
Mark unused parameters
3 years ago
Roger A. Light
01dfb6fea1
Persist: Improve tests
3 years ago
Roger A. Light
e16e66b313
Fix missing persist parts
3 years ago
Roger A. Light
adf985bff8
Persistence: Store cmsg_id and sub id for client_msgs.
3 years ago
Roger A. Light
cfd4aa1c95
sqlite: Consistent naming
3 years ago
Roger A. Light
2bfb0dc022
sqlite: client_msgs are only ever all cleared
3 years ago
Roger A. Light
bdf8493e81
sqlite: base_msg can never have these properties
3 years ago
Roger Light
1f559f1a71
Merge pull request #2624 from buschulte/fix-some-compiler-warinngs
...
Add missing callback set calls for MQTTv5 in C++ lib wrapper
3 years ago
Roger A. Light
16feb14a57
Persistence interface updates and sqlite plugin fixes
...
The MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR event has been removed, due to
never being called. It is the responsibility of the plugin to remove
client subscriptions and client messages when the client is removed.
Lots of persist test improvements and additions - mostly checking item
counts.
3 years ago
Roger A. Light
428d39b22b
Ensure restored base msgs are marked as stored.
3 years ago
Roger A. Light
d4960d0ead
sqlite: Save/restore binary properties.
3 years ago
Roger A. Light
dd30dc8bd1
Fix typo
3 years ago
Roger A. Light
40636fdce0
Simplify sub client json printing.
3 years ago
Roger A. Light
ef078b31b5
Make persistence tests easier to use for other plugins.
3 years ago
Roger A. Light
86b314c624
Remove unused defs
3 years ago
Roger A. Light
afc575aa1c
Simplify function calls.
3 years ago
Roger A. Light
b11b0b206c
Function naming consistency
3 years ago
Roger A. Light
3102c6ac64
Remove unused member
3 years ago
Roger A. Light
33499efea1
Fix Coverity 1491741 and 1491742.
3 years ago
Roger A. Light
52599ee78b
Fix Coverity 1486951.
3 years ago
Kai Buschulte
ec8566ba0d
Fix conversion warnings
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
c646172c05
set mqtt v5 callbacks in C++ wrapper of lib
...
This caused "unused function" warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light
1d230bd255
dynsec: Fix listClients/getClient crashing if an anon user present
...
This only affects the unreleased `develop` branch.
3 years ago
Roger A. Light
4997b40259
Report persistence stats when starting.
3 years ago
Roger A. Light
7ec8417e54
Client tests: --version dummy, and float printing for sub.
3 years ago
Roger A. Light
7370a7d028
rr client does support < v5.0
3 years ago
Roger A. Light
3b56a89b0a
Improved client tests
3 years ago
Roger A. Light
ca618c6f96
Fix db_dump coverage build
3 years ago
Roger A. Light
1cfa0247cb
Update apt cache before installing
3 years ago
Roger A. Light
0e562d09df
First coverage workflow
3 years ago
Roger A. Light
de9db2ce8a
Tidy workflow, apply to fixes as well
3 years ago
Roger A. Light
2f8a83269e
Remove unused workflow.
3 years ago
Roger A. Light
68cfec3cdd
Fix local bridge session expiry interval.
3 years ago
Roger A. Light
3c4d2d0772
Fix persisted clients being restored without a session expiry time.
3 years ago
Roger A. Light
9ab0bc3cbe
Build auth_plugin_v5_handle_tick plugin for cmake tests
3 years ago