Skip to content
Snippets Groups Projects
  1. Feb 11, 2023
  2. Feb 10, 2023
  3. Feb 09, 2023
  4. Feb 08, 2023
  5. Feb 07, 2023
  6. Feb 06, 2023
  7. Feb 05, 2023
  8. Feb 04, 2023
    • Rob Swindell's avatar
      Insure that the max (uploaded) filename limit is in the range 8-65535 characters · 6eec2e47
      Rob Swindell authored
      Upgrading fromm v3.19 can result in a setting of filename_maxlen=0 in file.ini, so let's
      put a special check in place to insure this can't happen (thus preventing any file
      uploads). I chose '8' as a kind of arbitrary minimum maximum value (MS-DOS filenames
      maxed out at 12 characters), but at least 0 won't be possibly any longer.
      
      As reported on DOVE-Net by Codefenix and confirmed by xbit.
      6eec2e47
  9. Feb 03, 2023
    • Rob Swindell's avatar
      Move input translation (e.g. for PETSCII) to its own sbbs_t methods · f5f2a7b5
      Rob Swindell authored
      Move kbincom() to an sbbs_t method.
      
      No functional change here, just getting ready to support input translation for stdio
      external programs as an option.
      f5f2a7b5
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Fix uploader-notification, credit awards, download-counters in FTP downloads · 45b128c0
      Rob Swindell authored
      Since v3.19 (the new filebases), when a user FTP-downloaded a file, we failed
      to properly find/load that file's record from the filebase (searching for the
      file's full path, rather than just the filename), so the code the increments
      the file's download counter, notifies the uploader, awards credits, etc. did
      not ever execute. This means that FTP-downloads for all files downloaded via
      FTP were effectively "free" (and nobody noticed). No error was logged either.
      
      I discovered this while debugging the case of "(null)" filenames in the
      action/download MQTT topic messages being published by the FTP server. So
      that issue is fixed as part of this commit as well.
      
      Oh, and if this code had executed before, it would have memory-leaked the
      file information, so that's fixed too (added call to smb_freefilemem). Ugh.
      45b128c0
  10. Feb 02, 2023
  11. Jan 31, 2023
  12. Jan 30, 2023
Loading