AmendHub

jcs

/

subtext

/

amendments

/

sysop.c

Amendments on February 23, 2023

sysop: Add an option in the sysop menu to hang up the modem

jcs made amendment 309 about 1 year ago

Amendments on February 22, 2023

session_menu: Handle multi-digit input universally here again

Move the board change into this and update all other menus that input
numbers to use it by supplying a prompt addition and short variable
to write to.
Update sysop, mail, and file menus to list 20 things at a time.
jcs made amendment 308 about 1 year ago

Amendments on February 16, 2023

bile: Add flags arg to bile_delete, make zeroing and purging optional

When deleting a bunch of records in a row, we can avoid writing out
a new map every time.
jcs made amendment 301 about 1 year ago

Amendments on February 5, 2023

*: Minor fixes found by cppcheck and scan-build

Mostly unused variables
jcs made amendment 300 about 1 year ago

Amendments on November 30, 2022

db: Properly close board and folder biles at shutdown

This was causing subsequent runs under non-MultiFinder to fail to
open files with opWrErr.
Also when we fail to open a bile and recovery fails, fall through to
letting the user recreate the file as we do if the user opts not to
recover the file.
jcs made amendment 297 about 1 year ago

Amendments on September 14, 2022

*: Add Message of the Day support

Track the highest MOTD id each user has seen and only show it on
login if the current one is higher than the user's highest seen.
Also, in migrations, we can't iterate through users while modifying
each one, because the order will change as we save and write a new
user in the map.
jcs made amendment 250 about 1 year ago

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 3, 2022

sysop: Pass malloc notes to bile

jcs made amendment 230 about 1 year ago

Amendments on July 31, 2022

*: Add malloc annotations

jcs made amendment 226 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
use-after-frees.
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)
way.
jcs made amendment 220 about 1 year ago

Amendments on July 13, 2022

sysop: Write new config but don't apply it on the fly

There are things in the idle loop that check for config settings and
we can't assume they were there at startup
jcs made amendment 201 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 30, 2022

*: Hook up folders

jcs made amendment 179 about 1 year ago

Amendments on June 9, 2022

sysop: Add support for deleting users

jcs made amendment 133 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 about 1 year 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 about 1 year ago

Amendments on May 15, 2022

session: Add session_menu, use it everywhere

Start on sysop board management
jcs made amendment 100 about 1 year ago