Skip to content
Snippets Groups Projects
  1. Aug 08, 2020
    • rswindell's avatar
      Allow timed event failure msg log-level to be configured (defaults: LOG_ERR). · cb22c743
      rswindell authored
      Some other timed event related configuration text/help fixes/beautification too.
      cb22c743
    • rswindell's avatar
    • rswindell's avatar
      *lower* log-levels are more severe. · f06d2522
      rswindell authored
      f06d2522
    • rswindell's avatar
      The problem: the sysop (me) is not notified of critical errors (e.g.... · 741cf7e3
      rswindell authored
      The problem: the sysop (me) is not notified of critical errors (e.g. synchro.net 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
      741cf7e3
    • rswindell's avatar
      errorlog() function signature was changed. · d7d8eb70
      rswindell authored
      d7d8eb70
    • 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. synchro.net 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?
      5899a303
    • 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.
      adb32fb4
  2. Aug 05, 2020
  3. Aug 04, 2020
  4. Aug 03, 2020
  5. Aug 02, 2020
    • 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...
      8a44af72
    • 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
      0-filled.
      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().
      049499ad
    • rswindell's avatar
  6. Aug 01, 2020
  7. Jul 29, 2020
  8. Jul 27, 2020
  9. Jul 23, 2020
  10. Jul 22, 2020
    • 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
      93f90e9e
    • 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.
      f033c3e8
  11. Jul 20, 2020
Loading