- Dec 19, 2023
-
-
Rob Swindell authored
warning: result of comparison of constant 100000 with expression of type 'uint16_t' (aka 'unsigned short') is always true
-
Deucе authored
-
Rob Swindell authored
./scfg.h:80:9: warning: 'SUB_HDRMOD' macro redefined [-Wmacro-redefined]
-
Rob Swindell authored
-
Rob Swindell authored
This is always going to call the terminal server's lprintf function (when used with libsbbs.so/sbbs.dll) which is probably not what was intended.
-
Rob Swindell authored
Resolve reported clang warning: inkey.cpp:592:20: warning: implicit conversion from 'long' to 'int' changes value from 2147483648 to -2147483648 [-Wconstant-conversion] if(!term_supports(MOUSE)) ~~~~~~~~~~~~~ ^~~~~ ./sbbsdefs.h:574:19: note: expanded from macro 'MOUSE' #define MOUSE (1L<<31) /* Mouse supported terminal */
-
Rob Swindell authored
This is hacky cruft here. We shouldn't have the declaration in multiple places. It probably shouldn't be in sbbs.h.
-
Rob Swindell authored
-
Rob Swindell authored
load_cfg() calls free_cfg() before do_cryptInit() is called, so the ssl_rwlock was uninitialized here.
-
Rob Swindell authored
-
Deucе authored
Holding the lock around session establishment should not be needed, but we need to protect tls_certificate read and usage. Since we don't have rwlocks in xpdev (yet?), hack together a crappy rwlock that does what we need.
-
Rob Swindell authored
-
Rob Swindell authored
Also, remove "CONSECUTIVE", which doesn't really make sense when the number of login attempts in 1.
-
Rob Swindell authored
There's a hidden checkbox on the CodeInputForm now (explaining why the edit/ combo box is now moved up).
-
Rob Swindell authored
-
- Dec 18, 2023
-
-
Rob Swindell authored
Use lower case y/w/d/h/m suffix. If a duration is an exact multiple, don't display ".0" fraction. This is not consistent with byte_estimate_to_str() string generation, but I think it's more in line with human expectations. Don't display "90d" as "12.9w" (unless the requested unit is one-week).
-
Rob Swindell authored
Renamed the "Perm Filter Threshold" to "Auto Filter Threshold". Changed help text from "Permanent" to "Persistent"
-
Rob Swindell authored
More readable/friendly log messages and ip.can reason strings
-
Rob Swindell authored
-
Rob Swindell authored
Sometimes you want to see "1.5 minutes" (or "1.5M") intead of "90 seconds" (or "90S") I noticed some left over questionable use of ulong here in byte_count related functions, so fixed that.
-
Rob Swindell authored
The number of failed login attempts. It's something.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Update wording and add more help text.
-
Rob Swindell authored
-
Rob Swindell authored
Now a sysop can "perm block" a client (IP address) for a limited amount of time rather than always forever. Add more displays of the ip.can details when actively blocking a client. Moved twit/trash functions from userdat.c to trash.c
-
Rob Swindell authored
For symmetry
-
- Dec 17, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
I wanted a couple of features for filters (e.g. blocked IP addreses): - expiration date, optionally (only block for a limited time) - display details of reason for filter in log messages (at time of block) I've been thinking for some time that these files should be converted to .ini, but then it occurred to me that I could do a sort of hybrid where the metadata was key/value pairs tab-delimited from the search-pattern (first text on the line). This is backward comaptible, relatively easy to view/edit by hand, and extensible (easy to add/remove metadata fields in the future). So they'll remain as text/*.can files. The maximum line length for findstr/trashcan parsed files extended from 255 to 1000 characters. Moved all trashcan-related functions from scfglib1.c to (new file) trash.c. For the first time, I actually tested a build on WSL *before* committing to Git. So, this *should* pass CI the first time. :-O
-
Rob Swindell authored
-
Rob Swindell authored
The output of this function was not ISO-8601 complaint (blush) and was not parsable by isoDateTimeStr_parse() (returned -1). e.g. "20231217T011437-480" rather than "20231217T135222-0800" (in PST) Positive UTC offset (eastern) zones would be even worse (the + separator would be missing).
-
Rob Swindell authored
SlyEdit: Now using msg_area.sub[code].settings to check for posting with real... See merge request !377
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
So move to nopen.h
-
Rob Swindell authored
-