• exec/user_settings.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, September 22, 2023 19:19:48
    https://gitlab.synchro.net/main/sbbs/-/commit/0d2fa10a4180dcd71bfe8a1a
    Added Files:
    exec/user_settings.js
    Log Message:
    Clean-up naming, use of global variables, remove text.dat reversion

    ---
    þ 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 Friday, September 22, 2023 19:19:48
    https://gitlab.synchro.net/main/sbbs/-/commit/5cd91025cb1cb3c45c83ede1
    Modified Files:
    exec/user_settings.js
    Log Message:
    Fix the terminal type display

    pass undefined to termdesc.type() when editing current user

    ---
    þ 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 Friday, September 22, 2023 19:44:04
    https://gitlab.synchro.net/main/sbbs/-/commit/c0831592a816ab970c8474b4
    Modified Files:
    exec/user_settings.js
    Log Message:
    We can't make a copy of 'user', need to create a new User() instance

    ... or else any changes we make aren't saved (we're just modifying this
    object in memory).

    Fix the heading (user alias is displayed, not name).

    Fix the mouse hot-spots.

    Fix the "None" default download protocol (requires latest text.js).

    Fix the hot-key option (inverted logic).

    Don't display the [K] Command Shell option if there's only one available.

    ---
    þ 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 Friday, September 22, 2023 20:44:27
    https://gitlab.synchro.net/main/sbbs/-/commit/35b9254e93c2a452f1d36281
    Modified Files:
    exec/user_settings.js
    Log Message:
    Fix the 'M' mouse hotspot

    Also clear the screen immediately cause it can take a noticable amount
    of time to read/parse the file.ini and main.ini files.

    ---
    þ 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 Friday, September 22, 2023 22:12:16
    https://gitlab.synchro.net/main/sbbs/-/commit/696679e8f158faead771217a
    Modified Files:
    exec/user_settings.js
    Log Message:
    Style update: white-space and parenthesis

    Fix-up the require() statements.

    ---
    þ 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 Saturday, September 23, 2023 14:07:55
    https://gitlab.synchro.net/main/sbbs/-/commit/6e2771064bad8f04fe9b13ba
    Modified Files:
    exec/user_settings.js
    Log Message:
    Move the 'Q' hotspot to just *after* the display of the prompt

    Fixes issue #645

    ---
    þ 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 Saturday, September 23, 2023 21:49:57
    https://gitlab.synchro.net/main/sbbs/-/commit/fa5877aa7c6819f4a2e4a58a
    Modified Files:
    exec/user_settings.js
    Log Message:
    Use the word Only from the text.dat (for localization)

    ---
    þ 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 Tuesday, October 31, 2023 22:18:14
    https://gitlab.synchro.net/main/sbbs/-/commit/291caf91a7ff5700ff9ebe2c
    Modified Files:
    exec/user_settings.js
    Log Message:
    Multi-language support and other niceties

    The get_lang_count(), get_lang_list(), and get_lang_desc_list() functions are more or less ported from load_cfg.c. If we ever need these in any other JS files, they should be moved to a load-lib.

    Re-synchronized this code with sbbs_t::maindflts():
    - Don't accept keys for settings we didn't display
    - Remove support for Auto-Login by IP address (chopping block feature)
    - This is even a tad better as a translated (to another language)
    UserDefaultsHdr string (if/when there is one) would be displayed
    immediately upon a new language file being selected

    Fixed a bug where the user online's command shell was used as the default rather than the selected user's command shell (thisuser).

    Fixed a bug where 'None' was hard-coded rather than use the text.dat string.

    No longer needs/loads text.js (use the hard-coded string IDs in sbbs v3.20)
    for a little speed boost.

    ---
    þ 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, November 12, 2023 17:04:49
    https://gitlab.synchro.net/main/sbbs/-/commit/02f38bc126647487daef7813
    Modified Files:
    exec/user_settings.js
    Log Message:
    Fix a few text.dat string length checks (oops)

    Finish removing the AutoLogonViaIP support from this script

    ---
    þ 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 Saturday, January 27, 2024 17:48:50
    https://gitlab.synchro.net/main/sbbs/-/commit/704eba931651e21f8d85874c
    Modified Files:
    exec/user_settings.js
    Log Message:
    Fix error with PETSCII_UPPERLOWER use

    line 445: Error: can't convert PETSCII_UPPERLOWER to an integer

    reported by Nelgin

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to Git commit to main/sbbs/master on Tuesday, January 30, 2024 15:52:19
    https://gitlab.synchro.net/main/sbbs/-/commit/0fe4894c8676232d072251ba
    Modified Files:
    exec/user_settings.js
    Log Message:
    Fix signature using wrong filename

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, January 30, 2024 15:52:19
    https://gitlab.synchro.net/main/sbbs/-/commit/1917099ba9f7dabd7940a2a7
    Modified Files:
    exec/user_settings.js
    Log Message:
    Merge branch 'fix_usersettings_sig' into 'master'

    Fix signature using wrong filename

    See merge request main/sbbs!391

    ---
    þ 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 Monday, February 12, 2024 10:49:39
    https://gitlab.synchro.net/main/sbbs/-/commit/4d6691289e7e409b0b93ab98
    Modified Files:
    exec/user_settings.js
    Log Message:
    Enable raw input mode when prompting for backspace key

    Since the user we're editing here is not a pointer to the current user, changing the USER_SWAP_DELETE settings before this prompt doesn't prevent
    the DEL->BS translation from happening. Raw input mode does.

    Without this change, it would appear the user's backspace key would toggle between sending either ^H or DEL for the backspace key (for terminals that actually send DEL).

    ---
    þ 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 Monday, March 11, 2024 14:07:39
    https://gitlab.synchro.net/main/sbbs/-/commit/4ddf62f3007b4eb1826e81fa
    Modified Files:
    exec/user_settings.js
    Log Message:
    Don't allow terminal columns and rows to be set to -1

    Range check return value of console.getnum(), as is done in useredit.cpp.

    The user hitting ^C at eithe of the terminal columns or rows prompts would
    set that value -1.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, August 17, 2024 18:07:24
    https://gitlab.synchro.net/main/sbbs/-/commit/c41be9894d0ae62487b5d992
    Modified Files:
    exec/user_settings.js
    Log Message:
    Defense against TypeError: xtrn_area.editor[thisuser.editor] is undefined

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