• 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