• exec/load/filebrowser.js

    From echicken@VERT to CVS commit on Mon Aug 17 20:56:07 2015
    exec/load filebrowser.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21873

    Added Files:
    filebrowser.js
    Log Message:
    Lightbar filesystem browser object.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Ragnarok@ragnarok@docksud.com.ar to echicken on Tue Aug 18 12:22:21 2015
    El 18/08/15 a las 00:56, echicken escribió:
    exec/load filebrowser.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21873

    Added Files:
    filebrowser.js
    Log Message:
    Lightbar filesystem browser object.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net

    yeah!

    i miss the WorldGroup filemanager interface
  • From echicken@VERT to CVS commit on Tue Aug 18 10:04:36 2015
    exec/load filebrowser.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25488

    Modified Files:
    filebrowser.js
    Log Message:
    FileBrowser.path setter.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Tue Aug 18 11:01:47 2015
    exec/load filebrowser.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv32043

    Modified Files:
    filebrowser.js
    Log Message:
    'load' callback must return the list of files.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nightfox@VERT to echicken on Tue Aug 18 11:34:00 2015
    exec/load filebrowser.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21873

    Added Files:
    filebrowser.js
    Log Message:
    Lightbar filesystem browser object.

    How did you create that when Synchronet lacks a JavaScript interface to the file libraries? I had been thinking of creating a mod like that for a while (including features like tagging files for download), but without a
    JavaScript interface, it seems it would be fairly difficult (and some
    features might not be able to be done).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From echicken@VERT to Nightfox on Tue Aug 18 15:16:27 2015
    Re: exec/load/filebrowser.js
    By: Nightfox to echicken on Tue Aug 18 2015 11:34:00

    How did you create that when Synchronet lacks a JavaScript interface to the file libraries? I had been thinking of creating a mod like that for a

    It's a filesystem browser rather than a browser for Synchronet's file libraries. (As in, you could point it at 'system.text_dir + "menu/"' in order to navigate your BBS' text/menu/ directory tree.)

    while (including features like tagging files for download), but without a JavaScript interface, it seems it would be fairly difficult (and some features might not be able to be done).

    This could conceivably be extended to such a point, whether in conjunction with Synchronet's built-in file area stuff or as a replacement.

    The JS file_area object does provide info up to a certain point (on file libraries & directories) but IIRC falls short when it comes to listing the files themselves. At that point it would become a matter of reading Synchronet's data files for each directory to get descriptions, etc. for each file. I can see roughly how this would work, so I might tinker with it a bit soon.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Nightfox@VERT to echicken on Tue Aug 18 13:11:03 2015
    Re: exec/load/filebrowser.js
    By: Nightfox to echicken on Tue Aug 18 2015 11:34:00

    How did you create that when Synchronet lacks a JavaScript interface to the file libraries? I had been thinking of creating a mod like that for a

    It's a filesystem browser rather than a browser for Synchronet's file libraries. (As in, you could point it at 'system.text_dir + "menu/"' in order to navigate your BBS' text/menu/ directory tree.)

    Ah, I see. That makes sense.

    while (including features like tagging files for download), but without a JavaScript interface, it seems it would be fairly difficult (and some features might not be able to be done).

    This could conceivably be extended to such a point, whether in conjunction with Synchronet's built-in file area stuff or as a replacement.

    The JS file_area object does provide info up to a certain point (on file libraries & directories) but IIRC falls short when it comes to listing the files themselves. At that point it would become a matter of reading Synchronet's data files for each directory to get descriptions, etc. for each file. I can see roughly how this would work, so I might tinker with it a bit soon.

    That would be interesting to work on. At this point, I am probably just going to wait until more file area functionality is added to Synchronet's JavaScript model. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From echicken@VERT to Nightfox on Tue Aug 18 23:49:24 2015
    Re: exec/load/filebrowser.js
    By: echicken to Nightfox on Tue Aug 18 2015 15:16:27

    This could conceivably be extended to such a point, whether in conjunction with Synchronet's built-in file area stuff or as a replacement.

    files themselves. At that point it would become a matter of reading Synchronet's data files for each directory to get descriptions, etc. for each file. I can see roughly how this would work, so I might tinker with

    Reading at least the basic file area data turns out to be fairly easy, though I've probably got some of it wrong. I'm going to take a peek at the extended file description stuff and see what's involved.

    The filesystem browser wouldn't be necessary for this after all, and is probably the wrong tool for the job.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Nightfox@VERT to echicken on Wed Aug 19 19:53:08 2015
    Re: exec/load/filebrowser.js
    By: echicken to Nightfox on Tue Aug 18 2015 23:49:24

    Reading at least the basic file area data turns out to be fairly easy, though I've probably got some of it wrong. I'm going to take a peek at the extended file description stuff and see what's involved.

    Yeah, I've written scripts that read the file group & directory information, but I don't think there's any more in the Synchronet JS API that lets you do more with the file areas.

    The filesystem browser wouldn't be necessary for this after all, and is probably the wrong tool for the job.

    I understand. I was just curious when I saw the filename. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From echicken@VERT to Nightfox on Wed Aug 19 23:39:24 2015
    Re: exec/load/filebrowser.js
    By: Nightfox to echicken on Wed Aug 19 2015 19:53:08

    Yeah, I've written scripts that read the file group & directory information, but I don't think there's any more in the Synchronet JS API that lets you do more with the file areas.

    Right. I was talking about writing something that would pull information out of the filearea data files themselves and then present it in a friendly format that JS modules could work with. So I went ahead and did that last night.

    I'm about 60% done writing a lightbar filearea browser now. I'll commit it and the supporting objects that I created sometime within the next few days, most likely.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT to CVS commit on Sun Jan 7 01:04:25 2018
    exec/load filebrowser.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv26853

    Modified Files:
    filebrowser.js
    Log Message:
    Delete container frame upon close/refresh;
    it may be a child frame of some other, and
    this will remove it from there (and free
    up memory). Fixes ansiview crash after
    browsing x number of local directories.

    Various formatting changes with no
    functional impact (I hope).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sat Feb 3 21:49:10 2018
    exec/load filebrowser.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21301

    Modified Files:
    filebrowser.js
    Log Message:
    Accept a hide_regexp parameter.
    A regular expression, but (I think) the leading/trailing slashes should
    be omitted.
    Files matching this pattern will not be listed.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Tue Feb 6 22:46:36 2018
    exec/load filebrowser.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6614

    Modified Files:
    filebrowser.js
    Log Message:
    Use the first letter search Tree thingie.
    Well, this thing is ... interestingly bad.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Mar 22 20:04:24 2020
    exec/load filebrowser.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv19359

    Modified Files:
    filebrowser.js
    Log Message:
    Include the errant path in the exception msg thrown by InitOptions()


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