Brad Fitzpatrick (bradfitz) wrote in lj_dev,
Brad Fitzpatrick

Capabilities auditing requested

I've finished removing all references to the 'paidfeatures' column in the users table in a favor of a cleaner and more configurable capabilities based system.

Here's the patch. I tagged both livejournal and ljcom with PRECAPS and POSTCAPS also.

Goathackers, please test this a lot. Again, one year paid accounts for bugs for yourself or friends. Be sure to update your cgi-bin/ ... look at doc/ .. search for %CAP. Also read doc/capabilities.txt.

Related, nearly all ljcom logic should be gone from livejournal with the exception of two documented places... a lot more hooks are being used... see doc/hooks.txt for their names and parameters.

Also, is gone from CVS ... the ljcom bmlp.cfg now only loads (the livejournal one), which then loads, which loads (site specific), which loads the new file, which contains all our hooks & a small library.

Audit, audit... test, test. The more bugs / questions people can come up with, the quicker I can feel confident about the new code and get it live. This stuff is key to moving on and doing a lot more work necessary to eliminate invitation codes.

Oh, when upgrading your goathack ... update cvs, stop apache, run bin/upgrading/, start apache.

Shit ... just realized most everybody only has livejournal and ljcom on their goathack. Hrm. Anybody up for writing a doc on how to do ljcom development? I'm tired. :-/

Recent Posts from This Community

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded