-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtest.config
453 lines (427 loc) · 21.9 KB
/
test.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<?xml version="1.0" encoding="UTF-8"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Legimi.Ext.DRMServer.Services.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="Legimi.Core.Persistency.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
<section name="miniatureTransformsSection" type="Legimi.Ext.DRMServer.Core.Configuration.MiniatureTransformsSection, Legimi.Ext.DRMServer.Core"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<applicationSettings>
<Legimi.Core.Persistency.Properties.Settings>
<setting name="ItemUrlFormat" serializeAs="String">
<value>http://www.legimi.com/pl/catalogue/{0}/{1}/</value>
</setting>
<setting name="ImageHomeUrlFormat" serializeAs="String">
<value>http://www.legimi.com/imageshandler/{0}/{1}/</value>
</setting>
<setting name="CommandTimeout" serializeAs="String">
<value>200</value>
</setting>
</Legimi.Core.Persistency.Properties.Settings>
<Legimi.Ext.DRMServer.Services.Properties.Settings>
<setting name="epubCheckEnabled" serializeAs="String">
<!-- disable for now - user files are checked before uploading -->
<value>False</value>
</setting>
<setting name="epubCheckOverrides" serializeAs="Xml">
<value>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<string>attribute ".*" not allowed here</string>
<string>element "img" missing required attribute "alt"</string>
<string>non-standard media-type 'image/jpg' with no fallback</string>
<string>element "body" incomplete</string>
<string>element ".*" not allowed here</string>
<string>text not allowed here</string>
<string>epub\+zip expected</string>
<string>non\-standard image resource '.*' of type </string>
<string>element ".*" incomplete</string>
<string>fragment identifier is not defined in</string>
<string>referenced resource missing in the package</string>
<string>The "id" attribute does not have a unique value</string>
<string>duplicate resource: OEBPS/Fonts/LiberationSerif-Bold.otf</string>
<string>extra field length for first filename must be 0, but was</string>
<string>value of attribute "preserveAspectRatio" is invalid</string>
<!-- <string>element "body" incomplete</string>
<string>element ".*" not allowed here</string>
<string>text not allowed here</string>-->
</ArrayOfString>
</value>
</setting>
<setting name="epubFixPathsEnabled" serializeAs="String">
<value>False</value>
</setting>
<setting name="allowNotProtectedContent" serializeAs="String">
<value>True</value>
</setting>
<setting name="epubFixAllEnabled" serializeAs="String">
<value>False</value>
</setting>
<setting name="subDevLimit" serializeAs="String">
<value>6</value>
</setting>
<!--<setting name="encryptRawFiles" serializeAs="Bool">
<value>false</value>
</setting>-->
</Legimi.Ext.DRMServer.Services.Properties.Settings>
</applicationSettings>
<appSettings>
</appSettings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation>
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<!-- if you change maxRequestLength, you need to change corresponding properties
in the binding "BasicHttpBinding_MTOM"
and in the section: system.webServer/security/requestFiltering/requestLimits -->
<httpRuntime maxRequestLength="2147483647" executionTimeout="3600" requestLengthDiskThreshold="2147483647"/>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<!--<authentication mode="Windows" />-->
<identity impersonate="false"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm"/>
<error statusCode="404" redirect="FileNotFound.htm"/>
</customErrors>
-->
<customErrors mode="Off"/>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<security>
<requestFiltering allowDoubleEscaping="true">
<requestLimits maxAllowedContentLength="2147483647"></requestLimits>
</requestFiltering>
</security>
<modules>
<add name="ScriptModule" preCondition="integratedMode"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
<directoryBrowse enabled="true"/>
</system.webServer>
<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0"></serviceHostingEnvironment>
<standardEndpoints>
<webScriptEndpoint>
<standardEndpoint crossDomainScriptAccessEnabled="true"></standardEndpoint>
</webScriptEndpoint>
</standardEndpoints>
<!--<serviceHostingEnvironment aspNetCompatibilityEnabled="true">
</serviceHostingEnvironment>-->
<services>
<!--v2-->
<service behaviorConfiguration="DefaultServiceBehavior" name="Legimi.Ext.DRMServer.Services.PublishingService">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit"/>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_MTOM" contract="Legimi.Ext.Services.IPublishingService"
bindingNamespace="urn:legimi.com:publishing"/>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_MTOM_Insecure" contract="Legimi.Ext.Services.IPublishingService"
bindingNamespace="urn:legimi.com:publishing"/>
</service>
<service behaviorConfiguration="DefaultServiceBehavior" name="Legimi.Ext.DRMServer.Services.ContentService">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit"/>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_MTOM" contract="Legimi.Ext.Services.IContentService"
bindingNamespace="urn:legimi.com:content"/>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_MTOM_Insecure" contract="Legimi.Ext.Services.IContentService"
bindingNamespace="urn:legimi.com:content"/>
</service>
<service behaviorConfiguration="DefaultServiceBehavior" name="Legimi.Ext.DRMServer.Services.BillingService">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit"/>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="DefaultHttpBinding" contract="Legimi.Ext.Services.IBillingService"
bindingNamespace="urn:legimi.com:billing"/>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="DefaultHttpBinding_Insecure" contract="Legimi.Ext.Services.IBillingService"
bindingNamespace="urn:legimi.com:billing"/>
</service>
<service name="Legimi.Ext.DRMServer.Services.PromoService.ssl">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit"/>
<endpoint address="" binding="webHttpBinding" behaviorConfiguration="webHttpBehavior" bindingConfiguration="webHttpsBindingJsonP"
contract="Legimi.Ext.Services.IPromoService" bindingNamespace="urn:legimi.com:promo"/>
<endpoint address="" binding="webHttpBinding" behaviorConfiguration="webHttpBehavior" bindingConfiguration="webHttpBindingJsonP"
contract="Legimi.Ext.Services.IPromoService" bindingNamespace="urn:legimi.com:promo"/>
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="webHttpBehavior">
<webHttp/>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="DefaultServiceBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<Inspector/>
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
</behavior>
</serviceBehaviors>
</behaviors>
<extensions>
<behaviorExtensions>
<add name="Inspector"
type="Legimi.Ext.Security.WCF.SecurityBehaviorElement, Legimi.Ext.Security.WCF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
</behaviorExtensions>
</extensions>
<bindings>
<webHttpBinding>
<binding name="webHttpBindingJsonP" crossDomainScriptAccessEnabled="true"></binding>
<binding name="webHttpsBindingJsonP" crossDomainScriptAccessEnabled="true">
<security mode="Transport">
</security>
</binding>
</webHttpBinding>
<basicHttpBinding>
<!--<binding name="BasicHttpBinding_IMetaPublishingService" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Mtom">
<readerQuotas maxDepth="32" maxStringContentLength="10000" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="">
<extendedProtectionPolicy policyEnforcement="Never"/>
</transport>
<message clientCredentialType="UserName" algorithmSuite="Default"/>
</security>
</binding>-->
<binding name="BasicHttpBinding_MTOM_Insecure" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom">
<readerQuotas maxArrayLength="2147483647" maxStringContentLength="65536"/>
<security mode="None">
<transport clientCredentialType="None">
</transport>
</security>
</binding>
<binding name="DefaultHttpBinding_Insecure" transferMode="StreamedResponse" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxStringContentLength="655360"/>
<security mode="None">
<transport clientCredentialType="None">
</transport>
</security>
</binding>
<binding name="BasicHttpBinding_MTOM" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom">
<readerQuotas maxArrayLength="2147483647" maxStringContentLength="65536"/>
<security mode="Transport">
<transport clientCredentialType="None">
</transport>
</security>
</binding>
<binding name="DefaultHttpBinding" transferMode="StreamedResponse" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxStringContentLength="655360"/>
<security mode="Transport">
<transport clientCredentialType="None">
</transport>
</security>
</binding>
</basicHttpBinding>
<netTcpBinding>
<binding name="NetTcpEndPoint" maxReceivedMessageSize="655360000">
<readerQuotas maxStringContentLength="655360000" maxArrayLength="655360000"/>
<security mode="None"/>
</binding>
</netTcpBinding>
</bindings>
</system.serviceModel>
<log4net xsi:noNamespaceSchemaLocation="http://csharptest.net/downloads/schema/log4net.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<root>
<level value="DEBUG"/>
<appender-ref ref="RollingLogFileAppender"/>
<appender-ref ref="SmtpAppender"/>
<appender-ref ref="TraceAppender"/>
<!--<appender-ref ref="QAppender"/>-->
</root>
<logger name="sql">
<level value="DEBUG"></level>
<appender-ref ref="SqlLogAppender"/>
</logger>
<!-- Appenders go below: -->
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%date] [%-5level] %logger - %message%newline"/>
</layout>
</appender>
<appender name="SqlLogAppender" type="log4net.Appender.RollingFileAppender">
<file value="log\sql.log"/>
<appendToFile value="true"/>
<rollingStyle value="Composite"/>
<maxSizeRollBackups value="-1"/>
<maximumFileSize value="5MB"/>
<datePattern value="yyyy-MM-dd"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level: %message%newline"/>
</layout>
</appender>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="log\drmsrv.log"/>
<appendToFile value="true"/>
<rollingStyle value="Composite"/>
<maxSizeRollBackups value="-1"/>
<maximumFileSize value="5MB"/>
<datePattern value="yyyy-MM-dd"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%-5.5thread] %-5level: [ %-30.30logger ] %-100message |%C::%M|%newline"/>
</layout>
</appender>
<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
<filter type="log4net.Filter.LevelRangeFilter">
<acceptOnMatch value="true"/>
<levelMin value="ERROR"/>
</filter>
<evaluator type="log4net.Core.LevelEvaluator">
<threshold value="ERROR"/>
</evaluator>
<to value="[email protected]"/>
<from value="[email protected]"/>
<subject value="ERROR @ My Project"/>
<smtpHost value="ActivationEmailSMTP"/>
<port value="25"/>
<authentication value="Basic"/>
<username value="[email protected]"/>
<password value="crash_ol_je"/>
<bufferSize value="512"/>
<lossy value="false"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline"/>
</layout>
</appender>
<appender name="TraceAppender" type="log4net.Appender.TraceAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
</layout>
</appender>
<appender name="QAppender" type="QLogger.Log4net.QAppender, QLogger.Log4net">
<evaluator type="log4net.Core.LevelEvaluator">
<threshold value="ERROR"/>
</evaluator>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message @%method %newline"/>
</layout>
</appender>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.3.0.0" newVersion="3.3.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.15.0" newVersion="1.2.15.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.WindowsAzure.Storage" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.2.0" newVersion="5.0.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.WindowsAzure.Configuration" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<miniatureTransformsSection>
<miniatureTransforms>
<miniature name="w240">
<size width="240" />
</miniature>
<miniature name="w120">
<size width="120" />
</miniature>
<miniature name="w712">
<size width="712" />
</miniature>
</miniatureTransforms>
</miniatureTransformsSection>
</configuration>