Commit Graph

279 Commits

Author SHA1 Message Date
Tom Moor
2d879d0939 fix: Restore env validation for plugins (#6649)
* fix: Restore env validation for plugins

* rever
2024-03-06 18:13:54 -08:00
panos--
dce4fd6adc fix: HTML import escapes dollar signs in code (#6638) (#6645) 2024-03-06 05:00:50 -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
b7f0af9b85 fix: Vendorized turndown-gfm-plugin and fixed performance issue with parsing tables
closes OLN-277
2024-02-24 13:01:04 -05:00
Tom Moor
219d9b5724 Return cache headers on opensearch.xml response 2024-02-21 07:35:38 -05:00
Tom Moor
66be5b2463 chore: Add flag to prevent automatic migration running on startup 2024-02-20 21:16:58 -05:00
Tom Moor
7c2a3142a4 fix: Paragraphs lost in table cells
closes OLN-262
2024-02-20 20:58:46 -05:00
Tom Moor
4e7ea0b7f1 fix: HTML table fails to import with empty cells 2024-02-17 22:44:33 -05:00
Tom Moor
93c32536f9 fix: Allow application/octet-stream mimetype to fall through to extension matching in DocumentConverter 2024-02-11 13:38:27 -05:00
Tom Moor
105c84b4e9 mammoth.convertToHtml tracing 2024-02-07 22:13:35 -05:00
Tom Moor
8e66354cce Add tracing to TextHelper, DocumentConverter 2024-02-07 22:09:21 -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
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
d586bdf28a closes #6273 2023-12-13 00:20:50 -05:00
Tom Moor
07cd13f17a fix: Queue health monitor should only run on worker processes (#6228) 2023-11-27 20:55:00 -05:00
Tom Moor
5d70129c04 Add health check for background queue (#6218) 2023-11-27 05:36:07 -08:00
Tom Moor
0e4dbbef1f fix: Vite 5 manifest does not always contain imports key 2023-11-23 10:09:30 -05:00
Tom Moor
86494461cf fix: Location of generated manifest changed in Vite 5, see:
https://vitejs.dev/guide/migration\#manifest-files-are-now-generated-in-vite-directory-by-default
2023-11-23 09:54:47 -05:00
Tom Moor
3b01368677 Add suspendedAt column to teams 2023-11-22 21:35:04 -05:00
Tom Moor
67a1033ded fix: Allow for zip files with '/' path in central directory 2023-11-16 19:25:43 -05:00
Tom Moor
cf6a946c9c chore: Normalize fs-extra usage 2023-11-15 19:43:17 -05:00
Tom Moor
726613bf1d fix: Remove unzipper as it cannot handle zip within zip (#6162) 2023-11-15 16:32:17 -08:00
Tom Moor
1898a34418 Rearchitect import (#6141) 2023-11-13 17:15:38 -08:00
Tom Moor
1a556b6ff2 fix: Internal server error during import with nested documents 2023-11-09 19:24:16 -05:00
Tom Moor
0964d03a17 More use of isProduction/isDevelopment getters 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
d8d49f6950 fix: Internal server error during import with nested documents 2023-11-09 19:24:16 -05: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
89f3d47327 Port HTML import improvements from enterprise codebase 2023-10-28 19:09:53 -04:00
Tom Moor
5402731ec3 fix: Do not prevent local IP connections to OIDC server
ref #6064
2023-10-25 20:54:26 -04:00
Tom Moor
9e3b2c043c fix: Port escape overrides from enterprise fork 2023-10-15 10:54:27 -04:00
Tom Moor
d5bac6cbca fix: Paragraphs in table cells skipped in import
Port HTML importer rules from enterprise fork
2023-10-15 10:54:27 -04:00
Tom Moor
00ee8729ec fix: Import of breaks from HTML files 2023-10-14 17:44:25 -07:00
Tom Moor
41a6f77998 fix: Types on overridden findByPk methods (#5908) 2023-10-01 12:02:56 -07:00
Tom Moor
2261514138 Improve debugging when OIDC userinfo endpoint does not return JSON 2023-09-26 23:46:56 -04:00
Tom Moor
6aec085942 fix: Error handling on streams missing error handler on read streams.
Related https://github.com/outline/outline/discussions/5855
2023-09-23 18:08:36 -04:00
Tom Moor
5c7c9ceeb1 JSDoc, closes #5874 2023-09-23 14:31:55 -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
0856f5f6ae Move template management to settings (#5811) 2023-09-10 12:46:12 -07:00
Tom Moor
80ef0a38d6 chore: More flakey test improvements (#5801) 2023-09-09 15:30:19 -07:00
Tom Moor
127115272a feat: Return attachments when exporting an individual file (#5778) 2023-09-06 17:53:30 -07:00
Tom Moor
dec03b9d84 fix: Remove cloud hosted check before running migrations 2023-08-30 23:03:49 -04:00
Tom Moor
fa03f9c08d Add additional rate limits on documents API endpoints 2023-08-30 20:28:22 -04:00
Tom Moor
30a4303a8e chore: Remove DEPLOYMENT and SUBDOMAINS_ENABLED (#5742) 2023-08-28 17:39:58 -07:00
Tom Moor
b002d51ace Add support for iframes in imported HTML 2023-08-28 18:37:39 -04: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
5c07694f6b Refactor 'uploadFromUrl' to base storage implementation
Add safety around using fetch implementation
2023-08-20 13:13:17 -04: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