• webv4/root/api/files.ssjs

    From echicken@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 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.8F, 39.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 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.3F, 38.0% humidity, 10 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Altere@1:103/705 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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.19Files were being downloaded as undefined.undefined because I didn't emulatethe old 'base' and 'ext' properties - just use a single 'name' property now.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)