Daniel Calviño Sánchez
5442f8efd6
Fix HTML entities not decoded in comment just added
...
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, "&" 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>
2022-11-10 13:50:52 +01:00
Daniel Calviño Sánchez
924c090f07
Extract "decodeHtmlEntities" function to its own file
...
This will make possible to use it from files other than
"GetComments.js".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-10 13:34:02 +01:00
luz paz
9d26671f05
Fix typos in apps/ subdirectory
...
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-05 12:59:54 +00:00
Louis Chemineau
14e57bf70a
Replace license information to SPDX expression
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
9fc6cc9634
Add generic type and description when its missing
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Christopher Ng
e5873a2f8d
Fix HTML entity rendering in file comments sidebar
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-08 22:21:13 +01:00
dependabot[bot]
da0704d056
Bump webdav from 3.6.2 to 4.6.0
...
Bumps [webdav](https://github.com/perry-mitchell/webdav-client ) from 3.6.2 to 4.6.0.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases )
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v3.6.2...v4.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 08:58:26 +02:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
John Molakvoæ (skjnldsv)
72aeb8ef05
Add mentions data
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +01:00
John Molakvoæ (skjnldsv)
afa7376522
Cleanup old comments tab
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 13:58:07 +02:00
John Molakvoæ (skjnldsv)
e7f5516b4d
Init vue comments tab
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 13:58:06 +02:00