Minor fixes
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
- `plugins.id` is mandatory and must be unique to each plusing
|
||||
- `plugins.internal_domain` (only if installed inside the same docker and same domain) is the internal domain of the plugin, it must be the same as the one in the docker-compose.yml file
|
||||
- `plugins.external_prefix` (only if installed outside of the docker) is the external prefix of the plugin. When the frontend will call https://tdrive.app/plugins/onlyoffice/ it will be redirected to the internal_domain.
|
||||
- **If your server and frontend runs on different urls** then you must replace all the /plugins[...] by http://my_server_url/plugins[...] except for the external_prefix URI.
|
||||
|
||||
## Add and run the docker container for the plugin
|
||||
|
||||
|
||||
@@ -139,76 +139,8 @@
|
||||
"sender": "noreply@twake.app"
|
||||
},
|
||||
"applications": {
|
||||
"grid": [
|
||||
{
|
||||
"name": "Tmail",
|
||||
"logo": "/public/img/grid/tmail.png",
|
||||
"url": "https://tmail.linagora.com/"
|
||||
},
|
||||
{
|
||||
"name": "Tdrive",
|
||||
"logo": "/public/img/grid/tdrive.png",
|
||||
"url": "https://twake.app/"
|
||||
}
|
||||
],
|
||||
"plugins": [
|
||||
{
|
||||
"id": "tdrive_onlyoffice",
|
||||
"internal_domain": "http://plugins_onlyoffice:5000/",
|
||||
"external_prefix": "/plugins/onlyoffice/",
|
||||
"display": {
|
||||
"tdrive": {
|
||||
"version": 1,
|
||||
"files": {
|
||||
"editor": {
|
||||
"preview_url": "/plugins/onlyoffice/?preview=1",
|
||||
"edition_url": "/plugins/onlyoffice/",
|
||||
"empty_files": [
|
||||
{
|
||||
"url": "/plugins/onlyoffice/assets/empty.docx",
|
||||
"filename": "Untitled.docx",
|
||||
"name": "ONLYOFFICE Word Document"
|
||||
},
|
||||
{
|
||||
"url": "/plugins/onlyoffice/assets/empty.xlsx",
|
||||
"filename": "Untitled.xlsx",
|
||||
"name": "ONLYOFFICE Excel Document"
|
||||
},
|
||||
{
|
||||
"url": "/plugins/onlyoffice/assets/empty.pptx",
|
||||
"filename": "Untitled.pptx",
|
||||
"name": "ONLYOFFICE PowerPoint Document"
|
||||
}
|
||||
],
|
||||
"extensions": [
|
||||
"xlsx",
|
||||
"pptx",
|
||||
"docx",
|
||||
"xls",
|
||||
"ppt",
|
||||
"doc",
|
||||
"odt",
|
||||
"ods",
|
||||
"odp",
|
||||
"txt",
|
||||
"html",
|
||||
"csv"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"identity": {
|
||||
"code": "only_office",
|
||||
"name": "Only Office",
|
||||
"icon": "/plugins/onlyoffice/assets/logo.png",
|
||||
"description": null,
|
||||
"website": "http://twake.app/",
|
||||
"categories": [],
|
||||
"compatibility": ["tdrive"]
|
||||
}
|
||||
}
|
||||
]
|
||||
"grid": [],
|
||||
"plugins": []
|
||||
},
|
||||
"services": [
|
||||
"auth",
|
||||
|
||||
Reference in New Issue
Block a user