• src/sbbs3/bat_xfer.cpp

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Feb 23 23:25:44 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/51e80cb165b7f4a1e096a172
    Modified Files:
    src/sbbs3/bat_xfer.cpp
    Log Message:
    Fix potential divide by zeroCID 330961
    --- 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 Feb 23 23:29:22 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/7e5ab9ab05d3a20fc6446e83
    Modified Files:
    src/sbbs3/bat_xfer.cpp
    Log Message:
    Just use our local C macro MAX()
    --- 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 Fri Dec 30 02:22:54 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a0ce3cd799d2a79e4f0b5e0b
    Modified Files:
    src/sbbs3/bat_xfer.cpp
    Log Message:
    Use the user's default download protocol for batch downloadsOversight probably during the new filebase overhaul in v3.19. Reported by Nelgin.
    --- SBBSecho 3.20-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/5d1d586fd74709f9cd1a9fc3
    Modified Files:
    src/sbbs3/bat_xfer.cpp
    Log Message:
    Better access enforcement to files in batch download queuesIf a file gets added to a batch download queue that a user doesn't have download-access to (at the time of batch download), deal with that gracefully and consistently.start_batch_download():- Now checks current user access to download the file in both single-file and batch modes- Now performs credit-check in single-file mode (wasn't doing so previously)- totalsize of multi-file batch download queue is now calculated again (apparently removed/broken in the new filebase conversion of v3.19), so download ETA should be calculated more accurately (?) again- Use gettimetodl() to calculate each file's download time for multi-file downloads- Using new putnode_download() method to write node downloading "action" and ETA-in-aux fields- The node status wasn't being updated at all before start of download in single-file mode - fixedcreate_batchdn_lst() :- Checks each file still downloadable by the user and if not, removes from the queue (and the generated list file).- Performs credit check and removes files that exceed available user credit- returns true only when 1 or more files is added to the batch download list fileaddtobatdl()- Removed redundant 'D' restriction check - this is handled by can_user_download() check already.- Use the 'reason' out parameter from can_user_download() to determine which error string to display (not always CantDownloadFromDir).
    --- 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 Mar 3 18:00:28 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9a79d265b21f513e06c98907
    Modified Files:
    src/sbbs3/bat_xfer.cpp
    Log Message:
    Fix missing 'autohang' argument in call to protocol()Caught by a GCC warning. --- 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 Tue Mar 5 15:37:58 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e487e3cdb5ea842006d5dd6d
    Modified Files:
    src/sbbs3/bat_xfer.cpp
    Log Message:
    Fix warning about impossible condition.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)