• exec/filearea-lb.js

    From echicken@VERT to CVS commit on Thursday, August 20, 2015 09:21:35
    exec filearea-lb.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4924

    Added Files:
    filearea-lb.js
    Log Message:
    Lightbar filearea browser
    - Browse file libraries & directories
    - View extended info & stats for a given file
    - Single or batch downloads
    - Upload a file (with sufficient access)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Saturday, March 10, 2018 12:23:07
    exec filearea-lb.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12685

    Modified Files:
    filearea-lb.js
    Log Message:
    Added a V command to the file directory list to allow viewing a file. This is done by reading ctrl/file.cnf (based on the read_file_config function in src/sbbs3/scfglib2.c), matching the filename extension in the list, and if found, it runs the file view command using bbs.exec().

    If possible, it would be useful to add the ability for sysops to move and delete files from this file lister (as in the stock file lister), but I'm not sure how feasable that would be right now.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to CVS commit on Saturday, March 10, 2018 13:20:36
    Re: exec/filearea-lb.js
    By: nightfox to CVS commit on Sat Mar 10 2018 12:23 pm

    exec filearea-lb.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12685

    Modified Files:
    filearea-lb.js
    Log Message:
    Added a V command to the file directory list to allow viewing a file. This is done by reading ctrl/file.cnf (based on the read_file_config function in src/sbbs3/scfglib2.c), matching the filename extension in the list, and if found, it runs the file view command using bbs.exec().

    Forgot to mention, I also added a command-line parameter to specify an internal directory code so this script can optionally start up listing files in a directory rather than from the file library chooser. That way, it can be added to a command shell's file menu for listing files in the current directory.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Saturday, March 10, 2018 16:30:37
    exec filearea-lb.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9481

    Modified Files:
    filearea-lb.js
    Log Message:
    The main function now updates bbs.node_action to NODE_LFIL to indicate that the user is listing files. bbs.node_action is restored to the previous value upon exit of the main function.
    Also I forgot to mention in my last commit that I added an optional command-line argument to specify a file directory internal code so that this script can (optionally) start at the file list for a file directory rather than the file group chooser. This allows a command shell to run this script for the 'List files in directory' command (with bbs.curdir_code as the first argument).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Saturday, March 10, 2018 17:24:50
    exec filearea-lb.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv29403

    Modified Files:
    filearea-lb.js
    Log Message:
    Made use of cnflib.js to load file.cnf to get the viewable file types information. This requires the latest cnflib.js (and cnfdefs.js) in the load directory. Also, in the file listing, changed the info command from Enter to I. This saves a little space on the help bar at the bottom, and I think it's more consistent with using letters for the other commands. (I also wanted to be able to use the enter key for something else, which I might do as my own custom mod on my BBS, as I make it look & work more like my Baja file lister mod.)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Saturday, March 10, 2018 17:57:28
    exec filearea-lb.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv834

    Modified Files:
    filearea-lb.js
    Log Message:
    Fixed a typo in one of the comments


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 16, 2023 18:05:33
    https://gitlab.synchro.net/main/sbbs/-/commit/38962e8acd16cbadc39b6ee1
    Modified Files:
    exec/filearea-lb.js
    Log Message:
    Merge branch 'eugeneso/filearealb' into 'master'

    Migrate filearea-lb.js to use FileBase

    See merge request main/sbbs!240

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eugene So@VERT to Git commit to main/sbbs/master on Monday, January 16, 2023 18:05:33
    https://gitlab.synchro.net/main/sbbs/-/commit/85239c308ad96e149b2d98b7
    Modified Files:
    exec/filearea-lb.js
    Log Message:
    Migrate filearea-lb.js to use FileBase

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