• src/sbbs3/listfile.cpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Apr 24 00:28:03 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/81e759b6bbdebbddfd983368
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Reverse the order of the Delete File and Remove Credits prompts

    To match the Remove file command sequence (for consistency).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Apr 24 00:59:46 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/02ca431ee364dc555b9dc01a
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Resolve gcc warning

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 25 01:05:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/7ec8bd2dae5fe53c83ab03aa
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    The 'T' command key at the batch flag now toggle extended file descriptions

    This is pretty convenient and handy (rather than having to use &E or the equivalent command from the file xfer menu and then re-list files).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 25 19:36:21 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/c169ed2b22fadbfd445eed9a
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Don't display batch flag with same color as description.

    Display the batch flag letter with the same color as the filename, but inverted intensity. The batch flag shouldn't stand-out (be bright) anyway, but the main reason is because I'm changing the default file description attribute to be lightgray instead of dark green.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Apr 26 22:34:45 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/fbbdb154bfb24bcebd218d08
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    When toggling extended file descriptions with the 'T' command, save user

    Save the user's "misc" flags to the userbase when they use the 'T' command from the batch flagging prompt. Without this change, the option would automatically revert if/when the user record was re-read (which can happen at any time).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Apr 28 00:51:57 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/532355425a6a70596eac7efa
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Search of word in descriptions should match filenames too.

    Especially now that now all files even have descriptions (e.g. when super long filenames suffice).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon May 3 00:33:29 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e5e5c1efe7930443ac56b751
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Previous file support from the [R]emove and [D]ownload commands.

    More support for moving backwards through file searches/listing types.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu May 6 22:51:59 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/a9214ac450a5a8d71daa8494
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Change CRLF before batch flag prompt to a conditional new-line.

    If a sysop wants a *blank* line before the batch flag prompt, they can put that (or a conditional blank line, even better) in their text.dat (BatchFlagPrompt). For now, I'm thinking no blank line before the prompt is better use of the screen.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat May 8 15:23:02 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/fd649bf8c381fa6d7d4394b6
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Make it a conditional *blank* line before the batch flag prompt

    It's very tricky to defeat the auto-pause to have your own custom prompt at rows-1. So going back to having a blank line before the batch prompt.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat May 15 20:51:09 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/cdedcb5a2eab52a861108026
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Use correct string for file path when removing file for non dir-ops

    Fix issue reported by Jay Crutti.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat May 15 23:09:56 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/caed3600410b1a8a74a68c95
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Simplify the file remove/delete logic here.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun May 16 16:47:09 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/be0c953e10cb6d3485093400
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Don't attempt to remove files that have already been removed

    This is the likely cause of Phil's reported errors when removing files: access=-110 info=smb_removefile name not found

    The only way I was able to reproduce these errors was to attempt to remove the same file multiple times in the same file listing. In other worse, use 'R', remove a file, then 'P'revious back to the first file and try to remove it again. Or to remove it a file from the batch flag prompt and then attempt to remove it again. <shrug>

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun May 30 02:38:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/df49b43613693fd8b710972c
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Beautify the file list files (e.g. NEWFILES.TXT) a bit

    Use the file size estimates rather than actual byte values (to keep lines < 80 chars).
    Use file name file summary/description is blank or doesn't exist.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun May 30 21:52:57 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/9fcce522c52d7972f15b9fc8
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Create (export to text) file lists faster

    - Don't read/load extended descriptions
    - Don't query each file size (use file cost from database)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Jan 12 19:11:24 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/618d552ae197521a58c99d2d
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Search file's tags, author, and author's group (if available)

    When searching descriptions for text, include these new metadata fields in the content to search.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Jan 18 01:16:22 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/6d6925b38c6db748cf66101a
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Don't display "blank" extended description in listings

    If an extended description contains nothing but Ctrl-A codes and white-space, don't display it in a file listing (in place of the normal short description).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Mar 13 23:33:54 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/f7489c8917e1e3f1824c23df
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Save the node status (with "downloading" action value)

    More immediately. I wanted to debug the ETA value here and the action wasn't written to the node file here, but later.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Thu Mar 2 18:56:50 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/345bd83b12796f61b60dd2ea
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Use the new putnode_downloading() function

    Eliminate some copy/pasta.

    ---
    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 May 5 19:55:33 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/957a1d7ff51d93b5ded4a267
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Use '[' Ctrl-A code to move cursor to first column, not a bare '\r'

    A bare '\r' doesn't move the cursor to the first column in PETSCII terminals. The '[' Ctrl-A code moves the cursor to the first column with multiple cursor-left sequences, if necessary.

    Ideally this sequence would be part of the text.dat string instead of hard-coded here.

    This fixes issue #561

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