• src/sbbs3/js_system.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, February 19, 2026 01:28:14
    https://gitlab.synchro.net/main/sbbs/-/commit/5ce8af6f019643be0cc47f86
    Modified Files:
    src/sbbs3/js_system.cpp
    Log Message:
    Add system.undel_user() method - the counterpart to system.del_user()

    This is the "correct" way to undelete a previously-deleted user account/record.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, April 05, 2026 12:40:25
    https://gitlab.synchro.net/main/sbbs/-/commit/6e9c0f3a452bd9d76bc5da19
    Modified Files:
    src/sbbs3/js_system.cpp
    Log Message:
    system.get_telegram(0) now returns null, always

    previously, it would get any waiting telegrams waiting for user #1

    This would fail exec/tests/system/rtypes.js if there were any telegrams waiting for user #1.

    There's no good reason this function needs to promote argument values < 1 to 1.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, May 06, 2026 22:36:57
    https://gitlab.synchro.net/main/sbbs/-/commit/bd294a6c23647cbcf9799cb1
    Modified Files:
    src/sbbs3/js_system.cpp
    Log Message:
    js_system: use UINT_TO_JSVAL for node.extaux to avoid signed overflow (CID 530515)

    node.extaux is uint32_t; the cast to (int) for INT_TO_JSVAL could yield
    a negative value for extaux > INT_MAX. Use UINT_TO_JSVAL like the rest
    of the codebase already does for this field (e.g., js_system.cpp:2717).

    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, July 02, 2026 00:55:42
    https://gitlab.synchro.net/main/sbbs/-/commit/657bb4ee6dd07aa16be5b260
    Modified Files:
    src/sbbs3/js_system.cpp
    Log Message:
    Fix system.filter_ip() ignoring a duration argument after the filename

    js_filter_ip()'s argument parser stopped scanning as soon as the filename
    (6th string) was assigned (loop guarded by `fname == NULL`), so a numeric duration passed after the filename -- the order the JSDOCSTR documents, "[protocol, reason, host, ip, username, filename] [duration-in-seconds]" --
    was never read. duration stayed 0, producing a filter entry with no
    expiration (no e=), i.e. a permanent block, when a timed one was requested.

    Scan all arguments for the (optional) numeric duration regardless of
    position, and ignore any extra string arguments (freeing them) rather than overwriting the filename. The documented argument order now works; verified with a fresh build via jsexec (duration after filename now yields e=).

    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

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