Skip to content
Snippets Groups Projects
  1. Nov 21, 2020
  2. Nov 20, 2020
    • Deucе's avatar
      Make parallel make work for sbbs. · c03fc810
      Deucе authored
      This requires anything that includes sbbs.h to have cryptlib and
      mozjs already built/isntalled... to track this, I've added the new
      extdeps.mk file.
      
      This is pretty terrible though... not sure how important that
      dependency really is.
      c03fc810
    • Rob Swindell's avatar
      MS Outlook can place names of to/from users in single-quotes · ee7ff743
      Rob Swindell authored
      Parse single-quoted "name" portion of email-addr header fields. I don't think this is going to fully solve the issue with FTN netmail gated to SMTP and replied via Outlook, but it's a start. Try that Nelgin.
      ee7ff743
    • Deucе's avatar
      Add dependency on JS for everything that includes sbbs.h · d0ee0fa7
      Deucе authored
      This is because it includes js_version.h if JAVASCRIPT is defined,
      and JAVASCRIPT is defined for everything using CFLAGS.
      
      It may be worth re-working the JAVASCRIPT define, but that's a bunch
      of extra work.
      
      This is the first (and easiest) step in getting parallel builds
      working.
      d0ee0fa7
  3. Nov 19, 2020
  4. Nov 18, 2020
    • Stephen Hurd's avatar
      Allow more than 256 pre-defined properties in a built-in JS object. · 71adbb68
      Stephen Hurd authored
      Previously, properties were only supported via the TinyID mechanism
      in the JS API.  This limited the properties to have a unique signed
      8-bit integer ID, which prevented more than 256 properties from
      existing in a built-in object.
      
      The id value can be a name however, a TinyID is not required.  For
      property descriptions with an ID outside the range of 8 bits, define
      them using just the name.  When this is done, the getter and setter
      functions will need to convert the names to an ID themself.
      
      This isn't ideal... ideally, each would have a unique getter and
      setter, but doing it this way puts of requiring an internal JS API
      refactor and allows the CryptCert class to have all the defined
      properties.
      
      As implied... CryptCert now supports all properties, and JS Docs
      will be created for them.  This section is yuge!
      71adbb68
    • Deucе's avatar
      e089564a
    • Deucе's avatar
      Fix previous commit. · a32b5ade
      Deucе authored
      Copy/paste without the update required a single character to have
      seven different values... which is unlikely to actually happen.
      a32b5ade
    • Deucе's avatar
      Eliminate crash in js.on_exit() · 02a7a84b
      Deucе authored
      Have js.on_exit() throw an exciption with a useful(?) error when the
      scope already has private data, and that data is not an on_exit list.
      
      This fixes #182.
      02a7a84b
    • Rob Swindell's avatar
      Don't reset line counter after executing externals. · c52acf30
      Rob Swindell authored
      This behavior was cut/pasted from xtrn_sec.js but doesn't play well with logon events (e.g. SBBSIMSG list) that should pause before a following CLS. As reported by altere on the I, the R, and the C.
      c52acf30
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      If all waiting-mail has been read, don't default to "Yes" read mail · 6144d302
      Rob Swindell authored
      Count the read mail-waiting and compare to the total mail-waiting and if they're the same, then default to "No" for the "Read Your Mail Now" prompt during logon.
      
      Also, pass the difference (the unread mail) to the LiMailWaiting logon-info line.
      
      As requested by altere via I.R.C.
      6144d302
  5. Nov 17, 2020
  6. Nov 14, 2020
    • Rob Swindell's avatar
      Restore console to "cooked" mode before daemonizing(). · 75b871a7
      Rob Swindell authored
      Previously, the console would be left in "raw" mode after invoking
      'jsexec -d <module>'.
      75b871a7
    • Rob Swindell's avatar
      More control over output streams · 6eac2079
      Rob Swindell authored
      Added options -A[filename] and -S[filename] to allow more control over which output streams go where (for mlong and his troubles with running ircd via systemd).
      
      -A controls "all messages" either sending all to stdout or the specified filename. This override the automatic suppression of the console output stream when run without a controlling TTY.
      
      -S controls "status message" (includes non-error level log messages), either sending the status messages to stdout or the specified filename. This also overrides the automatic suppression of the console output stream when run without a controlling TTY.
      6eac2079
  7. Nov 13, 2020
    • Rob Swindell's avatar
      JS File.iniGetObject() and .iniGetAllObjects() now support blank strings · 6d6451c8
      Rob Swindell authored
      If an .ini file is read by either the iniGetObject() or iniGetAllObjects() methods and contains a key with a blank value, that property would be created with an "undefined" value.
      
      Both the iniGetObject() and iniGetAllObjects() methods now accept an additional Boolean argument (which defaults to false), to specify that "blanks" are acceptable. When the "blanks" argument is true, then keys with empty values in the .ini file are created as properties with empty string values (length of 0).
      
      This is going to be useful for modopts.js to read potentially-blank strings from modopts.ini and differentiate between a blank string key and a missing key.
      6d6451c8
    • Rob Swindell's avatar
      Add timestamp of node.log file to crash.log · 8b4363c2
      Rob Swindell authored
      When a preexisting node.log file is found, a terminal server crash is suspected. Include the timestamp of the node.log in the message appended to the system log (data/logs/*.log) to help identify the likely time of the crash.
      8b4363c2
  8. Nov 12, 2020
    • Rob Swindell's avatar
      Clarify in the help text that first directory is cloned... · d37bd8c8
      Rob Swindell authored
      when there is no "template directory" selected/configured.
      d37bd8c8
    • Rob Swindell's avatar
      Reduce unnecessary posted-to username searches. Auto-UTF8 in savemsg(). · 1060bd21
      Rob Swindell authored
      When posting to "All" or replying to a message that was posted by networked (not local) user, don't attempt to search for that username in the local user base to inform them of the posted message to them.
      
      savemsg() is the underlying C function for saving a new message (mail or post) to a message base from several places, including JS modules. If there was no "charset" specified in the passed message header, check to see if the message body text is non-ASCII but valid UTF-8, and if it is, set the FIDO_CHARSET header field to the appropriate UTF-8 charset identifier string. This would *also* address Issue #177 reported by Michael J. Ryan. It's possible, but unlikely, that a message text would contain valid CP437 that *also* happened to be valid UTF-8. If that does happen to occur (e.g. in posted ANSI art?), we might want to revert this enhancement to savemsg() and leave to the caller's to detect/specify the charset, always.
      1060bd21
  9. Nov 11, 2020
  10. Nov 08, 2020
  11. Nov 07, 2020
    • Rob Swindell's avatar
      00b89b88
    • Rob Swindell's avatar
      Store client terminal information in node#/terminal.ini · c1637082
      Rob Swindell authored
      In preparation for node-spy applications that can support multiple terminal sizes/types (none exist yet). The file is updated whenever there is new/updated information about the client's terminal.
      
      Exposed as JS method: console.term_updated().
      c1637082
    • Rob Swindell's avatar
      Fix sendmail bug introduced in 48fada56. · 77d0a2e1
      Rob Swindell authored
      The "MAIL FROM" command argument must always be enclosed in angle-brackets. Some mail servers (e.g. gmail, aol) would reject messages not delivered in this manner, e.g.:
      mx-aol.mail.gm0.yahoodns.net replied with:
      "501 Syntax error in parameters or arguments tnmpmscs"
      instead of the expected reply:
      "250 ..."
      gmail-smtp-in.l.google.com replied with:
      "555 5.5.2 Syntax error. o6si11103060plk.317 - gsmtp"
      instead of the expected reply:
      "250 ..."
      77d0a2e1
  12. Nov 06, 2020
    • Rob Swindell's avatar
      Replace ctype.h function calls with new MSVC-safe XPDEV macros · ec20d959
      Rob Swindell authored
      I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values.
      
      This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service).
      
      The new macros names are bit more descriptive as well.
      ec20d959
  13. Nov 05, 2020
Loading