AmendHub

jcs

/

subtext

/

amendments

Amendments on June 3, 2022

board: Add message boards!

jcs made amendment 116 over 2 years ago

bile: Sync with other projects, drop bubble sort in bile_alloc

jcs made amendment 115 over 2 years ago

Amendments on June 2, 2022

*: Minor bug fixes, better NULL checks

jcs made amendment 114 over 2 years ago

Amendments on June 1, 2022

db: Try to recover databases on open failure

jcs made amendment 113 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years ago

strcasecmp: Add from OpenBSD

This could probably go in util, but keep it separate for now
jcs made amendment 105 over 2 years ago

Amendments on May 20, 2022

bile: Fix function name in panic

I wish THINK C supported __func__
jcs made amendment 104 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years ago

session: Add session_menu, use it everywhere

Start on sysop board management
jcs made amendment 100 over 2 years 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 over 2 years ago

Amendments on April 28, 2022

mail: Make menu work like others where just a letter does something

For menu options that require a message id, use a field input for that
jcs made amendment 98 over 2 years ago

user_settings: Add user settings menu

Currently allows changing passwords and renegotiating the terminal
jcs made amendment 97 over 2 years ago