• Re: exec/fileman.js

    From Digital Man@VERT to Ragnarok on Sun Jun 16 14:16:40 2024
    Re: Re: exec/fileman.js
    By: Ragnarok to Rob Swindell (on Debian Linux) on Sat Jun 15 2024 10:48 pm

    some ideas:

    * tag and move file to another lib
    * change another attributes.. upload time, credits..
    * edit full description (multiline)

    Yup, was planning on those.
    --
    digital man (rob)

    This Is Spinal Tap quote #7:
    Nigel Tufnel: That's just nitpicking, isn't it?
    Norco, CA WX: 82.3øF, 45.0% humidity, 9 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From poindexter FORTRAN@VERT/REALITY to Digital Man on Sun Jun 16 15:40:00 2024
    Ragnarok wrote to Rob Swindell (on Debian Linux) <=-

    El 15/6/24 a las 01:42, Rob Swindell (on Debian Linux) escribi¢:
    https://gitlab.synchro.net/main/sbbs/-/commit/aabef5821548bd33b6aae724
    Added Files:
    exec/fileman.js
    Log Message:
    New Synchronet File Manager (run using jsexec)

    This is very cool - thanks for writing this.



    --- MultiMail/Win v0.52
    þ Synchronet þ .: realitycheckbbs.org :: scientia potentia est :.
  • From Digital Man@VERT to poindexter FORTRAN on Sun Jun 16 17:46:14 2024
    Re: Re: exec/fileman.js
    By: poindexter FORTRAN to Digital Man on Sun Jun 16 2024 03:40 pm

    Ragnarok wrote to Rob Swindell (on Debian Linux) <=-

    El 15/6/24 a las 01:42, Rob Swindell (on Debian Linux) escribi¢:
    https://gitlab.synchro.net/main/sbbs/-/commit/aabef5821548bd33b6aae724 Added Files:
    exec/fileman.js
    Log Message:
    New Synchronet File Manager (run using jsexec)

    This is very cool - thanks for writing this.

    You're welcome! It'll get a lot better/more useful here soon. Still working on it.
    --
    digital man (rob)

    This Is Spinal Tap quote #2:
    Nigel Tufnel: Well, this piece is called "Lick My Love Pump".
    Norco, CA WX: 78.1øF, 55.0% humidity, 11 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Jun 17 20:38:51 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/55b6e0e05684f428a01697c8
    Modified Files:
    exec/fileman.js
    Log Message:
    Add multi-file tagging, deleting, moving

    A bunch of other improvements, cosmetic and functional (viewing archives, editing more File fields, etc.).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Digital Man on Tue Jun 18 12:42:57 2024
    Re: Re: exec/fileman.js
    By: Digital Man to poindexter FORTRAN on Sun Jun 16 2024 05:46 pm

    Re: Re: exec/fileman.js
    By: poindexter FORTRAN to Digital Man on Sun Jun 16 2024 03:40 pm

    Ragnarok wrote to Rob Swindell (on Debian Linux) <=-

    El 15/6/24 a las 01:42, Rob Swindell (on Debian Linux) escribi¢:
    https://gitlab.synchro.net/main/sbbs/-/commit/aabef5821548bd33b6aae724 Added Files:
    exec/fileman.js
    Log Message:
    New Synchronet File Manager (run using jsexec)

    This is very cool - thanks for writing this.

    You're welcome! It'll get a lot better/more useful here soon. Still working on it.

    yeah I think you're on to something here. could you please add functions to launch addfiles and delfiles and have tick boxes for the switches.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Jun 18 22:40:02 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/33a0d94be04a9c8e2962d70c
    Modified Files:
    exec/fileman.js
    Log Message:
    Add ability to add files, display/edit extended descriptions

    (yes, I know, unzip for DIZ can corrupt the TUI display when adding files)

    Add ability to display and edit extended file descriptions (including
    inserting and deleting lines.

    Fixed bug with moving files between dirs.

    F2 is now just a shortcut for renaming files, ENTER is the main edit/display option key now.

    This really requires an updated sbbs/jsexec to work fully correct (e.g. display/edit extended descriptions that contain blank lines).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to MRO on Tue Jun 18 22:46:15 2024
    Re: Re: exec/fileman.js
    By: MRO to Digital Man on Tue Jun 18 2024 12:42 pm

    yeah I think you're on to something here. could you please add functions to launch addfiles and delfiles and have tick boxes for the switches.

    addfiles and delfiles aren't designed to run in a full-screen "TUI" app like fileman.js is, so it wouldn't really result in a very nice sysop experience. you can (now) add files using fileman and you can remove files with it too, so I'm not clear why one would want to spawn those utils from within fileman.js.
    --
    digital man (rob)

    Rush quote #26:
    Too many hands on my time, too many feelings, too many things on my mind
    Norco, CA WX: 61.4øF, 85.0% humidity, 5 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Digital Man on Wed Jun 19 08:05:57 2024
    Re: Re: exec/fileman.js
    By: Digital Man to MRO on Tue Jun 18 2024 10:46 pm

    addfiles and delfiles aren't designed to run in a full-screen "TUI" app like fileman.js is, so it wouldn't really result in a very nice sysop experience. you can (now) add files using fileman and you can remove files with it too, so I'm not clear why one would want to spawn those utils from within fileman.js.

    well i just think it would be a good addition. i wouldn't want to sit and watch it run, i'd like it to spawn addfiles or delfiles in the background.

    when you say you can now add files using fileman, do you mean search and add entire directories, or just manually add one?
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Digital Man@VERT to MRO on Wed Jun 19 13:15:25 2024
    Re: Re: exec/fileman.js
    By: MRO to Digital Man on Wed Jun 19 2024 08:05 am

    when you say you can now add files using fileman, do you mean search and add entire directories, or just manually add one?

    You can add one or multiple files (using tagging) with fileman.js, though it will prompt you for the description/metadata for each file. If you want truly automated bulk file additions, just use addfiles.js instead. This Is The Way.
    --
    digital man (rob)

    Breaking Bad quote #6:
    My Name is ASAC Schrader - and you can go fuck yourself. - Hank Schrader
    Norco, CA WX: 77.5øF, 57.0% humidity, 3 mph NNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Digital Man on Wed Jun 19 17:10:26 2024
    Re: Re: exec/fileman.js
    By: Digital Man to MRO on Wed Jun 19 2024 01:15 pm

    Re: Re: exec/fileman.js
    By: MRO to Digital Man on Wed Jun 19 2024 08:05 am

    when you say you can now add files using fileman, do you mean search and add entire directories, or just manually add one?

    You can add one or multiple files (using tagging) with fileman.js, though it will prompt you for the description/metadata for each file. If you want truly automated bulk file additions, just use addfiles.js instead. This Is The Way.

    yeah but if you have a filemanager program would be nice if it spawned addfiles or delfiles in the background. of course anybody can add that feature for themself.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Nightfox@VERT/DIGDIST to MRO on Wed Jun 19 16:04:35 2024
    Re: Re: exec/fileman.js
    By: MRO to Digital Man on Wed Jun 19 2024 05:10 pm

    yeah but if you have a filemanager program would be nice if it spawned addfiles or delfiles in the background. of course anybody can add that feature for themself.

    But if that feature isn't part of the standard version of the file, you'll have to keep applying those changes every time you update that file from the Git repo.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Gamgee@VERT/PALANTIR to MRO on Wed Jun 19 20:48:00 2024
    MRO wrote to Digital Man <=-

    Re: Re: exec/fileman.js
    By: MRO to Digital Man on Wed Jun 19 2024 08:05 am

    when you say you can now add files using fileman, do you mean search and add entire directories, or just manually add one?

    You can add one or multiple files (using tagging) with fileman.js, though it will prompt you for the description/metadata for each file. If you want truly automated bulk file additions, just use addfiles.js instead. This Is The Way.

    yeah but if you have a filemanager program would be nice if it
    spawned addfiles or delfiles in the background.

    No, it wouldn't.

    of course anybody can add that feature for themself.

    Okay, so do it yourself.



    ... So easy, a child could do it. Child sold separately.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Jun 19 19:37:51 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b59da2bb375f5fe4dadba252
    Modified Files:
    exec/fileman.js
    Log Message:
    Support viewing text files, deal with LF-terminated extended descriptions

    Text files with recognized plain text file names/extensions can be viewed from within fileman now.

    Some extended descriptions may only be terminated with LF (instead of CRLF),
    so deal with those accordingly. Some auto-translation from LF to CRLF terminated
    extended description lines may occur when editing extended descriptions.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jun 21 00:26:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/fb00038446a8ab67269c38e3
    Modified Files:
    exec/fileman.js
    Log Message:
    Pass filename (instead of file-obj) to FileBase.get[_path/size/time] methods

    to work around recently-fixed bug with > 64 char filenames parsed from file-meta-objects. Although this bug was fixed in [lib]sbbs[.so|.dll] might
    as well use the backward-compatible method to set a better example that works as expected with SBBS v3.19.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jun 21 00:26:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/542995686a3afd8007aa9c22
    Modified Files:
    exec/fileman.js
    Log Message:
    Fix one remaining FileBase.get_path() call that passed file-meta-object

    (instead of file name), which would have issues in SBBS v3.19 for filenames
    64 chars in length.

    Also, remove extraneous calls to format().

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jun 21 00:26:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/6d7b60d098cb1f39395e5efb
    Modified Files:
    exec/fileman.js
    Log Message:
    Add new "Search Pending Files" operation

    Sort of the opposite of the "Offline Files" search, find files copied into
    the directory storage paths but not yet added to the filebase, with a
    "Add File..." option (and tagging support) along with DELete files option.

    Auto-ignore listing files (e.g. FILES.BBS, etc.) when searchign for new
    files to add to a directory's filebase.

    If an argument is passed to fileman.js, use that as the UIFC mode (for testing purposes only).

    Fix case-sensitive file compares (on *nix OSes) when adding files (now case-insensitive).

    Fix issue with get file paths for files not yet in a filebase (using FileBath.get_path unnecessarily).

    Display virtual paths to files in many place, when available (> SBBS v3.19).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Sep 14 14:20:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/499be18228b3799239c89d8b
    Modified Files:
    exec/fileman.js
    Log Message:
    When renaming a file (using F2 key), need to get all metadata before update

    ... otherwise, we'll erase the file's extended description or auxdata, if it has any.

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