Lars-Erik Aabech
57d22a87c0
REVIEW/FIX: Just removing placeholder IApplicationTreeService and ISectionService registrations until we figure defaulting.
2018-09-09 22:58:06 +02:00
Lars-Erik Aabech
1418d3124d
Registering IdentityMapperProfile as a Profile as well
2018-09-09 22:57:37 +02:00
Lars-Erik Aabech
b4b09bc116
Changes to allow using container from third party tests
2018-09-09 22:57:04 +02:00
Lars-Erik Aabech
1198191e05
Wrapping server messenger factory to avoid re-registering for now.
2018-09-09 22:55:37 +02:00
Lars-Erik Aabech
236a755f78
Registration changes for LI when registereing transients.
...
Can now boot backoffice and can log in when using LightInject.
Before this, the automapper profiles weren't there on the container even if registered.
These changes seem to have solved it.
No real proof or testing back and forth, but it makes LI work...
# Conflicts:
# src/Umbraco.Web/Runtime/WebRuntimeComponent.cs
2018-09-09 22:55:00 +02:00
Lars-Erik Aabech
04944f2c0c
Virtualizing registration of the cache helper
...
# Conflicts:
# src/Umbraco.Core/Runtime/CoreRuntime.cs
# src/Umbraco.Web/Runtime/WebRuntime.cs
2018-09-09 22:52:35 +02:00
Lars-Erik Aabech
51c4962477
Registering lightinject with itself again due to mapper collection builder.
...
It now fails becuse it doesn't support last registered as default ootb when instantiating cachehelper.
Castle fails on missing mapper collection builder when examine starts indexing.
2018-09-09 22:48:59 +02:00
Lars-Erik Aabech
6bb507037b
Initializer interface for components. Supports both reflected and injected versions for now.
2018-09-09 22:48:08 +02:00
Lars-Erik Aabech
97318ace1d
MediaFileSystem created with reflection due to chicken and egg situation with registration
2018-09-09 22:47:51 +02:00
Lars-Erik Aabech
9da750c5c9
Support registering named singleton
2018-09-09 22:46:14 +02:00
Lars-Erik Aabech
bc80affcf1
Dictionary params & error handling
2018-09-09 22:45:09 +02:00
Stephan
70d93d4668
Merge branch temp8 into temp8-di2690
2018-08-31 08:47:01 +02:00
Stephan
4a32eebb0b
Cleanup logging
2018-08-30 19:08:55 +02:00
Stephan
069c42ef36
Ensure all ILogger impl support message templates
2018-08-30 10:48:27 +02:00
Stephan
557bea5f95
Move LightInjectExtensions to proper space
2018-08-30 09:30:49 +02:00
Stephan
fed9e27332
Revert "Get rid of container TryGetInstance"
...
This reverts commit 00b1dda2fe .
2018-08-29 18:50:08 +02:00
Stephan
31a356d98e
Merge branch temp8 into temp8-di2690
2018-08-29 12:15:39 +02:00
Stephan
9e07bf0948
Improve ILogger documentation
2018-08-29 09:12:14 +02:00
Stephan
f791198817
Version 8.0.0-alpha.49 for ModelsBuilder
2018-08-28 18:45:37 +02:00
Stephan
eaacdc0514
Deal with fixmes in IContent IsCultureSomething
2018-08-28 15:11:13 +02:00
Shannon Deminick
a151829b26
Merge pull request #2845 from umbraco/temp8-serilog
...
Bye bye Log4Net, Hello Serilog
2018-08-28 20:31:12 +10:00
Warren
34452e72c0
Adds the shared option to the File sink to avoid file locking & if app restarts we don't get _001 or _002 files etc
2018-08-28 09:46:51 +01:00
Shannon
94cbe3b1b8
updates timing id
2018-08-28 15:40:20 +10:00
Shannon
6506abd451
Simplifies logger calls to proxy all calls to a single method of it's type
2018-08-28 15:38:36 +10:00
Shannon
8d6e297c37
Adds additional Fatal methods to match Error and move Fatal code above error so all logger code goes from Fatal -> Verbose
2018-08-28 15:24:45 +10:00
Stephan
2319617fed
Cleanup LightInjectContainer
2018-08-27 18:09:10 +02:00
Stephan
00b1dda2fe
Get rid of container TryGetInstance
2018-08-27 18:08:59 +02:00
Stephan
e8dfca5635
Merge branch temp8 into temp8-di2690
2018-08-27 10:19:41 +02:00
Warren
24f91f1917
Adds in Error without ex for just a message and a message template with params
2018-08-23 14:43:38 +01:00
Warren
fb4b0ceb69
Verified the log works correctly from my TODO note
2018-08-23 13:23:40 +01:00
Warren
afebd88d45
Update ImageProcessorLogger - to use the new Error logger method that contains only an ex - and under the hood it will pass on an empty string to the message
2018-08-23 12:26:33 +01:00
Warren
0c9ac7fa45
Make Log4NetLevel enricher internal - no need for it to be public
2018-08-23 12:16:43 +01:00
Warren
66e4e1f0f4
Adds new method to ILogger for taking only the exception - NOTE will add an empty string for the message
2018-08-23 12:14:07 +01:00
Shannon
c164a4789b
Fixes Slider
2018-08-22 14:13:33 +10:00
Warren
3baf5697e4
Add in MachineName as a Serilog property
2018-08-21 12:48:06 +01:00
Shannon
04db0caa63
Merge remote-tracking branch 'origin/dev-v7' into temp8
...
# Conflicts:
# src/SolutionInfo.cs
# src/Umbraco.Core/Configuration/UmbracoVersion.cs
# src/Umbraco.Core/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Core/Migrations/Upgrade/V_7_12_0/AddRelationTypeForMediaFolderOnDelete.cs
# src/Umbraco.Core/Migrations/Upgrade/V_7_12_0/IncreaseLanguageIsoCodeColumnLength.cs
# src/Umbraco.Core/Persistence/DatabaseModelDefinitions/ConstraintDefinition.cs
# src/Umbraco.Core/Persistence/DatabaseModelDefinitions/DbIndexDefinition.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AddIndexToCmsMacroPropertyTable.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AddIndexToCmsMacroTable.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AlterTagsTable.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AssignMissingKeysAndIndexes.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenEightZero/AddIndexToPropertyTypeAliasColumn.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/AddForeignKeysForLanguageAndDictionaryTables.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/MigrateAndRemoveTemplateMasterColumn.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/UpdateUniqueIdToHaveCorrectIndexType.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenTwoZero/AddMissingForeignKeyForContentType.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
# src/Umbraco.Core/Persistence/SqlSyntax/ISqlSyntaxProvider.cs
# src/Umbraco.Core/Persistence/SqlSyntax/MySqlSyntaxProvider.cs
# src/Umbraco.Core/Persistence/SqlSyntax/SqlCeSyntaxProvider.cs
# src/Umbraco.Core/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
# src/Umbraco.Core/Persistence/SqlSyntax/SqlSyntaxProviderBase.cs
# src/Umbraco.Core/Persistence/SqlSyntax/SqlSyntaxProviderExtensions.cs
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.editor.html
# src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/DatabaseSchemaValidationHealthCheck.cs
# src/Umbraco.Web/Scheduling/KeepAlive.cs
# src/Umbraco.Web/Trees/ApplicationTreeExtensions.cs
2018-08-20 15:16:58 +10:00
Warren
9e996c68bb
Refactored the error params, so that exception is before the message/template so its more in sync with Serilog signature & was an easy way to find some more logs I missed too
2018-08-17 15:41:58 +01:00
Warren
38984181fc
Adds the Fatal Logger Extension method <T>
2018-08-17 11:38:31 +01:00
Warren
a020d60f3e
Adds in new log level from Serilog to our Umbraco ILogger - Fatal (Worse than Error)
2018-08-17 11:26:22 +01:00
Shannon
49430ca0a5
fixes logic order of dropping indexes
2018-08-17 16:07:53 +10:00
Shannon
9d75e36eb4
Ensures that checking for constraints/indexes is done within the transaction before dropping anything instead of before the transaction.
2018-08-17 15:20:12 +10:00
Shannon
5068b8ae9f
Fixes DB schema validation
2018-08-17 11:16:10 +10:00
Shannon
cdf3581721
code simplification
2018-08-17 10:53:45 +10:00
Shannon
0c6cca44d8
Fixes SQL providers for returning the correct results for constraints
2018-08-17 10:53:21 +10:00
Warren
ce4a19a20a
Update OWIN logger with message template properties - mostly used for user X logged in (however we can't log those messages with properties) :(
2018-08-16 15:24:45 +01:00
Warren
bb7fd0af25
Another one got through the net
2018-08-16 14:47:42 +01:00
Warren
0fdccc9c2f
Found another log item that was using string interpolation
2018-08-16 14:40:33 +01:00
Sebastiaan Janssen
b9e8dd8b86
Removes unused import statement
2018-08-16 13:47:20 +02:00
Warren
f9ba6970f4
Last pass of updating log messages in the solution
2018-08-16 12:42:21 +01:00
Warren
47c8651609
Update more logging messages to use templates as opposed to string formats that were using the LoggerExtensions <T>
2018-08-16 12:00:12 +01:00