• JavaScript for Files /in/ Directory?

    From Psi-Jack@VERT/DECKHVN2 to All on Thu Jul 9 19:00:04 2015
    I see javascript classes for each library, and directory itself, but I do not see any classes for actual files/details within the actual directory.

    Is there any way to actually get that information, as one thing I would like to do is completely customize the file listings themselves. Preferring, of course, not to have to use JavaScript to try to parse the database files directly.

    If this doesn't currently exist which I suspect is the case, this would also end up being a feature request to get said functionality incorporated in developement (obviously after 3.16b is officially released).

    Thanks,

    )))[Psi-Jack -//- Decker]

    ... The chief export of Chuck Norris is pain.

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From echicken@VERT/ECBBS to Psi-Jack on Thu Jul 9 20:04:49 2015
    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to All on Thu Jul 09 2015 19:00:04

    I see javascript classes for each library, and directory itself, but I do not see any classes for actual files/details within the actual directory.

    Is there any way to actually get that information, as one thing I would

    Not that I'm aware of, apart from:

    Preferring, of course, not to have to use JavaScript to try to parse the database files directly.

    :D

    If this doesn't currently exist which I suspect is the case, this would also end up being a feature request to get said functionality incorporated

    I believe it's been on the list for quite a while.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to Psi-Jack on Thu Jul 9 18:51:02 2015
    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to All on Thu Jul 09 2015 07:00 pm

    I see javascript classes for each library, and directory itself, but I do not see any classes for actual files/details within the actual directory.

    Is there any way to actually get that information, as one thing I would like to do is completely customize the file listings themselves. Preferring, of course, not to have to use JavaScript to try to parse the database files directly.

    If this doesn't currently exist which I suspect is the case, this would also end up being a feature request to get said functionality incorporated in developement (obviously after 3.16b is officially released).

    The JS-modeling of the files in the file areas is due up in v4.

    digital man

    Synchronet "Real Fact" #32:
    The Synchronet web user interface was contributed by Robert Couture, Runemaster.
    Norco, CA WX: 71.4øF, 58.0% humidity, 17 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Psi-Jack on Thu Jul 9 18:53:34 2015
    Re: JavaScript for Files /in/ Directory?
    By: echicken to Psi-Jack on Thu Jul 09 2015 20:04:49

    If this doesn't currently exist which I suspect is the case, this
    would also end up being a feature request to get said functionality
    incorporated

    I believe it's been on the list for quite a while.

    Yep, I've seen it on the To-Do list for a while now. I've also wanted to see this be implemented for a while.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Fri Jul 10 00:17:44 2015
    Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Thu Jul 09 2015 06:51 pm

    Is there any way to actually get that information, as one thing I
    would like to do is completely customize the file listings themselves.
    Preferring, of course, not to have to use JavaScript to try to parse
    the database files directly.

    If this doesn't currently exist which I suspect is the case, this
    would also end up being a feature request to get said functionality
    incorporated in developement (obviously after 3.16b is officially
    released).

    The JS-modeling of the files in the file areas is due up in v4.

    Is that just after 3.16b? ;}

    )))[Psi-Jack -//- Decker]

    ... Don't jump on a man unless he's down.

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Mro@VERT/BBSESINF to Psi-Jack on Fri Jul 10 03:36:47 2015
    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Fri Jul 10 2015 12:17 am

    The JS-modeling of the files in the file areas is due up in v4.

    Is that just after 3.16b? ;}


    how long do think he's been talking about v4? hint: LONG LONG TIME!
    i dont care though because i'm happy with the version i'm running.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Digital Man@VERT to Psi-Jack on Fri Jul 10 15:56:39 2015
    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Fri Jul 10 2015 12:17 am

    Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Thu Jul 09 2015 06:51 pm

    Is there any way to actually get that information, as one thing I
    would like to do is completely customize the file listings themselves.
    Preferring, of course, not to have to use JavaScript to try to parse
    the database files directly.

    If this doesn't currently exist which I suspect is the case, this
    would also end up being a feature request to get said functionality
    incorporated in developement (obviously after 3.16b is officially
    released).

    The JS-modeling of the files in the file areas is due up in v4.

    Is that just after 3.16b? ;}

    No, there will be at least one more 3.x release following 3.16 which includes IPv6 support and some other goodies.

    digital man

    Synchronet "Real Fact" #73:
    Vertrauen went online (as a WWIV BBS running on a 10MHz PC-XT clone) in 1988. Norco, CA WX: 76.1øF, 50.0% humidity, 13 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to Digital Man on Fri Jul 10 20:12:00 2015
    Digital Man wrote to Psi-Jack <=-

    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Fri Jul 10 2015 12:17 am

    Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Thu Jul 09 2015 06:51 pm

    Is there any way to actually get that information, as one thing I
    would like to do is completely customize the file listings themselves.
    Preferring, of course, not to have to use JavaScript to try to parse
    the database files directly.

    If this doesn't currently exist which I suspect is the case, this
    would also end up being a feature request to get said functionality
    incorporated in developement (obviously after 3.16b is officially
    released).

    The JS-modeling of the files in the file areas is due up in v4.

    Is that just after 3.16b? ;}

    No, there will be at least one more 3.x release following 3.16 which includes IPv6 support and some other goodies.

    Oooooo... IPv6!! One thing though.... when you do that, can you increase the # of spaces in the sbl by 5 to allow my full IPv6 address please!!

    Thank you sir!!


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Sat Jul 11 04:13:25 2015
    Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Fri Jul 10 2015 03:56 pm

    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Fri Jul 10 2015 12:17 am
    Is that just after 3.16b? ;}

    No, there will be at least one more 3.x release following 3.16 which includes IPv6 support and some other goodies.

    Hmmm.. Okay. IPv6 support and other goodies I can definitely accept. Hehe. Definitely keeping up with that will prove useful in the long term anyway.

    )))[Psi-Jack -//- Decker]

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Digital Man@VERT to Bill McGarrity on Mon Jul 13 15:33:37 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Bill McGarrity to Digital Man on Fri Jul 10 2015 08:12 pm

    Digital Man wrote to Psi-Jack <=-

    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Fri Jul 10 2015 12:17 am

    Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Thu Jul 09 2015 06:51 pm

    Is there any way to actually get that information, as one thing I
    would like to do is completely customize the file listings themselves.
    Preferring, of course, not to have to use JavaScript to try to parse
    the database files directly.

    If this doesn't currently exist which I suspect is the case, this
    would also end up being a feature request to get said functionality
    incorporated in developement (obviously after 3.16b is officially
    released).

    The JS-modeling of the files in the file areas is due up in v4.

    Is that just after 3.16b? ;}

    No, there will be at least one more 3.x release following 3.16 which includes IPv6 support and some other goodies.

    Oooooo... IPv6!! One thing though.... when you do that, can you increase the # of spaces in the sbl by 5 to allow my full IPv6 address please!!

    SBL is getting a full overhaul.

    digital man

    Synchronet "Real Fact" #49:
    JAM and Squish were considered before developing Synchronet Message Base format.
    Norco, CA WX: 85.5øF, 39.0% humidity, 12 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Mon Jul 13 19:02:52 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Bill McGarrity on Mon Jul 13 2015 03:33 pm

    Oooooo... IPv6!! One thing though.... when you do that, can you
    increase the # of spaces in the sbl by 5 to allow my full IPv6 address
    please!!

    SBL is getting a full overhaul.

    Heh, it definitely needs it. In fact it's actually on my list of mods I'm planning to work on to make a completely JavaScript implementation of it and /try/ to be fully binary compatible, as much as possible. If not, coming up with a still compatible way to handle SBL2SMB and SMB2SBL likewise.

    )))[Psi-Jack -//- Decker]

    ... Men seldom make passes at girls who wear glasses.

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Digital Man@VERT to Psi-Jack on Mon Jul 13 16:54:10 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Mon Jul 13 2015 07:02 pm

    Re: Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Bill McGarrity on Mon Jul 13 2015 03:33 pm

    Oooooo... IPv6!! One thing though.... when you do that, can you
    increase the # of spaces in the sbl by 5 to allow my full IPv6 address
    please!!

    SBL is getting a full overhaul.

    Heh, it definitely needs it. In fact it's actually on my list of mods I'm planning to work on to make a completely JavaScript implementation of it and /try/ to be fully binary compatible, as much as possible. If not, coming up with a still compatible way to handle SBL2SMB and SMB2SBL likewise.

    Yes, the overhaul is a re-write in JS.

    digital man

    Synchronet "Real Fact" #8:
    The name "DOVE-Net" comes from: The Beast's DOmain / VErtrauen network.
    Norco, CA WX: 84.7øF, 35.0% humidity, 19 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Mon Jul 13 20:56:50 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Mon Jul 13 2015 04:54 pm

    SBL is getting a full overhaul.

    Heh, it definitely needs it. In fact it's actually on my list of mods
    I'm planning to work on to make a completely JavaScript implementation
    of it and /try/ to be fully binary compatible, as much as possible. If
    not, coming up with a still compatible way to handle SBL2SMB and
    SMB2SBL likewise.

    Yes, the overhaul is a re-write in JS.

    Even better. :D
    Any work started on it yet, or is it still new and untethered thus far? If I start on anything myself, I want to make sure it's designed to be compatible with SBL's approach, as the main point I like SBL is that the lists are shared accross DOVE-net, allowing more visibility. :)

    )))[Psi-Jack -//- Decker]

    ... I only touch base with reality on an as-needed basis!

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Bill McGarrity@VERT/TEQUILAM to Digital Man on Mon Jul 13 20:33:00 2015
    Digital Man wrote to Bill McGarrity <=-

    Re: Re: JavaScript for Files /in/ Directory?
    By: Bill McGarrity to Digital Man on Fri Jul 10 2015 08:12 pm

    Digital Man wrote to Psi-Jack <=-

    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Fri Jul 10 2015 12:17 am

    Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Thu Jul 09 2015 06:51 pm

    Is there any way to actually get that information, as one thing I
    would like to do is completely customize the file listings themselves.
    Preferring, of course, not to have to use JavaScript to try to parse
    the database files directly.

    If this doesn't currently exist which I suspect is the case, this
    would also end up being a feature request to get said functionality
    incorporated in developement (obviously after 3.16b is officially
    released).

    The JS-modeling of the files in the file areas is due up in v4.

    Is that just after 3.16b? ;}

    No, there will be at least one more 3.x release following 3.16 which includes IPv6 support and some other goodies.

    Oooooo... IPv6!! One thing though.... when you do that, can you increase the # of spaces in the sbl by 5 to allow my full IPv6 address please!!

    SBL is getting a full overhaul.

    Wodnerful!!!

    IPv6 will be a great addition!!


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Digital Man@VERT to Psi-Jack on Mon Jul 13 19:52:39 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Mon Jul 13 2015 08:56 pm

    Re: Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Mon Jul 13 2015 04:54 pm

    SBL is getting a full overhaul.

    Heh, it definitely needs it. In fact it's actually on my list of mods
    I'm planning to work on to make a completely JavaScript implementation
    of it and /try/ to be fully binary compatible, as much as possible. If
    not, coming up with a still compatible way to handle SBL2SMB and
    SMB2SBL likewise.

    Yes, the overhaul is a re-write in JS.

    Even better. :D
    Any work started on it yet, or is it still new and untethered thus far?

    I'm considerably far along actually. I'll put it in CVS and you can take a look-see.

    digital man

    Synchronet "Real Fact" #57:
    The last version of Synchronet to run on MS-DOS and OS/2 was v2.30c (1999). Norco, CA WX: 78.2øF, 50.0% humidity, 11 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Mon Jul 13 23:52:50 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Mon Jul 13 2015 07:52 pm

    SBL is getting a full overhaul.

    Heh, it definitely needs it. In fact it's actually on my list of
    mods I'm planning to work on to make a completely JavaScript
    implementation of it and /try/ to be fully binary compatible, as
    much as possible. If not, coming up with a still compatible way to
    handle SBL2SMB and SMB2SBL likewise.

    Yes, the overhaul is a re-write in JS.

    Even better. :D
    Any work started on it yet, or is it still new and untethered thus
    far?

    I'm considerably far along actually. I'll put it in CVS and you can take a look-see.

    Awesome. I've come quite a ways from when I first started. But I have a lot of programming experience prior, just never did JavaScript. Synchronet literally has been my gateway into JavaScript for once. My first mod is actually going to be releasing this week, which people have been showing interest in after seeing it. hehe

    )))[Psi-Jack -//- Decker]

    ... Renegade Tagline!! We're tired of Being Kidnapped!!! REBEL!!!!!

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Tue Jul 14 19:21:51 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Digital Man to Psi-Jack on Mon Jul 13 2015 07:52 pm

    Heh, it definitely needs it. In fact it's actually on my list of
    mods I'm planning to work on to make a completely JavaScript
    implementation of it and /try/ to be fully binary compatible, as
    much as possible. If not, coming up with a still compatible way to
    handle SBL2SMB and SMB2SBL likewise.

    Yes, the overhaul is a re-write in JS.

    Even better. :D
    Any work started on it yet, or is it still new and untethered thus
    far?

    I'm considerably far along actually. I'll put it in CVS and you can take a look-see.

    Awesome. Where? LOL
    I'll gladly take a look, and if you have any specific set goals in mind, or any hard limits in mind, let me know. With my recent mod, I've gotten a fairly extensive self-made set of classes I wrote and use to handle things, and I'm looking to also extend it further to handle more things as I'm finding them useful.

    My lightbar-driven New Scan Config is only the first step of my progress. Hopefully I can get Deuce back on board or something, to finish up the basic newuser.js to help fully customise new user creation. My goals there are big and very custom in mind.

    )))[Psi-Jack -//- Decker]

    ... Rugby is played by men with odd-shaped balls!!

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Mro@VERT/BBSESINF to Psi-Jack on Tue Jul 14 21:39:15 2015
    Re: Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to Digital Man on Tue Jul 14 2015 07:21 pm

    My lightbar-driven New Scan Config is only the first step of my progress. Hopefully I can get Deuce back on board or something, to finish up the
    basic newuser.js to help fully customise new user creation. My goals there are big and very custom in mind.



    what do you mean about newuser.js? it's pretty cut and dried stuff.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From echicken@VERT/ECBBS to Psi-Jack on Fri Aug 21 12:34:10 2015
    Re: JavaScript for Files /in/ Directory?
    By: Psi-Jack to All on Thu Jul 09 2015 19:00:04

    I see javascript classes for each library, and directory itself, but I do not see any classes for actual files/details within the actual directory.

    Is there any way to actually get that information, as one thing I would like to do is completely customize the file listings themselves. Preferring, of course, not to have to use JavaScript to try to parse the database files directly.

    I recently committed exec/load/filedir.js to the CVS, which will take care of this for you.

    Create an instance of FileDir like so:

    var fd = new FileDir(file_area.dir["dirname"]);

    Access the file list like so (or however you prefer):

    for(var f = 0; f < fd.files.length; f++) {
    // Each element is an instance of DirFile
    // This will show you what properties are available
    write(JSON.stringify(fd.files[f]));
    }

    This is read-only for now. I may add in some options to edit details / move / copy / delete files at some point, or not.

    There's also a lightbar file lister at exec/load/filearea-lb.js which does the basics (browsing, upload, download, batch tagging & downloads), and has a few simple customization options near the top of the script. (Or just use FileDir to make your own lister.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Psi-Jack@VERT/DECKHEVN to echicken on Sat Feb 6 22:28:15 2106
    Re: JavaScript for Files /in/ Directory?
    By: echicken to Psi-Jack on Fri Aug 21 2015 12:34 pm

    I see javascript classes for each library, and directory itself, but
    I do not see any classes for actual files/details within the actual directory.
    Is there any way to actually get that information, as one thing I
    would like to do is completely customize the file listings
    themselves. Preferring, of course, not to have to use JavaScript to
    try to parse the database files directly.

    I recently committed exec/load/filedir.js to the CVS, which will take care of this for you.

    Create an instance of FileDir like so:

    Very awesome. I will be checking this out when I have some spare time to look into this. But, sounds pretty useful and I'll definitely be putting some rounds into it :)

    )))[Psi-Jack -//- Decker]

    ... Power corrupts. Absolute power is kinda neat, though.

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com