AmendHub

jcs

/

subtext

/

amendments

/

db.c

Amendments on February 16, 2024

db: Free bile object in db_cache_boards

jcs made amendment 591 2 months ago

Amendments on February 13, 2024

logger: Add RFC3164 (BSD) syslog support

Log everything at system.notice for now
jcs made amendment 585 2 months ago

Amendments on January 24, 2024

db: Terminate view buffer where FSRead reports it finished

On the odd chance that the file size reports one size and FSRead
reports reading less than that, we would have left garbage in the
buffer before terminating it. Now that FStat no longer includes the
resource fork size, this shouldn't happen, but better be safe.
jcs made amendment 582 2 months ago

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 566 4 months ago

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.
jcs made amendment 565 4 months ago

Amendments on November 9, 2023

*: Do config changes on the fly, restarting modules as needed

Annotate each config option with which component it needs restarted
when it changes and do those after saving from the sysop menu. This
also provides the ability to log each changed config option with its
old and new values.
jcs made amendment 531 5 months ago

Amendments on November 8, 2023

serial: Make number of rings before answering a configurable setting

Defaults to 1 as before, but can be increased to allow caller id
strings to come through the logger.
jcs made amendment 528 5 months ago

Amendments on August 28, 2023

db: Include AT&D2 in default modem init, we need it for hangup

This makes the modem hangup when flashing DTR and is probably the
default on real modems but we may as well be explicit about needing
it.
jcs made amendment 522 7 months ago

Amendments on June 16, 2023

db: Remove a bunch of old migrations

jcs made amendment 516 10 months ago

Amendments on June 15, 2023


Amendments on April 8, 2023

db: Add ftn_max_tossed_message_size and max_sysop_idle_minutes

jcs made amendment 469 about 1 year ago

Amendments on April 6, 2023

db: If a folder's path doesn't exist, ask to create it

jcs made amendment 462 about 1 year ago

Amendments on March 27, 2023


Amendments on March 17, 2023

db: When caching boards, reindex if needed and store latest post date

Move these cache operations to main after logger has inited since
these can take a while.
jcs made amendment 435 about 1 year ago

Amendments on March 15, 2023

db: Add mail_prune_days field, default to 180 days

jcs made amendment 426 about 1 year ago

Amendments on March 14, 2023

db: Use FTN terminology

jcs made amendment 409 about 1 year ago

Amendments on March 11, 2023


Amendments on March 10, 2023

sysop: Use new struct_editor for boards and folders

This allows moving the deletion of them into the edit menu
jcs made amendment 391 about 1 year ago

Amendments on March 8, 2023

db: Remove unused variables, fix format strings, fix shadowing

jcs made amendment 373 about 1 year ago