• whislist: listfiles improvements headers and ARS

    From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Fri Jan 15 09:08:28 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/202

    I want to use filelist to generate a "News files" bulletinI think the addition of these two functionalities can be useful:1) Use -hdr with -new XX show the header of another directories that do not have newest files:```Main Nets Files: 7-------------------------------------------------------------------------------Main Doors Kits Files: 0-------------------------------------------------------------------------------Main DOS Games Files: 26-------------------------------------------------------------------------------Main BBS Files: 41-------------------------------------------------------------------------------BIMPRO29.ZIP 13/01/21 BImodem Pro (PAMPA) V2.9 [1/1] A new full BImodem.com-compBIMPRO31.ZIP 13/01/21 BImodem PRO (PAMPA) v3.1: A new full BImodem.com-compatiblBIMPRO33.ZIP 13/01/21 BImodem PRO (PAMPA) v3.3: A new full BImodem.com-compatiblBIMPRO35.ZIP 13/01/21 BImodem PRO (PAMPA) v3.5: A new full BImodem.com-compatiblBIMPRO36.ZIP 13/01/21 BImodem PRO (PAMPA) v3.6: A new full BImodem.com-compatiblBIMPRO40.ZIP 13/01/21 BImodem PRO (PAMPA) v4.0: A new full BImodem.com-compatiblllist129.zip 07/01/21 LiSTADO OFiCiAL DE BBS's DE LA REPUBLiCA ARGENTiNA. 27 Mayllist143.zip 07/01/21 24 Oct. 1998 143locol109.zip 07/01/21 24 Abr. 109 1996 El LoCoPAMPA35.ZIP 13/01/21 BImodem PRO (PAMPA) v3.5: A new full BImodem.com-compatiblPAMPA41A.ARJ 13/01/21 PAMPA v4.1a. (C) Ariel Lipzig A new BImodem-compatible proMain Assembler Files: 152-------------------------------------------------------------------------------Main DOS Graficos Files: 160-------------------------------------------------------------------------------Main DOS Sonido Files: 7-------------------------------------------------------------------------------Main Sunrise DOORS Files: 70-------------------------------------------------------------------------------Main Fidonet Files: 9-------------------------------------------------------------------------------Fido_Stu.ff. 14/01/21 Fido_Stuff.zipMain Win Varios Files: 28-------------------------------------------------------------------------------Main WG Warez Files: 852-------------------------------------------------------------------------------Main Basurero de archivos Files: 146-------------------------------------------------------------------------------```I wish that those areas did not show them. Maybe add another opt line "show only headers for areas with news files"Should be:```Main BBS Files: 41-------------------------------------------------------------------------------BIMPRO29.ZIP 13/01/21 BImodem Pro (PAMPA) V2.9 [1/1] A new full BImodem.com-compBIMPRO31.ZIP 13/01/21 BImodem PRO (PAMPA) v3.1: A new full BImodem.com-compatiblBIMPRO33.ZIP 13/01/21 BImodem PRO (PAMPA) v3.3: A new full BImodem.com-compatiblBIMPRO35.ZIP 13/01/21 BImodem PRO (PAMPA) v3.5: A new full BImodem.com-compatiblBIMPRO36.ZIP 13/01/21 BImodem PRO (PAMPA) v3.6: A new full BImodem.com-compatiblBIMPRO40.ZIP 13/01/21 BImodem PRO (PAMPA) v4.0: A new full BImodem.com-compatiblllist129.zip 07/01/21 LiSTADO OFiCiAL DE BBS's DE LA REPUBLiCA ARGENTiNA. 27 Mayllist143.zip 07/01/21 24 Oct. 1998 143locol109.zip 07/01/21 24 Abr. 109 1996 El LoCoPAMPA35.ZIP 13/01/21 BImodem PRO (PAMPA) v3.5: A new full BImodem.com-compatiblPAMPA41A.ARJ 13/01/21 PAMPA v4.1a. (C) Ariel Lipzig A new BImodem-compatible proMain Fidonet Files: 9-------------------------------------------------------------------------------Fido_Stu.ff. 14/01/21 Fido_Stuff.zip```2) Set the ARS level access that run filelist, example: -ars "LEVEL 10"then, this show the areas that have permision for LEVEL 10 or less.This helps to avoid having to put a large list of "-not" included areasthanks!
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Jan 15 18:37:37 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/202#note_1300

    In Synchronet v3.19, there will be a JavaScript filelist utility script either in addition to or instead-of the old "filelist" utility. Enhancements such as this will be much easier to make to the JavaScript utility script.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From poindexter FORTRAN@1:103/705 to Rob Swindell on Sat Jan 16 09:34:00 2021
    Subject: Re: whislist: listfiles improvements headers and ARS
    @MSGID: <600349EA.23931.dove.sync_sys@realitycheckbbs.org>
    @REPLY: <60025171.49240.sync_sys@vert.synchro.net>
    @TZ: 41e0
    Rob Swindell wrote to GitLab note in main/sbbs <=-

    https://gitlab.synchro.net/main/sbbs/-/issues/202#note_1300

    In Synchronet v3.19, there will be a JavaScript filelist utility script either in addition to or instead-of the old "filelist" utility. Enhancements such as this will be much easier to make to the JavaScript utility script.

    <snark>

    I'd rather see TEXT.DAT re-written in JSON. Or XML. Or EBCDIC. Can we put
    this to a vote? :)

    </snark>



    ... Dear Esteemed Colleagues (And Steve);
    --- MultiMail/DOS v0.52
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 7 22:40:05 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/202#note_2016

    The filelist.js -hdr option already works as you have described here.The second request is not feasible (You can't use ARS to define a user). I think another potential solution would be to allow jsexec to "run as" a user number, then just specify the number with the security settings you want.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Mon Jun 7 22:40:05 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/202
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Tue Jun 8 12:15:17 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/202#note_2017

    Yes, run as can be good feature You can run script with differents security context this only lists these libraries that user have access:```jsexec -u ragnarok filelist.js jsexec -u 1 filelist.js```Also, another approcach can be set the ARS for script ex:```jsexec -ars "LEVEL 40" fielist.js```This should show only libraries level 40 has access to.I don't know if it can be useful for other modules, but it can be useful for filelist.jsSaludos!
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)