-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XWIKI-22481: Add the ability to use a LibreOffice binary from another server #3610
base: master
Are you sure you want to change the base?
Changes from all commits
be713cd
5319d2a
22c9688
2ad3375
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
--> | ||
|
||
<xwikidoc version="1.4" reference="XWiki.OfficeImporterAdmin" locale=""> | ||
<xwikidoc version="1.5" reference="XWiki.OfficeImporterAdmin" locale=""> | ||
<web>XWiki</web> | ||
<name>OfficeImporterAdmin</name> | ||
<language/> | ||
|
@@ -108,6 +108,18 @@ | |
</dt> | ||
<dd>$escapetool.html($serverType)</dd> | ||
### | ||
### Server Host | ||
### | ||
#if ($services.officemanager.config.serverType == 2) | ||
<dt> | ||
<label>$escapetool.html($services.localization.render('xe.officeimporter.openoffice.serverhost'))</label> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm this is using old translation key format, I think we need to fix this. See https://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HTranslationPropertyNaming |
||
<span class="xHint"> | ||
$escapetool.xml($services.localization.render('office.config.serverHost.hint')) | ||
</span> | ||
</dt> | ||
<dd>$escapetool.html($services.officemanager.config.serverHost)</dd> | ||
#end | ||
### | ||
### Server Port | ||
### | ||
<dt> | ||
|
@@ -166,6 +178,13 @@ | |
</dd> | ||
#end | ||
### | ||
### Work directory | ||
### | ||
#if ($services.officemanager.config.workDir.isPresent()) | ||
<dt><label>$escapetool.html($services.localization.render('xe.officeimporter.openoffice.workdir'))</label></dt> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment re translation key format |
||
<dd>$escapetool.html($services.officemanager.config.workDir.get())</dd> | ||
#end | ||
### | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm wondering if it's useful to always display that information. Looks a bit technical and more for debug purposes. Let's leave it like this for now but we may want to only display it for advanced users or when in debug mode (debug = true in the query string for example). |
||
### Server State | ||
### | ||
<dt><label>$escapetool.html($services.localization.render('xe.officeimporter.openoffice.serverstate'))</label></dt> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -348,8 +348,15 @@ rendering.transformations = $xwikiRenderingTransformations | |
#-# Type of the openoffice server instance used by officeimporter component. | ||
#-# 0 - Internally managed server instance. (Default) | ||
#-# 1 - Externally managed (local) server instance. | ||
#-# 2 - Externally managed (remotely) server instance. (Since 16.10.0RC1, 16.4.6) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. s/remotely/remote |
||
# openoffice.serverType = 0 | ||
|
||
#-# [Since 16.10.0RC1] | ||
#-# [Since 16.4.6] | ||
#-# Hostname used for connecting to the openoffice server instance when openoffice.serverType = 2 | ||
#-# Default value is 127.0.0.1 | ||
# openoffice.host = 127.0.0.1 | ||
|
||
#-# [Since 12.1RC1] | ||
#-# Port numbers used for connecting to the openoffice server instance. | ||
#-# For an internally managed server instance, it will create the process for all ports. | ||
|
@@ -371,6 +378,13 @@ rendering.transformations = $xwikiRenderingTransformations | |
#-# If no path is provided, a default value will be calculated based on the operating environment. | ||
# openoffice.profilePath = /home/user/.openoffice.org/3 | ||
|
||
#-# [Since 16.10.0RC1] | ||
#-# [Since 16.4.6] | ||
#-# Path to a folder where XWiki will exchange temporary files with the openoffice server. | ||
#-# If no path is provided, the temporary folder set for XWiki will be used. | ||
#-# If openoffice.serverType = 2, this folder should be a shared volume between the two servers. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should or must? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Hmmm I missed that @gdelhumeau if your plan is to have a shared volume, then why shouldn't you consider the LO as externally but locally installed (serverType=1)? |
||
# openoffice.workDir = | ||
|
||
#-# [Since 1.8RC3] | ||
#-# Maximum number of simultaneous conversion tasks to be handled by a single openoffice process (serverType:0 only). | ||
#-# Default value is 50 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 16.4.6 (as used below).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And that's also Unstable