-
Improvement
-
Resolution: Fixed
-
Major
-
3.6
-
MOODLE_36_STABLE
-
MOODLE_37_STABLE
-
MDL-65015-master -
We need to apply the Moodle standard trusttext approach to messages text to have the certainty that the text of the messages was cleaned as forum posts or entries and comments in the glossary.
Docs: https://docs.moodle.org/dev/Trusttext_cleaning_bypass
Note: we don't need that cleaning on input if the contents aren't editable. And at the moment, it won't. Maybe, in the future, it could be a great feature to add the chance to edit your messages.
To sum up, this a summary description table about the use of trusttext in messages:
Individual/Group Conversation from messaging (FORMAT_MOODLE)
trusttext enabled | trusttext disabled | |
---|---|---|
Text to html | Yes | Yes |
Clean Text | No | Yes |
Moodle Filters | Yes | Yes |
Bulk User Action (FORMAT_HTML)
trusttext enabled | trusttext disabled | |
---|---|---|
Clean Text | No | Yes |
Moodle Filters | Yes | Yes |
Bulk User Action (FORMAT_MARKDOWN)
trusttext enabled | trusttext disabled | |
---|---|---|
Markdown to html | Yes | Yes |
Clean Text | No | Yes |
Moodle Filters | Yes | Yes |
Send a message from Participation List (FORMAT_MOODLE)
Currently, the messages sent through the list of participants are individual conversations and therefore the context is system.
trusttext enabled | trusttext disabled | |
---|---|---|
Text to html | Yes | Yes |
Clean Text | No | Yes |
Moodle Filters | Yes | Yes |
- has been marked as being related by
-
MDL-65132 Messaging: Allow teachers to delete messages for all users within their conversations
- Closed