AmendHub

jcs

/

subtext

/

amendments

/

main.c

Amendments on February 15, 2024


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 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 576 3 months ago

Amendments on December 2, 2023


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 5 months ago

Amendments on November 16, 2023

binkp: Remember when we failed connecting and delay next poll

If we had messages in the outbox and triggered a connection which
then failed, the main periodic loop will just pick up those outbox
packets right away and try reconnecting. In that case, don't look
for outbox packets and just use the next poll time.
jcs made amendment 546 5 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 June 15, 2023

main: Hook up ipdb

jcs made amendment 512 10 months ago

Amendments on April 18, 2023

binkp: Setup binkp_*_dir variables even if we're not polling

Posting to an FTN board needs to know where the outbox dir is, or
it'll write files in the wrong place.
jcs made amendment 485 about 1 year ago

Amendments on March 27, 2023

main: Remove some unused code

jcs made amendment 457 about 1 year ago

Amendments on March 25, 2023

main: Move caching to after logger init

jcs made amendment 445 about 1 year ago

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

main: Let binkp poll run if next_poll is 0, even if one is logged in

This should only happen when the sysop triggers it, so let it run
jcs made amendment 432 about 1 year ago

mail: Add mail pruning

jcs made amendment 427 about 1 year ago

main: Move periodic jobs and binkp polling to one thread here

jcs made amendment 422 about 1 year ago

Amendments on March 9, 2023

main: Remove unused binkpc

jcs made amendment 386 about 1 year ago

Amendments on March 2, 2023


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

logger: Add support for resizing window

This was the hard way of fixing the problem of clicking the scrollbar
down arrow and it not generating a mouse down event because it was
where the grow control is expected to be.
jcs made amendment 288 about 1 year ago

Amendments on November 11, 2022

*: Add dynamically configured main menu

The list of action->key pairs can be edited from the console menu,
and doubles as a list of each key->label that we can print for the
default main menu shown to the user when no custom menu is defined.
jcs made amendment 281 about 1 year ago