• src/sbbs3/atcodes.cpp js_

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Tuesday, January 06, 2026 19:28:00
    https://gitlab.synchro.net/main/sbbs/-/commit/cd74488bdf432beb218b7a77
    Modified Files:
    src/sbbs3/atcodes.cpp js_user.cpp logon.cpp sbbs.h str.cpp
    Log Message:
    Cache mail stats for user (e.g. mail waiting, unread mail, sent mail, spam)

    js_user.cpp benefites from being C++ now (gets to reuse cached_mail_count
    class from sbbs.h), the majority of this commit is just modernizing/updating js_user.cpp to follow more C++ patterns.

    This improvement means there's no longer any performance penalty for a sysop using text/menu/logoninfo.* over the built-in/hard-coded system-logon info.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Wednesday, January 21, 2026 01:26:00
    https://gitlab.synchro.net/main/sbbs/-/commit/1863b22c6e5e333953d29fa4
    Modified Files:
    src/sbbs3/atcodes.cpp js_bbs.cpp sbbs.h
    Log Message:
    Add bbs.optext writable string property and OPTEXT @-code (for displaying it)

    Similar to how the OPTEXT @-code is used on PCBoard.

    You can do the same thing with the STR @-code (and the bbs.command_str property) and similarly with the JS:<prop> @-code, but this is simpler for sysops to use and doesn't get overwritten by anything the way bbs.command_str does.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net