- Jan 05, 2023
-
-
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.
-
Rob Swindell authored
Fix issue #470 reported via IRC: timed event "mdays" values were read and written as 16-bit values, meaning any setting for days > 15 would do weird things.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
The only difference in the data/scheme is that the "error" topic (error log) is now under each server rather than each host. I don't *think* there are any other changes from the MQTT consumer side. Still not done: subscribing (e.g. support for recycle or node-spy-input via MQTT) and NT services support. This change also includes a cool feature that will prompt the sysop if there's a timeout (30 seconds) while waiting for servers to shutdown gracefully and giving the sysop the option to abort (Cancel) the wait (and shutdown ungracefully) or continue the wait (OK).
-
Rob Swindell authored
And export a simple ver() function to be used in MainFormUnit.cpp (for mqtt stuff)
-
Rob Swindell authored
e.g. sbbs.dll
-
- Jan 01, 2023
-
-
Rob Swindell authored
Turned of "Use dynamic RTL" and "Build with runtime packages" under Project options. This should resolve the UserEdit.exe runtime issue reported by Diamond Dave via DOVE-Net.
-