Amendments on June 3, 2022

mail: Check for session ending in menu loops

jcs made amendment 118 6 months ago

board: Add message boards!

jcs made amendment 116 6 months ago

Amendments on June 2, 2022

*: Minor bug fixes, better NULL checks

jcs made amendment 114 6 months ago

Amendments on June 1, 2022

db: Try to recover databases on open failure

jcs made amendment 113 6 months ago

util: Pre-alloc alert ditl handle, get rid of xmallocarray

calloc does what this did, who knew?
Avoid dynamic allocation in vwarn() so errors about OOM conditions
can succeed
jcs made amendment 112 6 months ago

bile: Allow shallow unmarshalling

When quickly iterating over a bunch of objects, it's useful to be
able to avoid all the malloc/free of unmarshalling objects that have
dynamic-length strings
jcs made amendment 111 6 months ago

Amendments on May 24, 2022

mail: Rewrite, yet again

Implement pagination, move message actions to a sub-menu when viewing
a message by its index on the current page
jcs made amendment 110 6 months ago

db: Add timezone field to config

This is just for printing in timestamps and doesn't affect any
date/time calculation
jcs made amendment 108 6 months ago

Amendments on May 23, 2022

*: Lots of deck chair rearranging

Move things from db files to their respective areas
Make username map contain normal username, just do strcasecmp check
during user_find_by_username.
jcs made amendment 107 6 months ago

bile: Correct size calculation in bile_unmarshall_object

The full size has already been written into the data being
unmarshalled, no need to multiply it by the field size
jcs made amendment 106 6 months ago

strcasecmp: Add from OpenBSD

This could probably go in util, but keep it separate for now
jcs made amendment 105 6 months ago

Amendments on May 20, 2022

bile: Fix function name in panic

I wish THINK C supported __func__
jcs made amendment 104 6 months ago

session_field_input: Add multiline support

Remove session_multiline_input since session_field_input just gets a
multiline flag. Also support backspacing at the beginning of a line
to jump back up to the end of the previous line.
jcs made amendment 103 6 months ago

Amendments on May 18, 2022

bile: Let negative size of marshalled field be a multiplier

Instead of just using -1, multiply the size taken from the other field
by the negative value of this size, like -4 for an array of longs with
the number of longs stored in the other field
jcs made amendment 102 6 months ago

Amendments on May 15, 2022

*: Lots of little cleanup

Remove unused variables and fix some returns
Found by compiling with Clang
jcs made amendment 101 6 months ago

session: Add session_menu, use it everywhere

Start on sysop board management
jcs made amendment 100 6 months 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 6 months ago