- Nov 13, 2016
- 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.
-
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
-
- Nov 08, 2016
-
-
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.
-
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.
-
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.
-
rswindell authored
loginFailure() now handles a NULL password argument correctly.
-
- Oct 19, 2016
- Oct 17, 2016
- Oct 06, 2016
-
-
rswindell authored
Added (new) '-a' option to dump the parsed area file (areas.bbs) to stdout (useful for debugging area file issues). Only age-filtered messages can be relayed to downlinks now (not twit-filtered messages).
-
rswindell authored
-
rswindell authored
1. check if user is online before starting any scanning/packing 2. log a message when aborting scan/pack due to user online
-
rswindell authored
-
rswindell authored
-
rswindell authored
into a terminal server node)
-
rswindell authored
semi-normal cases (e.g. user does not have permissions for this node). Fixes "User not logged on" error.
-
- Aug 11, 2016
-
-
rswindell authored
character of the default outbound directory *unless* it is a path delimiter (e.g. / or \) - for BSO only. Also minor optimization: don't call mkpath() unless isdir() returns false (on the outbound directory).
-
- Aug 06, 2016
-
-
rswindell authored
be 0 (at least on Windows), but readuserdat() treated 0 as an invalid file descriptor and opened the file again. The probably is the reason for the reported issues with the Windows GUI user editor not being able to save changes to the user database. Bug introduced in Dec-2015 (rev 1.164 of this file).
-
- Aug 03, 2016
-
-
rswindell authored
Added support for "%RESCAN <echo-tag>" at the request of Al Prunty, because he asked for this "new feature".
-
rswindell authored
Filtered messages include messages not imported due to age, twitlist, dupes, etc. To change this behavior, set RelayFilteredMsgs=true in your sbbsecho.ini.
-
rswindell authored
-
- Jul 05, 2016
-
-
rswindell authored
ERROR 2 (No such file or directory) opening stray packet: /sbbs/temp/sbbsecho/577ab8e4.pkt
-
- Jun 30, 2016
-
-
rswindell authored
(35 chars). Use macros for maximum internal code length and echo tag lengths.
-
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.
-
- May 31, 2016
-
-
rswindell authored
the LogTimeFormat key in sbbsecho.ini. The default is "%Y-%m-%d %H:%M:%S". If you want the old (v2) time-stamp format, set this value to "%m/%d/%y %H:%M:%S". Any/all valid strftime() specifiers may be used.
-
rswindell authored
this is not a totally unexpected occurrance. No need to fill up the error.log.
-
- May 27, 2016
-
-
rswindell authored
Windows build of addfiles, et al.
-
rswindell authored
- "Configure" menus (not working since the IPv6 commit) - both IPv4 and IPv6 addresses may be specified (comma-separated), or multiple IPv4 addresses! - Added new "Temp Ban" settings to Properites->Security tab. - Added context (tab) sensitive "Help" button to Properties page (links to section on relevant wiki page). - Every log window has a new right-click pop-up menu with 2 options: 1. Copy Selected 2. Copy All Hopefully it's obvious what these menu options do. :-)
-
rswindell authored
- Never ban the server's own address - Log the login attempt and last name attempted - Use a compressed version of the HH:MM:SS "time remaining" portion of the log message
-
rswindell authored
LoginAttemptBanDuration value. Allows short-hand multipliers: YWDHMS (year, week, day, hour, minute, second) and fractions (e.g. "2.5H").
-