jcs
/subtext
/amendments
Amendments on January 10, 2024
main: If the system clock has a date < 2024, don't run periodic jobs
Otherwise the date calculations will be wrong, the unsigned
comparisons will go negative and result in basically everything
getting pruned :(
Amendments on December 19, 2023
jcs made amendment
575
11 months ago
Amendments on December 5, 2023
jcs made amendment
574
11 months ago
Amendments on December 2, 2023
telnet: Speed up initial IAC negotiation to avoid delay after connect
Extract output IAC escaping from telnet_output so telnet_output_iac
can call it to put data into node->obuf without actually flushing it
to the network. Since the initial IAC negotiation will have a bunch
of back and forth, this lets us queue up a bunch of outgoing data
that we can flush once.
Also avoid sending DO NEWENV unless we're talking to the trusted
proxy, since we only need that to receive REMOTE_ADDR. Otherwise
we'll waste time and packets receiving junk like the telnet user's
DISPLAY or XAUTHORITY variables.
jcs made amendment
572
11 months ago
jcs made amendment
571
11 months ago
Amendments on November 28, 2023
session: Add support for {{center_XX}} template variable
This is useful for centering menu lines on wide terminals without
having to wrap on narrow terminals.
jcs made amendment
569
11 months ago
jcs made amendment
568
11 months ago
jcs made amendment
567
11 months ago
*: Move views out of database to flat files
Remove half-baked view editor and cache file contents in memory.
Add a sysop menu option to reload them.
When opening the database, if the command key is held down, prevent
opening the last-opened database and prompt for a different one.
Amendments on November 27, 2023
serial: Nullify session on init, catch init string errors
This allows the init string to not have ATQ0, which we now do by
default so if the init string is later changed and produces an
ERROR response, we will log it.
Also nullify the serial node session on init, which will happen
after forced hangup. Otherwise we may have been keeping the
association of the serial node's session and disconnecting it
on forced hangup, even if that session was later reassigned to
another node.
binkp: Handle packet tossing better
On what looks like a permanent error (not malloc or network), assume
the file is bad and skip it, moving it to the "bad" folder and now
sending mail to the sysop.
mail: Add mail_to_sysop()
Errors can be mailed to the sysop instead of just getting lost in
the console log.
user: Add user_first_sysop_id()
The username can be found from this, but just returning a username
is harder to find an id for.
Amendments on November 21, 2023
telnet: Don't lookup location of the trusted proxy, look it up later
Once we get the REMOTE_ADDR NEWENV, do the lookup then and update
the session log.
board: For new FTN messages posted locally, just toss them
Instead of writing the bile object ourself, use the toss function
which will do all of that along with the important bit of putting
the message id into the msgid cache. Previously we weren't doing
that so if the hub sent us back a copy of our own message, our
duplicate detection wasn't finding the existing msgid in our cache,
causing duplicate copies of all locally posted messages.
We still need to update this msgid cache when deleting FTN messages,
but we'll do that later.
jcs made amendment
559
about 1 year ago
jcs made amendment
558
about 1 year ago
jcs made amendment
557
about 1 year ago