aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-161-2/+2
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-291-4/+4
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-261-8/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where ↵Ferdinand Thiessen2024-08-132-6/+6
| | | | | | possible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(comments): Extend Vue before calling `new` on itLouis Chemineau2024-07-251-10/+15
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(comments): manually center align submit button in new comment fieldEdward Ly2024-07-171-1/+1
| | | | Signed-off-by: Edward Ly <contact@edward.ly>
* fix(comments): comment deleting with activities installedGrigory Vodyanov2024-07-155-3/+60
| | | | | | | Signed-off-by: Grigory Vodyanov <scratchx@gmx.com> Signed-off-by: Grigory V <scratchx@gmx.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-093-8/+8
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(comments): Use proper icon components instead of icon classes to fix ↵Ferdinand Thiessen2024-06-132-12/+27
| | | | | | dark mode Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2723-423/+52
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(comments): Fix issues thrown by comments sidebar tab codeFerdinand Thiessen2024-04-172-8/+17
| | | | | | | | When the comments tab is used instead of the merged activity+comments, then some issues are throws due to prop altering and duplicated names (resourceId as prop and data). This is fixed as well as some other vue related errors in the sidebar Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Drop unmaintained and unused dependenciesFerdinand Thiessen2024-04-161-9/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): multiple fixes in usage of webdav libraryVarun Patil2024-02-282-15/+20
| | | | | | | | 1. Refresh token on update 2. Fix some very weird imports 3. Patch fetch instead of request to prevent accessing impl details Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* enh(comments): Add always visible labels for comment inputFerdinand Thiessen2024-01-121-0/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(comments): Drop dead code from comments appFerdinand Thiessen2023-12-126-183/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(comments): Move from Moment.js to `NcDateTime`Ferdinand Thiessen2023-11-272-38/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Remove quotes from inputMarco2023-11-221-1/+1
| | | | Signed-off-by: Marco <marcoambrosini@icloud.com>
* Verticaly align comment avatarMarco2023-11-221-1/+1
| | | | Signed-off-by: Marco <marcoambrosini@icloud.com>
* Fix property nameJoas Schilling2023-11-163-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(comments): Provide `resourceType` as property instead of mixinFerdinand Thiessen2023-11-1612-64/+74
| | | | | | Also fix typos where `ressource` instead of `resource` was used. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(comments): Use activity tab to mount comments sidebar section if availableFerdinand Thiessen2023-11-169-98/+380
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(comments): move new comment instructions placeholder to descriptionGrigorii K. Shartsev2023-10-072-26/+42
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): title and inline actionsJohn Molakvoæ (skjnldsv)2023-09-212-8/+12
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: avoid side-effect importsJohn Molakvoæ (skjnldsv)2023-09-212-1/+25
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* refactor(f2v): Migrate unread comments action to the new FileAction APILucas Azevedo2023-09-166-149/+285
| | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* chore: Update nextcloud-vue to v8 beta2 and renamed changed propertiesFerdinand Thiessen2023-08-022-8/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix lint errorsVarun Patil2023-05-232-1/+7
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* Optimize webpack chunksVarun Patil2023-05-231-1/+1
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* fix(comments): Mark comments as readChristopher Ng2023-05-192-1/+72
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* 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>