Brad Fitzpatrick (bradfitz) wrote in lj_dev,
Brad Fitzpatrick

Capability auditing done

Since nobody else audited my code, I've been working on it the last few days.... found a few bugs :-)

More than capabilities, this latest work totally separates LJ & ljcom ... paidfeatures/paiduntil/paidreminders are out of user table. All ljcom logic is gone and moved into hooks, etc. (see doc/capabilities.txt and doc/hooks.txt)

Only problem now keeping me from making the site go live with this code is that when I view my stats.bml page on my test server I get:

[Error: Unmatched ( before HERE mark in regex m/^( << HERE xmlrpc// at (eval 22) line 153. ]

Whatever that means. xmlrpc? grep -ri xmlrpc ~lj/ returns nothing except the XML-RPC gateway that revjim and I did, but it's not preloaded by BML, and has no m/, xmlrpc//, or HERE in it anyway.

Some library that we're using has a bug? Well, I grepped all the perl modules on my system also... can't figure it out.

I'll try this on my goathack tomorrow. Going to bed now.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded