• src/sbbs3/listfile.cpp

    From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, September 06, 2020 00:43:45
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/a3c0f031ac017b95093a21f7
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Deleting a file's extended description would try to delete some other file too

    This is a "forever bug". I guess at one time I stored each file's extended description in a separate file? I don't know, but this remove() call is
    clearly wrong.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, April 24, 2021 00:28:03
    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 Saturday, April 24, 2021 00:59:46
    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 Sunday, April 25, 2021 01:05:52
    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 Sunday, April 25, 2021 19:36:21
    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 Monday, April 26, 2021 22:34:45
    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 Wednesday, April 28, 2021 00:51:57
    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 Monday, May 03, 2021 00:33:29
    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 Thursday, May 06, 2021 22:51:59
    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 Saturday, May 08, 2021 15:23:02
    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 Saturday, May 15, 2021 20:51:09
    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 Saturday, May 15, 2021 23:09:56
    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 Sunday, May 16, 2021 16:47:09
    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 Sunday, May 30, 2021 02:38:52
    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 Sunday, May 30, 2021 21:52:57
    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 Wednesday, January 12, 2022 19:11:24
    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 Tuesday, January 18, 2022 01:16:22
    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 Sunday, March 13, 2022 23:33:54
    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