• src/sbbs3/scfg/scfgsrvr.c

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Saturday, May 23, 2026 21:25:45
    https://gitlab.synchro.net/main/sbbs/-/commit/a5bafa51b8728f98cd464ec8
    Modified Files:
    src/sbbs3/scfg/scfgsrvr.c
    Log Message:
    scfg: refine Rate Limiting menus -- hide dead options, restore labels

    Three small fixups to the SCFG rate-limit menu work added in d7c823c9d:

    1) In rate_limit_cfg() (the shared submenu), hide the subnet-prefix and
    auto-filter options entirely when no rate limit is configured -- they
    have nothing to act on. Likewise hide the auto-filter duration /
    silent / subnet-threshold trio when the filter threshold is 0. Net
    result: switching a rate limit off collapses the submenu to just the
    "Limit Rate of ..." item; turning the auto-filter on/off
    reveals/hides only the sub-knobs that depend on it.

    2) For servers that support only one type of rate limit (FTP, Mail,
    Services), restore the parent menu label from the post-refactor
    "Rate Limiting..." back to the original "Limit Rate of Requests"
    (FTP, Mail) / "Limit Rate of Connections" (Services), and inline
    the live values ("3600 per 1 hour, Auto-Filter") the way the
    pre-refactor menus did. Web keeps "Rate Limiting..." since it has
    both connect-rate AND request-rate items.

    3) Expand the "Count IPv4/IPv6 Clients By" help text to explain why
    the IPv6 default is /64 while IPv4 stays per-host (paired with the
    ini default change in the previous commit).

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sunday, May 24, 2026 02:49:23
    https://gitlab.synchro.net/main/sbbs/-/commit/722a5c9e67071834ac3da40c
    Modified Files:
    src/sbbs3/scfg/scfgsrvr.c
    Log Message:
    scfg: flesh out JavaScript Settings menu help text

    The Servers > * > JavaScript Settings menu (shared by Global/Term/Mail/ FTP/Web/Services via js_startup_cfg) previously had a one-line helpbuf
    just saying "Settings that control the server-side JavaScript execution environment." Replace with per-option descriptions for Heap Size, Time
    Limit, GC Interval, Yield Interval, and Load Path -- explaining that
    the three "interval" knobs count SpiderMonkey operation callbacks (NOT wall-clock ticks; the sbbs.ini comment is wrong) and that values take
    effect after a server recycle.

    Companion wiki update at config:javascript mirrors the corrected
    "operation callbacks" wording and the JIT-off-by-default change from
    edf752429 (#1143).

    First menu in the SCFG menu-help audit -- 38 sparse menu helpbufs to go.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)