1. 12 Nov, 2016 2 commits
    • rswindell's avatar
      MsgBase methods now exclude vote messages by default: · 294cd729
      rswindell authored
      - get_msg_index()
      - get_msg_header()
      - get_all_msg_headers()
      these functions all accept a new (optonal, last) bool argument "include_votes"
      which defaults to false. So if for some reason, you want to load votes, just
      pass an additional 'true' argument.
      ToDo: polls and vote tallying.
      At least for now, existing JS stuff that uses the MsgBase object won't get
      messed up by the new voting messages.
      294cd729
    • rswindell's avatar
      smb_updatethread() now sets the MSG_REPLIED attribute for the message being · bb42e90b
      rswindell authored
      replied to. This may be used later for thread loading optimization (no need
      to load headers if there are no replies) - but for now, at least there will
      be a "Replied" attr value displayed in the message header indicating that
      the message was replied to. This attribute was previously only used in the
      "mail" base (for personal email/netmail).
      
      Also, I think I fixed what could have been an infinite loop if there was SMB
      corruption: if a message's thread_next value pointed back (to an earlier
      message, with a lower message number), we could have been caught in an
      infinite loop looking for the last message in the thread. This is just a
      theoretical problem and never reported, but apparently possible with just
      the right kind of corruption of the msgbase header.
      bb42e90b
  2. 11 Nov, 2016 4 commits
  3. 10 Nov, 2016 7 commits
  4. 08 Nov, 2016 4 commits
    • rswindell's avatar
      Inspired by the U.S. presdential election: · 68a90f31
      rswindell authored
      The beginnings of an SMB-based voting system - very experimental:
      The concept is that a "vote" message can be used to reply to:
      1. A normal message, as either an upvote or a downvote, ala social media
      2. A poll, polls can either allow a single choice answer or multiple answers
      Vote messages won't be visible as normal messages (e.g. when reading messages
      online) and SMB processing software (e.g. SBBSecho) should ignore these
      messages because they have no body text.
      Polls are going to need more work, but the idea is to have the poll question as
      a single (newly defined) hfield and the possible answers as dfields.
      68a90f31
    • rswindell's avatar
      New convenience function: smb_storage_mode(), returns the correct storage · 06332908
      rswindell authored
      mode for a specified message base (mail or sub-board). This logic exists in
      many other files and can now be consolidated using this single function.
      06332908
    • rswindell's avatar
      Overhaul these functions: · 1d642d12
      rswindell authored
      Use fopen/fprintf (buffered writes) rather than open/write.
      Use safe_snprintf() and SAFEPRINTF for safe string formatting.
      Use a variable for line-endings (in preparation for support for Unix-style log
      files for those sysops that prefer them).
      hacklog() now supports a NULL 'text' argument.
      1d642d12
    • rswindell's avatar
      Fix for logged garbage passwords upon SMTP AUTH-CRAM5 login failure. · 9882fbe7
      rswindell authored
      loginFailure() now handles a NULL password argument correctly.
      9882fbe7
  5. 20 Oct, 2016 2 commits
  6. 19 Oct, 2016 2 commits
  7. 17 Oct, 2016 4 commits
  8. 14 Oct, 2016 1 commit
  9. 06 Oct, 2016 7 commits
  10. 26 Sep, 2016 1 commit
  11. 11 Sep, 2016 1 commit
    • nightfox's avatar
      Version 1.16: Added a new feature that allows users to forward a message to an... · f203b5ba
      nightfox authored
      Version 1.16: Added a new feature that allows users to forward a message to an email address or to another user on the BBS (using the O key).  This can be useful, for instance, if the user wants to send a message in a public sub-board to their personal email for future reference or send a message from a public sub-board to another user to discuss the topic privately.
      f203b5ba
  12. 07 Sep, 2016 1 commit
  13. 30 Aug, 2016 1 commit
    • nightfox's avatar
      Officially releasing version 1.15. Contains the bug fix for private reply for... · a6b078f6
      nightfox authored
      Officially releasing version 1.15.  Contains the bug fix for private reply for a message on a networked sub-board, and also includes the new user-edit feature (using the U key, for sysops only), which lets the sysop edit the user account of the author of the message (only if the user account exists on the BBS).
      a6b078f6
  14. 29 Aug, 2016 1 commit
    • nightfox's avatar
      Version 1.15 beta 2 - Contains a fix for a bug introduced in the previous... · bcbecc6b
      nightfox authored
      Version 1.15 beta 2 - Contains a fix for a bug introduced in the previous version where private reply was no longer working.  Also includes a new user edit feature (for sysops only, using the U key).  The user edit will edit the user who sent the message, only if they're a user on the BBS.  It can be useful for BBSes that require new users to send an email to the sysop, in case the sysop needs to edit the user's account.
      bcbecc6b
  15. 27 Aug, 2016 2 commits