Skip to content
Snippets Groups Projects
  1. Nov 13, 2016
  2. Nov 12, 2016
    • rswindell's avatar
      Fixed typo when parsing VOTING.DAT: we're looking for the sender net *address* · f0012f5e
      rswindell authored
      not the sender net *type* (the net-type is passed-in). This did result in a
      crash when parsing a voting.dat that contained a networked vote. Oops.
      f0012f5e
    • 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
  3. Nov 11, 2016
  4. Nov 10, 2016
    • rswindell's avatar
      SBBSecho will ignore all votes and poll messages (FTN doesn't support them). · 0f2bf2f0
      rswindell authored
      These messages would actually already be ignored due to the lack of a message
      body, but by checking the message attributes (and redundant msg 'type'), the
      msg headers for votes & polls aren't even loaded into memory. SBBSecho v2
      should work just fine with msg bases that contain votes or polls as well.
      0f2bf2f0
    • rswindell's avatar
      Code clean-up. · 02d6e223
      rswindell authored
      02d6e223
    • rswindell's avatar
      Message voting via QWKnet is now fully implemented: · f88eb6f8
      rswindell authored
      - Sub-boards can be disalbled for voting in SCFG
      
      Removed un-implemented "kill msg when read" sub-board option.
      f88eb6f8
    • rswindell's avatar
      Message voting via QWKnet is now fully implemented: · 74902cee
      rswindell authored
      - Users can be restricted from voting with the 'V' restriction
      - Sub-boards can be disalbled for voting in SCFG
      - VOTING.DAT can be include/excluded from QWK packets via user cfg
        (when a VOTING.DAT is received in a REP, the user cfg flag is auto-set)
      - Adds several new text.dat lines (if not present in yours, uses the default)
      
      What's not yet implemented:
      - Notification of votes on your posted messages
      - Method to view/audit all votes
      - Polling
      - Any special handling to auto-exclude votes from msg-related JavaScripts
      74902cee
  5. Nov 08, 2016
    • 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
  6. Oct 19, 2016
  7. Oct 17, 2016
  8. Oct 06, 2016
  9. Aug 11, 2016
  10. Aug 06, 2016
  11. Aug 03, 2016
  12. Jul 05, 2016
  13. Jun 30, 2016
    • rswindell's avatar
      When writing to area file (areas.bbs), pad echo tag to maximum length · 03ecec67
      rswindell authored
      (35 chars). Use macros for maximum internal code length and echo tag lengths.
      03ecec67
    • rswindell's avatar
      Address AreaFix bugs: · fa06eda4
      rswindell authored
      1. Reported by Accession and Rastus: when linking/unlinking echoes via AreaFix,
          all the linked node addresses (in the areas.bbs file) would be changed to a
          garbage address (e.g. "16720:17235/19521.19551").
          Bug introduced in sbbsecho.c rev 3.13 (May-9-2016).
      
      2. Reported by Accession:
          Extraneous debug-level log output (a log line for each echo that exists in
          the area file): "Adding areas for <addr> to path/to/areas.bbs" and
          "Removnig areas for <addr> from path/to/areas.bbs".
          Introduced way back in sbbsecho.c rev 1.249 (Apr-17-2014).
          Now, a single debug-level log entries is added per areafix change request
          for all adds (area linking) and then all deletions (area unlinking) which
          makes much more sense.
      
      3. Observed in the code:
          When using AreaFix to modify the area file (areas.bbs), if a modified
          echo's internal code was 16 characters, exaclty, then no space would be
          added between the internal code and the echotag.
          This bug has apparently been possible since the introduction of internal
          code prefixes in 2003.
      fa06eda4
  14. May 31, 2016
  15. May 27, 2016
Loading