3.0 source code

This commit is contained in:
agolybev
2015-04-28 17:59:00 +03:00
parent c69fd34bdd
commit 7b3b2248e5
16311 changed files with 1445974 additions and 3108429 deletions

BIN
Tools/Bin/AllFontsGen Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,3 +0,0 @@
cd /D %~dp0
AllFontsGen.exe ..\DocService\OfficeWeb\sdk\Common\AllFonts.js
pause

View File

@@ -0,0 +1,14 @@
#!/bin/sh
DIR="/var/www/onlyoffice/documentserver"
#Start generate AllFonts.js, font thumbnails and font_selection.bin
sudo -u onlyoffice "$DIR/Tools/AllFontsGen"\
"/usr/share/fonts"\
"$DIR/DocService/OfficeWeb/sdk/Common/AllFonts.js"\
"$DIR/DocService/OfficeWeb/sdk/Common/Images"\
"$DIR/FileConverterService/Bin/font_selection.bin"
#Restart web-site and converter
sudo supervisorctl restart DocService
sudo supervisorctl restart FileConverterService

Binary file not shown.

View File

@@ -1,19 +0,0 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<appender name="DebugAppender" type="log4net.Appender.DebugAppender">
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n" />
</layout>
</appender>
<root>
<level value="ERROR" />
<appender-ref ref="DebugAppender" />
</root>
</log4net>
<appSettings>
</appSettings>
</configuration>