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 |
|
Stephan
|
aceaf4b15d
|
Core.Persistence - massive cleanup
|
2016-04-13 17:33:09 +02:00 |
|
Stephan
|
365a01a476
|
From PetaPoco to NPoco (#1207)
* NPoco - 2.x (builds)
* NPoco - v3.1 (does not build)
* NPoco - builds
* NPoco - configure database factory (tests fail)
* Pick fix from 7.4
* NPoco - stock v3.1 - sort-of working
* NPoco - fix merge
* Fix Newtonsoft.Json in web.Template.Debug.config
* NPoco - fix SELECT *
* NPoco - fixing repositories
* NPoco - fix EntityRepository
* NPoco - fix EntityRepository
* NPoco - cosmetic
* NPoco - use 3.1.0-u001 from github/zpqrtbnk/NPoco
* Fixes build, NPoco needed to be referenced in the cms and UmbracoExamine projects
* Fixes lots of tests
* fixes more tests
* NPoco - bugfixing
* Bugfix CacheHelper in tests
* Bugfix connection mocking in tests
* NPoco - inject database in Sql.Select<>
* NPoco - discovery retry policy only once
* Enable C# 6 for Umbraco.Core
* NPoco - introduce UmbracoSql, cleanup
* NPoco - more cleanup and fixing
* NPoco - fix UserRepository
* Optimize InGroupsOf
* Implement UmbracoDatabase.FetchByGroups
* NPoco - fix Select
* NPoco - simplify GetPagedResultsByQuery
* Cherry-pick DisableBrowserCacheAttribute fix from 7.4
* Upgrade NPoco to use Sql<TContext>
* U4-8257 - cleanup relators
* 4-8257 - cleanup more relators
* Upgrade NPoco with more OOTB version
* fixes a couple tests, changes double check lock to Lazy<T>
|
2016-04-12 15:11:07 +02:00 |
|
Shannon
|
de776f86a4
|
Lots of code cleanup, lots of unused/obsolete classes & files removed.
|
2015-12-22 19:25:10 +01:00 |
|
Shannon
|
0fd9a074d8
|
WIP sln is now building... though i doubt anything works atm, working on that now.
|
2015-12-20 16:49:24 +01:00 |
|
Shannon
|
2ea9418fd7
|
Merge remote-tracking branch 'origin/7.4.0' into dev-v8
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/Configuration/UmbracoConfig.cs
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/DatabaseContext.cs
src/Umbraco.Core/Dictionary/CultureDictionaryFactoryResolver.cs
src/Umbraco.Core/Manifest/ManifestParser.cs
src/Umbraco.Core/Models/DataTypeDefinition.cs
src/Umbraco.Core/ObjectResolution/ApplicationEventsResolver.cs
src/Umbraco.Core/Persistence/DatabaseSchemaHelper.cs
src/Umbraco.Core/Persistence/Factories/MemberTypeFactory.cs
src/Umbraco.Core/Persistence/Migrations/MigrationBase.cs
src/Umbraco.Core/Persistence/Migrations/MigrationExpressionBase.cs
src/Umbraco.Core/Persistence/Migrations/MigrationResolver.cs
src/Umbraco.Core/Persistence/Migrations/MigrationRunner.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/AlterSyntaxBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Column/AlterColumnBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Expressions/AlterColumnExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Expressions/AlterDefaultConstraintExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Expressions/AlterTableExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Table/AlterTableBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Create/Column/CreateColumnBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Create/CreateBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Create/Expressions/CreateConstraintExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Create/Expressions/CreateTableExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Create/Table/CreateTableBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/DeleteBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteColumnExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteConstraintExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteDataExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteDefaultConstraintExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteForeignKeyExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteIndexExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Expressions/DeleteTableExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Execute/ExecuteBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Execute/Expressions/ExecuteCodeStatementExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Execute/Expressions/ExecuteSqlStatementExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Expressions/CreateColumnExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Expressions/CreateForeignKeyExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Expressions/CreateIndexExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Insert/Expressions/InsertDataExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Insert/InsertBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Rename/Expressions/RenameColumnExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Rename/Expressions/RenameTableExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Rename/RenameBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Update/Expressions/UpdateDataExpression.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Update/UpdateBuilder.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AddIndexToCmsMacroTable.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/MigrateAndRemoveTemplateMasterColumn.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/LanguageRepository.cs
src/Umbraco.Core/Persistence/Repositories/MediaRepository.cs
src/Umbraco.Core/Persistence/Repositories/MediaTypeRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberTypeRepository.cs
src/Umbraco.Core/Persistence/Repositories/RecycleBinRepository.cs
src/Umbraco.Core/Persistence/Repositories/ServerRegistrationRepository.cs
src/Umbraco.Core/Persistence/Repositories/TagRepository.cs
src/Umbraco.Core/Persistence/Repositories/TemplateRepository.cs
src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
src/Umbraco.Core/Persistence/RepositoryFactory.cs
src/Umbraco.Core/Persistence/UmbracoDatabase.cs
src/Umbraco.Core/PropertyEditors/IPropertyEditorValueConverter.cs
src/Umbraco.Core/PropertyEditors/PropertyEditor.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs
src/Umbraco.Core/Services/ContentService.cs
src/Umbraco.Core/Services/ContentTypeService.cs
src/Umbraco.Core/Services/DataTypeService.cs
src/Umbraco.Core/Services/EntityService.cs
src/Umbraco.Core/Services/LocalizationService.cs
src/Umbraco.Core/Services/MacroService.cs
src/Umbraco.Core/Services/MediaService.cs
src/Umbraco.Core/Services/MemberGroupService.cs
src/Umbraco.Core/Services/MemberService.cs
src/Umbraco.Core/Services/MemberTypeService.cs
src/Umbraco.Core/Services/PackagingService.cs
src/Umbraco.Core/Services/ServerRegistrationService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Core/Services/TagService.cs
src/Umbraco.Core/Services/UserService.cs
src/Umbraco.Core/Strings/DefaultShortStringHelper.cs
src/Umbraco.Core/Sync/ConfigServerRegistrar.cs
src/Umbraco.Core/Sync/DatabaseServerMessenger.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Core/UmbracoApplicationBase.cs
src/Umbraco.Core/packages.config
src/Umbraco.Tests/BootManagers/CoreBootManagerTests.cs
src/Umbraco.Tests/Macros/MacroTests.cs
src/Umbraco.Tests/Manifest/ManifestParserTests.cs
src/Umbraco.Tests/Migrations/FindingMigrationsTest.cs
src/Umbraco.Tests/Migrations/MigrationRunnerTests.cs
src/Umbraco.Tests/Migrations/Stubs/FiveZeroMigration.cs
src/Umbraco.Tests/Migrations/Stubs/FourElevenMigration.cs
src/Umbraco.Tests/Migrations/Stubs/SixZeroMigration1.cs
src/Umbraco.Tests/Migrations/Stubs/SixZeroMigration2.cs
src/Umbraco.Tests/Migrations/TargetVersionSixthMigrationsTest.cs
src/Umbraco.Tests/Migrations/Upgrades/BaseUpgradeTest.cs
src/Umbraco.Tests/Migrations/Upgrades/SqlCeDataUpgradeTest.cs
src/Umbraco.Tests/Mvc/UmbracoViewPageTests.cs
src/Umbraco.Tests/Persistence/BaseTableByTableTest.cs
src/Umbraco.Tests/Persistence/DatabaseContextTests.cs
src/Umbraco.Tests/Persistence/Mappers/PropertyGroupMapperTest.cs
src/Umbraco.Tests/Persistence/MySqlDatabaseCreationTest.cs
src/Umbraco.Tests/Persistence/Querying/ContentTypeRepositorySqlClausesTest.cs
src/Umbraco.Tests/Persistence/Querying/ContentTypeSqlMappingTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/DataTypeDefinitionRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/DomainRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/PublicAccessRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/ServerRegistrationRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/TemplateRepositoryTest.cs
src/Umbraco.Tests/Persistence/SyntaxProvider/SqlCeSyntaxProviderTests.cs
src/Umbraco.Tests/PublishedContent/PublishedMediaTests.cs
src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Tests/Services/ThreadSafetyServiceTest.cs
src/Umbraco.Tests/Strings/DefaultShortStringHelperTests.cs
src/Umbraco.Tests/TestHelpers/BaseDatabaseFactoryTest.cs
src/Umbraco.Tests/TestHelpers/BaseDatabaseTest.cs
src/Umbraco.Tests/TestHelpers/BaseUmbracoApplicationTest.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
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/umbraco/controls/ContentTypeControlNew.ascx.cs
src/Umbraco.Web.UI/umbraco/plugins/tinymce3/insertImage.aspx
src/Umbraco.Web.UI/umbraco/settings/EditNodeTypeNew.aspx.cs
src/Umbraco.Web/BatchedDatabaseServerMessenger.cs
src/Umbraco.Web/Cache/CacheRefresherEventHandler.cs
src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
src/Umbraco.Web/Cache/DistributedCacheExtensions.cs
src/Umbraco.Web/Editors/AuthenticationController.cs
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/Install/InstallSteps/DatabaseInstallStep.cs
src/Umbraco.Web/Install/InstallSteps/DatabaseUpgradeStep.cs
src/Umbraco.Web/Media/ThumbnailProviders/ThumbnailProvidersResolver.cs
src/Umbraco.Web/Mvc/DefaultRenderMvcControllerResolver.cs
src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
src/Umbraco.Web/PropertyEditors/FolderBrowserPropertyEditor.cs
src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs
src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
src/Umbraco.Web/Trees/MediaTreeController.cs
src/Umbraco.Web/Trees/MemberTreeController.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoApplication.cs
src/Umbraco.Web/UmbracoModule.cs
src/Umbraco.Web/WebBootManager.cs
src/Umbraco.Web/packages.config
src/Umbraco.Web/umbraco.presentation/content.cs
src/Umbraco.Web/umbraco.presentation/keepAliveService.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadDictionary.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentControl.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/Images/ImageViewer.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/Images/UploadMediaImage.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/imageViewer.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/rollBack.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/members/EditMemberType.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/plugins/tinymce3/insertImage.aspx
src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditNodeTypeNew.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/uQuery/MediaExtensions.cs
src/Umbraco.Web/umbraco.presentation/umbraco/uQuery/uQuery.cs
src/Umbraco.Web/umbraco.presentation/umbraco/users/EditUser.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/webService.asmx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs
src/UmbracoExamine/UmbracoContentIndexer.cs
src/UmbracoExamine/UmbracoMemberIndexer.cs
src/umbraco.MacroEngines/RazorCore/UmbracoCultureDictionary.cs
src/umbraco.MacroEngines/RazorDynamicNode/DynamicNode.cs
src/umbraco.MacroEngines/RazorDynamicNode/ExtensionMethods.cs
src/umbraco.MacroEngines/app.config
src/umbraco.MacroEngines/packages.config
src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
src/umbraco.businesslogic/UmbracoSettings.cs
src/umbraco.cms/businesslogic/Content.cs
src/umbraco.cms/businesslogic/datatype/DataTypeDefinition.cs
src/umbraco.cms/businesslogic/datatype/DefaultPreValueEditor.cs
src/umbraco.cms/businesslogic/datatype/FileHandlerData.cs
src/umbraco.cms/businesslogic/translation/Translation.cs
src/umbraco.cms/businesslogic/web/Document.cs
src/umbraco.cms/packages.config
src/umbraco.editorControls/DefaultPrevalueEditor.cs
src/umbraco.editorControls/MultiNodeTreePicker/MNTPResources.Designer.cs
src/umbraco.editorControls/MultiNodeTreePicker/MNTPResources.resx
src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataType.cs
src/umbraco.editorControls/app.config
src/umbraco.editorControls/macrocontainer/PrevalueEditor.cs
src/umbraco.editorControls/packages.config
src/umbraco.editorControls/textfieldmultiple/textfieldMultipleDataType.cs
src/umbraco.editorControls/umbraco.editorControls.csproj
src/umbraco.editorControls/uploadfield/uploadField.cs
src/umbraco.editorControls/userControlWrapper/usercontrolPrevalueEditor.cs
src/umbraco.providers/app.config
|
2015-12-18 11:23:58 +01:00 |
|
Shannon
|
bc7a31d791
|
Updates IDomain to include language ISO code so we can save a lookup
|
2015-08-04 15:42:44 +02:00 |
|
Shannon
|
16c9ca9e4b
|
Refactors IDomain model, simplifies it so that it doesn't contain references, simplifies the domain repository to no longer require lookups of content and languages, updates all other code referencing IDomain and now if a language lookup is required it is made when appropriate.
|
2015-07-27 12:53:09 +02:00 |
|
Shannon
|
c917fc37ae
|
Fixes: U4-6113 Cannot delete member with upload field
|
2015-07-02 17:20:27 +02:00 |
|
Shannon
|
f7bcae1aa7
|
Merge remote-tracking branch 'origin/7.3.0' into dev-v8
Conflicts:
src/Umbraco.Core/Services/DomainService.cs
src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
src/Umbraco.Web/umbraco.presentation/NotFoundHandlers.cs
|
2015-05-13 16:47:33 +10:00 |
|
Shannon
|
416dcdf90f
|
Updates NotFoundHandlerHelper to use IDomainService and fixes IDomainRepository with the Exists and GetByName methods (with tests)
|
2015-05-13 16:45:08 +10:00 |
|
Shannon
|
3e18c93cf5
|
More singleton reduction, created new IMappingResolver which is used by the Query<T> object instead of relying on a singleton, creates a new QueryFactory to create Query<T>, removes all standalone stuff (will create that again later). It builds, but most tests will still be failing.
|
2015-02-22 23:09:20 +01:00 |
|
Shannon
|
b892f98834
|
Fixes up remaining routing tests, all tests passing (apart from arbitrary plugin mgr ones)
|
2015-01-22 15:42:29 +11:00 |
|
Shannon
|
e13e86b25f
|
Gets the legacy domain stuff wrapping the new apis, updates the DomainHelper to use the new apis without any statics and thus updates everything else referencing that, updates the pcr engine to have the propery ctor params with all required services instead of using statics.
|
2015-01-21 19:49:22 +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
|
512e59871e
|
Fixed issues relating to domain repository and added more tests, starts creating DomainService
|
2015-01-21 17:43:03 +11:00 |
|
Shannon
|
7545c0c1da
|
Adds the DomainRepository with tests
|
2015-01-21 17:03:56 +11:00 |
|