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. 05 Aug, 2021 1 commit
  2. 01 Aug, 2021 2 commits
    • Rob Swindell's avatar
      Allow text of all guest information prompts to be overridden in modopts.ini · e7579187
      Rob Swindell authored
      By setting guest_name, guest_email, guest_location, or guest_referral to any
      truthy value, a prompt will be display. By setting it to a string (instead of
      true), that string will be displayed. I'm not sure how I feel about this kind
      of tri-state setting (true/false/string), but it does reduce the number of
      settings/options. The alternative is to have a separate boolean and string
      setting for each prompt (which I first considered).
      
      So, as of now:
      
      guest_name = false <- no prompt for Guest's name
      guest_name = "" <- no prompt for Guest's name
      guest_name = true (the default) <- default prompt text for Guest's name
      guest_name = "Enter your name, dude" <- replaces prompt text for Guest's name
      
      For enter trailing white-space and ctrl-a codes, use string literals, e.g.
      guest_name: "\x01hEnter your name, dude: "
      e7579187
    • Rob Swindell's avatar
      Guest user prompts can be disabled via modopts.ini [logon] settings · 491228fe
      Rob Swindell authored
      guest_name = false will disable name prompt
      guest_email = false will disable the email address prompt
      guest_location = false will disable the location prompt
      guest_referral = false will disable the "where'd you hear about this BBS" prompt
      
      Note, at minimum, I do recommend prompting for the guest's email address so that if they send the sysop feedback (e.g. ask a question), they at least have some hope of receiving a reply.
      491228fe
  3. 31 Jul, 2021 3 commits
  4. 12 Jul, 2021 1 commit
  5. 11 Jul, 2021 3 commits
  6. 09 Jul, 2021 1 commit
    • Rob Swindell's avatar
      Add support for optiona "approved" option to be specify moderator's email addr · ec234452
      Rob Swindell authored
      Apparently required by some news servers.
      As requested via IRC:
      <poindexter> Hi all, I've got a weird request. I'd like to post to a newsgroup that relies on automoderation. You need to add an approved: header to any posting to have it be accepted - keeps the non-techie riffraff away. is there a way to do that with newslink.js?
      ec234452
  7. 06 Jul, 2021 1 commit
  8. 05 Jul, 2021 2 commits
  9. 02 Jul, 2021 1 commit
  10. 01 Jul, 2021 2 commits
    • Rob Swindell's avatar
      Don't list messages that can't be read by user · 73d95b34
      Rob Swindell authored
      Should fix unvalidated/moderated message readability bug reported by Phil
      73d95b34
    • Rob Swindell's avatar
      Fix NULL pointer dereference in read_post_data() · f38adc13
      Rob Swindell authored
      What took down cvs/sbbs yesterday:
      Program terminated with signal SIGSEGV, Segmentation fault.
      6203                    session->req.post_data[session->req.post_len]=0;
      [Current thread is 1 (Thread 0x7f2b989ff700 (LWP 17031))]
      (gdb) print post_len
      No symbol "post_len" in current context.
      (gdb) print session->req.post_len
      $1 = 0
      (gdb) print session->req.post_data
      $2 = 0x0
      f38adc13
  11. 29 Jun, 2021 2 commits
  12. 18 Jun, 2021 7 commits
  13. 16 Jun, 2021 4 commits
  14. 15 Jun, 2021 4 commits
  15. 12 Jun, 2021 1 commit
  16. 11 Jun, 2021 2 commits
  17. 10 Jun, 2021 3 commits
    • Rob Swindell's avatar
      Standardize on "metadata" as the description of a file's "tail" dfield · 3549be9f
      Rob Swindell authored
      It's anticipated that this will be used for JS-populated file metadata in JSON format in the future (and not just "archive contents" in .ini format).
      
      Also, fix the double-free issue that was occurring when moving files with extended file descriptions (sbbs_t::movefile()). This was actually the primary problem I was fixing here, but noticed the metadata issue: metadata would not have been moved along with the other file info between bases.
      3549be9f
    • Rob Swindell's avatar
      mv() simplified for the non-copy case · 80422644
      Rob Swindell authored
      Constified function arguments. Source path is still case-insensitive, but destination is case-sensitive (hopefully that's not an issue).
      
      When a "move" (!copy) is requested, a rename() is always attempted first and if successful, job done. Otherwise, we continue on with the file-copy (and then remove).
      
      This should resolve CID 332219 (DEADCODE).
      80422644
    • Rob Swindell's avatar
      Call smb_freefilemem() instead of smb_msgmem() for files · 0c5c140e
      Rob Swindell authored
      Not that it really matters, but perhaps it'll matter in the future. And the code reads better.
      0c5c140e