aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/services/NewComment.js
Commit message (Collapse)AuthorAgeFilesLines
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix HTML entities not decoded in comment just addedDaniel Calviño Sánchez2022-11-101-0/+8
| | | | | | | | | | | | | | | | | | | The XML data received from the comments endpoint has an inconsistent encoding; some entities are encoded once and others are encoded twice. When the comment list is loaded the comments are fetched using GetComments, which handles all that, and therefore shows the messages and author names as expected. However, when a new comment is posted the list is not got again; instead the new comment is loaded from the comment data returned after posting it. This is done in NewComment, which did not decode the messages nor the author names, and therefore showed, for example, "&amp;" instead of "&". To solve that now the same decoding logic used in GetComments is applied too in NewComment. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-081-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-311-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add mentions dataJohn Molakvoæ (skjnldsv)2020-10-281-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Init vue comments tabJohn Molakvoæ (skjnldsv)2020-10-201-0/+60
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>