• exec/emailval.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, March 01, 2026 00:53:52
    https://gitlab.synchro.net/main/sbbs/-/commit/17b044587f7de46fd3e7f688
    Modified Files:
    exec/emailval.js
    Log Message:
    Usability improvements, use available/appropraite JS libs

    Support text/menu/emailval.* optional menu/header file

    Don't display [V]alidate option if no code has been sent.
    Dont' display [S]end option if netmail address isn't supported.

    Support -test argument to display menu even for user that's already been validated (e.g. for sysop testing).

    Use user_info_prompts JS library for prompting for netmail address.

    correct usage of console.getkeys() to not allow numeric input at this prompt.

    ---
    þ 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 Sunday, March 01, 2026 22:46:53
    https://gitlab.synchro.net/main/sbbs/-/commit/ce14c362a41d862dfbd87b6a
    Modified Files:
    exec/emailval.js
    Log Message:
    Don't allow a blank valid_chars options to break this module

    the default ctrl/modopts/emailval.ini has the key 'valid_chars' set to
    nothing, just as an example/documentation, but that had the effect of setting the valid chars to a blank string (no valid code chars). This fixes that.

    So when a sysop recently told me the code wasn't sent, what they actually
    meant was that no code (or a blank code) was being generated.

    ---
    þ 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 Sunday, March 01, 2026 23:09:23
    https://gitlab.synchro.net/main/sbbs/-/commit/bd51e50de7d49a925aef2cfc
    Modified Files:
    exec/emailval.js
    Log Message:
    Force the code to be read from userprops (.ini) as a string

    Some codes may be digits only but need to read as a string

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