Commit Graph

16251 Commits

Author SHA1 Message Date
Shannon
4ce9964019 fix merge issues 2016-05-19 17:21:34 +02:00
Shannon
f9ba3fe76f Merge branch 'dev-v8' into dev-v8-ExamineV2
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
#	src/Umbraco.Core/Plugins/PluginManager.cs
#	src/Umbraco.Core/Services/ContentService.cs
#	src/Umbraco.Core/Services/IContentService.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Tests/Persistence/Repositories/NotificationsRepositoryTest.cs
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
#	src/Umbraco.Tests/Services/MediaServiceTests.cs
#	src/Umbraco.Tests/Services/ThreadSafetyServiceTest.cs
#	src/Umbraco.Web.UI/config/ClientDependency.config
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/UmbracoExamine/UmbracoContentIndexer.cs
2016-05-19 16:32:22 +02:00
Shannon
6975642a98 puts the scheduled publish in a uow + lock 2016-05-19 15:45:46 +02:00
Shannon Deminick
0ad2a2bfa4 Merge pull request #1219 from MangoPieface/PublicAccessServiceExtension-HasAccessRemoval
U4-8199 - Removal of the internal unused obsolete HasAccess method in PublicAccessServiceExtensions.cs
2016-05-19 11:18:56 +02:00
Shannon
8127731f72 Namespace and file cleanup - Profiling --> Logging, root cache stuff moved to Cache, XmlHelper --> Xml, TypeFinder, etc.. --> Plugins 2016-05-18 23:34:56 +02:00
Shannon
7fb1b4fb3b Updates all cache refreshers to use ctor injection, no more applicationcontext singleton usages 2016-05-18 18:44:08 +02:00
Shannon
2880190b6f Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8 2016-05-18 18:13:04 +02:00
Shannon
f51a98435f removes LegacyTransientObjectsResolver (no longer needed), makes CacheRefreshersResolver into a container resolver so we can ctor inject into them (these should NOT be transient instances), Fixes more extension methods that rely on ApplicationContext.Current which exposes a few issues like DescendantsAndSelf since that was only getting them for content types! 2016-05-18 18:12:41 +02:00
Stephan
57ee598fc5 Make sure to dispose UnitOfWork in tests 2016-05-18 16:53:32 +02:00
Shannon
885595b1e6 Hides and Obsoletes crappy extension methods that rely on ApplicationContext.Current and updates all usages to not use them - this is most important because the services were using extensions methods that go back out to the ApplicationContext.Current (booo!) 2016-05-18 16:06:59 +02:00
Shannon
e20c1cd0bb U4-8465 Remove Core.Publishing namespace and classes 2016-05-18 13:10:36 +02:00
Stephan
ddf38407d8 U4-4847 Refactor ContentService (#1266)
* U4-4748 - refactor Content-, Media- and MemberTypeRepository

* Cleanup Attempt

* Cleanup OperationStatus

* U4-4748 - refactor Content-, Media- and MemberTypeService

* U4-4748 - cleanup locking

* U4-4748 - refactor Content-, Media- and MemberRepository

* U4-4748 - refactor ContentService (in progress)

* U4-4748 - all unit of work must be completed

* U4-4748 - refactor locks, fix tests

* U4-4748 - deal with fixmes

* U4-4748 - lock table migration

* Update UmbracoVersion

* Fix AuthorizeUpgrade

* U4-4748 - cleanup+bugfix lock objects

* U4-4748 - bugfix

* updates a string interpolation
2016-05-18 10:55:19 +02:00
Stephan
12f4873c90 Kill IHttpContextAccessor 2016-05-17 19:41:02 +02:00
Stephan
9ac2c94373 post-merge + bugfixing 2016-05-17 18:56:33 +02:00
Stephan
edda877fd6 Merge origin/dev-v8 into dev-v8-ExamineV2 2016-05-17 13:21:47 +02:00
Stephan
04ae479476 Fix build.bat so it supports C# 6 2016-05-13 14:16:47 +02:00
Stephan
4891bbf9a4 Update UmbracoVersion 2016-05-13 14:16:27 +02:00
Stephan
9458fad190 Upgrade to NPoco 3.3.0-beta3 2016-05-10 08:48:49 +02:00
Shannon
1a522f2136 Removes Auditing namespace 2016-05-09 10:10:26 +02:00
Shannon
648fbdd3f3 moves packaging models to models/packaging 2016-05-09 10:05:55 +02:00
Stephan
aee7973c11 IScopeContextAdapter uses LogicalCallContext 2016-05-04 08:31:21 +02:00
Shannon Deminick
892935469d Merge pull request #1251 from umbraco/dev-v8-context
From IScopeContext/Factory to IScopeContextAdapter
2016-05-03 22:33:48 +02:00
Shannon
a2bc99fabd Removes AmbientContext 2016-05-03 22:33:29 +02:00
Shannon
4619b7b67b fixes merge/rebase 2016-05-03 22:30:45 +02:00
Stephan
0b1f12c823 From IScopeContext/Factory to IScopeContextAdapter 2016-05-03 22:23:42 +02:00
Shannon Deminick
5d72bcdc86 Merge pull request #1249 from umbraco/temp-u4-6147
U4-6147
2016-05-03 22:19:53 +02:00
Stephan
4f0718ef3f U4-6147 - cleanup 2016-05-03 15:50:10 +02:00
Shannon
c25f12b1cd Updates all examine refs - uses Nuget 2016-05-03 13:00:55 +02:00
Stephan
715e03d1c5 U4-6147 - fix tests 2016-05-03 11:15:04 +02:00
Stephan
94c82c7cf7 U4-6147 - cleanup units of work 2016-05-03 11:14:55 +02:00
Stephan
8f820d2ecf Merge dev-v8 into temp-u4-6147 2016-05-03 09:07:36 +02:00
Shannon
f90a9c2e5e fixes unit tests, all should pass now 2016-05-02 18:29:35 +02:00
Shannon
3c446cbf82 Adds IQueryFactory property to IDatabaseFactory, DatabaseContext.
Changes exposed Query<T> to correct IQuery<T>
Creates interface for QueryFactory: IQueryFactory
Updates all repositories with these changes
2016-05-02 15:38:45 +02:00
Stephan
dbaede43af U4-6147 - GetUnitOfWork becomes CreateUnitOfWork 2016-05-02 12:24:13 +02:00
Stephan
dc0456e108 U4-6147 - stop injecting RepositoryFactory into services (it's in uow) 2016-05-02 12:18:25 +02:00
Stephan
be32448426 U4-6147 - cleanup persistence units of work (in progress) 2016-05-02 12:12:21 +02:00
Stephan
578cb6eafb U4-6147 - repositories are not disposable (in progress) 2016-04-29 19:14:02 +02:00
Shannon
8ab482dbfb Merge branch 'dev-v8' into dev-v8-ExamineV2
Conflicts:
	src/Umbraco.Tests/packages.config
	src/Umbraco.Web.UI/config/ClientDependency.config
2016-04-29 17:12:59 +02:00
Shannon
a5cbca348f re-delete files ... argh thanks gitkraken. 2016-04-29 17:11:51 +02:00
Shannon
bd31dd6caf Fixes issue with ThreadStatic db
Uses IScopeContext which wraps either HttpContext or CallContext which is created/injected via IOC factory.
2016-04-29 17:08:34 +02:00
Shannon
5c24a3a734 Fixes AuthorizeUpgrade HtmlHelper reference 2016-04-29 15:22:07 +02:00
Shannon Deminick
e0a5ad5236 Merge pull request #1226 from umbraco/dev-v8-persistclr
Core.Persistence - post-NPoco cleanup & refactor
2016-04-29 15:18:33 +02:00
Shannon
74b83f30c3 Gets all tests passing and updates content/media svc/repos with filters
The content/media services & repos are now consistent with their filter, filterargs parameters and tests have been updated to support this, we can now pass in more robust filters to these methods which is required by Examine to get published content from the db.
2016-04-29 10:50:03 +02:00
Stephan
8ab61039ed U4-6147 - refactor RepositoryFactory and all IUnitOfWork (in progress) 2016-04-29 09:10:00 +02:00
Shannon
209e9373d0 Rebuild on startup working
Gets indexes rebuilding at startup, gets indexes rebuilding with published content which required some updates to the content service/repo to pass in a more robust filter when paging. Added more tasks to fix up more of the examine parts like the local storage sync which currently just throws exceptions.
2016-04-29 00:50:26 +02:00
Shannon
734f5f35dc Fixes tests 2016-04-28 22:12:55 +02:00
Shannon
cba64aeb49 cleans up the UmbracoExamineSearcher class
makes sure the temp storage stuff works - but this will be only configuration based searchers (legacy)
2016-04-28 20:19:38 +02:00
Shannon
0f2c59b735 Obsolete code updated to correct usages
Updates most of the code in the umbraco examine indexers to use current (non deprecated examine code)
2016-04-28 18:39:52 +02:00
Stephan
b0a33844b1 Fixing tests - database 2016-04-27 19:59:01 +02:00
Shannon
f992c47111 all tests passing 2016-04-27 16:37:57 +02:00