User profile pages should show a few of the most recent activities (currently plenty of room on the right).
We could look at moving the SF-internal summary page's activity.js to Allura since it does basically the same thing.
The ProfileSection system supports disabling and ordering via config (disable_entry_points.allura.user_profile.sections and user_profile_sections.order, respectively). The existing data on the profile should eventually be refactored to use the same system so that the entire profile can be configured as desired.
Edit: Improved caching and added docstring (force-push on allura:cj/7002)
Looks good, but there's a test failure on nosetests allura.tests.functional.test_user_profile:TestUserProfile.
Also, do you think we should add the activitystream.enabled config check to check_display()? I guess personally I don't care whether it's visible before AS is turned on site-wide, but not sure if anyone else does.
I was assuming we'd disable the entry-point, but making it conditional so we can test it in prod would definitely be better. I'll do that.
Changes pushed to: