1. 23 Oct, 2017 2 commits
  2. 06 Dec, 2016 1 commit
    • rswindell's avatar
      New console control @-codes: · 413e624f
      rswindell authored
      HOME - homes cursor (to upper left, 1:1)
      CLRLINE - clears current line (cursor to column 1)
      CLR2EOL - clears to end-of-current-line (doesn't move cursor)
      CLR2EOS - clears to end of screen (doesn't move cursor)
      413e624f
  3. 21 Nov, 2016 1 commit
    • rswindell's avatar
      Added new smbmsg_t element: user_voted, used to pass around the results of · bf7f5024
      rswindell authored
      smb_voted_already(), e.g. to @-codes in a custom msg header.
      New @-codes (e.g. for custom message headers):
      @MSG_VOTED@
      @MSG_UPVOTED@
      @MSG_DOWNVOTED@
      These all 3 act the same way: they display the PollAnswerChecked (checkmark)
      if the user voted on the currently displayed message/poll, if the user up-voted
      or if the user-downvoted. If the user did not vote, nothing is displayed.
      bf7f5024
  4. 18 Nov, 2016 1 commit
    • rswindell's avatar
      Introduced 2 new poll concepts: · 0ac4f937
      rswindell authored
      - Closures (polls can be closed for new voting by the pollster)
      - Results can have configurable visibility:
        a. Only to voters (and the pollster) - the default
        b. Everyone
        c. Everyone once the poll has closed
        d. Only the pollster
      
      Changes to smb_getmsgtxt():
      Main change: poll questions can now be quoted when replying to a posted poll
      (the results cannot be quoted).
      Also: there's now automatically a blank line inserted between comment header
      fields and poll answers or the msg body text.
      Also: upon any malloc failure, the function now returns NULL.
      New functions: smb_msg_is_from() and smb_addpollclosure().
      0ac4f937
  5. 15 Nov, 2016 1 commit
  6. 08 Nov, 2016 1 commit
    • 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
  7. 10 Dec, 2015 1 commit
    • rswindell's avatar
      Change TO_NET and FROM_NET @-code logic and revert last change to show_msghdr() · 9b5374c4
      rswindell authored
      - it actually *is* an expected condition that a to_net.addr or from_net.addr
      msg header field is populated with a valid address (string) even though the
      to_net.type or from_net.type value is NET_NONE.
      
      The nntpservice.js and newslink.js modules rely on this behavior to display
      and export local NNTP-posters' email addresses in message headers, but still be
      able to identify newslink-imported messages as *not* local (the from_net.type =
      NET_INTERNET) and thus not export them back to the network.
      
      This was not the original intention behind these header fields in SMB, but it
      was retrofitted to support this condition 10+ years ago and I forgot.
      9b5374c4
  8. 07 Dec, 2015 1 commit
  9. 25 Nov, 2015 2 commits
    • rswindell's avatar
      Resolve warning. · f2c39ffa
      rswindell authored
      f2c39ffa
    • rswindell's avatar
      New @-codes: MSG_AGE (the age of the message in days, months, etc.) · 338c2710
      rswindell authored
      @-codes can now be center-justified by using the *new* -C suffix (like -L/R).
      Centered expanded values are not truncated to fit the @-code length however
      (that may change).
      SMB_AREAS and SMB_AREA_DESC @-codes now display "Email" and "Personal Email"
      rather than a blank/empty string when the current message base is the mail base.
      338c2710
  10. 20 Aug, 2015 1 commit
    • deuce's avatar
      Update to 3.17a · dbbfabf1
      deuce authored
      New Features:
      - Multiple bindings for each service
        Use comma-separated interfaces on Interface= lines in the ini file.
        Default is now "0.0.0.0,::"
      - IPv6 support
      - TLS support for the webserver and (non-static) services
        New TLS option in services.ini (ie: Options=TLS)
      - Decrease LEN_SCAN_CMD to 35 chars, increase the CID field to 45 chars,
        and rename the MAIL_CMD string to IPADDR.  I think this frees up the
        note field for SysOp use.
      dbbfabf1
  11. 01 Jan, 2015 1 commit
  12. 14 Dec, 2014 1 commit
    • deuce's avatar
      Fix @UPTIME@ to return 0 if the uptime global isn't initialized yet, or · eed3d9b6
      deuce authored
      if time_t is unsigned and the current time is less than uptime.
      
      There's comments that suggest the time(NULL) value is influenced by the
      timezone, so possibly therre's a usage of it somewhere with the timezone
      not being set comparing to an uptime that was set when timezone *was* set.
      In this case, @UPTIME@ will say it's been up for zero days until the timezone
      is set in that thread/process, or time(NULL) passes uptime.
      eed3d9b6
  13. 13 Nov, 2011 1 commit
  14. 19 Oct, 2011 1 commit
  15. 25 Aug, 2011 1 commit
  16. 27 Apr, 2011 1 commit
    • rswindell's avatar
      Judicious (even excessive?) use of the volatile keyword on variables that are · 4c54a03d
      rswindell authored
      commonly modified by multiple threads, potentially simultaneously, resulting in
      bad values (e.g. active_clients = -1).
      Updated copyright date to 2011.
      Fixed Win32 compile bug in main.cpp introduced in last commit.
      Eliminated some unused variables and updated some times (e.g. ulong in place
      fo uint32_t).
      4c54a03d
  17. 07 Jun, 2010 1 commit
    • rswindell's avatar
      2 new @-codes: · beaf2ac2
      rswindell authored
      * DATETIME (current system date and time and long, 24 char, format).
      * TIMEZONE (current system time zone abbrev or UTC offset).
      beaf2ac2
  18. 07 Mar, 2010 1 commit
  19. 17 Oct, 2009 1 commit
  20. 27 Feb, 2009 1 commit
  21. 19 Feb, 2009 2 commits
  22. 06 Jan, 2009 1 commit
  23. 04 Jun, 2008 1 commit
  24. 03 Feb, 2008 2 commits
  25. 14 Aug, 2007 1 commit
  26. 13 Aug, 2007 1 commit
  27. 30 Nov, 2006 1 commit
  28. 01 Sep, 2005 1 commit
  29. 31 Aug, 2005 2 commits
  30. 08 Sep, 2004 1 commit
  31. 01 Jul, 2004 1 commit
  32. 30 May, 2004 1 commit
  33. 26 Nov, 2003 1 commit
  34. 20 Sep, 2003 1 commit
  35. 19 Jun, 2003 1 commit