- Jan 04, 2023
-
-
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
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.
-
Rob Swindell authored
Bug introduced in the systemd integration (commit 7e320d92) and reported by Dan_C via #synchronet at irc.synchro.net
-
- Dec 31, 2022
-
-
Rob Swindell authored
This reverts commit 0280050f.
-
Rob Swindell authored
-
Rob Swindell authored
This reverts commit 0ee77637.
-
Rob Swindell authored
This seems to stop the CI build and I haven't found any other solution. So just copy/paste the contents of makelibs.bat into this batch file. <sigh>
-
Rob Swindell authored
when run from Gitlab-Runner (CI) using shell="cmd"
-
Rob Swindell authored
-
Rob Swindell authored
CID 433272
-
- Dec 30, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
Some trailing whitespace clean-up too.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Previously, many servers and services didn't support login by real name (e.g. issue #469) even if the sysop had that option enabled in SCFG. Move login control settings from node.ini to system (main.ini -> login) The 3 node toggle options: - Allow Login by User Number - Allow Login by Real Name - Always Prompt for Password ... have been now moved from SCFG->Nodes->Node x->Toggle Options to SCFG-System->Toggle Options. If you upgraded to v3.20a before now, you'll want to double-check these settings to make sure they're how you want them set. New upgraders that run upgrade_to_v320.js (e.g. via 'jsexec update') will get these settings migrated automatically. Added some error detection/logging to upgrade_to_v320.js when failing to open .cnf files. Constified some more user/login related function args and return types.
-
Rob Swindell authored
-