• exec/load/shell_lib.js

    From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Sunday, March 19, 2023 12:57:57
    https://gitlab.synchro.net/main/sbbs/-/commit/fd6ae57148866916c95cc395
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Fix assignment to undeclared variable j

    And use putmsg() for strings that may have @-codes (e.g. ELLIPSIS)
  • From Rob Swindell (on ChromeOS) to Git commit to main/sbbs/master on Sunday, March 19, 2023 19:11:06
    https://gitlab.synchro.net/main/sbbs/-/commit/c60c646e8f46c9b846d4ac49
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Add missing sync call before xferinfo menu prompt.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Saturday, November 18, 2023 17:13:09
    https://gitlab.synchro.net/main/sbbs/-/commit/939d47dd8781171e6ea718db
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Don't load('text.js') - not needed with v3.20

    Performance improvement
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Saturday, March 16, 2024 20:34:32
    https://gitlab.synchro.net/main/sbbs/-/commit/8e5820e44527ab42a40a856c
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Fix user-to-user download function

    The JS file_area.user_dir is an object (not documented in jsobjs.html!) and bbs.list_file_info() method expects the directory number (not object) as the first argument. Reported by Jas Hud.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Thursday, August 08, 2024 13:25:35
    https://gitlab.synchro.net/main/sbbs/-/commit/b39c7c7025bf68ccade1fa7a
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Prompt to clear the batch download queue if user chooses not to download files

    Some users may have unintentionally added files to their batch download queue and not know how to clear the queue manually, so prompt here for user friendliness/convenience.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Monday, September 16, 2024 18:54:13
    https://gitlab.synchro.net/main/sbbs/-/commit/9bddabc1027d240351939a0e
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Check for console abort (Ctrl-C) in directory searching for loops

    Multiple directory searching functions wouldn't terminate on Ctrl-C
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Thursday, October 10, 2024 22:24:55
    https://gitlab.synchro.net/main/sbbs/-/commit/3a474e62ff3a22c484f91a24
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Don't display/log an error if text/menu/upload.* doesn't exist

    "upload.*" is an optional menu file, so this should've always used the P_NOERROR flag, but the bug just fixed (in commit b656e19ff) masked this
    issue.
  • From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Friday, October 11, 2024 18:45:51
    https://gitlab.synchro.net/main/sbbs/-/commit/5263fb71388bae387c2b82fa
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    upload_file() will now fall-back to blind/batch upload if no filename provided

    If the user doesn't type a filename (just hits enter) and there are either files in the batch upload queue and/or there's an 'Uploads' directory configured by the sysop, then prompt if they want to start a batch
    upload now and do that (using the new bbs.batch_upload() method).

    This change requires the latest SBBS v3.20a changes committed in this same push.

    Change made to accomodate users/sysops like Chris Mifsud from Facebook:
    "For decades using other bbs software I always just pressed enter without entering a file name and it goes straight to the zmodem upload and then I select the file and hit upload no problem."

    Since only the default ("Synchronet Classic") command shell currently uses
    this library, this change only works when using that command shell. When we port other shells from Baja to JS (and this lib), they'll get this feature automatically.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Thursday, October 24, 2024 13:58:26
    https://gitlab.synchro.net/main/sbbs/-/commit/d38c6ae9024a6049f188d2b8
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Use 1-based group and lib numbers for optional subs* and dirs* menu files

    This was a bug in the conversion from Baja and C++ to JS.

    Discovered/reported by vela025
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Thursday, October 24, 2024 14:00:12
    https://gitlab.synchro.net/main/sbbs/-/commit/9ab258d09b6ebaa529c7882b
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Add misisng parens from previous commit
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Friday, October 25, 2024 14:50:52
    https://gitlab.synchro.net/main/sbbs/-/commit/cdd5d134a9b209625c038d13
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Display menu/tmessage.* when entering file transfer section, if it exists

    This appears to be have been missed in the conversion from Baja

    Reported by vela025
  • From Rob Swindell (on ChromeOS) to Git commit to main/sbbs/master on Monday, October 28, 2024 18:52:32
    https://gitlab.synchro.net/main/sbbs/-/commit/148c26e0270da8d23a9a4f66
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Fix typo: js.terminated, not js.terminate