• src/sbbs3/listfile.cpp

    From rswindell@1:103/705 to CVS commit on Mon Jul 23 15:41:09 2018
    src/sbbs3 listfile.cpp 1.61 1.62
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    listfile.cpp
    Log Message:
    Fix bug introduced in rev 1.60: when searching for a file and a single file matches the search spec, the 'D' batch-flagging command would invoke the downloadfile() method which confusingly, doesn't actually download (send)
    the file, but instead performs all the post-download functions needed. So
    the user would just see "<filename> sent." and possibly lose some credits without actually receiving the file.


    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Sep 6 00:43:45 2020
    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 tooThis is a "forever bug". I guess at one time I stored each file's extendeddescription in a separate file? I don't know, but this remove() call isclearly wrong.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 promptsTo match the Remove file command sequence (for consistency).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 descriptionsThis
    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).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 userSave 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).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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). --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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. --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 promptIt'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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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-opsFix issue reported by Jay Crutti.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 removedThis is the likely cause of Phil's reported errors when removing files:access=-110 info=smb_removefile name not foundThe 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>
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 bitUse 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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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)
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 listingsIf 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).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (in GitKraken)@1:103/705 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() functionEliminate some copy/pasta.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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 multiplecursor-left sequences, if necessary.Ideally this sequence would be part of the text.dat string instead
    ofhard-coded here.This fixes issue #561
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon Dec 25 23:57:47 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9bd53602a57953c9d07ac990
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Another miss in the metadata -> auxdata renaming
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 10 14:52:39 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e63a96c738ecc903b53c6b32
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Removing files via batch flag prompt, don't try to remove cdt for free files --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Mon Mar 11 22:08:55 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/21138cb29309557946dea460
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Actually use the new FREE text.dat string in file listings
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 17 00:34:50 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/00a300a10a8291c98831b4bc
    Modified Files:
    src/sbbs3/listfile.cpp
    Log Message:
    Resolve a couple GCC warnings of impossible conditions
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)