Skip to content
Snippets Groups Projects
  1. Aug 04, 2024
    • Rob Swindell's avatar
      Make the [BBS] MaxSessionInactivity 10m (not 0), when not set in sbbs.ini · df37d564
      Rob Swindell authored
      We've had this value as the default in sbbs.ini for a while now, so should be
      safe to use as the upgrading-sysop (who wouldn't have this value in their
      sbbs.ini file, most likely) setting.
      
      Not all default sbbs.ini values are true "defaults" (meaning, if they don't
      exist in the file, then same value would be used) - but we should do an audit
      and correct those mismatches at some point.
      df37d564
  2. Jul 23, 2024
  3. Jul 22, 2024
  4. Jul 21, 2024
  5. Jul 20, 2024
  6. Jul 17, 2024
    • Rob Swindell's avatar
      Allow time format to be set via modopts.ini [logonlist] time_fmt · bc10c82c
      Rob Swindell authored
      ... in strftime format (https://cplusplus.com/reference/ctime/strftime/)
      
      If you (sysop) have last_few_callers_fmt set to a custom value in your
      modopts.ini, you'll need to update that format as a result of this change:
      the number and type of arguments have now changed: instead of the logon
      time be passed as hours and minutes (integers), it's now passed as a single
      a string. That string is the result of a call to strftime() with the time_fmt
      or (by default), "%H:%M".
      
      This change was made to accommodate request by NeoArata (THEREALM)
      bc10c82c
  7. Jul 16, 2024
  8. Jul 12, 2024
  9. Jul 11, 2024
  10. Jul 10, 2024
  11. Jul 02, 2024
  12. Jun 30, 2024
  13. Jun 29, 2024
  14. Jun 27, 2024
  15. Jun 25, 2024
  16. Jun 23, 2024
  17. Jun 21, 2024
    • Rob Swindell's avatar
      Fix new small memory leak (no need to use strdup here) · 726a0852
      Rob Swindell authored
      Fix CID 497098
      726a0852
    • Rob Swindell's avatar
      Fix getnodedat() error handling and usage · e7642321
      Rob Swindell authored
      If a file descriptor is passed to getnodedat() and the lock retry counter was
      reached, the file would be closed, but the passed file descriptor reference
      would not be set to -1. This could result in exceptions (from subsequent read
      attempts on the referenced file descriptor) in cases where the node.dab could
      not be locked or read by getnodedat() and was thus closed.
      
      The set/get_node_* helper functions (used by MQTT) were not initializing the
      node.dab file descriptor (i.e. to -1), so it's possible getnodedat() could
      try to read from and close an invalid/wrong open file descriptor. If the local
      variable happened to be initialized to a value <= 0, then, no problem, but
      this is undefined behavior (UB).
      e7642321
    • Rob Swindell's avatar
      Add new "Search Pending Files" operation · 6d7b60d0
      Rob Swindell authored
      Sort of the opposite of the "Offline Files" search, find files copied into
      the directory storage paths but not yet added to the filebase, with a
      "Add File..." option (and tagging support) along with DELete files option.
      
      Auto-ignore listing files (e.g. FILES.BBS, etc.) when searchign for new
      files to add to a directory's filebase.
      
      If an argument is passed to fileman.js, use that as the UIFC mode (for testing
      purposes only).
      
      Fix case-sensitive file compares (on *nix OSes) when adding files (now
      case-insensitive).
      
      Fix issue with get file paths for files not yet in a filebase (using
      FileBath.get_path unnecessarily).
      
      Display virtual paths to files in many place, when available (> SBBS v3.19).
      6d7b60d0
    • Rob Swindell's avatar
      Use the new uifc_t.restore() method when decrementing the save_num · 16525f87
      Rob Swindell authored
      This is the proper way to manually-restore the most recently saved
      window (via the WIN_SAV mode flag to the list() method).
      
      I wanted something that was backward comaptible with earlier builds
      of SBBS, so just doing a magic thing when decrementing the save_num
      rather than adding a new method seemed the seamless way to do it.
      16525f87
Loading