• exec/user_settings.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Sep 22 19:19:48 2023
    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 Fri Sep 22 19:19:48 2023
    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 Fri Sep 22 19:44:04 2023
    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 Fri Sep 22 20:44:27 2023
    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 Fri Sep 22 22:12:16 2023
    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 Sat Sep 23 14:07:55 2023
    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 Sat Sep 23 21:49:57 2023
    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 Tue Oct 31 22:18:14 2023
    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 Sun Nov 12 17:04:49 2023
    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 Sat Jan 27 17:48:50 2024
    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 Tue Jan 30 15:52:19 2024
    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 Tue Jan 30 15:52:19 2024
    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 Mon Feb 12 10:49:39 2024
    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 Mon Mar 11 14:07:39 2024
    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