• src/sbbs3/js_global.cpp j

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Saturday, December 27, 2025 01:17:00
    https://gitlab.synchro.net/main/sbbs/-/commit/7acf0a67428a4ea6a4a8bc25
    Modified Files:
    src/sbbs3/js_global.cpp jsexec.cpp mailsrvr.cpp main.cpp newuser.cpp sbbs.h src/sbbs3/scfg/scfgsys.c src/sbbs3/scfgdefs.h scfglib1.c scfgsave.c websrvr.cpp
    Log Message:
    Support an optional "new user prompts" loadable module

    SCFG->System->Loadable Modules->New User Prompts

    replaces much (not all) of the logic from newuser.cpp with a script/module.

    I think this scriptifies what most sysops want to customize in the new user registration process and what's left that's still hard-coded (in C++), can be customized through text strings and settings. Issue #563.

    If more is wanted/needed to be scriptable, let me know.

    For now, the old hard-coded prompt logic is still there in newuser.cpp and is used whenever there's no "new user prompts module" specified (the default).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Thursday, January 01, 2026 15:57:00
    https://gitlab.synchro.net/main/sbbs/-/commit/cef55e67e3685fb707dbf72d
    Modified Files:
    src/sbbs3/js_global.cpp js_system.cpp jsexec.cpp mailsrvr.cpp websrvr.cpp
    Log Message:
    Use list zero initialization for newly C++ files

    Doing x = {0} is a copy list initialization that does a copy of the
    zero, which can potentially do weird things with non-PODs.

    Just using = {} would copy zero elements and zero-initialize the rest,
    but it flirts with the most vexing parse.

    Instead, just use x {};

    I've left a bunch of similar things in other files though.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net