Merge branch 'feature/r7-office-corrections' into feature/version_10

This commit is contained in:
alexandervnuchkov 2019-03-13 16:03:19 +03:00
commit 04e1fa698f
28 changed files with 500 additions and 2554 deletions

View File

@ -10,7 +10,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>helpcenter.r7-office.ru</MSDeployServiceURL>
<DeployIisAppPath>helpcenter.r7-office.ru</DeployIisAppPath>
<RemoteSitePhysicalPath />
@ -22,6 +22,24 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<WDPMergeOption>MergeAllPagesAndControlToASingleAssembly</WDPMergeOption>
<UseMerge>True</UseMerge>
<ContentAssemblyName>ASC.Merge.dll</ContentAssemblyName>
</PropertyGroup>
<Target Name="CustomCollectFiles">
<ItemGroup>
<_XMLFiles Include="Bin\*.xml" />
<_ConfigFiles Include="web.autofac.config" />
<FilesForPackagingFromProject Include="%(_XMLFiles.Identity)">
<DestinationRelativePath>Bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
<FilesForPackagingFromProject Include="%(_ConfigFiles.Identity)">
<DestinationRelativePath>%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
</ItemGroup>
</Target>
<PropertyGroup>
<CopyAllFilesToSingleFolderForMsdeployDependsOn>CustomCollectFiles;
;</CopyAllFilesToSingleFolderForMsdeployDependsOn>
</PropertyGroup>
</Project>

View File

@ -13,7 +13,6 @@
<p>Javascript файл API может быть найден в следующей папке редактора:</p>
<p><b>https://documentserver/web-apps/apps/api/documents/api.js</b></p>
<p>Где <b>documentserver</b> - имя сервера, на котором установлен Сервер документов.</p>
<div class="note">Для версий <b>Сервера Документов</b> ниже 4.0 путь к API будет выглядеть следующим образом: <br /> <b>https://documentserver/OfficeWeb/apps/api/documents/api.js</b></div>
<p>Целевой HTML файл, в который должны быть встроены редакторы, должен иметь тег-заполнитель <em>div</em>, в который будет передана вся информация о редакторе:</p>

View File

@ -1,6 +1,4 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
<%@ Control Language="C#" Inherits="BaseContentUserControls" %> <%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %><script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Callback handler";
@ -8,13 +6,10 @@
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Callback handler</h1>
<p class="dscr">
The <b>document editing service</b> informs the <b>document storage service</b> about the status of the document editing using the <em>callbackUrl</em> from <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/basic.aspx")%>">JavaScript API</a>.
The <b>document editing service</b> use the POST request with the information in body.
</p>
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Обработчик обратных вызовов</h1>
<p class="dscr"><b>Сервис редактирования документов</b> оповещает <b>сервис хранения документов</b> о статусе редактирования документа, используя <em>callbackUrl</em> из <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/basic.aspx")%>">JavaScript API</a>. <b>Сервис редактирования документов</b> использует POST запросы с параметрами в теле.</p>
<h2>Parameters and their description:</h2>
<h2>Параметры и их описание:</h2>
<table class="table">
<colgroup>
<col style="width: 100px;" />
@ -24,99 +19,95 @@
</colgroup>
<thead>
<tr class="tablerow">
<td>Parameter</td>
<td>Description</td>
<td>Type</td>
<td>Presence</td>
<td>Параметр</td>
<td>Описание</td>
<td>Тип</td>
<td>Наличие</td>
</tr>
</thead>
<tbody>
<tr class="tablerow">
<td id="actions" class="copy-link">actions</td>
<td>Defines the object received if the new user connected to the document co-editing or disconnected from it. In the first case the <em>type</em> field value is <b>1</b>, in the other case - <b>0</b>. The <em>userid</em> field value is the identifier of the user who connected to or disconnected from the document co-editing.</td>
<td>array of object</td>
<td>optional</td>
<td>Определяет полученный объект, если новый пользователь, был подключен к совместному редактированию документа или отключен от него. В первом случае значение поля <em>тип</em> равно <b>1</b>, во втором - <b>0</b>. Значение поля <em>userid</em> является идентификатором пользователя, который был подключен к совместному редактированию документа, или отключен от него.</td>
<td>массив объектов</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="changeshistory" class="copy-link">changeshistory</td>
<td>Defines the array of objects with the document changes history. The object is present when the <em>status</em> value is equal to <b>2</b> or <b>3</b> only. Must be sent as a property <em>changes</em> of the object sent as the argument to the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/methods.aspx#refreshHistory")%>">refreshHistory</a> method. Deprecated since version 4.2, please use <a href="#history">history</a> instead.</td>
<td>array of object</td>
<td>optional</td>
<td>Определяет массив объектов с историей изменения документа. Объект присутствует только если значение параметра <em>status</em> равно <b>2</b> или <b>3</b>. Должен быть отправлен как свойство <em>changes</em>, объекта, который был передан методу <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/methods.aspx#refreshHistory")%>">refreshHistory</a> в качестве аргумента. Удалено, начиная с версии 4.2, пожалуйста, используйте <a href="#history">history</a>.</td>
<td>массив объектов</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="changesurl" class="copy-link">changesurl</td>
<td>Defines the link to the file with the document editing data used to track and display the document changes history. The link is present when the <em>status</em> value is equal to <b>2</b> or <b>3</b> only. The file must be saved and its address must be sent as <i>changesUrl</i> parameter using the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/methods.aspx#setHistoryData")%>">setHistoryData</a> method to show the changes corresponding to the specific document version.</td>
<td>string</td>
<td>optional</td>
<td>Определяет ссылку на файл с данными об изменениях документа, используемый для отображения истории изменения этого документа. Ссылка присутствует только если значение параметра <em>status</em> равно <b>2</b> или <b>3</b>. Файл должен быть сохранён, а его адрес должен быть отправлен как параметр <i>changesUrl</i>, используя метод <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/methods.aspx#setHistoryData")%>">setHistoryData</a>, чтобы показать изменения, относящиеся к конкретной версии документа.</td>
<td>строка</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="forcesavetype" class="copy-link">forcesavetype</td>
<td>Defines the type of initiator when the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/save.aspx#forcesave")%>">force saving</a> request is performed. Can have the following values:
<ul>
<li><b>0</b> - the force saving request is performed to the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/command.aspx")%>">command service</a>,</li>
<li><b>1</b> - the force saving request is performed each time the saving is done (e.g. the <b>Save</b> button is clicked), which is only available when the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor/customization.aspx#forcesave")%>">forcesave</a> option is set to <em>true</em>.</li>
<li><b>2</b> - the force saving request is performed by timer with the settings from the server config.</li>
</ul>
The type is present when the <em>status</em> value is equal to <b>6</b> or <b>7</b> only.
</td>
<td>integer</td>
<td>optional</td>
<td>Определяет тип инициатора запроса на выполнение <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/save.aspx#forcesave")%>">принудительного сохранения</a>. Может быть равным следующим значениям:<ul>
<li><b>0</b> - запрос на принудительное сохранение отправляется к <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/command.aspx")%>">командному сервису</a>.</li>
<li><b>1</b> - запрос на принудительное сохранение выполняется каждый раз, когда производится сохранение (например, нажимается кнопка <b>Сохранить</b>), что доступно лишь в случае, если значение параметра <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor/customization.aspx#forcesave")%>">forcesave</a> равно <em>true</em>.</li>
<li><b>2</b> - запрос на принудительное сохранение выполняется таймером с настройками от конфигурации сервера.</li>
</ul>Тип присутствует только если значение параметра <em>status</em> равно <b>6</b> или <b>7</b>.</td>
<td>целочисленный</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="history" class="copy-link">history</td>
<td>Defines the object with the document changes history. The object is present when the <em>status</em> value is equal to <b>2</b> or <b>3</b> only. It contains the object <em>serverVersion</em> and <em>changes</em>, which must be sent as properties <em>serverVersion</em> and <em>changes</em> of the object sent as the argument to the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/methods.aspx#refreshHistory")%>">refreshHistory</a> method.</td>
<td>object</td>
<td>optional</td>
<td>Определяет объект с информацией об истории изменения документа. Объект присутствует только если значение параметра <em>status</em> равно <b>2</b> или <b>3</b>. Содержит объекты <em>serverVersion</em> и <em>changes</em>, которые должны быть отправлены как свойства <em>serverVersion</em> и <em>changes</em> объекта, который был передан в качестве аргумента методу <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/methods.aspx#refreshHistory")%>">refreshHistory</a>.</td>
<td>объект</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="key" class="copy-link">key</td>
<td>Defines the edited document identifier.</td>
<td>string</td>
<td>required</td>
<td>Определяет идентификатор отредактированного документа.</td>
<td>строка</td>
<td>обязательный</td>
</tr>
<tr class="tablerow">
<td id="status" class="copy-link">status</td>
<td>Defines the status of the document. Can have the following values:
<ul>
<li><b>0</b> - no document with the key identifier could be found,</li>
<li><b>1</b> - document is being edited,</li>
<li><b>2</b> - document is ready for saving,</li>
<li><b>3</b> - document saving error has occurred,</li>
<li><b>4</b> - document is closed with no changes,</li>
<li><b>6</b> - document is being edited, but the current document state is saved,</li>
<li><b>7</b> - error has occurred while force saving the document.</li>
<td>Определяет статус документа. Может быть равным следующим значениям:<ul>
<li><b>0</b> - не найден документ с данным идентификатором,</li>
<li><b>1</b> - документ редактируется,</li>
<li><b>2</b> - документ готов к сохранению,</li>
<li><b>3</b> - во время сохранения документа произошла ошибка,</li>
<li><b>4</b> - документ был закрыт без изменений,</li>
<li><b>6</b> - документ редактируется, но текущее его состояние сохранено,</li>
<li><b>7</b> - во время принудительного сохранения документа произошла ошибка.</li>
</ul>
</td>
<td>integer</td>
<td>required</td>
<td>целочисленный</td>
<td>обязательный</td>
</tr>
<tr class="tablerow">
<td id="url" class="copy-link">url</td>
<td>Defines the link to the edited document to be saved with the document storage service. The link is present when the <em>status</em> value is equal to <b>2</b> or <b>3</b> only.</td>
<td>string</td>
<td>optional</td>
<td>Определяет ссылку на отредактированный документ, который будет сохранён сервисом хранения документов. Ссылка присутствует только если значение параметра <em>status</em> равно <b>2</b> или <b>3</b>.</td>
<td>строка</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="userdata" class="copy-link">userdata</td>
<td>Defines the custom information sent to the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/command.aspx#userdata")%>">command service</a> in case it was present in the request.</td>
<td>string</td>
<td>optional</td>
<td>Определяет пользовательскую информацию, отправляемую <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/command.aspx#userdata")%>">командному сервису</a> в случае, если она была передана в запросе.</td>
<td>строка</td>
<td>необязательный</td>
</tr>
<tr class="tablerow">
<td id="users" class="copy-link">users</td>
<td>Defines the list of the identifiers of the users who opened the document for editing; when the document has been changed the <b>users</b> will return the identifier of the user who was the last to edit the document (for status <b>2</b> and status <b>6</b> replies).</td>
<td>array of string</td>
<td>optional</td>
<td>Определяет список идентификаторов пользователей, который открыли документ для редактирования; когда документ был изменён, объект <b>users</b> вернёт идентификатор пользователя, который последним редактировал документ (для ответов со статусами <b>2</b> и <b>6</b>).</td>
<td>массив строк</td>
<td>необязательный</td>
</tr>
</tbody>
</table>
<p><em>Status</em> <b>1</b> is received every user connection to or disconnection from document co-editing.</p>
<p><em>Status</em> <b>2</b> (<b>3</b>) is received <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/save.aspx#savedelay")%>">10 seconds</a> after the document is closed for editing with the identifier of the user who was the last to send the changes to the document editing service.</p>
<p><em>Status</em> <b>4</b> is received after the document is closed for editing with no changes by the last user.</p>
<p><em>Status</em> <b>6</b> (<b>7</b>) is received when the force saving request is performed.</p>
<p><em>Статус</em> <b>1</b> будет получен каждый раз, когда пользователь подключается к совместному редактированию документа или отключается от него.</p>
<p><em>Статус</em> <b>2</b> (<b>3</b>) будет получен через <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/save.aspx#savedelay")%>">10 секунд</a> после закрытия документа, с идентификатором пользователя, от которого сервисом редактирования документов в последний раз были получены изменения.</p>
<p><em>Статус</em> <b>4</b> будет получен после закрытия документа, если пользователь не вносил в него никаких изменений.</p>
<p><em>Статус</em> <b>6</b> (<b>7</b>) будет получен при выполнении запроса на принудительное сохранение.</p>
<div id="status-1" class="header-gray copy-link">Sample of JSON object sent to the "callbackUrl" address by document editing service when two users are co-editing the document</div>
<div id="status-1" class="header-gray copy-link">Пример JSON объекта, отправляемого на адрес "callbackUrl" сервисом редактирования документов, когда 2 пользователя редактируют документ совместно</div>
<pre>
{
"actions": [{"type": 1, "userid": "78e1e841"}],
@ -126,7 +117,7 @@
}
</pre>
<div id="status-2" class="header-gray copy-link">Sample of JSON object sent to the "callbackUrl" address by document editing service when the user changed the document and closed it for editing</div>
<div id="status-2" class="header-gray copy-link">Пример JSON объекта, отправляемого "callbackUrl" сервисом редактирования документов, когда пользователь изменил документ и закрыл его</div>
<pre>
{
"actions": [{"type": 0, "userid": "78e1e841"}],
@ -142,7 +133,7 @@
}
</pre>
<div id="status-4" class="header-gray copy-link">Sample of JSON object sent to the "callbackUrl" address by document editing service when the last user closed the document for editing without changes</div>
<div id="status-4" class="header-gray copy-link">Пример JSON объекта, отправляемого на адрес "callbackUrl" сервисом редактирования документов, когда последний пользователь закрыл документ без изменений</div>
<pre>
{
"key": "Khirz6zTPdfd7",
@ -150,7 +141,7 @@
}
</pre>
<div id="status-6" class="header-gray copy-link">Sample of JSON object sent to the "callbackUrl" address by document editing service after the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/command.aspx")%>">forcesave</a> command had been received</div>
<div id="status-6" class="header-gray copy-link">Пример JSON объекта, отправляемого на адрес "callbackUrl" сервисом редактирования документов, после того, как была получена команда <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/command.aspx")%>">forcesave</a>.</div>
<pre>
{
"changesurl": "https://documentserver/url-to-changes.zip",
@ -167,18 +158,18 @@
}
</pre>
<div id="error-0" class="header-gray copy-link">Response from the document storage service</div>
<div id="error-0" class="header-gray copy-link">Ответ от сервиса хранения документов</div>
<p>The <b>document storage service</b> must return the following response, otherwise the <b>document editor</b> will display an error message:</p>
<p><b>Сервис хранения документов</b> должен отправить следующий ответ, в противном случае, <b>редактор документов</b> покажет сообщение об ошибке:</p>
<pre>
{
"error": 0
}
</pre>
<p id="implement">The <b>document manager</b> and <b>document storage service</b> are either included to Community Server or must be implemented by the software integrators who use ONLYOFFICE Document Server on their own server.</p>
<p id="implement"><b>Менеджер документов</b> и <b>сервис хранения документов</b> включены в Сервер совместной работы или должны быть реализованы разработчиками, использующими Сервер документов на своих собственных серверах.</p>
<div id="csharp" class="header-gray copy-link">.Net (C#) document save example</div>
<div id="csharp" class="header-gray copy-link">Пример сохранения документа на .Net (C#)</div>
<pre>
public class WebEditor : IHttpHandler
{
@ -206,9 +197,9 @@ public class WebEditor : IHttpHandler
}
}
</pre>
<div class="note"><em>PATH_FOR_SAVE</em> is the absolute path to your computer folder where the file will be saved including the file name.</div>
<div class="note"><em>PATH_FOR_SAVE</em> - абсолютный путь к папке на вашем компьютере, включая имя файла, в которую будет сохранён этот файл.</div>
<div id="java" class="header-gray copy-link">Java document save example</div>
<div id="java" class="header-gray copy-link">Пример сохранения документа на Java</div>
<pre>
public class IndexServlet extends HttpServlet {
@Override
@ -245,9 +236,9 @@ public class IndexServlet extends HttpServlet {
}
}
</pre>
<div class="note"><em>pathForSave</em> is the absolute path to your computer folder where the file will be saved including the file name.</div>
<div class="note"><em>pathForSave</em> - абсолютный путь к папке на вашем компьютере, включая имя файла, в которую будет сохранён этот файл.</div>
<div id="nodejs" class="header-gray copy-link">Node.js document save example</div>
<div id="nodejs" class="header-gray copy-link">Пример сохранения документа на Node.js</div>
<pre>
var fs = require("fs");
@ -282,9 +273,9 @@ app.post("/track", function (req, res) {
}
});
</pre>
<div class="note"><em>pathForSave</em> is the absolute path to your computer folder where the file will be saved including the file name.</div>
<div class="note"><em>pathForSave</em> - абсолютный путь к папке на вашем компьютере, включая имя файла, в которую будет сохранён этот файл.</div>
<div id="php" class="header-gray copy-link">PHP document save example</div>
<div id="php" class="header-gray copy-link">Пример сохранения документа на PHP</div>
<pre>
&lt;?php
@ -307,9 +298,9 @@ echo "{\"error\":0}";
?&gt;
</pre>
<div class="note"><em>$path_for_save</em> is the absolute path to your computer folder where the file will be saved including the file name.</div>
<div class="note"><em>$path_for_save</em> - абсолютный путь к папке на вашем компьютере, включая имя файла, в которую будет сохранён этот файл.</div>
<div id="ruby" class="header-gray copy-link">Ruby document save example</div>
<div id="ruby" class="header-gray copy-link">Пример сохранения документа на Ruby</div>
<pre>
class ApplicationController < ActionController::Base
def index
@ -340,5 +331,5 @@ class ApplicationController < ActionController::Base
end
end
</pre>
<div class="note"><em>path_for_save</em> is the absolute path to your computer folder where the file will be saved including the file name.</div>
<div class="note"><em>path_for_save</em> - абсолютный путь к папке на вашем компьютере, включая имя файла, в которую будет сохранён этот файл.</div>
</div>

View File

@ -9,8 +9,6 @@
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Командный сервис</h1>
<p class="dscr">Для взаимодействия с <b>командным сервисом документов</b> используются POST запросы. Параметры запроса указываются в теле запроса в формате JSON. Запросы отправляются к <span class="fakelink">https://documentserver/coauthoring/CommandService.ashx</span>, где <b>documentserver</b> - имя сервера, на котором установлен Сервер документов.</p>
<div class="note">В <b>Сервере документов</b> версии ниже 4.2 использовались GET запросы с параметрами в <em>QueryString</em>.</div>
<h2>Параметры и их описание:</h2>
<table class="table">
<colgroup>

View File

@ -1,6 +1,4 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
<%@ Control Language="C#" Inherits="BaseContentUserControls" %> <%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %><script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Document Permissions";
@ -8,12 +6,12 @@
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Document Permissions</h1>
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Разрешения документа</h1>
<div class="header-gray">Description</div>
<p class="dscr">The document permission section allows to change the permission for the document to be edited and downloaded or not.</p>
<div class="header-gray">Описание</div>
<p class="dscr">Раздел разрешений документа позволяет изменять права на его редактирование и скачивание.</p>
<div class="header-gray">Parameters</div>
<div class="header-gray">Параметры</div>
<table class="table">
<colgroup>
<col class="table-name" />
@ -23,80 +21,66 @@
</colgroup>
<thead>
<tr class="tablerow">
<td>Name</td>
<td>Description</td>
<td>Type</td>
<td>Example</td>
<td>Имя</td>
<td>Описание</td>
<td>Тип</td>
<td>Пример</td>
</tr>
</thead>
<tbody>
<tr class="tablerow">
<td id="comment" class="copy-link">comment</td>
<td>Defines if the document can be commented or not. In case the commenting permission is set to <b>"true"</b> the document <b>side bar</b> will contain the <b>Comment</b> menu option; the document commenting will only be available for the document editor if the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> parameter is set to <b>edit</b>. The default value coincides with the value of the <a href="#edit">edit</a> parameter.</td>
<td>boolean</td>
<td>Определяет, можно ли оставлять комментарии к документу. В случае, если вышеописанный параметр установлен в значение <b>"true"</b>, <b>боковая панель</b> в редакторе документов будет иметь пункт меню <b>Комментирование</b>; комментирование документа будет доступно в редакторе документов только если параметр <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> установлен в значение <b>edit</b>. Значение по умолчанию совпадает со значением параметра <a href="#edit">edit</a>.</td>
<td>логический</td>
<td>true</td>
</tr>
</tbody>
</table>
<div class="note">
In case <em>edit</em> is set to <b>"true"</b> and <em>comment</em> is also set to <b>"true"</b>, the user will be able to edit the document and comment.
In case <em>edit</em> is set to <b>"true"</b> and <em>comment</em> is set to <b>"false"</b>, the user will be able to edit only, the corresponding commenting functionality will be available for viewing only, the adding and editing of comments will be unavailable.
In case <em>edit</em> is set to <b>"false"</b> and <em>comment</em> is set to <b>"true"</b>, the document will be available for commenting only.
In case <em>edit</em> is set to <b>"false"</b> and <em>review</em> is set to <b>"false"</b> and <em>comments</em> is set to <b>"true"</b> the <em>fillForms</em> value is not considered and filling the forms is not available.
</div>
<div class="note">В случае, если параметр <em>edit</em> установлен в значение <b>"true"</b> и параметр <em>comment</em> также установлен в значение <b>"true"</b>, пользователь сможет редактировать и комментировать документ. В случае, если параметр <em>edit</em> установлен в значение <b>"true"</b>, а параметр <em>comment</em> установлен в значение <b>"false"</b>, пользователь сможет лишь редактировать документ, добавление или редактирование комментариев будет невозможным. В случае, если параметр <em>edit</em> установлен в значение <b>"false"</b>, а параметр <em>comment</em> установлен в значение <b>"true"</b>, документ будет доступен только для комментирования. В случае, если параметр <em>edit</em> установлен в значение <b>"false"</b> и параметр <em>review</em> также имеет значение <b>"false"</b>, а параметр <em>comments</em> установлен в значение <b>"true"</b>, значение параметра <em>fillForms</em> не принимается во внимание и заполнение форм невозможно.</div>
<table class="table">
<tbody>
<tr class="tablerow">
<td id="download" class="copy-link">download</td>
<td>Defines if the document can be downloaded or only viewed or edited online. In case the downloading permission is set to <b>"false"</b> the <b>Download as...</b> menu option will be absent from the <b>File</b> menu. The default value is <b>true</b>.</td>
<td>boolean</td>
<td id="download" class="copy-link">скачать</td>
<td>Определяет, может ли документ быть скачан, или лишь может быть просмотрен и отредактирован онлайн. В случае если параметр разрешения на скачивание установлен в значение <b>"false"</b>, пункт меню <b>Скачать как...</b> не будет отображён в меню <b>Файл</b>. Значением по умолчанию является <b>true</b>.</td>
<td>логический</td>
<td>true</td>
</tr>
<tr class="tablerow">
<td id="edit" class="copy-link">edit</td>
<td>Defines if the document can be edited or only viewed. In case the editing permission is set to <b>"true"</b> the <b>File</b> menu will contain the <b>Edit Document</b> menu option; please note that if the editing permission is set to <b>"false"</b> the document will be opened in viewer and you will <b>not</b> be able to switch it to the editor even if the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> parameter is set to <b>edit</b>. The default value is <b>true</b>.</td>
<td>boolean</td>
<td>Определяет, может ли документ быть отредактирован или лишь просмотрен. В случае если параметр разрешения на редактирование установлен в значение <b>"true"</b>, меню <b>Файл</b> будет содержать пункт <b>Редактировать документ</b>; учтите, пожалуйста, что, если параметр разрешения на редактирование установлен в значение <b>"false"</b>, документ будет открыт в режиме просмотра, и вы <b>не сможете</b> переключиться в режим редактирования, даже если параметр <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> установлен в значение <b>edit</b>. Значением по умолчанию является <b>true</b>.</td>
<td>логический</td>
<td>true</td>
</tr>
<tr class="tablerow">
<td id="print" class="copy-link">print</td>
<td>Defines if the document can be printed or not. In case the printing permission is set to <b>"false"</b> the <b>Print</b> menu option will be absent from the <b>File</b> menu. The default value is <b>true</b>.</td>
<td>boolean</td>
<td>Определяет, можно ли распечатать документ. В случае если параметр разрешения на печать установлен в значение <b>"false"</b>, пункт меню <b>Распечатать</b> не будет отображён в меню <b>Файл</b>. Значением по умолчанию является <b>true</b>.</td>
<td>логический</td>
<td>true</td>
</tr>
<tr class="tablerow">
<td id="fillForms" class="copy-link">fillForms</td>
<td>Defines if the forms can be filled. Filling in forms will only be available for the document editor if the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> parameter is set to <b>edit</b>. The default value coincides with the value of the <a href="#edit">edit</a> or the <a href="#review">review</a> parameter.</td>
<td>boolean</td>
<td>Определяет, могут ли формы быть заполнены. Заполнение форм будет доступно в редакторе документов только если параметр <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> установлен в значение <b>edit</b>. Значение по умолчанию совпадает со значением параметра <a href="#edit">edit</a> или параметра <a href="#review">review</a>.</td>
<td>логический</td>
<td>true</td>
</tr>
</tbody>
</table>
<div class="note">
In case <em>edit</em> is set to <b>"true"</b> or <em>review</em> is set to <b>"true"</b>, the <em>fillForms</em> value is not considered and the form filling is possible.
In case <em>edit</em> is set to <b>"false"</b> and <em>review</em> is set to <b>"false"</b> and <em>fillForms</em> is also set to <b>"true"</b>, the user can only fill forms in the document.
In case <em>edit</em> is set to <b>"false"</b> and <em>review</em> is set to <b>"false"</b> and <em>fillForms</em> is set to <b>"true"</b> the <em>comments</em> value is not considered and the commenting is not available.
The form filling only mode is currently available for <b>Document Editor</b> only.
</div>
<div class="note">В случае, если параметр <em>edit</em> установлен в значение <b>"true"</b> или параметр <em>review</em> установлен в значение <b>"true"</b>, значение параметра <em>fillForms</em> не принимается во внимание, и заполнение форм возможно. В случае, если параметр <em>edit</em> установлен в значение <b>"false"</b> и параметр <em>review</em> также имеет значение <b>"false"</b>, а значение параметра <em>fillForms</em> равно <b>"true"</b>, пользователь может заполнять лишь формы в документе. В случае, если параметр <em>edit</em> установлен в значение <b>"false"</b> и параметр <em>review</em> также имеет значение <b>"false"</b>, а параметр <em>fillForms</em> установлен в значение <b>"true"</b>, значение параметра <em>comments</em> не принимается во внимание и комментирование недоступно. На данный момент режим "Только заполнение форм" доступен лишь для <b>Редактора Документов</b>.</div>
<table class="table">
<tbody>
<tr class="tablerow">
<td id="review" class="copy-link">review</td>
<td>Defines if the document can be reviewed or not. In case the reviewing permission is set to <b>"true"</b> the document <b>status bar</b> will contain the <b>Review</b> menu option; the document review will only be available for the document editor if the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> parameter is set to <b>edit</b>. The default value coincides with the value of the <a href="#edit">edit</a> parameter.</td>
<td>boolean</td>
<td>Определяет, можно ли рецензировать документ. В случае, если параметр разрешения на рецензирование установлен в значение <b>"true"</b>, <b>строка состояния документа</b> будет иметь пункт меню <b>Рецензирование</b>; рецензирование документа будет доступно лишь в случае, если параметр <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/config/editor.aspx#mode")%>">mode</a> установлен в значение <b>edit</b>. Значение по умолчанию совпадает со значением параметра <a href="#edit">edit</a>.</td>
<td>логический</td>
<td>true</td>
</tr>
</tbody>
</table>
<div class="note">
In case <em>edit</em> is set to <b>"true"</b> and <em>review</em> is also set to <b>"true"</b>, the user will be able to edit the document, accept/reject the changes made and switch to the review mode him-/herself.
In case <em>edit</em> is set to <b>"true"</b> and <em>review</em> is set to <b>"false"</b>, the user will be able to edit only.
In case <em>edit</em> is set to <b>"false"</b> and <em>review</em> is set to <b>"true"</b>, the document will be available in review mode only.
</div>
<div class="note">В случае, если параметр <em>edit</em> установлен в значение <b>"true"</b> и параметр <em>review</em> также установлен в значение <b>"true"</b>, пользователь сможет редактировать документ, принимать или отклонять выполненные в документе изменения и переключаться в режим рецензирования. В случае, если параметр <em>edit</em> установлен в значение <b>"true"</b>, а параметр <em>review</em> установлен в значение <b>"false"</b>, пользователь сможет лишь редактировать документ. В случае, если параметр <em>edit</em> установлен в значение <b>"false"</b>, а параметр <em>review</em> установлен в значение <b>"true"</b>, документ будет доступен только в режиме рецензирования.</div>
<div class="header-gray">Example</div>
<div class="header-gray">Пример</div>
<pre>
var docEditor = new DocsAPI.DocEditor("placeholder", {
"document": {

View File

@ -1,6 +1,4 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
<%@ Control Language="C#" Inherits="BaseContentUserControls" %> <%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %><script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Editor config";
@ -8,12 +6,12 @@
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Editor config</h1>
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Конфигурация редактора</h1>
<div class="header-gray">Description</div>
<p class="dscr">The editorConfig section allows to change the parameters pertaining to the editor interface: opening mode (viewer or editor), interface language, additional buttons, etc.).</p>
<div class="header-gray">Описание</div>
<p class="dscr">Раздел конфигурации редактора позволяет изменять параметры, относящиеся к интерфейсу редактора: режим открытия (просмотр или редактирование), язык интерфейса, дополнительные кнопки, и т.д.</p>
<div class="header-gray">Parameters</div>
<div class="header-gray">Параметры</div>
<table class="table">
<colgroup>
<col class="table-name" />
@ -23,125 +21,77 @@
</colgroup>
<thead>
<tr class="tablerow">
<td>Name</td>
<td>Description</td>
<td>Type</td>
<td>Example</td>
<td>Имя</td>
<td>Описание</td>
<td>Тип</td>
<td>Пример</td>
</tr>
</thead>
<tbody>
<tr class="tablerow">
<td id="callbackUrl" class="copy-link">callbackUrl<span class="required">*</span></td>
<td>Specifies absolute URL to the <b>document storage service</b> (which <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/callback.aspx")%>">must be implemented</a> by the software integrators who use ONLYOFFICE Document Server on their own server).</td>
<td>string</td>
<td>Определяет абсолютную ссылку на <b>сервис хранения документов</b> (который <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/callback.aspx")%>">должнен быть разработан</a> интеграторами, которые используют Сервер документов на своём собственном сервере).</td>
<td>строка</td>
<td>"https://example.com/url-to-callback.ashx"</td>
</tr>
<tr class="tablerow">
<td id="createUrl" class="copy-link">createUrl</td>
<td>Defines the absolute URL of the document where it will be created and available after creation. If not specified, there will be no creation button.
</td>
<td>string</td>
<td>Определяет абсолютную ссылку расположения, по которому документ будет доступен после создания. Если не указано, то кнопка создания не будет отображена.</td>
<td>строка</td>
<td>"https://example.com/url-to-create-document/"</td>
</tr>
<tr class="tablerow">
<td id="lang" class="copy-link">lang</td>
<td>Defines the editor interface language (if some other languages other than English are present). Is set using the two letter (<b>de</b>, <b>ru</b>, <b>it</b>, etc.) or four letter (<b>en-US</b>, <b>fr-FR</b>, etc.) language codes. The default value is <b>"en-US"</b>.</td>
<td>string</td>
<td>"en-US"</td>
<td>Определяет язык интерфейса редактора (если доступны какие-либо другие языки, кроме русского), Устанавливается при помощи двух букв (<b>de</b>, <b>ru</b>, <b>it</b>, и т.д.) или четырёхсимвольных языкрвых кодов (<b>en-US</b>, <b>fr-FR</b>, и т.д.). Значением по умолчанию является <b>"ru-RU"</b>.</td>
<td>строка</td>
<td>"ru-RU"</td>
</tr>
<tr class="tablerow">
<td id="mode" class="copy-link">mode</td>
<td>Defines the editor opening mode. Can be either <b>view</b> to open the document for viewing, or <b>edit</b> to open the document in the editing mode allowing to apply changes to the document data. The default value is <b>"edit"</b>.</td>
<td>string</td>
<td>Определяет режим открытия редактора документов. Может быть равным <b>view</b>, для открытия документа для просмотра, или <b>edit</b> - для открытия на редактирование. Значением по умолчанию является <b>"edit"</b>.</td>
<td>строка</td>
<td>"edit"</td>
</tr>
<tr>
<td id="recent" class="copy-link">recent</td>
<td>Defines the presence or absence of the documents in the <b>Open Recent...</b> menu option where the following document parameters can be set:
<ul>
<li>
<b>folder</b> - the folder where the document is stored (can be empty in case the document is stored in the root folder),
<br />
<b>type</b>: string,
<br />
<b>example</b>: "Example Files";
</li>
<li>
<b>title</b> - the document title that will be displayed in the <b>Open Recent...</b> menu option,
<br />
<b>type</b>: string,
<br />
<b>example</b>: "exampledocument1.docx";
</li>
<li>
<b>url</b> - the absolute URL to the document where it is stored,
<br />
<b>type</b>: string,
<br />
<b>example</b>: "https://example.com/exampledocument1.docx".
</li>
<td>Определяет наличие или отсутствие документов в пункте меню <b>Открыть последние...</b>, значение которого может быть задано следующим образом:<ul>
<li><b>folder</b> - папка, в которой хранится документ (может быть пустым, в случае, если документ хранится в корневой директории), <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "Примеры файлов";</li>
<li><b>Title</b> - зголовок документа, который будет отображён в пункте меню <b>Открыть последние...</b>, <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "exampledocument1.docx";</li>
<li><b>url</b> - абсолютная ссылка на место расположения файла документа, <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "https://example.com/exampledocument1.docx".</li>
</ul>
</td>
<td>array of object</td>
<td>массив объектов</td>
<td></td>
</tr>
<tr class="tablerow">
<td id="user" class="copy-link">user</td>
<td>Defines the user currently viewing or editing the document:
<ul>
<li>
<b>firstname</b> - the first name of the user. Deprecated since version 4.2, please use name instead,
<br />
<b>type</b>: string,
<br />
<b>example</b>: "John";
</li>
<li>
<b>id</b> - the identification of the user,
<br />
<b>type</b>: string,
<br />
<b>example</b>: "78e1e841";
</li>
<li>
<b>lastname</b> - the last name of the user. Deprecated since version 4.2, please use name instead,
<br />
<b>type</b>: string,
<br />
<b>example</b>: "Smith";
</li>
<li>
<b>name</b> - the full name of the user. Used since version 4.2,
<br />
<b>type</b>: string,
<br />
<b>example</b>: "John Smith".
</li>
<td>Определяет пользователя, который в данный момент просматривает или редактирует документ:<ul>
<li><b>firstname</b> - имя пользователя. Удалено, начиная с версии 4.2, пожалуйста, используйте параметр name, <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "Иван";</li>
<li><b>Id</b> - идентификатор пользователя, <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "78e1e841";</li>
<li><b>lastname</b> - фамилия пользователя. Удалено, начиная с версии 4.2, пожалуйста, используйте параметр name, <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "Smith";</li>
<li><b>name</b> - полное имя пользователя. Используется, начиная с версии 4.2, <br /> <b>тип</b>: строка, <br /> <b>пример</b>: "John Smith".</li>
</ul>
</td>
<td>object</td>
<td>объект</td>
<td></td>
</tr>
</tbody>
</table>
<span class="required-descr"><span class="required">*</span><em> - required field</em></span>
<div class="header-gray">Example</div>
</table><span class="required-descr"><span class="required">*</span><em> - обязательное поле</em></span><div class="header-gray">Пример</div>
<pre>
var docEditor = new DocsAPI.DocEditor("placeholder", {
"editorConfig": {
"callbackUrl": "https://example.com/url-to-callback.ashx",
"createUrl": "https://example.com/url-to-create-document/",
"lang": "en-US",
"lang": "ru-RU",
"mode": "edit",
"recent": [
{
"folder": "Example Files",
"folder": "Примеры файлов",
"title": "exampledocument1.docx",
"url": "https://example.com/exampledocument1.docx"
},
{
"folder": "Example Files",
"folder": "Примеры файлов",
"title": "exampledocument2.docx",
"url": "https://example.com/exampledocument2.docx"
},
@ -149,12 +99,12 @@ var docEditor = new DocsAPI.DocEditor("placeholder", {
],
"user": {
"id": "78e1e841",
"name": "John Smith"
"name": "Иван Петров"
}
},
...
});
</pre>
<p>Where the <b>example.com</b> is the name of the the server where <b>document manager</b> and <b>document storage service</b> are installed. See the <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/howitworks.aspx")%>">How it works</a> section to find out more on Document Server service client-server interactions.</p>
<p>Где <b>example.com</b> - имя сервера, на котором установлены <b>менеджер документов</b> и <b>сервис хранения документов</b>. Смотрите раздел <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/howitworks.aspx")%>">Как это работает</a>, чтобы узнать больше о клиент-серверных взаимодействиях Сервера документов.</p>
</div>

View File

@ -169,6 +169,4 @@ var docEditor = new DocsAPI.DocEditor("placeholder", {
});
</pre>
<p>Где <b>example.com</b> - имя сервера, на котором установлены <b>менеджер документов</b> и <b>сервис хранения документов</b>. Смотрите раздел <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/howitworks.aspx")%>">Как это работает</a>, чтобы узнать больше о клиент-серверных взаимодействиях Сервера документов.</p>
<p>Если у вас есть дополнительные вопросы, пожалуйста, свяжитесь с нами по адресу <a href="mailto:integration@onlyoffice.com" onclick="if(window.ga){window.ga('send','event','mailto');}return true;">integration@onlyoffice.com</a>.</p>
</div>

View File

@ -72,6 +72,4 @@ var docEditor = new DocsAPI.DocEditor("placeholder", {
</pre>
<p>Где <b>example.com</b> - имя сервера, на котором расположены плагины, а также установлены <b>менеджер документов</b> и <b>сервис хранения документов</b>. Смотрите раздел <a href="<%=VirtualPathUtility.ToAbsolute("~/api/editors/howitworks.aspx")%>">Как это работает</a>, чтобы узнать больше о клиент-серверных взаимодействиях Сервера документов.</p>
<p>Если у вас есть дополнительные вопросы, пожалуйста, свяжитесь с нами по адресу <a href="mailto:integration@onlyoffice.com" onclick="if(window.ga){window.ga('send','event','mailto');}return true;">integration@onlyoffice.com</a>.</p>
</div>

View File

@ -9,8 +9,6 @@
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">API конвертации</h1>
<p class="dscr">Для взаимодействия с <b>сервисом конвертации документов</b> используются POST запросы. Параметры запроса указываются в теле запроса в формате JSON. Запросы отправляются по адресу <span class="fakelink">https://documentserver/ConvertService.ashx</span>, где <b>documentserver</b> - имя сервера, на котором установлен Сервер документов.</p>
<div class="note">В <b>Сервере документов</b> версии ниже 4.2 использовались GET запросы с параметрами в <em>QueryString</em>.</div>
<h2>Параметры и их описание:</h2>
<table class="table">
<colgroup>

View File

@ -1,3 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_mobile sm_document" id="link_4100" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/Mobile-Applications/Documents/index.aspx")%>">ONLYOFFICE Документы</a>
href="<%=VirtualPathUtility.ToAbsolute("~/Mobile-Applications/Documents/index.aspx")%>">Р7-Офис. Документы</a>

View File

@ -1,3 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_mobile sm_document" id="link_4107" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/Mobile-Applications/Documents/overview.aspx")%>"><span class="nodisplay_on_toc">ONLYOFFICE Документы для iOS - </span>Обзор</a>
href="<%=VirtualPathUtility.ToAbsolute("~/Mobile-Applications/Documents/overview.aspx")%>"><span class="nodisplay_on_toc">Р7-Офис. Документы для iOS - </span>Обзор</a>

View File

@ -1,3 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_mobile sm_android sm_document" id="link_4300" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/mobile-applications/Documents/android/overview.aspx")%>"><span class="nodisplay_on_toc">ONLYOFFICE Документы для Android - </span>Обзор</a>
href="<%=VirtualPathUtility.ToAbsolute("~/mobile-applications/Documents/android/overview.aspx")%>"><span class="nodisplay_on_toc">Р7-Офис. Документы для Android - </span>Обзор</a>

View File

@ -1,3 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_mobile sm_android sm_document" id="link_4528" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/mobile-applications/documents/android/available-languages.aspx")%>">Языки, доступные для интерфейса приложения ONLYOFFICE Документы для Android</a>
href="<%=VirtualPathUtility.ToAbsolute("~/mobile-applications/documents/android/available-languages.aspx")%>">Языки, доступные для интерфейса приложения Р7-Офис. Документы для Android</a>

View File

@ -252,7 +252,7 @@
</div>
<p>Чтобы включить и настроить SSO-аутентификацию на портале, необходимо интегрировать его с поставщиком учетных записей, а именно:</p>
<ol>
<li>Укажите данные портала в аккаунте поставщика учетных записей. Эта процедура различается в зависимости от выбранного поставщика учетных записей. Например, для сервиса OneLogin надо открыть вкладку 'Configuration' и ввести <em>https://@@@/samllogin.ashx/</em> в поле 'SAML Consumer URL', где <em>@@@</em> - это DNS-имя портала (например, <em>https://test.onlyoffice.com/samllogin.ashx/</em>). Сохраните настройки. Для получения более подробных сведений о настройке поставщика учетных записей обратитесь к нашему разделу <a class="links" href="<%=VirtualPathUtility.ToAbsolute("~/tipstricks/sso-setup.aspx")%>">Советы и приемы</a>.</li>
<li>Укажите данные портала в аккаунте поставщика учетных записей. Эта процедура различается в зависимости от выбранного поставщика учетных записей. Например, для сервиса OneLogin надо открыть вкладку 'Configuration' и ввести <em>https://@@@/samllogin.ashx/</em> в поле 'SAML Consumer URL', где <em>@@@</em> - это DNS-имя портала (например, <em>https://test.r7-office.ru/samllogin.ashx/</em>). Сохраните настройки. Для получения более подробных сведений о настройке поставщика учетных записей обратитесь к нашему разделу <a class="links" href="<%=VirtualPathUtility.ToAbsolute("~/tipstricks/sso-setup.aspx")%>">Советы и приемы</a>.</li>
<li>Укажите данные поставщика учетных записей на странице настроек портала. Для этого установите флажок <b>Включить SSO</b>, выберите подходящий <b>Тип SSO</b> (SAML или JWT) и заполните необходимые поля. Сведения, которые необходимо указать в полях <b>URL-адрес поставщика</b>, <b>URL-адрес конечной точки SSO</b>, <b>URL-адрес конечной точки SLO</b>, <b>Тип проверки подписи</b> и <b>Ключ</b>, можно найти в аккаунте поставщика учетных записей. Когда все параметры будут заданы, нажмите на кнопку <b>Сохранить</b>.</li>
</ol>
<div class="notehelp">
@ -342,7 +342,7 @@
</ul>
<p>Можно установить флажок <b>Мгновенная регистрация новых пользователей</b>, чтобы новые пользователи смогли регистрироваться без подтверждения со стороны администратора. В противном случае они могут отправить запрос администратору портала с помощью контактной формы на странице <b>Входа</b>.</p>
<p>После того как вы сделаете портал публичным, возможности изменить статус портала на приватный в <b>Настройках</b> портала не будет, но вы можете отправить запрос в нашу <a target="_blank" href="mailto:support@onlyoffice.com">службу поддержки</a>.</p>--%>
<p>После того как вы сделаете портал публичным, возможности изменить статус портала на приватный в <b>Настройках</b> портала не будет, но вы можете отправить запрос в нашу <a target="_blank" href="mailto:support@r7-office.ru">службу поддержки</a>.</p>--%>
</div>
</div>

View File

@ -4,16 +4,16 @@
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Языки, доступные для интерфейса приложения ONLYOFFICE Документы для Android";
PageTitle = PageCaption = "Языки, доступные для интерфейса приложения Р7-Офис. Документы для Android";
MetaKeyWords = "";
MetaDescription = "Узнайте, какие языки доступны для интерфейса приложения ONLYOFFICE Документы для Android.";
MetaDescription = "Узнайте, какие языки доступны для интерфейса приложения Р7-Офис. Документы для Android.";
}
</script>
<div class="main_buscall_container dataBackup" id="languageTablePage_androidDocuments">
<div class="MainHelpCenter" id="toggleMenuEditors">
<h1 class="subHeaderFeaturesCaption TipsCaption">Языки, доступные для интерфейса приложения ONLYOFFICE Документы для Android</h1>
<h1 class="subHeaderFeaturesCaption TipsCaption">Языки, доступные для интерфейса приложения Р7-Офис. Документы для Android</h1>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TranslatorAttention/TranslatorAttention.ascx" />
<p>Интерфейс приложения ONLYOFFICE <b>Документы</b> для Android доступен на <span id="languageAndroidNumber"></span> языках. Список меняется, так как новые переводчики хотят использовать приложение <b>Документы</b> для Android на своем языке и помогают нам, принимая участие в переводе. Ниже приводится таблица всех языков, доступных в настоящее время для приложения <b>Документы</b> для Android:</p>
<p>Интерфейс приложения Р7-Офис. <b>Документы</b> для Android доступен на <span id="languageAndroidNumber"></span> языках. Список меняется, так как новые переводчики хотят использовать приложение <b>Документы</b> для Android на своем языке и помогают нам, принимая участие в переводе. Ниже приводится таблица всех языков, доступных в настоящее время для приложения <b>Документы</b> для Android:</p>
<table class="table_versionlist talk_pages languages_list_table" id="languagesAndroidTable">
<thead>
@ -27,11 +27,11 @@
</table>
<p class="last_update">Обновлено: <span id="lastUpdate"></span></p>
<h2 id="Legend">Пояснения</h2>
<p style="clear: both;"><b><sup>1</sup> Степень завершенности</b>, выраженная в процентах, отражает выполнение перевода на один из доступных языков. 100% означает, что в приложении ONLYOFFICE <b>Документы</b> уже все переведено. 50% означает, что половина интерфейса приложения <b>Документы</b> по-прежнему остается на английском языке. Значения степени завершенности округлены в большую сторону.</p>
<p style="clear: both;"><b><sup>1</sup> Степень завершенности</b>, выраженная в процентах, отражает выполнение перевода на один из доступных языков. 100% означает, что в приложении Р7-Офис. <b>Документы</b> уже все переведено. 50% означает, что половина интерфейса приложения <b>Документы</b> по-прежнему остается на английском языке. Значения степени завершенности округлены в большую сторону.</p>
<h2 id="Participate">Если вы хотите принять участие в переводе</h2>
<p>Если вы переводчик или просто хотите использовать приложение ONLYOFFICE <b>Документы</b> на своем языке, вы тоже можете принять участие в переводе. Обратитесь к <a href="<%=VirtualPathUtility.ToAbsolute("~/guides/become-translator.aspx")%>">этой инструкции</a>, объясняющей, как стать переводчиком ONLYOFFICE, или напишите нам по адресу <a href="mailto:documentation@onlyoffice.com">documentation@onlyoffice.com</a>.</p>
<p>Если вы переводчик или просто хотите использовать приложение Р7-Офис. <b>Документы</b> на своем языке, вы тоже можете принять участие в переводе. Обратитесь к <a href="<%=VirtualPathUtility.ToAbsolute("~/guides/become-translator.aspx")%>">этой инструкции</a>, объясняющей, как стать переводчиком Р7-Офис, или напишите нам по адресу <a href="mailto:documentation@onlyoffice.com">documentation@onlyoffice.com</a>.</p>
<h2 id="TranslationReady">Я закончил перевод, что дальше?</h2>
<p>Когда переводы будут готовы, сообщите нам об этом по адресу электронной почты <a href="mailto:documentation@onlyoffice.com">documentation@onlyoffice.com</a>. Мы проверим переводы и добавим их в следующий выпуск, так что ваш язык будет доступен как новый язык интерфейса приложения ONLYOFFICE <b>Документы</b>.</p>
<p>Если вас интересует более подробная информация и статистика по языкам и переводам для других продуктов ONLYOFFICE, она доступна на <a href="<%=VirtualPathUtility.ToAbsolute("~/tipstricks/available-languages.aspx")%>">этой странице</a>.</p>
<p>Когда переводы будут готовы, сообщите нам об этом по адресу электронной почты <a href="mailto:documentation@onlyoffice.com">documentation@onlyoffice.com</a>. Мы проверим переводы и добавим их в следующий выпуск, так что ваш язык будет доступен как новый язык интерфейса приложения Р7-Офис. <b>Документы</b>.</p>
<p>Если вас интересует более подробная информация и статистика по языкам и переводам для других продуктов Р7-Офис, она доступна на <a href="<%=VirtualPathUtility.ToAbsolute("~/tipstricks/available-languages.aspx")%>">этой странице</a>.</p>
</div>
</div>

View File

@ -4,7 +4,7 @@
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "ONLYOFFICE Документы для Android";
PageTitle = PageCaption = "Р7-Офис. Документы для Android";
MetaKeyWords = "";
MetaDescription = "";

View File

@ -2,15 +2,15 @@
<ul>
<li><p>Get Started</p>
<ul>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/index.aspx") %>">Basic concepts</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/auth.aspx") %>">Passing authentication</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/index.aspx") %>">Основные понятия</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/auth.aspx") %>">Авторизация</a></li>
</ul>
</li>
<% var entryPoints = Documentation.GetAll();
if (entryPoints != null && entryPoints.Any())
{ %>
<li><p>Portal API methods</p>
<li><p>Методы API для порталов</p>
<ul>
<% foreach (var entryPoint in entryPoints.OrderBy(x => x.Name).ToList())
{ %>
@ -34,9 +34,9 @@
<li><p>Help</p>
<ul>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/faq.aspx") %>">FAQ</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/filters.aspx") %>">Filtering</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/batch.aspx") %>">Batching</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/faq.aspx") %>">Часто задаваемые вопросы</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/filters.aspx") %>">Фильтрация запросов</a></li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/api/portals/batch.aspx") %>">Пакетная отправка запросов</a></li>
</ul>
</li>
</ul>

View File

@ -7,9 +7,8 @@
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="pages HTTP to HTTPS" enabled="true" stopProcessing="true" xdt:Transform="Insert">
<match url="^blog" negate="true" />
<clear />
<rule name="pages HTTP to HTTPS" enabled="true" stopProcessing="true" xdt:Transform="SetAttributes(enabled)" xdt:Locator="Match(name)">
<conditions>
<add input="{HTTPS}" pattern="off" />
</conditions>

View File

@ -1,27 +0,0 @@
body, p {font-family: 'Open Sans'; font-size: 14px; text-align: left;}
body {padding: 140px 20px 20px; margin: 0;}
p {margin: 0; padding: 3px 0;}
table td {padding: 5px 10px; font-family: 'Open Sans'; font-size: 14px; text-align: left;}
table th {padding: 5px 10px; font-family: 'Open Sans'; font-size: 18px; font-weight: 600; text-align: left;}
table th:first-child, table td:first-child {text-align: right;}
pre {white-space: pre-wrap; font-size: 14px; margin: 5px 10px; padding: 20px; border: 1px solid #ddd;}
.formDiv {position: absolute; top: 20px; left: 20px;}
select {padding: 11px 10px; font-family: 'Open Sans'; font-size: 14px; text-align: left; vertical-align: middle;}
input {font-family: 'Open Sans'; background: #444; border: 0 none; color: #fff; cursor: pointer; display: inline-block; font-size: 14px; vertical-align: middle; padding: 15px 30px; text-align: center; text-decoration: none !important; border-radius: 3px; text-transform: uppercase; font-weight: 600; line-height: 1em;}
h2 {font-weight: 400; font-size: 24px; font-family: 'Open Sans'; margin: 0; padding: 15px 0 5px; line-height: 1em; color: #444;}
h1 {font-weight: 400; font-size: 28px; font-family: 'Open Sans'; margin: 0; padding: 0; line-height: 1em; position: absolute; top: 90px; left: 20px; color: #f94a0c;}
a {color: #5891d0;}
li a {font-family: 'Open Sans'; font-size: 14px; text-align: left; text-decoration: none;}
li a:hover {text-decoration: underline;}
li {list-style-type: none;}
ul {margin: 0;}
.menu_left {margin: 0; padding: 0;}
.back_to_start {position: absolute; right: 20px; top: 32px;}
#home .back_to_start {position: relative; left: 40px; right: auto; top: 0;}
.back_to_start a {display: block; text-align: right; line-height: 1.7em;}
#home .back_to_start a {text-align: left;}
#pages a#pagesLink, #parse a#parseLink, #home a#homeLink {display: none}
#back-top {bottom: 80px; right: 24px; position: fixed; z-index: 15000;}
#back-top a {background-color: rgba(158,164,181,0.8); background-image: url(img/arrowup.png); background-position: center center; background-repeat: no-repeat; border-radius: 3px; display: block; height: 40px; text-decoration: none; transition: 1s; width: 40px;}
#back-top a:hover {background-color: rgba(61,74,107,0.7);}
.indexesjs_link {text-decoration: underline; cursor: pointer;}

View File

@ -1,21 +0,0 @@
<?php
include('shared/simple_html_dom.php');
error_reporting(E_ALL);
//ini_set("display_errors", 1);
?>
<html>
<head>
<title>Editor documentation parser</title>
<?php
include('shared/headLinks.php');
?>
</head>
<body id="home">
<div class="">
<h1>Document Editors documentation</h1>
<?php
include('shared/backToLink.php');
?>
</div>
</body>
</html>

View File

@ -1,79 +0,0 @@
<?php
error_reporting(E_ALL);
//ini_set("display_errors", 1);
$json = '';
$totalPages = '0';
include('shared/backToLink.php');
if(isset($_GET['submitEditor'])) {
$varEditors = $_GET['editorVersion'];
$languageLocale = $_GET['languageList'];
$editorList = ['Document Editor', 'Presentation Editor', 'Spreadsheet Editor'];
$editorAvatarList = ['documenteditor', 'presentationeditor', 'spreadsheeteditor'];
$languageList = ['English', 'Русский', 'Deutsch', 'Français', 'Español'];
$languageAvatarList = ['en', 'ru', 'de', 'fr', 'es'];
$lALLength = count($languageAvatarList);
$eALLength = count($editorAvatarList);
for ($i = 0; $i < $lALLength; $i++) {
if($languageAvatarList[$i] == $languageLocale) {
$languagePrint = $languageList[$i];
}
}
for ($i = 0; $i < $eALLength; $i++) {
if($editorAvatarList[$i] == $varEditors) {
$editorsPrint = $editorList[$i];
}
}
echo '<p>Editor: <b>' . $editorsPrint . '</b>, language: <b>' . $languagePrint . '</b></p>';
echo '<p>___________________________________________</p>';
echo '<div class="menu_left">';
$url = 'OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/Contents.json';
$jsonFile = file_get_contents($url);
if(substr($jsonFile, 0, 3) == pack("CCC", 0xEF, 0xBB, 0xBF)) $jsonFile = substr($jsonFile, 3);
$contents = json_decode($jsonFile, true);
foreach($contents as $item) {
$header = $item['headername'];
$link = $item['src'];
$title = $item['name'];
if($header != '') {
echo '</ul><h2>' . $header . '</h2><ul>';
}
echo '<li><a href="OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/' . $link . '">' . $title . '</a></li>';
}
echo '</div>';
echo '<p></p><p>===========================================</p><p><b>Contents.json</b> (file path: <u>\\\\siteserver2\documenteditors\OfficeWeb\apps\\' . $varEditors. '\main\resources\help\\' . $languageLocale. '\Contents.json</u>):</p>';
}
?>
<html>
<head>
<title>Build table of contents from Contents.json</title>
<?php
include('shared/headLinks.php');
?>
</head>
<body id="pages">
<h1>Build table of contents from Contents.json</h1>
<?php
include('shared/form.php');
if($_GET['languageList'] == '') echo '<p>Select the editor and its language from the list and click the <b>Start!</b> button.</p><p>The list of all the pages included into the <b>Contents.json</b> file will be formed.</p>';
?>
<p id="back-top" style="display: none">
<a title="Scroll up" href="#top"></a>
</p>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/arrowup.min.js"></script>
</body>
</html>

View File

@ -1,117 +0,0 @@
<?php
include('shared/simple_html_dom.php');
error_reporting(E_ALL);
//ini_set("display_errors", 1);
$json = '';
$totalPages = '0';
$localwebURL = 'http://192.168.4.102:8081/';
include('shared/backToLink.php');
if(isset($_GET['submitEditor'])) {
$varEditors = $_GET['editorVersion'];
$languageLocale = $_GET['languageList'];
$pages = array_map(null, glob('OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/*/*.htm'));
if(count($pages) != 0) {
$editorList = ['Document Editor', 'Presentation Editor', 'Spreadsheet Editor'];
$editorAvatarList = ['documenteditor', 'presentationeditor', 'spreadsheeteditor'];
$languageList = ['English', 'Русский', 'Deutsch', 'Français', 'Español'];
$languageAvatarList = ['en', 'ru', 'de', 'fr', 'es'];
$lALLength = count($languageAvatarList);
$eALLength = count($editorAvatarList);
for ($i = 0; $i < $lALLength; $i++) {
if($languageAvatarList[$i] == $languageLocale) {
$languagePrint = $languageList[$i];
}
}
for ($i = 0; $i < $eALLength; $i++) {
if($editorAvatarList[$i] == $varEditors) {
$editorsPrint = $editorList[$i];
}
}
echo '<p>Editor: <b>' . $editorsPrint . '</b>, language: <b>' . $languagePrint . '</b></p>';
echo '<p>Try if it works correctly: <a target="_blank" href="' . $localwebURL . 'OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/search/search.html?query=document">' . $localwebURL . 'OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/search/search.html?query=document</a></p>';
echo '<p><a class="indexesjs_link" onclick="javascript: $(\'html, body\').animate({ \'scrollTop\': $(\'#indexesjs\').offset().top - 50}, 500)">Go to indexes.js file</a></p>';
echo '<p>___________________________________________</p>';
foreach($pages as $url) {
$page_link_for_array = '';
$title_for_array = '';
$body_for_array = '';
$html = '';
$page_link = $url;
$page_link = str_replace('OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/',"",$page_link);
$page_link_for_array = '"id": "' . $page_link . '", ';
$html = file_get_html($url);
$titleTag = $html->find('title');
foreach($titleTag as $titleValue) {
$title = $titleValue->plaintext;
$title = str_replace("\\","\\\\",$title);
$title = str_replace('"','\"',$title);
$title_for_array = '"title": "' . $title . '", ';
}
$bodyTag = $html->find('body');
foreach($bodyTag as $bodyValue) {
$body = $bodyValue->plaintext;
$bodyTrimmed = trim($body);
$bodyTrimmed = str_replace("\t"," ",$bodyTrimmed);
$bodyTrimmed = str_replace("\n"," ",$bodyTrimmed);
$bodyTrimmed = str_replace("\r"," ",$bodyTrimmed);
$bodyTrimmed = preg_replace('/\s\s+/', ' ', $bodyTrimmed);
$bodyTrimmed = str_replace("\\","\\\\",$bodyTrimmed);
$bodyTrimmed = str_replace('"','\"',$bodyTrimmed);
if (substr($bodyTrimmed, 0, strlen($title)) == $title) {
$bodyTrimmed = substr($bodyTrimmed, strlen($title));
}
$bodyTrimmed = trim($bodyTrimmed);
$body_for_array = '"body": "' . $bodyTrimmed . '"';
}
$json .= PHP_EOL . ' {' . PHP_EOL . ' ' . $page_link_for_array . PHP_EOL . ' ' . $title_for_array . PHP_EOL . ' ' . $body_for_array . PHP_EOL . ' },';
echo '<p>' . $page_link . ' &mdash; done!</p>';
$totalPages += 1;
}
$file_start = 'var indexes = ' . PHP_EOL . '[';
$file_end = PHP_EOL . ']';
$json = rtrim($json,",");
file_put_contents('OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/search/indexes.js', $file_start . $json . $file_end);
echo '<p>___________________________________________</p><p>Total pages: <b>' . $totalPages . '</b></p>';
echo '<p></p><p>===========================================</p><p><a id="indexesjs"></a><b>indexes.js</b> (file path: <u>\\\\SITESERVER2\Sites\helpcenter.teamlab.com\helpcenter.r7-office.ru\Web\OfficeWeb\apps\\' . $varEditors. '\main\resources\help\\' . $languageLocale. '\search\indexes.js</u>):</p>';
echo '<pre>' . file_get_contents('OfficeWeb/apps/' . $varEditors. '/main/resources/help/' . $languageLocale. '/search/indexes.js') . '</pre>';
}
}
?>
<html>
<head>
<title>Build indexes.js for documentation search</title>
<?php
include('shared/headLinks.php');
?>
</head>
<body id="parse">
<h1>Build indexes.js for documentation search</h1>
<?php
include('shared/form.php');
if($_GET['languageList'] == '') echo '<p>Select the editor and its language from the list and click the <b>Start!</b> button.</p><p>The <b>indexes.js</b> file will be formed based on <b>all</b> the pages present in the selected editor/language folder.</p><p>The file will be placed to the editor folder and used for the documentation on-page search.</p>';
?>
<p id="back-top" style="display: none">
<a title="Scroll up" href="#top"></a>
</p>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/arrowup.min.js"></script>
</body>
</html>

View File

@ -1,5 +0,0 @@
<div class="back_to_start">
<a id="homeLink" href="index.php">Back to start page</a>
<a id="pagesLink" href="pages.php">Build table of contents from <b>Contents.json</b></a>
<a id="parseLink" href="parse.php">Build <b>indexes.js</b> for documentation search</a>
</div>

View File

@ -1,13 +0,0 @@
<form action="" method="get">
<div class="formDiv">
<select name="editorVersion">
<option <?php if($_GET['editorVersion'] == 'documenteditor') echo 'selected'; ?> value="documenteditor">Document Editor</option>
<option <?php if($_GET['editorVersion'] == 'presentationeditor') echo 'selected'; ?> value="presentationeditor">Presentation Editor</option>
<option <?php if($_GET['editorVersion'] == 'spreadsheeteditor') echo 'selected'; ?> value="spreadsheeteditor">Spreadsheet Editor</option>
</select>
<select name="languageList">
<option <?php if($_GET['languageList'] == 'ru') echo 'selected'; ?> value="ru">Русский</option>
</select>
<input name="submitEditor" type="submit" value="Start!">
</div>
</form>

View File

@ -1,4 +0,0 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:900,800,700,600,500,400,300&amp;subset=latin,cyrillic-ext,cyrillic,latin-ext" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />

File diff suppressed because it is too large Load Diff

View File

@ -1,325 +1,325 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="autofac" type="ASC.Common.DependencyInjection.AutofacConfigurationSection, ASC.Common"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="storage" type="ASC.Data.Storage.Configuration.StorageConfigurationSection, ASC.Data.Storage"/>
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" />
</configSections>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\Newtonsoft.Json.3.5"/>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="1.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
</dependentAssembly>
<!--<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a"/>
<bindingRedirect oldVersion="1.0.0.0-2.0.8.0" newVersion="2.0.8.0"/>
</dependentAssembly>-->
</assemblyBinding>
</runtime>
<appSettings>
<clear/>
<add key="core.base-domain" value="teamlab.com"/>
<add key="core.region-map" value="com"/>
<add key="cache-loc-content-filenames" value="false"/>
<add key="locale-mod" value=""/>
<add key="locale-enabled" value="de-DE, fr-FR, es-ES, ru-RU, it-IT"/>
<add key="web.client.cache" value="false"/>
<add key="web.client.bundling" value="false"/>
<add key="web.client.store" value="false"/>
<add key="web.client.store.gzip" value="false"/>
<add key="web.doc.teamlab" value="http://192.168.4.102:8081"/>
<add key="core.notify.postman" value="log"/>
<add key="core.notify.from" value="Cloud Office Applications"/>
<add key="hosted" value="false"/>
<add key="enabled_response_formats" value=".json|.xml"/>
<add key="google.search.url" value="https://www.googleapis.com/customsearch/v1"/>
<add key="google.search.cx" value="008948232141094346324:glg8zifznm8"/>
<add key="google.search.key" value="AIzaSyCdJDyP6pf-C98Rr2aSzZW1GJbHd6iD7QY"/>
</appSettings>
<autofac configSource="web.autofac.config"/>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true" targetFramework="4.7.2">
<assemblies>
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Services.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a"/>
</assemblies>
</compilation>
<pages pageBaseType="BasePage" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
<httpHandlers>
<add verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false" />
</httpHandlers>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<rewrite>
<rules>
<clear/>
<rule name="pages HTTP to HTTPS" enabled="false" stopProcessing="true">
<conditions>
<add input="{HTTPS}" pattern="off" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{URL}" appendQueryString="true" redirectType="Found" />
</rule>
<rule name="redirect-helpcenter" patternSyntax="Wildcard" stopProcessing="true">
<match url="helpcenter.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-Default" patternSyntax="Wildcard" stopProcessing="true">
<match url="Default.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-HowTo" patternSyntax="Wildcard" stopProcessing="true">
<match url="HowTo.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-AdministratorGuides" patternSyntax="Wildcard" stopProcessing="true">
<match url="AdministratorGuides.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-GettingStarted" patternSyntax="Wildcard" stopProcessing="true">
<match url="GettingStarted.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-Guides" patternSyntax="Wildcard" stopProcessing="true">
<match url="Guides.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-TipsTricks" patternSyntax="Wildcard" stopProcessing="true">
<match url="TipsTricks.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-contributors-guides" patternSyntax="Wildcard" stopProcessing="true">
<match url="contributors-guides.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-faq-hybrid" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/hybrid.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-faq-office-apps" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/office-apps.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-faq-partners" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/partners.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-faq-server" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/server.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-Install-enterprise" patternSyntax="Wildcard" stopProcessing="true">
<match url="guides/Install-enterprise.aspx" />
<action type="Redirect" url="server/windows/community/install-enterprise.aspx" />
</rule>
<rule name="redirect-Install-office-apps" patternSyntax="Wildcard" stopProcessing="true">
<match url="guides/Install-office-apps.aspx" />
<action type="Redirect" url="server/windows/document/install-office-apps.aspx" />
</rule>
<rule name="redirect-troubleshooting-old" patternSyntax="Wildcard" stopProcessing="true">
<match url="troubleshooting.aspx" />
<action type="Redirect" url="server/windows/community/troubleshooting.aspx" />
</rule>
<rule name="redirect-troubleshooting-server" patternSyntax="Wildcard" stopProcessing="true">
<match url="troubleshooting/server.aspx" />
<action type="Redirect" url="server/windows/community/troubleshooting.aspx" />
</rule>
<rule name="redirect-Mobile-Applications-Projects" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Projects/index.aspx" />
<action type="Redirect" url="Mobile-Applications/Documents/index.aspx" />
</rule>
<rule name="redirect-Mobile-Applications-common" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/index.aspx" />
<action type="Redirect" url="Mobile-Applications/Documents/index.aspx" />
</rule>
<rule name="redirect-pdfhowto" patternSyntax="Wildcard" stopProcessing="true">
<match url="pdfhowto.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-cs-open-ports" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/windows/community/open-ports.aspx" />
<action type="Redirect" url="server/docker/community/open-ports.aspx" />
</rule>
<rule name="redirect-cs-open-ports-2" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/community/open-ports.aspx" />
<action type="Redirect" url="server/docker/community/open-ports.aspx" />
</rule>
<rule name="redirect-ds-open-ports" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/windows/document/open-ports.aspx" />
<action type="Redirect" url="server/docker/document/open-ports.aspx" />
</rule>
<rule name="redirect-ds-open-ports-2" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/document/open-ports.aspx" />
<action type="Redirect" url="server/docker/document/open-ports.aspx" />
</rule>
<rule name="redirect-doc-enterprise-36" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/document/linux-installation-enterprise-36.aspx" />
<action type="Redirect" url="server/linux/document/linux-installation-enterprise.aspx" />
</rule>
<rule name="redirect-mobile-basic-operations" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/basic-operations.aspx" />
<action type="Redirect" url="mobile-applications/documents/document-editor/basic-operations/navigate-document.aspx" />
</rule>
<rule name="redirect-mobile-page-formatting" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/page-formatting.aspx" />
<action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx" />
</rule>
<rule name="redirect-mobile-paragraph-formatting" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/paragraph-formatting.aspx" />
<action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx" />
</rule>
<rule name="redirect-mobile-text-formatting" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/text-formatting.aspx" />
<action type="Redirect" url="mobile-applications/documents/document-editor/text-formatting/set-font-type-size-color.aspx" />
</rule>
<rule name="redirect-mobile-operations-on-objects" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/operations-on-objects.aspx" />
<action type="Redirect" url="mobile-applications/documents/document-editor/operations-on-objects/insert-tables.aspx" />
</rule>
<rule name="redirect-mobile-tools-and-settings" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/tools-and-settings.aspx" />
<action type="Redirect" url="mobile-applications/documents/document-editor/tools-and-settings/view-document-information.aspx" />
</rule>
<rule name="redirect-document-builder" patternSyntax="Wildcard" stopProcessing="true">
<match url="*/document-builder/*" />
<action type="Redirect" url="https://api.onlyoffice.com/docbuilder/basic" />
</rule>
<rule name="redirect-sso" patternSyntax="Wildcard" stopProcessing="true">
<match url="tipstricks/sso-setup.aspx" />
<action type="Redirect" url="server/controlpanel/enterprise/sso-description.aspx" />
</rule>
<rule name="redirect-exchange-migrate" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/enterprise/import-email-from-exchange.aspx" />
<action type="Redirect" url="server/docker/enterprise/migrate-from-exchange.aspx" />
</rule>
<rule name="redirect-importing-files" patternSyntax="Wildcard" stopProcessing="true">
<match url="tipstricks/importing-files.aspx" />
<action type="Redirect" url="index.aspx" />
</rule>
<rule name="redirect-create-forms" patternSyntax="Wildcard" stopProcessing="true">
<match url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/InsertRichTextContentControls.aspx" />
<action type="Redirect" url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/index.aspx" />
</rule>
</rules>
</rewrite>
<security>
<requestFiltering>
<hiddenSegments>
<remove segment="App_Data"/>
</hiddenSegments>
</requestFiltering>
</security>
<httpErrors errorMode="Custom">
<remove statusCode="403" subStatusCode="-1"/>
<error statusCode="403" prefixLanguageFilePath="" path="403.htm" responseMode="File"/>
<remove statusCode="404" subStatusCode="-1"/>
<error statusCode="404" prefixLanguageFilePath="" path="404.htm" responseMode="File"/>
<remove statusCode="500" subStatusCode="-1"/>
<error statusCode="500" prefixLanguageFilePath="" path="500.htm" responseMode="File"/>
</httpErrors>
<handlers>
<remove name="UrlRoutingHandler"/>
<remove name="AjaxPoster"/>
<remove name="AdminAjaxPoster"/>
<remove name="BannerPoster"/>
<remove name="less" />
<add name="less" verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
</handlers>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
<dynamicTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</dynamicTypes>
<staticTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</staticTypes>
</httpCompression>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/>
<remove fileExtension=".js"/>
<mimeMap fileExtension=".js" mimeType="application/javascript"/>
<remove fileExtension=".png"/>
<mimeMap fileExtension=".png" mimeType="image/png"/>
<remove fileExtension=".ico"/>
<mimeMap fileExtension=".ico" mimeType="image/icon"/>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
<remove fileExtension=".less" />
<mimeMap fileExtension=".less" mimeType="text/css" />
</staticContent>
<defaultDocument>
<files>
<add value="index.aspx"/>
</files>
</defaultDocument>
</system.webServer>
<storage>
<appender>
<clear/>
<add name="generic" append="~/"/>
</appender>
<handler>
<clear/>
<add name="disc" type="ASC.Data.Storage.DiscStorage.DiscDataStore, ASC.Data.Storage"/>
</handler>
<module>
<clear/>
<add name="common_static" type="disc" path="/" acl="Read" virtualpath="~/" appendTenantId="false"/>
</module>
</storage>
<dotless minifyCss="true" cache="true" />
<log4net>
<logger name="ASC">
<appender-ref ref="Site" />
<level value="ALL" />
</logger>
<appender name="Site" type="ASC.Common.Logging.SelfCleaningAppender, ASC.Common">
<file value="..\Logs\Site.log" />
<encoding value="utf-8" />
<rollingstyle value="Size" />
<maxsizerollbackups value="10" />
<maximumfilesize value="200MB" />
<staticlogfilename value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level [%thread] %logger - %message%newline" />
</layout>
</appender>
</log4net>
</configuration>
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="autofac" type="ASC.Common.DependencyInjection.AutofacConfigurationSection, ASC.Common"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="storage" type="ASC.Data.Storage.Configuration.StorageConfigurationSection, ASC.Data.Storage"/>
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core"/>
</configSections>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\Newtonsoft.Json.3.5"/>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="1.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<appSettings>
<clear/>
<add key="core.base-domain" value="teamlab.com"/>
<add key="core.region-map" value="com"/>
<add key="cache-loc-content-filenames" value="false"/>
<add key="locale-mod" value=""/>
<add key="locale-enabled" value="de-DE, fr-FR, es-ES, ru-RU, it-IT"/>
<add key="web.client.cache" value="false"/>
<add key="web.client.bundling" value="false"/>
<add key="web.client.store" value="false"/>
<add key="web.client.store.gzip" value="false"/>
<add key="web.doc.teamlab" value="http://192.168.4.102:8081"/>
<add key="core.notify.postman" value="log"/>
<add key="core.notify.from" value="Cloud Office Applications"/>
<add key="hosted" value="false"/>
<add key="enabled_response_formats" value=".json|.xml"/>
<add key="google.search.url" value="https://www.googleapis.com/customsearch/v1"/>
<add key="google.search.cx" value="008948232141094346324:glg8zifznm8"/>
<add key="google.search.key" value="AIzaSyCdJDyP6pf-C98Rr2aSzZW1GJbHd6iD7QY"/>
</appSettings>
<autofac configSource="web.autofac.config"/>
<!--
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<customErrors mode="Off"/>
<compilation debug="true" targetFramework="4.7.2">
<assemblies>
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Services.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a"/>
</assemblies>
</compilation>
<pages pageBaseType="BasePage" controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"/>
<httpHandlers>
<add verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false"/>
</httpHandlers>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<rewrite>
<rules>
<clear/>
<rule name="pages HTTP to HTTPS" enabled="false" stopProcessing="true">
<conditions>
<add input="{HTTPS}" pattern="off"/>
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{URL}" appendQueryString="true" redirectType="Found"/>
</rule>
<rule name="redirect-helpcenter" patternSyntax="Wildcard" stopProcessing="true">
<match url="helpcenter.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-Default" patternSyntax="Wildcard" stopProcessing="true">
<match url="Default.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-HowTo" patternSyntax="Wildcard" stopProcessing="true">
<match url="HowTo.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-AdministratorGuides" patternSyntax="Wildcard" stopProcessing="true">
<match url="AdministratorGuides.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-GettingStarted" patternSyntax="Wildcard" stopProcessing="true">
<match url="GettingStarted.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-Guides" patternSyntax="Wildcard" stopProcessing="true">
<match url="Guides.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-TipsTricks" patternSyntax="Wildcard" stopProcessing="true">
<match url="TipsTricks.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-contributors-guides" patternSyntax="Wildcard" stopProcessing="true">
<match url="contributors-guides.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-faq-hybrid" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/hybrid.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-faq-office-apps" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/office-apps.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-faq-partners" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/partners.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-faq-server" patternSyntax="Wildcard" stopProcessing="true">
<match url="faq/server.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-Install-enterprise" patternSyntax="Wildcard" stopProcessing="true">
<match url="guides/Install-enterprise.aspx"/>
<action type="Redirect" url="server/windows/community/install-enterprise.aspx"/>
</rule>
<rule name="redirect-Install-office-apps" patternSyntax="Wildcard" stopProcessing="true">
<match url="guides/Install-office-apps.aspx"/>
<action type="Redirect" url="server/windows/document/install-office-apps.aspx"/>
</rule>
<rule name="redirect-troubleshooting-old" patternSyntax="Wildcard" stopProcessing="true">
<match url="troubleshooting.aspx"/>
<action type="Redirect" url="server/windows/community/troubleshooting.aspx"/>
</rule>
<rule name="redirect-troubleshooting-server" patternSyntax="Wildcard" stopProcessing="true">
<match url="troubleshooting/server.aspx"/>
<action type="Redirect" url="server/windows/community/troubleshooting.aspx"/>
</rule>
<rule name="redirect-Mobile-Applications-Projects" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Projects/index.aspx"/>
<action type="Redirect" url="Mobile-Applications/Documents/index.aspx"/>
</rule>
<rule name="redirect-Mobile-Applications-common" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/index.aspx"/>
<action type="Redirect" url="Mobile-Applications/Documents/index.aspx"/>
</rule>
<rule name="redirect-pdfhowto" patternSyntax="Wildcard" stopProcessing="true">
<match url="pdfhowto.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-cs-open-ports" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/windows/community/open-ports.aspx"/>
<action type="Redirect" url="server/docker/community/open-ports.aspx"/>
</rule>
<rule name="redirect-cs-open-ports-2" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/community/open-ports.aspx"/>
<action type="Redirect" url="server/docker/community/open-ports.aspx"/>
</rule>
<rule name="redirect-ds-open-ports" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/windows/document/open-ports.aspx"/>
<action type="Redirect" url="server/docker/document/open-ports.aspx"/>
</rule>
<rule name="redirect-ds-open-ports-2" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/document/open-ports.aspx"/>
<action type="Redirect" url="server/docker/document/open-ports.aspx"/>
</rule>
<rule name="redirect-doc-enterprise-36" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/document/linux-installation-enterprise-36.aspx"/>
<action type="Redirect" url="server/linux/document/linux-installation-enterprise.aspx"/>
</rule>
<rule name="redirect-mobile-basic-operations" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/basic-operations.aspx"/>
<action type="Redirect" url="mobile-applications/documents/document-editor/basic-operations/navigate-document.aspx"/>
</rule>
<rule name="redirect-mobile-page-formatting" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/page-formatting.aspx"/>
<action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx"/>
</rule>
<rule name="redirect-mobile-paragraph-formatting" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/paragraph-formatting.aspx"/>
<action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx"/>
</rule>
<rule name="redirect-mobile-text-formatting" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/text-formatting.aspx"/>
<action type="Redirect" url="mobile-applications/documents/document-editor/text-formatting/set-font-type-size-color.aspx"/>
</rule>
<rule name="redirect-mobile-operations-on-objects" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/operations-on-objects.aspx"/>
<action type="Redirect" url="mobile-applications/documents/document-editor/operations-on-objects/insert-tables.aspx"/>
</rule>
<rule name="redirect-mobile-tools-and-settings" patternSyntax="Wildcard" stopProcessing="true">
<match url="Mobile-Applications/Documents/tools-and-settings.aspx"/>
<action type="Redirect" url="mobile-applications/documents/document-editor/tools-and-settings/view-document-information.aspx"/>
</rule>
<rule name="redirect-document-builder" patternSyntax="Wildcard" stopProcessing="true">
<match url="*/document-builder/*"/>
<action type="Redirect" url="https://api.onlyoffice.com/docbuilder/basic"/>
</rule>
<rule name="redirect-sso" patternSyntax="Wildcard" stopProcessing="true">
<match url="tipstricks/sso-setup.aspx"/>
<action type="Redirect" url="server/controlpanel/enterprise/sso-description.aspx"/>
</rule>
<rule name="redirect-exchange-migrate" patternSyntax="Wildcard" stopProcessing="true">
<match url="server/linux/enterprise/import-email-from-exchange.aspx"/>
<action type="Redirect" url="server/docker/enterprise/migrate-from-exchange.aspx"/>
</rule>
<rule name="redirect-importing-files" patternSyntax="Wildcard" stopProcessing="true">
<match url="tipstricks/importing-files.aspx"/>
<action type="Redirect" url="index.aspx"/>
</rule>
<rule name="redirect-create-forms" patternSyntax="Wildcard" stopProcessing="true">
<match url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/InsertRichTextContentControls.aspx"/>
<action type="Redirect" url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/index.aspx"/>
</rule>
</rules>
</rewrite>
<security>
<requestFiltering>
<hiddenSegments>
<remove segment="App_Data"/>
</hiddenSegments>
</requestFiltering>
</security>
<httpErrors errorMode="Custom">
<remove statusCode="403" subStatusCode="-1"/>
<error statusCode="403" prefixLanguageFilePath="" path="403.htm" responseMode="File"/>
<remove statusCode="404" subStatusCode="-1"/>
<error statusCode="404" prefixLanguageFilePath="" path="404.htm" responseMode="File"/>
<remove statusCode="500" subStatusCode="-1"/>
<error statusCode="500" prefixLanguageFilePath="" path="500.htm" responseMode="File"/>
</httpErrors>
<handlers>
<remove name="UrlRoutingHandler"/>
<remove name="AjaxPoster"/>
<remove name="AdminAjaxPoster"/>
<remove name="BannerPoster"/>
<remove name="less"/>
<add name="less" verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core"/>
</handlers>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
<dynamicTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</dynamicTypes>
<staticTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</staticTypes>
</httpCompression>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/>
<remove fileExtension=".js"/>
<mimeMap fileExtension=".js" mimeType="application/javascript"/>
<remove fileExtension=".png"/>
<mimeMap fileExtension=".png" mimeType="image/png"/>
<remove fileExtension=".ico"/>
<mimeMap fileExtension=".ico" mimeType="image/icon"/>
<remove fileExtension=".json"/>
<mimeMap fileExtension=".json" mimeType="application/json"/>
<remove fileExtension=".less"/>
<mimeMap fileExtension=".less" mimeType="text/css"/>
</staticContent>
<defaultDocument>
<files>
<add value="index.aspx"/>
</files>
</defaultDocument>
</system.webServer>
<storage>
<appender>
<clear/>
<add name="generic" append="~/"/>
</appender>
<handler>
<clear/>
<add name="disc" type="ASC.Data.Storage.DiscStorage.DiscDataStore, ASC.Data.Storage"/>
</handler>
<module>
<clear/>
<add name="common_static" type="disc" path="/" acl="Read" virtualpath="~/" appendTenantId="false"/>
</module>
</storage>
<dotless minifyCss="true" cache="true"/>
<log4net>
<logger name="ASC">
<appender-ref ref="Site"/>
<level value="ALL"/>
</logger>
<appender name="Site" type="ASC.Common.Logging.SelfCleaningAppender, ASC.Common">
<file value="..\Logs\Site.log"/>
<encoding value="utf-8"/>
<rollingstyle value="Size"/>
<maxsizerollbackups value="10"/>
<maximumfilesize value="200MB"/>
<staticlogfilename value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level [%thread] %logger - %message%newline"/>
</layout>
</appender>
</log4net>
</configuration>

View File

@ -19,7 +19,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<ProjectGuid>{17ba3e67-bcbd-4ac5-8cd9-b1bf56a1907e}</ProjectGuid>
<SourceWebPhysicalPath>$(MSBuildThisFileDirectory)</SourceWebPhysicalPath>
<SourceWebVirtualPath>/Web</SourceWebVirtualPath>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<SourceWebProject>
</SourceWebProject>
<SourceWebMetabasePath>