Commit Graph

422 Commits

Author SHA1 Message Date
Tom Moor
168643c084 chore: Move processing of documents.import to async worker (#6595) 2024-02-24 12:28:33 -08:00
Pranav Joglekar
50b90b8878 improv: use statusFilter instead of includeArchive,includeDrafts for document search (#6537)
* improv: use statusFilter instead of includeArchive,includeDrafts for document search

* improv: update FilterComponent to add support for multiple selected items

* feat: update document type search ui

* fix test

* Restore support for old parameters to avoid breaking change

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-02-24 11:02:19 -08:00
Tom Moor
bc3271b4ab fix: Passing publish=true in documents.update with published document errors 2024-02-23 21:02:52 -05:00
Tom Moor
219d9b5724 Return cache headers on opensearch.xml response 2024-02-21 07:35:38 -05:00
Tom Moor
7c03963be1 chore: Separate maximum import size config for document/workspace (#6566)
* chore: Separate maximum import size config for document/workspace

* Update .env.sample
2024-02-20 20:35:31 -08:00
Tom Moor
2b0a8d1f7c fix: Correct HTML lang attribute in source. closes #6534 2024-02-16 12:44:43 -05:00
Tom Moor
329426d09f fix: comments.info endpoint not accessible to non-admins
closes #6516
2024-02-09 18:18:14 -05:00
Tom Moor
234613580d fix: User updates are not synced between clients (#6490)
* Add Model.changeset method to get minified changes since last update

* fix: Handle arrays

* Add changes column, types

* test
2024-02-04 10:36:43 -08:00
Tom Moor
c2b7d01c7d feat: Add setting to allow users to send invites (#6488) 2024-02-03 17:37:39 -08:00
Tom Moor
490a1b6009 Add missing integrations.info endpoint (#6474) 2024-02-02 09:48:55 +05:30
Tom Moor
6f1d02dfad fix: Cannot import into parent document, regression from new permissions logic. closes #6471 2024-02-01 18:26:30 -05:00
Tom Moor
fb711a1db8 Increase rate limit on documents.export endpoint 2024-01-31 18:34:14 -05:00
Tom Moor
47d168a29b Add notifications for document and collection access (#6460)
* Add notification for added to document

* Add notifications for document and collection access

* Add notification delay

* fix: Collection notifications not appearing

* Add notification settings
2024-01-31 15:01:27 -08:00
Apoorv Mishra
1490c3a14b Individual document sharing with permissions (#5814)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
2024-01-30 17:48:22 -08:00
Tom Moor
cbb00c4871 fix: documents.search API does not work with custom search slug 2024-01-20 22:58:37 -05:00
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
22c52f84c5 fix: Remove try/catch statements without error argument (#6370) 2024-01-10 08:02:44 -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
5d2a75c8e9 feat: Add missing comments.info endpoint, fix misnamed types 2023-12-29 10:13:22 -05:00
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
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
Apoorv Mishra
548a56e058 Accomodate membership id (#6221)
* fix: accomodate membership id

* fix: remove only

* fix: event handling

* fix: tests

* fix: use transaction

* Remove useless test

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2023-12-27 07:12:39 -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
17e55832ac Add resource tracing to route span 2023-12-09 10:48:27 -05:00
Tom Moor
aab5697b21 Improved API tracing 2023-12-09 10:23:53 -05:00
Tom Moor
cb0d84a803 Add extra trace tagging 2023-12-08 20:15:07 -05:00
Tom Moor
cf64da1050 Add score column to search_queries (#6253)
* Add score column to search_queries

* Allow user to record search score
2023-12-06 05:37:46 -08:00
Tom Moor
a21e1d9fea chore: Expose createDatabaseInstance, createMigrationRunner methods 2023-11-25 13:18:51 -05:00
Tom Moor
b9767a9fdc fix: Do not rely on class names in production bundle (#6212) 2023-11-24 09:59:57 -08: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
95e8f3ae73 chore: Normalize pagination on comments.list 2023-11-17 19:55:06 -05:00
Pranav Joglekar
750c324b1a Feat/5870 list all comments (#6081) 2023-11-17 16:24:26 -08: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
90605e110a fix: Include maximum import size 2023-11-10 08:28:17 -05:00
Tom Moor
0964d03a17 More use of isProduction/isDevelopment getters 2023-11-09 19:24:16 -05:00
Tom Moor
1ace76eb44 fix: Show correct favicon for team on login screen if public branding is enabled 2023-11-09 19:24:16 -05:00
Tom Moor
a1b52e18dd chore: Centralize environment detection 2023-11-09 19:24:16 -05:00
Tom Moor
c769a95f65 API: Add endpoint to check custom domain resolution (#6110) 2023-11-04 12:21:47 -07:00
Tom Moor
b2ad6ca9bc Refactor to middleware, support old routes 2023-11-01 23:52:18 -04:00
Tom Moor
0f072acfd9 fix: Guard undefined ctx.state 2023-11-01 23:14:45 -04:00
Tom Moor
2838503273 Backend of public sharing at root (#6103) 2023-11-01 19:10:00 -07:00
Tom Moor
1d6ef2e1b3 perf: Remove unneeded query before custom domain redirect 2023-10-31 22:32:29 -04:00
Tom Moor
1e847dc1cf Cleanup and refactor AuthStore (#6086) 2023-10-28 09:43:50 -07:00