• webv4/root/api/files.ssjs

    From echicken@VERT to Git commit to main/sbbs/master on Wed Jan 27 12:01:06 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/f50407e9e667b9f273a12191
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Optional content-disposition change.
    If file type is known to ctrl/mime_types.ini,
    and if files_inline is true in modopts.ini->[web],
    and if it's not application/octet-stream,
    set content-disposition to inline.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Wed Jan 27 12:01:06 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/af2ce51e7b44268a32a218cf
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Use FileEntry.name property instead of blind assumptions.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Thu Jan 28 08:35:41 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/98452d5db03b79e68058b02b
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Don't display files with blacklisted extensions inline.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Mar 6 21:31:33 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/417cbeb460694f41da53c37a
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Use require() for request,FileBase. Use 'request' to get query params.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Apr 26 21:29:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6104817b479dc502420ad9e9
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Fix downloaded filenames in v3.19

    Files were being downloaded as undefined.undefined because I didn't emulate
    the old 'base' and 'ext' properties - just use a single 'name' property now.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Wed Oct 7 08:29:59 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/e598995fad82cfa21e9ff3b3
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Check directory download_ars in addition to can_download,
    maybe that'll do something.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to echicken on Wed Oct 7 12:39:32 2020
    Re: webv4/root/api/files.ssjs
    By: echicken to Git commit to sbbs/master on Wed Oct 07 2020 08:29 am

    https://gitlab.synchro.net/sbbs/sbbs/-/commit/e598995fad82cfa21e9ff3b3 Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    Check directory download_ars in addition to can_download,
    maybe that'll do something.

    That shouldn't be necessary.

    digital man

    This Is Spinal Tap quote #22:
    David St. Hubbins: Here lies David St. Hubbins... and why not?
    Norco, CA WX: 84.8øF, 39.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to Digital Man on Wed Oct 7 16:01:59 2020
    Re: webv4/root/api/files.ssjs
    By: Digital Man to echicken on Wed Oct 07 2020 12:39:32

    Check directory download_ars in addition to can_download,
    maybe that'll do something.

    That shouldn't be necessary.

    I didn't think so, but I had a bug report suggesting otherwise, which this allegedly fixed.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to echicken on Wed Oct 7 13:32:29 2020
    Re: webv4/root/api/files.ssjs
    By: echicken to Digital Man on Wed Oct 07 2020 04:01 pm

    Re: webv4/root/api/files.ssjs
    By: Digital Man to echicken on Wed Oct 07 2020 12:39:32

    Check directory download_ars in addition to can_download,
    maybe that'll do something.

    That shouldn't be necessary.

    I didn't think so, but I had a bug report suggesting otherwise, which this allegedly fixed.

    Ah, that might be because you're using file_area.dir[x] instead of file_area.lib_list[x].dir_list[y]. That'd be an interesting experiment.

    digital man

    Synchronet/BBS Terminology Definition #87:
    UTF-8 = 8-bit Unicode Transformation Format
    Norco, CA WX: 86.3øF, 38.0% humidity, 10 mph NNE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Altere@VERT/ATHEL to Digital Man on Wed Oct 7 17:52:58 2020
    Re: webv4/root/api/files.ssjs
    By: echicken to Digital Man on Wed Oct 07 2020 04:01 pm

    Check directory download_ars in addition to can_download,
    maybe that'll do something.

    That shouldn't be necessary.
    I didn't think so, but I had a bug report suggesting otherwise, which this allegedly fixed.

    That's correct, but in response to the msg after this one I wouldn't know but I'm willing to test whatever experiment. lol

    -altere

    ---
    þ Synchronet þ Athelstan BBS þ athelstan.org þ telnet:23 / ssh:2222
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Dec 5 17:00:15 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/218d51ec87678b32963858f1
    Modified Files:
    webv4/root/api/files.ssjs
    Log Message:
    user.downloaded_file() expects *just* the filename, not a full path

    This is why files downloaded via ecWebv4 haven't been properly accounted.

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