Tom Moor
d2e9910908
Update documentation links
2023-03-16 18:49:56 -07:00
Apoorv Mishra
21a44428f4
Filter groups given a member ( #5034 )
...
* feat: filter groups given a member
* Revert "feat: filter groups given a member"
This reverts commit 7dac8bb38de1fdaf661c636c5d1b13e4112fd8fd.
* fix: make it work via db query
2023-03-16 12:31:56 +05:30
Tom Moor
6a29104d09
fix: Mermaid diagrams flash when editing and multiple in document
2023-03-15 22:51:40 -04:00
Tom Moor
d663b92f2a
tsc
2023-03-13 21:08:52 -04:00
Tom Moor
4182cbd5d0
chore: Refactoring some editor controls ( #5023 )
...
* Refactor EmojiMenu
* Refactor CommandMenu to functional component
* Remove more direct props, refactor to useEditor
* Remove hardcoded IDs
* Refactor SelectionToolbar to functional component
* fix: Positioning of suggestion menu on long paragraphs
2023-03-13 18:05:06 -07:00
Tom Moor
f6ac73a741
Add sanitization to log messages to reduce chance of tokens ending up in server logs
2023-03-13 20:42:22 -04:00
dependabot[bot]
1e2eb00ace
chore(deps-dev): bump jest-cli from 29.4.1 to 29.5.0 ( #5029 )
...
Bumps [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli ) from 29.4.1 to 29.5.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.5.0/packages/jest-cli )
---
updated-dependencies:
- dependency-name: jest-cli
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 16:09:24 -07:00
dependabot[bot]
00549b21a8
chore(deps-dev): bump terser from 5.16.5 to 5.16.6 ( #5028 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.16.5 to 5.16.6.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.16.5...v5.16.6 )
---
updated-dependencies:
- dependency-name: terser
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 16:09:01 -07:00
Tom Moor
e2dff9afca
fix: Viewers cannot delete their own comments
2023-03-11 19:08:12 -05:00
Tom Moor
e9ece9125a
fix: Comment deletion is not propagated correctly
2023-03-11 19:01:19 -05:00
Tom Moor
2c84036a3a
test
2023-03-11 14:16:39 -05:00
Tom Moor
3eabb30949
fix: favicon, apple touch icon, etc not loaded from CDN
2023-03-11 14:10:13 -05:00
Tom Moor
af0485fa12
lint
2023-03-09 22:27:40 -05:00
Tom Moor
e786888dfb
fix: Remove image float and positioning options in comments ( #5014 )
...
* cleanup
* Split Image into SimpleImage
* ts
2023-03-09 19:17:16 -08:00
Tom Moor
8fc4cb846a
tsc
2023-03-09 21:26:08 -05:00
Tom Moor
a3d93c12e0
Add support for opening document sidebar (comments,history,insights) on mobile
2023-03-09 18:58:50 -05:00
Tom Moor
96c90dbb29
fix: Correct cursor on document metadata under title
2023-03-08 22:10:26 -05:00
Mohamed ELIDRISSI
e2429f6d85
refactor: add server side validation schema for fileOperations ( #4989 )
...
* refactor: move files to subfolder
* refactor: schema for fileOperations.info
* refactor: schema for fileOperations.list
* refactor: schema for fileOperations.delete
* refactor: schema for fileOperations.redirect
2023-03-08 19:01:51 -08:00
Limezy
c039501035
Tldraw ( #4968 )
...
* Tldraw + Castopod
* Remove Castopor
* Remove files
* Update database.json
* Update database.json
* Updated tests + correctly escaped dots
2023-03-08 19:01:34 -08:00
Tom Moor
6ad76903b9
fix: Styling of metadata under revision title
2023-03-08 20:01:28 -05:00
Tom Moor
f21f890cb7
fix: Styling of metadata under revision title
2023-03-08 20:01:03 -05:00
Tom Moor
f5d326e237
fix: Missordering of command menu
2023-03-08 19:50:13 -05:00
Tom Moor
f48889d77d
fix: Template left in tooltip, closes #5009
2023-03-08 19:34:42 -05:00
Tom Moor
4fd6e450ab
Enable commenting beta
2023-03-07 21:14:15 -05:00
Tom Moor
6e23f34133
fix: Ensure editor command menus cannot escape rhs of screen
2023-03-07 21:13:16 -05:00
Tom Moor
58f2b9aa2b
fix: Invited users should not appear as option in @mention, closes #5006
2023-03-07 20:44:41 -05:00
Tom Moor
d3b099819d
feat: Add @mention support to comments ( #5001 )
...
* Refactor, remove confusing 'packages' language
* Basic notifications when mentioned in comment
* fix: Incorrect trimming of comments
* test
2023-03-06 19:19:49 -08:00
Tom Moor
28c4854985
fix: More strict handling of paste board images
2023-03-06 20:30:29 -05:00
dependabot[bot]
234651448e
chore(deps): bump datadog-metrics from 0.10.2 to 0.11.0 ( #4998 )
...
* chore(deps): bump datadog-metrics from 0.10.2 to 0.11.0
Bumps [datadog-metrics](https://github.com/dbader/node-datadog-metrics ) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/dbader/node-datadog-metrics/releases )
- [Commits](https://github.com/dbader/node-datadog-metrics/compare/v0.10.2...v0.11.0 )
---
updated-dependencies:
- dependency-name: datadog-metrics
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove no longer required types package
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-03-06 17:05:36 -08:00
Tom Moor
ba13a25a78
fix: Editor menu collapses wrong direction, regressed in #4938
2023-03-06 19:37:42 -05:00
Tom Moor
5c12f52c8d
do not send mention and document published emails to one user
2023-03-06 19:37:42 -05:00
dependabot[bot]
aaf6a0cb41
chore(deps-dev): bump nodemon from 2.0.20 to 2.0.21 ( #4995 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v2.0.20...v2.0.21 )
---
updated-dependencies:
- dependency-name: nodemon
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 16:13:07 -08:00
dependabot[bot]
477d28e37e
chore(deps-dev): bump i18next-parser from 7.1.0 to 7.7.0 ( #4996 )
...
Bumps [i18next-parser](https://github.com/i18next/i18next-parser ) from 7.1.0 to 7.7.0.
- [Release notes](https://github.com/i18next/i18next-parser/releases )
- [Changelog](https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next-parser/compare/7.1.0...7.7.0 )
---
updated-dependencies:
- dependency-name: i18next-parser
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 16:12:58 -08:00
dependabot[bot]
4e2864a3f9
chore(deps-dev): bump eslint-config-prettier from 8.5.0 to 8.7.0 ( #4999 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 8.7.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.7.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 16:12:46 -08:00
Tom Moor
4ba5d0d8e0
Tweaks, do not send mention and document updated emails to one user
2023-03-06 18:08:17 -05:00
Apoorv Mishra
de031b365c
Capability to mention users in a document ( #4838 )
...
* feat: mention user
* fix: trigger api call on every letter typed
* fix: this allows command menu to re-render upon props change, shouldComponentUpdate prevented re-rendering when necessary
* fix: add node
* fix: mention node styling
* fix: Caret not visible after inserting mention
* fix: apply mentionRule
* fix: label is to be obtained from content, not attrs
* feat: add mentions table and model
* fix: typo
* fix: make all mention nodes visible in shared doc
* feat: parse mention ids from doc text
* feat: MentionsProcessor
* feat: documents.publish tests
* feat: tests for MentionsProcessor
* feat: schedule notifs for mentions
* fix: get rid of Mention model
* fix: put actor id and mention id in raw md
* Revert "fix: put actor id and mention id in raw md"
This reverts commit 3bb8a22e3c560971dccad6d2f82266256bcb2d96.
* Revert "Revert "fix: put actor id and mention id in raw md""
This reverts commit 3c5b36c40cebf147663908cf27d0dce6488adfad.
* fix: review
* fix: no need of set
* fix: show avatar
* fix: get rid of eventName
* fix: font-weight
* fix: prioritize mention notifs
* fix: store id in md
* fix: no need of prepending m
* fix: fetchPage
* fix: Avatars incorrect color
* fix: remove scanRE
* fix: test
* fix: include alphabet other than latin
* lockfile
* fix: regex should test for letters, marks and digits
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-03-06 14:54:57 -08:00
dependabot[bot]
09435ed798
chore(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.2 ( #4982 )
...
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url ) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/braintree/sanitize-url/releases )
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md )
- [Commits](https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.2 )
---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-05 18:39:39 -08:00
Tom Moor
591a87b728
Suppress comment notifications when viewing document ( #4987 )
...
* Updating views from collaboration server
* refactor
* Suppress comment notifications based on views
* test
2023-03-05 18:33:46 -08:00
Tom Moor
f9709897fe
fix: Code comment and comment marker classes clash
2023-03-05 17:53:53 -05:00
Tom Moor
b795c992fe
Change comment sidebar to per-document persistence, closes #4985
2023-03-05 16:59:29 -05:00
Tom Moor
69c7bf6100
Remove duplicate store for right sidebar width, increase default size
2023-03-05 16:43:07 -05:00
Tom Moor
ac3284986c
fix: Replies to comments in threads only trigger notifications to document subscribers, closes #4984
2023-03-05 16:19:56 -05:00
Tom Moor
646afec491
fix: Cannot access menu on threaded comments, closes #4983
2023-03-05 16:03:13 -05:00
Tom Moor
760355302c
Comment notification emails ( #4978 )
...
* Comment notification emails
* fix links
fix threading in email inboxes
from is now commenter name
* fix
* refactor
* fix async filter
2023-03-05 08:01:56 -08:00
github-actions[bot]
4ff0fdfb4f
chore: Compressed inefficient images automatically ( #4971 )
...
Co-authored-by: tommoor <tommoor@users.noreply.github.com >
2023-03-04 07:00:10 -08:00
Limezy
e4fadd01d9
Fix 4952 ( #4967 )
...
* First try
* Support old embeds
2023-03-03 08:28:16 -08:00
Mohamed ELIDRISSI
bef9673530
refactor: add server side validation schema for views ( #4953 )
...
* refactor: move files to subfolder
* refactor: schema for views.list
* refactor: schema for views.create
2023-02-28 18:20:27 -08:00
dependabot[bot]
9a96230976
chore(deps): bump dd-trace from 3.9.3 to 3.14.1 ( #4945 )
...
Bumps [dd-trace](https://github.com/DataDog/dd-trace-js ) from 3.9.3 to 3.14.1.
- [Release notes](https://github.com/DataDog/dd-trace-js/releases )
- [Commits](https://github.com/DataDog/dd-trace-js/compare/v3.9.3...v3.14.1 )
---
updated-dependencies:
- dependency-name: dd-trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 18:20:18 -08:00
Tom Moor
e90e111139
fix: Cannot upload multiple files at once from editor command menu ( #4957 )
2023-02-28 16:52:07 -08:00
Tom Moor
e4ec1681d5
fix: Cannot scroll on mobile with image on screen
2023-02-28 18:59:22 -05:00