AmendHub

jcs

/

subtext

/

amendments

Amendments on June 6, 2022

session: Touch user last_seen_at upon login

jcs made amendment 121 about 1 year ago

Amendments on June 7, 2022

util: vwarn can't re-use its alert DITL handle, make a new one

But still pre-allocate one at startup
jcs made amendment 122 about 1 year ago

sysop: Add user management

Also wire up new/signup login to direct there upon login, adding a
setting to the global config to allow it.
jcs made amendment 123 about 1 year ago

session: Implement persistent days-per-call tallying

Stub out file area response in main menu for now
jcs made amendment 124 about 1 year ago

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

jcs made amendment 125 about 1 year ago

db: Fix IDs for views

jcs made amendment 126 about 1 year ago

Amendments on June 9, 2022

bile: Revert in-place saves, keep 8k alignment, fix bug in bile_alloc

In bile_alloc, the initial last_pos is set to the header length, but
if there is only one object, we never add its length to last_pos.
This only happens when we have objects and then delete all of them,
leaving only the map object. Normally we'd either have 0 or 1+map.
Add canary to bile struct, verify it exists in every function so we
can check that we have a valid bile file and not a bogus pointer.
jcs made amendment 127 about 1 year ago

bile: Turn async back on for bile_flush

jcs made amendment 128 about 1 year ago

db: Fix db_cache_boards when we have to recreate a file

jcs made amendment 129 about 1 year ago

board: Support deleting posts

Depending on whether the post has replies, either delete the post or
just edit it to say it's been deleted
jcs made amendment 130 about 1 year ago

main: Sync menu options

jcs made amendment 131 about 1 year ago

session: Fix newline handling in session_field_input

We may only get \r, but we need to send \r\n and add it to the buffer
as well.
jcs made amendment 132 about 1 year ago

sysop: Add support for deleting users

jcs made amendment 133 about 1 year ago

Amendments on June 11, 2022

bile: Bug fixes, store highest ids when deleting

The previous fix was bogus, back it out.
The "o = &bile->map[n - 1]" line seems to have been erroneously copied
and pasted (many times) from another loop where I was going
backwards :(
Implement storage of highest ids seen when deleting, so that
bile_next_id hands out 1 higher than that id. This way we won't
re-use ids of deleted things like users, posts, etc.
jcs made amendment 134 about 1 year ago

logger: Fix position of scrollbar

jcs made amendment 135 about 1 year ago

Amendments on June 12, 2022

session: Turn sessions array into a static array of pointers

This doesn't need to keep moving around and resizing, walking it is
easy
jcs made amendment 136 about 1 year ago

session: Close on banned username login attempt, track logged-in status

Ignore sessions that haven't logged in yet, and don't show guest
username in 'who' and logs.
Also show whether a user is a sysop in 'who'.
jcs made amendment 137 about 1 year ago

session: Cleanup after banned username login

jcs made amendment 138 about 1 year ago

Amendments on June 13, 2022

db: Add max_login_seconds to be shorter than max_idle_minutes

jcs made amendment 140 about 1 year ago