LockerProject/Locker — pull request #465 by quartzjer (2011-11-25 21:27:14+00:00)
Title: Event cleanup

This is a massive amount of tech debt cleanup, all of the event structures are now flattened to:

{
"idr":"post://facebook/home?id=facebook#500012126_10150343531777127",
"action":"new",
"data":{... the post json ...}
}

The IDR is a URI that contains all the necessary information to route/filter/identify/type the events, a bit more info is at the bottom of the lutil.js file and will become a wiki page to document this all better soon.

In the process of the overhaul there was a lot of code deleted (yay) and fixed a few yet undiscovered inconsistencies in how collections handled updates vs. events.

I've given this a pretty thorough work-over locally but given how many files and structures is touches there's likely still some issues.