Kshitij Sobti
32748788bf
fix!: use bleach instead of custom code to sanitise forum posts ( #28641 )
...
The rest API for discussions was using custom HTML sanitisation code that
matched the behaviour of the client-side library. This replaces the custom
code with bleach for better security.
2021-09-23 11:37:05 +05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Stu Young
13e624a50b
INCR-307 Run python-modernize on lms/djangoapps/discussion/rest_api ( #20618 )
...
* run python modernize
* run isort
* Fix quality
2019-05-28 12:51:49 -04:00
Nimisha Asthagiri
b949452eb2
Move discussion_api to discussion/rest_api
2019-05-03 12:07:21 -04:00
Nimisha Asthagiri
ef0e06cc0a
Revert "Discussions consolidation"
2019-05-02 14:59:56 -04:00
Nimisha Asthagiri
3d1bb23809
Move discussion_api to discussion/rest_api
2019-05-01 19:13:10 -04:00