• exec/filelist.js

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Feb 16 17:50:02 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/b67a5a2695b0da87c981309a
    Modified Files:
    exec/filelist.js
    Log Message:
    Don't include both normal and extended file descriptions by defaultAs pointed out by DesotoFireflite (VALHALLA), both the file'sshort/normal description and the extended description were beingincluded in all file listings. This is probably want most sysopswill want since the extended description is often used as the contentof the short/normal description, resulting in repeated content. So,by default, if there is an extended file description, don't outputthe short/normal file description.If you want to include *both* the short and extended descriptions(for files that have both), include both the -ext and -desc commandline options.
    --- SBBSecho 3.14-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 Thu Feb 17 11:29:36 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a77e846bc30f8df37fd43197
    Modified Files:
    exec/filelist.js
    Log Message:
    Strip carriage returns from extended descriptionsOn Windows, CRs in extended descriptions could result in output of\r\r\n which could be displayed as 2 newlines (e.g. in notepad.exe).Since the \n -> \r\n expansion already happens on Windows stdout,we don't want them in the processed input (file metadata).As reported by DesotoFireflite (VALHALLA), thank you!
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue May 23 19:24:50 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9c7ecc89274d7d103e36a570
    Modified Files:
    exec/filelist.js
    Log Message:
    Add options: -utf8, -strip, -user=<name>The -strip option requires the (new to v3.20) strip_ctrl_a() methodPreviously, when using the -all or -lib options, all directories would beincluded in the filelist, but with the -user option, a valid user (e.g.-user=guest, or -user=sysop) can be specfied to limit the scope of the listto only directories accessible to the specified user (and downloads allowedto the user as well).The -utf8 option encodes all output in UTF-8 (instead of CP437) while the-strip option strips any Ctrl-A (attribute) sequences from the output.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue May 30 19:32:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/12155a2bedd44fa37dff9ae9
    Modified Files:
    exec/filelist.js
    Log Message:
    Add -out=filename as redirection isn't always an optione.g. when running filelist.js as a timed event, you can't redirect stdout(without running via jsexec), so let's support specifying an outputfilename with an option (-out=filename).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Feb 10 21:36:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1c15e56ff3b8e63d9873d1a4
    Modified Files:
    exec/filelist.js
    Log Message:
    Fix issues with file sorting

    The case-sensitive/insensitive logic was backwards
    (-i enabled case-sensitive sorting)

    The re-sorting by name was always occurring when the -sort option was used.

    Case-insensitive sorting by numeric properties (e.g. size) didn't work right. --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)