1. 30 Apr, 2015 5 commits
  2. 29 Apr, 2015 5 commits
  3. 28 Apr, 2015 5 commits
  4. 27 Apr, 2015 3 commits
    • rswindell's avatar
      Enhancement at the request of Nightfox: · d57c3830
      rswindell authored
      Optionally, external modules may be executed in place of "built-in" operations
      for:
      - reading mail (email or netmail)
      - scanning posts (searching/scanning/reading a single sub-board)
      - scanning sub-boards (all, one, or a group)
      
      Each of these may be configured (in SCFG->System->Loadable Modules)
      with command-line options for a total length of up to 63 characters.
      
      Note to module programmers: each module here will be passed additional
      command-line arguments to indicate how or why the user operation was invoked.
      
      For the Reading Mail module, the 'which' value (in decimal) and the user-number
      is passed (in decimal). Usually the user-number will be the current user logged
      in, but not always (e.g. if the user is a sysop and reading other user's mail).
      The 'which' values (defined in load/sbbsdefs.js) of MAIL_YOUR, MAIL_SENT,
      and MAIL_ALL must be handled (MAIL_ANY won't be used).
      
      For the Scan Posts module, the sub-board number and scan mode (both in decimal)
      and the 'find' string (text being searched for) are passed as arguments
      (in that order). The scan mode values (defined in sbbsdefs.js) are the same as
      those supported by bbs.scan_posts(). All of the values should be supported
      and they can be combined (e.g. SCAN_CONST|SCAN_NEW
      and SCAN_NEW|SCAN_TOYOU). The 'find' string is only used if the SCAN_FIND mode
      bit is set. It is the responsibilty of the module (if configured) to enforce
      sub-board read access restrictions.
      
      For the Scan Subs module, the first argument is 1 if "all subs" are being
      scanned, 0 otherwise (normally the user is prompted for the breadth of the
      scan in this case, but that's up to the module author), and the scan 'mode' is
      passed in decimal, in that order. If the SCAN_FIND mode flag is passed in, this
      module should prompt the user for the text string to search for. If this module
      is not configured, the Scan Posts module will be executed for each sub-board
      scanned.
      
      Recursion protection was added, so it is actually possible for the Read Mail
      module, for example, to call bbs.read_mail() and it'll work, but why would you?
      
      If any of these user operations are initiated during logon, at the request of
      Baja or JavaScript module, or whatever, and if the module is actually
      configured (and not already executing to handle the operation), the module
      will be executed in-place-of the built-in functionality. Feedback welcome,
      d57c3830
    • deuce's avatar
      Fix bug in initialization of alternate fonts. There are two special values · 9efc41a7
      deuce authored
      for the four current fonts... -99 (uninitialized), and -1 (loaded font).
      
      -99 was supposed to be automagically converted to CP437, but a bug in
      revision 1.40 (Feb 27, 2015) made this not happen.  As a result, the font
      was copied from an index of -99 in the font data array.  This was garbage
      on some platforms and appears to have caused crashes in others.
      9efc41a7
    • deuce's avatar
      Reset icol on any LF, not just "hard CRs". This should fix the problems seen · 795be14e
      deuce authored
      by access_d.  Broken since v1.18 on Feb. 10th,  2015.
      795be14e
  5. 26 Apr, 2015 1 commit
  6. 25 Apr, 2015 5 commits
    • nightfox's avatar
      This is Digital Distortion Message Reader, which offers a scrollable reader... · 30888015
      nightfox authored
      This is Digital Distortion Message Reader, which offers a scrollable reader interface for ANSI users (and falls back to a traditional interface for non-ANSI users).  Also supports searching & scanning (i.e., message newscan, new-to-you scan).  Additional features include built-in lightbar message list and message area chooser, as well as configurable colors and text strings.  This is still in beta but is fairly mature and stable.  The first official (non-beta) release will probably happen soon.
      30888015
    • deuce's avatar
      Add jsdocs for js.scope. · 18e8e576
      deuce authored
      18e8e576
    • deuce's avatar
      Handle js.scope properly. · 33e3d7ad
      deuce authored
      33e3d7ad
    • deuce's avatar
      It is an error in Clang to cast a pointer to a smaller size. Since a thread · e221ba81
      deuce authored
      ID is a pointer on at least FreeBSD, cast to uintmax_t instead of DWORD.
      e221ba81
    • deuce's avatar
      Fix exit() behaviour by introducing the new js.scope value which is the · f3256d81
      deuce authored
      scripts global scope (as opposed to js.global which is the instance global
      scope), and having exit() define exit_code in js.scope instead of js.global.
      
      This also sets exit_code in js.scope to null when preparing to execute a new
      script.  If a new script starts in the same scope as an old one, the old
      exit_code value will be destroyed.
      
      This should only impact scripts where js.global != js.scope (bbs.exec()ed,
      and mailsrvr)
      f3256d81
  7. 24 Apr, 2015 1 commit
    • rswindell's avatar
      New option: EchoCfg->Toggles->Fwd Circular Msgs to Links · 0664ba8b
      rswindell authored
      (or by adding NOCIRCULARFWD to your sbbsecho.cfg):
      When "Circular Path Detection" is enabled (the default), the old behavior was
      to still forward the message to any links (if there are any), but not import
      the circular/looped message (likely a dupe). Now, if you set this new option
      to no (or add "NOCIRCULARFWD" to your sbbsecho.cfg), the message will be
      completely ignored and not fowarded to any links (if there are any).
      If you have no downlinks or you have circular path detection disabled, this
      new option does nothing. The default is the old behavior (forward circular
      messages).
      Also updated the Toggle Options help text in echocfg (many options weren't
      documented.
      0664ba8b
  8. 21 Apr, 2015 1 commit
  9. 18 Apr, 2015 4 commits
  10. 14 Apr, 2015 4 commits
  11. 10 Apr, 2015 1 commit
  12. 03 Apr, 2015 3 commits
  13. 02 Apr, 2015 1 commit
    • rswindell's avatar
      Implemented feature idea from sysop Skatin: · 6466b5d7
      rswindell authored
      You can now pass the internal code of an external program section to this
      module and it'll only display the external program menu for that section
      (e.g. "exec_bin xtrn-sec games").
      Also: cleaned-up the code a bit, moved some global variables into local scope
      and eliminated an errant debug log entry. Hopefully I didn't break anything.
      6466b5d7
  14. 26 Mar, 2015 1 commit