Commit Graph

58 Commits (77446325b2e50e99a5ad2181a234091b29f693a2)

Author SHA1 Message Date
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
Louis Chemineau e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +07:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07:00
Louis Chemineau 37e5050d69 Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:08 +07: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 +07:00
John Molakvoæ (skjnldsv) 74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +07:00
Louis Chemineau b312db382d
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +07: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 +07:00
Julien Veyssier 5914c5e59c fix comments file action sidebar opening
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-27 08:50:04 +07:00
dependabot[bot] 6e5191b702 Bump @nextcloud/router from 1.2.0 to 2.0.0
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>
2021-07-23 15:56:28 +07: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 +07:00
John Molakvoæ (skjnldsv) cd3b3a6fdf
Fix comments maxAutoCompleteResults initial state
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-06 12:22:30 +07:00
John Molakvoæ (skjnldsv) 3e624dc399
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +07:00
Roeland Jago Douma 8988406789 Move comments to initial state
* 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>
2021-03-22 20:31:56 +07:00
John Molakvoæ (skjnldsv) 87d39375d8
Fix comments filesplugin
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 14:45:29 +07:00
John Molakvoæ (skjnldsv) 5d9bb5e247
Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +07:00
Vincent Petry a60127acc8
Fix comments field value update
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>
2021-03-11 15:39:33 +07:00
Roeland Jago Douma 24d8473641 Only include moments once in comments
Shaves off a decent amount of the code size. Let alone the parsing.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-22 16:19:40 +07:00
John Molakvoæ (skjnldsv) 72aeb8ef05
Add mentions data
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +07:00
John Molakvoæ (skjnldsv) a57473f820
Hide long messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +07:00
John Molakvoæ (skjnldsv) cf43b70db6
Fix white-space display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +07:00
John Molakvoæ (skjnldsv) a20f598049
Prevent submitting empty messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +07:00
John Molakvoæ (skjnldsv) 6cd7549509
Bump @nextcloud/vue to 3.0.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-20 18:02:45 +07:00
John Molakvoæ (skjnldsv) 3e1916080a
Add ICommentsManager::load method
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 14:39:28 +07:00
John Molakvoæ (skjnldsv) afa7376522
Cleanup old comments tab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 13:58:07 +07:00
John Molakvoæ (skjnldsv) e7f5516b4d
Init vue comments tab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 13:58:06 +07:00
John Molakvoæ (skjnldsv) 6eced42b7a
Remove outdated legacy search scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 20:56:22 +07:00
John Molakvoæ (skjnldsv) a384b4a97a
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:35:55 +07:00
John Molakvoæ (skjnldsv) 0f8aca9d87
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +07:00
Roeland Jago Douma b9e7fd2418 Remove the escape-html global
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>
2020-05-29 08:34:10 +07:00
Roeland Jago Douma b45dda4ac9
Fix some js linter warnings in comments
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-10 20:23:44 +07:00