* Handle new Notion export format
Clear data on file operation delete
* fix: Don't restart development server on html upload
* fix: Do not send collection created notifications on bulk import
* fix: Avoid parellelizing all uploads at once
Move import into one transaction per-collection
* fix: rename to group_permissions
* fix: delete null collectionId records before setting non null constraint
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to GroupPermission
* fix: rename collection_users to user_permissions
* fix: teamPermanentDeleter test
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to UserPermission
* fix: create views upon table rename for zero downtime
* fix: remove comments
* 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
* 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
* 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
* 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>
* Comment model
* Framework, model, policy, presenter, api endpoint etc
* Iteration, first pass of UI
* fixes, refactors
* Comment commands
* comment socket support
* typing indicators
* comment component, styling
* wip
* right sidebar resize
* fix: CMD+Enter submit
* Add usePersistedState
fix: Main page scrolling on comment highlight
* drafts
* Typing indicator
* refactor
* policies
* Click thread to highlight
Improve comment timestamps
* padding
* Comment menu v1
* Change comments to use editor
* Basic comment editing
* fix: Hide commenting button when disabled at team level
* Enable opening sidebar without mark
* Move selected comment to location state
* Add comment delete confirmation
* Add comment count to document meta
* fix: Comment sidebar togglable
Add copy link to comment
* stash
* Restore History changes
* Refactor right sidebar to allow for comment animation
* Update to new router best practices
* stash
* Various improvements
* stash
* Handle click outside
* Fix incorrect placeholder in input
fix: Input box appearing on other sessions erroneously
* stash
* fix: Don't leave orphaned child comments
* styling
* stash
* Enable comment toggling again
* Edit styling, merge conflicts
* fix: Cannot navigate from insights to comments
* Remove draft comment mark on click outside
* Fix: Empty comment sidebar, tsc
* Remove public toggle
* fix: All comments are recessed
fix: Comments should not be printed
* fix: Associated mark should be removed on comment delete
* Revert unused changes
* Empty state, basic RTL support
* Create dont toggle comment mark
* Make it feel more snappy
* Highlight active comment in text
* fix animation
* RTL support
* Add reply CTA
* Translations
* GA integration settings
* trackingId -> measurementId
Hook up script
* Public page GA tracking
Correct layout of settings
* Remove multiple codepaths for loading GA measurementID, add missing db index
* Remove unneccessary changes, tsc
* test