- Jan 09, 2023
-
-
Rob Swindell authored
I read that 3.1.1 is much more widely supported, but perhaps that was old info.
-
Rob Swindell authored
When MQTT protocol version is >= 5, just log to the */log topic (the level is a property). This means you can't subscribe only to specific log levels when using MQTT v5 so I may re-think this, but I don't want to keep publishing every single log message twice.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
DD lightbar menu fix for navigating with the HOME key with the top item index > 0 & selected item is in the middle of the screen See merge request !239
-
DD lightbar menu fix for navigating with the HOME key with the top item index > 0 & selected item is in the middle of the screen
-
- Jan 06, 2023
-
-
Deucе authored
Value is "http" or "https" depending on if TLS is in use.
-
- Jan 05, 2023
-
-
Rob Swindell authored
This can be useful when debugging issues (e.g. crashes) and an MQTT consuming/logging client wasn't connected at the time.
-
Rob Swindell authored
Yes, someone could have a local hostname of "node". <sigh>
-
Rob Swindell authored
This solves the problem of subscribing to "sbbs/+/+/+" and getting node status in addition to server status (very different formatted messages). Also include a change for the singular-again "node" topic
-
Rob Swindell authored
-
Rob Swindell authored
If a configuration had *no* command shells, this would have caused a crash here in SCFG. Also, when selecting the new user command shell, default to the current selection.
-
Rob Swindell authored
Should fix the segfault reported by NeoArata_ in #synchronet Also include singular/plural error/s in server status messages.
-
- Jan 04, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
<server>/state is now published directly to the <sever> topic level (the "state" topic goes away). Moved <bbs-id>/node# topics to <bbs-id>/nodes/# (allows better wild-card subscription per MQTT standards). Publishing total node count to <bbs-id>/nodes rather than <bbs-id>/node_count Introduced "publish verbosity" control (defaults to "High") - if you want nice human readable (and sometimes redundant) topic messages, leave this set to "High". To reduce traffic, set to "Low". It's expected that purpose-built Synchronet/MQTT clients should work equally-well with either setting, but when using generic MQTT clients/browser, "high" verbosity is nice. The human-readable node status is only published when "high" verbosity is enabled. Publishing the BBS name to the <bbs-id> topic, the instance hostname (as configured in sbbs.ini) to the <host> topic. Makes the hierarchy much more clear when using an MQTT browser like MQTT Explorer.
-
Rob Swindell authored
This is more consistent with how these events are logged in a BBS-common log file in data/*.log. This change also restores the server abbreviation to the error log entries that used to be there until recently.
-
Rob Swindell authored
Makes for a nice node listing with pure-text MQTT clients/tools
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Each Synchronet server is now its own MQTT client. This means there's no longer any MQTT logic in the Synchronet "hosts" (e.g. sbbscon.c, ctrl/*.cpp) and none needed for SBBS NT services (they'll "just work" with MQTT). This also means that just about everything (except for nodes, spam and hack) is now published per-server (in the sbbs/BBS-ID/hostname/server/ topic branch) and if you want aggregated totals or client lists, you'll have to do that in your own MQTT client or dashboard. I also removed the publishing of thread_count and socket_count topics as they weren't universally supported across all servers and are of questionable value. They can be added back later if determined to be useful.
-
Rob Swindell authored
A set_state() may be called with SERVER_STOPPED while recycling.
-
Rob Swindell authored
any server "running" is not enough because the server could still be initializing, re-initializing, or even shutting down.
-
- Jan 03, 2023
-
-
Rob Swindell authored
Aripoll auth wtf See merge request !238
-
-
Rob Swindell authored
Technically, the OpenSSL DLLs aren't used right now because I have TLS support disabled in the 'develop' branch version of mosquitto.dll v2.1.0 that I have in the repo, but that should soon change.
-
Rob Swindell authored
Fixes issue #476
-
Rob Swindell authored
This solves the problem of any signal (even HUP) ungracefully terminating sbbs (on *nix) when MQTT was enabled. As reported by Nightfox on IRC.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Should fix the new crash issues reported by Retros via #synchronet on irc.synchro.net
-
Rob Swindell authored
-
Rob Swindell authored
Update brace style and header comment while at it.
-
Rob Swindell authored
-
- Jan 02, 2023
-
-
Rob Swindell authored
warning: passing argument 2 of ‘mosquitto_message_callback_set’ from incompatible pointer type
-
Rob Swindell authored
Interestingly, not required for successful MSVC build. <shurg> I suspecte the circular dependency and include-guards around mqtt.h and startup.h were going to be a problem.
-
Rob Swindell authored
Now support subscriptions (e.g. recycle topics, node input topics) in SBBSCTRL. This required a lot of search/replace and fun with circular struct pointers.
-
Rob Swindell authored
-
Rob Swindell authored
Doing this via manual edits to this bpr file don't seem to work.
-