jcs
/subtext
/amendments
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.
Amendments on November 27, 2023
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.
mail: Add mail_to_sysop()
Errors can be mailed to the sysop instead of just getting lost in
the console log.
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.
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.
Amendments on November 28, 2023
*: 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.
jcs made amendment
567
5 months ago
jcs made amendment
568
5 months ago
jcs made amendment
569
5 months ago
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.
Amendments on December 2, 2023
jcs made amendment
571
5 months ago
jcs made amendment
572
5 months ago
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.
Amendments on December 5, 2023
jcs made amendment
574
4 months ago
Amendments on December 19, 2023
jcs made amendment
575
4 months ago
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 :(
jcs made amendment
577
3 months ago
jcs made amendment
578
3 months ago
Amendments on January 23, 2024
jcs made amendment
579
3 months ago
Amendments on January 24, 2024
jcs made amendment
580
3 months ago