summaryrefslogtreecommitdiffstats
path: root/apps/comments/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(deps): update webdav 5 usageJohn Molakvoæ2023-04-064-64/+44
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Create semantic list for comments in comments tabjulia.kirschenheuter2023-04-032-14/+21
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-2311-35/+35
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(eslint): replace node/no-missing-import by n/no-missing-importJohn Molakvoæ2023-03-231-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Refine file comments designQuentin Guidée2022-12-221-72/+84
| | | | Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
* Lint and remove file_versions testsLouis Chemineau2022-11-281-1/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Use svg iconsLouis Chemineau2022-11-281-3/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add support for Material icon in files sidebarCarl Schwan2022-11-281-0/+2
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix mentions rendering in comment editorLouis Chemineau2022-11-212-17/+23
| | | | | | NcRichContentEditable needs an index of users to properly display them. This commit adds a caching logic and provides it to NcRichContentEditable. Signed-off-by: Louis Chemineau <louis@chmn.me>
* 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>
* Extract "decodeHtmlEntities" function to its own fileDaniel Calviño Sánchez2022-11-102-13/+35
| | | | | | | This will make possible to use it from files other than "GetComments.js". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix empty content regressions in comments appRichard Steinmetz2022-10-261-12/+35
| | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-052-2/+2
| | | | | | | 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>
* Add Nc prefix to Nc vue component namesVincent Petry2022-08-252-31/+31
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump @nextcloud/vue to 6.0.0-beta.3 and relatedVincent Petry2022-08-251-4/+4
| | | | | | | | Update @nextcloud/vue to 6.0.0-beta.3 Update vue and vue-template-compiler to 2.7.8 Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Buttonify comment postingChristopher Ng2022-07-191-22/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Auto fix warningsLouis Chemineau2022-01-211-4/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Replace license information to SPDX expressionLouis Chemineau2022-01-1116-16/+16
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Import type from packagesLouis Chemineau2022-01-112-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add generic type and description when its missingLouis Chemineau2022-01-111-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-086-14/+31
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use new div method in scssLouis Chemineau2022-01-081-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix HTML entity rendering in file comments sidebarChristopher Ng2021-11-081-1/+18
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix comments file action sidebar openingJulien Veyssier2021-07-271-1/+1
| | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-231-1/+1
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump webdav from 3.6.2 to 4.6.0dependabot[bot]2021-05-292-6/+7
| | | | | | | | | 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>
* Fix comments maxAutoCompleteResults initial stateJohn Molakvoæ (skjnldsv)2021-04-061-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-3114-22/+87
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move comments to initial stateRoeland Jago Douma2021-03-221-1/+2
| | | | | | | | | * Do not extend the jssettings * Just use the proper intial state * Use it in the js code as well Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix comments filespluginJohn Molakvoæ (skjnldsv)2021-03-172-0/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Lint fixJohn Molakvoæ (skjnldsv)2021-03-172-124/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix comments field value updateVincent Petry2021-03-111-2/+3
| | | | | | | Fixes issue where the comment field value was not properly read out of the rich content field. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Only include moments once in commentsRoeland Jago Douma2021-01-221-1/+1
| | | | | | Shaves off a decent amount of the code size. Let alone the parsing. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add mentions dataJohn Molakvoæ (skjnldsv)2020-10-286-137/+35
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Hide long messagesJohn Molakvoæ (skjnldsv)2020-10-281-1/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix white-space displayJohn Molakvoæ (skjnldsv)2020-10-281-2/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Prevent submitting empty messagesJohn Molakvoæ (skjnldsv)2020-10-281-2/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/vue to 3.0.0John Molakvoæ (skjnldsv)2020-10-202-2/+4
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add ICommentsManager::load methodJohn Molakvoæ (skjnldsv)2020-10-201-5/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cleanup old comments tabJohn Molakvoæ (skjnldsv)2020-10-2016-1596/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Init vue comments tabJohn Molakvoæ (skjnldsv)2020-10-2016-0/+1372
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove outdated legacy search scriptsJohn Molakvoæ (skjnldsv)2020-08-042-138/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/eslint-config and peersJohn Molakvoæ (skjnldsv)2020-07-314-13/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-315-18/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove the escape-html globalRoeland Jago Douma2020-05-291-1/+3
| | | | | | | Already announced for 19 that it would go. So now it realy does go. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix some js linter warnings in commentsRoeland Jago Douma2020-05-103-19/+19
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Clear comment on successful postJohn Molakvoæ (skjnldsv)2020-04-081-19/+22
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump eslint-config-nextcloud from 0.0.6 to 0.1.0dependabot-preview[bot]2019-12-195-51/+51
| | | | | | | | | | Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix autocomplete suggestions with numeric user idsJoas Schilling2019-11-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add OCA.Files.SidebarJohn Molakvoæ (skjnldsv)2019-10-291-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>