Stephan
132c3c0c8e
Cleanup PR, document and rename things
2019-02-01 17:19:12 +01:00
Bjarke Berg
9acf913872
#3545 - Added IContentTypeServiceBaseFactory to create a IContentTypeServiceBase (E.g. IContentTypeService or IMediaTypeService) based on the type of the IContentBase
2019-02-01 14:07:31 +01:00
Shannon
355ac09d90
WIP - moved out the tree and section service from Core, these are web only things, removes their xml parsing, fixes base controller ctor params with UmbracoContext, need to implement tree/section collections taking into account controllers and not scanning so much
2019-01-17 13:20:19 +11:00
Stephan
edfc3996d6
Adjustments for Forms and Deploy
2019-01-04 16:42:55 +01:00
Lars-Erik Aabech
8e5ed6eaa6
Internalize testing ctor to provide unambiguous ctor for container. (Non LI req. / MS-DI)
2019-01-03 22:43:08 +01:00
Stephan
66d931490e
Merge branch temp8 into temp8-di2690
2018-10-08 19:22:20 +02:00
elitsa
9ad65e5fa8
Deleting 'Task' related references and implementations
2018-10-08 10:08:04 +02:00
Stephan
9e9a0d301f
Cleanup and Refactor
2018-07-20 09:49:05 +02:00
Stephan
7a615133ff
Renormalize
2018-06-29 19:52:40 +02:00
Stephan
a2a4edb3be
Port v7@2aa0dfb2c5 - WIP
2018-03-22 17:41:13 +01:00
Stephan
8c8fac5d52
Migrations refactoring - WIP - plan
2017-12-26 11:37:57 +01:00
Stephan
c76403077f
Normalize cr/lf/tab
2017-07-20 11:21:28 +02:00
Stephan
be056869f0
Fix build after merge
2016-07-08 18:31:37 +02:00
Stephan
3c7245f9ba
Merge origin/dev-v7 into dev-v8
2016-07-08 16:32:06 +02:00
Stephan
79bbd6a70c
U4-8361 - implement repository
2016-06-12 15:27:54 +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
41f6012eb3
Fixing tests - ServiceContext
2016-04-20 22:52:48 +02:00
Shannon
39c39879f9
Moves IPackageAction to _Legacy Core for now
2016-03-17 16:05:56 +01:00
Shannon
8729e00864
it builds! ... but not sure it works yet.
2016-03-10 19:47:10 +01:00
Shannon
f6f54fd057
Merge branch 'master-v7' into dev-v8
...
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/UpdateRelatedLinksData.cs
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/ContentTypeBaseRepository.cs
src/Umbraco.Core/Persistence/Repositories/ContentTypeRepository.cs
src/Umbraco.Core/Persistence/Repositories/DataTypeDefinitionRepository.cs
src/Umbraco.Core/Persistence/Repositories/DictionaryRepository.cs
src/Umbraco.Core/Persistence/Repositories/DomainRepository.cs
src/Umbraco.Core/Persistence/Repositories/EntityContainerRepository.cs
src/Umbraco.Core/Persistence/Repositories/LanguageRepository.cs
src/Umbraco.Core/Persistence/Repositories/MediaTypeRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberGroupRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberTypeRepository.cs
src/Umbraco.Core/Persistence/Repositories/PublicAccessRepository.cs
src/Umbraco.Core/Persistence/Repositories/RepositoryBase.cs
src/Umbraco.Core/Persistence/Repositories/TemplateRepository.cs
src/Umbraco.Core/Persistence/RepositoryFactory.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorValueConvertersResolver.cs
src/Umbraco.Core/Services/ContentTypeService.cs
src/Umbraco.Core/Services/FileService.cs
src/Umbraco.Core/Services/LocalizationService.cs
src/Umbraco.Core/Services/MemberTypeService.cs
src/Umbraco.Core/Services/PackagingService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Tests/Persistence/Querying/ContentTypeSqlMappingTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/DataTypeDefinitionRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/DictionaryRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MediaTypeRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Tests/Web/Mvc/UmbracoViewPageTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/config/ClientDependency.config
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web.UI/web.Template.config
src/Umbraco.Web/Models/Mapping/ContentModelMapper.cs
src/Umbraco.Web/Models/Mapping/ContentTypeModelMapper.cs
src/Umbraco.Web/PropertyEditors/ImageCropperPropertyValueEditor.cs
src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
src/Umbraco.Web/Services/ApplicationTreeService.cs
src/Umbraco.Web/Services/SectionService.cs
src/Umbraco.Web/Trees/MemberTreeController.cs
src/Umbraco.Web/UI/Pages/ClientTools.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/WebBootManager.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadNodeTypes.cs
src/Umbraco.Web/umbraco.presentation/umbraco/channels/api.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasksBase.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/exportDocumenttype.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/protectPage.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/templateControls/ItemRenderer.cs
src/Umbraco.Web/umbraco.presentation/umbraco/uQuery/MediaExtensions.cs
src/umbraco.businesslogic/BasePages/ClientTools.cs
src/umbraco.businesslogic/UmbracoSettings.cs
src/umbraco.cms/businesslogic/CMSNode.cs
src/umbraco.cms/businesslogic/Content.cs
src/umbraco.cms/businesslogic/cache/Cache.cs
src/umbraco.cms/businesslogic/datatype/DataTypeDefinition.cs
src/umbraco.cms/businesslogic/propertytype/propertytype.cs
src/umbraco.cms/businesslogic/web/Document.cs
src/umbraco.cms/helpers/DeepLink.cs
src/umbraco.editorControls/tinyMCE3/TinyMCE.cs
2016-03-10 19:20:15 +01:00
Shannon
e10fb4fd7e
Gets the Services IoC working!!
2016-02-17 17:37:17 +01:00
Shannon
172c4a59d7
Creates a RegisterSingleton ext method for easier registration
2016-02-17 17:14:54 +01:00
Shannon
4fa1ce42dc
WIP - moving tree and section service implementations to Web because they are web based and they need web based objects, there's no sense in coying all of the non-web objects to Core. Now we need to use IoC for the ServiceContext
2016-02-17 16:45:26 +01:00
Shannon
9a0e85af10
Creates new CreateTemplateForContentType for use with the content type editor, I need to somehow add some additional information to the event raised there so that we can listen to that event in MB in order to create the default template markup.
2016-01-19 21:38:11 +01:00
Shannon Deminick
244eb08545
Merge pull request #1010 from umbraco/temp-U4-7557
...
U4-7557 Support folders for import/export, packaging
2016-01-12 16:17:14 +01:00
Sebastiaan Janssen
c783900097
Support folders for package installs (for document types and data types) and imports for document types
2016-01-11 17:52:29 +01:00
Shannon
ff829d49a3
Updates all cache refreshers to reference the IsolatedRuntimeCache where required, refactors how IsolatedRuntimeCache is exposed on the CacheHelper, ensures that IsolatedRuntimeCache is used in all repositories instead of the global RuntimeCache, changes all obsolete usages of CacheHelper to the non obsolete equivalent, obsoletes many of the cache keys, obsoletes a couple cache refreshers that aren't used anymore in 7.3, simplifies CacheHelper with regards to it's 'disabled' cache state.
2016-01-06 18:08:14 +01:00
Shannon
6593f4eaaa
creates ServicesCompositionRoot
2015-12-21 14:27:36 +01:00
Shannon
6f43230a9b
Core is more or less building (i think)
2015-12-18 14:24:17 +01:00
Shannon
5c5a5d12cc
WIP working on getting Core project to build
2015-12-18 13:29:12 +01:00
Shannon
787e128d5c
wires up event messages for media editor and tree (haven't done the drag/drop media upload though)
2015-07-29 16:00:06 +02:00
Shannon
6d8ffb903f
Ensures events for deleting, trashing and unpublishing are done using the event messages, updates UI to support showing these messages in the list view, Since we cannot change the
...
method results on a service, we've created a new temporary service that we will explicitly implement with an extension method to get it. This is temporary until v8 where we will just replace
the original methods on the service with these methods and then remove this class.
2015-07-29 15:12:12 +02:00
Shannon
615ab564e5
fixes build
2015-07-24 12:57:01 +02:00
Shannon
a6a2b02cd8
working on U4-5927 - this extends the base event class to have EventMessages which event consumers can add to, the trick is that there is a factory for these EventMessages, in a web context, the factory is a request based factory so that during a request all instances of the EventMessages are the same instance. All services then accept an instance of IEventMessagesFactory which they can then use when raising events. We'll then use this to send messages to the UI. Not sure if i should make this a resolver yet or not. Still a WIP!!
2015-07-23 20:04:40 +02:00
Shannon
8c871a6172
publicizes a ctor for the ServiceContext which will allow you to pass in a custom repository factory.
2015-07-23 18:13:43 +02:00
Shannon
a1d7f2d8b3
Created IMigrationEntryService and affiliated models, etc.... also updates the IServerRegistration stuff to be interfaced.
2015-06-19 12:03:02 +02:00
Shannon
bc04f578e3
fix build
2015-06-15 17:46:53 +02:00
Shannon
1b137bb785
Fixes: U4-5777 Allow Localization of Plugins without having to edit core language files
2015-06-15 17:13:34 +02:00
Shannon
64cbeb4c9d
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Services/EntityService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
src/Umbraco.Web/Cache/TemplateCacheRefresher.cs
src/umbraco.cms/businesslogic/template/Template.cs
2015-05-13 12:20:43 +10:00
Shannon
ad8926668e
Fixes: U4-6588 UmbracoSettings Error404 support Guids and Xpath - To achieve this, had to create an Id -> Key and Key -> Id method on EntityService including a cache for it which means updating all relavent cache refreshers to clear this cache when things are removed. Moved the logic for parsing an Umbraco XPath query (with tokens) to a stand-alone testable class (though haven't written tests), move the logic for looking up a not found page to the NotFoundHandlerHelper (instead of legacy 'library'). Fixes the $root query, since I don't think that ever worked. I've tested $root now for both MNTP and for the not found handler and it works.
2015-05-12 12:39:46 +10:00
Shannon
5e90e74969
Merge branch '7.3.0' of https://github.com/umbraco/Umbraco-CMS into 7.3.0
...
Conflicts:
src/Umbraco.Core/Persistence/Migrations/Initial/DatabaseSchemaCreation.cs
2015-04-01 14:03:05 +11:00
Shannon
8c51e8bad8
Implements IExternalLoginService and the db table, implements more logic to start enabling this to work in the back office, need to implement the rest of the userstore and then implement a way once logged in to the back office to allow users to link their accounts with external logins. Currently if an external login is detected during startup and it has not been linked we'll throw an exception. Very very close to making this all work nicely.
2015-04-01 13:41:26 +11:00
Stephan
46fdd605ae
Refactor distributed cache & merge Shazwazza's DataBaseServerMessenger
2015-03-05 10:49:21 +01:00
Shannon
61fd3fc505
Implements IPublicAccessService and wraps legacy Access class to use the new service, updates the public access data to use int's since using GUIDs atm is a little too complex, that will need to wait.
2015-01-28 13:16:50 +11:00
Shannon
f8600725b2
Fixes service context ctor to allow IMacroService
2015-01-27 14:58:59 +11:00
Shannon
a5c1b0b2f2
Fixes tests, decouples the UrlSegmentProviderResolver a little bit
2015-01-27 14:52:24 +11:00
Shannon
0f4185b6a5
Gets legacy tasks apis wrapping new apis, added more tests and got the new tasks apis up to speed with all required methods.
2015-01-22 19:19:21 +11:00
Shannon
ae92c8219d
Gets legacy domain api wrapping new api, updates DomainService with required methods.
2015-01-21 18:35:08 +11:00
Shannon
d4b718d615
Creates common base class for services, this streamlines all ctors and exposes correct services. Gets the TaskRepository working with a test, now to get it fully implemented.
2015-01-19 18:37:48 +11:00
Shannon
280826f3e8
Fixes: U4-6110 Cleanup the Audit trail code - this should be a service, remove all internal statics
2015-01-19 15:12:34 +11:00