- Dec 19, 2023
-
-
Rob Swindell authored
Remove some redundant redundancies, redundantly
-
Deucе authored
it's only called from load_cfg() which has already set it to -1. We also don't need to check prepped twice to make sure it's extra true.
-
Rob Swindell authored
-
Deucе authored
-
Deucе authored
-
Rob Swindell authored
Ctrl-A in the Failed Logins dialog now selects-all rather than copy-all (just use Ctrl-A, then Ctrl-C to copy all).
-
Rob Swindell authored
-
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
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
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
The number of failed login attempts. It's something.
-
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
-
Rob Swindell authored
-
Rob Swindell authored
So move to nopen.h
-
Rob Swindell authored
-
Rob Swindell authored
-