• Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cf

    From Digital Man@VERT to Nightfox on Monday, February 07, 2022 11:27:33
    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cf
    By: Nightfox to Ragnarok on Mon Feb 07 2022 08:59 am

    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
    By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:31 am

    Error when file description is empty:

    JavaScript ddfilelister.js line 452: TypeError: fileDesc is undefined

    I hadn't sdeen that error, but I have an idea for a fix.

    Digital Man: This is a case where I got a metadata object for a file with extended information. Is it possible for either extdesc or desc or extdesc to not be included with a metadata object?

    Yes, if either of those descriptions don't exist, they won't be populated as properties *unless* you use FileBase.DETAIL.MAX as the detail level in your calls to the FileBase methods.
    --
    digital man (rob)

    Synchronet "Real Fact" #65:
    Synchronet can dynamically compress and uncompress message bases (using LZH) Norco, CA WX: 74.6°F, 13.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Ragnarok on Monday, February 07, 2022 11:33:14
    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
    By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:31 am

    Error when file description is empty:

    JavaScript ddfilelister.js line 452: TypeError: fileDesc is undefined

    I've made a fix that should hopefully fix this. When my fix is merged, try getting the new version.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Ragnarok on Monday, February 07, 2022 11:33:59
    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
    By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:39 am

    if you use V or B shortcuts, then move left or tight arrows, the
    selected item still selected at firt menu "Info"

    My fix should fix this too. When it gets merged ,try the new version.

    I'm still curious about the file view issue you mentioned.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Ragnarok@VERT/DOCKSUD to Nightfox on Monday, February 07, 2022 16:58:26
    El 7/2/22 a las 15:21, Nightfox escribió:
    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
    By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:39 am

    Ra> hi Eric! cool lister! i found some little issues:

    Ra> viewfile action don't screen pause and the content get out off screen

    Can you elaborate? Does this happen when viewing text files, zip files, or other types of files? When you view a file, it calls Synchronet's view file action, so Synchronet should run whatever file viewer you have set up in Synchronet. Currently I have my own file viewer set up, so my setup might be different from yours.

    the zip extension viewer have config as:

    unzip -lq %s

    I took a video capture:

    http://downloads.bbs.docksud.com.ar/tmp/dsfilelister.mp4

    Thanks!

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Monday, February 07, 2022 12:25:21
    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cf
    By: Ragnarok to Nightfox on Mon Feb 07 2022 04:58 pm

    El 7/2/22 a las 15:21, Nightfox escribió:
    Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
    By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:39 am

    Ra> hi Eric! cool lister! i found some little issues:

    Ra> viewfile action don't screen pause and the content get out off screen

    Can you elaborate? Does this happen when viewing text files, zip files, or other types of files? When you view a file, it calls Synchronet's view file action, so Synchronet should run whatever file viewer you have set up in Synchronet. Currently I have my own file viewer set up, so my setup might be different from yours.

    the zip extension viewer have config as:

    unzip -lq %s

    I took a video capture:

    http://downloads.bbs.docksud.com.ar/tmp/dsfilelister.mp4

    You may way to consider using archive.js instead:

    run 'jsexec archive install' and remove your "zip extension viewer" that calls unzip.
    --
    digital man (rob)

    This Is Spinal Tap quote #17:
    David St. Hubbins: It's such a fine line between stupid, and uh... and clever. Norco, CA WX: 75.6°F, 13.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net