feat: Support importing .docx or .html files as new documents (#1551)
* Support importing .docx as new documents * Add html file support, build types and interface for easily adding file types to importer * fix: Upload embedded images in docx to storage * refactor: Bulk of logic to command * refactor: Do all importing on server, so we're not splitting logic for import into two places * test: Add documentImporter tests Co-authored-by: Lance Whatley <whatl3y@gmail.com>
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
"jsonwebtoken": "^8.5.0",
|
||||
"jszip": "^3.5.0",
|
||||
"koa": "^2.10.0",
|
||||
"koa-bodyparser": "4.2.0",
|
||||
"koa-body": "^4.2.0",
|
||||
"koa-compress": "2.0.0",
|
||||
"koa-convert": "1.2.0",
|
||||
"koa-helmet": "5.2.0",
|
||||
@@ -115,6 +115,7 @@
|
||||
"koa-sslify": "2.1.2",
|
||||
"koa-static": "^4.0.1",
|
||||
"lodash": "^4.17.19",
|
||||
"mammoth": "^1.4.11",
|
||||
"mobx": "4.6.0",
|
||||
"mobx-react": "^6.2.5",
|
||||
"natural-sort": "^1.0.0",
|
||||
@@ -156,6 +157,7 @@
|
||||
"styled-normalize": "^8.0.4",
|
||||
"tiny-cookie": "^2.3.1",
|
||||
"tmp": "0.0.33",
|
||||
"turndown": "^6.0.0",
|
||||
"uuid": "2.0.2",
|
||||
"validator": "5.2.0"
|
||||
},
|
||||
@@ -193,4 +195,4 @@
|
||||
"js-yaml": "^3.13.1"
|
||||
},
|
||||
"version": "0.47.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user