Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#905 closed enhancement (fixed)

Create and use activities

Reported by: Jessica Tallon Owned by:
Priority: major Milestone:
Component: programming Keywords: api, activities, federation, test
Cc: Parent Tickets:

Description

Pump.io uses activities to represent when you post, comment, etc. We need to start storing the activities and using them on the feed API. This will involve introducing a new model and making it so commenting, deleting, uploading, etc. via either the API or the webUI creates and saves an activity.

Change History (6)

comment:1 by Jessica Tallon, 10 years ago

Status: newin_progress

comment:2 by Jessica Tallon, 10 years ago

This is being worked on in my 905-activities branch. There are three things left to do:

  • Add to, cc, bto, bcc which are many to many relations between Users and Lists?
  • Possibly refactor some of the methods on Activity to mixins?
  • Can this be done any better?
Last edited 10 years ago by Jessica Tallon (previous) (diff)

comment:3 by Jessica Tallon, 10 years ago

Owner: Jessica Tallon removed
Status: in_progressreview

I believe this is now ready for review as of 2d606f. There are two things which are known problems:

  • ActivityIntermediator.TYPES doesn't allow plugins to support activities. (#962)
  • to/cc/bto/bcc is not supported (#963)

Those two issues have been given their own issues.

comment:4 by Christopher Allan Webber, 10 years ago

This looks good generally, though I haven't tested it yet. Jessica and I talked further, the main thing holding this back right now is we want to get the Python 3 branch merged first... I'm going to look at that next week.

comment:5 by ShawnRisk, 10 years ago

Keywords: test added

comment:6 by Jessica Tallon, 10 years ago

Resolution: fixed
Status: reviewclosed

This has now been merged as of 9a1fc42.

Note: See TracTickets for help on using tickets.