AmendHub

jcs

/

subtext

/

amendments

/

session.c

Amendments on February 13, 2024


Amendments on December 5, 2023


Amendments on November 28, 2023

session: Add support for {{center_XX}} template variable

This is useful for centering menu lines on wide terminals without
having to wrap on narrow terminals.
jcs made amendment 570 4 months ago

*: 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 21, 2023

session: Use different values for each canary

jcs made amendment 556 5 months ago

Amendments on November 17, 2023

session: Add "logged_in_time" template variable

jcs made amendment 552 5 months ago

Amendments on August 3, 2023

session: When breaking on spaces in session_paginate, drop space

This way we're not printing spaces at the end of the line which can
cause some terminals to wrap at their width right before we print a
\r\n.
jcs made amendment 521 8 months ago

Amendments on August 2, 2023

session: Fix initialization of last_space in session_paginate

If the first character of the message is \r or \n, the subsequent
wrapping was wrong because last_space was still 0. Init it to -1
to properly detect when it's never been set.
jcs made amendment 519 8 months ago

session: Fix off-by-one in session_paginate

When breaking on existing newlines, this was sending the \r of \r\n
to session_output, so we were writing "line\r\r\n" which on some
terminals produced an extra blank line in between each line output.
jcs made amendment 518 8 months ago

Amendments on June 15, 2023

session: Show user locations in who and last

jcs made amendment 513 10 months ago

Amendments on May 4, 2023

session: Allow guest/signup/new logins to be mixed-case

Also use GUEST_USERNAME everywhere instead of a hard-coded "guest"
string
jcs made amendment 508 11 months ago

Amendments on April 27, 2023


Amendments on April 10, 2023

session: Show "Username" at the login prompt

It's not a Unix system, I don't know this
jcs made amendment 480 about 1 year ago

session: When a sysop logs in, if someone paged, ask to answer

jcs made amendment 478 about 1 year ago

session+chat: Finally implement sysop paging/answering

jcs made amendment 477 about 1 year ago

Amendments on April 8, 2023


Amendments on April 7, 2023

session: Turn word wrap into paginator, use in boards+mail

jcs made amendment 467 about 1 year ago

Amendments on April 6, 2023

board+main_menu: Add ACTION_BOARD_LIST_BOARDS, fix bug in indexing

Since there may be more than 10 boards now with FTN support, add a
function to list local boards.
Fix bug in board_index_sorted_post_ids that was writing a bogus map
when there were no threads.
jcs made amendment 464 about 1 year ago

Amendments on March 26, 2023

board: Word-wrap post bodies

jcs made amendment 447 about 1 year ago