Allow retrieval of reported comments

Description

We need new collections: /events/42/comments/reported (event comments) and events/42/talk_comments/reported (talk comments). These should return a collection of resources from the (mysql table) reported_event_comments and reported_talk_comments tables.

Each Event resource should contain a link to the individual record of this report, and the fields from the reported_*_comments table. It should also have the related comment itself as a nested resource.

These endpoints should only be available to the event admins for this event, and to site admins. Links to these endpoints should be included in the verbose version of then event resource.

Activity

Show:
Emily Stamey
December 12, 2015, 3:28 PM

Thanks for checking in! I think the code itself is fine, but I have had hangups with creating comments in the data and in writing tests of the code.

Lorna Mitchell
December 12, 2015, 8:06 PM

OK, just let us know if you have specific questions and if you want to open a pull request and mark it WIP to get some feedback while you're working, that is also fine. In keen to keep this feature moving!

Emily Stamey
December 13, 2015, 12:02 AM

Thank you. I think opening a PR would be helpful. I have had a hard time coinciding in IRC.

Emily Stamey
December 21, 2015, 7:42 PM

Sorry, I think I'm going to release this issue. I've set on it too long since the hackathon, and with the holidays, I don't know when/how much time I'll have on it. If someone wants to carry my PR forward, that is fine. I can adjust permissions, if needed. If you start a new PR, would you tag me, so I can follow how the controller is written. Again, I'm sorry for being a bottleneck on this one. I don't want to be a further obstacle.

Lorna Mitchell
December 21, 2015, 8:21 PM

Thanks for the update, it'll probably be me that picks this up and I will keep you posted!

We have plenty more issues for you if/when you have a little more time, you're always welcome

Assignee

Lorna Mitchell

Reporter

Lorna Mitchell

Labels

Epic Link

Components

Priority

Major
Configure