• exec/logon.js

    From Rob Swindell@VERT to Git commit to sbbs/master on Monday, September 07, 2020 20:25:25
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/248d713701852e211340d61d
    Modified Files:
    exec/logon.js
    Log Message:
    Beautify the makeguest prompt a bit (blank line before, one after)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 21:23:37
    https://gitlab.synchro.net/main/sbbs/-/commit/09e2e10c735e2828ff81ee3b
    Modified Files:
    exec/logon.js
    Log Message:
    Set the node action to "XTRN" before running an auto-xtrn-upon-rlogin.

    prextrn.js keys off of the current node action to detect if the user is currently in the logon process. Defeat that check in this case (there is no logon process for auto-xtrn's).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, December 27, 2020 17:38:52
    https://gitlab.synchro.net/main/sbbs/-/commit/6ec583a759b138d91fe0b18f
    Modified Files:
    exec/logon.js
    Log Message:
    Optional random "Sysop is" string replacement during logon

    Set sysop_available and/or sysop_unavailable in the [logon] section of your modopts.ini to a comma-separated list of strings to pick at random and replace the default text.dat LiSysopAvailable and LiSysopNotAvailable strings during logon (displayed as part of the "logon info" block near the end of the hard-coded logon sequence).

    Inspired by the SYSAVAIL.C modification that I used to use with my own
    custom ("INHOUSE") build of Synchronet, this is now available for all sysops
    to replace "Available" or "Not Available" with a random funny/smart phrase of your choosing (but without commas; a separate delimeter could be used if that is a problem).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, December 27, 2020 18:08:21
    https://gitlab.synchro.net/main/sbbs/-/commit/1ccceb27632d9ceeff124ad7
    Modified Files:
    exec/logon.js
    Log Message:
    Enable/conform to "use strict" - no functional change.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, December 28, 2020 00:33:09
    https://gitlab.synchro.net/main/sbbs/-/commit/ea8a33f7c07eb00faa535d76
    Modified Files:
    exec/logon.js
    Log Message:
    Fix ReferenceError: assignment to undeclared variable name

    Introduced with "use strict" commit (unsurprisingly).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, July 31, 2021 18:11:28
    https://gitlab.synchro.net/main/sbbs/-/commit/491228fe6529ac7e761c43d2
    Modified Files:
    exec/logon.js
    Log Message:
    Guest user prompts can be disabled via modopts.ini [logon] settings

    guest_name = false will disable name prompt
    guest_email = false will disable the email address prompt
    guest_location = false will disable the location prompt
    guest_referral = false will disable the "where'd you hear about this BBS" prompt

    Note, at minimum, I do recommend prompting for the guest's email address so that if they send the sysop feedback (e.g. ask a question), they at least have some hope of receiving a reply.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, July 31, 2021 18:53:38
    https://gitlab.synchro.net/main/sbbs/-/commit/e75791871b7acef3d90a72a7
    Modified Files:
    exec/logon.js
    Log Message:
    Allow text of all guest information prompts to be overridden in modopts.ini

    By setting guest_name, guest_email, guest_location, or guest_referral to any truthy value, a prompt will be display. By setting it to a string (instead of true), that string will be displayed. I'm not sure how I feel about this kind of tri-state setting (true/false/string), but it does reduce the number of settings/options. The alternative is to have a separate boolean and string setting for each prompt (which I first considered).

    So, as of now:

    guest_name = false <- no prompt for Guest's name
    guest_name = "" <- no prompt for Guest's name
    guest_name = true (the default) <- default prompt text for Guest's name guest_name = "Enter your name, dude" <- replaces prompt text for Guest's name

    For enter trailing white-space and ctrl-a codes, use string literals, e.g. guest_name: "\x01hEnter your name, dude: "

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Git commit to main/sbbs/master on Saturday, July 31, 2021 19:24:01
    Re: exec/logon.js
    By: Rob Swindell to Git commit to main/sbbs/master on Sat Jul 31 2021 06:53 pm

    guest_name = "" <- no prompt for Guest's name

    Actually, that's a bad/false example:

    guest_name: "" <- no prompt for Guest's name (gotta use string literal syntax) --
    digital man

    This Is Spinal Tap quote #10:
    Dozens of people spontaneously combust each year... just not widely reported. Norco, CA WX: 83.9F, 27.0% humidity, 13 mph ENE wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, June 25, 2022 17:19:55
    https://gitlab.synchro.net/main/sbbs/-/commit/a7a87f8a36b788b593f2f520
    Modified Files:
    exec/logon.js
    Log Message:
    Small optimization: don't write user.chat_settings if you don't need to

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