AmendHub

jcs

/

subtext

/

amendments

Amendments on June 6, 2022

session: Touch user last_seen_at upon login

jcs made amendment 121 3 months ago

bile: Sync with upstream, support in-place updates

jcs made amendment 120 3 months ago

Amendments on June 3, 2022

user_settings: Support changing usernames

jcs made amendment 119 4 months ago

mail: Check for session ending in menu loops

jcs made amendment 118 4 months ago

board: Add message boards!

jcs made amendment 116 4 months ago

Amendments on June 2, 2022

*: Minor bug fixes, better NULL checks

jcs made amendment 114 4 months ago

Amendments on June 1, 2022

db: Try to recover databases on open failure

jcs made amendment 113 4 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 4 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 4 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 4 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 4 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 4 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 4 months ago

strcasecmp: Add from OpenBSD

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

Amendments on May 20, 2022

bile: Fix function name in panic

I wish THINK C supported __func__
jcs made amendment 104 4 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 4 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 4 months ago