Skip to content
Snippets Groups Projects
  1. Apr 28, 2015
  2. Apr 27, 2015
    • 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
      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
  3. Apr 26, 2015
  4. Apr 25, 2015
  5. Apr 24, 2015
    • 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
  6. Apr 10, 2015
  7. Mar 24, 2015
  8. Mar 06, 2015
  9. Mar 03, 2015
  10. Mar 02, 2015
  11. Feb 27, 2015
  12. Feb 23, 2015
  13. Feb 21, 2015
  14. Feb 19, 2015
  15. Feb 18, 2015
  16. Feb 10, 2015
  17. Feb 09, 2015
  18. Feb 07, 2015
  19. Jan 23, 2015
  20. Jan 19, 2015
  21. Jan 08, 2015
  22. Jan 01, 2015
  23. Dec 17, 2014
  24. Dec 16, 2014
    • rswindell's avatar
      New MSVC property sheet for Multi-threaded XPDEV builds and usage: · 0cbc4551
      rswindell authored
      defines XPDEV_THREAD_SAFE (not currently used in Windows builds) and
      LINK_LIST_THREADSAFE (notice the inconsistent use of underscore :-)
      0cbc4551
    • rswindell's avatar
      New MSVC property sheet for Multi-threaded XPDEV builds and usage: · e024987d
      rswindell authored
      defines XPDEV_THREAD_SAFE (not currently used in Windows builds) and
      LINK_LIST_THREADSAFE (notice the inconsistent use of underscore :-)
      Use of this property sheet fixes the problem with the terminal server global
      variable 'uptime' getting corrupted when jsrt_GetNew() called listInit() from
      js_rtpool.c which didn't #include sbbs.h and therefore had a different idea
      about the size of link_list_t and thus corrupted the global data region
      (zeroing out the 'uptime' variable, probably amonst other important things).
      e024987d
  25. Dec 14, 2014
    • deuce's avatar
      Fix @UPTIME@ to return 0 if the uptime global isn't initialized yet, or · eed3d9b6
      deuce authored
      if time_t is unsigned and the current time is less than uptime.
      
      There's comments that suggest the time(NULL) value is influenced by the
      timezone, so possibly therre's a usage of it somewhere with the timezone
      not being set comparing to an uptime that was set when timezone *was* set.
      In this case, @UPTIME@ will say it's been up for zero days until the timezone
      is set in that thread/process, or time(NULL) passes uptime.
      eed3d9b6
  26. Dec 11, 2014
Loading