Commit Graph

3014 Commits (9cffbe092862f39770889fbcb2cde72bb164d56f)
 

Author SHA1 Message Date
Roger A. Light 9cffbe0928 Basic client publish example using websockets. 4 years ago
Roger A. Light f43f136af8 Plugin for wildcard subscription blocking. 4 years ago
Roger A. Light 2fafdd2256 Don't send persist updates on shutdown. 4 years ago
Roger A. Light 01b3e04362 Rename `remove` to `delete` in external interface.
This is consistent with usage in the dynsec plugin.
4 years ago
Roger A. Light cd28187e5e Minor refactor to separate files. 4 years ago
Roger A. Light ef93886db0 Expose property functions to plugins. 4 years ago
Roger A. Light 9ce09de2e6 Add MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR plugin event. 4 years ago
Roger A. Light 3daf76257b Various persistence plugin fixes. 4 years ago
Roger A. Light 1eac7f9379 No need to free context id here.
This used to be a protection against removing from the by_id hash twice,
but there is a separate protection for that now.
4 years ago
Roger A. Light 17fd1929eb Move config load/save to own file. 4 years ago
Roger A. Light ff41157c2c Persistence interface documentation, plus better heap/non heap params
Be clear about whether the plugin or the broker owns `plugin_*` memory after function calls are made.
4 years ago
Roger A. Light 0f9e5dc65d Improve test. 4 years ago
Roger A. Light 7a6579731c Use context__add_to_by_id instead of HASH_ADD_KEYPTR 4 years ago
Roger A. Light 68fbb7b5bb auth method needs persisting. 4 years ago
Roger A. Light 0db28fe3a1 LTO default to no. 4 years ago
Roger A. Light 6d3f85cf0c Have const/non const members.
Broker to plugin must be const.
Plugin to broker may need to be non-const.
4 years ago
Roger A. Light 0f8733627a Plugin persistence interface. 4 years ago
Roger A. Light cfe078cd32 Document function. 4 years ago
Roger A. Light 2501a64035 Merge branch 'master' into develop 4 years ago
Roger A. Light 1cc82fc7e6 Protect against per_listener_settings being unset after it is set. 4 years ago
Roger A. Light b62fd2ac71 Don't report messages with only a single reference in xtreport. 4 years ago
Roger A. Light eafa848180 Add client message stats to xtreport. 4 years ago
Roger A. Light 084bd30af8 Fix xtreport. 4 years ago
Roger A. Light affe6ece83 Add client msg int to allow easier ordering for plugins. 4 years ago
Roger A. Light 6fbdd71306 Broker id setting
This allows different brokers to share e.g. the same sql database and still have unique stored message ids.
4 years ago
Roger A. Light 068c432b6c picohttpparse dependency
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=23722

Also change to websockets compiled by default.
4 years ago
Roger A. Light f4be3da2b7 Fix non-lws websockets build. 4 years ago
Roger A. Light 3b8a2e827e Fix compile flags. 4 years ago
Roger A. Light 3cbe805e71 Update docker. 4 years ago
Roger A. Light fd0e398460 Fix post 4 years ago
Roger A. Light d743d6e858 Merge branch 'fixes' 4 years ago
Roger A. Light 2a056f14c2 Bump version number, update web. 4 years ago
Roger A. Light 94fcd470d0 Fix incorrect subscribe_callback in mosquittopp.h.
Closes #2367. Thanks to Jens Alfke.
4 years ago
Roger A. Light 9c4f17aa61 Remove broken websockets static compiling option. 4 years ago
Roger A. Light 11975332d4 Fix mosquitto_topic_matches_sub2() not using the length parameters.
Closes #2364. Thanks to Jens Alfke.
4 years ago
Roger A. Light 0d0a36906c Add missing stubs. 4 years ago
Roger A. Light 2976dffa71 Plugin template CMakeLists. 4 years ago
Roger A. Light aa99ce90ac Fix typo. 4 years ago
Roger A. Light f3590f3020 Don't pass NULL to printf %s.
This is undefined behaviour, and some platforms don't like it.

Issue #2355. Thanks to CJ Lee.
4 years ago
Roger Light 68504da4a6
Merge pull request #2372 from podsvirov/install-libmosquitto-archive
Set ARCHIVE DESTINATION for mosquitto library
4 years ago
Roger Light 864b77d94a
Merge pull request #2373 from podsvirov/install-libmosquittopp-archive
Set ARCHIVE DESTINATION for mosquittopp library
4 years ago
Roger Light e52ebf8abf
Merge pull request #2376 from podsvirov/fix-security-module-destination
Fix DESTINATION for mosquitto_dynamic_security MODULE
4 years ago
Roger Light ff69dc8db2 Add bridge_receive_maximum option for MQTT v5.0 bridges. 4 years ago
Roger Light 99eddeb109 Add bridge_session_expiry_interval option for MQTT v5.0 bridges. 4 years ago
Roger Light cf3be2eb10 Fix bridge log message on pending connection. 4 years ago
Roger A. Light d7dbbc62f9 LTO should apply globally. 4 years ago
Roger A. Light e09390eda6 Split db__message_insert into incoming/outgoing. 4 years ago
Roger A. Light 9ad8d943be Stored messages now always stored in a hash table. 4 years ago
Roger A. Light d6672194db Simplify plugin callback register/unregister. 4 years ago
Roger A. Light 474b1d739f Remove stray character. 4 years ago