Tom Moor
85299c6104
Add missing websocket event
2023-05-01 09:26:02 -04:00
Tom Moor
f2ea8daf65
Remove no longer used notification_settings table
...
closes #5062
2023-04-30 17:38:10 -04:00
Tom Moor
d8b4fef554
feat: Collection admins ( #5273
...
* Split permissions for reading documents from updating collection
* fix: Admins should have collection read permission, tests
* tsc
* Add admin option to permission selector
* Combine publish and create permissions, update -> createDocuments where appropriate
* Plural -> singular
* wip
* Quick version of collection structure loading, will revisit
* Remove documentIds method
* stash
* fixing tests to account for admin creation
* Add self-hosted migration
* fix: Allow groups to have admin permission
* Prefetch collection documents
* fix: Document explorer (move/publish) not working with async documents
* fix: Cannot re-parent document to collection by drag and drop
* fix: Cannot drag to import into collection item without admin permission
* Remove unused isEditor getter
2023-04-30 06:38:47 -07:00
Tom Moor
12bfa6c58d
Add additional debug logging to export
2023-04-29 22:05:52 -04:00
Tom Moor
ba2bfc7c89
fix: recursive require in test env
2023-04-27 22:31:12 -04:00
Tom Moor
0f8c444af0
Add DD monitoring for simultaneous server connections
2023-04-27 21:48:51 -04:00
Tom Moor
4dade03c33
Allow workspace admins to remove comments ( #5270 )
2023-04-27 18:34:01 -07:00
Tom Moor
4f019b7a99
Add new cron service, useful in dev to automatically run scheduled tasks and can be used in single-server deployments to avoid an external dependency
2023-04-26 22:14:10 -04:00
Tom Moor
217d41332f
Automatically error file operations running longer than 12 hours
2023-04-26 21:55:00 -04:00
Tom Moor
01707d733a
fix: Cannot delete FileOperation referencing collection
2023-04-25 21:58:24 -04:00
Apoorv Mishra
86062f396d
Deleting a collection should detach associated drafts from it ( #5082 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-04-23 12:20:44 -07:00
Apoorv Mishra
20d85e3d3a
Allow admin to change member's name ( #5233 )
...
* feat: allow admins to change user names
* fix: review
2023-04-22 20:48:51 +05:30
Tom Moor
54cf3fb8b1
fix: Move rate limiting middleware infront of auth
...
Tighten rate limits on attachment, comment, and group creation
2023-04-19 22:10:11 -04:00
Apoorv Mishra
dadba3f3af
Autorun migrations in community edition ( #5141 )
...
* fix: autorun migrations in community edition
* re-run tests
* refactor
* fix: review
* fix: double error
2023-04-19 09:27:50 +05:30
Tom Moor
f4206f888c
fix: Rare unable to login case
2023-04-18 22:14:58 -04:00
Tom Moor
1642eb610d
fix: Double recursive loops can cause server lockup on deeply nested docs ( #5222 )
2023-04-18 16:38:35 -07:00
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