Create activity model and add activity creation
commitb949201152b2ff3a5b072107ae903ddac309a530
authorJessica Tallon <jessica@megworld.co.uk>
Fri, 22 Aug 2014 17:53:29 +0000 (22 18:53 +0100)
committerJessica Tallon <jessica@megworld.co.uk>
Fri, 22 Aug 2014 22:18:01 +0000 (22 23:18 +0100)
tree1823d3ec62b0bcdaee372bfa6ae193087912eb9b
parent51f49118555be3021127602aef78a548850b59b5
Create activity model and add activity creation

This creates the Activity and Genrator models from the Activity
Streams spec and. I then created a migration which retro-actively
create activities for media uploaded and comments created. Through
out the code I've added so automatically activties are created when
a user peforms an action (uploading media, commenting, etc.).
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/federation/routing.py
mediagoblin/federation/views.py
mediagoblin/submit/lib.py
mediagoblin/templates/mediagoblin/federation/activity.html [new file with mode: 0644]
mediagoblin/user_pages/views.py