Commit Graph
1979 Commits
Author SHA1 Message Date
Tom Moor fe0cb5ef12 fix: documents.search API does not work with custom search slug 2024-01-23 20:01:20 -05:00
Tom Moor 8dc77cc819 fix: Can't un-publish docs with archived children. closes #6408 2024-01-23 20:01:20 -05:00
Apoorv Mishra 0a7f5764d5 Zod schemas for routes under /plugins (#6378)
* fix: schema for slack routes

* fix: slack.post

* fix: email
2024-01-23 20:01:20 -05:00
Apoorv MishraandTom Moor feec3c130d 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-23 20:01:20 -05:00
Tom Moor 2a5f19c8ff Cover unknown access scenario in UI 2024-01-14 21:12:21 -05:00
Tom Moor 81e2e03142 fix: Incorrectly defined relationship 2024-01-14 19:47:03 -05:00
Tom Moor 0e43ebd413 Remove presentDocumentMembership 2024-01-14 19:47:03 -05:00
Tom Moor 5f1cc1bf9d Unsource on edit, change to cascade delete permissions 2024-01-14 19:47:03 -05:00
Tom Moor 4a39d52738 Add UserPermission sourceId 2024-01-14 19:47:03 -05:00
Apoorv Mishra 80ee36722a fix: sync re-ordering of user memberships across tabs 2024-01-13 22:03:01 +05:30
Tom Moor 632299ac50 tsc 2024-01-12 23:58:44 -05:00
Tom Moor e847c2f48b Serialize creator on membership response 2024-01-12 23:39:03 -05:00
Tom Moor e6924e3b73 Do not show document permissions for collections we already have access to
Remove JIT ordering
2024-01-12 23:19:17 -05:00
Tom Moor d95eb87a18 fix: Remove unneccessary where in scopes, remove unused scope 2024-01-12 20:09:25 -05:00
Tom Moor bf0866f1ce Allow user to leave document they've been given access to 2024-01-11 23:00:07 -05:00
Tom Moor 94a6ae75d4 Merge main 2024-01-11 22:37:29 -05:00
Tom Moor 2505fea103 fix: Prevent duplicate documents in collection structure 2024-01-11 22:18:50 -05:00
Tom Moor 89931ca2f0 fix: Improve reliability of inter-linking documents through importer. closes OLN-156 2024-01-10 21:19:39 -05:00
Tom Moor 22c52f84c5 fix: Remove try/catch statements without error argument (#6370) 2024-01-10 08:02:44 -08:00
Tom Moor 7d7d0fd9ca fix: Improve logic for word import (#6361)
* Refactor DocumentConverter

* Support parsing images from Confluence exported .doc files

* fix: Bring across 2 fixes from enterprise codebase

* Bust dependency cache
2024-01-09 20:29:47 -08:00
Tom Moor 5a0c8e41cb Update minimum build target to match package.json 2024-01-09 18:05:46 -08:00
Tom Moor c13c4e9412 various fixes 2024-01-07 23:11:25 -05:00
Tom Moor 3c73782eeb Merge branch 'main' into feat/2359/individual-document-sharing 2024-01-07 13:46:11 -05:00
Tom Moor f511540770 fix: Disable 'dark reader' chrome extension on Outline.
- We have native dark mode
- With extension enabled it mutates the document causing unrecoverable render loops

closes #6353
2024-01-07 09:19:52 -05:00
Tom Moor 67a6b3fe43 fix: Cleanup relationships when user is deleted (#6343)
* fix: Cleanup relationships when user is deleted

* Update tests

* Update User.test.ts
2024-01-03 06:14:10 -08:00
Tom Moor 1112254a8d fix: API should allow removing avatarUrl by passing null, closes #6329 2024-01-02 18:14:52 -05:00
Tom Moor 4998e1f6b9 Merge branch 'main' of github.com:outline/outline into feat/2359/individual-document-sharing 2024-01-01 20:01:49 -05:00
Tom Moor 2e17d0c185 test 2023-12-31 12:45:47 -05:00
Tom Moor ea3f0b12c8 Disable drafts access without specific document membership 2023-12-31 11:37:11 -05:00
Tom Moor 6f5f1025e5 perf: Avoid db queries for isCollectionDeleted where possible 2023-12-30 14:45:55 -05:00
Tom Moor 480eaedb17 fix: New documents shared with user should be placed at the top 2023-12-30 13:39:48 -05:00
Tom Moor b106de5e76 Add missing transactions, improve performance in membership api endpoints 2023-12-30 09:21:33 -05:00
Apoorv Mishra 284ce18001 fix: include in documents.search_titles 2023-12-30 19:07:41 +05:30
Tom Moor 95fe6b10d7 fix: Comments are not received in realtime on drafts 2023-12-29 23:10:10 -05:00
Tom Moor 6abf2cd4c7 Allow sharing collection-less drafts 2023-12-29 20:17:02 -05:00
Tom Moor 5d2a75c8e9 feat: Add missing comments.info endpoint, fix misnamed types 2023-12-29 10:13:22 -05:00
Apoorv Mishra 2e9ada5a87 Merge branch 'main' into feat/2359/individual-document-sharing 2023-12-29 10:17:39 +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
Apoorv Mishra 5ee728b955 fix: include drafts in search results 2023-12-28 23:59:21 +05:30
Apoorv Mishra c8e153a5fa fix: search 2023-12-28 23:39:24 +05:30
Tom Moor 551f569896 feat: Allow filtering searches by 'source'
fix: Do not show API searches in recent list in app
2023-12-27 16:56:27 -05:00
Tom Moor 820e4839d5 feat: Allow plugins to provide Email templates 2023-12-27 16:21:44 -05:00
Apoorv Mishra 565c606e02 fix: document deletion should update memberships via websockets 2023-12-27 22:47:16 +05:30
Apoorv Mishra 1c773b9212 fix: webhook subscriptions 2023-12-27 22:47:16 +05:30
Apoorv Mishra ba15bf41bf Handle websocket events 2023-12-27 22:47:16 +05:30
Apoorv Mishra b1c2d79a12 fix: check for deleted collection 2023-12-27 22:47:16 +05:30
Apoorv Mishra dcc90e14fb fix: if user is viewer at workspace level, they should have only read perm by default on a doc 2023-12-27 22:47:16 +05:30
Apoorv Mishra 33f0e1c2af fix: allow download permission 2023-12-27 22:47:16 +05:30
Apoorv Mishra 848374c177 Revert "fix: share permission for read_write access"
This reverts commit 788f62e1eb29d07285af9d4852580d62c38f7d4f.
2023-12-27 22:47:16 +05:30
Apoorv Mishra db6c21a92b fix: share permission for read_write access 2023-12-27 22:47:16 +05:30