• exec/logon.js

    From deuce@VERT to CVS commit on Tuesday, October 15, 2013 06:16:04
    exec logon.js 1.21 1.22
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv30973

    Modified Files:
    logon.js
    Log Message:
    Declare fname and i to keep them out of js.global



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Monday, April 13, 2015 18:54:09
    exec logon.js 1.22 1.23
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1989

    Modified Files:
    logon.js
    Log Message:
    Print security level specific logon screens (text/menu/logon<#>.*) after the consecutively numbered logon screens and only display the security level specific screen if it wasn't alredy displayed as part of the consecutive series. (e.g. don't display logon1.asc twice for a user with a security level of 1).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sunday, September 10, 2017 19:43:36
    exec logon.js 1.23 1.24
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv5241

    Modified Files:
    logon.js
    Log Message:
    For guest logins, when prompting for the user's email address and location, check the trashcan files email.can and location.can (new). By adding "sh"
    and "shell" to these files (without the quotes), you can reduce the number
    of MIRAI-bot guest logins - the bot is immediately disconnected.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From KK4QBN@VERT/KK4QBN to rswindell on Monday, September 11, 2017 21:02:27
    Re: exec/logon.js
    By: rswindell to CVS commit on Sun Sep 10 2017 19:43:36

    Modified Files:
    logon.js
    Log Message:
    For guest logins, when prompting for the user's email address and location, check the trashcan files email.can and location.can (new). By adding "sh" and "shell" to these files (without the quotes), you can reduce the number of MIRAI-bot guest logins - the bot is immediately disconnected.


    Cool, Thank you! Testing now!

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN - kk4qbn.synchro.net - 7064229538 - Chatsworth GA USA
  • From KenDB3@VERT/KD3NET to rswindell on Tuesday, September 12, 2017 22:30:58
    exec logon.js 1.23 1.24
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv5241

    Modified Files:
    logon.js
    Log Message:
    For guest logins, when prompting for the user's email address and location, check the trashcan files email.can and location.can (new). By adding "sh" and "shell" to these files (without the quotes), you can reduce the number of MIRAI-bot guest logins - the bot is immediately disconnected.


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

    Thanks!

    Good idea! Quick question though. The email check looks like this: if(bbs.trashcan("email", email)) {

    The location check looks like this:
    if(bbs.trashcan("location", email)) {

    Should that second one be?
    if(bbs.trashcan("location", location)) {

    Still getting my feet under me with this stuff, but that looked odd to me.

    ~KenDB3

    ---
    þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
  • From rswindell@VERT to CVS commit on Wednesday, September 13, 2017 13:10:26
    exec logon.js 1.24 1.25
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19283

    Modified Files:
    logon.js
    Log Message:
    Fixed typo in last commit pointed out by KenDB3.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to KenDB3 on Wednesday, September 13, 2017 13:11:05
    Re: Re: exec/logon.js
    By: KenDB3 to rswindell on Tue Sep 12 2017 10:30 pm

    exec logon.js 1.23 1.24
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv5241

    Modified Files:
    logon.js
    Log Message:
    For guest logins, when prompting for the user's email address and location, check the trashcan files email.can and location.can (new). By adding "sh" and "shell" to these files (without the quotes), you can reduce the number of MIRAI-bot guest logins - the bot is immediately disconnected.


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

    Thanks!

    Good idea! Quick question though. The email check looks like this: if(bbs.trashcan("email", email)) {

    The location check looks like this:
    if(bbs.trashcan("location", email)) {

    Should that second one be?
    if(bbs.trashcan("location", location)) {

    Still getting my feet under me with this stuff, but that looked odd to me.

    Yes, that was a copy/paste error. Good catch!

    digital man

    Synchronet "Real Fact" #1:
    Development began in 1990 of the (unnamed at the time) Synchronet BBS software. Norco, CA WX: 77.8øF, 62.0% humidity, 3 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From KenDB3@VERT/KD3NET to Digital Man on Wednesday, September 13, 2017 20:16:45
    Thanks!

    Good idea! Quick question though. The email check looks like this: if(bbs.trashcan("email", email)) {

    The location check looks like this:
    if(bbs.trashcan("location", email)) {

    Should that second one be?
    if(bbs.trashcan("location", location)) {

    Still getting my feet under me with this stuff, but that looked odd to me.

    Yes, that was a copy/paste error. Good catch!

    digital man

    Thanks! Glad to be of help!

    ~KenDB3

    ---
    þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
  • From rswindell@VERT to CVS commit on Wednesday, January 10, 2018 14:24:33
    exec logon.js 1.25 1.26
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27742

    Modified Files:
    logon.js
    Log Message:
    Display a user's avatar (if he has one and its enable) during logon.
    Don't load asc2htmlterm.js unless the user is actually using htmlterm.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 13, 2018 17:58:53
    exec logon.js 1.26 1.27
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6843

    Modified Files:
    logon.js
    Log Message:
    Clear attributes after displaying avatar as non-black BGs would cause
    ugliness.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, January 14, 2018 02:33:55
    exec logon.js 1.27 1.28
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv17188

    Modified Files:
    logon.js
    Log Message:
    If modopts.ini [logon] set_avatar = true
    and the current user logging in does not have an avatar set, prompt them
    to choose their avatar (a disabled avatar counts as a set avatar).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, January 15, 2018 03:19:18
    exec logon.js 1.28 1.29
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3916

    Modified Files:
    logon.js
    Log Message:
    Don't ask guest set their avatar.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, January 15, 2018 03:22:37
    exec logon.js 1.29 1.30
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4315

    Modified Files:
    logon.js
    Log Message:
    Okay it's late. Whoops. Reversed logic. !guest, not "only guest". :-)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, February 04, 2018 21:57:25
    exec logon.js 1.30 1.31
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19679

    Modified Files:
    logon.js
    Log Message:
    load loadfonts.js during logon (load 'preload' and 'default' fonts, if not already loaded).
    Don't try to display text/menu/logon.* unless logon.asc exists.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, February 24, 2018 18:54:59
    exec logon.js 1.31 1.32
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12943

    Modified Files:
    logon.js
    Log Message:
    If there's an avatar section, with no data, but it's disabled, don't prompt
    the user to create/select an avatar.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, October 21, 2018 23:10:52
    exec logon.js 1.33 1.34
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv10071

    Modified Files:
    logon.js
    Log Message:
    Truncate the last few callers list for the column width (don't wrap).
    Also, insert a blank line when there's no auto.msg file.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 01, 2019 04:58:46
    exec logon.js 1.34 1.35
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24132

    Modified Files:
    logon.js
    Log Message:
    Beautification: moved the "Create Guest/Anonymous user account" prompt
    to before the last users and avatar display.
    Removed the "WIPSHELL" thing.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 01, 2019 06:40:17
    exec logon.js 1.35 1.36
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv11424

    Modified Files:
    logon.js
    Log Message:
    Don't need the loadfonts.js wrapper here, just load fonts.js directly here.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 15, 2019 19:43:29
    exec logon.js 1.36 1.37
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv14546

    Modified Files:
    logon.js
    Log Message:
    Use the bbs.menu_exists() method of checking for text/menu/logon*.* files


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, February 18, 2019 18:57:56
    exec logon.js 1.37 1.38
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv22033

    Modified Files:
    logon.js
    Log Message:
    Allow control via the [logon] section of ctlr/modopts.ini over Avatar display set avatar_show = false to disable the avatar display completely (during logon) set avatar_draw_right = false to display the avatar in left screen columns
    set avatar_draw_above = true to display the avatar above the current screen row



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, May 09, 2019 15:18:48
    exec logon.js 1.40 1.41
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15907

    Modified Files:
    logon.js
    Log Message:
    If user has ICE_COLOR terminal, send the SyncTERM/CTerm escape sequence to enable bright-background support (and disable blink).
    Use require() instead of load(), where applicable.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, July 06, 2019 01:46:10
    exec logon.js 1.41 1.42
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12681

    Modified Files:
    logon.js
    Log Message:
    Cache the avatar lib (in bbs.mods).
    Use the renamed ICE_COLOR -> USER_ICE_COLOR.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 11, 2019 16:05:40
    exec logon.js 1.42 1.43
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv17515

    Modified Files:
    logon.js
    Log Message:
    Set the attribute to LIGHTGRAY before clearing the screen. This helps with
    the "darkgray" background issue when using xterm.
    Apparently if the foreground attribute has the high intensity attribute set
    and a CRLF or a clear-screen sequence is sent, the new (blank) lines (normally, black) will have the high intensity *background* attribute set (or it just looks that way). I don't understand why... yet.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 11, 2019 19:18:51
    exec logon.js 1.43 1.44
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16122

    Modified Files:
    logon.js
    Log Message:
    Using the P_NOABORT to clear the abort flag before printing the last few callers list during logon.
    New modopts.ini [logon] option: last_few_callers (default: 4), so you can customize the number of callers displayed.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to digital man on Friday, July 12, 2019 04:33:08
    On 2019 Jul 11 16:05:40, rswindell wrote to CVS commit:

    exec logon.js 1.42 1.43
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv17515

    Modified Files:
    logon.js
    Log Message:
    Set the attribute to LIGHTGRAY before clearing the screen. This helps with the "darkgray" background issue when using xterm.

    i just realized you are using xterm... i saw your video the other day and yeah,
    that light gray background could be real annoying... i don't see that problem with my konsole, terminal over here...

    Apparently if the foreground attribute has the high intensity
    attribute set and a CRLF or a clear-screen sequence is sent, the new (blank) lines (normally, black) will have the high intensity
    *background* attribute set (or it just looks that way). I don't
    understand why... yet.

    i hope you find it... could it be related to ICE color processing? i think that's the one that allows hibit oclors for the background, isn't it?

    )\/(ark

    And to this end they built themselves a stupendous super-computer which was
    so amazingly intelligent that even before its data banks had been connected
    up it had started from "I think therefore I am" and got as far as deducing
    the existence of rice pudding and income tax before anyone managed to turn
    it off.
    ... We feed our baby onions so we can find it in the dark.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Friday, July 12, 2019 03:19:40
    Re: exec/logon.js
    By: mark lewis to digital man on Fri Jul 12 2019 04:33 am

    Apparently if the foreground attribute has the high intensity
    attribute set and a CRLF or a clear-screen sequence is sent, the new (blank) lines (normally, black) will have the high intensity *background* attribute set (or it just looks that way). I don't understand why... yet.

    i hope you find it... could it be related to ICE color processing? i think that's the one that allows hibit oclors for the background, isn't it?

    It appears to be unrelated to ICE colors.

    digital man

    Synchronet/BBS Terminology Definition #53:
    PETSCII = PET Standard Code of Information Interchange (a.k.a. CBM ASCII) Norco, CA WX: 64.9øF, 86.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 20:03:03
    exec logon.js 1.44 1.45
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv30369

    Modified Files:
    logon.js
    Log Message:
    If you're using emailval.js, you no longer need to modify your copy of logon.js to do so. Just set email_validation = true in the [logon] section of your ctrl/modopts.ini file instead.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 23:23:11
    exec logon.js 1.45 1.46
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28369

    Modified Files:
    logon.js
    Log Message:
    Fixed typo in previous commit. Oops.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, August 14, 2019 00:01:22
    exec logon.js 1.48 1.49
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv2713

    Modified Files:
    logon.js
    Log Message:
    Removed the HTMLterm stuff, cutting the size of this file in half
    (Sorry Deuce).
    If/when HTMLterm is resurrected, this logic should probably go into a subordinate module that's invoked when appropriate.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, August 14, 2019 00:34:56
    exec logon.js 1.49 1.50
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6466

    Modified Files:
    logon.js
    Log Message:
    As of now, this module doesn't need text.js, so don't load() it.

    Use the proper method of detecting an ANSI terminal:
    console.term_supports(USER_ANSI), not (user.settings&USER_ANSI)

    Use a user-property, [logon] makguest=false, rather than the 4G flag to indicate that the sysop has opted-out of creating a 'Guest' account on their BBS. If you don't have an Guest account and you already opted-out, sorry, this will prompt you again. However, get the use of a security flag (4G) back for your own definition/use, as originally intended.

    Removed some commented-out debug output (clean-up).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, August 15, 2019 21:15:31
    exec logon.js 1.51 1.52
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16933

    Modified Files:
    logon.js
    Log Message:
    last_few_callers modopts.ini setting moved from [logon] section to [logonlist]



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, October 30, 2019 11:00:38
    exec logon.js 1.52 1.53
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28616

    Modified Files:
    logon.js
    Log Message:
    Make the logon list display optional:
    If show_logon_list is set to 'false' in the [logon] section of modopts.ini, don't show the logon (last few callers) list during logon.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 03, 2020 08:27:54
    exec logon.js 1.53 1.54
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv21484

    Modified Files:
    logon.js
    Log Message:
    Support 2 new modopts.ini [logon] settings:
    - eval_first = a JavaScript expression to execute (almost) first thing
    - eval_last = a JavaScript expression to execute as the last thing


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, May 25, 2020 21:21:19
    exec logon.js 1.54 1.55
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv29316

    Modified Files:
    logon.js
    Log Message:
    Use the new (much easier) method of displaying random display/menu files.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • 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.9øF, 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