opendatateam / udata

Customizable and skinnable social platform dedicated to open data.
http://udata.readthedocs.org
GNU Affero General Public License v3.0
238 stars 87 forks source link

Add api and methods to allow followers and discussions #3049

Closed nicolaskempf57 closed 2 months ago

nicolaskempf57 commented 2 months ago

Required for https://github.com/datagouv/data.gouv.fr/issues/1369

ThibaudDauce commented 2 months ago

I don't see the controller for Discussion (only for Followers), am I missing something? (but I can add latter it if you've only added the minimal requirements to not crash on the frontend I understand :-D )

nicolaskempf57 commented 2 months ago

I don't see the controller for Discussion (only for Followers), am I missing something? (but I can add latter it if you've only added the minimal requirements to not crash on the frontend I understand :-D )

You're right, there is no controller for discussions, it's handled in udata/core/discussions/api.py only.

maudetes commented 2 months ago

As a reference, when creating discussions on topics object, we had to make these two fixes: