• Access to the Upload/Download Batch List from Javascript

    From High Spirit@VERT/DCBBS to All on Fri Jan 5 12:29:40 2018
    Is there any way of reading/writing the Upload/Download Queues from withinãJavascript? (eg: Synchronet C variables: batdn_total, batdn_dir, batdn_cdt,ãbatdn_alt, batdn_size, batdn_offset). I am trying to customize my own batchãfile menu but it looks as though the queue is only stored in memory until theãdownload is initiated. ããI am currently using the bbs.batch_add_list() command to add files to theãdownload queue but it searches each file area for the filenames provided and Iãcan forsee an issue if there are more than 1 file with the same name inãdifferent areas. A Javascript command straight to the C Source functionãaddotbatdl() would be great as it checks all the user limits, requirements, etcãbefore adding the file to the queue without searching the file areas.ãã-- High Spirit Digital Realms Main - connect.digitalrealms.net 23ã Digital Realms C=64 - connect.digitalrealms.net 6400ãã---ã þ Synchronet þ Digital Creation BBS -- bbs.digitalcreationbbs.com:23ã
  • From Digital Man@VERT to High Spirit on Fri Jan 5 10:58:19 2018
    Re: Access to the Upload/Download Batch List from Javascriptã By: High Spirit to All on Fri Jan 05 2018 12:29 pmãã > Is there any way of reading/writing the Upload/Download Queues from withinã > Javascript? (eg: Synchronet C variables: batdn_total, batdn_dir, batdn_cdt,ã > batdn_alt, batdn_size, batdn_offset).ããSorry, they are not.ãã > I am trying to customize my own batchã > file menu but it looks as though the queue is only stored in memory untilã > the download is initiated.ã >ã > I am currently using the bbs.batch_add_list() command to add files to theã > download queue but it searches each file area for the filenames provided andã > I can forsee an issue if there are more than 1 file with the same name inã > different areas. A Javascript command straight to the C Source functionã > addotbatdl() would be great as it checks all the user limits, requirements,ã > etc before adding the file to the queue without searching the file areas.ããI'll add it to the todo list. addtobatdl() requires a pre-filled file_t as anãargument and I don't have any JS-methods to create or operate on file_t's. Soãit's a little more involved than just putting a JS wrapper around addtobatdl().ãã digital manããThis Is Spinal Tap quote #35:ãJeanine Pettibone: You don't do heavy metal in Dubly, you know.ãNorco, CA WX: 69.9øF, 55.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From High Spirit@VERT/DCBBS to Digital Man on Sat Jan 6 15:20:20 2018
    Re: RE: Access to the Upload/Download Batch List from Javascriptã By: Digital Man to High Spirit on Fri Jan 05 2018 10:58 amãã >> Is there any way of reading/writing the Upload/Download Queues fromã >> within Javascript? (eg: Synchronet C variables: batdn_total,ã >> batdn_dir, batdn_cdt, batdn_alt, batdn_size, batdn_offset).ãã DM> Sorry, they are not.ããAny chance they could be accessable in the future?ãã DM> I'll add it to the todo list. addtobatdl() requires a pre-filled file_t asã DM> an argument and I don't have any JS-methods to create or operate onã DM> file_t's. So it's a little more involved than just putting a JS wrapperã DM> around addtobatdl(). ããSounds good. I will work around it for the time being. :)ãã-- High Spirit Digital Realms Main - connect.digitalrealms.net 23ã Digital Realms C=64 - connect.digitalrealms.net 6400ãã---ã þ Synchronet þ Digital Creation BBS -- bbs.digitalcreationbbs.com:23ã
  • From Digital Man@VERT to High Spirit on Sat Jan 6 15:10:04 2018
    Re: RE: Access to the Upload/Download Batch List from Javascriptã By: High Spirit to Digital Man on Sat Jan 06 2018 03:20 pmãã > Re: RE: Access to the Upload/Download Batch List from Javascriptã > By: Digital Man to High Spirit on Fri Jan 05 2018 10:58 amã >ã > >> Is there any way of reading/writing the Upload/Download Queues fromã > >> within Javascript? (eg: Synchronet C variables: batdn_total,ã > >> batdn_dir, batdn_cdt, batdn_alt, batdn_size, batdn_offset).ã >ã > DM> Sorry, they are not.ã >ã > Any chance they could be accessable in the future?ããMaybe. I the batch management via JS a lot of thought.ãã > DM> I'll add it to the todo list. addtobatdl() requires a pre-filled file_tã > DM> as an argument and I don't have any JS-methods to create or operate onã > DM> file_t's. So it's a little more involved than just putting a JS wrapperã > DM> around addtobatdl().ã >ã > Sounds good. I will work around it for the time being. :)ããOkay. It's on the todo list now at least.ãã digital manããThis Is Spinal Tap quote #22:ãDavid St. Hubbins: Here lies David St. Hubbins... and why not?ãNorco, CA WX: 68.2øF, 63.0% humidity, 8 mph NE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From High Spirit@VERT/DCBBS to Digital Man on Sat Jan 6 22:54:07 2018
    Re: RE: Access to the Upload/Download Batch List from Javascriptã By: Digital Man to High Spirit on Sat Jan 06 2018 03:10 pmãã is> Maybe. I the batch management via JS a lot of thought.ããUnderstood. ;) ããHaving a Javascript engine in Synchronet is amazing to have. Bringing newãtechnology (Javascript) to the old technology (BBS's). I see things moving overãto JS (BBSLIST) and hope things continue in that direction in the future. Wouldãbe nice to have everything accessable via JS, but I know it takes time,ãpatience and a reason with a need to move it over. ãã-- High Spirit Digital Realms Main - connect.digitalrealms.net 23ã Digital Realms C=64 - connect.digitalrealms.net 6400ãã---ã þ Synchronet þ Digital Creation BBS -- bbs.digitalcreationbbs.com:23ã
  • From Digital Man@VERT to High Spirit on Sun Jan 7 00:27:22 2018
    Re: RE: Access to the Upload/Download Batch List from Javascriptã By: High Spirit to Digital Man on Sat Jan 06 2018 10:54 pmãã > Re: RE: Access to the Upload/Download Batch List from Javascriptã > By: Digital Man to High Spirit on Sat Jan 06 2018 03:10 pmã >ã > is> Maybe. I the batch management via JS a lot of thought.ã >ã > Understood. ;)ã >ã > Having a Javascript engine in Synchronet is amazing to have. Bringing newã > technology (Javascript) to the old technology (BBS's). I see things movingã > over to JS (BBSLIST) and hope things continue in that direction in theã > future. Would be nice to have everything accessable via JS, but I know itã > takes time, patience and a reason with a need to move it over.ããRight. If it were written from scratch with the embedded JS engine, much moreãwould already be scripted/scriptable. It's a work in progress. :-)ãã digital manããSynchronet "Real Fact" #24:ã1584 Synchronet BBS Software registrations were sold between 1992 and 1996.ãNorco, CA WX: 58.3øF, 87.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã