AmendHub

jcs

/

subtext

/

amendments

/

subtext.h

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 March 15, 2023

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

jcs made amendment 422 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

Amendments on October 1, 2022

logger: There will only be one, stop passing object around

This also helps at shutdown to know when we can no longer log.
jcs made amendment 261 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 16, 2022

*: Properly handle running out of sessions

Limit sessions to the number of uthreads we can handle, and then
reserve 1 session for the console.
In telnet, allocate one extra node so we can print a message to the
client that we have no free nodes, and then disconnect. Add a view
for this to make it editable.
In console, handle getting a null session back from session_create.
jcs made amendment 211 about 1 year ago

Amendments on June 21, 2022

blanker: Add a simple screen blanker

This will trigger after the configured number of idle seconds, when
there are no active sessions. A mouse click or key press will unblank
right away, otherwise it will unblank automatically after the
configured number of runtime seconds.
This is a more CPU-friendly alternative to a normal screen saver, and
it will only run for a short amount of time to do its job of blanking
the screen to prevent burn-in.
jcs made amendment 159 about 1 year ago

Amendments on June 7, 2022

rez: Remove Users menu option, it's in the BBS now

jcs made amendment 125 about 1 year ago

Amendments on May 23, 2022

strcasecmp: Add from OpenBSD

This could probably go in util, but keep it separate for now
jcs made amendment 105 about 1 year 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 about 1 year ago

Amendments on April 14, 2022

focusable: Move code to separate file, fix a bunch of bugs here

Fix drawing on the wrong window, drawing in the wrong font, crash at
exit, etc.
jcs made amendment 92 over 2 years ago

Amendments on March 31, 2022


Amendments on March 17, 2022

serial: Start on serial modem support

jcs made amendment 88 over 2 years ago

main+console: Import new focusable code from wallops

jcs made amendment 73 over 2 years ago

Amendments on January 23, 2022

main: Add submenu for editing each view

jcs made amendment 65 over 2 years ago

Amendments on January 22, 2022


Amendments on January 18, 2022

focusable: Introduce focusable objects

Instead of tracking a current console, track a focusable object that
has callbacks to window-specific functions for things like keyboard
input, mouse input, updating, etc. This lets the main loop not care
about which window is getting input and lets each type of window
(console, settings, etc.) deal with input as it needs to, in its own
file.
jcs made amendment 55 over 2 years ago

Amendments on December 6, 2021

user+session: Implement user authentication

jcs made amendment 14 over 2 years ago

Amendments on December 5, 2021

db+user: Initial work on creating a database, creating users

Of note, 'C###' templates are a C string in ### bytes in hex, not dec
jcs made amendment 8 over 2 years ago

Amendments on November 22, 2021

Initial import

Work on a functioning console
jcs made amendment 1 over 2 years ago