mirror of
https://github.com/ONLYOFFICE/OneClickInstall.git
synced 2025-04-18 16:44:00 +03:00
update to v1.0.1
This commit is contained in:
parent
b9e026a203
commit
9b24fe76fc
@ -1,16 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<solution>
|
||||
<add key="disableSourceControlIntegration" value="true" />
|
||||
</solution>
|
||||
<config>
|
||||
<add key="repositorypath" value="$\..\packages" />
|
||||
</config>
|
||||
<packageSources>
|
||||
<add key="NuGet official package source" value="https://nuget.org/api/v2/" />
|
||||
</packageSources>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<solution>
|
||||
<add key="disableSourceControlIntegration" value="true" />
|
||||
</solution>
|
||||
<config>
|
||||
<add key="repositorypath" value="$\..\packages" />
|
||||
</config>
|
||||
<packageSources>
|
||||
<add key="NuGet official package source" value="https://nuget.org/api/v2/" />
|
||||
</packageSources>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
</configuration>
|
@ -1,131 +1,131 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
|
||||
|
||||
<!-- Enable the restore command to run before builds -->
|
||||
<RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
|
||||
|
||||
<!-- Property that enables building a package from a project -->
|
||||
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
|
||||
|
||||
<!-- Determines if package restore consent is required to restore packages -->
|
||||
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
|
||||
|
||||
<!-- Download NuGet.exe if it does not already exist -->
|
||||
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(PackageSources)' == '' ">
|
||||
<PackageSource Include="http://www.nuget.org/api/v2/" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
|
||||
<!-- Windows specific commands -->
|
||||
<NuGetToolsPath>$([System.IO.Path]::Combine($(TrunkDir), ".nuget"))</NuGetToolsPath>
|
||||
<PackagesConfig>$([System.IO.Path]::Combine($(NuGetToolsPath), "packages.config"))</PackagesConfig>
|
||||
<PackageOutputDir>$([System.IO.Path]::Combine($(NuGetToolsPath), "packages"))</PackageOutputDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
|
||||
<!-- We need to launch nuget.exe with the mono command if we're not on windows -->
|
||||
<NuGetToolsPath>$(TrunkDir).nuget</NuGetToolsPath>
|
||||
<PackagesConfig>$(NuGetToolsPath)/packages.config</PackagesConfig>
|
||||
<PackageOutputDir>$(NuGetToolsPath)/packages</PackageOutputDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet command -->
|
||||
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath>
|
||||
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
|
||||
|
||||
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
|
||||
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(NuGetExePath)"</NuGetCommand>
|
||||
|
||||
<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
|
||||
<NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>
|
||||
|
||||
<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(TrunkDir) "</PaddedSolutionDir>
|
||||
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(TrunkDir)"</PaddedSolutionDir>
|
||||
|
||||
<!-- Commands -->
|
||||
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
|
||||
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>
|
||||
|
||||
<!-- We need to ensure packages are restored prior to assembly resolve -->
|
||||
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
|
||||
RestorePackages;
|
||||
$(BuildDependsOn);
|
||||
</BuildDependsOn>
|
||||
|
||||
<!-- Make the build depend on restore packages -->
|
||||
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
|
||||
$(BuildDependsOn);
|
||||
BuildPackage;
|
||||
</BuildDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="CheckPrerequisites">
|
||||
<!-- Raise an error if we're unable to locate nuget.exe -->
|
||||
<Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
|
||||
<!--
|
||||
Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
|
||||
This effectively acts as a lock that makes sure that the download operation will only happen once and all
|
||||
parallel builds will have to wait for it to complete.
|
||||
-->
|
||||
<MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="_DownloadNuGet">
|
||||
<DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
|
||||
</Target>
|
||||
|
||||
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
|
||||
<Exec Command="$(RestoreCommand)"
|
||||
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
|
||||
|
||||
<Exec Command="$(RestoreCommand)"
|
||||
LogStandardErrorAsError="true"
|
||||
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
|
||||
</Target>
|
||||
|
||||
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
|
||||
<Exec Command="$(BuildCommand)"
|
||||
Condition=" '$(OS)' != 'Windows_NT' " />
|
||||
|
||||
<Exec Command="$(BuildCommand)"
|
||||
LogStandardErrorAsError="true"
|
||||
Condition=" '$(OS)' == 'Windows_NT' " />
|
||||
</Target>
|
||||
|
||||
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
||||
<ParameterGroup>
|
||||
<OutputFilename ParameterType="System.String" Required="true" />
|
||||
</ParameterGroup>
|
||||
<Task>
|
||||
<Reference Include="System.Core" />
|
||||
<Using Namespace="System" />
|
||||
<Using Namespace="System.IO" />
|
||||
<Using Namespace="System.Net" />
|
||||
<Using Namespace="Microsoft.Build.Framework" />
|
||||
<Using Namespace="Microsoft.Build.Utilities" />
|
||||
<Code Type="Fragment" Language="cs">
|
||||
<![CDATA[
|
||||
try {
|
||||
OutputFilename = Path.GetFullPath(OutputFilename);
|
||||
|
||||
Log.LogMessage("Downloading latest version of NuGet.exe...");
|
||||
WebClient webClient = new WebClient();
|
||||
webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename);
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
Log.LogErrorFromException(ex);
|
||||
return false;
|
||||
}
|
||||
]]>
|
||||
</Code>
|
||||
</Task>
|
||||
</UsingTask>
|
||||
</Project>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
|
||||
|
||||
<!-- Enable the restore command to run before builds -->
|
||||
<RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
|
||||
|
||||
<!-- Property that enables building a package from a project -->
|
||||
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
|
||||
|
||||
<!-- Determines if package restore consent is required to restore packages -->
|
||||
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
|
||||
|
||||
<!-- Download NuGet.exe if it does not already exist -->
|
||||
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(PackageSources)' == '' ">
|
||||
<PackageSource Include="http://www.nuget.org/api/v2/" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
|
||||
<!-- Windows specific commands -->
|
||||
<NuGetToolsPath>$([System.IO.Path]::Combine($(TrunkDir), ".nuget"))</NuGetToolsPath>
|
||||
<PackagesConfig>$([System.IO.Path]::Combine($(NuGetToolsPath), "packages.config"))</PackagesConfig>
|
||||
<PackageOutputDir>$([System.IO.Path]::Combine($(NuGetToolsPath), "packages"))</PackageOutputDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
|
||||
<!-- We need to launch nuget.exe with the mono command if we're not on windows -->
|
||||
<NuGetToolsPath>$(TrunkDir).nuget</NuGetToolsPath>
|
||||
<PackagesConfig>$(NuGetToolsPath)/packages.config</PackagesConfig>
|
||||
<PackageOutputDir>$(NuGetToolsPath)/packages</PackageOutputDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet command -->
|
||||
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath>
|
||||
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
|
||||
|
||||
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
|
||||
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(NuGetExePath)"</NuGetCommand>
|
||||
|
||||
<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
|
||||
<NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>
|
||||
|
||||
<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(TrunkDir) "</PaddedSolutionDir>
|
||||
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(TrunkDir)"</PaddedSolutionDir>
|
||||
|
||||
<!-- Commands -->
|
||||
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
|
||||
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>
|
||||
|
||||
<!-- We need to ensure packages are restored prior to assembly resolve -->
|
||||
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
|
||||
RestorePackages;
|
||||
$(BuildDependsOn);
|
||||
</BuildDependsOn>
|
||||
|
||||
<!-- Make the build depend on restore packages -->
|
||||
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
|
||||
$(BuildDependsOn);
|
||||
BuildPackage;
|
||||
</BuildDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="CheckPrerequisites">
|
||||
<!-- Raise an error if we're unable to locate nuget.exe -->
|
||||
<Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
|
||||
<!--
|
||||
Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
|
||||
This effectively acts as a lock that makes sure that the download operation will only happen once and all
|
||||
parallel builds will have to wait for it to complete.
|
||||
-->
|
||||
<MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="_DownloadNuGet">
|
||||
<DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
|
||||
</Target>
|
||||
|
||||
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
|
||||
<Exec Command="$(RestoreCommand)"
|
||||
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
|
||||
|
||||
<Exec Command="$(RestoreCommand)"
|
||||
LogStandardErrorAsError="true"
|
||||
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
|
||||
</Target>
|
||||
|
||||
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
|
||||
<Exec Command="$(BuildCommand)"
|
||||
Condition=" '$(OS)' != 'Windows_NT' " />
|
||||
|
||||
<Exec Command="$(BuildCommand)"
|
||||
LogStandardErrorAsError="true"
|
||||
Condition=" '$(OS)' == 'Windows_NT' " />
|
||||
</Target>
|
||||
|
||||
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
||||
<ParameterGroup>
|
||||
<OutputFilename ParameterType="System.String" Required="true" />
|
||||
</ParameterGroup>
|
||||
<Task>
|
||||
<Reference Include="System.Core" />
|
||||
<Using Namespace="System" />
|
||||
<Using Namespace="System.IO" />
|
||||
<Using Namespace="System.Net" />
|
||||
<Using Namespace="Microsoft.Build.Framework" />
|
||||
<Using Namespace="Microsoft.Build.Utilities" />
|
||||
<Code Type="Fragment" Language="cs">
|
||||
<![CDATA[
|
||||
try {
|
||||
OutputFilename = Path.GetFullPath(OutputFilename);
|
||||
|
||||
Log.LogMessage("Downloading latest version of NuGet.exe...");
|
||||
WebClient webClient = new WebClient();
|
||||
webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename);
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
Log.LogErrorFromException(ex);
|
||||
return false;
|
||||
}
|
||||
]]>
|
||||
</Code>
|
||||
</Task>
|
||||
</UsingTask>
|
||||
</Project>
|
||||
|
102
3rd-Party.txt
102
3rd-Party.txt
@ -1,51 +1,51 @@
|
||||
ONLYOFFICE One Click Installation uses code from the following 3rd party projects.
|
||||
|
||||
|
||||
1. MySql.Data - ADO.Net driver for MySQL. (http://dev.mysql.com/downloads/)
|
||||
|
||||
License: GPL 2.0
|
||||
|
||||
|
||||
2. log4net - log4net is a tool to help the programmer output log statements to a variety of output targets. (http://logging.apache.org/log4net/)
|
||||
|
||||
License: Apache 2.0
|
||||
|
||||
|
||||
3. dotless.Core - This is a project to port the hugely useful Less libary to the .NET world. It give variables, nested rules and operators to CSS. (http://lesscss.org/)
|
||||
|
||||
License: Apache 2.0
|
||||
|
||||
|
||||
4. Newtonsoft.Json - Json.NET is a popular high-performance JSON framework for .NET (http://www.newtonsoft.com/json)
|
||||
|
||||
License: MIT
|
||||
|
||||
|
||||
5. Renci.SshNet- This project was inspired by Sharp.SSH library which was ported from Java. This library is a complete rewrite using .NET, without any third party dependencies and to utilize the parallelism as much as possible to allow best performance you can get. (http://sshnet.codeplex.com/)
|
||||
|
||||
License: BSD-UNSPECIFIED
|
||||
|
||||
|
||||
6. WebGrease- Web Grease is a suite of tools for optimizing javascript, css files and images. (http://webgrease.codeplex.com/)
|
||||
|
||||
License: MS-EULA
|
||||
|
||||
|
||||
7. Microsoft.Web.Infrastructure - This package contains the Microsoft.Web.Infrastructure assembly that lets you dynamically register HTTP modules at run time. (http://www.asp.net/)
|
||||
|
||||
License: MS-EULA
|
||||
|
||||
|
||||
8. jQuery - Query is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. (http://jquery.com/)
|
||||
|
||||
License: MIT
|
||||
|
||||
|
||||
9. jQuery BlockUI Plugin - The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX, without locking the browser. (http://malsup.com/jquery/block/)
|
||||
|
||||
License: MIT, GPL
|
||||
|
||||
|
||||
10. toastr - Simple javascript toast notifications. (https://github.com/CodeSeven/toastr)
|
||||
|
||||
License: MIT
|
||||
ONLYOFFICE One Click Installation uses code from the following 3rd party projects.
|
||||
|
||||
|
||||
1. MySql.Data - ADO.Net driver for MySQL. (http://dev.mysql.com/downloads/)
|
||||
|
||||
License: GPL 2.0
|
||||
|
||||
|
||||
2. log4net - log4net is a tool to help the programmer output log statements to a variety of output targets. (http://logging.apache.org/log4net/)
|
||||
|
||||
License: Apache 2.0
|
||||
|
||||
|
||||
3. dotless.Core - This is a project to port the hugely useful Less libary to the .NET world. It give variables, nested rules and operators to CSS. (http://lesscss.org/)
|
||||
|
||||
License: Apache 2.0
|
||||
|
||||
|
||||
4. Newtonsoft.Json - Json.NET is a popular high-performance JSON framework for .NET (http://www.newtonsoft.com/json)
|
||||
|
||||
License: MIT
|
||||
|
||||
|
||||
5. Renci.SshNet- This project was inspired by Sharp.SSH library which was ported from Java. This library is a complete rewrite using .NET, without any third party dependencies and to utilize the parallelism as much as possible to allow best performance you can get. (http://sshnet.codeplex.com/)
|
||||
|
||||
License: BSD-UNSPECIFIED
|
||||
|
||||
|
||||
6. WebGrease- Web Grease is a suite of tools for optimizing javascript, css files and images. (http://webgrease.codeplex.com/)
|
||||
|
||||
License: MS-EULA
|
||||
|
||||
|
||||
7. Microsoft.Web.Infrastructure - This package contains the Microsoft.Web.Infrastructure assembly that lets you dynamically register HTTP modules at run time. (http://www.asp.net/)
|
||||
|
||||
License: MS-EULA
|
||||
|
||||
|
||||
8. jQuery - Query is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. (http://jquery.com/)
|
||||
|
||||
License: MIT
|
||||
|
||||
|
||||
9. jQuery BlockUI Plugin - The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX, without locking the browser. (http://malsup.com/jquery/block/)
|
||||
|
||||
License: MIT, GPL
|
||||
|
||||
|
||||
10. toastr - Simple javascript toast notifications. (https://github.com/CodeSeven/toastr)
|
||||
|
||||
License: MIT
|
||||
|
402
LICENSE.txt
402
LICENSE.txt
@ -1,201 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
136
README.md
136
README.md
@ -1,68 +1,68 @@
|
||||
## ONLYOFFICE One Click Installation Overview
|
||||
|
||||
An ONLYOFFICE One Click Installation is used to automate the deployment process of ONLYOFFICE Free Edition using the Docker container technology.
|
||||
ONLYOFFICE Free Edition is an open source software that comprises Document Server, Community Server and Mail Server,
|
||||
all to resolve the collaboration issues for both small and medium-sized teams.
|
||||
|
||||
|
||||
## How it works?
|
||||
|
||||
ONLYOFFICE One Click Installation service connects to a remote Linux machine via SSH (https://www.nuget.org/packages/SSH.NET/ or http://sshnet.codeplex.com/) using the following provided user data: username with admin access rights, password or SSH key and the server IP address or full domain name, uploads the scripts from the 'Executables' folder and runs them:
|
||||
|
||||
The scripts are performing the following:
|
||||
|
||||
1. bash check-previous-version.sh
|
||||
checking the already existing data
|
||||
|
||||
2. bash make-dir.sh "/app/onlyoffice"
|
||||
creating the work directory (the folder all the necessary data will be copied to)
|
||||
|
||||
3. bash get-os-info.sh
|
||||
getting the information about the currently used OS
|
||||
|
||||
4. bash check-ports.sh true
|
||||
checking ports of the current computer (the **true** parameter is used to check whether port 25 for Mail Server is opened or not)
|
||||
|
||||
5. bash run-docker.sh "Ubuntu" "14.04" "x86_64" "3.13.0-36-generic" true
|
||||
installing and running Docker
|
||||
|
||||
During the installation process to the computer reboot might be required after which the scripts will continue to run. To indicate that the restart was done, the afterReboot (true) parameter is used.
|
||||
|
||||
6. bash run-document-server.sh
|
||||
installing Document Server
|
||||
|
||||
7. bash run-mail-server.sh "domainName"
|
||||
installing Mail Server using the specified domain name
|
||||
|
||||
8. bash run-community-server.sh
|
||||
installing Community Server and link it with Document Server and Mail Server, if selected
|
||||
|
||||
|
||||
Before running each script two commands need to be executed:
|
||||
|
||||
chmod +x scriptPath
|
||||
sed -i 's/\r$//' scriptPath
|
||||
|
||||
where scriptPath is the path to the script (e.g. /app/onlyoffice/setup/tools/check-ports.sh)
|
||||
|
||||
This is used to correct the document formatting (\n\r issues in different operating systems)
|
||||
|
||||
|
||||
## Project Information
|
||||
|
||||
Official website: [http://one-click-install.onlyoffice.com](http://one-click-install.onlyoffice.com "http://one-click-install.onlyoffice.com")
|
||||
|
||||
Code repository: [https://github.com/ONLYOFFICE/OneClickInstall](https://github.com/ONLYOFFICE/OneClickInstall "https://github.com/ONLYOFFICE/OneClickInstall")
|
||||
|
||||
License: [Apache v.2.0](http://www.apache.org/licenses/LICENSE-2.0 "Apache v.2.0")
|
||||
|
||||
ONLYOFFICE SaaS version: [http://www.onlyoffice.com](http://www.onlyoffice.com "http://www.onlyoffice.com")
|
||||
|
||||
ONLYOFFICE Open Source version: [http://www.onlyoffice.org](http://onlyoffice.org "http://www.onlyoffice.org")
|
||||
|
||||
|
||||
## User Feedback and Support
|
||||
|
||||
If you have any problems with or questions about this installer, please contact us through a [dev.onlyoffice.org][1].
|
||||
|
||||
[1]: http://dev.onlyoffice.org
|
||||
## ONLYOFFICE One Click Installation Overview
|
||||
|
||||
An ONLYOFFICE One Click Installation is used to automate the deployment process of ONLYOFFICE Free Edition using the Docker container technology.
|
||||
ONLYOFFICE Free Edition is an open source software that comprises Document Server, Community Server and Mail Server,
|
||||
all to resolve the collaboration issues for both small and medium-sized teams.
|
||||
|
||||
|
||||
## How it works?
|
||||
|
||||
ONLYOFFICE One Click Installation service connects to a remote Linux machine via SSH (https://www.nuget.org/packages/SSH.NET/ or http://sshnet.codeplex.com/) using the following provided user data: username with admin access rights, password or SSH key and the server IP address or full domain name, uploads the scripts from the 'Executables' folder and runs them:
|
||||
|
||||
The scripts are performing the following:
|
||||
|
||||
1. bash check-previous-version.sh
|
||||
checking the already existing data
|
||||
|
||||
2. bash make-dir.sh "/app/onlyoffice"
|
||||
creating the work directory (the folder all the necessary data will be copied to)
|
||||
|
||||
3. bash get-os-info.sh
|
||||
getting the information about the currently used OS
|
||||
|
||||
4. bash check-ports.sh true
|
||||
checking ports of the current computer (the **true** parameter is used to check whether port 25 for Mail Server is opened or not)
|
||||
|
||||
5. bash run-docker.sh "Ubuntu" "14.04" "x86_64" "3.13.0-36-generic" true
|
||||
installing and running Docker
|
||||
|
||||
During the installation process to the computer reboot might be required after which the scripts will continue to run. To indicate that the restart was done, the afterReboot (true) parameter is used.
|
||||
|
||||
6. bash run-document-server.sh
|
||||
installing Document Server
|
||||
|
||||
7. bash run-mail-server.sh "domainName"
|
||||
installing Mail Server using the specified domain name
|
||||
|
||||
8. bash run-community-server.sh
|
||||
installing Community Server and link it with Document Server and Mail Server, if selected
|
||||
|
||||
|
||||
Before running each script two commands need to be executed:
|
||||
|
||||
chmod +x scriptPath
|
||||
sed -i 's/\r$//' scriptPath
|
||||
|
||||
where scriptPath is the path to the script (e.g. /app/onlyoffice/setup/tools/check-ports.sh)
|
||||
|
||||
This is used to correct the document formatting (\n\r issues in different operating systems)
|
||||
|
||||
|
||||
## Project Information
|
||||
|
||||
Official website: [http://one-click-install.onlyoffice.com](http://one-click-install.onlyoffice.com "http://one-click-install.onlyoffice.com")
|
||||
|
||||
Code repository: [https://github.com/ONLYOFFICE/OneClickInstall](https://github.com/ONLYOFFICE/OneClickInstall "https://github.com/ONLYOFFICE/OneClickInstall")
|
||||
|
||||
License: [Apache v.2.0](http://www.apache.org/licenses/LICENSE-2.0 "Apache v.2.0")
|
||||
|
||||
ONLYOFFICE SaaS version: [http://www.onlyoffice.com](http://www.onlyoffice.com "http://www.onlyoffice.com")
|
||||
|
||||
ONLYOFFICE Open Source version: [http://www.onlyoffice.org](http://onlyoffice.org "http://www.onlyoffice.org")
|
||||
|
||||
|
||||
## User Feedback and Support
|
||||
|
||||
If you have any problems with or questions about this installer, please contact us through a [dev.onlyoffice.org][1].
|
||||
|
||||
[1]: http://dev.onlyoffice.org
|
||||
|
@ -1,2 +1,2 @@
|
||||
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe msbuild\build.proj /fl1 /flp1:LogFile=Build.log;Verbosity=Normal
|
||||
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe msbuild\build.proj /fl1 /flp1:LogFile=Build.log;Verbosity=Normal
|
||||
pause
|
@ -1,45 +1,45 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<UsingTask AssemblyFile="MSBuild.Community.Tasks.dll" TaskName="MSBuild.Community.Tasks.AssemblyInfo" />
|
||||
|
||||
<PropertyGroup>
|
||||
<ASCDir>..\..\</ASCDir>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<ConfigurationSites Condition=" '$(ConfigurationSites)' == '' ">Debug</ConfigurationSites>
|
||||
<BuildTargets Condition=" '$(BuildTargets)' == '' ">Build</BuildTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">$(ASCDir).nuget\NuGet.exe</NuGetCommand>
|
||||
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono $(ASCDir).nuget\NuGet.exe</NuGetCommand>
|
||||
<PackagesConfig>$(ASCDir).nuget\packages.config</PackagesConfig>
|
||||
<NuGetConfig>$(ASCDir).nuget\NuGet.Config</NuGetConfig>
|
||||
<RestoreCommand>$(NuGetCommand) install $(PackagesConfig) -ConfigFile $(NuGetConfig) -SolutionDirectory $(ASCDir) -OutputDirectory $(ASCDir)packages -NonInteractive -NoCache</RestoreCommand>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- OneClickInstallation -->
|
||||
<ProjectToBuild Include="$(ASCDir)web\OneClickInstallation.csproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="Build">
|
||||
<Message Text="$(BuildTargets) projects ($(Configuration)):"/>
|
||||
<Message Text="- %(ProjectToBuild.Filename)%(ProjectToBuild.Extension)"/>
|
||||
<Message Text=" "/>
|
||||
|
||||
<CreateItem Include="$(ASCDir)msbuild\">
|
||||
<Output ItemName="AlToolPath" TaskParameter="Include"/>
|
||||
</CreateItem>
|
||||
|
||||
<Exec Command="$(RestoreCommand)" Condition="Exists('$(PackagesConfig)')" />
|
||||
|
||||
<MSBuild
|
||||
Projects="@(ProjectToBuild)"
|
||||
Targets="$(BuildTargets)"
|
||||
Properties="Configuration=$(Configuration);DeployTo=$(DeployTo);AlToolPath=%(AlToolPath.FullPath)"
|
||||
RebaseOutputs="true"
|
||||
StopOnFirstFailure="true"/>
|
||||
|
||||
</Target>
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<UsingTask AssemblyFile="MSBuild.Community.Tasks.dll" TaskName="MSBuild.Community.Tasks.AssemblyInfo" />
|
||||
|
||||
<PropertyGroup>
|
||||
<ASCDir>..\..\</ASCDir>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<ConfigurationSites Condition=" '$(ConfigurationSites)' == '' ">Debug</ConfigurationSites>
|
||||
<BuildTargets Condition=" '$(BuildTargets)' == '' ">Build</BuildTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">$(ASCDir).nuget\NuGet.exe</NuGetCommand>
|
||||
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono $(ASCDir).nuget\NuGet.exe</NuGetCommand>
|
||||
<PackagesConfig>$(ASCDir).nuget\packages.config</PackagesConfig>
|
||||
<NuGetConfig>$(ASCDir).nuget\NuGet.Config</NuGetConfig>
|
||||
<RestoreCommand>$(NuGetCommand) install $(PackagesConfig) -ConfigFile $(NuGetConfig) -SolutionDirectory $(ASCDir) -OutputDirectory $(ASCDir)packages -NonInteractive -NoCache</RestoreCommand>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- OneClickInstallation -->
|
||||
<ProjectToBuild Include="$(ASCDir)web\OneClickInstallation.csproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="Build">
|
||||
<Message Text="$(BuildTargets) projects ($(Configuration)):"/>
|
||||
<Message Text="- %(ProjectToBuild.Filename)%(ProjectToBuild.Extension)"/>
|
||||
<Message Text=" "/>
|
||||
|
||||
<CreateItem Include="$(ASCDir)msbuild\">
|
||||
<Output ItemName="AlToolPath" TaskParameter="Include"/>
|
||||
</CreateItem>
|
||||
|
||||
<Exec Command="$(RestoreCommand)" Condition="Exists('$(PackagesConfig)')" />
|
||||
|
||||
<MSBuild
|
||||
Projects="@(ProjectToBuild)"
|
||||
Targets="$(BuildTargets)"
|
||||
Properties="Configuration=$(Configuration);DeployTo=$(DeployTo);AlToolPath=%(AlToolPath.FullPath)"
|
||||
RebaseOutputs="true"
|
||||
StopOnFirstFailure="true"/>
|
||||
|
||||
</Target>
|
||||
|
||||
</Project>
|
66
web/404.htm
66
web/404.htm
@ -1,34 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
||||
<title>ONLYOFFICE™ is on maintenance</title>
|
||||
<style type="text/css">
|
||||
html, body, div, span, p{margin:0; padding:0; border:0; vertical-align:baseline; background:transparent;}
|
||||
body{
|
||||
background:#DFDFDF url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgDrgABAwERAAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPBUtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZqbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEyobHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A+vFM3zz1LqYFXYpbwJX0wIpdhSupgSuwKvoMCW6YrS6h8MKV+RVdTFK7Aq+mKV2BK6mKV9MC0voMUrsCV9BgtV1MU0voMbVdgTS+gwJXUOKqlMC03Q4pX4ErqHFK/Aq6hxSvyKV9MVXYpXUwJX4FXUxTa/FV9BgS3gWm6HwxSqYq3Q4Er8Ct4sqX4ELsKV1MCV1MC03Q4pX0wKuwpb4++C1XYFbxTTdD4YqvyKXYVbxSupii3cvbAlbirsVdiqnirsVW8jiq3FWuQxVZirqjxxVTxV2KqeKuqPHFVPFXYqp1PjiqzkcVaxVbyOKrajxxVTxVrkMVWYqsqcVW1GKrMVW8vbFVuKrKnFVtRiqzFVvL2xVbUeOKqeKrKnFWsVU8VaqMVWYqt5e2KrcVU8VW8jiq3FVlT44q1iqnirsVU8VdUeOKqeKrORxVrFVvL2xVSq/8v44q/wD/2Q==') 0 0 repeat-x;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
html{height:100%;}
|
||||
body{min-height:100%; position:relative;}
|
||||
* html body{height:100%;}
|
||||
|
||||
#wrapper{
|
||||
background: url("http://cdn.teamlab.com/text_bg.png") center 0 no-repeat;
|
||||
width:100%; height:310px; padding:315px 0 0; margin-top:-325px; position:absolute; left:0; top:50%; z-index:1;
|
||||
}
|
||||
#container{width:410px; margin:0 auto; padding-left:38px; text-align:center; font:normal 24px/35px Tahoma; color:#275678;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="container">
|
||||
<p>Sorry, the resource</p>
|
||||
<p>cannot be found.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
||||
<title>ONLYOFFICE™ is on maintenance</title>
|
||||
<style type="text/css">
|
||||
html, body, div, span, p{margin:0; padding:0; border:0; vertical-align:baseline; background:transparent;}
|
||||
body{
|
||||
background:#DFDFDF url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgDrgABAwERAAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPBUtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZqbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEyobHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A+vFM3zz1LqYFXYpbwJX0wIpdhSupgSuwKvoMCW6YrS6h8MKV+RVdTFK7Aq+mKV2BK6mKV9MC0voMUrsCV9BgtV1MU0voMbVdgTS+gwJXUOKqlMC03Q4pX4ErqHFK/Aq6hxSvyKV9MVXYpXUwJX4FXUxTa/FV9BgS3gWm6HwxSqYq3Q4Er8Ct4sqX4ELsKV1MCV1MC03Q4pX0wKuwpb4++C1XYFbxTTdD4YqvyKXYVbxSupii3cvbAlbirsVdiqnirsVW8jiq3FWuQxVZirqjxxVTxV2KqeKuqPHFVPFXYqp1PjiqzkcVaxVbyOKrajxxVTxVrkMVWYqsqcVW1GKrMVW8vbFVuKrKnFVtRiqzFVvL2xVbUeOKqeKrKnFWsVU8VaqMVWYqt5e2KrcVU8VW8jiq3FVlT44q1iqnirsVU8VdUeOKqeKrORxVrFVvL2xVSq/8v44q/wD/2Q==') 0 0 repeat-x;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
html{height:100%;}
|
||||
body{min-height:100%; position:relative;}
|
||||
* html body{height:100%;}
|
||||
|
||||
#wrapper{
|
||||
background: url("http://cdn.teamlab.com/text_bg.png") center 0 no-repeat;
|
||||
width:100%; height:310px; padding:315px 0 0; margin-top:-325px; position:absolute; left:0; top:50%; z-index:1;
|
||||
}
|
||||
#container{width:410px; margin:0 auto; padding-left:38px; text-align:center; font:normal 24px/35px Tahoma; color:#275678;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="container">
|
||||
<p>Sorry, the resource</p>
|
||||
<p>cannot be found.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
68
web/500.htm
68
web/500.htm
@ -1,35 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
||||
<title>ONLYOFFICE™ is on maintenance</title>
|
||||
<style type="text/css">
|
||||
html, body, div, span, p{margin:0; padding:0; border:0; vertical-align:baseline; background:transparent;}
|
||||
body{
|
||||
background:#DFDFDF url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgDrgABAwERAAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPBUtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZqbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEyobHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A+vFM3zz1LqYFXYpbwJX0wIpdhSupgSuwKvoMCW6YrS6h8MKV+RVdTFK7Aq+mKV2BK6mKV9MC0voMUrsCV9BgtV1MU0voMbVdgTS+gwJXUOKqlMC03Q4pX4ErqHFK/Aq6hxSvyKV9MVXYpXUwJX4FXUxTa/FV9BgS3gWm6HwxSqYq3Q4Er8Ct4sqX4ELsKV1MCV1MC03Q4pX0wKuwpb4++C1XYFbxTTdD4YqvyKXYVbxSupii3cvbAlbirsVdiqnirsVW8jiq3FWuQxVZirqjxxVTxV2KqeKuqPHFVPFXYqp1PjiqzkcVaxVbyOKrajxxVTxVrkMVWYqsqcVW1GKrMVW8vbFVuKrKnFVtRiqzFVvL2xVbUeOKqeKrKnFWsVU8VaqMVWYqt5e2KrcVU8VW8jiq3FVlT44q1iqnirsVU8VdUeOKqeKrORxVrFVvL2xVSq/8v44q/wD/2Q==') 0 0 repeat-x;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
html{height:100%;}
|
||||
body{min-height:100%; position:relative;}
|
||||
* html body{height:100%;}
|
||||
|
||||
#wrapper{
|
||||
background: url("http://cdn.teamlab.com/text_bg.png") center 0 no-repeat;
|
||||
width:100%; height:310px; padding:315px 0 0; margin-top:-325px; position:absolute; left:0; top:50%; z-index:1;
|
||||
}
|
||||
#container{width:410px; margin:0 auto; padding-left:38px; text-align:center; font:normal 24px/35px Tahoma; color:#275678;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="container">
|
||||
<p>Sorry, ONLYOFFICE™ is</p>
|
||||
<p>on maintenance.</p>
|
||||
<p>It may take a few minutes.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
||||
<title>ONLYOFFICE™ is on maintenance</title>
|
||||
<style type="text/css">
|
||||
html, body, div, span, p{margin:0; padding:0; border:0; vertical-align:baseline; background:transparent;}
|
||||
body{
|
||||
background:#DFDFDF url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgDrgABAwERAAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPBUtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZqbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEyobHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A+vFM3zz1LqYFXYpbwJX0wIpdhSupgSuwKvoMCW6YrS6h8MKV+RVdTFK7Aq+mKV2BK6mKV9MC0voMUrsCV9BgtV1MU0voMbVdgTS+gwJXUOKqlMC03Q4pX4ErqHFK/Aq6hxSvyKV9MVXYpXUwJX4FXUxTa/FV9BgS3gWm6HwxSqYq3Q4Er8Ct4sqX4ELsKV1MCV1MC03Q4pX0wKuwpb4++C1XYFbxTTdD4YqvyKXYVbxSupii3cvbAlbirsVdiqnirsVW8jiq3FWuQxVZirqjxxVTxV2KqeKuqPHFVPFXYqp1PjiqzkcVaxVbyOKrajxxVTxVrkMVWYqsqcVW1GKrMVW8vbFVuKrKnFVtRiqzFVvL2xVbUeOKqeKrKnFWsVU8VaqMVWYqt5e2KrcVU8VW8jiq3FVlT44q1iqnirsVU8VdUeOKqeKrORxVrFVvL2xVSq/8v44q/wD/2Q==') 0 0 repeat-x;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
html{height:100%;}
|
||||
body{min-height:100%; position:relative;}
|
||||
* html body{height:100%;}
|
||||
|
||||
#wrapper{
|
||||
background: url("http://cdn.teamlab.com/text_bg.png") center 0 no-repeat;
|
||||
width:100%; height:310px; padding:315px 0 0; margin-top:-325px; position:absolute; left:0; top:50%; z-index:1;
|
||||
}
|
||||
#container{width:410px; margin:0 auto; padding-left:38px; text-align:center; font:normal 24px/35px Tahoma; color:#275678;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="container">
|
||||
<p>Sorry, ONLYOFFICE™ is</p>
|
||||
<p>on maintenance.</p>
|
||||
<p>It may take a few minutes.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,52 +1,52 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Web.Optimization;
|
||||
|
||||
namespace OneClickInstallation
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||
"~/Scripts/jquery-{version}.js",
|
||||
"~/Scripts/jquery.blockUI.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/homepage").Include(
|
||||
"~/Scripts/common.js",
|
||||
"~/Scripts/toastr.js",
|
||||
"~/Scripts/install.js"));
|
||||
|
||||
bundles.Add(new Bundle("~/Content/less", new LessTransform(), new CssMinify()).Include(
|
||||
"~/Content/vars.less",
|
||||
"~/Content/layout.less",
|
||||
"~/Content/header.less",
|
||||
"~/Content/paragraph.less",
|
||||
"~/Content/link.less",
|
||||
"~/Content/list.less",
|
||||
"~/Content/button.less",
|
||||
"~/Content/form.less",
|
||||
"~/Content/toastr.less",
|
||||
"~/Content/action-menu.less",
|
||||
"~/Content/lang-switcher.less",
|
||||
"~/Content/site.less"));
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Web.Optimization;
|
||||
|
||||
namespace OneClickInstallation
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||
"~/Scripts/jquery-{version}.js",
|
||||
"~/Scripts/jquery.blockUI.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/homepage").Include(
|
||||
"~/Scripts/common.js",
|
||||
"~/Scripts/toastr.js",
|
||||
"~/Scripts/install.js"));
|
||||
|
||||
bundles.Add(new Bundle("~/Content/less", new LessTransform(), new CssMinify()).Include(
|
||||
"~/Content/vars.less",
|
||||
"~/Content/layout.less",
|
||||
"~/Content/header.less",
|
||||
"~/Content/paragraph.less",
|
||||
"~/Content/link.less",
|
||||
"~/Content/list.less",
|
||||
"~/Content/button.less",
|
||||
"~/Content/form.less",
|
||||
"~/Content/toastr.less",
|
||||
"~/Content/action-menu.less",
|
||||
"~/Content/lang-switcher.less",
|
||||
"~/Content/site.less"));
|
||||
}
|
||||
}
|
||||
}
|
@ -1,71 +1,71 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System.IO;
|
||||
using System.Web.Hosting;
|
||||
using System.Web.Optimization;
|
||||
using dotless.Core;
|
||||
using dotless.Core.Input;
|
||||
using dotless.Core.configuration;
|
||||
|
||||
namespace OneClickInstallation
|
||||
{
|
||||
public class LessTransform : IBundleTransform
|
||||
{
|
||||
public void Process(BundleContext context, BundleResponse response)
|
||||
{
|
||||
var config = new DotlessConfiguration
|
||||
{
|
||||
MinifyOutput = true,
|
||||
ImportAllFilesAsLess = true,
|
||||
CacheEnabled = true,
|
||||
LessSource = typeof (VirtualFileReader)
|
||||
};
|
||||
|
||||
response.Content = Less.Parse(response.Content, config);
|
||||
response.ContentType = "text/css";
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class VirtualFileReader : IFileReader
|
||||
{
|
||||
public byte[] GetBinaryFileContents(string fileName)
|
||||
{
|
||||
fileName = GetFullPath(fileName);
|
||||
return File.ReadAllBytes(fileName);
|
||||
}
|
||||
|
||||
public string GetFileContents(string fileName)
|
||||
{
|
||||
fileName = GetFullPath(fileName);
|
||||
return File.ReadAllText(fileName);
|
||||
}
|
||||
|
||||
public bool DoesFileExist(string fileName)
|
||||
{
|
||||
fileName = GetFullPath(fileName);
|
||||
return File.Exists(fileName);
|
||||
}
|
||||
|
||||
private static string GetFullPath(string path)
|
||||
{
|
||||
return HostingEnvironment.MapPath("~/Content/" + path);
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System.IO;
|
||||
using System.Web.Hosting;
|
||||
using System.Web.Optimization;
|
||||
using dotless.Core;
|
||||
using dotless.Core.Input;
|
||||
using dotless.Core.configuration;
|
||||
|
||||
namespace OneClickInstallation
|
||||
{
|
||||
public class LessTransform : IBundleTransform
|
||||
{
|
||||
public void Process(BundleContext context, BundleResponse response)
|
||||
{
|
||||
var config = new DotlessConfiguration
|
||||
{
|
||||
MinifyOutput = true,
|
||||
ImportAllFilesAsLess = true,
|
||||
CacheEnabled = true,
|
||||
LessSource = typeof (VirtualFileReader)
|
||||
};
|
||||
|
||||
response.Content = Less.Parse(response.Content, config);
|
||||
response.ContentType = "text/css";
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class VirtualFileReader : IFileReader
|
||||
{
|
||||
public byte[] GetBinaryFileContents(string fileName)
|
||||
{
|
||||
fileName = GetFullPath(fileName);
|
||||
return File.ReadAllBytes(fileName);
|
||||
}
|
||||
|
||||
public string GetFileContents(string fileName)
|
||||
{
|
||||
fileName = GetFullPath(fileName);
|
||||
return File.ReadAllText(fileName);
|
||||
}
|
||||
|
||||
public bool DoesFileExist(string fileName)
|
||||
{
|
||||
fileName = GetFullPath(fileName);
|
||||
return File.Exists(fileName);
|
||||
}
|
||||
|
||||
private static string GetFullPath(string path)
|
||||
{
|
||||
return HostingEnvironment.MapPath("~/Content/" + path);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,47 +1,47 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using OneClickInstallation.Helpers;
|
||||
|
||||
namespace OneClickInstallation
|
||||
{
|
||||
public class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
routes.MapRoute(
|
||||
"Localisation",
|
||||
"{lang}/{controller}/{action}/{id}",
|
||||
new { controller = "Home", action = "Index", id = UrlParameter.Optional },
|
||||
new { lang = String.Join("|", LangHelper.GetLanguages()) }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
"Default",
|
||||
"{controller}/{action}/{id}",
|
||||
new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using OneClickInstallation.Helpers;
|
||||
|
||||
namespace OneClickInstallation
|
||||
{
|
||||
public class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
routes.MapRoute(
|
||||
"Localisation",
|
||||
"{lang}/{controller}/{action}/{id}",
|
||||
new { controller = "Home", action = "Index", id = UrlParameter.Optional },
|
||||
new { lang = String.Join("|", LangHelper.GetLanguages()) }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
"Default",
|
||||
"{controller}/{action}/{id}",
|
||||
new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,54 +1,54 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
.action-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
padding: 10px 20px 15px 15px;
|
||||
z-index: 999;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d1d1d1;
|
||||
box-shadow: 1px 1px 8px #aaaaaa;
|
||||
|
||||
.action {
|
||||
margin: 0 10px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
a {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.corner {
|
||||
background: url("images/corner_top.gif") no-repeat;
|
||||
width: 7px;
|
||||
height: 6px;
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: 16px;
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
.action-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
padding: 10px 20px 15px 15px;
|
||||
z-index: 999;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d1d1d1;
|
||||
box-shadow: 1px 1px 8px #aaaaaa;
|
||||
|
||||
.action {
|
||||
margin: 0 10px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
a {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.corner {
|
||||
background: url("images/corner_top.gif") no-repeat;
|
||||
width: 7px;
|
||||
height: 6px;
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: 16px;
|
||||
}
|
||||
}
|
@ -1,47 +1,47 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
h1, h2, h3
|
||||
{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
font-size: 24px;
|
||||
font-weight: 100;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
h3
|
||||
{
|
||||
font-size: 16px;
|
||||
font-weight: 100;
|
||||
margin-bottom: 24px;
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
h1, h2, h3
|
||||
{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
font-size: 24px;
|
||||
font-weight: 100;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
h3
|
||||
{
|
||||
font-size: 16px;
|
||||
font-weight: 100;
|
||||
margin-bottom: 24px;
|
||||
}
|
@ -1,94 +1,94 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
.lang-switcher
|
||||
{
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin-top: 27px;
|
||||
position: relative;
|
||||
|
||||
.switcher
|
||||
{
|
||||
padding-right: 15px;
|
||||
background: url("images/combo_gray.png") right center no-repeat;
|
||||
cursor: pointer;
|
||||
|
||||
.lang-title
|
||||
{
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
|
||||
span
|
||||
{
|
||||
border-bottom: 1px dotted #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a, .lang-title
|
||||
{
|
||||
background: url("images/flags.png") no-repeat;
|
||||
padding-left: 25px;
|
||||
|
||||
&.en
|
||||
{
|
||||
background-position: left -14px;
|
||||
}
|
||||
|
||||
&.de
|
||||
{
|
||||
background-position: left 2px;
|
||||
}
|
||||
|
||||
&.fr
|
||||
{
|
||||
background-position: left -46px;
|
||||
}
|
||||
|
||||
&.es
|
||||
{
|
||||
background-position: left -30px;
|
||||
}
|
||||
|
||||
&.ru
|
||||
{
|
||||
background-position: left -94px;
|
||||
}
|
||||
|
||||
&.lv
|
||||
{
|
||||
background-position: left -78px;
|
||||
}
|
||||
|
||||
&.it
|
||||
{
|
||||
background-position: left -62px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-menu
|
||||
{
|
||||
right: -16px;
|
||||
top: 26px;
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
.lang-switcher
|
||||
{
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin-top: 27px;
|
||||
position: relative;
|
||||
|
||||
.switcher
|
||||
{
|
||||
padding-right: 15px;
|
||||
background: url("images/combo_gray.png") right center no-repeat;
|
||||
cursor: pointer;
|
||||
|
||||
.lang-title
|
||||
{
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
|
||||
span
|
||||
{
|
||||
border-bottom: 1px dotted #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a, .lang-title
|
||||
{
|
||||
background: url("images/flags.png") no-repeat;
|
||||
padding-left: 25px;
|
||||
|
||||
&.en
|
||||
{
|
||||
background-position: left -14px;
|
||||
}
|
||||
|
||||
&.de
|
||||
{
|
||||
background-position: left 2px;
|
||||
}
|
||||
|
||||
&.fr
|
||||
{
|
||||
background-position: left -46px;
|
||||
}
|
||||
|
||||
&.es
|
||||
{
|
||||
background-position: left -30px;
|
||||
}
|
||||
|
||||
&.ru
|
||||
{
|
||||
background-position: left -94px;
|
||||
}
|
||||
|
||||
&.lv
|
||||
{
|
||||
background-position: left -78px;
|
||||
}
|
||||
|
||||
&.it
|
||||
{
|
||||
background-position: left -62px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-menu
|
||||
{
|
||||
right: -16px;
|
||||
top: 26px;
|
||||
}
|
||||
}
|
@ -1,96 +1,96 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
html, body
|
||||
{
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #ffffff;
|
||||
color: #666666;
|
||||
font-size: 13px;
|
||||
font-family: "Open Sans", sans-serif, Arial;
|
||||
}
|
||||
|
||||
.layout-wrapper
|
||||
{
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
min-width: 960px;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.layout-header
|
||||
{
|
||||
background-color: #3d4a6b;
|
||||
height: 72px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.layout-body
|
||||
{
|
||||
padding: 0 0 112px;
|
||||
|
||||
.layout-left-side
|
||||
{
|
||||
float: left;
|
||||
margin: 0;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.layout-right-side
|
||||
{
|
||||
float: right;
|
||||
margin: 62px 0 0;
|
||||
width: 620px;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-footer
|
||||
{
|
||||
bottom: 0;
|
||||
height: 72px;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
||||
.layout-content-wrapper
|
||||
{
|
||||
border-top: 1px solid #e0e0e0;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-content-wrapper
|
||||
{
|
||||
margin: 0 auto;
|
||||
width: 960px;
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
html, body
|
||||
{
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #ffffff;
|
||||
color: #666666;
|
||||
font-size: 13px;
|
||||
font-family: "Open Sans", sans-serif, Arial;
|
||||
}
|
||||
|
||||
.layout-wrapper
|
||||
{
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
min-width: 960px;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.layout-header
|
||||
{
|
||||
background-color: #3d4a6b;
|
||||
height: 72px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.layout-body
|
||||
{
|
||||
padding: 0 0 112px;
|
||||
|
||||
.layout-left-side
|
||||
{
|
||||
float: left;
|
||||
margin: 0;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.layout-right-side
|
||||
{
|
||||
float: right;
|
||||
margin: 62px 0 0;
|
||||
width: 620px;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-footer
|
||||
{
|
||||
bottom: 0;
|
||||
height: 72px;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
||||
.layout-content-wrapper
|
||||
{
|
||||
border-top: 1px solid #e0e0e0;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-content-wrapper
|
||||
{
|
||||
margin: 0 auto;
|
||||
width: 960px;
|
||||
}
|
@ -1,69 +1,69 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
a
|
||||
{
|
||||
color: #333333;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&.selected
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&.underline
|
||||
{
|
||||
text-decoration: underline;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.noline
|
||||
{
|
||||
text-decoration: none;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.dotted
|
||||
{
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dotted;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none;
|
||||
border-bottom: medium none;
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
a
|
||||
{
|
||||
color: #333333;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&.selected
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&.underline
|
||||
{
|
||||
text-decoration: underline;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.noline
|
||||
{
|
||||
text-decoration: none;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.dotted
|
||||
{
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dotted;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none;
|
||||
border-bottom: medium none;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,46 +1,46 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
ul
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul.square-style-list {
|
||||
margin: 0 0 0 48px;
|
||||
|
||||
li {
|
||||
color: #de673c;
|
||||
line-height: 24px;
|
||||
list-style-type: square;
|
||||
|
||||
span {
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
ul
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul.square-style-list {
|
||||
margin: 0 0 0 48px;
|
||||
|
||||
li {
|
||||
color: #de673c;
|
||||
line-height: 24px;
|
||||
list-style-type: square;
|
||||
|
||||
span {
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,26 +1,26 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
p
|
||||
{
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
@import "vars";
|
||||
|
||||
p
|
||||
{
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
}
|
@ -1,96 +1,96 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
.borderRadius(@size: 5px)
|
||||
{
|
||||
border-radius: @size;
|
||||
}
|
||||
|
||||
.borderTopRadius(@radius: 5px) {
|
||||
border-top-right-radius: @radius;
|
||||
border-top-left-radius: @radius;
|
||||
}
|
||||
|
||||
.borderBottomRadius(@radius: 5px) {
|
||||
border-bottom-right-radius: @radius;
|
||||
border-bottom-left-radius: @radius;
|
||||
}
|
||||
|
||||
.boxShadow(@hShadow: 1px, @vShadow: 1px, @spread: 8px, @color: #aaaaaa)
|
||||
{
|
||||
-webkit-box-shadow: @hShadow @vShadow @spread @color;
|
||||
-moz-box-shadow: @hShadow @vShadow @spread @color;
|
||||
box-shadow: @hShadow @vShadow @spread @color;
|
||||
}
|
||||
|
||||
.backgroundLinearGradient(@topColor, @bottomColor)
|
||||
{
|
||||
background: -webkit-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -webkit-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -moz-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -ms-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -o-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=@topColor, endColorstr=@bottomColor);
|
||||
}
|
||||
|
||||
.textOverflow(@width)
|
||||
{
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
width: @width;
|
||||
}
|
||||
|
||||
.userSelect(@userSelect)
|
||||
{
|
||||
-webkit-touch-callout: @userSelect;
|
||||
-webkit-user-select: @userSelect;
|
||||
-khtml-user-select: @userSelect;
|
||||
-moz-user-select: @userSelect;
|
||||
-ms-user-select: @userSelect;
|
||||
user-select: @userSelect;
|
||||
}
|
||||
|
||||
.placeholder(@color, @fontSize)
|
||||
{
|
||||
&::-webkit-input-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
&::-moz-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
&:-moz-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
&:-ms-input-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
.borderRadius(@size: 5px)
|
||||
{
|
||||
border-radius: @size;
|
||||
}
|
||||
|
||||
.borderTopRadius(@radius: 5px) {
|
||||
border-top-right-radius: @radius;
|
||||
border-top-left-radius: @radius;
|
||||
}
|
||||
|
||||
.borderBottomRadius(@radius: 5px) {
|
||||
border-bottom-right-radius: @radius;
|
||||
border-bottom-left-radius: @radius;
|
||||
}
|
||||
|
||||
.boxShadow(@hShadow: 1px, @vShadow: 1px, @spread: 8px, @color: #aaaaaa)
|
||||
{
|
||||
-webkit-box-shadow: @hShadow @vShadow @spread @color;
|
||||
-moz-box-shadow: @hShadow @vShadow @spread @color;
|
||||
box-shadow: @hShadow @vShadow @spread @color;
|
||||
}
|
||||
|
||||
.backgroundLinearGradient(@topColor, @bottomColor)
|
||||
{
|
||||
background: -webkit-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -webkit-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -moz-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -ms-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: -o-linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
background: linear-gradient(top, @topColor, @bottomColor) repeat scroll 0 0 @bottomColor;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=@topColor, endColorstr=@bottomColor);
|
||||
}
|
||||
|
||||
.textOverflow(@width)
|
||||
{
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
width: @width;
|
||||
}
|
||||
|
||||
.userSelect(@userSelect)
|
||||
{
|
||||
-webkit-touch-callout: @userSelect;
|
||||
-webkit-user-select: @userSelect;
|
||||
-khtml-user-select: @userSelect;
|
||||
-moz-user-select: @userSelect;
|
||||
-ms-user-select: @userSelect;
|
||||
user-select: @userSelect;
|
||||
}
|
||||
|
||||
.placeholder(@color, @fontSize)
|
||||
{
|
||||
&::-webkit-input-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
&::-moz-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
&:-moz-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
&:-ms-input-placeholder
|
||||
{
|
||||
color: @color;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
}
|
@ -1 +1 @@
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="OneClickInstallation.MvcApplication" Language="C#" %>
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="OneClickInstallation.MvcApplication" Language="C#" %>
|
||||
|
@ -1,44 +1,44 @@
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Globalization;
|
||||
|
||||
namespace OneClickInstallation.Helpers
|
||||
{
|
||||
public class LangHelper
|
||||
{
|
||||
public const string DefaultLanguage = "en";
|
||||
|
||||
public static string[] GetLanguages()
|
||||
{
|
||||
return Settings.Languages.Split(',');
|
||||
}
|
||||
|
||||
public static string GetLangTitle(string cultureName)
|
||||
{
|
||||
var culture = new CultureInfo(cultureName);
|
||||
return GetLangTitle(culture);
|
||||
}
|
||||
|
||||
public static string GetLangTitle(CultureInfo culture)
|
||||
{
|
||||
return culture.NativeName.Substring(0, 1).ToUpper() + culture.NativeName.Substring(1);
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System Limited 2010-2015
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Globalization;
|
||||
|
||||
namespace OneClickInstallation.Helpers
|
||||
{
|
||||
public class LangHelper
|
||||
{
|
||||
public const string DefaultLanguage = "en";
|
||||
|
||||
public static string[] GetLanguages()
|
||||
{
|
||||
return Settings.Languages.Split(',');
|
||||
}
|
||||
|
||||
public static string GetLangTitle(string cultureName)
|
||||
{
|
||||
var culture = new CultureInfo(cultureName);
|
||||
return GetLangTitle(culture);
|
||||
}
|
||||
|
||||
public static string GetLangTitle(CultureInfo culture)
|
||||
{
|
||||
return culture.NativeName.Substring(0, 1).ToUpper() + culture.NativeName.Substring(1);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,35 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("OneClickInstallation")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Ascensio System SIA")]
|
||||
[assembly: AssemblyProduct("OneClickInstallation")]
|
||||
[assembly: AssemblyCopyright("Ascensio System SIA 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("e3e86fef-4072-4b8a-a8c4-187092dc4931")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("OneClickInstallation")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Ascensio System SIA")]
|
||||
[assembly: AssemblyProduct("OneClickInstallation")]
|
||||
[assembly: AssemblyCopyright("Ascensio System SIA 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("e3e86fef-4072-4b8a-a8c4-187092dc4931")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
18880
web/Scripts/jquery-1.8.2.js
vendored
18880
web/Scripts/jquery-1.8.2.js
vendored
File diff suppressed because it is too large
Load Diff
2
web/Scripts/jquery-1.8.2.min.js
vendored
2
web/Scripts/jquery-1.8.2.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,268 +1,268 @@
|
||||
/*
|
||||
* Copyright 2012 John Papa and Hans Fjällemark.
|
||||
* All Rights Reserved.
|
||||
* Use, reproduction, distribution, and modification of this code is subject to the terms and
|
||||
* conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* Author: John Papa and Hans Fjällemark
|
||||
* Project: https://github.com/CodeSeven/toastr
|
||||
*/
|
||||
; (function (define) {
|
||||
define(['jquery'], function ($) {
|
||||
return (function () {
|
||||
var version = '1.3.1',
|
||||
$container,
|
||||
toastType = {
|
||||
error: 'error',
|
||||
info: 'info',
|
||||
success: 'success',
|
||||
warning: 'warning'
|
||||
},
|
||||
listener,
|
||||
toastId = 0,
|
||||
|
||||
defaults = {
|
||||
tapToDismiss: true,
|
||||
toastClass: 'toast',
|
||||
containerId: 'toast-container',
|
||||
debug: false,
|
||||
fadeIn: 300,
|
||||
onFadeIn: undefined,
|
||||
fadeOut: 1000,
|
||||
onFadeOut: undefined,
|
||||
extendedTimeOut: 1000,
|
||||
iconClasses: {
|
||||
error: 'toast-error',
|
||||
info: 'toast-info',
|
||||
success: 'toast-success',
|
||||
warning: 'toast-warning'
|
||||
},
|
||||
iconClass: 'toast-info',
|
||||
positionClass: 'toast-top-right',
|
||||
timeOut: 5000, // Set timeOut and extendedTimeout to 0 to make it sticky
|
||||
titleClass: 'toast-title',
|
||||
messageClass: 'toast-message',
|
||||
target: 'body',
|
||||
newestOnTop: true
|
||||
},
|
||||
|
||||
error = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.error,
|
||||
iconClass: getOptions().iconClasses.error,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
info = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.info,
|
||||
iconClass: getOptions().iconClasses.info,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
subscribe = function (callback) {
|
||||
listener = callback;
|
||||
},
|
||||
|
||||
success = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.success,
|
||||
iconClass: getOptions().iconClasses.success,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
warning = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.warning,
|
||||
iconClass: getOptions().iconClasses.warning,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
clear = function ($toastElement) {
|
||||
var options = getOptions();
|
||||
if (!$container) {
|
||||
getContainer(options);
|
||||
}
|
||||
if ($toastElement && $(':focus', $toastElement).length === 0) {
|
||||
$toastElement.fadeOut(options.fadeOut, function () {
|
||||
removeToast($toastElement);
|
||||
});
|
||||
return;
|
||||
}
|
||||
if ($container.children().length) {
|
||||
$container.fadeOut(options.fadeOut, function () {
|
||||
$container.remove();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var toastr = {
|
||||
clear: clear,
|
||||
error: error,
|
||||
getContainer: getContainer,
|
||||
info: info,
|
||||
options: {},
|
||||
subscribe: subscribe,
|
||||
success: success,
|
||||
version: version,
|
||||
warning: warning
|
||||
};
|
||||
|
||||
return toastr;
|
||||
|
||||
//#region Internal Methods
|
||||
|
||||
function publish(args) {
|
||||
if (!listener) {
|
||||
return;
|
||||
}
|
||||
listener(args);
|
||||
}
|
||||
|
||||
function notify(map) {
|
||||
var
|
||||
options = getOptions(),
|
||||
iconClass = map.iconClass || options.iconClass;
|
||||
|
||||
if (typeof (map.optionsOverride) !== 'undefined') {
|
||||
options = $.extend(options, map.optionsOverride);
|
||||
iconClass = map.optionsOverride.iconClass || iconClass;
|
||||
}
|
||||
|
||||
toastId++;
|
||||
|
||||
$container = getContainer(options);
|
||||
var
|
||||
intervalId = null,
|
||||
$toastElement = $('<div/>'),
|
||||
$titleElement = $('<div/>'),
|
||||
$messageElement = $('<div/>'),
|
||||
response = {
|
||||
toastId: toastId,
|
||||
state: 'visible',
|
||||
startTime: new Date(),
|
||||
options: options,
|
||||
map: map
|
||||
};
|
||||
|
||||
if (map.iconClass) {
|
||||
$toastElement.addClass(options.toastClass).addClass(iconClass);
|
||||
}
|
||||
|
||||
if (map.title) {
|
||||
$titleElement.append(map.title).addClass(options.titleClass);
|
||||
$toastElement.append($titleElement);
|
||||
}
|
||||
|
||||
if (map.message) {
|
||||
$messageElement.append(map.message).addClass(options.messageClass);
|
||||
$toastElement.append($messageElement);
|
||||
}
|
||||
|
||||
$toastElement.hide();
|
||||
if (options.newestOnTop) {
|
||||
$container.prepend($toastElement);
|
||||
} else {
|
||||
$container.append($toastElement);
|
||||
}
|
||||
$toastElement.fadeIn(options.fadeIn, options.onFadeIn);
|
||||
if (options.timeOut > 0) {
|
||||
intervalId = setTimeout(fadeAway, options.timeOut);
|
||||
}
|
||||
|
||||
$toastElement.hover(stickAround, delayedFadeAway);
|
||||
if (!options.onclick && options.tapToDismiss) {
|
||||
$toastElement.click(fadeAway);
|
||||
}
|
||||
|
||||
if (options.onclick) {
|
||||
$toastElement.click(function () {
|
||||
options.onclick() && fadeAway();
|
||||
});
|
||||
}
|
||||
|
||||
publish(response);
|
||||
|
||||
if (options.debug && console) {
|
||||
console.log(response);
|
||||
}
|
||||
|
||||
return $toastElement;
|
||||
|
||||
function fadeAway() {
|
||||
if ($(':focus', $toastElement).length > 0) {
|
||||
return;
|
||||
}
|
||||
return $toastElement.fadeOut(options.fadeOut, function () {
|
||||
removeToast($toastElement);
|
||||
if (options.onFadeOut) {
|
||||
options.onFadeOut();
|
||||
}
|
||||
response.state = 'hidden';
|
||||
response.endTime = new Date(),
|
||||
publish(response);
|
||||
});
|
||||
}
|
||||
|
||||
function delayedFadeAway() {
|
||||
if (options.timeOut > 0 || options.extendedTimeOut > 0) {
|
||||
intervalId = setTimeout(fadeAway, options.extendedTimeOut);
|
||||
}
|
||||
}
|
||||
|
||||
function stickAround() {
|
||||
clearTimeout(intervalId);
|
||||
$toastElement.stop(true, true).fadeIn(options.fadeIn);
|
||||
}
|
||||
}
|
||||
function getContainer(options) {
|
||||
if (!options) { options = getOptions(); }
|
||||
$container = $('#' + options.containerId);
|
||||
if ($container.length) {
|
||||
return $container;
|
||||
}
|
||||
$container = $('<div/>')
|
||||
.attr('id', options.containerId)
|
||||
.addClass(options.positionClass);
|
||||
$container.appendTo($(options.target));
|
||||
return $container;
|
||||
}
|
||||
|
||||
function getOptions() {
|
||||
return $.extend({}, defaults, toastr.options);
|
||||
}
|
||||
|
||||
function removeToast($toastElement) {
|
||||
if (!$container) { $container = getContainer(); }
|
||||
if ($toastElement.is(':visible')) {
|
||||
return;
|
||||
}
|
||||
$toastElement.remove();
|
||||
$toastElement = null;
|
||||
if ($container.children().length === 0) {
|
||||
$container.remove();
|
||||
}
|
||||
}
|
||||
//#endregion
|
||||
|
||||
})();
|
||||
});
|
||||
}(typeof define === 'function' && define.amd ? define : function (deps, factory) {
|
||||
if (typeof module !== 'undefined' && module.exports) { //Node
|
||||
module.exports = factory(require(deps[0]));
|
||||
} else {
|
||||
window['toastr'] = factory(window['jQuery']);
|
||||
}
|
||||
/*
|
||||
* Copyright 2012 John Papa and Hans Fjällemark.
|
||||
* All Rights Reserved.
|
||||
* Use, reproduction, distribution, and modification of this code is subject to the terms and
|
||||
* conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* Author: John Papa and Hans Fjällemark
|
||||
* Project: https://github.com/CodeSeven/toastr
|
||||
*/
|
||||
; (function (define) {
|
||||
define(['jquery'], function ($) {
|
||||
return (function () {
|
||||
var version = '1.3.1',
|
||||
$container,
|
||||
toastType = {
|
||||
error: 'error',
|
||||
info: 'info',
|
||||
success: 'success',
|
||||
warning: 'warning'
|
||||
},
|
||||
listener,
|
||||
toastId = 0,
|
||||
|
||||
defaults = {
|
||||
tapToDismiss: true,
|
||||
toastClass: 'toast',
|
||||
containerId: 'toast-container',
|
||||
debug: false,
|
||||
fadeIn: 300,
|
||||
onFadeIn: undefined,
|
||||
fadeOut: 1000,
|
||||
onFadeOut: undefined,
|
||||
extendedTimeOut: 1000,
|
||||
iconClasses: {
|
||||
error: 'toast-error',
|
||||
info: 'toast-info',
|
||||
success: 'toast-success',
|
||||
warning: 'toast-warning'
|
||||
},
|
||||
iconClass: 'toast-info',
|
||||
positionClass: 'toast-top-right',
|
||||
timeOut: 5000, // Set timeOut and extendedTimeout to 0 to make it sticky
|
||||
titleClass: 'toast-title',
|
||||
messageClass: 'toast-message',
|
||||
target: 'body',
|
||||
newestOnTop: true
|
||||
},
|
||||
|
||||
error = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.error,
|
||||
iconClass: getOptions().iconClasses.error,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
info = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.info,
|
||||
iconClass: getOptions().iconClasses.info,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
subscribe = function (callback) {
|
||||
listener = callback;
|
||||
},
|
||||
|
||||
success = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.success,
|
||||
iconClass: getOptions().iconClasses.success,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
warning = function (message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.warning,
|
||||
iconClass: getOptions().iconClasses.warning,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
},
|
||||
|
||||
clear = function ($toastElement) {
|
||||
var options = getOptions();
|
||||
if (!$container) {
|
||||
getContainer(options);
|
||||
}
|
||||
if ($toastElement && $(':focus', $toastElement).length === 0) {
|
||||
$toastElement.fadeOut(options.fadeOut, function () {
|
||||
removeToast($toastElement);
|
||||
});
|
||||
return;
|
||||
}
|
||||
if ($container.children().length) {
|
||||
$container.fadeOut(options.fadeOut, function () {
|
||||
$container.remove();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var toastr = {
|
||||
clear: clear,
|
||||
error: error,
|
||||
getContainer: getContainer,
|
||||
info: info,
|
||||
options: {},
|
||||
subscribe: subscribe,
|
||||
success: success,
|
||||
version: version,
|
||||
warning: warning
|
||||
};
|
||||
|
||||
return toastr;
|
||||
|
||||
//#region Internal Methods
|
||||
|
||||
function publish(args) {
|
||||
if (!listener) {
|
||||
return;
|
||||
}
|
||||
listener(args);
|
||||
}
|
||||
|
||||
function notify(map) {
|
||||
var
|
||||
options = getOptions(),
|
||||
iconClass = map.iconClass || options.iconClass;
|
||||
|
||||
if (typeof (map.optionsOverride) !== 'undefined') {
|
||||
options = $.extend(options, map.optionsOverride);
|
||||
iconClass = map.optionsOverride.iconClass || iconClass;
|
||||
}
|
||||
|
||||
toastId++;
|
||||
|
||||
$container = getContainer(options);
|
||||
var
|
||||
intervalId = null,
|
||||
$toastElement = $('<div/>'),
|
||||
$titleElement = $('<div/>'),
|
||||
$messageElement = $('<div/>'),
|
||||
response = {
|
||||
toastId: toastId,
|
||||
state: 'visible',
|
||||
startTime: new Date(),
|
||||
options: options,
|
||||
map: map
|
||||
};
|
||||
|
||||
if (map.iconClass) {
|
||||
$toastElement.addClass(options.toastClass).addClass(iconClass);
|
||||
}
|
||||
|
||||
if (map.title) {
|
||||
$titleElement.append(map.title).addClass(options.titleClass);
|
||||
$toastElement.append($titleElement);
|
||||
}
|
||||
|
||||
if (map.message) {
|
||||
$messageElement.append(map.message).addClass(options.messageClass);
|
||||
$toastElement.append($messageElement);
|
||||
}
|
||||
|
||||
$toastElement.hide();
|
||||
if (options.newestOnTop) {
|
||||
$container.prepend($toastElement);
|
||||
} else {
|
||||
$container.append($toastElement);
|
||||
}
|
||||
$toastElement.fadeIn(options.fadeIn, options.onFadeIn);
|
||||
if (options.timeOut > 0) {
|
||||
intervalId = setTimeout(fadeAway, options.timeOut);
|
||||
}
|
||||
|
||||
$toastElement.hover(stickAround, delayedFadeAway);
|
||||
if (!options.onclick && options.tapToDismiss) {
|
||||
$toastElement.click(fadeAway);
|
||||
}
|
||||
|
||||
if (options.onclick) {
|
||||
$toastElement.click(function () {
|
||||
options.onclick() && fadeAway();
|
||||
});
|
||||
}
|
||||
|
||||
publish(response);
|
||||
|
||||
if (options.debug && console) {
|
||||
console.log(response);
|
||||
}
|
||||
|
||||
return $toastElement;
|
||||
|
||||
function fadeAway() {
|
||||
if ($(':focus', $toastElement).length > 0) {
|
||||
return;
|
||||
}
|
||||
return $toastElement.fadeOut(options.fadeOut, function () {
|
||||
removeToast($toastElement);
|
||||
if (options.onFadeOut) {
|
||||
options.onFadeOut();
|
||||
}
|
||||
response.state = 'hidden';
|
||||
response.endTime = new Date(),
|
||||
publish(response);
|
||||
});
|
||||
}
|
||||
|
||||
function delayedFadeAway() {
|
||||
if (options.timeOut > 0 || options.extendedTimeOut > 0) {
|
||||
intervalId = setTimeout(fadeAway, options.extendedTimeOut);
|
||||
}
|
||||
}
|
||||
|
||||
function stickAround() {
|
||||
clearTimeout(intervalId);
|
||||
$toastElement.stop(true, true).fadeIn(options.fadeIn);
|
||||
}
|
||||
}
|
||||
function getContainer(options) {
|
||||
if (!options) { options = getOptions(); }
|
||||
$container = $('#' + options.containerId);
|
||||
if ($container.length) {
|
||||
return $container;
|
||||
}
|
||||
$container = $('<div/>')
|
||||
.attr('id', options.containerId)
|
||||
.addClass(options.positionClass);
|
||||
$container.appendTo($(options.target));
|
||||
return $container;
|
||||
}
|
||||
|
||||
function getOptions() {
|
||||
return $.extend({}, defaults, toastr.options);
|
||||
}
|
||||
|
||||
function removeToast($toastElement) {
|
||||
if (!$container) { $container = getContainer(); }
|
||||
if ($toastElement.is(':visible')) {
|
||||
return;
|
||||
}
|
||||
$toastElement.remove();
|
||||
$toastElement = null;
|
||||
if ($container.children().length === 0) {
|
||||
$container.remove();
|
||||
}
|
||||
}
|
||||
//#endregion
|
||||
|
||||
})();
|
||||
});
|
||||
}(typeof define === 'function' && define.amd ? define : function (deps, factory) {
|
||||
if (typeof module !== 'undefined' && module.exports) { //Node
|
||||
module.exports = factory(require(deps[0]));
|
||||
} else {
|
||||
window['toastr'] = factory(window['jQuery']);
|
||||
}
|
||||
}));
|
2
web/Scripts/toastr.min.js
vendored
2
web/Scripts/toastr.min.js
vendored
@ -1,2 +1,2 @@
|
||||
(function(n){n(["jquery"],function(n){return function(){function h(n){e&&e(n)}function u(r){function l(){if(!(n(":focus",e).length>0))return e.fadeOut(u.fadeOut,function(){c(e),u.onFadeOut&&u.onFadeOut(),s.state="hidden",s.endTime=new Date,h(s)})}function w(){(u.timeOut>0||u.extendedTimeOut>0)&&(v=setTimeout(l,u.extendedTimeOut))}function b(){clearTimeout(v),e.stop(!0,!0).fadeIn(u.fadeIn)}var u=i(),a=r.iconClass||u.iconClass;typeof r.optionsOverride!="undefined"&&(u=n.extend(u,r.optionsOverride),a=r.optionsOverride.iconClass||a),o++,t=f(u);var v=null,e=n("<div/>"),y=n("<div/>"),p=n("<div/>"),s={toastId:o,state:"visible",startTime:new Date,options:u,map:r};return r.iconClass&&e.addClass(u.toastClass).addClass(a),r.title&&(y.append(r.title).addClass(u.titleClass),e.append(y)),r.message&&(p.append(r.message).addClass(u.messageClass),e.append(p)),e.hide(),u.newestOnTop?t.prepend(e):t.append(e),e.fadeIn(u.fadeIn,u.onFadeIn),u.timeOut>0&&(v=setTimeout(l,u.timeOut)),e.hover(b,w),!u.onclick&&u.tapToDismiss&&e.click(l),u.onclick&&e.click(function(){u.onclick()&&l()}),h(s),u.debug&&console&&console.log(s),e}function f(r){return(r||(r=i()),t=n("#"+r.containerId),t.length)?t:(t=n("<div/>").attr("id",r.containerId).addClass(r.positionClass),t.appendTo(n(r.target)),t)}function i(){return n.extend({},l,s.options)}function c(n){(t||(t=f()),n.is(":visible"))||(n.remove(),n=null,t.children().length===0&&t.remove())}var t,r={error:"error",info:"info",success:"success",warning:"warning"},e,o=0,l={tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,fadeIn:300,onFadeIn:undefined,fadeOut:1e3,onFadeOut:undefined,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",newestOnTop:!0},a=function(n,t,f){return u({type:r.error,iconClass:i().iconClasses.error,message:n,optionsOverride:f,title:t})},v=function(n,t,f){return u({type:r.info,iconClass:i().iconClasses.info,message:n,optionsOverride:f,title:t})},y=function(n){e=n},p=function(n,t,f){return u({type:r.success,iconClass:i().iconClasses.success,message:n,optionsOverride:f,title:t})},w=function(n,t,f){return u({type:r.warning,iconClass:i().iconClasses.warning,message:n,optionsOverride:f,title:t})},b=function(r){var u=i();if(t||f(u),r&&n(":focus",r).length===0){r.fadeOut(u.fadeOut,function(){c(r)});return}t.children().length&&t.fadeOut(u.fadeOut,function(){t.remove()})},s={clear:b,error:a,getContainer:f,info:v,options:{},subscribe:y,success:p,version:"1.3.1",warning:w};return s}()})})(typeof define=="function"&&define.amd?define:function(n,t){typeof module!="undefined"&&module.exports?module.exports=t(require(n[0])):window.toastr=t(window.jQuery)});
|
||||
(function(n){n(["jquery"],function(n){return function(){function h(n){e&&e(n)}function u(r){function l(){if(!(n(":focus",e).length>0))return e.fadeOut(u.fadeOut,function(){c(e),u.onFadeOut&&u.onFadeOut(),s.state="hidden",s.endTime=new Date,h(s)})}function w(){(u.timeOut>0||u.extendedTimeOut>0)&&(v=setTimeout(l,u.extendedTimeOut))}function b(){clearTimeout(v),e.stop(!0,!0).fadeIn(u.fadeIn)}var u=i(),a=r.iconClass||u.iconClass;typeof r.optionsOverride!="undefined"&&(u=n.extend(u,r.optionsOverride),a=r.optionsOverride.iconClass||a),o++,t=f(u);var v=null,e=n("<div/>"),y=n("<div/>"),p=n("<div/>"),s={toastId:o,state:"visible",startTime:new Date,options:u,map:r};return r.iconClass&&e.addClass(u.toastClass).addClass(a),r.title&&(y.append(r.title).addClass(u.titleClass),e.append(y)),r.message&&(p.append(r.message).addClass(u.messageClass),e.append(p)),e.hide(),u.newestOnTop?t.prepend(e):t.append(e),e.fadeIn(u.fadeIn,u.onFadeIn),u.timeOut>0&&(v=setTimeout(l,u.timeOut)),e.hover(b,w),!u.onclick&&u.tapToDismiss&&e.click(l),u.onclick&&e.click(function(){u.onclick()&&l()}),h(s),u.debug&&console&&console.log(s),e}function f(r){return(r||(r=i()),t=n("#"+r.containerId),t.length)?t:(t=n("<div/>").attr("id",r.containerId).addClass(r.positionClass),t.appendTo(n(r.target)),t)}function i(){return n.extend({},l,s.options)}function c(n){(t||(t=f()),n.is(":visible"))||(n.remove(),n=null,t.children().length===0&&t.remove())}var t,r={error:"error",info:"info",success:"success",warning:"warning"},e,o=0,l={tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,fadeIn:300,onFadeIn:undefined,fadeOut:1e3,onFadeOut:undefined,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",newestOnTop:!0},a=function(n,t,f){return u({type:r.error,iconClass:i().iconClasses.error,message:n,optionsOverride:f,title:t})},v=function(n,t,f){return u({type:r.info,iconClass:i().iconClasses.info,message:n,optionsOverride:f,title:t})},y=function(n){e=n},p=function(n,t,f){return u({type:r.success,iconClass:i().iconClasses.success,message:n,optionsOverride:f,title:t})},w=function(n,t,f){return u({type:r.warning,iconClass:i().iconClasses.warning,message:n,optionsOverride:f,title:t})},b=function(r){var u=i();if(t||f(u),r&&n(":focus",r).length===0){r.fadeOut(u.fadeOut,function(){c(r)});return}t.children().length&&t.fadeOut(u.fadeOut,function(){t.remove()})},s={clear:b,error:a,getContainer:f,info:v,options:{},subscribe:y,success:p,version:"1.3.1",warning:w};return s}()})})(typeof define=="function"&&define.amd?define:function(n,t){typeof module!="undefined"&&module.exports?module.exports=t(require(n[0])):window.toastr=t(window.jQuery)});
|
||||
//
|
@ -1,14 +1,14 @@
|
||||
|
||||
<div class="switcher-container bottom-indent">
|
||||
<div class="switcher clear-fix">
|
||||
<div class="switcher-btn connection selected">
|
||||
<div class="icon"></div>
|
||||
</div>
|
||||
<div class="switcher-btn setup disabled">
|
||||
<div class="icon"></div>
|
||||
</div>
|
||||
<div class="switcher-btn settings disabled">
|
||||
<div class="icon"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="switcher-container bottom-indent">
|
||||
<div class="switcher clear-fix">
|
||||
<div class="switcher-btn connection selected">
|
||||
<div class="icon"></div>
|
||||
</div>
|
||||
<div class="switcher-btn setup disabled">
|
||||
<div class="icon"></div>
|
||||
</div>
|
||||
<div class="switcher-btn settings disabled">
|
||||
<div class="icon"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,61 +1,61 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="keywords" content="@OneClickCommonResource.MetaKeywords">
|
||||
<meta name="description" content="@OneClickCommonResource.MetaDescription">
|
||||
|
||||
<title>@ViewBag.Title</title>
|
||||
|
||||
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:900,800,700,600,500,400,300&subset=latin,cyrillic-ext,cyrillic,latin-ext">
|
||||
|
||||
@Styles.Render("~/Content/less")
|
||||
|
||||
@if (!string.IsNullOrEmpty(Settings.AnalyticsFileUrl))
|
||||
{
|
||||
<script src="@Settings.AnalyticsFileUrl"></script>
|
||||
}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="layout-wrapper">
|
||||
|
||||
<div class="layout-header">
|
||||
@Html.Partial("_HeaderPartial")
|
||||
</div>
|
||||
|
||||
<div class="layout-body layout-content-wrapper clear-fix">
|
||||
|
||||
@if (IsSectionDefined("leftSide"))
|
||||
{
|
||||
<div class="layout-left-side">
|
||||
@RenderSection("leftSide", false)
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (IsSectionDefined("rightSide"))
|
||||
{
|
||||
<div class="layout-right-side">
|
||||
@RenderSection("rightSide", false)
|
||||
</div>
|
||||
}
|
||||
|
||||
@RenderBody()
|
||||
|
||||
</div>
|
||||
|
||||
<div class="layout-footer">
|
||||
@Html.Partial("_FooterPartial")
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="@Url.Action("Index", "Resource")"></script>
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
@RenderSection("scripts", false)
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="keywords" content="@OneClickCommonResource.MetaKeywords">
|
||||
<meta name="description" content="@OneClickCommonResource.MetaDescription">
|
||||
|
||||
<title>@ViewBag.Title</title>
|
||||
|
||||
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:900,800,700,600,500,400,300&subset=latin,cyrillic-ext,cyrillic,latin-ext">
|
||||
|
||||
@Styles.Render("~/Content/less")
|
||||
|
||||
@if (!string.IsNullOrEmpty(Settings.AnalyticsFileUrl))
|
||||
{
|
||||
<script src="@Settings.AnalyticsFileUrl"></script>
|
||||
}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="layout-wrapper">
|
||||
|
||||
<div class="layout-header">
|
||||
@Html.Partial("_HeaderPartial")
|
||||
</div>
|
||||
|
||||
<div class="layout-body layout-content-wrapper clear-fix">
|
||||
|
||||
@if (IsSectionDefined("leftSide"))
|
||||
{
|
||||
<div class="layout-left-side">
|
||||
@RenderSection("leftSide", false)
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (IsSectionDefined("rightSide"))
|
||||
{
|
||||
<div class="layout-right-side">
|
||||
@RenderSection("rightSide", false)
|
||||
</div>
|
||||
}
|
||||
|
||||
@RenderBody()
|
||||
|
||||
</div>
|
||||
|
||||
<div class="layout-footer">
|
||||
@Html.Partial("_FooterPartial")
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="@Url.Action("Index", "Resource")"></script>
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
@RenderSection("scripts", false)
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,3 +1,3 @@
|
||||
@{
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
@{
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
@ -1,37 +1,37 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="System.Web.Optimization"/>
|
||||
<add namespace="OneClickInstallation" />
|
||||
<add namespace="OneClickInstallation.Resources" />
|
||||
<add namespace="OneClickInstallation.Helpers" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="System.Web.Optimization"/>
|
||||
<add namespace="OneClickInstallation" />
|
||||
<add namespace="OneClickInstallation.Resources" />
|
||||
<add namespace="OneClickInstallation.Helpers" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
|
210
web/Web.config
210
web/Web.config
@ -1,106 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" />
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
</configSections>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<clear />
|
||||
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
<connectionStrings>
|
||||
<clear />
|
||||
<add name="tmresource" connectionString="Server=localhost;Database=teamlab;User ID=root;Password=teamlab;Pooling=True;Character Set=utf8;AutoEnlist=false" providerName="MySql.Data.MySqlClient" />
|
||||
<add name="tmresourceTrans" connectionString="Server=localhost;Database=teamlab;User ID=root;Password=teamlab;Pooling=True;Character Set=utf8;AutoEnlist=false" providerName="MySql.Data.MySqlClient" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<clear />
|
||||
<add key="webpages:Version" value="2.0.0.0" />
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
<add key="languages" value="en" />
|
||||
<add key="maxFileSize" value="1048576" />
|
||||
<add key="resources.from-db" value="false" />
|
||||
<add key="analyticsFileUrl" value="" />
|
||||
<add key="termsFileUrl" value="https://help.onlyoffice.com/products/files/doceditor.aspx?fileid=4404722&doc=L3ZQczhiWDYrTDNsQ0NFNXk5R1RlaWhySEdIcTk1YXI1YXh0dHhtSVd0bz0_IjQ0MDQ3MjIi0" />
|
||||
<add key="emailSender" value="smtp.email.test|587|sender@email.test|password|true" />
|
||||
<add key="supportEmail" value="server@onlyoffice.com" />
|
||||
<add key="sourceUrl" value="https://github.com/ONLYOFFICE/OneClickInstall" />
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<customErrors mode="On" defaultRedirect="/">
|
||||
<error statusCode="404" redirect="404.htm" />
|
||||
<error statusCode="500" redirect="500.htm" />
|
||||
</customErrors>
|
||||
<compilation debug="false" targetFramework="4.5" />
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
<authentication mode="None" />
|
||||
<httpHandlers>
|
||||
<add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
|
||||
</httpHandlers>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<rewrite>
|
||||
<rules>
|
||||
<clear />
|
||||
<rule name="pages HTTP to HTTPS" enabled="false" stopProcessing="true">
|
||||
<match url=".*" />
|
||||
<conditions>
|
||||
<add input="{HTTPS}" pattern="off" />
|
||||
</conditions>
|
||||
<action type="Redirect" url="https://{HTTP_HOST}{URL}" appendQueryString="true" redirectType="Found" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
<handlers>
|
||||
<remove name="dotless" />
|
||||
<add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" resourceType="File" preCondition="" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<dotless minifyCss="false" cache="false" web="false" />
|
||||
<log4net>
|
||||
<logger name="ASC">
|
||||
<appender-ref ref="File" />
|
||||
<level value="ALL" />
|
||||
</logger>
|
||||
<logger name="ASC.SQL" additivity="false">
|
||||
<appender-ref ref="Sql" />
|
||||
<level value="TRACE" />
|
||||
</logger>
|
||||
<appender name="File" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="..\logs\OneClickInstallation.log" />
|
||||
<encoding value="utf-8" />
|
||||
<rollingStyle value="Date" />
|
||||
<datePattern value=".MM-dd.lo\g" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date %-5level [%thread] %logger - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="Sql" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="..\logs\OneClickInstallation.SQL.log" />
|
||||
<encoding value="utf-8" />
|
||||
<rollingStyle value="Size" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="50MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%utcdate|%thread|%property{duration}|%message|%property{sql}|%property{sqlParams}%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" />
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
</configSections>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<clear />
|
||||
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
<connectionStrings>
|
||||
<clear />
|
||||
<add name="tmresource" connectionString="Server=localhost;Database=teamlab;User ID=root;Password=teamlab;Pooling=True;Character Set=utf8;AutoEnlist=false" providerName="MySql.Data.MySqlClient" />
|
||||
<add name="tmresourceTrans" connectionString="Server=localhost;Database=teamlab;User ID=root;Password=teamlab;Pooling=True;Character Set=utf8;AutoEnlist=false" providerName="MySql.Data.MySqlClient" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<clear />
|
||||
<add key="webpages:Version" value="2.0.0.0" />
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
<add key="languages" value="en" />
|
||||
<add key="maxFileSize" value="1048576" />
|
||||
<add key="resources.from-db" value="false" />
|
||||
<add key="analyticsFileUrl" value="" />
|
||||
<add key="termsFileUrl" value="https://help.onlyoffice.com/products/files/doceditor.aspx?fileid=4404722&doc=L3ZQczhiWDYrTDNsQ0NFNXk5R1RlaWhySEdIcTk1YXI1YXh0dHhtSVd0bz0_IjQ0MDQ3MjIi0" />
|
||||
<add key="emailSender" value="smtp.email.test|587|sender@email.test|password|true" />
|
||||
<add key="supportEmail" value="server@onlyoffice.com" />
|
||||
<add key="sourceUrl" value="https://github.com/ONLYOFFICE/OneClickInstall" />
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<customErrors mode="On" defaultRedirect="/">
|
||||
<error statusCode="404" redirect="404.htm" />
|
||||
<error statusCode="500" redirect="500.htm" />
|
||||
</customErrors>
|
||||
<compilation debug="false" targetFramework="4.5" />
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
<authentication mode="None" />
|
||||
<httpHandlers>
|
||||
<add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
|
||||
</httpHandlers>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<rewrite>
|
||||
<rules>
|
||||
<clear />
|
||||
<rule name="pages HTTP to HTTPS" enabled="false" stopProcessing="true">
|
||||
<match url=".*" />
|
||||
<conditions>
|
||||
<add input="{HTTPS}" pattern="off" />
|
||||
</conditions>
|
||||
<action type="Redirect" url="https://{HTTP_HOST}{URL}" appendQueryString="true" redirectType="Found" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
<handlers>
|
||||
<remove name="dotless" />
|
||||
<add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" resourceType="File" preCondition="" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<dotless minifyCss="false" cache="false" web="false" />
|
||||
<log4net>
|
||||
<logger name="ASC">
|
||||
<appender-ref ref="File" />
|
||||
<level value="ALL" />
|
||||
</logger>
|
||||
<logger name="ASC.SQL" additivity="false">
|
||||
<appender-ref ref="Sql" />
|
||||
<level value="TRACE" />
|
||||
</logger>
|
||||
<appender name="File" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="..\logs\OneClickInstallation.log" />
|
||||
<encoding value="utf-8" />
|
||||
<rollingStyle value="Date" />
|
||||
<datePattern value=".MM-dd.lo\g" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date %-5level [%thread] %logger - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="Sql" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="..\logs\OneClickInstallation.SQL.log" />
|
||||
<encoding value="utf-8" />
|
||||
<rollingStyle value="Size" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="50MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%utcdate|%thread|%property{duration}|%message|%property{sql}|%property{sqlParams}%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
</configuration>
|
Loading…
x
Reference in New Issue
Block a user