Any time an event happens that we want to appear in the activity stream, we need to call director.create_activity(...)
. See the save_ticket()
method in tracker_main.py
on forge:tv/timelines for an example:
director.create_activity(c.user, 'created', ticket, target=c.project)
See also FeedItem.add() lines for re-use/refactor
Diff:
forge:tv/4385
cd /var/local/allura && pip install -r requirements-sf.txt
The timeline display is there simply as a sanity check that activities are being created. It will be improved in other tickets.