Update syntax for GPO DefaultServerList (#944)

This commit is contained in:
JtheBAB 2019-03-08 12:27:19 +01:00 committed by William Gathoye
parent 995ef1d4a2
commit c4cf9d5e0c
2 changed files with 7 additions and 13 deletions

View file

@ -5,7 +5,6 @@
<resources > <resources >
<stringTable > <stringTable >
<string id="SUPPORTED_MMD43">Mattermost Desktop Application 4.3 or later</string> <string id="SUPPORTED_MMD43">Mattermost Desktop Application 4.3 or later</string>
<string id="SUPPORTED_MMD44">Mattermost Desktop Application 4.4 or later</string>
<string id="mattermost">Mattermost</string> <string id="mattermost">Mattermost</string>
<string id="DisableAutoUpdate">Disable Auto Updater</string> <string id="DisableAutoUpdate">Disable Auto Updater</string>
<string id="DisableAutoUpdate_Explain">If this policy is enabled, the Mattermost Desktop Application does not receive udpates. <string id="DisableAutoUpdate_Explain">If this policy is enabled, the Mattermost Desktop Application does not receive udpates.
@ -17,8 +16,6 @@ If this policy is disabled or not configured, the Mattermost Desktop Application
If this policy is disabled or not configured, it is possible to add new servers.</string> If this policy is disabled or not configured, it is possible to add new servers.</string>
<string id="ServerURL">Server addresses</string> <string id="ServerURL">Server addresses</string>
<string id="ServerURL_Explain">If this policy is enabled, you can set one or more Mattermost server addresses. <string id="ServerURL_Explain">If this policy is enabled, you can set one or more Mattermost server addresses.
Use the syntax:
Servername,https://server.com|Servername2,https://server2.com
If this policy is disabled or not configured, no servers are preconfigured.</string> If this policy is disabled or not configured, no servers are preconfigured.</string>
<string id="PreventGPU">Disable GPU hardware acceleration</string> <string id="PreventGPU">Disable GPU hardware acceleration</string>
@ -28,10 +25,7 @@ If this policy is disabled or not configured, the Mattermost Desktop Application
</stringTable> </stringTable>
<presentationTable> <presentationTable>
<presentation id="ServerURL"> <presentation id="ServerURL">
<text>URL:</text> <listBox refId="ServerURL">List of servers:</listBox>
<textBox refId="ServerURL">
<label/>
</textBox>
</presentation> </presentation>
</presentationTable> </presentationTable>
</resources> </resources>

View file

@ -33,16 +33,16 @@
<decimal value="0"/> <decimal value="0"/>
</disabledValue> </disabledValue>
</policy> </policy>
<policy name="ServerURL" class="Both" displayName="$(string.ServerURL)" explainText="$(string.ServerURL_Explain)" key="Software\Policies\Mattermost" presentation="$(presentation.ServerURL)" > <policy name="ServerURL" class="Both" displayName="$(string.ServerURL)" explainText="$(string.ServerURL_Explain)" presentation="$(presentation.ServerURL)" key="Software\Policies\Mattermost">
<parentCategory ref="mattermost" /> <parentCategory ref="mattermost" />
<supportedOn ref="SUPPORTED_MMD43" /> <supportedOn ref="SUPPORTED_MMD43" />
<elements> <elements>
<text id="ServerURL" valueName="URL" required="true" /> <list id="ServerURL" key="Software\Policies\Mattermost\DefaultServerList" additive="true" explicitValue="true" />
</elements> </elements>
</policy> </policy>
<policy name="PreventGPU" class="Machine" displayName="$(string.PreventGPU)" explainText="$(string.PreventGPU_Explain)" key="Software\Policies\Mattermost" valueName="PreventGPU"> <policy name="PreventGPU" class="Machine" displayName="$(string.PreventGPU)" explainText="$(string.PreventGPU_Explain)" key="Software\Policies\Mattermost" valueName="PreventGPU">
<parentCategory ref="mattermost"/> <parentCategory ref="mattermost"/>
<supportedOn ref="SUPPORTED_MMD44"/> <supportedOn ref="SUPPORTED_MMD43"/>
<enabledValue> <enabledValue>
<decimal value="1"/> <decimal value="1"/>
</enabledValue> </enabledValue>