You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
email all participants markdown to html broken #930
Maybe you can try "to send an email to participants" locally and then find the raw body of the email inside the Django logs using docker-compose logs django. This is what I do read the activation email to create an account locally.
That may not help with knowing if the formatting is good in the mailbox. We could use the staging server (codabench-test) for this development.
Activity
ihsaan-ullah commentedon Jun 11, 2023
This is written text in editor:

This is sent email

Didayolo commentedon Jun 12, 2023
Thank you for reporting this issue. Is it related to this change or is it a separate part of the code?
ihsaan-ullah commentedon Jun 13, 2023
This seems to be a separate issue. It looks like it is never tested with HTML
This function receives raw html and while sending, the html is not properly parsed (needs investigation)
https://github.com/codalab/codabench/blob/e7de84f703a5a56636800f0545be538795560194/src/utils/email.py#LL42C5-L42C32
How can this be tested locally?
Didayolo commentedon Jun 13, 2023
Maybe you can try "to send an email to participants" locally and then find the raw body of the email inside the Django logs using
docker-compose logs django. This is what I do read the activation email to create an account locally.That may not help with knowing if the formatting is good in the mailbox. We could use the staging server (codabench-test) for this development.
lbeziaud commentedon Oct 2, 2023
You might not need that. The form sends the data as HTML to the API, rather than in plain markdown as requested by https://github.com/codalab/codabench/blob/b728d062712e09e462f8cf422ce90a8166c79244/src/apps/competitions/tasks.py#L743C33
ihsaan-ullah commentedon Feb 23, 2024
Solved by #1340