Synchronet CVS Commit Log

This is a log of the 500 most recent changes in the Synchronet CVS repository.
If you want to view more commits, you can by passing ?<number> in URL.
  1. rswindell
    Fri Mar 15 2019 08:47 pm PDT

    Modified Files:
    src/sbbs3/addfiles.c 1.56 1.57 diff

    Log Message:
    When adding a listfile (e.g. files.bbs), be a bit more strict:
    - filenames must begin with an alpha-numeric char. Might want to relax this in
      the future if it's a problem, but generally filenames on BBSes do begin with
      alpha-numeric characters and this will help us to identify an ignore
      "garbage" filenames in listfiles.
    - always check if the file actually exists, even when parsing the length of
      the file from the listfile. This will also help us to ignore garbage
      filenames.
    - also removed an inexplicable unpadfname() call. Filenames in file lists
      should *not* normally be padded (like "this    .txt") - so I'm not sure why
      this was in there. Perhaps for lists generated from filelist.exe (?). Anyway,
      out of an abundance of caution, removed it. Padded filenames are going away.
  2. rswindell
    Fri Mar 15 2019 05:04 pm PDT

    Modified Files:
    src/sbbs3/js_msgbase.c 1.230 1.231 diff

    Log Message:
    MsgBase.get_all_msg_headers() is now more tolerant of corrupted msg bases,
    or more specifically, if the index (.sid) file is of an unexpected size
    (too big or too small) handle that situation gracefully.
  3. rswindell
    Fri Mar 15 2019 04:42 pm PDT

    Modified Files:
    src/syncterm/syncterm.c 1.218 1.219 diff

    Log Message:
    Fix (or work-around?) ScalingFactor issue reported by ogg in fsxNet->FSX BBS:
    The ScalingFactor would always (or usually) reset to 1 and have to be reset
    e.g. to 2, by resizing the window manually, every time SyncTERM was run.
    
    I found that by calling textmode() *after* setscaling() rather than before
    fixed this issue (at least in SDL mode on Ubuntu Linux). Another "fix" that
    worked inserting a small (100ms) delay between the calls to textmode() and
    setscaling() - so there appears to have been a race condition and calling
    setccaling() too soon after text mode() would fail to change the window
    size successfully. Reordering these calls seems to work 100% of the time
    without any additional delays. <shrug> Deuce would likely know "why" better
    than I.
  4. rswindell
    Wed Mar 13 2019 04:41 pm PDT

    Modified Files:
    src/sbbs3/js_msgbase.c 1.229 1.230 diff

    Log Message:
    Rewind the msgbase index file before calling fread(). The fread() would
    fail if the current file pointer (offset) was not currently at the beginning
    of the file. So calling MsgBase.get_all_msg_headers() after previously calling
    any method that read/seeked the index would cause the reported error:
    "index read (xxxx) failed"
  5. rswindell
    Wed Mar 13 2019 01:43 am PDT

    Modified Files:
    src/smblib/smbstr.c 1.33 1.34 diff

    Log Message:
    More strict FidoNet address detection (e.g. so IPv6 addresses aren't
    detected as net_type NET_FIDO).
  6. rswindell
    Wed Mar 13 2019 12:20 am PDT

    Modified Files:
    src/smblib/smbstr.c 1.32 1.33 diff

    Log Message:
    smb_netaddr_type() (exposed via JS as netaddr_type()) change:
    prior to rev 1.29 of this file (committed almost exactly one year ago), when
    called with any string that did not include an '@', would return NET_NONE (0).
    After rev 1.29, most strings that did not include an '@' would cause the
    function to return NET_QWK (4) - this was not intentional. The intention was
    that FidoNet addresses without an '@' would cause this function to return
    NET_FIDO (2) and I don't exactly remember why that change was made, but
    unfortunately, it wasn't made very well, so other invalid addresses would be
    detected as NET_QWK or NET_INTERNET or even NET_UNKNOWN.
    So before and after this commit:
    "" was NET_UNKNOWN, now NET_NONE
    "1" was NET_FIDO, now NET_FIDO
    "1x" was NET_INTERNET, now NET_NONE
    "1:103" was NET_FIDO, now NET_FIDO (this could use some work)
    "x" was NET_QWK, now NET_NONE
  7. rswindell
    Tue Mar 12 2019 07:58 pm PDT

    Modified Files:
    src/sbbs3/addfiles.c 1.55 1.56 diff

    Log Message:
    When extracting FILE_ID.DIZ/DESC.SDI, search through the exractable file
    types twice - first to see if one matches the requirements. If none match,
    then search again just for an extractor matching the file extension.
    Modernize the get_file_diz() function a little bit (e.g. return bool).
  8. rswindell
    Tue Mar 12 2019 07:31 pm PDT

    Modified Files:
    src/sbbs3/addfiles.c 1.54 1.55 diff

    Log Message:
    Moved the copy/pasted FILE_ID.DIZ/DESC.SDI code (3 times!?!) into its own
    function.
    Constify mycmdstr() arguments.
    Removed trailing whitespaces.
    No functional changes expected by this commit.
  9. rswindell
    Sat Mar 09 2019 04:45 pm PST

    Modified Files:
    src/sbbs3/bat_xfer.cpp 1.38 1.39 diff

    Log Message:
    More safe string management function replacement, even though most (all?) of
    this code is on the chopping block already.
  10. rswindell
    Sat Mar 09 2019 03:55 pm PST

    Modified Files:
    ctrl/modopts.ini 1.29 1.30 diff

    Log Message:
    Added new avatar show/draw related settings to the [logon] section used by the
    latest logon.js.
  11. rswindell
    Thu Mar 07 2019 11:48 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.142 1.143 diff

    Log Message:
    Fix (new) potential dereference of NULL (top) pointer in writemsg(), reported
    by Deuce. If 'top' is passed in as NULL, assign a blank string constant to it
    since we dereference top a few places in this function and pass it to putmsg().
  12. deuce
    Wed Mar 06 2019 05:11 pm PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.487 1.488 diff
    src/sbbs3/js_socket.c 1.225 1.226 diff
    src/sbbs3/mailsrvr.c 1.682 1.683 diff
    src/sbbs3/services.c 1.326 1.327 diff
    src/sbbs3/ssl.c 1.41 1.42 diff
    src/sbbs3/ssl.h 1.13 1.14 diff
    src/sbbs3/websrvr.c 1.677 1.678 diff

    Log Message:
    There appears to be data corruption in cryptlib if a private key is added
    to a second thread before the first has the session set active.  Add calls
    to lock/unlock the certificate to prevent this.
    
    The better options is likely to have a function that adds the key and socket
    and sets the session active in one call and handles the locking internally.
    
    But I'm lazy, so we get the lock functions.
  13. rswindell
    Thu Feb 28 2019 03:18 pm PST

    Modified Files:
    exec/load/avatar_lib.js 1.17 1.18 diff

    Log Message:
    Implement an (in-memory) Avatar cache - reducing the number of disk accesses
    when using features that support avatars (e.g. reading msgs, listing files,
    listing BBSes in the BBS list).
    When used in the terminal server, the cache is located in bbs.mods.avatar_cache
    otherwise it's located in the scope of the load()'d library. Applications must
    use the lib's read() method to take advantage of the cache. The other lower
    level functions (e.g. read_localuser, read_netuser) by-pass the cache on read
    but do update the cache with the result. So, generally, avatars should be only
    loaded from disk one time during a session/logon.
  14. rswindell
    Thu Feb 21 2019 03:37 pm PST

    Modified Files:
    src/sbbs3/scfg/scfgnet.c 1.41 1.42 diff
    src/sbbs3/scfg/scfgxtrn.c 1.61 1.62 diff

    Log Message:
    Inlcude 'Any' in the help for the event/callout node number.
  15. rswindell
    Thu Feb 21 2019 02:36 pm PST

    Modified Files:
    src/sbbs3/scfg/scfgnet.c 1.40 1.41 diff
    src/sbbs3/scfg/scfgxtrn.c 1.60 1.61 diff

    Log Message:
    Introduce "Any" as a possible (and default) "Node number" setting for
    network hub call-outs and timed-events.
  16. rswindell
    Thu Feb 21 2019 02:36 pm PST

    Modified Files:
    src/sbbs3/exec.cpp 1.107 1.108 diff
    src/sbbs3/main.cpp 1.743 1.744 diff
    src/sbbs3/sbbsdefs.h 1.232 1.233 diff
    src/sbbs3/scfgdefs.h 1.44 1.45 diff

    Log Message:
    Introduce "Any" as a possible (and default) "Node number" setting for
    network hub call-outs and timed-events.
  17. rswindell
    Wed Feb 20 2019 05:49 pm PST

    Modified Files:
    exec/load/http.js 1.42 1.43 diff

    Log Message:
    Improve the details of the "Unable to connect" error exception.
  18. rswindell
    Wed Feb 20 2019 05:14 pm PST

    Modified Files:
    ctrl/xtrn.cnf 1.38 1.39 diff

    Log Message:
    Enable FIDOIN and FIDOOUT events by default (the "days of the week" set to
    none already keeps these events from running on an automated schedule).
  19. rswindell
    Tue Feb 19 2019 09:43 pm PST

    Modified Files:
    src/sbbs3/bulkmail.cpp 1.40 1.41 diff
    src/sbbs3/email.cpp 1.72 1.73 diff
    src/sbbs3/execfunc.cpp 1.44 1.45 diff
    src/sbbs3/fido.cpp 1.66 1.67 diff
    src/sbbs3/js_bbs.cpp 1.176 1.177 diff
    src/sbbs3/js_msgbase.c 1.228 1.229 diff
    src/sbbs3/mailsrvr.c 1.681 1.682 diff
    src/sbbs3/netmail.cpp 1.54 1.55 diff
    src/sbbs3/newuser.cpp 1.77 1.78 diff
    src/sbbs3/postmsg.cpp 1.120 1.121 diff
    src/sbbs3/readmail.cpp 1.87 1.88 diff
    src/sbbs3/readmsgs.cpp 1.115 1.116 diff
    src/sbbs3/sbbs.h 1.504 1.505 diff
    src/sbbs3/sbbsdefs.h 1.231 1.232 diff
    src/sbbs3/writemsg.cpp 1.141 1.142 diff

    Log Message:
    Reversed course on the WM_QUOTE mode handling in sbbs_t::postmsg()
    (JS bbs.post_msg()): If the WM_QUOTE mode flag is *not* set, then it will auto-
    create the quote file (quotes.txt) and add the WM_QUOTE mode bit before calling
    sbbs_t::writemsg(). So if existing JS scripts call bbs.post_msg(..., WM_QUOTE)
    with a custom-created quote file (e.g. with msg tails), that'll still work as
    before (e.g. DDMsgReader.js).
    
    bbs.email() and bbs.netmail() now support an optional reply_header_object
    argument which works like bbs.post_msg(). These methods (and the underlying
    C++ methods: sbbs_t::email(), netmail(), inetmail(), all auto-create the
    quote file now, when the WM_QUOTE mode flag is *not* set.
    
    The auto-created quotes.txt now includes the plain-text version of MIME-encoded
    messages.
    
    the bbs.post_msg(), email(), and netmail() methods now all support reply
    header objects that came directly from bbs.get_msg_header() *or* copies of
    such header objects (but the auto-quoting feature won't work when supplied
    this type of header object). So if passed a header object returned from
    bbs.get_msg_header(), we can now use the message base (for auto-quoting) and
    the underlying msg storage directly (no JS parsing necessary). This is what
    the new js_GetMsgHeaderObjectPrivates() function is used for. 
    
    js_ParseMsgHeaderObject() (and the underlying parse_header_object() function)
    now supports either an actual internally-generated msg header object (e.g.
    returned from bbs.get_msg_header()) or one that is a copy or hand-constructed.
    
    quotemsg() no longer tries to get a copy of the msg index/header. It shouldn't
    have to since we can now get to underlying msg storage in the js_msgbase.c
    via js_GetMsgHeaderObjectPrivates().
    
    quotemsg() now reads only the plain-text portion of MIME-encoded messages.
    
    As part of this effort, I modernized the method prototypes using default
    argument values (e.g. WM_NONE for wm_mode arguments) and removed some
    extraneous WM_EMAIL and WM_NETMAIL specifications (these wm_mode flags are
    automatically added by the sbbs_t::email() and *netmail() functions).
    
    savemsg() now *does* support reply-IDs/thread-linkage via the additional
    'remsg' argument (when non-NULL).
    
    Replaced some use of nulstr with NULL.
    
    Replaced more boilerplate SMB open code with calls to smb_open_sub().
  20. rswindell
    Tue Feb 19 2019 04:13 am PST

    Modified Files:
    src/sbbs3/js_msgbase.c 1.227 1.228 diff

    Log Message:
    Fix long-standing bug in js_ParseMsgHeaderObject which is only (currently)
    used by js_post_msg() (the JS bbs.post_msg() method when used with the
    reply_header object argument) - the private data attached to a message
    header object is of type privatemsg_t, not private_t. This caused the
    dereferences of and assignments to p->smb_result in parse_header_object()
    to corrupt the privatemsg_t->msg memory causing heap corruption (caught
    on Windows debug builds in js_get_msg_header_finalize()) and stack faults
    (caught on Linux-gcc in parse_recipient_object()). This one was hard to
    find. <whew!>
  21. rswindell
    Mon Feb 18 2019 11:33 pm PST

    Modified Files:
    src/sbbs3/con_out.cpp 1.94 1.95 diff

    Log Message:
    Re-work the column-counting in outchar().
    I noticed that printable ctrl chars (e.g. 0x18 and 0x19) were not causing the
    current column position to increment, so that got me looking at this code and
    wondering why the LF/FF checking was outside the if(!outchar_esc) condition
    and being executed when CON_R_ECHO is off. So now, using a switch statement,
    it's cleaner and all the printable ctrl chars move the current column position
    correctly.
  22. rswindell
    Mon Feb 18 2019 11:26 pm PST

    Modified Files:
    src/sbbs3/postmsg.cpp 1.119 1.120 diff
    src/sbbs3/readmail.cpp 1.86 1.87 diff
    src/sbbs3/readmsgs.cpp 1.114 1.115 diff
    src/sbbs3/sbbs.h 1.503 1.504 diff
    src/sbbs3/writemsg.cpp 1.140 1.141 diff

    Log Message:
    sbbs_t::postmsg() and JS's bbs.post_msg() changes:
    When the WM_QUOTE mode flag is set and the 'remsg' is specified, the original
    message will quoted (excluding message tails, using the proper word-wrapping).
    If the quote file already exists before calling postmsg()/bbs.post_msg(), it
    will be over-written. This allows JS script to initiate reply-posts with quoted
    text without having to create their own quotes file. It also means there's no
    need to call sbbs_t::quotemsg() before calling sbbs_t::postmsg().
    sbbs_t::quotemsg() now takes an smb_t* arg (stop using the sbbs_t 'global'
    smb) and now returns bool.
  23. rswindell
    Mon Feb 18 2019 11:15 pm PST

    Modified Files:
    src/sbbs3/js_bbs.cpp 1.175 1.176 diff

    Log Message:
    Fix bbs.post_msg() JSDOC description: mode defaults to WM_NONE, not WM_MODE.
    Renamed js_postmsg() -> js_post_msg() for good measure.
  24. rswindell
    Mon Feb 18 2019 11:11 pm PST

    Modified Files:
    src/smblib/smblib.c 1.185 1.186 diff

    Log Message:
    Fixed a couple of function return-value comments.
  25. echicken
    Mon Feb 18 2019 11:10 pm PST

    Modified Files:
    xtrn/ansiview/ansiview.js 1.30 1.31 diff

    Log Message:
    Use js.exec_dir; js.startup_dir may be absent or something else entirely.
  26. rswindell
    Mon Feb 18 2019 10:35 pm PST

    Modified Files:
    xtrn/ansiview/ansiview.js 1.29 1.30 diff

    Log Message:
    Fix !JavaScript  /sbbs/xtrn/ansiview/ansiview.js line 316: 
         TypeError: settings is undefined  
    Presumably, when settings.ini doesn't exist.
  27. rswindell
    Mon Feb 18 2019 06:57 pm PST

    Modified Files:
    exec/logon.js 1.37 1.38 diff

    Log Message:
    Allow control via the [logon] section of ctlr/modopts.ini over Avatar display
    set avatar_show = false to disable the avatar display completely (during logon)
    set avatar_draw_right = false to display the avatar in left screen columns
    set avatar_draw_above = true to display the avatar above the current screen row
  28. rswindell
    Mon Feb 18 2019 06:27 pm PST

    Modified Files:
    xtrn/ansiview/ansiview.js 1.28 1.29 diff

    Log Message:
    Resolve reported error (guessing when settings.ini does not exist):
    !JavaScript  /sbbs/xtrn/ansiview/ansiview.js line 313: TypeError: settings is null
  29. rswindell
    Sun Feb 17 2019 11:40 pm PST

    Modified Files:
    src/comio/comio_nix.c 1.13 1.14 diff

    Log Message:
    #include <fnctl.h> to fix:
    error: 'O_NONBLOCK' undeclared
    ... on Alpine Linux.
  30. rswindell
    Sun Feb 17 2019 08:43 pm PST

    Modified Files:
    exec/load/smbdefs.js 1.6 1.7 diff

    Log Message:
    Added missing MsgBase.attributes bit flag definitions:
    - SMB_EMAIL
    - SMB_HYPERALLOC
    - SMB_NOHASH
  31. rswindell
    Sun Feb 17 2019 08:04 pm PST

    Modified Files:
    src/xpdev/threadwrap.c 1.36 1.37 diff

    Log Message:
    Work-around reported problem building in a "minimal alpine image":
    error: 'PTHREAD_MUTEX_RECURSIVE_NP' undeclared
    as ported by GeoKM
  32. rswindell
    Sun Feb 17 2019 07:14 pm PST

    Modified Files:
    src/sbbs3/js_msgbase.c 1.226 1.227 diff

    Log Message:
    Added support for new(ish) msg header fields: 'editor' and 'columns'.
  33. rswindell
    Sun Feb 17 2019 07:09 pm PST

    Modified Files:
    src/smblib/smbdefs.h 1.106 1.107 diff
    src/smblib/smblib.c 1.184 1.185 diff

    Log Message:
    Added a smbmsg_t convenience pointer for the "editor" header field
    (name/version of text editor used, if known).
  34. rswindell
    Sun Feb 17 2019 04:53 am PST

    Modified Files:
    exec/load/sbbsdefs.js 1.84 1.85 diff

    Log Message:
    Added a couple of missing sub-board 'settings' flag definitions:
    - SUB_TEMPLATE
    - SUB_MSGTAGS
  35. rswindell
    Sun Feb 17 2019 03:56 am PST

    Modified Files:
    src/sbbs3/msg_id.c 1.12 1.13 diff

    Log Message:
    Restore the extra space before the date in the PID value, remove the "Debug"
    designator.
  36. rswindell
    Sat Feb 16 2019 10:25 pm PST

    Modified Files:
    src/sbbs3/main.cpp 1.742 1.743 diff
    src/sbbs3/un_rep.cpp 1.72 1.73 diff

    Log Message:
    Beautify and eliminate some of the QWK/REP unpacking output/log msgs.
    Only treat an invalid QWK msg block count (<2) as an error if there is
    more than one msg header in the packet (stop saving so many worthless
    data/file/*.rep.*.bad files).
  37. rswindell
    Sat Feb 16 2019 10:22 pm PST

    Modified Files:
    src/sbbs3/qwktomsg.cpp 1.69 1.70 diff

    Log Message:
    Add add_msg_ids() call when creating local msgs from QWK packets.
  38. rswindell
    Sat Feb 16 2019 10:21 pm PST

    Modified Files:
    src/sbbs3/tmp_xfer.cpp 1.49 1.50 diff

    Log Message:
    Remove some excess log output "Creating: NEWFILES.DAT", when creating
    file lists during events.
  39. rswindell
    Sat Feb 16 2019 10:20 pm PST

    Modified Files:
    src/sbbs3/data_ovl.cpp 1.27 1.28 diff

    Log Message:
    Removed the profiling/debug output from getmsgptrs():
    	"read %u message scan cfg/pointers in %lu ms"
    The message pointer performance problems were resolved a long time ago now
    and this is just noise in the logs.
  40. rswindell
    Sat Feb 16 2019 09:24 pm PST

    Modified Files:
    src/sbbs3/chksmb.c 1.66 1.67 diff

    Log Message:
    If message's index offset exactly matches another message, that's already
    reported as "Duplicate index offset", so overlapping headers means the
    index offset must not be an exact duplicate, so we don't report the same
    corrupt message parameter (its offset into the header file) 2 different
    ways.
  41. rswindell
    Sat Feb 16 2019 07:30 pm PST

    Modified Files:
    src/sbbs3/msg_id.c 1.11 1.12 diff
    src/sbbs3/postmsg.cpp 1.118 1.119 diff

    Log Message:
    add_msg_ids() will now get the new/next message number if the msg.hdr.number
    is 0 (logic moved from sbbs_t::postmsg()).
  42. rswindell
    Sat Feb 16 2019 07:14 pm PST

    Modified Files:
    src/sbbs3/readmsgs.cpp 1.113 1.114 diff

    Log Message:
    When deleting a message from the Read prompt, make it clear (red/flashing)
    as it is easy for a sysop to accidentally hit [D]elete and not realize it.
  43. rswindell
    Sat Feb 16 2019 07:13 pm PST

    Modified Files:
    src/sbbs3/email.cpp 1.71 1.72 diff
    src/sbbs3/netmail.cpp 1.53 1.54 diff
    src/sbbs3/postmsg.cpp 1.117 1.118 diff

    Log Message:
    Eliminted unused variable (pid).
  44. rswindell
    Sat Feb 16 2019 07:10 pm PST

    Modified Files:
    src/sbbs3/un_rep.cpp 1.71 1.72 diff

    Log Message:
    More console/log output when unpacking email/netmail messages from QWK REP
    packets.
  45. rswindell
    Sat Feb 16 2019 07:08 pm PST

    Modified Files:
    src/sbbs3/email.cpp 1.70 1.71 diff
    src/sbbs3/fido.cpp 1.65 1.66 diff
    src/sbbs3/msg_id.c 1.10 1.11 diff
    src/sbbs3/netmail.cpp 1.52 1.53 diff
    src/sbbs3/postmsg.cpp 1.116 1.117 diff
    src/sbbs3/sbbs.h 1.502 1.503 diff

    Log Message:
    QWK-reply-posted email/netmail messages did not contain a Message-ID. Really?
    So I created a single add_msg_ids() function (mostly migrated from postmsg.cpp)
    to make this incredibly easy so any/everywhere that adds a message to a message
    base should be able to call it. This function also creates reply-IDs (when
    relevant) and program ID (Fido-PID) header fields:
    - FIDOPID (always)
    - FIDOMSGID (if an echomail post)
    - FIDOREPLYID (if an echomail reply-post)
    - RFC822MSGID (always)
    - RFC822REPLYID (if a reply)
  46. rswindell
    Sat Feb 16 2019 04:12 pm PST

    Modified Files:
    ctrl/modopts.ini 1.28 1.29 diff

    Log Message:
    New keys for the [login], [fingerservice], and [nodelist] sections.
  47. rswindell
    Sat Feb 16 2019 04:09 pm PST

    Modified Files:
    exec/login.js 1.16 1.17 diff

    Log Message:
    Enhancement to the failed login/password-email feature:
    If confirm_email_address = false in the [login] section of modopts.ini, do not
    ask the user to confirm their email address before sending password.
    Do not display the email address back to the user (in case they did not already
    know it).
    Send the user a telegram for each failed login attempt (using user alias, not
    number).
    Send the user a telegram when their account info (password) was requested.
  48. rswindell
    Sat Feb 16 2019 04:04 pm PST

    Modified Files:
    src/sbbs3/useredit/MainFormUnit.pas 1.10 1.11 diff

    Log Message:
    Fix long-time bug which caused "Cannot open .../user.dat" errors:
    If the user.dat file is already opened in deny-none mode (as is the norm),
    another process (e.g. useredit.exe) cannot simultaneously open it in exclusive
    mode.
  49. rswindell
    Sat Feb 16 2019 04:09 am PST

    Modified Files:
    src/smblib/smblib.c 1.183 1.184 diff

    Log Message:
    Performance optimization: When performing sequential index or header reads,
    the read buffer may be utilized more efficiently if you do *not* perform an
    (unnecessary) seek operation just before the read. By eliminating unnecessary
    seeks in smb_getmsgidx() and smb_getmsghdr(), I was able to reduce the time
    required to load 9000+ index and header records over a network (Samba/CIFS)
    share from 15+ seconds to less than 5.
  50. rswindell
    Sat Feb 16 2019 03:40 am PST

    Modified Files:
    src/sbbs3/scfgsave.c 1.77 1.78 diff

    Log Message:
    Perform a similar elimination of invalid external program configurations
    (blank names or internal codes) from the total saved to xtrn.cnf.
  51. rswindell
    Sat Feb 16 2019 03:38 am PST

    Modified Files:
    src/sbbs3/js_msgbase.c 1.225 1.226 diff

    Log Message:
    MsgBase.get_all_msg_headers() performance improvement:
    read the entire index file in a single read operation
  52. rswindell
    Sat Feb 16 2019 02:26 am PST

    Modified Files:
    src/sbbs3/chksmb.c 1.65 1.66 diff

    Log Message:
    Detect and report all messages with overlapping headers.
    This has not actually been an observed problem, but I just realized while
    working on smb optimizations that this condition would not be reported by
    chksmb.
  53. rswindell
    Fri Feb 15 2019 03:44 am PST

    Modified Files:
    exec/load/cnfdefs.js 1.7 1.8 diff

    Log Message:
    Use meaningful faddr_t field names (zone, net, node, point).
    Use more verbose names for global msgs.cnf properties (don't mimic the
    scfgdefs.h names).
  54. rswindell
    Fri Feb 15 2019 03:11 am PST

    Modified Files:
    exec/exportcfg.js 1.3 1.4 diff

    Log Message:
    Added new exportcfg cfg-types:
            file-prots
            file-extrs
            file-comps
            file-viewers
            file-testers
            file-dlevents
    ... using cfglib.js (wow, that was easy!)
  55. rswindell
    Fri Feb 15 2019 03:00 am PST

    Added Files:
    exec/localcopy.js NONE 1.1 diff

    Log Message:
    You ever wanted to test QWK/REP packet transfers or regular file transfers
    locally on your BBS without using X/Y/ZMODEM (or other) actual file transfer
    protocols? Well, now you can. Install this simple script 
    (using 'jsexec localcopy install') and you (sysops only) will get a new
    transfer protocol option for "local" file transfers, which are really just
    file copies between different locations on your BBS/server's file system(s)
    quickly and without any special terminal capabilities (e.g. X/Y/ZMODEM).
  56. rswindell
    Fri Feb 15 2019 02:26 am PST

    Modified Files:
    exec/load/cnfdefs.js 1.6 1.7 diff

    Log Message:
    Use 'key' rather than 'mnemonic' for file xfer protocol key (character) value.
  57. rswindell
    Thu Feb 14 2019 10:42 pm PST

    Modified Files:
    src/sbbs3/userdat.c 1.211 1.212 diff

    Log Message:
    Now returns negative on failure (i.e. list lock failure):
    - loginAttemptListCount()
    - loginAttemptListClear()
    - loginAttempts()
    
    Now returns 0 on list lock faliure: loginFailure() and loginBanned().
  58. rswindell
    Thu Feb 14 2019 10:26 pm PST

    Modified Files:
    src/sbbs3/ctrl/LoginAttemptsFormUnit.cpp 1.8 1.9 diff
    src/sbbs3/ctrl/MainFormUnit.cpp 1.203 1.204 diff

    Log Message:
    Use the UpTimer trick to get around problems calling DLL functions from OnClick
    events when not in "appy-time".
  59. rswindell
    Thu Feb 14 2019 09:09 pm PST

    Modified Files:
    src/sbbs3/main.cpp 1.741 1.742 diff

    Log Message:
    Added new semfile to clear the failed login attempt list: "ctrl/clear"
    So now if you need to clear the failed-login/temp-ban list, just 
       'touch /sbbs/ctrl/clear'
    Other changes to the semfiles:
    The terminal server is now identified as "term" rather than "telnet" in the
    (optional) server/protocol specific semfile naming.
    Removed support for the old telnet.rec semfile (long deprecated).
  60. rswindell
    Thu Feb 14 2019 07:54 pm PST

    Modified Files:
    src/sbbs3/ctrl/LoginAttemptsFormUnit.cpp 1.7 1.8 diff
    src/sbbs3/ctrl/LoginAttemptsFormUnit.dfm 1.6 1.7 diff
    src/sbbs3/ctrl/LoginAttemptsFormUnit.h 1.3 1.4 diff
    src/sbbs3/ctrl/MainFormUnit.cpp 1.202 1.203 diff
    src/sbbs3/ctrl/MainFormUnit.dfm 1.85 1.86 diff
    src/sbbs3/ctrl/MainFormUnit.h 1.87 1.88 diff

    Log Message:
    Added more visibility into and control over (clearing) of the failed login list.
  61. rswindell
    Thu Feb 14 2019 07:53 pm PST

    Modified Files:
    src/sbbs3/userdat.c 1.210 1.211 diff
    src/sbbs3/userdat.h 1.69 1.70 diff

    Log Message:
    Created loginAttemptListCount().
  62. rswindell
    Thu Feb 14 2019 05:43 pm PST

    Modified Files:
    src/sbbs3/fido.cpp 1.64 1.65 diff

    Log Message:
    Support QWKE "To:" and "Subject:" kludge lines in QWK/REP-imported
    email/netmail messages. Does *not* support the "From:" kludge.
    I know this function needs need to be completely replaced and it's silly to
    have QWK kludge parsing logic in multiple places, but ugh, I didn't want to
    rewrite this just yet.
  63. rswindell
    Thu Feb 14 2019 05:37 pm PST

    Modified Files:
    src/sbbs3/scfg/scfgxfr1.c 1.28 1.29 diff

    Log Message:
    Save/restore the menu 'bar' (lightbar) position for various File Options
    sub-menus.
  64. rswindell
    Thu Feb 14 2019 05:36 pm PST

    Modified Files:
    src/sbbs3/scfg/scfgmsg.c 1.58 1.59 diff
    src/sbbs3/scfg/scfgsub.c 1.50 1.51 diff
    src/sbbs3/scfg/scfgxfr2.c 1.56 1.57 diff

    Log Message:
    Better protection against configuring invalid (e.g. blank) sub/dir short-names,
    internal code suffixes or grp/lib internal code prefixes.
    More strcpy->SAFECOPY and sprintf -> SAFEPRINTF replacements.
    More use of uifcYesNoOpts.
  65. rswindell
    Thu Feb 14 2019 04:06 pm PST

    Modified Files:
    src/sbbs3/scfgsave.c 1.76 1.77 diff

    Log Message:
    When saving message sub-boards and file directories to msgs.cnf/file.cnf,
    if any sub-boards or directories have *blank* names or internal code suffixes
    (a sign of a corrupted configuration), exclude them from the saved subs/dirs
    automatically. I'm not sure how this can happen (use of cnflib.js?) - but
    running "scfg -f" (force save) should fix this situation. For Android8675.
  66. rswindell
    Thu Feb 14 2019 01:55 am PST

    Modified Files:
    src/sbbs3/pack_qwk.cpp 1.81 1.82 diff

    Log Message:
    Include the Synchronet revision (e.g. 'c') in the "SYSTEM" value of the QWK
    DOOR.ID file created by Synchronet.
  67. rswindell
    Thu Feb 14 2019 01:54 am PST

    Modified Files:
    src/sbbs3/msgtoqwk.cpp 1.54 1.55 diff

    Log Message:
    For normal (non-QWKnet) users, when packing QWK packets, include the
    plain-text portion (only) for MIME-encoded messages (emails). If/when there
    are ever QWK readers that support MIME-decoding, I'll make this behavior
    configurable. :-)
    When passing mail between QWKnet nodes, leave the original MIME-encoding in
    tact (if there is any).
  68. rswindell
    Thu Feb 14 2019 01:48 am PST

    Modified Files:
    src/xpdev/str_list.c 1.52 1.53 diff

    Log Message:
    Fix potential for heap corruption in (new function) strListModifyEach():
    If the modify callback function returned a pointer *within* the list item's
    allocated buffer, the strcpy() would copy from potentialy free'd memory as
    realloc may change the location of the heap buffer when resizing.
    Fixed by allocating a copy of the returned pointer before freeing the original
    list item buffer and then just assign the allocated pointer (no copying
    needed). This likely will result in more heap fragmentation for modified list
    items are now newly-allocated buffers rather than reallocated existing buffers
    but the other option would have been to allocate a temporary copy of the string
    before reallocating and then copying and that would've been a lot more overhead
    than with this approach.
    
    This likely fixes any crashes seen in recent revs of v3.17c (e.g. when
    imported QWK or REP packets and text/*.can and the twitlist.cfg are parsed).
    The sighting on Vertrauen was only in the Windows build and appeared when
    importing QWK/REP packets.
  69. rswindell
    Mon Feb 11 2019 07:14 pm PST

    Modified Files:
    src/sbbs3/sbbsecho.c 3.104 3.105 diff

    Log Message:
    Restore the BRE inter-bbs netmail attachment work-around from SBBSecho v2:
    If the attached file begins with a '^', ignore/skip that character in the file
    path. This should resolve the error reported by Ken  of Section One BBS:
    ERROR line 850, attachment file not found: ^C:/SBBS/XTRN/BRE777/...
    
    SBBSecho v2.x included this work-around and it was not included in the v3
    re-factoring/re-write. Of course, BRE is doing something wrong and is totally
    at fault here, but no one expects BRE to be fixed... ever. :-)
  70. rswindell
    Mon Feb 11 2019 03:07 pm PST

    Modified Files:
    src/sbbs3/xtrn.cpp 1.244 1.245 diff

    Log Message:
    Patch from Mark Lewis (wk42):
    
    i've made a few adjustments to xtrn.cpp for external.bat...
    
    - remove unneeded redirection of dosemu output.
       still uses same log file name and stops zero
       byte file dosemu.log from being created in node
       directories.
    - fix faulty "keystroke" dosemu -I command. it
       didn't actually do the "\r" but sent it as
       characters to the command line.
    - added code for SBBS specific lredirs to be
       done more cleanly like dosemu's default
       autoexec.bat. only deletes redir if it exists.
    
    His editor also appears to have removed trailling white-space from this file,
    which is fine.
  71. rswindell
    Fri Feb 08 2019 03:35 pm PST

    Modified Files:
    src/xpdev/str_list.c 1.51 1.52 diff

    Log Message:
    Fix Borland C (5.6, not C99 compliant) build issue introduced in previous
    commit.
  72. rswindell
    Thu Feb 07 2019 06:41 pm PST

    Modified Files:
    src/sbbs3/un_rep.cpp 1.70 1.71 diff

    Log Message:
    Remove unused variable: fp
  73. rswindell
    Thu Feb 07 2019 06:39 pm PST

    Modified Files:
    src/sbbs3/sbbs.h 1.501 1.502 diff
    src/sbbs3/sbbsecho.c 3.103 3.104 diff
    src/sbbs3/str_util.c 1.57 1.58 diff
    src/sbbs3/un_qwk.cpp 1.54 1.55 diff
    src/sbbs3/un_rep.cpp 1.69 1.70 diff

    Log Message:
    Add/use new function findstr_list() which opens and returns a string list
    suitable for passing to findstr_in_list().
    SBBSecho peformance improvement: don't open/read the twitlist.cfg file for
    *each* imported message: just read it once during initialization (using the new
    findstr_list() function of course).
    Reversed course on the findstr()/trashcan() matching logic: significant leading
    white-space was not backwards compatible (and was the cause of recent lost
    messages in DOVE-Net) - so I decided to go a different route and support
    C-style character escape sequences (e.g. \r, \n, \t, \x##, etc.) in findstr
    comparison strings, so the new way to represent a leading space character
    in a filter file (e.g. twitlist.cfg, name.can) would be: "\ ". So to match (e.g.
    filter/disallow) all strings with a leading space: "\ *". "\x20 *" would also
    work (0x20 is ASCII for "space").
    Now, again, leading white-space in filter files (e.g. text/*.can, twitlist.cfg)
    is ignored. <sigh>
  74. rswindell
    Thu Feb 07 2019 06:13 pm PST

    Modified Files:
    src/xpdev/str_list.c 1.50 1.51 diff
    src/xpdev/str_list.h 1.26 1.27 diff

    Log Message:
    New function: strListModifyEach(), iterates through a string list, calling
    a caller-supplied function (callback) which can modify each string or leave
    the string in tact by returning NULL. Shrinking strings is trivial while
    expanding strings (making them bigger) is a little more involved, probably
    using the cbdata to pass a temporary buffer around to store each expanded
    string or returning a new globally-valid pointer.
    Removed the malloc.h #include as we haven't used alloca() here for a while.
  75. rswindell
    Mon Feb 04 2019 07:38 pm PST

    Modified Files:
    exec/dyndns.js 1.16 1.17 diff

    Log Message:
    Support an optiona '-q' (quiet) option, must follow the password.
    Now log a warning about unexpected messages from the server and
    unexpected disconnects, even when in quiet mode.
  76. rswindell
    Mon Feb 04 2019 07:25 pm PST

    Modified Files:
    exec/dyndns.js 1.15 1.16 diff

    Log Message:
    Use log() for output with a tx-log-level of "Debug" and an rx-log-level of
    "Info".
    Return 0 (success) if we get an "ok" response from the server (new), 1 (error)
    otherwise.
  77. echicken
    Mon Feb 04 2019 05:53 am PST

    Modified Files:
    exec/load/freqit_common.js 1.5 1.6 diff

    Log Message:
    Pass 'cfg' to add_file method.
  78. rswindell
    Sun Feb 03 2019 09:53 pm PST

    Modified Files:
    src/sbbs3/str_util.c 1.56 1.57 diff

    Log Message:
    Fixed another instance where the leading white-space in search/filter
    files was being skipped, causing false-positive filtering of imported
    QWK messages on Vertrauen. Sorry about that!
  79. echicken
    Sun Feb 03 2019 08:46 pm PST

    Modified Files:
    exec/load/freqit_common.js 1.4 1.5 diff

    Log Message:
    'this' is not scoped correctly in private function, make a 'self' instead and use it. (For ragnarok)
  80. rswindell
    Sat Feb 02 2019 04:20 pm PST

    Modified Files:
    src/sbbs3/readmsgs.cpp 1.112 1.113 diff
    src/sbbs3/sbbs.h 1.500 1.501 diff

    Log Message:
    sbbs_t::listmsgs() is called from both readmsgs() and listsub(), where the
    message numbers should be printed differently for each context, so added a
    'reading' boolean argument (defaults to true) to indicate it was called from
    readmsgs() and to use the index offset (+1) as the printed msg number in that
    case.
  81. rswindell
    Sat Feb 02 2019 03:27 pm PST

    Modified Files:
    ctrl/text.dat 1.92 1.93 diff

    Log Message:
    Updated SearchSubFmt and CantDeleteMsg.
  82. rswindell
    Sat Feb 02 2019 03:26 pm PST

    Modified Files:
    src/sbbs3/text_defaults.c 1.54 1.55 diff

    Log Message:
    Updated SearchSubFmt and CantDeleteMsg.
  83. rswindell
    Sat Feb 02 2019 03:22 pm PST

    Modified Files:
    src/sbbs3/readmail.cpp 1.85 1.86 diff

    Log Message:
    When printing the CantDeleteMsg text line, include the msg number.
  84. rswindell
    Sat Feb 02 2019 03:21 pm PST

    Modified Files:
    src/sbbs3/readmsgs.cpp 1.111 1.112 diff

    Log Message:
    When printing the CantDeleteMsg text line, incude the message number.
    The (O)perator (D)elete message (range) command will now skip permanent msgs.
    Fixed bug with (L)ist msgs command while in (S)earch for Your Messages mode
    (the msg numbers listed did not match the msg numbers used by the Read prompt).
  85. rswindell
    Sat Feb 02 2019 02:43 pm PST

    Modified Files:
    exec/chksetup.js 1.6 1.7 diff

    Log Message:
    Don't warn about the system operator name if it matches user #1's real name.
    Warn if DOVE-Net subs are configured to disallow voting or they are not
    configured for QWK networking.
  86. rswindell
    Fri Feb 01 2019 04:44 pm PST

    Modified Files:
    src/sbbs3/prntfile.cpp 1.31 1.32 diff

    Log Message:
    Restore the functionality in menu() lost in rev 1.29 where if you pass a
    full path (sans file suffix/extension), it would use that path for the menu
    file to be displayed.
  87. rswindell
    Fri Feb 01 2019 03:46 pm PST

    Modified Files:
    src/sbbs3/str_util.c 1.55 1.56 diff

    Log Message:
    Don't ignore leading white-space chars in filter files (e.g. *.can,
    twitlist.cfg) - this allows adding a filter of say " *" which will filter
    out names (e.g. mail "Fromt" names) beginning with a space character.
  88. rswindell
    Fri Feb 01 2019 01:59 pm PST

    Modified Files:
    src/uifc/uifcx.c 1.36 1.37 diff

    Log Message:
    Removed strupr() - conflicts with xpdev/genwrap.*
  89. rswindell
    Fri Feb 01 2019 01:52 pm PST

    Modified Files:
    src/uifc/uifcx.c 1.35 1.36 diff

    Log Message:
    Fix Windows build after most recent changes.
  90. rswindell
    Fri Feb 01 2019 02:50 am PST

    Modified Files:
    src/sbbs3/zmodem.c 1.122 1.123 diff

    Log Message:
    Address GCC v7.3.0
    warning: ΓÇÿsprintfΓÇÖ may write a terminating nul past the end of the destination
  91. rswindell
    Fri Feb 01 2019 02:49 am PST

    Modified Files:
    src/sbbs3/chksmb.c 1.64 1.65 diff

    Log Message:
    Fix warnings raised by GCC v7.3.0:
    warning: ΓÇÿ*ΓÇÖ in boolean context, suggest ΓÇÿ&&ΓÇÖ instead
    note: ΓÇÿsprintfΓÇÖ output between 5 and 132 bytes into a destination of size 128
  92. rswindell
    Fri Feb 01 2019 02:47 am PST

    Modified Files:
    src/uifc/uifc32.c 1.235 1.236 diff
    src/uifc/uifcx.c 1.34 1.35 diff

    Log Message:
    Fix very unlikely, but possible, buffer overflows identified by GCC v7.3.0:
    warning: ΓÇÿ%sΓÇÖ directive writing up to 4096 bytes into a region of size 3969
  93. rswindell
    Fri Feb 01 2019 02:29 am PST

    Modified Files:
    src/conio/ciolib.c 1.172 1.173 diff

    Log Message:
    Fix what appears to be a bug caused by a typo (* instead of &) in
    ciolib_attrfont(), caught by GCC v7.3.0:
    	warning: ΓÇÿ*ΓÇÖ in boolean context, suggest ΓÇÿ&&ΓÇÖ instead
  94. rswindell
    Fri Feb 01 2019 12:58 am PST

    Added Files:
    text/menu/sysmscan.msg NONE 1.1 diff

    Removed Files:
    	sysmscan.asc 
    Log Message:
    Renamed sysmscan.asc to sysmscan.msg
    Added (D)elete Messages (in a range) command: new
    Removed (E)dit Message Text  command: redundant
  95. rswindell
    Fri Feb 01 2019 12:31 am PST

    Modified Files:
    src/sbbs3/readmsgs.cpp 1.110 1.111 diff

    Log Message:
    Created a "Delete a range of posts" sys/sub-op command from the [O]perator
    sub-board of the "Reading" prompt. This allows a sysop or sub-board
    operator to quickly delete a range of messages from a message base. e.g. for
    easier clean-up of msg-net hiccups or intentional spamming of subs.
  96. rswindell
    Thu Jan 31 2019 11:21 pm PST

    Modified Files:
    exec/chksetup.js 1.5 1.6 diff

    Log Message:
    Created a function check the DOVE-Net setup:
    - check there are 22 sub-boards
    - confirm each sub-board is configured to *NOT* gate between net-types
  97. rswindell
    Thu Jan 31 2019 08:27 pm PST

    Modified Files:
    src/sbbs3/readmsgs.cpp 1.109 1.110 diff

    Log Message:
    Include group and sub-board numbers when listing messsages in a sub-board
    (e.g. as the result of a search for text or messages to you).
  98. rswindell
    Thu Jan 31 2019 01:00 pm PST

    Modified Files:
    exec/sbbsimsg.js 1.38 1.39 diff

    Log Message:
    Clear the screen before displaying the list when used with '-l'.
  99. rswindell
    Wed Jan 30 2019 07:13 pm PST

    Modified Files:
    src/xpdev/gen_defs.h 1.77 1.78 diff

    Log Message:
    Handy macros to calculate the number of digits in a given integer:
    HEX_DIGITS() and DEC_DIGITS()
  100. rswindell
    Wed Jan 30 2019 03:33 pm PST

    Modified Files:
    exec/chksetup.js 1.4 1.5 diff

    Log Message:
    Report an issue if the BBS is not listed in sbbsimsg.lst.
  101. rswindell
    Wed Jan 30 2019 03:31 pm PST

    Modified Files:
    exec/sbbsimsg.js 1.37 1.38 diff

    Log Message:
    Better Ctrl-C handling (doesn't exit all the way out of the module) and
    better invalid destination address detection.
  102. rswindell
    Wed Jan 30 2019 03:30 pm PST

    Modified Files:
    exec/load/sbbsimsg_lib.js 1.4 1.5 diff

    Log Message:
    Created a dest_host() method, used for parsing the host part of a destination
    address (if valid), for use with sbbsimsg.js.
    Added 'include_self' parameter to read_sys_list() to control whether or not
    the local bbs is excluded from the returned list (for chksetup.js use).
  103. rswindell
    Wed Jan 30 2019 02:40 pm PST

    Modified Files:
    exec/tickitcfg.js 1.14 1.15 diff

    Log Message:
    Beautification of the Global Option and Area Options menus.
    Some objectification of the edit_area() and edit_globals() functions, these
    2 functions really should be merged since they appear to be mostly just a
    copy/paste of one another. :-(
  104. rswindell
    Wed Jan 30 2019 02:35 pm PST

    Modified Files:
    exec/tickitcfg.js 1.13 1.14 diff

    Log Message:
    Bug-fix: was storing the selected directory's *name* in the configuration
    (tickit.ini) rather than the internal code.
    Thanks for the report, Ragnarok.
  105. rswindell
    Tue Jan 29 2019 02:49 pm PST

    Added Files:
    exec/load/nodelist_options.js NONE 1.1 diff

    Log Message:
    A small library for loading/caching the [nodelist] options from the
    ctrl/modopts.ini file. Used by scripts performing frequent node activity /
    user presence actions.
    Thanks Ragnark for pointing out that I had forgot to add this file to CVS.
  106. rswindell
    Tue Jan 29 2019 02:29 am PST

    Modified Files:
    exec/nodelist.js 1.9 1.10 diff

    Log Message:
    Use the nodelist_options.js library for easy caching of the nodelist options
    (in bbs.mods).
  107. rswindell
    Tue Jan 29 2019 02:17 am PST

    Modified Files:
    exec/load/sbbslist_lib.js 1.21 1.22 diff

    Log Message:
    Added last_active() method to return the last-activity date of an entry.
    Implemented the "active" special sort order.
    Added support to the remove_dupes() method for the verbose option.
  108. rswindell
    Tue Jan 29 2019 02:14 am PST

    Modified Files:
    exec/sbbslist.js 1.50 1.51 diff

    Log Message:
    Added the -f=<filename.json> and -test options.
    Added the 'active' command (show last active date for all entries)
    The 'dedupe' command now supports the -v (verbose) option.
  109. rswindell
    Tue Jan 29 2019 01:19 am PST

    Modified Files:
    exec/load/sbbslist_html.js 1.9 1.10 diff

    Log Message:
    Added anchor tags so you can (if you know how) direct someone directly to a
    specific BBS entry on this page, e.g. http://synchro.net/sbbslist.html#your_bbs
  110. rswindell
    Tue Jan 29 2019 01:15 am PST

    Modified Files:
    exec/sbbslist.js 1.49 1.50 diff

    Log Message:
    Implement the "maint" command handler:
    - uses the sbbslist_lib.remove_inactive() method
    - uses the (new) max_inactivity (days) value from modopts.ini [sbbslist]
      (default: 180 days)
    - supports the -v (verbose) option to display details about entries being
      removed due to inactivity (if desired)
  111. rswindell
    Tue Jan 29 2019 01:11 am PST

    Modified Files:
    exec/load/sbbslist_lib.js 1.20 1.21 diff

    Log Message:
    Create a remove_inactive() method for removing inactive (old) BBS entries.
  112. rswindell
    Mon Jan 28 2019 06:10 pm PST

    Modified Files:
    exec/load/sbbslist_html.js 1.8 1.9 diff

    Log Message:
    More liberal inclusion in auto-verifed list (even if software != "synchronet").
    Include service descriptions in the html output, if/when they exist.
  113. rswindell
    Mon Jan 28 2019 05:53 pm PST

    Modified Files:
    exec/privatemsg.js 1.4 1.5 diff

    Log Message:
    Updates to the (T)elegram option:
    - cosmetic fixes (extra CRLFs removed)
    - save/use the last 10 telegram recipients (using the getstr() history feature)
  114. rswindell
    Mon Jan 28 2019 05:24 pm PST

    Modified Files:
    exec/sbbsimsg.js 1.36 1.37 diff

    Log Message:
    Re-read the user property file for each telegram sent to get the recipient list
    (which is updated by sbbsimsg_lib.send_msg() now).
  115. rswindell
    Mon Jan 28 2019 05:22 pm PST

    Modified Files:
    exec/load/sbbsimsg_lib.js 1.3 1.4 diff

    Log Message:
    send_msg() now stores the inter-bbs "sent msg" recipient and time to the user
    property file (data/user/*.ini), like sbbsimsg.js used to before rev 1.30 when
    I moved the send_msg() functionality to this lib but failed to add the property
    file update logic. Fixed.
  116. rswindell
    Mon Jan 28 2019 04:00 pm PST

    Modified Files:
    src/sbbs3/xtrn.cpp 1.243 1.244 diff

    Log Message:
    Fix missing param in last commit (for *nix builds only).
  117. rswindell
    Mon Jan 28 2019 03:58 pm PST

    Modified Files:
    src/sbbs3/xtrn.cpp 1.242 1.243 diff

    Log Message:
    Replace all occurences of unsafe strcat() calls with strncat() in
    sbbs_t::cmdstr() and cmdstr().
  118. rswindell
    Mon Jan 28 2019 03:52 pm PST

    Modified Files:
    src/sbbs3/xtrn.cpp 1.241 1.242 diff

    Log Message:
    Linux-DOSEMU patch fix:
    Use case-insensitive check of executable file extension for ".bat".
    The obvious "fix" would have been to use strcasestr() instead of strstr(),
    but that would leave the unlikely corner case of x.bat.exe producing a
    false-positive, for example. Use the proper functions for getting a file
    extension and performing a full case-insensitive string compare.
  119. rswindell
    Mon Jan 28 2019 02:54 pm PST

    Modified Files:
    exec/tickitcfg.js 1.12 1.13 diff

    Log Message:
    From Mark Lewis:
    removed unused "var tmp2".
    moved Global Options to own sub-menu edit_globals(). makes cleaner menus.
    renamed edit_sourceaddress(obj) to select_sourceaddress(obj).
    select a source address from system.fido_addr_list instead of typing anything
    you wanted in the sourceaddress field.
    when in the source address selection list window:
         ESC for no changes to the source address.
         ENTER on first option in list to remove existing source address.
         ENTER on an address to use it for the source address in generated TICs.
  120. rswindell
    Mon Jan 28 2019 01:51 pm PST

    Modified Files:
    exec/load/fidocfg.js 1.37 1.38 diff

    Log Message:
    Forgot to commit this earlier (with tickitcfg.js rev 1.9):
    save() methods return true (on success) or an error string. No throw()'s.
  121. rswindell
    Mon Jan 28 2019 01:08 pm PST

    Modified Files:
    src/sbbs3/xtrn.cpp 1.240 1.241 diff

    Log Message:
    Fix multiple potential buffer overflows in external() (for Windows) with 
    "overly long" cmdlines.
    Also fixed a bug (for Windows) where external() would return 0 (success) even
    when CreateProcess() fails - must re-restore the "last_error" value before
    returning.
  122. rswindell
    Mon Jan 28 2019 01:01 pm PST

    Modified Files:
    src/sbbs3/download.cpp 1.54 1.55 diff

    Log Message:
    Fix potential buffer overrun with a really long file xfer command-line
    (excessively long fspec/%s value).
  123. rswindell
    Sun Jan 27 2019 02:04 pm PST

    Modified Files:
    exec/tickitcfg.js 1.11 1.12 diff

    Log Message:
    Eliminate the loops when entering Source Address and Uploader Name -
    no necessarily. Now hitting enter does what you'd expect.
    Also, use js_on_exit() to always call uifc.bail() upon exception
    (with a nice "Abnormal Exit" popup in that case) - this should eliminate
    all the possible ways this script can fubar the console upon exit.
  124. rswindell
    Sun Jan 27 2019 01:42 pm PST

    Modified Files:
    exec/tickitcfg.js 1.10 1.11 diff

    Log Message:
    Fix another sub-menu that didn't dynamically update the option values.
    Fix an exception: 'obj is undefined' in edit_area().
    Fix a number of dialogs that didn't save/restore the background text.
    
    Now, I don't understand the input "loops" for Source Address and
    Upload Name - hitting "Enter" doesn't exit the input loop, you have to hit
    ESC. This behavior is inconsistent with every other Synchronet configuration
    program/script behavior, but I'll leave it to the author(s) to address that
    oddity.
  125. rswindell
    Sun Jan 27 2019 01:34 pm PST

    Modified Files:
    exec/tickitcfg.js 1.9 1.10 diff

    Log Message:
    As requested by Mark Lewis:
    reflect the new setting in the menu once it is changed
  126. rswindell
    Sun Jan 27 2019 01:30 pm PST

    Modified Files:
    exec/tickitcfg.js 1.8 1.9 diff

    Log Message:
    Clean up the whole exiting/saving thing
    - beautify, display status/progress with popups
    - gracefully handle save() failures and display error message
  127. rswindell
    Sun Jan 27 2019 01:11 pm PST

    Modified Files:
    exec/tickitcfg.js 1.7 1.8 diff

    Log Message:
    From Mark Lewis: fix wrong order of per area menu items
  128. rswindell
    Sun Jan 27 2019 02:02 am PST

    Modified Files:
    exec/chksetup.js 1.3 1.4 diff

    Log Message:
    Generate warnings for QWKnet taglines and Fido origin lines that are blank.
    Warn if the SNDBUF or RCVBUF options are set in the ctrl/sockopts.ini.
  129. rswindell
    Sat Jan 26 2019 05:36 pm PST

    Modified Files:
    exec/load/sbbsdefs.js 1.83 1.84 diff

    Log Message:
    Use require() instead of load() for the recursively load'ed *defs scripts,
    this eliminates unnecessary redundant load/execution of scripts that were
    already loaded (faster, leaner, better).
  130. rswindell
    Sat Jan 26 2019 05:28 pm PST

    Modified Files:
    exec/sbbslist.js 1.48 1.49 diff

    Log Message:
    When adding a new BBS entry, indicate which fields are required first.
    Don't allow a blank terminal server address when creating a new entry.
    Detect an invalid "first_online" date and reject.
  131. rswindell
    Sat Jan 26 2019 05:25 pm PST

    Modified Files:
    exec/load/sbbslist_lib.js 1.19 1.20 diff

    Log Message:
    Display numeric fields with a value of 0, as 0 (not blank). Undefined
    numeric fields will be displayed as blank.
    Sort numeric fields by attempting to convert to a number first (due to bugs,
    some numeric fields are sometimes strings), if the value is an invalid
    number (or numeric string), the sort value of the field is -1.
  132. rswindell
    Sat Jan 26 2019 03:44 am PST

    Modified Files:
    exec/sbbslist.js 1.47 1.48 diff

    Log Message:
    Put more work into insuring that numeric values are created/edited as numbers
    (not strings).
  133. rswindell
    Sat Jan 26 2019 03:43 am PST

    Modified Files:
    exec/load/sbbslist_lib.js 1.18 1.19 diff

    Log Message:
    Define max length of service description (don't hard-code in sbbslist.js).
    Define max length of min_rate, max_rate, port, and protocol as well.
    Remove the max 'storage' value definition.
  134. rswindell
    Sat Jan 26 2019 01:40 am PST

    Modified Files:
    exec/sbbslist.js 1.46 1.47 diff

    Log Message:
    Fix issues with create/editing numeric fields (E.g. service "port") and them
    being saved as a String value - use the new lib.max_val object to determine
    numeric fields and limit their values to between 0 and lib.max_val[field].
    Also fixed a few parseInt()/octal bugs with date conversions (srsly -still?).
  135. rswindell
    Sat Jan 26 2019 01:37 am PST

    Modified Files:
    exec/load/sbbslist_lib.js 1.17 1.18 diff

    Log Message:
    Numeric entry fields now have defined 'maximum values' in the max_val object.
  136. echicken
    Fri Jan 25 2019 01:32 pm PST

    Modified Files:
    exec/ircbots/weather/weather_functions.js 1.10 1.11 diff

    Log Message:
    Whatever.
  137. echicken
    Fri Jan 25 2019 01:15 pm PST

    Modified Files:
    exec/load/openweathermap.js 1.7 1.8 diff

    Log Message:
    Don't cache response if HTTP response code out of range of goodness.
  138. rswindell
    Fri Jan 25 2019 12:37 am PST

    Modified Files:
    exec/privatemsg.js 1.3 1.4 diff

    Log Message:
    Added support for sending telegrams to users using the Web (ecWeb v4)
    interface.
    The entire send-telegram logic has been reimplemented here (for the 3rd time,
    first in chat.cpp, then in js_bbs.cpp, and now here).
  139. rswindell
    Fri Jan 25 2019 12:34 am PST

    Modified Files:
    exec/load/presence_lib.js 1.9 1.10 diff

    Log Message:
    web_user_status() now accepts the 'browsing' word as the second argument and
    web_users() doesn't expect a 'browsing' argument.
  140. rswindell
    Thu Jan 24 2019 05:55 pm PST

    Modified Files:
    exec/chksetup.js 1.2 1.3 diff

    Log Message:
    Report non-guest users with blank passwords.
    Check that the local sbbslist entry for your BBS matches the one on Vert.
    Check that the 'syncdata' sub-board is present and findable.
  141. rswindell
    Thu Jan 24 2019 05:07 pm PST

    Modified Files:
    exec/sbbslist.js 1.45 1.46 diff

    Log Message:
    Added support for exporting and importing "SBL-Remove" messages to remotely
    remove a BBS entry (e.g. your own) from remote databases. You can remove
    any entry (as before) with "jsexec sbbslist remove=<name>", add the '-remote'
    option and it'll post an SBL-Remove message to the SYNCDATA sub.
    The new "delete" option is the same, but automatically uses your local BBS
    name as the name of the entry to be deleted/removed (you still need the -remote
    option to create an SBL-Remove message).
    A confirmation prompt was added.
    The "Name:" portion fo the SBL-Remove message body is not actually needed
    /parsed right now but makes a good sanity check for message subject (BBS name)
    truncation or manipulation, should that be a problem.
  142. deuce
    Thu Jan 24 2019 12:50 pm PST

    Modified Files:
    3rdp/build/GNUmakefile 1.44 1.45 diff
    3rdp/build/cl-bn_div2.patch NONE 1.1 diff

    Added Files:
    	cl-bn_div2.patch 
    Log Message:
    Don't use the inline assembler in the BN_div function.
    
    This has not had the crash here in over three days (crosses fingers).
  143. rswindell
    Wed Jan 23 2019 06:13 pm PST

    Modified Files:
    exec/sbbslist.js 1.44 1.45 diff

    Log Message:
    Don't import deleted sbl.dab entries (the first character of the BBS's
    name is a 0).
  144. rswindell
    Tue Jan 22 2019 11:48 pm PST

    Modified Files:
    src/sbbs3/readmsgs.cpp 1.108 1.109 diff

    Log Message:
    The reply in (M)ail command has been somewhat broken since Mar-13-2018 when
    smb_netaddr_type() was changed to *never* return NET_NONE. Locally-posted
    messages would result in a (M)ail reply trying to go to a invalid Internet mail
    addres (the user's name/alias).
  145. rswindell
    Mon Jan 21 2019 07:18 pm PST

    Modified Files:
    src/sbbs3/js_msgbase.c 1.224 1.225 diff

    Log Message:
    Beautification/typo of MsgBase methods by_offset blurb.
  146. echicken
    Mon Jan 21 2019 03:04 pm PST

    Modified Files:
    exec/load/openweathermap.js 1.6 1.7 diff

    Log Message:
    Added 'raw' parameter to call_api, for fetching non-JSON data.
  147. deuce
    Mon Jan 21 2019 10:49 am PST

    Modified Files:
    3rdp/build/GNUmakefile 1.43 1.44 diff

    Log Message:
    Old slow way crashes faster.
  148. deuce
    Mon Jan 21 2019 10:44 am PST

    Modified Files:
    3rdp/build/GNUmakefile 1.42 1.43 diff
    3rdp/build/cl-bn_div.patch NONE 1.1 diff

    Added Files:
    	cl-bn_div.patch 
    Log Message:
    Switch to "The old slow way" in BN_div()
  149. rswindell
    Mon Jan 21 2019 02:22 am PST

    Modified Files:
    exec/avatars.js 1.35 1.36 diff

    Log Message:
    Fixed typo: security.restrictions, not security_restrictions!
  150. rswindell
    Mon Jan 21 2019 02:10 am PST

    Modified Files:
    src/sbbs3/js_msgbase.c 1.223 1.224 diff

    Log Message:
    Attempt to clarify all this MsgBase.get...(by_offset, number_or_offset_or_id_header)
    confusion: You should not pass both a message number *and* a message header to the
    retrieval methods that support referring to a message by either (number/offset, id
    or header).
  151. rswindell
    Mon Jan 21 2019 01:20 am PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.139 1.140 diff

    Log Message:
    Added support for the standard "Delete line" control keys (Ctrl-Y/X) to the
    the internal message editor. It doesn't redraw the lines below the deleted
    line or do anything terribly fancy, but at least it behaves more as one
    would expect.
  152. rswindell
    Sat Jan 19 2019 09:25 pm PST

    Modified Files:
    src/sbbs3/js_file.c 1.176 1.177 diff
    src/sbbs3/js_global.c 1.376 1.377 diff
    src/sbbs3/jsexec.c 1.202 1.203 diff
    src/sbbs3/sbbs.h 1.499 1.500 diff

    Log Message:
    The "stdio" File objects (stdin, stdout, stderr) did not work on Windows,
    because the stdout FILE* is a different address in jsexec than it is in sbbs.dll
    (where the actual File I/O operations occurred). Refactored by passing the
    stdio file descriptor (and open mode) to js_CreateFileObject rather than the
    FILE* and using fdopen() to get a FILE* associated with the descriptor.
    stdout.write() now works, for example.
  153. rswindell
    Sat Jan 19 2019 05:58 pm PST

    Modified Files:
    exec/exportcfg.js 1.2 1.3 diff

    Log Message:
    Allow specific items (e.g. subs, dirs, xtrns, events, editors) to be
    selected/included with the -inc=<code> option or excluded with the
    -exc=<code> option.
    Fixed a problem where some item types did not have a 'code' property
    (this is a difficiency in the JS object model that will be fixed in the
    future - but a work-around is to just use the associative-array 'index'
    value if the 'code' property does not exist).
  154. rswindell
    Sat Jan 19 2019 05:55 pm PST

    Modified Files:
    src/sbbs3/jsexec.c 1.201 1.202 diff

    Log Message:
    Fix long-standing bug: if jsexec was passed any option which requires a
    parameter value and no value was supplied (e.g. 'jsexec -c'), a null pointer
    dereference would cause the program to crash.
    Also display more helpful error if option parameter value is missing.
  155. rswindell
    Sat Jan 19 2019 02:48 pm PST

    Modified Files:
    exec/chksetup.js 1.1 1.2 diff

    Log Message:
    Output the group name when printing sub/dir/xtrn code issues.
  156. rswindell
    Sat Jan 19 2019 01:32 am PST

    Modified Files:
    exec/podcast.js 1.15 1.16 diff

    Log Message:
    Add support for podcast_lost_episodes.xml
  157. rswindell
    Sat Jan 19 2019 01:30 am PST

    Modified Files:
    CVSROOT/loginfo 1.33 1.34 diff

    Log Message:
    Try exporting the SDL_VIDEODRIVER env var.
  158. rswindell
    Sat Jan 19 2019 01:28 am PST

    Modified Files:
    exec/nntpservice.js 1.129 1.130 diff

    Log Message:
    A better example of creating a new User object.
  159. deuce
    Sat Jan 19 2019 01:26 am PST

    Modified Files:
    src/conio/curs_cio.c 1.41 1.42 diff

    Log Message:
    Attempt to fix Linux weirdness with UIFC jsexec things.
    
    Basically, this just tracks if curses is already suspended or not and if it
    is, does not call noraw() and endwin() again.  This should fix the issue on
    Linux since well-behaved scripts will call uifc.bail() before they exit.
    
    It appears what's happening is that jsexec sets the terminal as raw, then
    ciolib is initialized at which point ncurses saves the current terminal state.
    Before exiting, jsexec sets the terminal back to cooked mode, then exits.
    atexit() ciolib calls curs_suspend() which calls endwin() which restores
    the previously saved terminal state (ie: raw).
  160. rswindell
    Sat Jan 19 2019 12:44 am PST

    Modified Files:
    CVSROOT/loginfo 1.32 1.33 diff

    Log Message:
    <Deuce> Can set the env variable SDL_VIDEODRIVER=dummy
    <Deuce> Though I'm not sure how to get cvs to have env variables in the child processes.
    <Deuce> It will still do "things" with SDL, but none of them should matter.
    <Deuce> Basically, it will initialize the dummy driver, uninitialize it, then call main()
  161. rswindell
    Sat Jan 19 2019 12:03 am PST

    Modified Files:
    exec/sbbsimsg.js 1.35 1.36 diff

    Log Message:
    A little modernization (e.g. using require instead of load).
  162. rswindell
    Fri Jan 18 2019 11:49 pm PST

    Modified Files:
    exec/fingerservice.js 1.46 1.47 diff

    Log Message:
    Better example of creating a User instance.
  163. rswindell
    Fri Jan 18 2019 06:54 pm PST

    Added Files:
    exec/chksetup.js NONE 1.1 diff

    Log Message:
    A new script that will check your Synchronet BBS setup (install/data) for
    common problems, intended to be run using JSexec, example:
    	jsexec chksetup.js
    	jsexec chksetup.js -v
    
    If it reports any issues, you should probably look into them. :-)
  164. rswindell
    Fri Jan 18 2019 05:13 pm PST

    Modified Files:
    exec/exportcfg.js 1.1 1.2 diff

    Log Message:
    Added the msising '-ex' option to the usage help output.
  165. rswindell
    Fri Jan 18 2019 03:03 pm PST

    Modified Files:
    exec/sbbsecho_upgrade.js 1.13 1.14 diff

    Log Message:
    Fix comment added to created sbbsecho.ini file:
    The revision is of sbbsecho_upgrade.js, not the "exec_file" (update.js).
  166. rswindell
    Fri Jan 18 2019 01:14 am PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.486 1.487 diff

    Log Message:
    Further optimization for directory index and listing generation: if "Check for
    File Existence" is disabled (in SCFG->File Areas... Toggle Options), then don't
    check the disk for the file's existence, size, or date/time.
  167. rswindell
    Thu Jan 17 2019 05:56 pm PST

    Modified Files:
    src/sbbs3/un_rep.cpp 1.68 1.69 diff

    Log Message:
    Log a warning instead of an error when unpacking a QWK REP packet which
    contains a message hdr with a block length less than 2. Some versions of
    Mystic apparently generate these REP packets and the errors are annoying
    and there's really nothing the sysop can do about it but report back to
    the user (or QWKnet node) that their packets contained some invalid
    message headers.
  168. rswindell
    Thu Jan 17 2019 01:58 pm PST

    Modified Files:
    src/sbbs3/sbbsecho.c 3.102 3.103 diff

    Log Message:
    Longer, hopefully more helpful, "Authenticated EchoMail" warning log msg.
  169. rswindell
    Thu Jan 17 2019 09:57 am PST

    Modified Files:
    exec/tickit.js 1.53 1.54 diff

    Log Message:
    add lost code to write existing Path lines to the TIC file - wkitty42
  170. rswindell
    Thu Jan 17 2019 12:31 am PST
    exec fileareas.js 1.3 NONE
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12450
    
    Removed Files:
    	fileareas.js 
    Log Message:
    This file was made redundant by exportcfg.js, killed by its own offspring.
  171. rswindell
    Tue Jan 15 2019 07:43 pm PST

    Modified Files:
    exec/logon.js 1.36 1.37 diff

    Log Message:
    Use the bbs.menu_exists() method of checking for text/menu/logon*.* files
  172. rswindell
    Tue Jan 15 2019 07:34 pm PST

    Modified Files:
    text/menu/msgscan.asc 1.10 1.11 diff

    Log Message:
    Use Ctrl-Az instead of Ctrl-AZ to output a Ctrl-Z (SUB) char)
  173. rswindell
    Tue Jan 15 2019 01:22 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.138 1.139 diff

    Log Message:
    Internal message editor needs to recount the lines when saving. This
    is the likely cause of missing lines or "Aborted" messages upon saving
    with the internal editor.
  174. rswindell
    Mon Jan 14 2019 11:04 pm PST

    Modified Files:
    exec/email_sec.js 1.6 1.7 diff

    Log Message:
    Don't load/list the mail index in reverse (newest-first) order by default.
    Unfortunately, the call to readmail() in other places in sbbs
    (e.g. logon.ccp, useredit.cpp) is hard-coded without *out* this loadmail
    flag, so you get an index in oldest-first order when you logon and answer
    "Yes" to the "Read your mail now?" prompt and get the index in reverse
    (newest-first) order when you use the 'R' command from the email prompt
    which is unexpected and likely confusing to users. Until we can replace
    these hard-coded calls to readmail() with scripted logic which can read/
    use a user-preference property (e.g. from data/user/*.ini), we will just
    default to the old/previous behavior. The user is one key (!) away from
    reversing the index anyway.
  175. rswindell
    Mon Jan 14 2019 10:54 pm PST

    Modified Files:
    src/sbbs3/js_console.cpp 1.122 1.123 diff

    Log Message:
    Fixed typo in JSDOCS description of console.putbyte().
  176. rswindell
    Mon Jan 14 2019 08:37 pm PST

    Added Files:
    exec/exportcfg.js NONE 1.1 diff

    Log Message:
     Converted fileareas.js into a generic cfg-list exporter (e.g. for msg areas, etc.)
  177. rswindell
    Mon Jan 14 2019 07:07 pm PST

    Modified Files:
    src/uifc/filepick.c 1.41 1.42 diff

    Log Message:
    Get rid of this file's local getdirname() in favor of the xpdev/dirwrap.c
    function of the same name. The dirwrap version (now) behaves identically
    when passed a pathname ending in a directory name (ending in a '/') but
    differs when passed a pathname ending in a file name (not ending in a '/').
    That should be okay.
  178. rswindell
    Mon Jan 14 2019 07:05 pm PST

    Modified Files:
    src/xpdev/dirwrap.c 1.103 1.104 diff

    Log Message:
    Make getdirname() behave more consistently with the function of the
    same name in uifc/filepick.c - specifically with regards to paths that
    begin with a / (or \ on Windows).
  179. rswindell
    Mon Jan 14 2019 02:07 am PST

    Modified Files:
    exec/fileareas.js 1.2 1.3 diff

    Log Message:
    Support both -option=<value> and -option <value> command-line syntax.
    Make usage-printed option defaults to the actual defaults and not just the
    current values of the options (which could have changed).
  180. rswindell
    Mon Jan 14 2019 12:13 am PST

    Modified Files:
    exec/fileareas.js 1.1 1.2 diff

    Log Message:
    Added support for a different (preferred) method of property format
    specification ("<prop>=<format>"). The "-fmt <format>" option syntax is
    still supported.
    Fixed a bunch of typos and update the "docs" in the comment header.
  181. rswindell
    Sun Jan 13 2019 11:15 pm PST

    Added Files:
    exec/fileareas.js NONE 1.1 diff

    Log Message:
    A new utility module that may be executed via JSexec to generate file area
    lists (listing of areas/directories, not files within those directories),
    to export your file area configuration to various file formats (e.g.
    FILEGATE.ZXX, tab-delimited, CVS, etc.). This utility is much more flexible
    than the SCFG "Export Areas..." option.
    This module can also be load()'d to capture the listing output for use within
    other scripts or shells.
    See the comments at the top of the file for detailed documentation.
  182. rswindell
    Sun Jan 13 2019 03:27 pm PST

    Modified Files:
    exec/testbuild.js 1.30 1.31 diff

    Log Message:
    3rdp Library files are (have been) part of the sbbs_dev archive for a while now.
  183. rswindell
    Sun Jan 13 2019 02:05 pm PST

    Modified Files:
    src/sbbs3/sbbs_ini.c 1.167 1.168 diff

    Log Message:
    We build this file with BCB6, which is not C99 compliant, so we can't use this
    fancy structure initalization syntax here.
  184. rswindell
    Sat Jan 12 2019 06:45 pm PST

    Modified Files:
    exec/sbbslist.js 1.43 1.44 diff

    Log Message:
    Moved list of common_bbs_services from exec/sbbslist.js to load/sbbslist_lib.js
    Removed TCP/IP services not supported by BBS clients (e.g. SyncTERM) from the
    list (e.g. ftp, nntp, smtp, binkp, irc) and added "modem".
  185. rswindell
    Sat Jan 12 2019 06:43 pm PST

    Modified Files:
    exec/load/sbbslist_lib.js 1.16 1.17 diff

    Log Message:
    Moved list of common_bbs_services from exec/sbbslist.js to load/sbbslist_lib.js
    Removed TCP/IP services not supported by BBS clients (e.g. SyncTERM) from the
    list (e.g. ftp, nntp, smtp, binkp, irc) and added "modem".
    This list is now used by the syncterm_list() function to filter which entries
    will be written to the exported syncterm.lst file.
    Also added duplicate section name detection and better names for multiple
    services per BBS (using service description and port as well as protocol)
    to syncterm_list().
    Added support to imsg_capable_system() for an over-ride (imsg_capable).
    Changed several info-level log messages to debug-level (e.g. for every list
    open/read/write).
  186. rswindell
    Sat Jan 12 2019 04:37 pm PST

    Modified Files:
    src/sbbs3/sbbs_ini.c 1.166 1.167 diff

    Log Message:
    Updated the default sbbs.ini style when saving (improve readability):
    - separate sections with a blank line (when adding a section)
    - place spaces around '=' in value assignments ("key = value").
  187. rswindell
    Sat Jan 12 2019 04:30 pm PST

    Modified Files:
    ctrl/sbbs.ini 1.81 1.82 diff

    Log Message:
    Disabled HTTP_LOGGING and CGI support in [web] by default.
    Mostly just white-space changes (beautification).
    Added some comments.
  188. rswindell
    Sat Jan 12 2019 04:21 pm PST

    Modified Files:
    src/sbbs3/websrvr.h 1.54 1.55 diff

    Log Message:
    Cruft removal: IDENT/Identity protocol not supported by webserver.
  189. rswindell
    Sat Jan 12 2019 04:06 pm PST

    Modified Files:
    ctrl/sbbs.ini 1.80 1.81 diff

    Log Message:
    Remove unused [web] key (EmbJavaScriptExtension) and option (GET_IDENT)
  190. rswindell
    Sat Jan 12 2019 04:04 pm PST

    Modified Files:
    src/sbbs3/sbbs_ini.c 1.165 1.166 diff
    src/sbbs3/websrvr.c 1.676 1.677 diff
    src/sbbs3/websrvr.h 1.53 1.54 diff

    Log Message:
    Cruft removal:  EmbeddedJavaScriptExt (web_startup.js_ext) settings
    this idea (web-server parsed html files with embedded JS) was never implemented
    and made obsolete by web handlers (e.g. xjs).
  191. rswindell
    Sat Jan 12 2019 03:53 pm PST

    Modified Files:
    src/sbbs3/ctrl/MainFormUnit.cpp 1.201 1.202 diff

    Log Message:
    Better "Incorrect DLL" error message, display the expected version too.
  192. rswindell
    Sat Jan 12 2019 03:48 pm PST

    Modified Files:
    src/sbbs3/ctrl/WebCfgDlgUnit.cpp 1.8 1.9 diff
    src/sbbs3/ctrl/WebCfgDlgUnit.dfm 1.12 1.13 diff
    src/sbbs3/ctrl/WebCfgDlgUnit.h 1.4 1.5 diff

    Log Message:
    Cruft removal: EmbeddedJavaScriptExt (.bbs) settings - this option was hidden
    anyway (here) and never implemented in the web server.
  193. rswindell
    Sat Jan 12 2019 03:45 pm PST

    Modified Files:
    src/sbbs3/ctrl/TelnetCfgDlgUnit.cpp 1.25 1.26 diff
    src/sbbs3/ctrl/TelnetCfgDlgUnit.dfm 1.31 1.32 diff
    src/sbbs3/ctrl/TelnetCfgDlgUnit.h 1.18 1.19 diff

    Log Message:
    Cruft removal: JavaScript Support and Identity Lookup checkboxes.
    Oddly, the Identity Lookup checkbox was obscurring (hiding) the Hostname
    Lookup checkbox, so that becomes visible/available again.
  194. rswindell
    Sat Jan 12 2019 02:53 pm PST

    Modified Files:
    ctrl/sbbs.ini 1.79 1.80 diff

    Log Message:
    Removed the NO_JAVASCRIPT option from the list of supported [bbs] Options
    (not practical to disable JavaScript for the terminal server any longer)
    and added the NO_SPY_SOCKETS option.
  195. rswindell
    Sat Jan 12 2019 02:49 pm PST

    Modified Files:
    ctrl/sockopts.ini 1.7 1.8 diff

    Log Message:
    Added the new [unix] section (empty)
  196. rswindell
    Sat Jan 12 2019 02:44 pm PST

    Modified Files:
    src/sbbs3/sockopts.c 1.25 1.26 diff

    Log Message:
    For Unix-domain sockets (e.g. localspy sockets on *nix), use the [unix]
    section of the sockopts.ini (if there is one) rather than the [tcp] or
    [udp] sections. This resolves the errors:
          term xxxx !ERROR 95 setting socket option (TCP_NODELAY, 1) to 1
    which started appearing after the TCP_NODELAY option was added to the
    [tcp] section.
  197. rswindell
    Sat Jan 12 2019 02:05 pm PST

    Modified Files:
    exec/websocketservice.js 1.11 1.12 diff

    Log Message:
    Allow a hostname to be specified on the command-line without also specifying
    a target port number.
    The port and hostname arguments can now be supplied in any order.
    Added debug-level log output with the host/port we're trying to connect to.
    Include the socket error value in the failure to connect log message.
  198. rswindell
    Sat Jan 12 2019 01:36 pm PST

    Modified Files:
    src/sbbs3/js_socket.c 1.224 1.225 diff

    Log Message:
    Bug-fix: Socket.connect() would return true (success) even though a
    TCP connection actually failed. This bug only appeared to affect *nix
    systems. This bug appears to be very old, introduced in rev 1.74 of
    this file (Mar-2003) by yours truly.
    From the Linux 'connect' man page:
    EINPROGRESS
                  The  socket  is  nonblocking  and the connection cannot be i
                  completed immediately.  It is possible to select(2) or poll(2)
                  for completion by selecting the socket for writing.  After 
                  select(2) indicates writability, use getsockopt(2) to read the
                  SO_ERROR option at level SOL_SOCKET to determine whether 
                  connect() completed successfully (SO_ERROR is zero) or 
                  unsuccessfully (SO_ERROR is one of the usual error codes listed
                  here, explaining the reason for the failure).
    
    We weren't doing the 'getsockopt(SO_ERROR)' part.
  199. rswindell
    Sat Jan 12 2019 04:09 am PST

    Modified Files:
    src/sbbs3/scfg/scfg.c 1.100 1.101 diff
    src/sbbs3/scfg/scfg.h 1.26 1.27 diff
    src/sbbs3/scfg/scfgmsg.c 1.57 1.58 diff
    src/sbbs3/scfg/scfgnet.c 1.39 1.40 diff
    src/sbbs3/scfg/scfgnode.c 1.34 1.35 diff
    src/sbbs3/scfg/scfgsys.c 1.50 1.51 diff
    src/sbbs3/scfg/scfgxfr1.c 1.27 1.28 diff
    src/sbbs3/scfg/scfgxfr2.c 1.55 1.56 diff
    src/sbbs3/scfg/scfgxtrn.c 1.59 1.60 diff

    Log Message:
    Cosmetic change only:
    Wrap all read_*_cfg() and write_*_cfg() calls with simple functions that
    display popup messages that the Reading or Writing is being performed.
    There was already copy/pasta everywhere for the Reading ... cnf files, but
    nothing for writing.
  200. rswindell
    Sat Jan 12 2019 03:56 am PST

    Modified Files:
    src/xpdev/dirwrap.c 1.102 1.103 diff
    src/xpdev/dirwrap.h 1.50 1.51 diff

    Log Message:
    Added getdirname(): returns the filename or lastdirectory portion of a full
    pathname (directories must end in a '/'). Unlike getfname() which returns an
    empty string if passed a path ending in a '/'.
    Useful with glob(.., GLOB_MARK).
  201. rswindell
    Sat Jan 12 2019 02:29 am PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.485 1.486 diff

    Log Message:
    Fix some new issues due to use of GLOB_MARK:
    getfname() on a path that ends in a slash, returns an empty string pointer.
    Fixed-up some logging output around listing creations.
  202. rswindell
    Sat Jan 12 2019 12:52 am PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.484 1.485 diff

    Log Message:
    Optimized all directory listings and index generation:
    - use GLOB_MARK to eliminate calls to isdir() in loops
    - use stat() rather than calls to flength() and fdate()
    - don't call getfiledat() if getfileixb() failed
    - profiling info-level log msgs added for index/listing generation, e.g.
      "detailed listing (3459 bytes) of /main/SBBS (45 files) created in 2 seconds"
    
    Fixed bug with indexes generated for directories with the 
    "Access Files Not In Database" option enabled, files not in database were
    excluded from the generated index (e.g. 00index, 00index.html).
  203. rswindell
    Sat Jan 12 2019 12:11 am PST

    Modified Files:
    src/sbbs3/filedat.c 1.39 1.40 diff

    Log Message:
    Optimized getfiledat():
    rather than calling both flength() and fdate() (which both call stat()), just
    call stat() once and use the result for both file size and date/time.
  204. rswindell
    Sat Jan 12 2019 12:01 am PST

    Modified Files:
    src/xpdev/dirwrap.c 1.101 1.102 diff

    Log Message:
    Optimized fdate(), fcdate(), flength(), fnameexist() functions:
    There's no reason to call access() before stat() since stat() will fail
    (return -1) if the file does not exist.
  205. rswindell
    Fri Jan 11 2019 06:15 pm PST

    Modified Files:
    exec/chat_sec.js 1.10 1.11 diff

    Log Message:
    Modernization of this script (e.g. "use strict", require(), load(), etc.)
    Loads child scripts (finger.js, sbbsimsg.js) quicker.
    Note: irc.js can't be load()ed from here because it calls exit().
    Now using appropriate strings from text.dat (R_Chat, ON, OFF).
    Added modopts.ini [chat_sec] irc option (disable IRC access by setting to false).
  206. rswindell
    Fri Jan 11 2019 05:50 pm PST

    Modified Files:
    exec/irc.js 1.49 1.50 diff

    Log Message:
    Using a much more reliable method of saving/restoring the initial
    console.ctrlkey_passthru state.
    As it was, if the irc.js abended, many ctrl-keys (e.g. ^C) would not work
    after exiting. A lot of scripts that much with the console.ctrlkey_passthru
    have this/similar issue and this is a simple but very reliable fix.
  207. rswindell
    Fri Jan 11 2019 05:47 pm PST

    Modified Files:
    exec/finger.js 1.7 1.8 diff

    Log Message:
    Use the new load/finger_lib.js
  208. rswindell
    Fri Jan 11 2019 05:46 pm PST

    Added Files:
    exec/load/finger_lib.js NONE 1.1 diff

    Log Message:
    A library for finger or systat/active-user client requests
    (mostly migrated from exec/finger.js).
  209. rswindell
    Fri Jan 11 2019 05:35 pm PST

    Modified Files:
    exec/tickit.js 1.52 1.53 diff
    exec/tickitcfg.js 1.6 1.7 diff

    Log Message:
    TickIT patch supplied by Mark Lewis:
    tickit.js version pulled from $ID string in .js file.
    tickit version used in Created by line.
    tickit version used in Path line.
    utc time stamp of processing used in Path line per FTS-5006.001.
    per area uploader.
    address selection:
       per area aka matching in From and Path lines.
       per area source address in From and Path lines.
       global aka matching in From and Path lines (original addressing method).
       global source address in From and Path lines.
       main FTN address from system.fido_addr_list (preferred but last in line with
    the above overrides).
    can use domains on linked systems' addresses in sbbsecho.ini again.
    can use domains on any address in tickit.ini.
    domains are NOT currently written to the generated TIC files to avoid creating
    possible problems for other TIC processors.
    force replace is available globally and per area in the ini and not only the
    command line.
  210. rswindell
    Fri Jan 11 2019 05:35 pm PST

    Modified Files:
    exec/load/fidocfg.js 1.36 1.37 diff

    Log Message:
    TickIT patch supplied by Mark Lewis:
    tickit.js version pulled from $ID string in .js file.
    tickit version used in Created by line.
    tickit version used in Path line.
    utc time stamp of processing used in Path line per FTS-5006.001.
    per area uploader.
    address selection:
       per area aka matching in From and Path lines.
       per area source address in From and Path lines.
       global aka matching in From and Path lines (original addressing method).
       global source address in From and Path lines.
       main FTN address from system.fido_addr_list (preferred but last in line with
    the above overrides).
    can use domains on linked systems' addresses in sbbsecho.ini again.
    can use domains on any address in tickit.ini.
    domains are NOT currently written to the generated TIC files to avoid creating
    possible problems for other TIC processors.
    force replace is available globally and per area in the ini and not only the
    command line.
  211. rswindell
    Fri Jan 11 2019 04:16 am PST

    Modified Files:
    src/sbbs3/ans2asc.c 1.11 1.12 diff

    Log Message:
    Stop parsing/converting when reading a Ctrl-Z (CPM EOF char): used to mark
    the beginning of a SAUCE record and the end of very old MS-DOS text files.
    Added support for ESC[1;1f/H (home cursor) and ESC[0J (clear to EOS) sequences
    (converted to the equivalent in Ctrl-A codes).
    Output Ctrl-A characters in uppercase, as they were documented and as is
    common practice.
    Covert ESC[xB and ESC[xD to the appropriate Ctrl-A sequences rather than
    converting to ASCII ctrl chars (CR, LF, BS).
  212. rswindell
    Fri Jan 11 2019 03:47 am PST

    Modified Files:
    src/sbbs3/asc2ans.c 1.10 1.11 diff

    Log Message:
    Add missing (but rarely used) Ctrl-A sequences:
    Ctrl-AJ (clear to EOS)
    Ctrl-A` (home cursor)
  213. rswindell
    Fri Jan 11 2019 03:29 am PST

    Modified Files:
    src/sbbs3/asc2ans.c 1.9 1.10 diff
    src/sbbs3/con_out.cpp 1.93 1.94 diff
    src/sbbs3/getkey.cpp 1.51 1.52 diff
    src/sbbs3/js_global.c 1.375 1.376 diff
    src/sbbs3/msgtoqwk.cpp 1.53 1.54 diff
    src/sbbs3/putmsg.cpp 1.43 1.44 diff
    src/sbbs3/sbbsecho.c 3.101 3.102 diff
    src/sbbs3/str_util.c 1.54 1.55 diff

    Log Message:
    A partial retraction of the Ctrl-AZ interpretation changes introduced on
    Oct-14-2018:
    It turns out, PabloDraw actually inserts a Ctrl-AZ sequence at the end of .msg
    (and presumably Synchronet .asc) files it edits - before the SAUCE record.
    This resulted in a printed Ctrl-Z character (arrow pointing right) in most
    terminals when viewing text/menu files created or edited with PabloDraw. :-(
    So, now Ctrl-AZ (uppercase) will revert to the previous definition:
    premature end-of-file (EOF)
    and a Ctrl-Az (lowercase) will output a Ctrl-Z (substitute) character.
    I'm not a big fan of case-sensitive Ctrl-A codes, but frankly, running out of
    chars and I already started this pattern with the Ctrl-AF/f sequences.
    Hopefully there's no existing software that is/was putting Ctrl-Az (lowercase)
    in files, expecting that to trigger a premature EOF. I certainly was not.
  214. rswindell
    Fri Jan 11 2019 01:38 am PST

    Modified Files:
    exec/badpasswords.js 1.2 1.3 diff

    Log Message:
    Provide a better/updated example.
  215. rswindell
    Fri Jan 11 2019 01:37 am PST

    Modified Files:
    exec/userlist.js 1.5 1.6 diff

    Log Message:
    Provide a better/updated example.
  216. rswindell
    Fri Jan 11 2019 01:34 am PST

    Modified Files:
    exec/nodelist.js 1.8 1.9 diff

    Log Message:
    Read the default web_inactivity value from modopts.ini [web] inactivity value.
    - this change is dependant on the updated load/modopts.js.
    Cache the presence_lib and nodelist options in the bbs.mods object to speed
    up the re-loading of this script from the BBS. This means that changes to the
    presence_lib or modopts.ini will require the user log-off/back-on to experience
    the changes (only for the nodelist module).
  217. rswindell
    Fri Jan 11 2019 01:29 am PST

    Modified Files:
    exec/load/presence_lib.js 1.8 1.9 diff

    Log Message:
    Automatically exclude 0-aged users and blank genders from the output
    of the user_age_and_gender() method.
    Changed options.web_inactivity_timeout to just options.web_inactivity to be
    more consistent with the existing modopts.ini [web] option naming.
  218. rswindell
    Fri Jan 11 2019 01:26 am PST

    Modified Files:
    exec/load/modopts.js 1.3 1.4 diff

    Log Message:
    New modopts.js usage supported:
    You may now request the value of a single modopts.ini key value (optionally
    specifying a default option value), via:
        optval = load({}, 'modopts.js', 'modname', 'optname');
    or:
        optval = load({}, 'modopts.js', 'modname', 'optname', default_optval);
    
    This usage will return just a single option value rather than an object
    containing properties reflecting all the options in the [modname] section.
    The pre-existing usage is still supported (and preferred in most cases).
  219. rswindell
    Thu Jan 10 2019 10:50 pm PST

    Modified Files:
    exec/load/presence_lib.js 1.7 1.8 diff

    Log Message:
    Allow the web user action verb to be configurable via options.web_browsing
    (default: 'browsing' - to match web UI verbiage).
  220. rswindell
    Thu Jan 10 2019 08:56 pm PST

    Modified Files:
    exec/default.src 1.22 1.23 diff
    exec/pcboard.src 1.10 1.11 diff
    exec/renegade.src 1.12 1.13 diff
    exec/sdos.src 1.11 1.12 diff
    exec/simple.src 1.9 1.10 diff
    exec/wildcat.src 1.13 1.14 diff
    exec/wwiv.src 1.6 1.7 diff

    Log Message:
    Use the nodelist.js module for node listings from all command-shells
    (includes web v4 users logged-in/recently-active).
    Added 'W' / who's online command to those shells that didn't have it
    (except for Wildcrap!) - equivalent of the Ctrl-U global hot-key.
  221. rswindell
    Thu Jan 10 2019 08:53 pm PST

    Modified Files:
    exec/nodelist.js 1.7 1.8 diff

    Log Message:
    Include web users in output unless the -noweb argument is specified or
    'include_web_users' is set to false in the [nodelist] section of the modopts.ini
    Document the arguments supported in comments.
    It's no '-noself' instead of '-notself' to exclude own node from output.
    Also more/better "use strict" enforcement.
  222. rswindell
    Thu Jan 10 2019 08:49 pm PST

    Modified Files:
    exec/load/presence_lib.js 1.6 1.7 diff

    Log Message:
    Include web users in nodelist() output unless options.include_web_users = false
    Provide better example of constructing/using User objects.
  223. rswindell
    Thu Jan 10 2019 05:11 pm PST

    Modified Files:
    exec/load/portdefs.js 1.6 1.7 diff

    Log Message:
    Added Synchronet/ftelnet's WS/WSS port definitions.
    Added more comments and use 'var' when defining a new variable
    (though 'const' might be better here, don't want to risk that change atm).
  224. rswindell
    Thu Jan 10 2019 11:53 am PST

    Modified Files:
    src/sbbs3/js_user.c 1.107 1.108 diff

    Log Message:
    JSDOCS: Better example for User object creation.
  225. rswindell
    Thu Jan 10 2019 10:29 am PST

    Modified Files:
    exec/load/presence_lib.js 1.5 1.6 diff

    Log Message:
    Fix usernum parsing bug in web_users():
    numbers beginning w/0 are interpretted as octal by parseInt() by default.
  226. echicken
    Thu Jan 10 2019 05:55 am PST

    Modified Files:
    exec/load/presence_lib.js 1.4 1.5 diff

    Log Message:
    Get web user's action from session file if possible.
  227. rswindell
    Thu Jan 10 2019 03:54 am PST

    Modified Files:
    exec/load/presence_lib.js 1.3 1.4 diff

    Log Message:
    Check the data/msgs/*.msg file size (> 0) rather than just existence.
    0-byte .msg files are normal and do not mean a msg is waiting for the user.
  228. rswindell
    Thu Jan 10 2019 03:51 am PST

    Modified Files:
    src/sbbs3/js_file.c 1.175 1.176 diff

    Log Message:
    Fix JSDOCS_BUILD issue introduced in previous commit.
  229. rswindell
    Thu Jan 10 2019 03:33 am PST

    Modified Files:
    exec/fingerservice.js 1.45 1.46 diff

    Log Message:
    Added a new modopts.ini setting for [fingerservice]:
    include_location (defaults to true)
    New comments at the top documenting the modopts.ini settings available.
    Include misc flags (M for msg waiting, P for do-not-disturb) in web user status
    active-users.json was excluding node with the POFF (do not disturb) flag set,
    thus making the do_not_disturb property kind of moot - fixed.
  230. rswindell
    Thu Jan 10 2019 03:28 am PST

    Modified Files:
    exec/load/presence_lib.js 1.2 1.3 diff

    Log Message:
    Added web_user_misc() method.
    Added properties to web_user object: do_not_disturb and msg_waiting
  231. rswindell
    Thu Jan 10 2019 02:38 am PST

    Modified Files:
    exec/fingerservice.js 1.44 1.45 diff

    Log Message:
    Include web users in the active-users lists.
    The active-users.json response now includes a 'prot' (protocol) object, just in
    case we want to use that in the future.
  232. rswindell
    Thu Jan 10 2019 02:34 am PST

    Modified Files:
    exec/load/presence_lib.js 1.1 1.2 diff

    Log Message:
    Added a web_users() method to return an array of active web users. This is
    derived from a portion of ecwebv4's ndoelist.js.
    TODO (echicken, help!): fill-out the 'action' property from the web session and
    double-check on the logontime value (can we get this from the session blob?).
  233. rswindell
    Thu Jan 10 2019 01:00 am PST

    Modified Files:
    exec/fingerservice.js 1.43 1.44 diff
    exec/nodelist.js 1.6 1.7 diff

    Log Message:
    Utilize the new presence_lib.js:
    Much of the code in these 2 modules was moved/migrated to the new presence_lib
    and made more reusable/modular.
  234. rswindell
    Wed Jan 09 2019 11:26 pm PST

    Added Files:
    exec/load/presence_lib.js NONE 1.1 diff

    Log Message:
    New library for user presence (e.g. node listings, who's online) reporting.
    Migrated mostly from exec/nodelist.js, some from fingerservice.js.
  235. rswindell
    Wed Jan 09 2019 07:05 pm PST

    Modified Files:
    exec/load/xjs.js 1.1 1.2 diff

    Log Message:
    Log errors when failing to open/create files.
  236. rswindell
    Wed Jan 09 2019 06:47 pm PST

    Modified Files:
    src/sbbs3/asc2ans.c 1.8 1.9 diff

    Log Message:
    Enable ANSI/VT100 terminal emulation in the Windows (10) console output
    when sending the "ANSI" output to stdout (and not a file).
  237. rswindell
    Wed Jan 09 2019 03:33 am PST

    Modified Files:
    exec/sbbsimsg.js 1.34 1.35 diff

    Log Message:
    Abort the systems poll if the user hits a key.
  238. rswindell
    Wed Jan 09 2019 03:32 am PST

    Modified Files:
    exec/load/sbbsimsg_lib.js 1.2 1.3 diff

    Log Message:
    If the poll_systems() callback function returns true, abort the poll.
  239. rswindell
    Wed Jan 09 2019 02:54 am PST

    Modified Files:
    src/sbbs3/js_file.c 1.174 1.175 diff

    Log Message:
    Updated JSDOCS descriptions of File.ini methods.
  240. echicken
    Tue Jan 08 2019 07:47 am PST

    Modified Files:
    exec/ircbots/weather/weather_functions.js 1.9 1.10 diff

    Log Message:
    Include units parameter when falling through to assuming param is a location name.
    Otherwise the temperature will appear to be hot hot hot but actually be in kelvin.
  241. rswindell
    Tue Jan 08 2019 01:49 am PST

    Modified Files:
    ctrl/modopts.ini 1.27 1.28 diff

    Log Message:
    Added [fingerservice] section, [nodelist] section, and new nodelist_ibbs
    key to [web] section.
  242. rswindell
    Tue Jan 08 2019 12:59 am PST

    Modified Files:
    exec/fingerservice.js 1.42 1.43 diff

    Log Message:
    Separate the include_age_gender modopts.ini value into 2 options
    (to be consistent with [nodelist]):
    - include_age
    - include_gender
    and they can be separately controlled.
    Also fixed a 'use strict' violation I didn't find before with assignment
    to an undeclared variable (uname).
  243. rswindell
    Tue Jan 08 2019 12:05 am PST

    Modified Files:
    exec/load/fidocfg.js 1.35 1.36 diff

    Log Message:
    Fix bug reported by pfortran:
    If a SessionPwd (in sbbsecho.ini) value was (just) a number, it would
    barf-up binkp.js and cause an authentication BinkP failure for that node.
  244. rswindell
    Mon Jan 07 2019 11:28 pm PST

    Modified Files:
    exec/nodelist.js 1.5 1.6 diff

    Log Message:
    Fixed typo in previous commit.
  245. rswindell
    Mon Jan 07 2019 11:09 pm PST

    Modified Files:
    exec/nodelist.js 1.4 1.5 diff

    Log Message:
    Almost a complete rewrite of this module. What was once just a simple nodelist
    example is now actually a functional replacement for the 'exec/node list'
    command (e.g. using 'jsexec nodelist') and a replacement for the hard-coded
    Ctrl-U (who's online) handler. To install, run 'jsexec nodelist install'.
    Supports modopts.ini [nodelist] settings (default to false):
    - include_age
    - include_gender
    Other than the new age/gender options, *should* function identically to the
    hard-coded nodelist() and whos_online() functions from getnode.cpp
  246. rswindell
    Mon Jan 07 2019 09:33 pm PST

    Added Files:
    exec/load/attrdefs.js NONE 1.1 diff

    Log Message:
    Define the index positions in the (still undocumented) console.color_list[]
    array. These correlate with the lines in ctrl/attr.cfg and are used for
    setting console attributes in places where text.dat strings perhaps didn't
    make sense. These values are used like this (e.g. to set the current
    console attributes configured for filenaems):
    	console.attributes = console.color_list[ATTR_FILENAME];
  247. rswindell
    Mon Jan 07 2019 09:30 pm PST

    Modified Files:
    exec/load/nodedefs.js 1.9 1.10 diff

    Log Message:
    Changed NodeAction[] items with string args (%s) to just hardcoded values
    ("sysop" and "The Guru") - fixing the simple node listing apps, like the
    echicken web UI.
    If your node lister wants to do something more fancy (e.g. display the name
    of the sysop or the guru engine), you'll have to handle that yourself.
  248. echicken
    Mon Jan 07 2019 08:51 pm PST

    Modified Files:
    exec/ircbots/weather/weather_commands.js 1.30 1.31 diff

    Log Message:
    Blacken ye olde backgrounde.
  249. rswindell
    Mon Jan 07 2019 06:35 pm PST

    Modified Files:
    exec/load/nodedefs.js 1.8 1.9 diff

    Log Message:
    2 new "arrays" for reporting the node connection type/protocol:
    NodeConnection[] // lowercase
    NodeConnectionProper[] // propercase
    
    If the node.connection value is in these "arrays", use that value to print
    node's connection type/protocol. If it's not, it's a modem connection and
    the node.connection value is the DCE rate (in bps).
  250. rswindell
    Mon Jan 07 2019 05:57 pm PST

    Modified Files:
    exec/load/nodedefs.js 1.7 1.8 diff

    Log Message:
    Added missing node connection constant definitions (from nodedefs.h).
  251. rswindell
    Mon Jan 07 2019 04:13 pm PST

    Modified Files:
    src/sbbs3/sbbscon.c 1.272 1.273 diff

    Log Message:
    Build with main() rather than CIOLIB_main() if either JSDOCS_BUILD or
    WITH_SDL are not defined. This should fix JSDCOS builds for those without
    libsdl1.2-dev installed - but really, you want SDL installed to get the
    full docs, I think.
  252. sbbs
    Mon Jan 07 2019 03:38 pm PST

    Modified Files:
    src/sbbs3/js_bbs.cpp 1.174 1.175 diff
    src/sbbs3/js_console.cpp 1.121 1.122 diff
    src/sbbs3/main.cpp 1.740 1.741 diff
    src/sbbs3/sbbs.h 1.498 1.499 diff

    Log Message:
    Fix various JSDOCS_BUILD with gcc warnings.
    warning: ISO C++ forbids converting a string constant to 'char*'
    and comparision between signed/unsigned int.
    This does *not* address the reported build issue:
    In function `_start':
    (.text+0x20): undefined reference to `main'
  253. echicken
    Mon Jan 07 2019 03:10 pm PST

    Modified Files:
    exec/ircbots/weather/weather_commands.js 1.29 1.30 diff
    exec/ircbots/weather/weather_functions.js 1.8 1.9 diff

    Log Message:
    Overhaul of nick/location update process.
  254. rswindell
    Mon Jan 07 2019 02:51 pm PST

    Modified Files:
    ctrl/modopts.ini 1.26 1.27 diff

    Log Message:
    Added examples for the new [xtrn_sec] eval_before/after_exec options.
  255. rswindell
    Mon Jan 07 2019 01:48 pm PST

    Modified Files:
    exec/xtrn_sec.js 1.20 1.21 diff

    Log Message:
    For DaiTengu:
    Added support for optional modopts.ini [xtrn_sec] keys:
    - eval_before_exec
    - eval_after_exec
    These may be set to JavaScript expressions to be evaluated (executed)
    before and/or after any program is executed from this module.
    Also fixed a bug where a door-custom font may not be loaded if the door
    was the only one available in a section.
  256. echicken
    Mon Jan 07 2019 01:29 pm PST

    Modified Files:
    exec/load/ircbot_functions.js 1.29 1.30 diff

    Log Message:
    Handle them background colour codes.
  257. rswindell
    Mon Jan 07 2019 12:59 pm PST

    Modified Files:
    src/sbbs3/js_bbs.cpp 1.173 1.174 diff

    Log Message:
    Add JSDOC descriptions for the bbs.node* properties added in rev 1.167 -
    this should fix the missing/misaligned 'bbs' property descriptions in
    jsobjs.html
  258. rswindell
    Mon Jan 07 2019 12:06 pm PST

    Modified Files:
    exec/binkit.js 2.16 2.17 diff

    Log Message:
    Resolve the possibile error in the new binkstats.ini stuff for inbounds:
    TypeError: bp.remote_addrs is undefined
  259. rswindell
    Sun Jan 06 2019 11:18 pm PST

    Modified Files:
    exec/binkit.js 2.15 2.16 diff

    Log Message:
    Include BinkP.connect_host, .connect_port, and .connect_error (when available)
    in callout stats (stored in binkstats.ini).
  260. rswindell
    Sun Jan 06 2019 11:17 pm PST

    Modified Files:
    exec/load/binkp.js 1.113 1.114 diff

    Log Message:
    New BinkP properties:
    .connect_host
    .connect_port
    .connect_error
    Allows the application (binkit.js) to log detailed BinkP.connect() failures.
  261. rswindell
    Sun Jan 06 2019 11:11 pm PST

    Modified Files:
    src/sbbs3/js_socket.c 1.223 1.224 diff

    Log Message:
    Socket.connect() and .sendto() would not set Socket.error (aka last_error)
    when a host-name lookup (getaddrinfo call) failed.
  262. echicken
    Sun Jan 06 2019 10:43 pm PST

    Modified Files:
    exec/load/ircbot_functions.js 1.28 1.29 diff

    Log Message:
    When unsetting high colour, send colour code for dark version of last colour.
  263. echicken
    Sun Jan 06 2019 10:15 pm PST

    Modified Files:
    exec/load/ircbot_functions.js 1.27 1.28 diff

    Log Message:
    Basic CTRL-A to mIRC colour code conversion (foreground with bright/normal only for now).
    ctrl_a_to_mirc(str) returns converted str.
  264. rswindell
    Sun Jan 06 2019 10:10 pm PST

    Modified Files:
    exec/binkit.js 2.14 2.15 diff

    Log Message:
    At the request of Kurt/poindexter FORTRAN:
    Creates/updates a data/binkstats.ini file which tracks BinkIT/BinkP session
    statistics:
    - inbound successes/failures (per node)
    - callout successes/failures (per node)
    - totals (per node)
    
    It's a human-readable data file (in .ini file format), so it's pretty
    self-explanatory.
    The [callout success: <address>] sections provide details about the last
    successful outbound BinkP session with the specified node.
    Similarly, the [callout failure: <address>] sections provide details about the
    last *failed* outbound BinkP session with the specified node.
    And there are very similar sections for successful and failed *inbound*
    sessions as well.
    The [totals: <address>] sections track running totals for each node as well.
  265. rswindell
    Sun Jan 06 2019 09:50 pm PST

    Modified Files:
    exec/load/binkp.js 1.112 1.113 diff

    Log Message:
    3 new BinkP properties:
    .remote_operator (the value of the 'ZYZ' message, if received)
    .remote_capabilities (the value of the 'NDL' message, if received)
    .remote_info[], an associative array of any/all *other* M_NUL BinkP
     commands/messages (e.g. bp.remote_info['TIME'] contains the remote TIME
     message arguments, if such a message was received).
  266. echicken
    Sun Jan 06 2019 08:48 pm PST

    Modified Files:
    exec/load/openweathermap.js 1.5 1.6 diff

    Log Message:
    Pass freedom units of temperature measurement through Math.round().
    Use 'dt' value of API response to determine whether to update cache, rather than time since last fetch.  New data may appear sooner.
  267. echicken
    Sun Jan 06 2019 04:58 pm PST

    Modified Files:
    exec/load/openweathermap.js 1.4 1.5 diff

    Log Message:
    Simplified wind direction from degrees thing.
  268. echicken
    Sun Jan 06 2019 03:31 pm PST

    Modified Files:
    exec/ircbots/weather/weather_commands.js 1.28 1.29 diff
    exec/ircbots/weather/weather_functions.js 1.7 1.8 diff

    Log Message:
    Use OpenWeatherMap.
    Output needs some prettying up.
    You gots to get you an OpenWeatherMap API key to use this mkay?
    RIP in peace, Weather Underground.
  269. echicken
    Sun Jan 06 2019 03:27 pm PST

    Modified Files:
    exec/load/openweathermap.js 1.3 1.4 diff

    Log Message:
    Some convenience methods for temperature conversion & wind direction from degrees.
  270. echicken
    Sun Jan 06 2019 12:13 am PST

    Modified Files:
    exec/load/openweathermap.js 1.2 1.3 diff

    Log Message:
    Use system.temp_dir instead of polluting system.data_dir.
    Instead of one large cache file, one file per endpoint + param set.
  271. echicken
    Sat Jan 05 2019 11:58 pm PST

    Modified Files:
    exec/load/openweathermap.js 1.1 1.2 diff

    Log Message:
    File-based cache and rate-limiting.
  272. echicken
    Sat Jan 05 2019 11:32 pm PST

    Added Files:
    exec/load/openweathermap.js NONE 1.1 diff

    Log Message:
    Barebones interface to the openweathermap.org web API.
    Cache and rate limiting is useless right now unless calling script is long-lived.
  273. rswindell
    Sat Jan 05 2019 01:58 am PST

    Modified Files:
    docs/jsobjs.html 1.14 1.15 diff

    Log Message:
    Updated JavaScript object model docs, generated by Deuce's nix.synchro.net
    system for v3.17b on Jan-2-2019.
  274. rswindell
    Sat Jan 05 2019 12:04 am PST

    Modified Files:
    exec/fingerservice.js 1.41 1.42 diff

    Log Message:
    A bit of a modernization/overhaul of this service script:
    - Enabling JavaScript "strict" mode and resolved the resulting errors
      (mostly in Merlin's "findfile" modification)
    - Enabled the use of a [fingerservice] section in ctrl/modopts.ini:
      include_age_gender (default is true)
      include_read_name (default is true)
      findfile (default is true)
      bbslist (default is false)
    - New optional "?bbslist" query to return the names in the local sbbslist.json
      Also "?bbs:<name>" to return the JSON representation of a specific BBS entry
    - Work-around xtrn_area.prog[] bug where array items could be a non-object
      (e.g. just 'true' in this case) if the user (no user in this case) did not
      meet the configured access requirements for the external program in question
      so the action value in the node/active-user reports would say
      "running undefined" - just display the internal code instead of the full
      name if this the xtrn_area.prog[code] is undefined (bug fixed in v3.17c).
    - The ?active-users.json response now includes the numeric node 'action'
      value (for possibly localization in the future), the 'xtrn' name, when
      appropriate, and the current node.aux value. These fields are not currently
      used by the client (sbbsimsg*.js), but may in the future, mainly for
      localization/translation or beautification purposes.
  275. rswindell
    Fri Jan 04 2019 10:33 pm PST

    Modified Files:
    src/sbbs3/js_xtrn_area.c 1.30 1.31 diff

    Log Message:
    Fix a couple of bugs in the xtrn_area.sec[] and xtrn_area.prog[] arrays:
    if the current user did not meet the access requirements, the corresponding
    element if these associative arrays would be a random JS value, not the
    actual program/section object.
  276. echicken
    Fri Jan 04 2019 09:38 pm PST

    Modified Files:
    xtrn/ansiview/ecbbs.js 1.2 1.3 diff

    Log Message:
    Fixed HTTPRequest.Get call, so this will actually fetch a file to display. :|
  277. rswindell
    Fri Jan 04 2019 05:56 pm PST

    Modified Files:
    src/sbbs3/dupefind.c 1.5 1.6 diff

    Log Message:
    Fix filebase index filename extension for case-sensitive file systems
    (i.e. *nix) - I guess nobody really uses this utility.
    Incremented version to 1.02.
  278. rswindell
    Fri Jan 04 2019 03:18 pm PST

    Modified Files:
    src/sbbs3/websrvr.c 1.675 1.676 diff

    Log Message:
    Fixed typo in error message.
  279. rswindell
    Fri Jan 04 2019 02:15 pm PST

    Modified Files:
    src/sbbs3/logfile.cpp 1.64 1.65 diff

    Log Message:
    Partially revert the change in rev 1.63: eprintf() does not log the
    <useron alias>, so we need to include it in the log message here if we
    want the current user's alias included in event related log messages
    (e.g. unpacking QWK-REP packages).
  280. rswindell
    Fri Jan 04 2019 02:12 pm PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.483 1.484 diff

    Log Message:
    Log the currently logged-in user name along with any "!ERROR ... removing"
    error messages.
  281. rswindell
    Fri Jan 04 2019 02:08 pm PST

    Modified Files:
    src/sbbs3/mailsrvr.c 1.680 1.681 diff

    Log Message:
    Return a 250 "ok" response to mail received-and-forwarded rather than the
    251 response which was made optional in RFC2821 - to address privacy
    concerns.
  282. rswindell
    Fri Jan 04 2019 02:05 pm PST

    Modified Files:
    src/sbbs3/sbbsdefs.h 1.230 1.231 diff

    Log Message:
    Increment current revision (to 'c').
  283. rswindell
    Thu Jan 03 2019 01:11 pm PST

    Modified Files:
    exec/certtool.js 1.2 1.3 diff

    Log Message:
    Fix SyntaxError: unterminated string literal
  284. rswindell
    Wed Jan 02 2019 07:33 pm PST

    Modified Files:
    exec/GNUmakefile 1.10 1.11 diff
    exec/Makefile 1.7 1.8 diff

    Log Message:
    Removed the WIP modules (wiplogin, wipshell) - not used by anyone. Ever.
  285. nightfox
    Wed Jan 02 2019 12:45 pm PST

    Modified Files:
    xtrn/DDMsgReader/DDMsgReader.js 1.123 1.124 diff
    xtrn/DDMsgReader/readme.txt 1.19 1.20 diff
    xtrn/DDMsgReader/revision_history.txt 1.6 1.7 diff

    Log Message:
    Removed the 'beta' status from the version to (1.17), now that Synchronet 3.17b has been officially released.
  286. nightfox
    Wed Jan 02 2019 12:38 pm PST

    Modified Files:
    xtrn/slyvote/readme.txt 1.2 1.3 diff
    xtrn/slyvote/slyvote.js 1.3 1.4 diff

    Log Message:
    Updated SlyVote's version to 1.00, now that Synchroent 3.17b has been officially released
  287. rswindell
    Tue Jan 01 2019 11:12 pm PST

    Added Files:
    text/synch.ans NONE 1.1 diff

    Log Message:
    Adding ANSI file that echicken's web interface v4 uses by default as an
    ftelnet splash screen: grymmjack's "SYNCH" original ANSI art.
  288. rswindell
    Tue Jan 01 2019 01:17 pm PST

    Modified Files:
    src/sbbs3/ctrl/sbbsctrl.res 1.13 1.14 diff

    Log Message:
    Increased rev to 'b' (v3.17b).
    Incremented copyright year to 2019.
  289. rswindell
    Tue Jan 01 2019 07:02 am PST

    Modified Files:
    ctrl/modopts.ini 1.25 1.26 diff

    Log Message:
    Don't allow Guest accounts to add BBS entries to the sbbslist.
  290. rswindell
    Tue Jan 01 2019 06:59 am PST

    Modified Files:
    exec/sbbslist.js 1.42 1.43 diff

    Log Message:
    Don't crash when the 'E'dit and 'R'emove commands are used with an empty
    list.
  291. rswindell
    Tue Jan 01 2019 06:40 am PST

    Modified Files:
    exec/logon.js 1.35 1.36 diff

    Log Message:
    Don't need the loadfonts.js wrapper here, just load fonts.js directly here.
  292. rswindell
    Tue Jan 01 2019 06:37 am PST

    Modified Files:
    src/sbbs3/ctrl/AboutBoxFormUnit.dfm 1.20 1.21 diff
    src/sbbs3/ctrl/sbbsctrl.bpr 1.47 1.48 diff

    Log Message:
    Increased rev to 'b' (v3.17b).
    Incremented copyright year to 2019.
  293. rswindell
    Tue Jan 01 2019 06:36 am PST

    Modified Files:
    src/sbbs3/sbbsdefs.h 1.229 1.230 diff

    Log Message:
    Increased rev to 'b' (v3.17b).
    Incremented copyright year to 2019.
  294. rswindell
    Tue Jan 01 2019 06:33 am PST

    Modified Files:
    ctrl/fonts.ini 1.1 1.2 diff

    Log Message:
    Make the default 16-pixel high-intensity font 'courier' rather than 'digital'
    (some people complain that number 1 looks like a pipe symbol).
  295. rswindell
    Tue Jan 01 2019 05:38 am PST

    Modified Files:
    exec/str_cmds.js 1.44 1.45 diff

    Log Message:
    Allow filename argument to "EDIT" string command.
  296. rswindell
    Tue Jan 01 2019 05:37 am PST

    Modified Files:
    exec/sbbsimsg.js 1.33 1.34 diff

    Log Message:
    Display the list (-l option) header in here.
    Reduce default poll timeout to 2.5 seconds.
  297. rswindell
    Tue Jan 01 2019 05:32 am PST

    Modified Files:
    exec/sbbslist.js 1.41 1.42 diff

    Log Message:
    If you "sbbslist update" but the BBS isn't listed, don't return an error
    (-1), since new installs won't yet be listed in their own database (yet).
  298. rswindell
    Tue Jan 01 2019 05:20 am PST

    Modified Files:
    install/FILE_ID.DIZ 1.9 1.10 diff
    install/install.iss 1.4 1.5 diff

    Log Message:
    Updated for v3.17b installer package (for Windows).
  299. rswindell
    Tue Jan 01 2019 05:15 am PST

    Modified Files:
    docs/install.rtf 1.12 1.13 diff

    Log Message:
    Updated for v3.17.
  300. rswindell
    Tue Jan 01 2019 04:58 am PST

    Modified Files:
    exec/logon.js 1.34 1.35 diff

    Log Message:
    Beautification: moved the "Create Guest/Anonymous user account" prompt
    to before the last users and avatar display.
    Removed the "WIPSHELL" thing.
  301. rswindell
    Tue Jan 01 2019 04:38 am PST

    Modified Files:
    web/root/index.ssjs 1.35 1.36 diff

    Log Message:
    Removed the Java Telnet and the rlogin:// link from the index page, by default
    (just commented out, so easy to put back if you really want/need these).
  302. rswindell
    Tue Jan 01 2019 04:36 am PST

    Modified Files:
    ctrl/file.cnf 1.16 1.17 diff
    ctrl/main.cnf 1.13 1.14 diff
    ctrl/xtrn.cnf 1.37 1.38 diff

    Log Message:
    The latest and greatest stock configs, but since they're binary files - not
    easy to determine exactly all what I changed. :-(
  303. rswindell
    Tue Jan 01 2019 04:33 am PST

    Modified Files:
    ctrl/sbbs.ini 1.78 1.79 diff

    Log Message:
    Enable SMTPS and POP3S by default.
  304. rswindell
    Tue Jan 01 2019 04:32 am PST

    Modified Files:
    ctrl/json-service.ini 1.17 1.18 diff

    Log Message:
    Added the tw2 db section (for TradeWars 2 door game).
  305. rswindell
    Tue Jan 01 2019 04:28 am PST

    Modified Files:
    ctrl/services.ini 1.12 1.13 diff

    Log Message:
    Added NNTPS section (disabled by default)
    Disable the following unused services by default:
    - MSP-UDP
    - Finger-UDP
    - Hotline
    - Hotline-TRANS
    - FlashPolicy
    
    Added BINKP service section, disabled by default.
    
    Added WS (WebSockets) and WSS (WebSockets Secure) service sections,
    enabled by default.
  306. rswindell
    Tue Jan 01 2019 04:25 am PST

    Modified Files:
    ctrl/modopts.ini 1.24 1.25 diff

    Log Message:
    Enable rlogin_auto_xtrn for the logon module, by default.
    Removed the obsolete [ecweb] section.
    Added the [web] (echicken's web interface v4) section with default values.
  307. rswindell
    Tue Jan 01 2019 04:07 am PST

    Removed Files:
    exec/NONE wipshell.src 1.8 diff

    Log Message:
    Remove obsolete WIP-related Baja login module and command shell.
  308. rswindell
    Tue Jan 01 2019 02:56 am PST

    Modified Files:
    src/sbbs3/qwk.cpp 1.86 1.87 diff

    Log Message:
    When failing to import vote-msgs or poll-closure-msgs from a QWKnet hub,
    change the errormsg() call to just a debug-level log message. These failures
    are expected if the local system (QWKnet node) didn't get the original poll
    message, for example.
    Continue to log these errors when encountered on a QWKhub (where they are
    less expected since a hub should normally have a deeper history of
    messages/polls than nodes will).
  309. rswindell
    Tue Jan 01 2019 02:31 am PST

    Modified Files:
    text/menu/qwk.asc 1.3 1.4 diff

    Log Message:
    Removed the Ctrl-AZ code from this file (no needed and no-longer is used
    to mark a premature EOF). The Ctrl-Z in the SAUCE record terminates the
    display of this file just fine now.
  310. rswindell
    Tue Jan 01 2019 02:12 am PST

    Modified Files:
    xtrn/dicewarz/lock.js 1.4 1.5 diff

    Log Message:
    Fixed warning: Deprecated file open mode: 'e' (replaced with 'x')
  311. rswindell
    Mon Dec 31 2018 08:40 pm PST

    Modified Files:
    src/sbbs3/scfg/scfg.c 1.99 1.100 diff

    Log Message:
    Fixed typo: deprecated, not depreciated.
  312. rswindell
    Mon Dec 31 2018 08:39 pm PST

    Modified Files:
    src/sbbs3/umonitor/umonitor.c 1.86 1.87 diff

    Log Message:
    Fixed typo: deprecate, not depreciated.
  313. rswindell
    Mon Dec 31 2018 08:39 pm PST

    Modified Files:
    src/sbbs3/uedit/uedit.c 1.57 1.58 diff

    Log Message:
    Fixed typo: deprecate, not depreciated.
  314. rswindell
    Mon Dec 31 2018 08:38 pm PST

    Modified Files:
    src/sbbs3/scfg/scfg.c 1.98 1.99 diff

    Log Message:
    Fixed typo: deprecate, not depreciated.
  315. rswindell
    Mon Dec 31 2018 08:38 pm PST

    Modified Files:
    src/sbbs3/websrvr.c 1.674 1.675 diff

    Log Message:
    Fixed typo: deprecated, not depreciated.
  316. rswindell
    Mon Dec 31 2018 08:13 pm PST

    Modified Files:
    ctrl/main.cnf 1.12 1.13 diff
    ctrl/xtrn.cnf 1.36 1.37 diff

    Log Message:
    Added AnsiView, Ctrl-P/privatemsg globa hotkey, and tw2.js
  317. rswindell
    Mon Dec 31 2018 07:27 pm PST

    Modified Files:
    ctrl/sbbs.ini 1.77 1.78 diff

    Log Message:
    Added new (advanced) option flag: NO_NEWDAY_EVENTS
    Unless you're running multiple instances of sbbs, you probably don't want
    to enable this.
  318. rswindell
    Mon Dec 31 2018 07:26 pm PST

    Modified Files:
    ctrl/modopts.ini 1.23 1.24 diff

    Log Message:
    A couple new(ish) login.js options:
    - login_prompts (default: 10 prompts)
    and
    - inactive_hangup (default: 30 seconds)
  319. rswindell
    Sun Dec 30 2018 10:39 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.137 1.138 diff

    Log Message:
    Fixed GCC warning: format '%d' expects argument of type 'int', but argument 5 
    has type 'size_t'
  320. rswindell
    Sun Dec 30 2018 10:37 pm PST

    Modified Files:
    src/sbbs3/readmail.cpp 1.84 1.85 diff

    Log Message:
    Fixed GCC compile error: invalid conversion from 'const char*' to 'char*'
  321. rswindell
    Sun Dec 30 2018 12:40 am PST

    Modified Files:
    src/sbbs3/readmail.cpp 1.83 1.84 diff
    src/sbbs3/sbbs.h 1.497 1.498 diff
    src/sbbs3/text_defaults.c 1.53 1.54 diff

    Log Message:
    Pass the sort order ("newest" or "oldest" first) as an arg when printing the
    Mail.*LstHdr text strings.
  322. rswindell
    Sun Dec 30 2018 12:32 am PST

    Modified Files:
    ctrl/text.dat 1.91 1.92 diff

    Log Message:
    Some 40-column fixes and a new "order" ("newest" or "oldest") argument to
    the mail LstHdr text strings.
  323. rswindell
    Sun Dec 30 2018 12:28 am PST

    Modified Files:
    exec/email_sec.js 1.5 1.6 diff

    Log Message:
    Add the LM_REVERSE load/read_mail() flag (list newest mail first) for the 
    'R' and 'K' commands. Maybe this should be a sticky user preference
    (e.g. in the user property .ini file)?
  324. rswindell
    Sun Dec 30 2018 12:12 am PST

    Modified Files:
    exec/load/sbbsdefs.js 1.82 1.83 diff

    Log Message:
    Added the LM_REVERSE load/read_mail() mode flag definition (from sbbsdef.h).
  325. rswindell
    Sun Dec 30 2018 12:10 am PST

    Modified Files:
    src/sbbs3/readmail.cpp 1.82 1.83 diff

    Log Message:
    Don't hard-code the LM_REVERSE (newest-first) loadmail() mode, let the caller
    decide that.
  326. rswindell
    Sat Dec 29 2018 11:01 pm PST

    Modified Files:
    text/menu/allmail.asc 1.2 1.3 diff
    text/menu/mailread.asc 1.6 1.7 diff

    Log Message:
    Added the '!' - reverse list order, menu option
  327. rswindell
    Sat Dec 29 2018 10:50 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.136 1.137 diff

    Log Message:
    Re-factored the internal text/message editor (msgeditor) to use the str_list_t
    data-type and API. This works better for terminals < 80 cols in width and has
    some other improvements with inserting/deleting lines using the arrow keys,
    but still not great.
    No longer does tab-expansion on text read from a file - may want to add that
    back in <shrug>.
  328. rswindell
    Sat Dec 29 2018 09:33 pm PST

    Modified Files:
    src/sbbs3/main.cpp 1.739 1.740 diff

    Log Message:
    Change the "unpack REP" log messgae prefix to "unpackREP" instead of "unQWK".
  329. rswindell
    Sat Dec 29 2018 09:23 pm PST

    Modified Files:
    src/sbbs3/readmail.cpp 1.81 1.82 diff

    Log Message:
    Reverse the mail list order (newest first) by default.
    Added a command key (!) to reverse the mail list sort order.
  330. rswindell
    Sat Dec 29 2018 08:33 pm PST

    Modified Files:
    src/sbbs3/getmail.c 1.19 1.20 diff
    src/sbbs3/sbbsdefs.h 1.228 1.229 diff

    Log Message:
    Added a loadmail() mode flag: LM_REVERSE which, if used, will reverse the
    normal (chronological) order of the returned mail indexes.
  331. rswindell
    Sat Dec 29 2018 06:14 pm PST

    Modified Files:
    src/smblib/smbfile.c 1.12 1.13 diff

    Log Message:
    Fixed typo in comment.
  332. rswindell
    Sat Dec 29 2018 06:09 pm PST

    Modified Files:
    src/xpdev/str_list.c 1.49 1.50 diff

    Log Message:
    strListFree() will no longer try to dereference the pointer argument if it's NULL.
  333. nightfox
    Sat Dec 29 2018 03:29 pm PST

    Modified Files:
    xtrn/slyvote/readme.txt 1.1 1.2 diff
    xtrn/slyvote/slyvote.js 1.2 1.3 diff

    Log Message:
    Version 0.39 beta: Made use of file_cfgname() when looking for and loading the configuration file.
  334. nightfox
    Thu Dec 27 2018 09:10 pm PST

    Modified Files:
    xtrn/slyvote/slyvote.js 1.1 1.2 diff

    Log Message:
    Now uses slyvote.cfg (all lowercase) for the configuration filename, to match the recent rename that was done.  This probably would only affect systems running in Linux and other systems that have case-sensitive filesystems.
  335. rswindell
    Thu Dec 27 2018 07:38 pm PST

    Modified Files:
    src/sbbs3/js_internal.c 1.87 1.88 diff

    Log Message:
    Fixed typo in JSDOC description of js.load_path_list property.
  336. rswindell
    Mon Dec 24 2018 06:48 pm PST

    Modified Files:
    exec/str_cmds.js 1.43 1.44 diff

    Log Message:
    Added a "EVENT" string command to force a timed event to execute. If the
    event code is not passed as a parameter, the available (enabled) timed events
    are displayed and the sysop can choose the proper one by number.
    This change requires the latest (as of now) load/sbbsdefs.js.
    Also updated a lot of the parameter prompting to actually indicate the kind of
    parameter string that is being asked for (e.g. "QWKnet ID" instead of just 
    "Parameter(s)").
  337. rswindell
    Mon Dec 24 2018 06:39 pm PST

    Modified Files:
    exec/letsyncrypt.js 1.33 1.34 diff

    Log Message:
    Added some file.open/create failure handling/logging - just in case.
  338. rswindell
    Mon Dec 24 2018 06:30 pm PST

    Modified Files:
    exec/load/sbbsdefs.js 1.81 1.82 diff

    Log Message:
    Fixed previous commit (this ain't C).
  339. rswindell
    Mon Dec 24 2018 06:29 pm PST

    Modified Files:
    exec/load/sbbsdefs.js 1.80 1.81 diff

    Log Message:
    Added xtrn_area.event[].settings bit-flag values (EVENT_*) froms sbbsdefs.h
  340. nightfox
    Sun Dec 23 2018 11:25 pm PST
    exec/load DDLightbarMenu.js 1.25 NONE
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4844
    
    Removed Files:
    	DDLightbarMenu.js 
    Log Message:
    Renamed DDLightbarMenu.js to dd_lightbar_menu.js to be more in line with other filenames in the Synchronet repository
  341. nightfox
    Sun Dec 23 2018 07:58 pm PST

    Added Files:
    xtrn/slyvote/readme.txt NONE 1.1 diff
    xtrn/slyvote/slyvote.cfg NONE 1.1 diff
    xtrn/slyvote/slyvote.js NONE 1.1 diff

    Log Message:
    Renamed SlyVote to slyvote (all lowercase) to be inline with the other files in the Synchronet repository.  Also, SlyVote now uses the updated dd_lightbar_menu.js filename (in sbbs/exec/load) rather than DDLightbarMenu.js.
  342. nightfox
    Sun Dec 23 2018 07:57 pm PST
    xtrn/slyvote - New directory NONE NONE
    Update of /cvsroot/sbbs/xtrn/slyvote
    In directory cvs:/tmp/cvs-serv14823/slyvote
    
    Log Message:
    Directory /cvsroot/sbbs/xtrn/slyvote added to the repository
  343. nightfox
    Sun Dec 23 2018 07:56 pm PST

    Added Files:
    exec/load/dd_lightbar_menu.js NONE 1.1 diff

    Log Message:
    Renamed DDLightbarMenu.js to dd_lightbar_menu.js to be more inline with the other filenames in the Synchronet CVS repository
  344. nightfox
    Sun Dec 23 2018 07:53 pm PST

    Removed Files:
    xtrn/SlyVote/NONE SlyVote.js 1.56 diff
    xtrn/SlyVote/NONE readme.txt 1.15 diff

    Log Message:
    Removing SlyVote to rename it to slyvote (all lowercase) to be in line with other files in the Synchronet CVS repository
  345. rswindell
    Sat Dec 22 2018 02:52 pm PST

    Modified Files:
    exec/str_cmds.js 1.42 1.43 diff

    Log Message:
    Resolve error reported by Ragnarok when no arg supplied to "NS" command:
    !JavaScript  /sbbs/exec/str_cmds.js line 166: Error: can't convert
    parseInt(str) to an integer
  346. echicken
    Sat Dec 22 2018 09:28 am PST

    Modified Files:
    xtrn/ansiview/ansiview.js 1.27 1.28 diff

    Log Message:
    Ditched isSyncTerm(); cterm_lib exists now.
    Reinstated root directory variable, it actually helps in some cases.
  347. echicken
    Fri Dec 21 2018 11:10 pm PST

    Modified Files:
    xtrn/ansiview/ecbbs.js 1.1 1.2 diff

    Log Message:
    Useless 'root' variable was just js.exec_dir anyway.
    I don't remember. Whisky. This thing is weird.
  348. echicken
    Fri Dec 21 2018 11:07 pm PST

    Modified Files:
    xtrn/ansiview/ansiview.js 1.26 1.27 diff

    Log Message:
    Fixed busted screen pause in throttled display for non-cterms.
    Don't delete non-property 'image' variable; set it to undefined instead.
    Removed some convoluted and extraneous things I did years ago.
    Various non-functional formatting things since I'm bored.
  349. echicken
    Fri Dec 21 2018 07:08 am PST

    Modified Files:
    exec/tickit.js 1.51 1.52 diff

    Log Message:
    Unmisplace misplaced quotation mark in addfiles command line for uploader's name.
    Spotted and fixed by Mark Lewis.
  350. rswindell
    Thu Dec 20 2018 06:32 pm PST

    Modified Files:
    web/lib/msgslib.ssjs 1.61 1.62 diff

    Log Message:
    Include ':' in the list of valid characters for a URL 'path' element. This
    fixes the rendering of links like this one:
    http://wiki.synchro.net/module:avatars
  351. rswindell
    Wed Dec 19 2018 07:03 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.135 1.136 diff

    Log Message:
    Remove trailing whitespace off the end of original messages when creating
    quote files (ain't nobody got time for that!).
  352. rswindell
    Wed Dec 19 2018 01:34 am PST

    Modified Files:
    ctrl/sockopts.ini 1.6 1.7 diff

    Log Message:
    Important update to the default TCP socket values defined in this file:
    - no longer override the default send and receive socket buffers (limiting
      to 8Kbytes) - apparently modern TCP/IP stacks can use much larger buffers
      for sending large data more effeciently (quickly) over fast networks.
      Eliminating these 2 lines sped up the web server (e.g. wiki.synchro.net)
      page loads by a factor of 20+.
    - enable TCP_NODELAY (disabling the Nagle algorithm) for *all* TCP sockets
      by default (not just telnet and rlogin servers).
      This helps performance of large data transfers a little bit too.
    
    Big thanks to Deuce (!) for helping to debug and identify the cause of the
    poor performance of the web server. I'm not sure why I/we were overriding
    the default send/receive buffers but the old sockopts.cfg file introduced
    in 2003 had 4Kbyte buffer sizes specified, and then when we switched to
    sockopts.ini in 2005, the buffer sizes were increased to 8Kbytes. This might
    have been the defaults for say, the Windows TCP/IP stack at the time, I
    forget where I got those numbers from. Anyway, we shouldn't override them
    without a good reason. And today, we definitely don't have a good reason
    that I'm aware of. The default buffer sizes perform *much* better!
  353. rswindell
    Tue Dec 18 2018 03:21 pm PST

    Modified Files:
    src/sbbs3/sbbsecho.c 3.100 3.101 diff

    Log Message:
    Change requested by Mark Lewis: accept area manager (areafix) netmail
    requests sent to "SBBSecho" again. SBBSecho used to allow this back in
    v3.02 (Nov-2017) and earlier versions, but was removed for loop-safety
    since AreaMgr notifications and responses are sent from "SBBSecho", but
    we have bot-loop protection built in, so that should be okay.
  354. rswindell
    Tue Dec 18 2018 03:10 pm PST

    Modified Files:
    src/sbbs3/sbbsecho.c 3.99 3.100 diff

    Log Message:
    Log a notice-level message when adding a new area to the unknown/bad area list.
  355. rswindell
    Tue Dec 18 2018 12:53 pm PST

    Modified Files:
    src/sbbs3/websrvr.c 1.673 1.674 diff

    Log Message:
    Header field values may (usually do) have leading linear white-space, so
    skip any spaces before parsing the value (for CGI supplied headers).
  356. deuce
    Tue Dec 18 2018 10:25 am PST

    Modified Files:
    src/sbbs3/websrvr.c 1.672 1.673 diff

    Log Message:
    1xx, 204, and 304 responses don't include an entity.
    
    If we get one of these statuses from via a CGI, assume we have good headers.
  357. echicken
    Mon Dec 17 2018 08:58 am PST

    Modified Files:
    exec/binkit.js 2.13 2.14 diff

    Log Message:
    Moved point-scan into its own routine (addPoints).
    Run addPoints against oroot (outbound) and any of its derivatives (outbound.002, etc.).
    Should now find point directories in various outbounds.
  358. echicken
    Mon Dec 17 2018 08:44 am PST

    Modified Files:
    exec/binkit.js 2.12 2.13 diff

    Log Message:
    Corrected pattern ('.pnt' to '*.pnt') when scanning for point dirs
    in outbound dirs.
    There remains a problem where only 'outbound.*' dirs will be scanned
    for points, and points in 'outbound' (sans extension, ie. zone 1) will
    not be found.
  359. echicken
    Mon Dec 17 2018 07:32 am PST

    Modified Files:
    exec/tickit.js 1.50 1.51 diff

    Log Message:
    Different log messages for absent vs. mismatched Replaces line.
  360. rswindell
    Sun Dec 16 2018 10:02 pm PST

    Modified Files:
    src/sbbs3/un_qwk.cpp 1.53 1.54 diff
    src/sbbs3/un_rep.cpp 1.67 1.68 diff

    Log Message:
    Don't save "extra" files included in QWK/REP packets if they are blocked via
    the file.can. Log a message when receiving or filtering files received via
    QWK/REP.
  361. rswindell
    Sun Dec 16 2018 10:01 pm PST

    Modified Files:
    exec/nntpservice.js 1.128 1.129 diff

    Log Message:
    NNTP actually defined a way to represent moderated message areas - I. Did.
    Not. Realize. That. - now fixed in the "LIST" and "NEWGROUPS" responses
    (not that anyone actually uses the moderated message area feature of sbbs).
    
    And just for Nelgin:
    I added a -novotes experimental command-line option which if used, will
    execute votes from the first & last message numbers included in the "LIST"
    response. I'm curious if that makes any difference with tin (news reader) -
    it will definitely slow down the response of the "LIST" command, so don't
    use this "feature" without purpose.
  362. deuce
    Sun Dec 16 2018 01:04 am PST

    Modified Files:
    exec/jsdocs.js 1.36 1.37 diff

    Log Message:
    Fix shit.
  363. rswindell
    Sat Dec 15 2018 04:46 am PST

    Modified Files:
    src/sbbs3/getmail.c 1.18 1.19 diff

    Log Message:
    Use a one-second timeout (rather than the configured message base open/lock
    timeout) when opening the mail base for statistics purposes. This should
    solve the problem of long delays during logon or sbbsctrl shutdown while
    mail base maintenance is being performed.
  364. rswindell
    Fri Dec 14 2018 08:50 pm PST

    Modified Files:
    src/sbbs3/putmsg.cpp 1.42 1.43 diff

    Log Message:
    Fix bug when the @center@ code when displaying files that contain Unix-style
    line endings (sole-LF) instead of CR/LF line endings.
    Thanks to Mark Lewis (wkitty42) for the bug report!
  365. rswindell
    Wed Dec 12 2018 12:29 pm PST

    Modified Files:
    src/sbbs3/xtrn.cpp 1.239 1.240 diff

    Log Message:
    Improved error log messages:
    - include errno description (strerror output)
    - exclude (redundant) node number
  366. rswindell
    Wed Dec 12 2018 12:27 pm PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.482 1.483 diff
    src/sbbs3/jsexec.c 1.200 1.201 diff
    src/sbbs3/mailsrvr.c 1.679 1.680 diff
    src/sbbs3/ntsvcs.c 1.49 1.50 diff
    src/sbbs3/sbbscon.c 1.271 1.272 diff
    src/sbbs3/services.c 1.325 1.326 diff
    src/sbbs3/writemsg.cpp 1.134 1.135 diff

    Log Message:
    Improved error log messages:
    - include errno description (strerror output)
    - exclude (redundant) node number
  367. echicken
    Mon Dec 10 2018 01:38 pm PST

    Modified Files:
    exec/tickit.js 1.49 1.50 diff

    Log Message:
    Don't assume the link's gender.  This may be a sausagefest but we can
    always pretend otherwise.
  368. echicken
    Mon Dec 10 2018 01:34 pm PST

    Modified Files:
    exec/tickit.js 1.48 1.49 diff

    Log Message:
    Make the 'no matching replaces line' error more descriptive.
  369. echicken
    Mon Dec 10 2018 08:00 am PST

    Modified Files:
    exec/load/fidocfg.js 1.34 1.35 diff

    Log Message:
    Revised private function get_bool in TickITCfg.
    Threw errors if 'val' was defined but non-string (no toUpperCase method).
  370. rswindell
    Fri Dec 07 2018 02:53 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.133 1.134 diff

    Log Message:
    Fix the previous commit: the original message is quotes (and QUOTES.TXT
    created) before this funciton is called, so we can't *always* delete
    the quote file. Delete it if restoring a draft or if quoting is disabled
    only.
  371. rswindell
    Fri Dec 07 2018 02:39 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.132 1.133 diff

    Log Message:
    Always delete the quotes file (e.g. QUOTES.TXT) before deciding if we are
    going to recover a draft message or quote a source message or whatever.
    Lingering QUOTES.TXT files interferred with recovering draft messages.
  372. rswindell
    Thu Dec 06 2018 03:29 pm PST

    Modified Files:
    src/sbbs3/websrvr.c 1.671 1.672 diff

    Log Message:
    Added TODO comment regarding the lack of a Content-Length header field
    in GET responses when Connection: Keep-Alive is not enabled.
  373. rswindell
    Wed Dec 05 2018 06:17 pm PST

    Modified Files:
    src/sbbs3/websrvr.c 1.670 1.671 diff

    Log Message:
    Added TODO comment regarding apparent RFC 2145 violation in the Status-Line
    HTTP-Version value we send (no functional change). My intepretation is we
    should be sending either nothing or "HTTP/1.1" here, never "HTTP/1.0". This
    interpretation appears to match the behavior of other web servers
    (e.g. Apache httpd).
  374. rswindell
    Mon Dec 03 2018 10:23 pm PST

    Modified Files:
    src/sbbs3/atcodes.cpp 1.85 1.86 diff

    Log Message:
    Added new @-code for Ragnarkok: SPLITP
    expands to "on" or "off" based on user's split-screen private chat setting.
  375. rswindell
    Mon Dec 03 2018 12:47 pm PST

    Modified Files:
    src/sbbs3/atcodes.cpp 1.84 1.85 diff

    Log Message:
    Added new @-codes requested by Ragnarkok:
    PAGER (expands to "on" or "off" to indicate chat page enable status)
    ALERTS (expands to "on or "off" to indicate activity alert enable status)
  376. echicken
    Fri Nov 23 2018 10:38 pm PST

    Modified Files:
    exec/load/fidoaddr.js 1.1 1.2 diff

    Log Message:
    Rewrite of parse method.
    Handle 5D addresses (with or without point component).
    Validate numeric address components and domains per FSP-1028.
    Return value (if an object) now contains 'domain' property (if present).
    Should fix processing of TICs with associated 5D addresses.
    Introduces an unwieldy and overwrought regex.  Unf unf.
    May break the entirety of fidomicrocyberchatnet.
  377. rswindell
    Fri Nov 23 2018 05:05 pm PST

    Modified Files:
    exec/nntpservice.js 1.127 1.128 diff

    Log Message:
    'tin' apparently uses the 'high water mark' field in the GROUP response for
    "new message" detection (not the total number of articles) - so use the last
    non-vote message number as the high water mark, not the msgbase.last_msg
    value. For nelgin - Happy Turkey!
  378. rswindell
    Fri Nov 23 2018 09:59 am PST

    Modified Files:
    src/sbbs3/echocfg.c 3.37 3.38 diff

    Log Message:
    A little more complete description of Fuzzy Zone operation.
  379. rswindell
    Fri Nov 23 2018 09:58 am PST

    Modified Files:
    src/sbbs3/sbbsecho.c 3.98 3.99 diff

    Log Message:
    Fuzzy Zone operation: make the implementation match the feature
    description/documentation more closely. That is, if there is an INTL kludge
    line in the incoming netmail message, there will be no "fuzzy" zone matching.
    This means that Fuzzy Zone operation will only apply to netmail messages that
    do *not* have an INTL kludge line (which specifies the source and destination
    zones already). This solves the problem reported by Mark Lewis with
    unexpected Fuzzy Zone behavior (when enabled), it was over-riding the
    source zone number even though it was specified (via INTL kludge) in the
    original netmail message body.
  380. rswindell
    Fri Nov 23 2018 09:18 am PST

    Modified Files:
    src/sbbs3/main.cpp 1.738 1.739 diff

    Log Message:
    Cosmetic fixes to timed event logging (the event code part of the log messages)
  381. rswindell
    Fri Nov 23 2018 09:08 am PST

    Modified Files:
    src/sbbs3/nopen.c 1.29 1.30 diff

    Log Message:
    Changed the yeild in the fcopy() loop to a "maybe yeild", sacrificing a bit of
    CPU utilization to get a large file copy completed quicker.
  382. rswindell
    Tue Nov 20 2018 09:36 am PST

    Modified Files:
    exec/nntpservice.js 1.126 1.127 diff

    Log Message:
    Fix problem reported by Nelgin:
    The GROUP command reports the total number of articles in a group and we
    were returning the total number of message indexes/headers, which includes
    vote messages (not retrievable/viewable via NNTP) and messages flagged for
    deletion (not retrievable/viewable via NNTP). So, count the actual
    number of non-vote/deleted messages (index records) to use in the GROUP
    response.
  383. rswindell
    Sun Nov 18 2018 03:03 pm PST

    Modified Files:
    exec/sbbsimsg.js 1.32 1.33 diff

    Log Message:
    Fix the "undefined" age and sex (gender) values when listing systems that
    support active-users.json queries but don't report age and gender.
  384. rswindell
    Sun Nov 18 2018 06:53 am PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.481 1.482 diff

    Log Message:
    Hackety-hack-hack... hack
    So I tested the following cases, which all pass:
    cwd diralias -> 250 CWD command successful.
    cwd /diralias -> 250 CWD command successful.
    cwd /diralias/ -> 250 CWD command successful.
    cwd /diralias/filename -> 550 filename: No such directory.
    cwd /filealias -> 550 filealias: No such diretory.
    cwd /filealias/ -> 550 : No such diretory.
    retr filealias -> 150 Opening BINARY mode data connection for file transfer.
    retr /filealias -> 150 Opening BINARY mode data connection for file transfer.
    
    Hopefully is the end of the fixes for Chrome browser ftp weirdness
    (tries to "CWD" to anything/everything to determine if it's a file or not).
  385. rswindell
    Sat Nov 17 2018 06:55 am PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.480 1.481 diff

    Log Message:
    Fix a couple of problems introduced in the recent ftpalias() churn:
    - a CWD attempt to a /alias/filename would report 'success' to the client
      (Chrome web browser)
    - the ftpalias.cfg file was left open in some instances
  386. nightfox
    Sun Nov 11 2018 05:19 pm PST

    Modified Files:
    exec/SlyEdit.js 1.57 1.58 diff
    exec/SlyEdit_DCTStuff.js 1.17 1.18 diff
    exec/SlyEdit_IceStuff.js 1.25 1.26 diff
    exec/SlyEdit_Misc.js 1.44 1.45 diff

    Log Message:
    Version 1.62: Updated to save the message if the user disconnects, to support Synchronet's message draft feature that was added recently.
  387. rswindell
    Sun Nov 11 2018 02:28 pm PST

    Modified Files:
    src/syncdraw/load.c 1.6 1.7 diff

    Log Message:
    Attempt to address crash (segfault) reported by ragnarok, maybe
    buffer overflow caused by long-filenames (?) :
    
    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 31102)]
    strlen () at ../sysdeps/x86_64/strlen.S:106
    106../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0  strlen () at ../sysdeps/x86_64/strlen.S:106
    #1  0x00007ffff6f10da8 in _IO_vfprintf_internal (s=s@entry=0x7ffff0bc2230,
    format=<optimized out>, format@entry=0x55555558ec5c "%-12s ",
        ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2  0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a",
    format=0x55555558ec5c "%-12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
    #3  0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=31,
    fmat=0x55555558ec5c "%-12s ") at miscfunctions.c:560
    #4  0x000055555555e332 in load () at load.c:796
  388. rswindell
    Fri Nov 09 2018 05:26 pm PST

    Modified Files:
    exec/load/binkp.js 1.111 1.112 diff

    Log Message:
    Log the 'remote_addrs' value with each log message of LOG_ERR severity
    (yeah, those should all be LOG_ERR, not LOG_ERROR - oh well) since LOG_ERR
    messages go to the data/error.log and including this information is helpful
    to sysops that monitor this file and use it to help find/debug issues.
  389. rswindell
    Fri Nov 09 2018 05:20 pm PST

    Modified Files:
    exec/binkit.js 2.11 2.12 diff

    Log Message:
    Write BinkIT version string and arguments to .bsy files created by binkit.
    Log all the "Remote addresses" (array) with an INFO log level, for inbound
    connections (in the auth callback).
  390. rswindell
    Thu Nov 08 2018 09:52 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.131 1.132 diff

    Log Message:
    Don't save/restore 0-byte draft-messages.
    More log output when saving/restoring drafts of if there is an error doing so.
  391. rswindell
    Thu Nov 08 2018 07:19 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.130 1.131 diff

    Log Message:
    Store the draft message creation time stamp (just informational for now) and
    log a message when a draft message is saved.
  392. rswindell
    Thu Nov 08 2018 07:18 pm PST

    Modified Files:
    src/sbbs3/userdat.c 1.209 1.210 diff

    Log Message:
    Use the same .ini style settings for user_set_time_property().
  393. rswindell
    Thu Nov 08 2018 07:11 pm PST

    Modified Files:
    src/sbbs3/userdat.c 1.208 1.209 diff

    Log Message:
    Use a .ini style that matches load/userprops.js in user_set_property()
  394. rswindell
    Thu Nov 08 2018 05:02 pm PST

    Modified Files:
    exec/fseditor.js 1.89 1.90 diff

    Log Message:
    Detect if the user disconnects, save the file (draft in-progress) and return
    1 (indication of error).
  395. rswindell
    Thu Nov 08 2018 04:32 pm PST

    Modified Files:
    src/sbbs3/writemsg.cpp 1.129 1.130 diff

    Log Message:
    Every get disconnected in the middle of writing a message (post or email)
    and maybe lose all that eloquent prose you've painstakingly written? Well,
    Synchronet will now save your unsaved draft (assuming your editor saves it
    before exiting due to disconnetion) and will give you the option of
    restoring that draft when you attempt to email or post again within 48
    hours. The message's subject is saved/restored along with the draft body
    text as well. Drafts older than 48 hours are just ignored. This duration
    is currently hardcoded, but that could easily be changed.
  396. rswindell
    Thu Nov 08 2018 12:13 pm PST

    Modified Files:
    src/sbbs3/execfile.cpp 1.15 1.16 diff

    Log Message:
    Fix bug (typo) in previous commit of this file. Whoops! C is a funny language
    some times.
  397. rswindell
    Tue Nov 06 2018 07:55 pm PST

    Modified Files:
    src/sbbs3/userdat.c 1.207 1.208 diff
    src/sbbs3/userdat.h 1.68 1.69 diff

    Log Message:
    user_get_property() changed to include a 'maxlen' argument so that every
    buffer passed to it doesn't have to be INI_MAX_VALUE_LEN in size.
  398. rswindell
    Mon Nov 05 2018 11:50 pm PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.479 1.480 diff

    Log Message:
    Fix bug introduced in rev 1.478 which prevented aliased directories from
    being CWD'd (chdir'd) into.
    I resisted the temptation to convert ftpalias.cfg to a different (sane)
    format (e.g. .ini) at this time, but that really should be done.
    Oh, and I noticed that aliases don't work with "DIR" wildcards, so that's a
    bug that needs fixing too.
  399. rswindell
    Mon Nov 05 2018 10:06 pm PST

    Modified Files:
    src/sbbs3/msg_id.c 1.9 1.10 diff
    src/sbbs3/postmsg.cpp 1.115 1.116 diff
    src/sbbs3/sbbsecho.c 3.97 3.98 diff

    Log Message:
    Don't generate FTN message-IDs for messages imported via FTN that are missing a
    message-ID (e.g. when exporting from SBBSecho).
    This addresses compliance with this [editorialized] clause in FTS-9:
         No system
         should ever add an MSGID and/or REPLY to,  or modify an existing
         MSGID / REPLY contained in,  a message not originating on that [FTN]
         system.
     
    Messages gated from other networks (technically coming from another system,
    but originating into an FTN from this system) will still have an FTN Message-ID
    generated/added.
    
    Since SBBSecho normally tosses to downlinks directly from packets, this adding
    of generated Message-IDs would no normally occur. However, if a downlink
    rescanned an area, any messages missing Message-IDs would get them generated
    automatically and they would appear to have originating on the local system.
    This was never the intention, so this is just a long standing but infrequently
    observed (and never reported) bug.
  400. rswindell
    Mon Nov 05 2018 05:49 pm PST

    Modified Files:
    src/sbbs3/ctrl/ConfigWizardUnit.cpp 1.25 1.26 diff

    Log Message:
    This should fix the Windows sbbsctrl build subsequent to the smblib changes
    for Australian and New Zealand timezone abbreviations/value-macros.
  401. rswindell
    Sun Nov 04 2018 11:39 pm PST

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.478 1.479 diff

    Log Message:
    Fixed-up some log output messages:
    - user alias was missing from some messages or in the wrong place
    - added hostname and IP address to the "ILLEGAL FILENAME ATTEMPT" warnings
  402. rswindell
    Sun Nov 04 2018 03:55 pm PST

    Modified Files:
    src/sbbs3/sbbs.h 1.496 1.497 diff
    src/sbbs3/cmdshell.h 1.14 1.15 diff
    src/sbbs3/execmisc.cpp 1.56 1.57 diff

    Log Message:
    Resolve new GCC warnings:
    comparison between signed and unsigned integer expressions
  403. rswindell
    Sun Nov 04 2018 03:28 pm PST

    Modified Files:
    src/sbbs3/scfg/scfgsys.c 1.49 1.50 diff

    Log Message:
    Australian and New Zealand time zone fixups:
    "SYD" (Sydney) +10:00, is now "AEST" with a DST (+11:00) counterpart, AEDT.
    Added ACST (+9:30) with its DST (+10:30) counterpart, ACDT.
    "WEL" (Wellington) +12:00 is now "NZST" with a DST (+13:00) counterpart,
    NZDT.
  404. rswindell
    Sun Nov 04 2018 03:26 pm PST

    Modified Files:
    src/smblib/smbdefs.h 1.105 1.106 diff
    src/smblib/smbstr.c 1.31 1.32 diff

    Log Message:
    Australian and New Zealand time zone fixups:
    "SYD" (Sydney) +10:00, is now "AEST" with a DST (+11:00) counterpart, AEDT.
    Added ACST (+9:30) with its DST (+10:30) counterpart, ACDT.
    "WEL" (Wellington) +12:00 is now "NZST" with a DST (+13:00) counterpart,
    NZDT.
  405. rswindell
    Sun Nov 04 2018 12:16 pm PST

    Modified Files:
    src/sbbs3/scfg/scfgsys.c 1.48 1.49 diff

    Log Message:
    Apparently Wellington (NZ) has Daylight Time too.
  406. rswindell
    Sun Nov 04 2018 12:15 pm PST

    Modified Files:
    src/smblib/smbdefs.h 1.104 1.105 diff

    Log Message:
    Apparently Wellington (NZ) has Daylight Time too.
  407. deuce
    Fri Nov 02 2018 10:45 pm PDT

    Modified Files:
    src/sbbs3/exec.cpp 1.106 1.107 diff
    src/sbbs3/sbbs.h 1.495 1.496 diff

    Log Message:
    Fix new error with Clang 6.x:
    exec.cpp:438:8: error: case value evaluates to 2684500526, which cannot be narrowed to type 'int32_t' (aka 'int')
          [-Wc++11-narrowing]
                    case 0xA0023A2E:
                         ^
    
    The switch cases were unsigned, but the passed value was an int32.
  408. echicken
    Fri Nov 02 2018 10:49 am PDT

    Modified Files:
    exec/load/fido_syscfg.js 1.21 1.22 diff

    Log Message:
    Throw an error if the given 'node' doesn't pass fidoaddr.js' is_valid().
    Certain strings could cause infinite loops otherwise.
    (See previous commit, I was having CVS problems.)
  409. rswindell
    Wed Oct 31 2018 01:13 am PDT

    Modified Files:
    src/sbbs3/main.cpp 1.737 1.738 diff
    src/sbbs3/startup.h 1.82 1.83 diff

    Log Message:
    New BBS Option flag: NO_NEWDAY_EVENTS, which when set will cause daily
    maintenance and any system daily event to *not* execute in the event thread
    (i.e. very soon after midnight), but instead require a BBS user logon/off to
    initiate these daily tasks, or (as I use it) another instance of sbbs which
    is better suited to these daily tasks.
  410. rswindell
    Wed Oct 31 2018 01:09 am PDT

    Modified Files:
    src/sbbs3/getkey.cpp 1.50 1.51 diff

    Log Message:
    noyes() should return true (for "No") if passed a blank string, since "No" is
    default answer for these prompts.
  411. rswindell
    Wed Oct 31 2018 12:44 am PDT

    Modified Files:
    src/sbbs3/pack_qwk.cpp 1.80 1.81 diff

    Log Message:
    Still pack the QWK packet (i.e. with messages from sub-boards) even if the
    mail base can't be opened (e.g. it's locked for maintenance).
  412. rswindell
    Wed Oct 31 2018 12:31 am PDT

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.477 1.478 diff

    Log Message:
    Fix bug with filename aliases (in ftpalias.cfg) which caused an incompatility
    with Chrome (the browser). Chrome will attempt to "CWD" to a filename and if
    that filename was an alias from the ftpalias.cfg, we would return a
    successful (213) response - erroneously. The code did appear to check for
    this condition by calling ftpalias() with a NULL second (filename)
    parameter, but that didn't actually work. The 'alias+1' check for a slash
    appears to have (always?) been clearly wrong as a prefixed slash is already
    skipped (in the requested path) before calling ftpalias().
  413. rswindell
    Mon Oct 29 2018 08:16 pm PDT

    Modified Files:
    src/sbbs3/bulkmail.cpp 1.39 1.40 diff
    src/sbbs3/email.cpp 1.69 1.70 diff
    src/sbbs3/fido.cpp 1.63 1.64 diff
    src/sbbs3/msgtoqwk.cpp 1.52 1.53 diff
    src/sbbs3/netmail.cpp 1.51 1.52 diff
    src/sbbs3/postmsg.cpp 1.114 1.115 diff
    src/sbbs3/qwktomsg.cpp 1.68 1.69 diff
    src/sbbs3/readmsgs.cpp 1.107 1.108 diff
    src/sbbs3/writemsg.cpp 1.128 1.129 diff

    Log Message:
    Store the terminal width (in columns) of the text editor used to create the
    message text (when relevant and available) - this helps when re-wrapping the
    message text (e.g. for quoting) and not always guessing "80 columns".
  414. rswindell
    Mon Oct 29 2018 08:12 pm PDT

    Modified Files:
    src/smblib/smbdefs.h 1.103 1.104 diff
    src/smblib/smblib.c 1.182 1.183 diff
    src/smblib/smbstr.c 1.30 1.31 diff

    Log Message:
    Store the terminal width (in columns) of the text editor used to create the
    message text (when relevant and available) - this helps when re-wrapping the
    message text (e.g. for quoting) and not always guessing "80 columns".
  415. rswindell
    Mon Oct 29 2018 06:22 pm PDT

    Modified Files:
    src/sbbs3/con_out.cpp 1.92 1.93 diff
    src/sbbs3/download.cpp 1.53 1.54 diff
    src/sbbs3/petdefs.h 1.1 1.2 diff
    src/sbbs3/prntfile.cpp 1.30 1.31 diff
    src/sbbs3/putmsg.cpp 1.41 1.42 diff
    src/sbbs3/sbbs.h 1.494 1.495 diff
    src/sbbs3/sbbsdefs.h 1.227 1.228 diff
    src/sbbs3/xtrn.cpp 1.238 1.239 diff

    Log Message:
    External programs that are "binary" in nature (e.g. file transfer protocols)
    now have their output translated to PETSCII equivalents for PETSCII terminals
    (but input is not yet translated).
    .seq files are now sent untranslated via printfile() and putmsg() to PETSCII
    terminals (using the new P_PETSCII putmsg mode flag).
    .seq files (and P_PETSCII mode text printed via putmsg) is now converted
    (poorly) from PETSCII to CP437 - this is still a work-in-progress.
    Remove the remants of WIP and HTMLterm support from putmsg() and printfile().
  416. rswindell
    Sun Oct 28 2018 11:36 pm PDT

    Modified Files:
    src/sbbs3/writemsg.cpp 1.127 1.128 diff

    Log Message:
    Addressed issue introduced in last commit:
    File not found.
    d:\sbbs\text\menu/msgtabs.asc
  417. rswindell
    Sun Oct 28 2018 11:29 pm PDT

    Modified Files:
    src/sbbs3/sbbsecho.c 3.96 3.97 diff

    Log Message:
    Requested change by Mark Lewis:
    can we get a slight change in the sbbsecho code or maybe in echocfg so that
    when a link is set to passive, areafix notices are NOT sent to them even if
    "send notices" is specifically set to yes?
  418. rswindell
    Thu Oct 25 2018 11:19 pm PDT

    Modified Files:
    src/syncterm/telnet_io.c 1.32 1.33 diff

    Log Message:
    Improve compatibility with some crappy Telnet server (e.g. in C64 BBSes):
    Send CR/NUL for <Enter> rather than CR/LF. Although the Telnet spec (RFC854)
    requires that either combination be accepted as a single "new line" character,
    some Telnet servers treat CR and LF as separate input characters and do weird
    things (e.g. treat the LF as a second <Enter> key or <^J> or invalid input).
    If we ever come across a Telnet server that does something weird with CR/NUL
    (and works better receiving CRLF) then perhaps we'll need a configuration
    option. Hopefully not. Of course, in binary mode, none of this applies.
  419. rswindell
    Thu Oct 25 2018 10:16 pm PDT

    Modified Files:
    src/sbbs3/text_defaults.c 1.52 1.53 diff

    Log Message:
    Make the Ctrl-K menu more readable at 40-cols.
  420. rswindell
    Thu Oct 25 2018 10:15 pm PDT

    Modified Files:
    ctrl/text.dat 1.90 1.91 diff

    Log Message:
    Make the Ctrl-K menu more readable at 40-cols.
  421. rswindell
    Thu Oct 25 2018 08:40 pm PDT

    Modified Files:
    src/sbbs3/logon.cpp 1.67 1.68 diff

    Log Message:
    If the system is configure to not ask new user's if they have a color display,
    don't ask Guests (during logon) either.
    Removed some more WIP and HTMLterm support.
    Remove a couple unnecessary if (text[somethingQ][0]) checks.
  422. rswindell
    Thu Oct 25 2018 08:33 pm PDT

    Modified Files:
    src/sbbs3/chat.cpp 1.79 1.80 diff
    src/sbbs3/execfile.cpp 1.14 1.15 diff
    src/sbbs3/execmsg.cpp 1.10 1.11 diff
    src/sbbs3/getmsg.cpp 1.75 1.76 diff
    src/sbbs3/newuser.cpp 1.76 1.77 diff
    src/sbbs3/str.cpp 1.82 1.83 diff
    src/sbbs3/writemsg.cpp 1.126 1.127 diff

    Log Message:
    Use menu(..., P_NOERROR)'s result rather than calling menu_exists() and then
    menu() if it does (exist) and doing something else if it doesn't.
  423. rswindell
    Thu Oct 25 2018 08:25 pm PDT

    Modified Files:
    src/sbbs3/js_bbs.cpp 1.172 1.173 diff

    Log Message:
    bbs.menu() now returns Boolean (the menu file was displayed successfully)
  424. rswindell
    Thu Oct 25 2018 08:23 pm PDT

    Modified Files:
    src/sbbs3/js_console.cpp 1.120 1.121 diff

    Log Message:
    console.printfile() and printtail() now return Boolean.
  425. rswindell
    Thu Oct 25 2018 08:22 pm PDT

    Modified Files:
    src/sbbs3/logfile.cpp 1.63 1.64 diff
    src/sbbs3/main.cpp 1.736 1.737 diff
    src/sbbs3/sbbs.h 1.493 1.494 diff

    Log Message:
    Get rid of sbbs_t::syslog(). Stuff that isn't part of a terminal server session
    (a bbs "call") shouldn't be going in those log files (data/logs/<date>.log)
    anyway.
    Also, truncate the node.log if there was no successful login. We don't
    want all those failed login attempts and filtered IPs to clog up these
    log files. All those same messages go to (the normal) syslog() output anyway.
  426. rswindell
    Thu Oct 25 2018 07:15 pm PDT

    Modified Files:
    src/sbbs3/logfile.cpp 1.62 1.63 diff

    Log Message:
    Now that sbbs_t::lputs() adds the <useron alias>, adding it here (useron=x)
    to the log message becomes redundant.
  427. rswindell
    Thu Oct 25 2018 07:12 pm PDT

    Modified Files:
    exec/bullseye.js 1.6 1.7 diff

    Log Message:
    Shortened the prompt to fit nicely on 40-column display.
    Also, using mnemonics() for better dumb terminal support.
  428. rswindell
    Thu Oct 25 2018 07:04 pm PDT

    Modified Files:
    src/sbbs3/putmsg.cpp 1.40 1.41 diff

    Log Message:
    New @-code: WRAPOFF - used to mark the end of a word-wrapped section in a
    display/menu file.
    Also, the WORDWRAP @-code may now appear anywhere in the file and multiple
    times in the file (to mark multiple word-wrapped blocks of text).
  429. rswindell
    Thu Oct 25 2018 04:45 pm PDT

    Modified Files:
    exec/bullseye.js 1.5 1.6 diff

    Log Message:
    Enhancement: if the bulletin file in the bullseye.cfg file is "name.*",
    it'll use the bbs.menu() function to display it - with automatic file
    type/extension selection based on current terminal. Since the bbs.menu()
    function looks for files in text/menu, you'll need to change the path
    e.g. from "../text/system.msg" to just "../system.*" to display text/system.*
  430. rswindell
    Thu Oct 25 2018 04:05 pm PDT

    Modified Files:
    exec/bullseye.js 1.4 1.5 diff

    Log Message:
    Use bbs.menu() instead of console.printfile() to display the bullseye menu
    file (text/bullseye.*), so you can use terminal-custom screen files.
    Thanks, Nelgin!
  431. rswindell
    Thu Oct 25 2018 02:45 pm PDT

    Added Files:
    text/answer.msg NONE 1.1 diff

    Removed Files:
    	answer.asc 
    Log Message:
    Renamed answer.asc -> answer.msg
    Removed the hokey animation (not well supported in all terminals).
    Using new @-codes WORDWRAP, CONDMENU, COLS, ROWS, and TERM.
    If the display/menu file text/banner.* exists, it'll display that as well
    (before the text) - using the new CONDMENU @-code.
  432. rswindell
    Thu Oct 25 2018 02:25 pm PDT

    Modified Files:
    src/sbbs3/atcodes.cpp 1.83 1.84 diff

    Log Message:
    New @-code: CONDMENU (conditional menu) - displays a menu/display file
    only if it exists (on disk) and displays no error message if the file does not
    exist. Nearly identical to the existing MENU @-Code, but without the need to
    insure the file actually exists first.
  433. rswindell
    Thu Oct 25 2018 02:22 pm PDT

    Modified Files:
    src/sbbs3/prntfile.cpp 1.29 1.30 diff
    src/sbbs3/sbbs.h 1.492 1.493 diff
    src/sbbs3/sbbsdefs.h 1.226 1.227 diff

    Log Message:
    Introduce a new printfile/tail/menu mode flag: P_NOERROR, which if used,
    means no error message will be displayed/logged if the referenced file does
    not exist.
  434. rswindell
    Thu Oct 25 2018 02:15 pm PDT

    Modified Files:
    src/sbbs3/useredit.cpp 1.52 1.53 diff

    Log Message:
    When editing the user on's terminal setting and they have auto-term enabled,
    display the auto-term values.
    Removed WIP and HTML term support.
    Removed Color/Mono from the PETSCII mode info.
    Fix what appears to be a couple of been-there-forever bugs in regards to
    displaying/toggling the 'default to quiet mode' setting.
  435. rswindell
    Thu Oct 25 2018 01:16 pm PDT
    text answer.wip 1.1.1.1 NONE
    Update of /cvsroot/sbbs/text
    In directory cvs:/tmp/cvs-serv32127
    
    Removed Files:
    	answer.wip 
    Log Message:
    Removed WIP support finally.
  436. rswindell
    Thu Oct 25 2018 01:16 pm PDT
    text/menu info.wip 1.1.1.1 NONE
    Update of /cvsroot/sbbs/text/menu
    In directory cvs:/tmp/cvs-serv32055
    
    Removed Files:
    	info.wip 
    Log Message:
    Remove this last wip menu too.
  437. rswindell
    Thu Oct 25 2018 01:05 pm PDT

    Added Files:
    text/menu/chat.msg NONE 1.1 diff

    Removed Files:
    	chat.asc 
    Log Message:
    A single chat menu (now named chat.msg) suitable for 40 and 80+ column
    terminals - thanks Nelgin!
  438. rswindell
    Thu Oct 25 2018 01:04 pm PDT

    Removed Files:
    text/menu/NONE e-mail.wip 1.1.1.1 diff
    text/menu/NONE keyboard.wip 1.1.1.1 diff
    text/menu/NONE login.wip 1.1.1.1 diff
    text/menu/NONE mailread.wip 1.1.1.1 diff
    text/menu/NONE msgs.wip 1.1.1.1 diff
    text/menu/NONE msgscan.wip 1.1.1.1 diff
    text/menu/NONE namepass.wip 1.1.1.1 diff
    text/menu/NONE noyes.wip 1.1.1.1 diff
    text/menu/NONE number.wip 1.1.1.1 diff
    text/menu/NONE pause.wip 1.1.1.1 diff
    text/menu/NONE qwk.wip 1.1.1.1 diff
    text/menu/NONE sentmail.wip 1.1.1.1 diff
    text/menu/NONE wipfile.wip 1.1.1.1 diff
    text/menu/NONE wipmain.wip 1.1.1.1 diff
    text/menu/NONE yesno.wip 1.1.1.1 diff

    Log Message:
    Removing WIP terminal (DCTerm) support... finally.  Pretty sure nobody
    has used this feature in 20+ years.
  439. rswindell
    Thu Oct 25 2018 11:29 am PDT

    Modified Files:
    src/sbbs3/con_out.cpp 1.91 1.92 diff

    Log Message:
    When auto-terminal-type detection is enabled, always use those term flags,
    don't use the stored user terminal type. This allows the same user (e.g.
    the sysop) to be logged onto multiple nodes concurrently with different
    terminal types without effecting the other node/session.
    Guest sessions were already immune to this problem.
  440. rswindell
    Thu Oct 25 2018 02:33 am PDT

    Modified Files:
    src/sbbs3/newuser.cpp 1.75 1.76 diff

    Log Message:
    Also, the text/*.msg files now supports alternative file formats for
    RIP/ANSI/PETSCII, if the files exist.
  441. rswindell
    Thu Oct 25 2018 02:32 am PDT

    Modified Files:
    src/sbbs3/sbbs.h 1.491 1.492 diff
    src/sbbs3/str.cpp 1.81 1.82 diff
    src/sbbs3/prntfile.cpp 1.28 1.29 diff
    src/sbbs3/answer.cpp 1.100 1.101 diff

    Log Message:
    Update display/menu file selection logic based current terminal capabilities.
    Newly supported files: text/menu/*.msg (higher priority than .asc when the
    terminal supports IBM extened ASCII, aka CP437). These are the same format
    as .asc files (and supported more readily by PabloDraw).
    Newly supported files: text/menu/*.seq - native PETSCII files for PETSCII
    terminals only. Support in the underlying putmsg() function is still
    pending.
    Also, the text/*.msg files now supports alternative file formats for
    RIP/ANSI/PETSCII, if the files exist.
    WIP menu support removal.
    The new menu/display file selection priority will be detailed on
    wiki.synchro.net, but rest assured, it's backwards compatible with
    the previous/old priority with the exception of the removal of WIP support
    and HTML support.
  442. rswindell
    Thu Oct 25 2018 02:08 am PDT

    Modified Files:
    src/syncterm/conn_telnet.c 1.11 1.12 diff
    src/syncterm/term.c 1.341 1.342 diff

    Log Message:
    Work-around race condition causing NULL-pointer dereference:
    telnet_input_thread() is started before cterm_init() is called, so the
    global "cterm" pointer was (sometimes) NULL at the time that the input
    thread received a "do termina-type" request, and telnet_interpret would
    dereference cterm (to get the emulation type) and thus crash. This is
    an inelegant solution which halts the telnet_input_thread() until the
    cterm pointer has been initialized. Also, be sure to reset cterm to
    NULL after calling cterm_end() which free's it. This fixes the problem of
    the telnet_input_thread() potentially using a stale (free'd) copy of cterm
    for the terminal-type response on subsequent connects.
  443. rswindell
    Wed Oct 24 2018 06:38 pm PDT

    Modified Files:
    src/sbbs3/uedit/uedit.c 1.56 1.57 diff

    Log Message:
    Added getuserdat() error checking with a search/replace macro. Now if
    you run uedit and don't have access to the user.dat file, it will report
    an error rather than displaying a user with uninitialized values.
  444. echicken
    Wed Oct 24 2018 11:50 am PDT

    Modified Files:
    exec/fido-nodelist-browser.js 1.9 1.10 diff

    Log Message:
    Added 'status' field in node info popup (Hold, Down, Private) for nodes
    that may be holding down their privates at any given time.
  445. rswindell
    Mon Oct 22 2018 09:38 pm PDT

    Modified Files:
    src/smblib/smblib.c 1.181 1.182 diff

    Log Message:
    Removed stray (extra) semicolon - no effect.
  446. rswindell
    Mon Oct 22 2018 07:49 pm PDT

    Modified Files:
    src/sbbs3/readmail.cpp 1.80 1.81 diff

    Log Message:
    PETSCII terminals don't have braces keys, so map to parens the same
    functionality.
  447. rswindell
    Mon Oct 22 2018 07:40 pm PDT

    Modified Files:
    src/syncterm/bbslist.c 1.213 1.214 diff

    Log Message:
    Removed WIN_HLP from mode flags passed to uifc.list() function:
    This mode flag is only for use with ufic.showbuf(). Previously (before
    revision 1.226 of uifc32.c), this would result in a NOOP, but when I
    added "Cut" (to clipboard) support, I introduced WIN_CUT and used the
    same bit value as WIN_HLP (since it wasn't used in uifc.list).
    
    I noticed a new "Shift-DEL Cut" menu option appeared in SyncTERM (with
    no corresponding way to paste) and this reuse of the WIN_HLP flag was the
    reason why.
  448. rswindell
    Mon Oct 22 2018 07:18 pm PDT

    Modified Files:
    src/syncterm/telnet_io.c 1.31 1.32 diff

    Log Message:
    Resolve GCC warning: enumeration value ΓÇÿCTERM_EMULATION_ANSI_BBSΓÇÖ not handled in switch
  449. rswindell
    Mon Oct 22 2018 12:56 am PDT

    Modified Files:
    exec/sbbsimsg.js 1.31 1.32 diff

    Log Message:
    Fixed typo (host, not addr) that caused:
    Telegram
    (user@hostname): Digital Man@undefined
  450. rswindell
    Mon Oct 22 2018 12:41 am PDT

    Modified Files:
    src/sbbs3/jsexec.c 1.199 1.200 diff

    Log Message:
    Another gcc printf warning fix.
  451. rswindell
    Mon Oct 22 2018 12:38 am PDT

    Modified Files:
    src/sbbs3/main.cpp 1.735 1.736 diff

    Log Message:
    When logging event-thread error messages, include the "evnt " prefix before
    the string (which starts with the event internal code).
  452. rswindell
    Mon Oct 22 2018 12:29 am PDT

    Modified Files:
    src/sbbs3/mailsrvr.c 1.678 1.679 diff

    Log Message:
    Lower the "MAIL BASE LOCKED" SMTP log message severity from critical
    to warning - this is normal/expected (e.g. when mail base is being
    backed-up).
  453. rswindell
    Sun Oct 21 2018 11:46 pm PDT

    Modified Files:
    src/sbbs3/scfg/scfg.c 1.97 1.98 diff

    Log Message:
    Remember the light bar position when editing command shells.
  454. rswindell
    Sun Oct 21 2018 11:42 pm PDT

    Modified Files:
    exec/mspservice.js 1.9 1.10 diff

    Log Message:
    Indent received message text.
  455. rswindell
    Sun Oct 21 2018 11:40 pm PDT

    Modified Files:
    exec/email_sec.js 1.4 1.5 diff

    Log Message:
    Hitting Ctrl-C at the "Attach a file" prompt for netmail should abort. You have
    to hit it twice - not sure why just yet.
  456. rswindell
    Sun Oct 21 2018 11:33 pm PDT

    Modified Files:
    exec/sbbsimsg.js 1.30 1.31 diff

    Log Message:
    Fix the spinning cursor for PETSCII.
    Added a send to "All" (inter-BBS broadcast) option.
  457. rswindell
    Sun Oct 21 2018 11:23 pm PDT

    Modified Files:
    exec/sbbslist.js 1.40 1.41 diff

    Log Message:
    When displaying additional terminal services, include the description if the
    protocol is repeated (e.g. Telnet).
    When adding/inserting in arrays of items, break the loop if they enter an
    empty string. Cancel the add item if the first field is blank.
  458. rswindell
    Sun Oct 21 2018 11:19 pm PDT

    Modified Files:
    exec/xtrn_sec.js 1.19 1.20 diff

    Log Message:
    Fixes for 40-column terminals.
    Using new bbs.menu_exists() method.
  459. rswindell
    Sun Oct 21 2018 11:17 pm PDT

    Modified Files:
    exec/newuser.js 1.28 1.29 diff

    Log Message:
    Fix for 40-column terminals
  460. rswindell
    Sun Oct 21 2018 11:10 pm PDT

    Modified Files:
    exec/logon.js 1.33 1.34 diff

    Log Message:
    Truncate the last few callers list for the column width (don't wrap).
    Also, insert a blank line when there's no auto.msg file.
  461. rswindell
    Sun Oct 21 2018 11:08 pm PDT

    Modified Files:
    exec/login.js 1.15 1.16 diff

    Log Message:
    Beautification for smaller (e.g. 40-column) terminals.
    Also, allow the inactivity timeout value for connections without an
    auto-detected terminal to be set explicitly via modopts.ini
    [login] inactive_hangup = 30 (seconds)
    rather than deriving from the configured inactivity hangup value in
    SCFG->Nodes.
  462. rswindell
    Sun Oct 21 2018 10:55 pm PDT

    Modified Files:
    exec/load/termcapture_lib.js 1.5 1.6 diff

    Log Message:
    return an error if no address specified.
  463. rswindell
    Sun Oct 21 2018 10:26 pm PDT

    Modified Files:
    exec/load/text.js 1.24 1.25 diff

    Log Message:
    5 new text.dat string defines.
  464. rswindell
    Sun Oct 21 2018 10:25 pm PDT

    Modified Files:
    exec/load/sbbsdefs.js 1.79 1.80 diff

    Log Message:
    Added USER_PETSCII and P_TRUNCATE definitions.
  465. rswindell
    Sun Oct 21 2018 10:23 pm PDT

    Modified Files:
    exec/default.src 1.21 1.22 diff

    Log Message:
    Changes to better support 40-column terminals (use of new Ctrl-A\ code).
    Also replaced all embedded Ctrl-A chars with \1 to make editing easier.
  466. rswindell
    Sun Oct 21 2018 10:19 pm PDT

    Modified Files:
    text/menu/qwk.asc 1.2 1.3 diff
    text/menu/editor.asc 1.2 1.3 diff
    text/menu/attr.asc 1.1.1.1 1.2 diff

    Log Message:
    Updated menu files, mainly for 40-column terminal support.
  467. rswindell
    Sun Oct 21 2018 10:15 pm PDT

    Modified Files:
    ctrl/sbbs.ini 1.76 1.77 diff

    Log Message:
    Added default Pet40/80Port values and comments about how to use them to
    support Commodore/PETSCII terminals.
  468. rswindell
    Sun Oct 21 2018 10:09 pm PDT

    Added Files:
    text/menu/main.40col.asc NONE 1.1 diff
    text/menu/msghdr.40col.asc NONE 1.1 diff
    text/menu/transfer.40col.asc NONE 1.1 diff

    Log Message:
    New 40-column menus (e.g. suitable for Commodore 64 terminals) and
    a message header file.
  469. rswindell
    Sun Oct 21 2018 10:06 pm PDT

    Modified Files:
    ctrl/text.dat 1.89 1.90 diff

    Log Message:
    Numerous changes to better support smaller (e.g. 40-column) terminals,
    e.g. Commodore 64, using the new Ctrl-A\ code (conditional newline/cont)
    a lot.
    5 New strings at the end.
  470. rswindell
    Sun Oct 21 2018 09:22 pm PDT

    Modified Files:
    src/sbbs3/answer.cpp 1.99 1.100 diff

    Log Message:
    Address new GCC printf warnings.
  471. rswindell
    Sun Oct 21 2018 09:18 pm PDT

    Modified Files:
    src/sbbs3/answer.cpp 1.98 1.99 diff
    src/sbbs3/ars.c 1.21 1.22 diff
    src/sbbs3/ars_defs.h 1.13 1.14 diff
    src/sbbs3/atcodes.cpp 1.82 1.83 diff
    src/sbbs3/chk_ar.cpp 1.28 1.29 diff
    src/sbbs3/con_out.cpp 1.90 1.91 diff
    src/sbbs3/getkey.cpp 1.49 1.50 diff
    src/sbbs3/getstr.cpp 1.34 1.35 diff
    src/sbbs3/inkey.cpp 1.56 1.57 diff
    src/sbbs3/js_bbs.cpp 1.171 1.172 diff
    src/sbbs3/js_console.cpp 1.119 1.120 diff
    src/sbbs3/logon.cpp 1.66 1.67 diff
    src/sbbs3/main.cpp 1.734 1.735 diff
    src/sbbs3/newuser.cpp 1.74 1.75 diff
    src/sbbs3/prntfile.cpp 1.27 1.28 diff
    src/sbbs3/putmsg.cpp 1.39 1.40 diff
    src/sbbs3/sbbs.h 1.490 1.491 diff
    src/sbbs3/sbbs_ini.c 1.164 1.165 diff
    src/sbbs3/sbbsdefs.h 1.225 1.226 diff
    src/sbbs3/scandirs.cpp 1.7 1.8 diff
    src/sbbs3/scansubs.cpp 1.26 1.27 diff
    src/sbbs3/startup.h 1.81 1.82 diff
    src/sbbs3/str.cpp 1.80 1.81 diff
    src/sbbs3/text.h 1.35 1.36 diff
    src/sbbs3/text_defaults.c 1.51 1.52 diff
    src/sbbs3/userdat.c 1.206 1.207 diff
    src/sbbs3/useredit.cpp 1.51 1.52 diff
    src/sbbs3/writemsg.cpp 1.125 1.126 diff
    src/sbbs3/petdefs.h NONE 1.1 diff

    Added Files:
    	petdefs.h 
    Log Message:
    The big PETSCII commit:
    So Omegix recently asked in the Synchronet Discussion group whether or not
    a PETSCII (Commodore) terminal could be used to access his Synchronet BBS.
    Now, the answer is "Yes". :-)
    The major issues addressed:
    
    - detecting a PETSCII terminal, solved by assigning specific (configurable):
      TCP ports to be used for incoming PETSCII connections, by default:
      port 64 is for 40-column PETSCII and port 128 is for 80-column PETSCII,
      but if the terminal sends a Telnet Window Size reply (e.g. SyncTERM), then
      either size terminal should fine on either port.
      The port numbers are configurable in the [BBS] section of your sbbs.ini
      file using the new keys: PET40Port (default value: 64) and PET80Port
      (default value: 128). Having these keys set doesn't make make the terminal
      server listen on that additional port - you'll need to add more
      IP:port combinations to one of Interfaces values, example:
        TelnetInterface=71.95.196.34,71.95.196.34:64,71.95.196.34:128
      And you don't have to use Telnet for the PETSCII connections - you could use
      RLogin or SSH instead (or in addition).
    
    - support for terminal widths < 80 columns:
      This was achieved through a combination of text.dat changes (numerous),
      new Ctrl-A and @-codes and new optional terminal-width-specific menu files
      (e.g. text/menu/main.40col.asc)
      A side effect of these changes is actually better support for terminals
      *wider* than 80 columns as well!
      
    - support for terminals that don't expand tabs to spaces (e.g. PETSCII):
      The terminal server now handles tab expansion with a run-time settable
      tab-size (default size: 8)
    
    - conditional access based on PETSCII (or small) terminal use (or not):
      + New PETSCII ARS keyword (boolean)
      + New COLS and ROWS ARS keywords (for terminal width and height requirements)
      + New TERM (string) ARS keyword
    
    New @-codes:
      - WORDWRAP, when placed at the top of a file, enables auto-wordwrap for 
                  lines longer than the terminal width
      - CENTER, the text following before an end of line will be displayed centered
                on the terminal (whatever the width, in columns)
      - CLEAR, like CLS, except it ignores (doesn't display) a CRLF that follows
      - COLS, current number of terminal columns (width)
      - ROWS, current number of terminal rows (height)
      - TERM, the auto-detected or reported terminal type (e.g. ANSI, TTY, etc.)
      - SYSONLY, toggles "echo" (display) off/back-on for non-sysops
                similar to the Ctrl-A( and ) codes, but more convenient to use
                (and PabloDraw won't strip the @-code from the file like it does
                 with Ctrl-A codes it doesn't support)
     
    New Ctrl-A codes:
      - \ conditional new-line/continuation when the terminal width is < 80 cols
          prints the new text.dat string LongLineContinuationPrefix
          
    yesno() will now return true if passed a blank string.
    noyes() will now return false if passed a blank string.
    getstr()'s input length limiting based on terminal width is more broadly
               applied now (not just when using the K_LINE mode flag).
               
    New JS bbs object method: menu_exists(<base_filename>) returns Boolean
    New JS console object property: tabstop (Number)
    New JS console object methods: getbyte() and putbyte() to recv/send raw byte
        value with (very little) interpretation/intervention by the terminal server
    New JS console object method: creturn() - performs a carriage return
        (or equivalent)
    New JS (and C) printfile() mode flag: P_TRUNCATE, causes long lines to be
        truncated, rather than displaying causing a line-wrap.
    
    New text.dat strings:
      - NoAccessTerminal (for ARS check failures)
      - LongLineContinuationPrefix (for breaking long lines for 40col terminals)
      - Scanning (replaces a previously hard-coded "Scanning" string)
      - Done (replaces a previusly hard-coded "Done")
      - Scanned  (when finished scannning, clears the progress bar)
  472. rswindell
    Sun Oct 21 2018 07:27 pm PDT

    Modified Files:
    src/sbbs3/chat.cpp 1.78 1.79 diff

    Log Message:
    Fixed bug where if you used the /W (whisper) command in multi-node chat
    and then hit 'Q', it would kick you out of multi-node chat (because
    the abort flag was set).
  473. rswindell
    Sun Oct 21 2018 01:52 pm PDT

    Modified Files:
    src/syncterm/term.c 1.340 1.341 diff

    Log Message:
    PETSCII enhancement: Map the local "End" key to PETSCII Clear / Shift-Home
  474. rswindell
    Sun Oct 21 2018 01:25 am PDT

    Modified Files:
    src/syncterm/term.c 1.339 1.340 diff

    Log Message:
    Stop filtering non-translated Ctrl-Key combinations (from the local
    keyboard). PETSCII BBSes include prompts like "Hit Ctrl-X to abort", so
    they expect the terminal to be able to send control-key combinations.
    Both CGTerm and CBMTerm are able to send all the relevant control-key
    combinations (and their single-key equivalents, like ESC and TAB) as well.
  475. rswindell
    Sun Oct 21 2018 12:33 am PDT

    Modified Files:
    src/conio/cterm.c 1.244 1.245 diff

    Log Message:
    Bug-fix for PETSCII modes: disable reverse video upon carriage-return (13).
    Should this also be done for 141 (shift-CR)? I'd love to know where you
    found the document which inspired the comment ("disabled reverse") - but
    the code just wasn't doing it and it was apparent when viewing PETSCII
    art and comparing the behavior with other emulators.
  476. deuce
    Sat Oct 20 2018 09:59 pm PDT

    Modified Files:
    src/conio/cterm.c 1.243 1.244 diff

    Log Message:
    Add missing brace.
  477. deuce
    Sat Oct 20 2018 09:55 pm PDT

    Modified Files:
    src/conio/cterm.c 1.242 1.243 diff

    Log Message:
    Translate C128 colour codes to CGA palette.
    This may mess up colour hacks in other places, but should fix C128 colours
    in the terminal.
  478. rswindell
    Sat Oct 20 2018 05:37 pm PDT

    Modified Files:
    src/syncterm/telnet_io.c 1.30 1.31 diff

    Log Message:
    Bug-fix: when using Telnet, we would *always* send the terminal type
    (if the server supported the option), as "ANSI". Now, if the current cterm
    emualation is PETASCII [sic], or ATASCII, send "PETSCII" or "ATASCII"
    instead.
    
    Now this brings up a couple of discussion points:
    1. Should that default Telnet term-type be "ANSI-BBS" (or "ansi-bbs") instead?
    2. Similarlly, RLogin connections *always* send the term-type as "ansi-bbs" -
       I think a similar change is needed in rlogin.c to be technically correct,
       but we should probably be consistent about how SyncTERM in ANSI-BBS emulation
       mode identifies itself ("ANSI", "ANSI-BBS", or "ansi-bbs").
    3. If there is terminal type advertised via SSH, that probably needs addressing
       as well.
  479. rswindell
    Sat Oct 20 2018 01:31 pm PDT

    Modified Files:
    src/sbbs3/targets.mk 1.48 1.49 diff

    Log Message:
    Update the 'install' and 'symlinks' targets to also install/symlink the
    sub-projects: scfg, uedit, and umonitor
  480. rswindell
    Sat Oct 20 2018 01:04 pm PDT

    Modified Files:
    src/sbbs3/targets.mk 1.47 1.48 diff

    Log Message:
    Experimental change for Mark Lewis: pass $(MAKEFLAGS) to recursive
    makes (scfg, uedit, umonitor).
  481. deuce
    Sat Oct 20 2018 10:22 am PDT

    Modified Files:
    src/conio/vidmodes.c 1.28 1.29 diff

    Log Message:
    Commodore 128 used a CGA monitor.  It therefore used CGA colours.
  482. rswindell
    Sat Oct 20 2018 04:15 am PDT

    Modified Files:
    src/conio/vidmodes.c 1.27 1.28 diff

    Log Message:
    Change the C128 screen modes (C128_40X25 and C128_80x25) to use the C64
    palette. I can only assume this was a typo? I'm also guessing this is the
    same change that Payton Byrd made in his fork of SyncTERM (he erroneously
    called 2.0), which I haven't been able to locate on github (anyone?). This
    change makes SyncTERM (in C128 modes) appear more consistent with CGTerm.
    
    With this change, I now see no difference between the C64_40X25 screen mode
    and the C128_40X25 screen mode. (Deuce?)
    
    I also have questions about the changes in some of the colors between
    40 and 80 columns modes expressed here (but not observed with CGTerm):
    https://www.commodore.ca/manuals/128_system_guide/app-i.htm
    (e.g. 129 is supposedly green in 40 column mode and dark purple in 80 cols).
    see also: 149, 151, and 159 - if this is true, then another palette
    is needed for C128-80 mode but doesn't explain CGTerm's behavior
    (the colors are the same in 40 and 80 column modes).
    
    Also, the C64 palette changed pretty drastically since SyncTERM 1.0 where
    the colors weres dull/muted and are now bright. And the initial attribute is 
    Blue on Grey (not black) - that wasn't the case with v1.0.
  483. rswindell
    Thu Oct 18 2018 02:28 pm PDT

    Modified Files:
    src/sbbs3/load_cfg.c 1.74 1.75 diff

    Log Message:
    Log the errno description text along with the number when failing to 
    create a directory.
  484. rswindell
    Wed Oct 17 2018 12:43 pm PDT

    Modified Files:
    src/sbbs3/sbbsecho.c 3.95 3.96 diff
    src/sbbs3/services.c 1.324 1.325 diff
    src/sbbs3/websrvr.c 1.669 1.670 diff

    Log Message:
    More GCC printf-warning fixes <sigh>.
    The PRIuOFF versus off_t definition mismatch (in ftpsrvr.c too) has not
    yet been resolved (on rPi, gcc 6.3.0).
  485. rswindell
    Wed Oct 17 2018 12:41 pm PDT

    Modified Files:
    src/sbbs3/GNUmakefile 1.231 1.232 diff

    Log Message:
    Added missing JS_LIBS argument to JSexec link command. This resolves the
    following error when building with 'make JSLIB=mozjs185':
    /usr/bin/ld: gcc.linux.../jsexec.o: undefined reference to symbol 'JS_EndRequest'
    //usr/lib/libmozjs185.so.1.0: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    GNUmakefile:209: recipe for target 'gcc.linux.../jsexec' failed
    make: *** [gcc.linux.../jsexec] Error 1
  486. rswindell
    Wed Oct 17 2018 12:20 pm PDT

    Modified Files:
    src/sbbs3/mailsrvr.c 1.677 1.678 diff

    Log Message:
    More GCC printf warning fixes.
  487. rswindell
    Wed Oct 17 2018 12:10 pm PDT

    Modified Files:
    src/sbbs3/ftpsrvr.c 1.476 1.477 diff

    Log Message:
    Deal with some gcc reported printf-use warnings, mainly around 64-bit ints.
  488. rswindell
    Wed Oct 17 2018 12:09 pm PDT

    Modified Files:
    src/sbbs3/main.cpp 1.733 1.734 diff

    Log Message:
    Deal with gcc warnings that crop up because sizeof() is an unsigned long
    sometimes and sometimes it's an unsigned int.
  489. rswindell
    Wed Oct 17 2018 11:59 am PDT

    Modified Files:
    src/sbbs3/main.cpp 1.732 1.733 diff

    Log Message:
    Fixed some gcc warnings:
    format ΓÇÿ%luΓÇÖ expects argument of type ΓÇÿlong unsigned intΓÇÖ, but argument 4 has 
    type ΓÇÿunsigned intΓÇÖ
  490. rswindell
    Wed Oct 17 2018 12:28 am PDT

    Modified Files:
    exec/nntpservice.js 1.125 1.126 diff

    Log Message:
    For H-exempt users, don't disconnect upon timeout waiting for a request.
  491. rswindell
    Tue Oct 16 2018 12:27 pm PDT

    Modified Files:
    src/sbbs3/sbbsecho.c 3.94 3.95 diff

    Log Message:
    Fix bug with AreaFix "ECHOSTATS" command: if the echotag specified was not
    found, it would be added to the list of echoes tracked in echostats.ini.
    Ideally, a negative-response message would be sent to requester in this case,
    but we're not doing that currently.
  492. rswindell
    Tue Oct 16 2018 12:43 am PDT

    Modified Files:
    exec/privatemsg.js 1.2 1.3 diff

    Log Message:
    Some cosmetic improvements.
  493. rswindell
    Mon Oct 15 2018 06:17 pm PDT

    Modified Files:
    src/sbbs3/putmsg.cpp 1.38 1.39 diff

    Log Message:
    If the Ctrl-A" code contains an empty/bogus filename, don't try to display
    it. This Ctrl-A code is dubious and perhaps should just be removed.
  494. rswindell
    Mon Oct 15 2018 04:42 pm PDT

    Modified Files:
    exec/sbbsimsg.js 1.29 1.30 diff

    Log Message:
    A pretty major over-haul: 
    - now uses the load/sbbsimsg_lib.js for the underlying communications
      (via SYSTAT and MSP)
    - Now periodically polls (currently once per minute) all the active-users
    - No longer writes back to the sbbsimsg.lst file (don't think we need that)
    - Much more interactive (e.g. displays messages which active-users logon/off)
  495. rswindell
    Mon Oct 15 2018 03:57 pm PDT

    Modified Files:
    exec/load/sbbsimsg_lib.js 1.1 1.2 diff

    Log Message:
    Support the new ?active-users.json query response.
  496. rswindell
    Mon Oct 15 2018 03:36 pm PDT

    Modified Files:
    exec/fingerservice.js 1.40 1.41 diff

    Log Message:
    Include node "misc" flags (e.g. message-waiting, locked, paging-disabled)
    in the node status reports.
    Skip nodes with the "anonymous" flag set.
    Support new special queries (over SYSTAT or Finger):
    - stats.json
    - active-users.json
    ... for easier programmatic parsing (e.g. by sbbsimsg[_lib].js)
  497. rswindell
    Mon Oct 15 2018 03:32 pm PDT

    Modified Files:
    exec/mspservice.js 1.8 1.9 diff

    Log Message:
    Don't allow inter-BBS messages/telegrams to be received for users/nodes
    that have chat-paging disabled.
  498. rswindell
    Mon Oct 15 2018 03:23 pm PDT

    Modified Files:
    web/root/msgs/subs.ssjs 1.23 1.24 diff

    Log Message:
    Return a 404 error when receiving an HTTP request for an invalid message
    group. Resolves error line 31: TypeError: msg_area.grp[grp] is undefined
  499. rswindell
    Mon Oct 15 2018 01:40 pm PDT

    Modified Files:
    exec/binkit.js 2.10 2.11 diff

    Log Message:
    Log an error in rename_or_move() when there's a failure, for more debugging
    details.
  500. rswindell
    Mon Oct 15 2018 01:31 am PDT

    Modified Files:
    src/sbbs3/chat/MainFormUnit.cpp 1.8 1.9 diff
    src/sbbs3/chat/MainFormUnit.h 1.3 1.4 diff
    src/sbbs3/chat/MainFormUnit.dfm 1.4 1.5 diff

    Log Message:
    Force the input cursor to always at the end of the text (Memo) box.
AuthorCommitsLatest
rswindell444Fri Mar 15 2019 08:47 pm
deuce11Wed Mar 06 2019 05:11 pm
echicken34Mon Feb 18 2019 11:10 pm
sbbs1Mon Jan 07 2019 03:38 pm
nightfox10Wed Jan 02 2019 12:45 pm

Dynamically generated in 293 milliseconds