• webv4/root/api/files.ssjs

    From echicken@VERT to Git commit to sbbs/master on Wednesday, October 07, 2020 15:29:59
    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 Wednesday, October 07, 2020 19:39:32
    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

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to Digital Man on Wednesday, October 07, 2020 23:01:59
    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 Wednesday, October 07, 2020 20:32:29
    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

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Altere@VERT/ATHEL to Digital Man on Thursday, October 08, 2020 00:52:58
    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 echicken@VERT to Git commit to main/sbbs/master on Wednesday, January 27, 2021 20:01:06
    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 Wednesday, January 27, 2021 20:01:06
    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 Thursday, January 28, 2021 16:35:41
    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