• exec/load/shell_lib.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Mar 19 12:57:57 2023
    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)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sun Mar 19 19:11:06 2023
    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.

    ---
    þ 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 Nov 18 17:13:09 2023
    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

    ---
    þ 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 Mar 16 20:34:32 2024
    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.

    ---
    þ 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 Thu Aug 8 13:25:35 2024
    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.

    ---
    þ 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 Sep 16 18:54:13 2024
    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

    ---
    þ 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 Thu Oct 10 22:24:55 2024
    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.

    ---
    þ 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 Fri Oct 11 18:45:51 2024
    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.

    ---
    þ 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 Thu Oct 24 13:58:26 2024
    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

    ---
    þ 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 Thu Oct 24 14:00:12 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/9ab258d09b6ebaa529c7882b
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Add misisng parens from previous commit

    ---
    þ 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 Oct 25 14:50:52 2024
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Mon Oct 28 18:52:32 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/148c26e0270da8d23a9a4f66
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    Fix typo: js.terminated, not js.terminate

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