This was on there so we could populate the column initially. It's a bug
if the application layer doesn't inserts new participant rows without
this column set.
We got a nice pull request from @jofusa, which adds our first view to
the schema. It, however, leads to division by zero and had another
niggle or two. This cleans it up.
Sometimes we do manual payouts (maybe payins someday?) and we need a way
to record those in the database so we don't have to keep doing them
directly in SQL(!). This adds a form to the history page for site admins
to use. It extends the exchanges schema to keep track of who made manual
adjustments and why.
I am renaming this because I want the Python library nomenclature to
harmonize with the database, and I don't want to call the Python
submodule social_network_users (it was called networks before). Now
they're both called elsewhere. Secondly, I want to broaden the category
to include things that might not necessarily be social networks (is
Vimeo a social network?). Platform is more generic. This commit also
adds some more page smoke tests. There's a lot more to test. :(
I haven't run this one let alone tested it, but this is on the right
track. Should update the paydays table to take stats about ACH credits
(see commented out mark_* calls in record_credit. Also make ach_credit
more robust against failure scenarios listed inline.