/
/
/
session.h
Amendments on January 24, 2024
jcs made amendment
580
2 months ago
Amendments on November 17, 2023
jcs made amendment
550
5 months ago
Amendments on June 15, 2023
jcs made amendment
510
10 months ago
Amendments on April 27, 2023
jcs made amendment
494
11 months ago
Amendments on April 26, 2023
jcs made amendment
491
11 months ago
Amendments on April 10, 2023
jcs made amendment
477
about 1 year ago
jcs made amendment
474
about 1 year ago
Amendments on April 7, 2023
jcs made amendment
467
about 1 year ago
Amendments on March 26, 2023
jcs made amendment
447
about 1 year ago
Amendments on March 25, 2023
Disable it for now, I'm still not sure when I want it printed
jcs made amendment
442
about 1 year ago
Amendments on March 15, 2023
Something is overwriting things in the session and trashing ibuflen
or obuflen, so add canaries in between struct members to try to find
where they get trashed.
jcs made amendment
429
about 1 year ago
Amendments on February 22, 2023
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
This lets us show 20 at a time (or less if the user's terminal is
short), and avoids the goofy starting-at-zero thing.
Also add 'n' and 'p' shortcuts from the post view menu to view the
next and previous posts in the list.
jcs made amendment
302
about 1 year ago
Amendments on November 19, 2022
Assign each guest their own unique chat username so it's not so
confusing if multiple guests are chatting.
jcs made amendment
290
about 1 year ago
Amendments on September 21, 2022
Prune after 21 days of logs by default, every morning. The db was
getting quite large and each new login or recent call check was
taking a long time.
We're stable now so we don't have to persist the call log tally to
disk, just keep it in memory.
jcs made amendment
255
about 1 year ago
Amendments on September 14, 2022
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
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 July 19, 2022
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
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
This is only used in chat and only to print a left-aligned bar.
jcs made amendment
210
about 1 year ago