Tom Moor
4e8fe75368
fix: Can't un-publish docs with archived children. closes #6408
2024-01-20 21:34:48 -05:00
Apoorv Mishra
7e61a519f1
Type server models ( #6326 )
...
* fix: type server models
* fix: make ParanoidModel generic
* fix: ApiKey
* fix: Attachment
* fix: AuthenticationProvider
* fix: Backlink
* fix: Collection
* fix: Comment
* fix: Document
* fix: FileOperation
* fix: Group
* fix: GroupPermission
* fix: GroupUser
* fix: Integration
* fix: IntegrationAuthentication
* fix: Notification
* fix: Pin
* fix: Revision
* fix: SearchQuery
* fix: Share
* fix: Star
* fix: Subscription
* fix: TypeError
* fix: Imports
* fix: Team
* fix: TeamDomain
* fix: User
* fix: UserAuthentication
* fix: UserPermission
* fix: View
* fix: WebhookDelivery
* fix: WebhookSubscription
* Remove type duplication
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-01-12 22:33:05 +05:30
Tom Moor
428b3c9553
chore: Ensure comment data is validated before persisting ( #6322 )
...
Fix flash on render of comment create
2023-12-28 10:46:50 -08:00
Tom Moor
027357acad
test
2023-12-27 10:00:15 -05:00
Apoorv Mishra
08aacdb302
Handle users.demote event ( #6315 )
...
* fix: Handle users.demote event
* fix: fetchAll
* fix: fetch based on total
2023-12-27 08:33:44 +05:30
Tom Moor
3ca8dc775d
test
2023-12-20 19:14:52 -04:00
Tom Moor
1840370e6f
Adds content column to documents and revisions as JSON snapshot ( #6179 )
2023-12-17 07:51:11 -08:00
Tom Moor
3f3d7b4978
Add 'Copy as Markdown' action
...
Remove smart quotes from Markdown export, closes #5303
2023-12-09 15:00:33 -05:00
Tom Moor
13a6f89640
fix: Deleted unpublished drafts in trash
2023-11-23 11:28:11 -05:00
Tom Moor
8b68ee404a
fix: Render Mermaid diagrams in HTML export, towards #6205
2023-11-23 09:06:07 -05:00
Tom Moor
a0b51b8c71
Error loading attachment should not fail entire export. closes #6158
2023-11-15 20:38:54 -05:00
Tom Moor
48d688c0a5
Store source metadata for imported documents ( #6136 )
2023-11-11 07:52:29 -08:00
Tom Moor
2fcf9149b5
fix: Templatize no longer works, closes #6067
2023-10-25 20:29:36 -04:00
Tom Moor
5fc68db5da
Improve reliability of document operations with websocket disconnected
2023-10-22 23:21:33 -04:00
Tom Moor
fb74494108
Do not expose insightsEnabled, templateId on public shares
2023-10-22 13:49:50 -04:00
jannschu
0518cdc6d9
Use transaction from middleware for more database queries ( #6051 )
2023-10-21 14:31:14 -07:00
Tom Moor
0bec781695
fix: Improve validation of edge cases with documents.move endpoint. closes #6015
2023-10-16 21:04:39 -04:00
Tom Moor
faf97401e6
feat: add "Copy document" dialog ( #6009 )
2023-10-16 16:13:57 -07:00
Tom Moor
e7b7032284
feat: Allow deletion of imports ( #5907 )
2023-10-01 18:24:50 -07:00
Tom Moor
41a6f77998
fix: Types on overridden findByPk methods ( #5908 )
2023-10-01 12:02:56 -07:00
Apoorv Mishra
7145f7ef51
UserPermission and GroupPermission models (#5860 )
...
* 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
2023-09-25 10:51:29 +05:30
Tom Moor
76862b626b
Allow setting createdAt, emoji properties through documents.create ( #5864 )
2023-09-21 19:37:27 -07:00
Tom Moor
7e17e82ac8
fix: Handle emoji field in imported documents
...
closes #5810
2023-09-13 22:05:21 -04:00
Apoorv Mishra
401d1ba871
multipart middleware (#5809 )
...
* fix: multipart middleware
* fix: reviews
2023-09-12 10:21:58 +05:30
Tom Moor
0856f5f6ae
Move template management to settings ( #5811 )
2023-09-10 12:46:12 -07:00
Tom Moor
127115272a
feat: Return attachments when exporting an individual file ( #5778 )
2023-09-06 17:53:30 -07:00
Tom Moor
ec0564eb32
chore: Test performance ( #5786 )
2023-09-06 14:19:21 -07:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Apoorv Mishra
1c7bb65c7a
Document emoji picker ( #4338 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-09-03 06:11:14 -07:00
Tom Moor
fa03f9c08d
Add additional rate limits on documents API endpoints
2023-08-30 20:28:22 -04:00
Tom Moor
b7bfc4bb1a
chore: Remove optimize imports to allow vite upgrade ( #5691 )
2023-08-14 11:44:58 -07:00
Tom Moor
ccdcda372f
chore: Move last usage of sequelize.transaction to middleware
2023-07-29 22:30:26 -04:00
Tom Moor
479b805613
Add per-document control over who can see viewer insights ( #5594 )
2023-07-23 09:01:36 -07:00
Tom Moor
4b14fa5dd7
Inherit 'full width' setting creating new child document
...
towards #5562
2023-07-15 23:21:59 -04:00
Tom Moor
f843a20a54
chore: Improves linting rule to catch mishandled promises ( #5506 )
2023-07-01 10:25:51 -07:00
Tom Moor
89d5527d39
Handle promise linting ( #5488 )
2023-06-28 17:18:18 -07:00
Tom Moor
7940cef517
Improve document revision creation ( #5474 )
2023-06-25 05:29:24 -07:00
Tom Moor
9ef375d83c
fix: Import max length not correctly communicated on import ( #5434 )
2023-06-17 00:52:57 -07:00
dependabot[bot]
fbd16d4b9a
chore(deps-dev): bump prettier from 2.1.2 to 2.8.8 ( #5372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-05-22 19:14:56 -07: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
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
21d6fbed87
Collection memberships required to be preloaded before publishing a document ( #5187 )
2023-04-11 16:38:25 -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
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
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
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
dependabot[bot]
05c5d0637e
chore(deps): bump koa-body from 4.2.0 to 6.0.1 ( #4806 )
...
* chore(deps): bump koa-body from 4.2.0 to 6.0.1
Bumps [koa-body](https://github.com/koajs/koa-body ) from 4.2.0 to 6.0.1.
- [Release notes](https://github.com/koajs/koa-body/releases )
- [Changelog](https://github.com/koajs/koa-body/blob/master/CHANGELOG.md )
- [Commits](https://github.com/koajs/koa-body/compare/v4.2.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: koa-body
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update types
* test
---------
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-02-24 05:11:49 -08:00
Tom Moor
70beb7524f
feat: Custom accent color ( #4897 )
...
* types
* Working, but messy
* Add InputColor component
* types
* Show default theme values when not customized
* Support custom theme on team sign-in page
* Payload validation
* Custom theme on shared documents
* Improve theme validation
* Team -> Workspace in settings
2023-02-19 07:43:03 -08:00