Commit Graph

85 Commits

Author SHA1 Message Date
Tom Moor
d51267b8bc JSON to client (#5553) 2024-05-24 05:29:00 -07:00
Tom Moor
958cf45d74 Support for filter by parent document (#6850)
* Backend support for filter by parent document

* parentDocumentId -> documentId
2024-04-25 19:44:15 -07:00
Tom Moor
3825bc4181 Improve the quality of snippets for search results (#6828)
* Improve the quality of snippets for search results

* Prefer full match

* tweak highlight regex
2024-04-22 04:40:13 -07:00
Tom Moor
21537b069b Special-case searching for urls as these are not indexed in whole by postgres.
closes OLN-276
2024-04-21 11:51:52 -04:00
Dmitry Dygalo
ea2c7cfcd4 chore: Replace css-inline with @css-inline/css-inline-wasm (#6336)
* chore: Replace `css-inline` with `@css-inline/css-inline-wasm`

Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>

* Update yarn.lock

* Import order

* lint

---------

Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
Co-authored-by: Tom Moor <tom@getoutline.com>
2024-04-21 07:20:12 -07:00
Tom Moor
054bddb666 fix: Improved phrase matching in search (#6800)
* fix: Improved phrase matching in search

* test
2024-04-13 06:01:26 -07:00
Apoorv Mishra
85c8f83e33 PluginManager refactor (#6677)
* fix: refactor plugin manager

* fix: make id optional

* fix: allow add to accept single object

* fix: getHooks

* fix: tsc

* fix: remove id
2024-03-16 21:22:25 +05:30
Tom Moor
f9a11a28d8 chore: Plugin registration (#6623)
* first pass

* test

* test

* priority

* Reduce boilerplate further

* Update server/utils/PluginManager.ts

Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>

* fix: matchesNode error in destroyed editor transaction

* fix: Individual imported files do not display source correctly in 'Insights'

* chore: Add sleep before Slack notification

* docs

* fix: Error logged about missing plugin.json

* Remove email template glob

---------

Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>
2024-03-08 20:32:05 -08:00
Tom Moor
60e52d0423 Separate environment configs (#6597)
* Separate environment configs

* wip

* wip

* test

* plugins

* test

* test

* .sequelizerc, unfortunately can't go through /utils/environment due to not supporting TS

* docker-compose -> docker compose

* fix: .local wipes .development

* Add custom validation message for invalid SECRET_KEY (often confused)
2024-02-27 09:24:23 -08:00
Tom Moor
9436c82ceb Alt fix 2024-02-24 17:02:51 -05:00
Tom Moor
0484941158 fix: Filter drafts by default, related #6537 2024-02-24 16:39:54 -05: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
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
69eb7b9db4 fix: Missing context in search results (#6549)
closes #6548
2024-02-16 09:34:05 -08:00
Tom Moor
83416530c1 fix: Search query with colon in quotes causes server error
closes #6542
2024-02-16 12:31:51 -05:00
Tom Moor
24ce661b7d fix: AttachmentHelper key includes double forward slash 2024-02-09 08:58:19 -05:00
Tom Moor
8e66354cce Add tracing to TextHelper, DocumentConverter 2024-02-07 22:09:21 -05:00
Tom Moor
d8e59a32ee fix: Relative links in document HTML should become absolute in emailed snippets
closes #6480
2024-02-06 21:27:24 -05:00
Tom Moor
c9e4a57ee3 fix: Update filename in attachment creator 2024-02-05 22:56:04 -05:00
Tom Moor
69ecda387e test 2024-02-02 09:01:18 -05:00
Tom Moor
391814a54e fix: Improve multi-partial word matching in search 2024-02-02 08:58:51 -05: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
Apoorv Mishra
3561b79d65 Zod schemas for routes under /plugins (#6378)
* fix: schema for slack routes

* fix: slack.post

* fix: email
2024-01-13 10:55:30 +05:30
Tom Moor
22c52f84c5 fix: Remove try/catch statements without error argument (#6370) 2024-01-10 08:02:44 -08: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
a53f304a9e fix: Server error when search term contains double single quotes 2023-12-13 21:17:16 -05: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
cb0d84a803 Add extra trace tagging 2023-12-08 20:15:07 -05:00
Tom Moor
5558d5af95 chore: Move from inline-css -> css-inline (#6252) 2023-12-05 17:40:27 -08:00
Tom Moor
72c485e0c8 fix: HTML exports have extra empty page, closes #6205 2023-11-23 09:50:58 -05:00
Tom Moor
b18740c989 Always inject ready script 2023-11-23 09:10:16 -05:00
Tom Moor
8b68ee404a fix: Render Mermaid diagrams in HTML export, towards #6205 2023-11-23 09:06:07 -05:00
Tom Moor
faf97401e6 feat: add "Copy document" dialog (#6009) 2023-10-16 16:13:57 -07:00
Tom Moor
1359f44814 fix: Links to attachments do not work in emailed notifications (#5935) 2023-10-04 18:25:07 -07:00
Tom Moor
43bdb97639 fix: Aggressive embed conversion on server Markdown -> Ydoc 2023-09-24 23:12:38 -04:00
Tom Moor
e50e0bba53 Allow file access not in Attachments table (#5876)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-24 06:43:37 -07:00
Tom Moor
65d3c8309e fix: Unable to store/read in avatars bucket with local file system storage
closes #5873
2023-09-23 15:00:48 -04:00
Apoorv Mishra
67b1fe5514 Local file storage (#5763)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2023-09-20 15:12:03 -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
Tom Moor
d7c331532d Add document unsubscribe link in email footer (#5762) 2023-09-03 16:04:28 -07:00
Tom Moor
864ddbd438 fix: Do not attempt to download non-valid urls in document create/import 2023-08-28 21:02:10 -04:00
Tom Moor
30a4303a8e chore: Remove DEPLOYMENT and SUBDOMAINS_ENABLED (#5742) 2023-08-28 17:39:58 -07:00
Tom Moor
78ad1b867a fix: Handle base64 and remote images when creating a file (#5740) 2023-08-26 06:15:14 -07:00
Tom Moor
74722b80f2 chore: Refactor file storage (#5711) 2023-08-20 07:04:34 -07:00
Tom Moor
b7bfc4bb1a chore: Remove optimize imports to allow vite upgrade (#5691) 2023-08-14 11:44:58 -07:00
Tom Moor
5dcd7a74ca fix: Remove no longer required unescaping, closes #5555 2023-07-14 21:46:31 -04:00
Tom Moor
8cc2853102 fix: Email for document update can include empty diff block 2023-07-07 08:23:42 -04:00
Tom Moor
89d5527d39 Handle promise linting (#5488) 2023-06-28 17:18:18 -07:00
Tom Moor
9ef375d83c fix: Import max length not correctly communicated on import (#5434) 2023-06-17 00:52:57 -07:00