- Nov 16, 2016
-
-
rswindell authored
to be able to delete messages that have no hfields, for example, with sub-op 'D' command. Now support polls with comments (displayed before the poll answers). Poll results/statistics are only displayed to sub-ops and users who have voted already. This may be optoinal behavior determined by the pollster in the future. Sub-ops can now add comments to any post using the 'A' command from the [O]perator menu - use with caution.
-
rswindell authored
-
rswindell authored
Fixed printf() arguments.
-
rswindell authored
it just calls the (newer) functions readuserdat() and parseuserdat() in a easy replacement for getuserdat() for places where all users are read in a loop (the file is only opened one time, dramatically reducing the amount of time). Added an argument to openuserdat() so it can be used in more situations (i.e. where the file needs to be opened for modify/create acces).
-
rswindell authored
module. This is a reversal of the revision 1.102 commit (Jan-2-2016), but only for Baja (JS is left with the new behavior). As the commit message said "We'll see", and what we saw was that the yesnobar.bin and noyesbar.bin long-standing Baja modules no longer returned "No" when the user hit Ctrl-C. So at least for now, we have different behavior with regards to the console abort (ctrl-C) flag between JS and Baja. :-/
-
rswindell authored
up in 'top' output and provide some confusion.
-
rswindell authored
clients: 1. The host_name is not known at the time loginBanned() is called, so that was a bogus value (left over from the previous connection) being used in the ipfilter_exempt.cfg file check. 2. Sometimes, getnameinfo() would fail, but still return 0, so previous host_name value would be erroneously stored as the current client hostname.
-
rswindell authored
-
rswindell authored
* uses new text.dat strings: - PollVoteNotice - PollAnswerNumber - PollAnswerFmt - PollAnswerChecked The actual answer of a poll is still crude (uses the old crufty uselect scheme) and doesn't support multiple-choice polls. This will be addressed.
-
rswindell authored
-
rswindell authored
-
rswindell authored
add_poll() method now sets the when_written/imported time stamps and zones as needed and configured.
-
rswindell authored
(and configured).
-
rswindell authored
it displays a string of text and fills the background color up to the specified percentage fo the string length. I will be using it for displaying poll results, but it could possibly be used for progress displays and such. The colors used are configured via the "backfill" and "unfill" attributes in ctrl/attr.cfg.
-
rswindell authored
be used in displaying poll results. Set the default backfill to white on magenta.
-
rswindell authored
be used in displaying poll results.
-
rswindell authored
-
rswindell authored
There (will be) the possibilty to cast mutliple votes in a single vote-msg (ballot), when multi-choice polls are introduced later. There were just too many things call vote/votes and it was getting confusing in my own head. So the msg type for messages that contain votes is now "ballot".
-
- Nov 15, 2016
-
-
rswindell authored
they don't fill your error.log file up.
-
rswindell authored
field can have that line automatically stripped from the displayed header: - The \r\n's were moved from the end of the MsgSubj and MsgAttr strings to the beginning of the MsgAttr and MsgTo strings. Also, fixed the number in the VoteMsgUpDownOrQuit comment. Removed "I'm" from the "Sorry.." vote related strings.
-
rswindell authored
console input on Windows (e.g. the prompt() method no longer worked). This change was related to his JSDoor work, so that might be broken now.
-
rswindell authored
SMBLIB dependency to projects (e.g. filelist) that don't already have it.
-
rswindell authored
invalid conversion from æconst char*Æ to æchar*Æ
-
rswindell authored
-
rswindell authored
- wasn't opening sub-board correctly (now using new smb_open_sub) - for single-hope QWK packets, wasn't setting the sender netaddr (QWK-ID)
-
rswindell authored
"the right way", this will be used to replace a lot of copy/pasta over time.
-
- Nov 13, 2016
-
-
rswindell authored
MsgDownVoteNotice. Also moved the R_Voting string, so the last few voting related strings in the text.dat have been re-arranged (sorry about the thrash) - if you don't have these new 8 lines, the default strings are used and you're fine. When listing messages from the "Reading" prompt, the vote status and Replied attribute flag are now indicated: 'V' = voted up (more than down), 'v' = voted down (more than up), and 'R' = replied-to. Unread/new messages still show a '*' in the A (for attributes) column. Voting via JS still does not automatically send a notice to the poster, that still needs to be worked out.
-
rswindell authored
(new header properties: upvotes and downvotes), regardless of the "include_votes" argument value (default: false). get_all_msg_headers() reads the entire index already, so there's really no performance penalty unless there are actual votes (and even then, very low). The MsgBase.get_msg_header() function will *not* return these vote totals since that would incur a pretty substatial performance hit on that function.
-
rswindell authored
-
rswindell authored
(like save_msg), except you only need a few properties, in order of importarnce: attr: you need to have this set to MSG_UPVOTE, MSG_DOWNVOTE, or MSG_VOTE thread_back or reply_id: either of these must be set to indicate msg to vote on from: name of voter from_net_type and from_net_addr: if applicable
-
rswindell authored
sends a short message (telegram) to the poster of the vote. It also confirms this is not a duplicate vote.
-
rswindell authored
-
rswindell authored
-
rswindell authored
visible in resource view).
-
- Nov 12, 2016
-
-
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.
-
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.
-
- Nov 11, 2016
-
-
rswindell authored
correctly.
-
- Nov 10, 2016
-
-
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.
-
rswindell authored
-
rswindell authored
- Sub-boards can be disalbled for voting in SCFG Removed un-implemented "kill msg when read" sub-board option.
-