https://gitlab.synchro.net/main/sbbs/-/commit/f3925de4b0bb4e414d03d980
Added Files:
xtrn/ddfilelister/ddfilelister.cfg ddfilelister.js defaultTheme.cfg readme.txt revision_history.txt
Modified Files:
exec/load/dd_lightbar_menu.js
Log Message:
Created a file lister (in JS) that lists files in the user's current file directory with a lightbar interface, as well as message windows etc.
If the user does not have an ANSI terminal, this lister will run Synchronet's stock file lister interface.
---
¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨ [vert/cvs/bbs].synchro.net
https://gitlab.synchro.net/main/sbbs/-/commit/f3925de4b0bb4e414d03d980
Added Files:
xtrn/ddfilelister/ddfilelister.cfg ddfilelister.js defaultTheme.cfg readme.txt revision_history.txt
Modified Files:
exec/load/dd_lightbar_menu.js
Log Message:
Created a file lister (in JS) that lists files in the user's current file directory with a lightbar interface, as well as message windows etc.
If the user does not have an ANSI terminal, this lister will run Synchronet's stock file lister interface.
---
¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨ [vert/cvs/bbs].synchro.net
Error when file description is empty:
JavaScript ddfilelister.js line 452: TypeError: fileDesc is undefined
hi Eric! cool lister! i found some little issues:
viewfile action don't screen pause and the content get out off screen
if you use V or B shortcuts, then move left or tight arrows, the
selected item still selected at firt menu "Info"
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?
Error when file description is empty:
JavaScript ddfilelister.js line 452: TypeError: fileDesc is undefined
if you use V or B shortcuts, then move left or tight arrows, the
selected item still selected at firt menu "Info"
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.
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
Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:39 am
Ra> if you use V or B shortcuts, then move left or tight arrows, the
Ra> 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
El 7/2/22 a las 16:33, Nightfox escribi¢:
Re: Re: xtrn/ddfilelister/ddfilelister.cfgi will check your fix asap
ddfilelister.jsdefaultTheme.cfg
By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:39 am
Ra> if you use V or B shortcuts, then move left or tight arrows, the
Ra> 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
i have my own "file lister", to view file i was use this:
bbs.list_files(file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].number, file, FL_VIEW);
and the content view of file working as expected
i will switch to new FileBase code to test too
unzip -lq %s
I took a video capture:
http://downloads.bbs.docksud.com.ar/tmp/dsfilelister.mp4
Sysop: | Retros |
---|---|
Location: | Toronto, Canada |
Users: | 23 |
Nodes: | 8 (0 / 8) |
Uptime: | 251:31:00 |
Calls: | 1,086 |
Files: | 6 |
Messages: | 29,896 |