Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 18 Apr, 2021 3 commits
    • Rob Swindell's avatar
      Disable ChangeDir functionality of SaveDialog · 67864917
      Rob Swindell authored
      This would cause all relative file paths to fail after exporting
      settings to .ini file in another directory. Long time bug.
      67864917
    • Rob Swindell's avatar
      Ignore more C++Builder artifact files. · 30020a17
      Rob Swindell authored
      30020a17
    • Rob Swindell's avatar
      Update sound (WAV) file play-on-event support in Windows build · f26a82b0
      Rob Swindell authored
      A "hack attempt" sound file is now supported in the Terminal Server, Mail Server,  and Services.
      
      "login" and "logoff" sound files are now supported in the Terminal Server, FTP Server, Web Server, Mail Server, and Services.
      This enhancement fixes Issue #157
      
      The following sound files may now be configured in the [Global] section of the ctrl/sbbs.ini file, if desired to set the default sound files for all servers/services in on place:
      - AnswerSound
      - LoginSound
      - LogoutSound
      - HangupSound
      - HackAttemptSound
      f26a82b0
  2. 17 Apr, 2021 16 commits
  3. 16 Apr, 2021 3 commits
  4. 15 Apr, 2021 1 commit
  5. 14 Apr, 2021 3 commits
    • Rob Swindell's avatar
      Refactor putuserrec() · 7db3b623
      Rob Swindell authored
      This started with a Coverity issue (CID 33230) which got me looking at this function and wondering: why is str2 being NUL-terminated here? Why is the length of str2 to be calculated on successive lines? What is with this (long)((long)((long)((long)) typecast?
      
      This was some of the oldest code in Synchronet (along with a lot of the other functions in this file). I tried to keep as much intact as possible while still improving the logic and readability.
      7db3b623
    • Rob Swindell's avatar
      Add/use P_REMOTE print-mode flag to bputs() · 12fde4ab
      Rob Swindell authored
      Do nothing if online != ON_REMOTE. Eliminates some if(online == ON_REMOTE) clauses.
      12fde4ab
    • Rob Swindell's avatar
      Debug the "thread_back field missing" error · 908618c8
      Rob Swindell authored
      Some QWKnet vote messages are failing:
      evnt unpackREP <ENSEMBLE> !ERROR 2 (No such file or directory) in qwk.cpp line 1146 (qwk_vote) writing "/sbbs/data/subs/dove-gen" access=-105 info=smb_addvote thread_back field missing
      
      Catch this problem a little higher up (in votemsg()) and log the message's reply-IDs to help determine what's the root-cause here. Don't bother calling smb_addvote() if thread_back is 0.
      908618c8
  6. 13 Apr, 2021 6 commits
  7. 12 Apr, 2021 8 commits