- Dec 20, 2024
-
-
Rob Swindell authored
changed from 0 to 1: timeperday timepercall callsperday postsperday emailperday There are restrictions to remove access to these features if that's what the sysop desires. This will allow unauthenticated mail clients to post a single message (per day) to a sub-board, when there's a posting alias set up (sub:* in alias.cfg).
-
Rob Swindell authored
... and auto-choose the right one Tested on Windows 11 (x64) and Windows7-32
-
Rob Swindell authored
-
Rob Swindell authored
Don't install the fonts to the syncterm.ini, Deuce says they confuse sysops. Renamed the setup.exe file due to warning from ISS about security concerns. Tested on Windows 11.
-
Rob Swindell authored
This function appears to truncate the service pack info for Windows 7 (6.1): "Windows NT Version 6.1 (Build 7601) Service Pack 1 x86" became: "Windows NT Version 6.1 (Build 7601) S x86" Don't close the handle to ntdll.dll (hey, that's stupid filename, Microsoft!) since the module could be unloaded from the address space and then a call to the captured procedure address could/would crash. This handle will be closed when the process terminates anyway. While we're here, correct the Windows 6.1 -> 7.0 numbering. That looks better: "Windows NT Version 7.0 (Build 7601) Service Pack 1 x86" Something should probably be done for Windows 6.2 -> 8.0 numbering too, but I don't have a VM handy. Is anyone actually still running Windows 8.x?
-
Rob Swindell authored
Needed for building sbbsexec.dll I guess #pramga warning only affects the following source line. Apparently we're disabling this warning effectively via other means in all other MSVC projects.
-
Rob Swindell authored
This is fun Microsoft. If Windows 11 is actually Windows 10.22000+, what will Windows 12 be? No one can guess.
-
Rob Swindell authored
When the system time zone is not UTC, but the sysop wants to display some dates and times in UTC, they can now use these @-codes to do that: - TIME_UTC - DATE_UTC - UTC:fmt - DATETIME_UTC - MSG_DATE_UTC
-
- Dec 19, 2024
-
-
Deucе authored
Nobody will really care though.
-
Rob Swindell authored
This partially reverts commit 03b84df8. I observed deadlocks on Linux attempting locks of user.tab on Samba share, which also deadlocked my Windows nodes. Interestingly, the Windows nodes never deadlocked on their own (after a week of testing) when using blocking locks. Double the frequency of lock retries - this has helped reduce the observed user.tab lock failures on Vertrauen.
-
Rob Swindell authored
As Deon pointed out in DOVE-Net / Synchronet Discussion, having a local time zone configured with a different UTC offset than your system time zone can produce strange/unexpected results (e.g. displayed age of messages). Since it's possible that not all sysops will complete the configuration wizard or actually set their timezone to the correct value (and ignore the startup warning message), we now make the default Local Time Zone to be "automatic" - query the OS every time the local time zone is needed/used. This has the downside of only storing (e.g. in message headers) the UTC offset of the current time zone (not the time zone abbreviation/name as encoded by SMB). I considered making an option to dynamically figure out the actual time zone (not just the UTC offset) and while I think that's doable, Deon just wanted his UTC offset (e.g. UTC+11:00) and not his time zone name (e.g. AEDT) stored in message headers, so this setting w...
-
Rob Swindell authored
Make the scheme ("http://" or "https://") configurable via rss.ini, default is now "https://". Make the message link format somewhat configurable via rss.ini (hopefully to support some other/future web message reading interface should there be one). Reportedly, the MsgBase.get_msg_header/body() calls of the "total_msgs" offset were logging errors? I was not able to reproduce this (the !hdr check seemed to be successfully ignoring such cases), but in any case, message offsets are 0-based, so this was definitely an off-by-one issue, even if it was a silent failure for everyone else. <shrug>
-
Rob Swindell authored
... when current timezone is negative offset from UTC, but not a US time zone, the default should be "No".
-
Rob Swindell authored
DDMsgReader bug fix: In the scrolling message reader interface, it now exits on user input timeout (as it should). This should fix issue #844, reported by Keyop Closes #844 See merge request !483
-
Eric Oulashin authored
DDMsgReader bug fix: In the scrolling message reader interface, it now exits on user input timeout (as it should). This should fix issue #844, reported by Keyop
-
Deucе authored
Presumably it's because I'm not using std=gnu11 or whatever
-
Deucе authored
Use the same hack as for strerror_r()
-
Deucе authored
-
- Dec 18, 2024
-
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
The non-standard strerror_r() is glibc specific, musl doesn't do that. It *appears* that __USE_GNU implies glibc.
-
Rob Swindell authored
-
- Dec 17, 2024
-
-
Rob Swindell authored
Looking into potential causes of issue #843, I found several instances where we call getuserdat() without checking the return value and restoring the useron.number to the current user number upon error: getuserdat() zeroes out the user struct/number upon error, a bad API choice made 23 years ago. Replace those instances with calls to sbbs_t::getuseron() which logs any open/lock/read failures of the user.tab and does not modify/zero-out the sbbs_t::useron struct upon error.
-
Rob Swindell authored
-
Rob Swindell authored
... since all (almost all) callerd do a config check first. Also, some callers of openuserdat() were expecting -1 on failure (always). Functions that returned the return value of openuserdat() upon failure, now return USER_OPEN_ERROR instead, to be consistent.
-
Rob Swindell authored
-
Rob Swindell authored
A copy/paste from websrvr.c
-
- Dec 16, 2024
-
-
Rob Swindell authored
... that is working (for me at least) to auto load/rerun sbbs
-
- Dec 15, 2024
-
-
Rob Swindell authored
-
- Dec 14, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
This needed a custom solution (not errprintf) since the filename is passed-in is likely from dynamically allocated memory, so a pointer comparison isn't enough - and we don't get the function name.
-
Rob Swindell authored
This is a solution for issue #842, but only for messages posted/sent from the terminal server using built-in functions and not via JS or other means. A more universal/generic solution would be nice (beyond just always storing message headers and bodies in UTF-8), but nothing has come to mind.
-
Rob Swindell authored
-
Rob Swindell authored
This reverts commit 79fa3c0b.
-
- Dec 12, 2024
-
-
Deucе authored
Differently than all other types, the length must be set before parsing because the BPP does not contain the length data, instead the length is specified by the message definition.
-
Deucе authored
The expectation is now that there will be a single copy of SSH BPP contents and arrays and buffers will be pointers into that.
-
Deucе authored
This avoids another allocation/free requirement.
-
Deucе authored
All consumers are expected to only #include deucessh.h now. Individual headers should not be included.
-
- Dec 11, 2024
-
-
Rob Swindell authored
-