Tom Moor
bcffd81c9c
Log more debugging info on queue processing
2023-04-18 04:07:38 -04:00
Tom Moor
d6b51f3053
fix: Tweak mention style in comments to be more visible
2023-04-11 22:41:05 -04:00
Tom Moor
49d903d6d4
chore: Remove console.log left in code and added eslint rule to prevent it happening again
2023-04-11 22:15:52 -04:00
Tom Moor
a9800165c1
fix: Some authentication notices not displayed, injection of arbitrary strings
2023-04-11 21:54:53 -04:00
Apoorv Mishra
21d6fbed87
Collection memberships required to be preloaded before publishing a document ( #5187 )
2023-04-11 16:38:25 -07:00
Tom Moor
2f9a56aa6f
Centralize default user and team preferences. ( #5172
...
Passing the fallback at each callpoint was dumb
2023-04-09 14:23:58 -07:00
Tom Moor
489cfcd0b0
Revert "refactor"
...
This reverts commit 6e79b93a5316bf51d05dd432fabdcba5ea95b53f.
2023-04-08 10:19:15 -04:00
Tom Moor
9c9ceef8ee
Notifications refactor ( #5151
...
* Ongoing
* refactor
* test
* Add cleanup task
* refactor
2023-04-08 06:22:49 -07:00
Tom Moor
db73879918
Assorted cleanup, minor bug fixes, styling fixes, eslint rules ( #5165
...
* fix: Logic error in toast
fix: Remove useless component
* fix: Logout not clearing all stores
* Add icons to notification settings
* Add eslint rule to enforce spaced comment
* Add eslint rule for arrow-body-style
* Add eslint rule to enforce self-closing components
* Add menu to api key settings
Fix: Deleting webhook subscription does not remove from UI
Split webhook subscriptions into active and inactive
Styling updates
2023-04-08 05:25:20 -07:00
Tom Moor
2458085eed
fix: Draft comment on text gets into a strange state when unfocused ( #5153 )
2023-04-05 06:02:26 -07:00
Tom Moor
4a99f9f386
fix: Mentions do not show any options in public collections ( #5150 )
...
* Mentions do not show any options in public collections
* Avoid reset data while loading
2023-04-03 18:05:22 -07:00
Hai
2e28a631b6
Pass query params to authorize endpoint during OIDC login ( #5129 )
2023-04-02 11:55:09 -07:00
Tom Moor
cf3689014b
fix: Email notifications not sent when mention added to edited comment ( #5145
...
* WIP: Need new email template
* New emails
2023-04-02 11:46:47 -07:00
Tom Moor
40103c9d8f
Wait to scroll comments until sidebar animation is complete
...
Cleanup some unused code
2023-04-02 11:41:41 -04:00
Apoorv Mishra
16a5be1aa6
Additional policy regarding comments on a document ( #5130 )
...
* feat: comment policy on document
* fix: add alongside read
2023-04-02 19:21:13 +05:30
Apoorv Mishra
046fe522c1
fix: remove userId col from documents ( #5133 )
2023-03-31 09:17:58 +05:30
Tom Moor
794df52080
fix: NotionImportTask
2023-03-29 09:34:04 -04:00
Tom Moor
8a2831ef80
fix: Add support for Zip files created natively on Windows
...
closes #5117
2023-03-29 08:28:51 -04:00
Tom Moor
980e613a7b
fix: Download as Markdown should use .md extension
...
closes #5113
2023-03-29 07:43:40 -04:00
Tom Moor
a2f1f059c7
fix: Users not mentionable when not in seamless editing mode
2023-03-28 22:32:47 -04:00
Tom Moor
7ba6a9379b
Removal of non-collaborative editing code paths ( #4210 )
2023-03-28 19:13:42 -07:00
Tom Moor
3108a26793
fix: Trim document titles on save, closes #5084
2023-03-28 21:20:57 -04:00
Apoorv Mishra
1b1cd1c8d4
API to fetch users who have read/write permission on a document collection ( #5047 )
2023-03-28 17:54:32 -07:00
Tom Moor
8cc4cff0d7
fix: Allow stylesheets to load from CDN
2023-03-27 20:23:54 -04:00
Tom Moor
8281e4a094
Remove dollar escaping in importer, no longer needed.
...
closes #5070
2023-03-22 21:58:17 -04:00
Tom Moor
7321970504
Move health check endpoint back to server root
2023-03-19 15:07:34 -04:00
Tom Moor
68640860fb
/_health endpoint now checks the database and redis connections
2023-03-18 12:37:34 -04:00
Tom Moor
45831e9469
Remove NotificationSettings table ( #5036
...
* helper
* Add script to move notification settings
* wip, removal of NotificationSettings
* event name
* iteration
* test
* test
* Remove last of NotificationSettings model
* refactor
* More fixes
* snapshots
* Change emails to class instances for type safety
* test
* docs
* Update migration for self-hosted
* tsc
2023-03-18 06:32:41 -07:00
Tom Moor
41f97b0563
fix: Users should not be redirected to disabled authentication providers ( #5055
...
* fix: Users should not be redirected to disabled authentication providers
Re-enabled tests in plugin directory
* Fix plugin http tests
2023-03-18 06:17:54 -07:00
Tom Moor
6dd4afccaf
fix: Context binding,
...
closes #5056
2023-03-18 09:17:25 -04:00
Tom Moor
e69935be99
Remove username column ( #5052 )
2023-03-17 08:23:32 -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
d663b92f2a
tsc
2023-03-13 21:08:52 -04: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
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
3eabb30949
fix: favicon, apple touch icon, etc not loaded from CDN
2023-03-11 14:10:13 -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
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
5c12f52c8d
do not send mention and document published emails to one user
2023-03-06 19:37:42 -05: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
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
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
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
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
Tom Moor
739a291a46
fix: Cannot read properties of undefined (reading 'message')
2023-02-28 18:55:25 -05:00
Apoorv Mishra
6b00ced48f
fix: use LOG_LEVEL to set server log severity ( #4937 )
2023-02-27 21:36:01 +05:30
Mohamed ELIDRISSI
00baa2bd6d
refactor: add server side validation schema for groups ( #4881 )
...
* refactor: move files to subfolder
* refactor: schema for groups.list
* refactor: schema for groups.info
* refactor: schema for groups.create
* refactor: schema for groups.update
* refactor: schema for groups.delete
* refactor: schema for groups.memberships
* refactor: schema for groups.add_user
* refactor: schema for groups.remove_user
2023-02-25 12:03:23 -08:00