Commit Graph

90 Commits

Author SHA1 Message Date
Lars-Erik Aabech
c967d6a0fc Makes Container.CreateInstance into an extension 2018-10-26 21:14:19 +02:00
Stephan
eee7222e0b Refactor filesystems 2018-10-26 16:06:45 +02:00
Stephan
a12778fd94 Cleanup IContainer 2018-10-26 16:06:45 +02:00
Lars-Erik Aabech
026f10f38a Register instance by name 2018-10-23 21:31:20 +02:00
Lars-Erik Aabech
fbd73dd596 Revert "REVIEW/FIX: Just removing placeholder IApplicationTreeService and ISectionService registrations until we figure defaulting."
This reverts commit 57d22a87c0.
2018-10-22 23:21:27 +02:00
Lars-Erik Aabech
8664f90167 Merge remote-tracking branch 'fork/temp8-u4-11427-remove-propertyinjection' into castle-compatibility-cleanup
# Conflicts:
#	src/Umbraco.Tests/Models/MediaXmlTest.cs
2018-10-16 19:44:48 +02:00
Stephan
66d931490e Merge branch temp8 into temp8-di2690 2018-10-08 19:22:20 +02:00
elitsa
85309e8ce5 Merge branch 'temp8-I3089' of https://github.com/umbraco/Umbraco-CMS into temp8-I3089 2018-10-08 10:23:53 +02:00
elitsa
9ad65e5fa8 Deleting 'Task' related references and implementations 2018-10-08 10:08:04 +02:00
Stephan
ef3099ec58 Expose variation context accessor on Current 2018-10-03 16:16:50 +02:00
Lars-Erik Aabech
4ffcdf6943 Replaced base controller factory with one using the container o:) 2018-09-09 22:58:19 +02:00
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
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
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
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
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
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
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
bb7fd0af25 Another one got through the net 2018-08-16 14:47:42 +01:00
Warren
f9ba6970f4 Last pass of updating log messages in the solution 2018-08-16 12:42:21 +01:00
Warren
2a298aaaf5 FIRST PASS - Updates Umbraco.Core project to not use the func overload & to use new message template instead 2018-08-14 15:08:32 +01:00
Stephan
ec95017e2c Cleanup DI 2018-07-30 14:29:54 +02:00
Lars-Erik Aabech
c885f850e9 Container should be registered with itself 2018-07-28 01:05:07 +02:00
Lars-Erik Aabech
caa2802c16 Moved creation of container into ContainerFactory 2018-07-27 21:21:21 +02:00
Warren
ac8d3579be Remove log4net of the types/assemblies to ignore TypeFinding checking in 2018-07-27 13:57:21 +01:00
Stephan
0eb1ba56a4 Comments 2018-07-23 12:19:26 +02:00
Stephan
6d40269ade More cleanup 2018-07-23 11:08:33 +02:00
Stephan
d2376bf4e3 Cleanup registrations 2018-07-23 08:56:08 +02:00
Stephan
a00f2f0bb9 Refactor, fix collection builders, fix tests 2018-07-21 10:47:29 +02:00
Stephan
981152b693 Move IContainer extension methods 2018-07-20 16:39:39 +02:00
Stephan
97da0829a2 Refactor collection builders for IContainer 2018-07-20 16:36:46 +02:00
Stephan
5836cd05cb Abstract container (in progress) 2018-07-20 15:45:01 +02:00
Stephan
9e9a0d301f Cleanup and Refactor 2018-07-20 09:49:05 +02:00
Stephan
fded7db542 Merge branch temp8 into temp8-di 2018-07-18 10:46:42 +02:00
Shannon
ec1d013004 Manually merges the IgnorePublishedContentCollisions change, removes more service locator pattern, removes ContextMapper with UmbracoContext and instead uses IUmbracoContextAccessor and adjusts some DI. 2018-07-18 14:34:32 +10:00
Stephan
9341278492 Cleanup CacheHelper 2018-07-13 12:11:00 +02:00
Stephan
f678c72c4d DisabledCacheHelper, LightInjectContainer 2018-07-06 18:52:23 +02:00
Stephan
60d73c55d0 Cleanup IContainer 2018-07-06 18:37:35 +02:00
Stephan
57d7888740 Merge branch temp8 into temp8-di 2018-07-06 17:49:02 +02:00
Stephan
9bc8ace8db TEMP 2018-06-29 13:17:46 +02:00
Dawid Koruba
51ab9e32de Change calls to logger.Debug method to use Func<string> parameter 2018-06-29 12:35:31 +02:00