• exec/tests/system/rtypes.js src/sbbs3/js_system.cpp src/sbbs3/scfg/scf

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wednesday, November 18, 2026 19:34:16
    https://gitlab.synchro.net/main/sbbs/-/commit/e268498eb4ac5331b4b4937c
    Modified Files:
    exec/tests/system/rtypes.js src/sbbs3/js_system.cpp src/sbbs3/scfg/scfgindex.h scfgmsg.c src/sbbs3/scfgdefs.h scfglib1.c scfgsave.c
    Log Message:
    Mailbox settings: Trash age and per-user quota (#21)

    Two sysop settings for a per-user mailbox, in the [mail] section of
    msgs.ini: max_trash_age (days, default 30, 0 = never purge) and
    mailbox_quota (bytes, default 1G, 0 = unlimited). They are loaded and
    saved with the rest of the configuration, editable in SCFG under
    Message Options after "Purge SPAM by Age", and readable by scripts as system.max_trash_age and system.mailbox_quota.

    Nothing enforces them yet; they are for the mailbox code that follows.

    The SCFG quota prompt accepts K, M, G and T suffixes and rejects input
    that does not start with a digit. Checked by driving SCFG on a scratch
    copy of ctrl: 0, a nonzero value and an absent key each round-trip.
    Built with GCC only.

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)