Right now, the only way to get a timeline is to call director.create_timeline()
, which does an actual aggregation. We need something higher-level than this. Something like:
def get_timeline(node, page=0, limit=100, subject_only=True, check_perms=True): # do stuff ... return timeline
Things encapsulated by this method or the class that implements it:
subject_only=True
or not; if True, only return activities where node is the subject (actor) in the activity; this will be used for the Your Activity page
forge:tv/4396
activitystream:tv/4396
Run
setup.py develop
on the activitystream branch.Drop existing activitystream collections (data format is changing):
Register (at least one) new user on your sandbox. Confirmation email is sent to your sfpy box - you'll need it to confirm the account.
Using your new user(s), admin1, and a test project, test the activitystream display for users and projects. Here are my notes from the last demo, which should give you some ideas for things to try:
AFTER TESTING:
Before merging, send back to me so I can build a new activitystream release with the tv/4396 changes, and add the new package to the Allura requirements.