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

  1. 08 Aug, 2020 3 commits
    • rswindell's avatar
      The problem: the sysop (me) is not notified of critical errors (e.g.... · 5899a303
      rswindell authored
      The problem: the sysop (me) is not notified of critical errors (e.g. zone file problems) in a timely manner.
      Part of the solution: notify a configured user (e.g. user #1) via short-message/telegram and email/netmail logged-errors when messages of a configured severity (e.g. "Critical") are logged.
      The second part of the solution (coming next) will be allowing timed events to log a message of a configurable severity logged when the event fails (returns a non-zero error level to sbbs).
      I'm saving the error-notification-user-number and log-severity as part of the node.cnf file because:
      - that's where the validation user number is already set
      - I can conceive of a large system were certain node ranges (different instances of sbbs) might want different operators to be notified of logged-errors
      This also means I eliminated all the legacy com port/modem stuff from the end of the node.cnf file. None of that is used in sbbs v3.
      Also included in this commit are improvements around logging:
      - reduce the severity of UDP recvfrom failures in services
      - a more detailed log message when the mail server successfully delivers an email (via SMTP) - easier to answer the question: was that email you/they sent delivered successfully?
    • rswindell's avatar
    • rswindell's avatar
      Use Microsoft magic to "ignore regular line breaks in the message definition... · adb32fb4
      rswindell authored
      Use Microsoft magic to "ignore regular line breaks in the message definition text." of socket error strings on Windows:
      strips the embedded line-feeds from the socket error description.
  2. 05 Aug, 2020 1 commit
  3. 04 Aug, 2020 7 commits
  4. 03 Aug, 2020 4 commits
  5. 02 Aug, 2020 3 commits
    • rswindell's avatar
      Add support for %^ command-line specifer which expands to the system... · 8a44af72
      rswindell authored
      Add support for %^ command-line specifer which expands to the system architecture (e.g. "i686" for Win32 builds, "x64" for Linux-x86_64 builds).
      Currently, there underlying XPDEV macro definition does not differentiate
      between arm32 and arm64, but it should. Next...
    • rswindell's avatar
      Fix bug reported by WitNik (John): · 049499ad
      rswindell authored
      The msgbase 'status' header created with smb_open_sub() had all its fields
      This would cause all kinds of msgbase settings (e.g. max msgs, max age, etc.) to not propagate from their SCFG settings (for mail or sub-boards)
      to the newly-created msg base(s).
      But most importantly, it would cause the mail base to be created without the
      "EMail" attribute flag, causing the msgbase to be treated as a sub-board
      (public message area) and users could not then read their received mail.
      The root-cause was that smb_open() will zero-out the current smb.status
      value before trying to read it from the msgbase header, thus losing any
      values that were populated in there before calling smb_open(). Rather than
      change the behavior of the ancient smb_open() function, just restore the
      correct default smb.status values after calling smb_open() and before
      calling smb_create().
    • rswindell's avatar
  6. 01 Aug, 2020 9 commits
  7. 29 Jul, 2020 1 commit
  8. 27 Jul, 2020 3 commits
  9. 23 Jul, 2020 1 commit
  10. 22 Jul, 2020 2 commits
    • echicken's avatar
      Shitty hack on previous commit. · 93f90e9e
      echicken authored
      Amended HTTPRequest.follow_redirects to be a number instead of boolean.
      var h = new HTTPRequest();
      h.follow_redirects = 1; // We'll follow this many redirects
    • echicken's avatar
      For GET requests, follow 301, 302, 307, and 308 redirects to the first · f033c3e8
      echicken authored
      Location given in the response header, if present. Not enabled by
      default, so turn it on like so:
      var h = new HTTPRequest();
      h.follow_redirects = true;
      Should probably add "too many redirects" protection, since this could
      turn into an eternal game of HTTP ping-pong.
  11. 20 Jul, 2020 5 commits
  12. 19 Jul, 2020 1 commit