Amendments on January 10, 2024

Amendments on March 25, 2023

*: Add more prompt help strings

jcs made amendment 444 about 1 year ago

Amendments on February 23, 2023

user_settings: Forgot a session_menu caller in previous commit

jcs made amendment 313 about 1 year ago

Amendments on August 14, 2022

logger: Add buffered logging, support logging without updating window

During telnet negotiation, many lines are logged in quick succession
which means we spend a lot of time updating the log TextEdit. Just
buffer these logs and spit them out all at once upon login or
disconnection, so the user's login prompt is immediately responsive.
Rename session_log to session_logf while I'm in here, to reflect that
it's a format-string function.
jcs made amendment 245 about 1 year ago

Amendments on August 13, 2022

session: Don't set default terminal type, if node doesn't, prompt user

This way modem users and telnet users with weird clients that don't
negotiate TTYPE will get prompted for vt100 compatibility.
jcs made amendment 243 about 1 year ago

Amendments on July 21, 2022

*: Use NewPtr instead of malloc, add malloc and free debugging

Instead of free(ptr), use xfree(&ptr) and after it calls
DisposePtr(ptr), it will update ptr to point at NULL to catch
When MALLOC_DEBUG is defined, each allocation is added to a
list, and removed when freed. If it's not in the list at free
time, it's a double-free. Also, instead of pointing pointers at
NULL, point them to a pre-defined block of zeroes and in the
idle loop, periodically check that this block is still zero. This
will also catch use-after-frees in a more reliable (but costly)
jcs made amendment 220 about 1 year ago

Amendments on July 19, 2022

*: Add session signoff view, remove session_output_template

All remaining uses of session_output_template can use session_printf
which still does {{B}} and {{/B}} parsing.
Change session_output_view to session_output_view_or_printf to make it
easier to print a view and fallback to a string, rather than having to
check the result of session_output_view everywhere.
jcs made amendment 218 about 1 year ago

Amendments on July 12, 2022

mail+sysop+user_settings: Make menu options const

jcs made amendment 196 about 1 year ago

Amendments on June 7, 2022

sysop: Add user management

Also wire up new/signup login to direct there upon login, adding a
setting to the global config to allow it.
jcs made amendment 123 over 2 years ago

Amendments on June 3, 2022

user_settings: Support changing usernames

jcs made amendment 119 over 2 years ago

Amendments on June 2, 2022

*: Minor bug fixes, better NULL checks

jcs made amendment 114 over 2 years ago

Amendments on May 23, 2022

*: Lots of deck chair rearranging

Move things from db files to their respective areas
Make username map contain normal username, just do strcasecmp check
during user_find_by_username.
jcs made amendment 107 over 2 years ago

Amendments on May 15, 2022

session: Add session_menu, use it everywhere

Start on sysop board management
jcs made amendment 100 over 2 years ago

Amendments on May 12, 2022

settings: Move to interactive text-based menu for sysops

This will allow remote administration and have a reusable component
for editing structs for users, boards, etc.
jcs made amendment 99 over 2 years ago

Amendments on April 28, 2022

user_settings: Add user settings menu

Currently allows changing passwords and renegotiating the terminal
jcs made amendment 97 over 2 years ago