Commit Graph

88 Commits (dcc6c1956ac7d6d5cf4781cb00a1055dee47d599)

Author SHA1 Message Date
Edward Ly 6aaa853e14 fix(comments): switch to outlined icons where possible
Signed-off-by: Edward Ly <contact@edward.ly>
2025-07-04 18:09:18 +07:00
Louis Chemineau 40244bac56
fix(comments): Do not set parent when instantiating activity tab plugin
This is necessary as the `context` variable is a vue3 instance, and vue 2 do not know how to handle it properly.

Also, as far as I understand it, it is not needed.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-06-02 18:00:45 +07:00
Ferdinand Thiessen 0beef939e1 chore: adjust stylesheets to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 16:02:40 +07:00
Maksim Sukharev 1cc7a46242 fix(Comment): replace richEditor mixin with NcRichText
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-03-05 09:11:58 +07:00
Ferdinand Thiessen b06f5ba4c4
refactor: Migrate nextcloud-vue usage to new import schema
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:13 +07:00
Ferdinand Thiessen e8c1e2c611
fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 22:11:59 +07:00
Mostafa Ahangarha 723780d184 feat: Add bidi support in core directory
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +07:00
Ferdinand Thiessen a5e58dc45e
test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +07:00
Ferdinand Thiessen ea021df9fa
chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +07:00
Louis Chemineau 52796d125a fix(comments): Extend Vue before calling `new` on it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-25 01:38:30 +07:00
Edward Ly 983f121dc3
fix(comments): manually center align submit button in new comment field
Signed-off-by: Edward Ly <contact@edward.ly>
2024-07-17 17:02:13 +07:00
Grigory Vodyanov bd7c29c362 fix(comments): comment deleting with activities installed
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>
2024-07-15 13:38:41 +07:00
Ferdinand Thiessen 691f570237
chore: Enable ESLint for apps and fix all errors
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>
2024-07-09 17:13:30 +07:00
Ferdinand Thiessen 93650e089f
fix(comments): Use proper icon components instead of icon classes to fix dark mode
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-13 18:13:45 +07:00
Andy Scherzinger 9d4b944098
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 20:11:22 +07:00
Ferdinand Thiessen 6c9ca8b025
fix(comments): Fix issues thrown by comments sidebar tab code
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>
2024-04-17 20:09:14 +07:00
Ferdinand Thiessen e883e3c73a
fix: Drop unmaintained and unused dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 13:46:25 +07:00
Varun Patil b03fd6e363 fix(dav): multiple fixes in usage of webdav library
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>
2024-02-28 19:23:47 +07:00
Ferdinand Thiessen cc59a4dfea
enh(comments): Add always visible labels for comment input
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-12 14:39:35 +07:00
Ferdinand Thiessen 529dcc3f23
chore(comments): Drop dead code from comments app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-12 14:42:11 +07:00
Ferdinand Thiessen c27b94a80f
fix(comments): Move from Moment.js to `NcDateTime`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 15:15:31 +07:00
Marco 0da90ecba5 Remove quotes from input
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +07:00
Marco eefbf6d2de Verticaly align comment avatar
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +07:00
Joas Schilling 6eb182af9d
Fix property name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 14:16:28 +07:00
Ferdinand Thiessen 9244d53c4d
fix(comments): Provide `resourceType` as property instead of mixin
Also fix typos where `ressource` instead of `resource` was used.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 13:22:02 +07:00
Ferdinand Thiessen db2fec1cec
feat(comments): Use activity tab to mount comments sidebar section if available
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 11:54:52 +07:00
Grigorii K. Shartsev be8d9042b5 fix(comments): move new comment instructions placeholder to description
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +07:00
John Molakvoæ (skjnldsv) 216804f83d
fix(files): title and inline actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-21 15:20:17 +07:00
John Molakvoæ (skjnldsv) a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +07:00
Lucas Azevedo 03ece129bf
refactor(f2v): Migrate unread comments action to the new FileAction API
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 14:08:47 +07:00
Ferdinand Thiessen 663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +07:00
Varun Patil ace6df86d8
Fix lint errors
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:15 +07:00
Varun Patil 48e1a58345
Optimize webpack chunks
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +07:00
Christopher Ng 94af306c27 fix(comments): Mark comments as read
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 12:02:10 +07:00
John Molakvoæ a66cae02ef
fix(deps): update webdav 5 usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +07:00
julia.kirschenheuter 8b945d8864 Create semantic list for comments in comments tab
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-03 10:43:57 +07:00
John Molakvoæ 8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07:00
John Molakvoæ 5adfec3dc6
chore(eslint): replace node/no-missing-import by n/no-missing-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 07:31:33 +07:00
Quentin Guidée d5d804b47f
Refine file comments design
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-22 11:04:35 +07:00
Louis Chemineau ea946cc649 Lint and remove file_versions tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +07:00
Louis Chemineau a28838b866 Use svg icons
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +07:00
Carl Schwan 8829019101 Add support for Material icon in files sidebar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:29:11 +07:00
Louis Chemineau 0f66806694 Fix mentions rendering in comment editor
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>
2022-11-21 10:48:47 +07:00
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, "&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>
2022-11-10 13:50:52 +07: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 +07:00
Richard Steinmetz cba636124a Fix empty content regressions in comments app
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-26 14:42:11 +07: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 +07:00
Vincent Petry d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +07:00
Vincent Petry 7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
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>
2022-08-25 08:37:46 +07:00
Christopher Ng 2f6ab45302 Buttonify comment posting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-19 18:04:00 +07:00