Commit graph

526 commits

Author SHA1 Message Date
Roger A. Light
4487b98dbb Fix clean 2022-05-08 21:53:14 +01:00
Roger A. Light
4fd51e9681 Fix incorrect earlier commit 2022-04-29 14:12:56 +01:00
Roger A. Light
4c72542eae Move mosquittopp header to include dir. 2022-04-15 22:08:49 +01:00
Roger A. Light
8a9d8ece37 Fix sqlite test 2022-03-31 14:28:26 +01:00
Roger A. Light
0433b8ee9b Update changelog, fix usage of m_set_clientid(), add test. 2022-03-11 17:34:35 +00:00
Roger A. Light
b4a0255f1c Process retain persist events only every 10 seconds. 2022-03-01 21:17:18 +00:00
Roger A. Light
1bb16a68dc Test fixes for running under valgrind 2022-03-01 21:10:29 +00:00
Roger A. Light
cbb01193a0 Rename persist retain_add to retain_set 2022-03-01 20:55:56 +00:00
Roger A. Light
2d3b152a22 Rename of mosquitto_msg_store struct.
struct mosquitto_msg_store -> struct mosquitto_base_msg

This is the base message which client messages and retained messages
refer to. The base messages are still held in the message store.

This change comes about because the persistence interface exposes these
message types. Prior to this commit the different messages were "msg",
"client_msg", and "retain". After this commit there is "base_msg",
"client_msg", and and "retain_msg" in the persist interface.
2022-03-01 10:44:47 +00:00
Norbert Heusser
e7e8b6e832 * Added list of connections to dynsec/getClient response
* Added new helper function mosquitto_apply_on_all_clients to broker
* Refactoring in dynamic-security plugin

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-02-21 16:27:26 +00:00
Roger A. Light
3bb8be6ea2 Client tests should not run in parallel. 2022-02-09 16:26:24 +00:00
Roger A. Light
ffb7661d86 Move shared code to common directory
This is currently limited to "utility" type functions and does not include code common to the library and broker that are protocol related.
2022-02-09 16:26:10 +00:00
Roger A. Light
5a3b42d4a4 Use path vars in Makefiles. 2022-02-09 14:44:09 +00:00
Roger A. Light
df2a4a666f Add missing hunk from previous commit. 2022-02-01 16:21:45 +00:00
Roger A. Light
6f8ced5038 Test fixes. 2022-02-01 09:52:41 +00:00
Roger A. Light
c87148ac3e userdata function testing. 2022-01-30 23:55:31 +00:00
Roger A. Light
92c6fcf547 Tests should exit gracefully rather than being terminated. 2022-01-30 23:48:09 +00:00
Roger A. Light
5e601c3853 Library connect tests. 2022-01-29 08:49:06 +00:00
Roger A. Light
3ce8de32ff Fix typo 2022-01-29 00:06:47 +00:00
Roger A. Light
223d9eae66 mosquitto_sub json output tests, and user-properties fix. 2022-01-23 23:07:36 +00:00
Roger A. Light
5006943d9a 'mosquitto_pub -f' and 'mosquitto_pub -L' tests. 2022-01-23 22:43:08 +00:00
Roger A. Light
57ef2be8d3 More client tests. 2022-01-22 23:14:00 +00:00
Roger A. Light
6051a65f51 mosquitto_pub stdin file and line tests. 2022-01-22 22:10:19 +00:00
Roger A. Light
7d9aba112c Remove unused start_broker checks. 2022-01-22 21:41:15 +00:00
Roger A. Light
74b9ed0808 More client tests. 2022-01-21 23:30:43 +00:00
Roger A. Light
9b2c64135f listPlugins command, and test. 2022-01-20 22:24:12 +00:00
Roger A. Light
82658805c7 listListeners command. 2022-01-20 15:00:21 +00:00
Roger A. Light
db6b59a336 sqlite retain clear test. 2022-01-17 21:38:59 +00:00
Roger A. Light
73f03983fb Socks proxy test plus fixes. 2022-01-16 23:39:55 +00:00
Roger A. Light
ab67dbcacd More client tests, and an output format fix. 2022-01-15 23:41:12 +00:00
Roger A. Light
3139eb3252 More client tests. 2022-01-14 23:08:09 +00:00
Roger A. Light
a96615bd4a More client tests. 2022-01-10 23:07:26 +00:00
Roger A. Light
dc906c5221 Sqlite persistence plugin. 2022-01-09 23:54:09 +00:00
Roger A. Light
0a0f4ead42 Plugin interface interface and test improvements. 2022-01-09 23:43:12 +00:00
Roger A. Light
33f2817b1e Facility for running tests under failgrind. 2022-01-05 09:15:43 +00:00
Roger A. Light
d546ba461a Test fixes. 2022-01-05 09:15:02 +00:00
Roger A. Light
ea553619fb Basic client websockets tests. 2022-01-03 23:27:48 +00:00
Roger A. Light
eefafdeff7 Fix unix socket test. 2022-01-03 23:27:24 +00:00
Roger A. Light
e25cb05fc9 Command arg tests. 2022-01-03 23:05:13 +00:00
Roger A. Light
1ac099ebdd More config parse errors. 2022-01-03 23:04:48 +00:00
Roger A. Light
2d045dbc85 Fix option name. 2022-01-03 21:51:18 +00:00
Roger A. Light
7bd9c5cce1 More config parse error tests. 2022-01-03 00:14:23 +00:00
Roger A. Light
5fab104467 Auth plugin v2, v3 testings. 2022-01-02 22:48:27 +00:00
Roger A. Light
4cd2f85e77 Unix socket connect test. 2022-01-01 22:03:17 +00:00
Roger A. Light
aa7e09948b Start of config file parsing error tests. 2021-12-31 00:32:04 +00:00
Roger A. Light
249edc6ba2 include_dir test. 2021-12-30 23:21:34 +00:00
Roger A. Light
93ed5721e2 No need to set keepalive in most tests. 2021-12-30 08:35:45 +00:00
Roger A. Light
6e8925c062 Test fix. 2021-12-30 08:05:09 +00:00
Roger A. Light
0f9e5dc65d Improve test. 2021-11-25 12:34:24 +00:00
Roger A. Light
0f8733627a Plugin persistence interface. 2021-11-24 19:26:07 +00:00