-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AppProvider: make CodiMD config non hard-coded (#3401)
- Loading branch information
Showing
11 changed files
with
140 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Enhancement: make WOPI bridged apps (CodiMD) configuration non hard-coded | ||
|
||
The configuration of the custom mimetypes has been moved to the AppProvider, | ||
and the given mimetypes are used to configure bridged apps by sharing | ||
the corresponding config item to the drivers. | ||
|
||
https://github.com/cs3org/reva/pull/3401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
".zmd": "application/compressed-markdown", | ||
".zep": "application/compressed-etherpad" | ||
"zmd": "application/compressed-markdown", | ||
"zep": "application/compressed-etherpad" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[shared] | ||
gatewaysvc = "localhost:your-revad-gateway-port" | ||
|
||
[grpc] | ||
address = "0.0.0.0:12345" | ||
|
||
[grpc.services.appprovider] | ||
driver = "wopi" | ||
custom_mime_types_json = "custom-mime-types-demo.json" | ||
mime_types = ["text/markdown", "application/compressed-markdown", "text/plain"] | ||
app_provider_url = "localhost:12345" | ||
language = "en-GB" | ||
|
||
[grpc.services.appprovider.drivers.wopi] | ||
iop_secret = "hello" | ||
wopi_url = "http://0.0.0.0:8880/" | ||
app_name = "CodiMD" | ||
app_url = "https://your-codimd-server.org:3000" | ||
app_int_url = "https://your-codimd-server.org:3000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.