Shannon
|
df9160b3cd
|
Removes the 'Child Container' idea (that was bad and would consume lots of mem) and instead we use Scopes. Ensures that the app event handlers are creating during a single Scope operation in the CoreBootManager. Changes MigrationBase and all sub-classes to have an IMigrationContext as a ctor param. Updates the MigrationResolver to resolve Migration instances with the passed in IMigrationContext value. Simplifies MigrationBase since now we know we have a context to work with, there's no need to GetUp/GetDown Expression methods. Updates the MigrationRunner to use the MigrationContext instead of creating one itself.
|
2016-05-31 23:29:15 +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
|
ae7b93609b
|
Fixing tests - application context
|
2016-04-22 12:03:30 +02:00 |
|
Stephan
|
3b612bf346
|
Core.Persistence - more cleanup
|
2016-04-14 18:20:07 +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
|
4f3968e837
|
R# cleanup, losts of obsoleted methods removed
|
2015-12-22 18:00:11 +01:00 |
|
Shannon
|
5c5a5d12cc
|
WIP working on getting Core project to build
|
2015-12-18 13:29:12 +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 |
|
Stephan
|
d83fdb48c9
|
Merge branch 7.2.7 into dev-v7
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/AsyncLock.cs
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Logging/LogHelper.cs
src/Umbraco.Core/PluginManager.cs
src/Umbraco.Core/Sync/ServerEnvironmentHelper.cs
src/Umbraco.Core/TypeFinder.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/ServerEnvironmentHelperTests.cs
src/Umbraco.Web.UI.Client/bower.json
src/Umbraco.Web.UI.Client/gruntFile.js
src/Umbraco.Web.UI.Client/src/less/grid.less
src/Umbraco.Web.UI.Client/src/less/panel.less
src/Umbraco.Web.UI.Client/src/less/property-editors.less
src/Umbraco.Web.UI.Client/src/loader.js
src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/config/ClientDependency.config
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/KeepAlive.cs
src/Umbraco.Web/Scheduling/LatchedBackgroundTaskBase.cs
src/Umbraco.Web/Scheduling/LogScrubber.cs
src/Umbraco.Web/Scheduling/RecurringTaskBase.cs
src/Umbraco.Web/Scheduling/ScheduledPublishing.cs
src/Umbraco.Web/Scheduling/ScheduledTasks.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/UI/JavaScript/JsInitialize.js
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/content.cs
src/umbraco.cms/Actions/Action.cs
|
2015-07-13 22:45:37 +02:00 |
|
Shannon
|
431d066300
|
Changes the ApplicationEventHandler to check if the db is configured instead of being connected to which can cause issues if SQLCE file is locked by another app domain on startup. Then we verify in the CoreBootManager that the db can be connected to with a retry policy. Changes the db context CanConnect method to not store a static value since it might later be able to be connected to.
|
2015-07-09 14:31:59 +02:00 |
|
Shannon
|
85a4a4fa81
|
fixes migration check to ensure that migrations for the current version always run if the current installation version is a pre-release
|
2015-06-24 17:46:52 +02:00 |
|
Shannon
|
a7029e4733
|
Fixes up migration runner with regard to semver numbers. All migrations for a normal version within a build number will execute. For example if migrating from 7.3.x-x to 7.3.0 (final), all migrations for 7.3 will execute.
|
2015-06-24 15:20:08 +02:00 |
|
Shannon
|
18b1857539
|
Changes versioning to SemVersion (via nuget package), now target migrations with the full SemVer and update the web.config with the correct sem ver. Creates migration to create the migration table.
|
2015-06-24 14:17:24 +02:00 |
|
Shannon
|
869e0dcbd2
|
Updates the upgrader to ensure that the latest migrations are run if they don't exist, fixes the migration runner null check, adds test to subtract a revision number from a Version object.
|
2015-06-23 18:10:50 +02:00 |
|
Shannon
|
ff7bdb0f5b
|
Ensures the migrations table is created on install, updates the installation to create the latest migration version once complete.
|
2015-06-22 19:31:34 +02:00 |
|
Shannon
|
38953212a3
|
Fixes up some unit tests with changes to migration runner, creates unit tests for ApplicationContext.IsConfigured, updates DatabaseContext to be able to mock some methods.
|
2015-06-22 18:59:44 +02:00 |
|
Shannon
|
c76be66028
|
starts fixing up all the tests
|
2015-02-23 00:02:12 +01:00 |
|
Shannon
|
905e58e3b6
|
Completes: U4-6104 Remove SqlSyntaxContext - quite a large refactor and cleanup since the SqlSyntaxContext was used everywhere :( haven't run tests, etc... yet but the project builds now.
|
2015-02-22 21:36:02 +01:00 |
|
Shannon
|
e88264d0f7
|
Decouples more LogHelper
|
2015-01-16 11:08:00 +11:00 |
|
Shannon
|
cc396c8b96
|
Removes more unecessary singletons and simplifies/refactors some internal parts like the ctors for the ServiceContext, DatabaseContext. No more RepositoryResolver or SqlSyntaxProvidersResolver these are entirely uncessary and complicate things.
|
2015-01-13 18:19:52 +11:00 |
|
Shannon
|
5bef3593dd
|
More dependency cleanup, less singleton usages, better testing implementations
|
2015-01-09 15:27:47 +11:00 |
|
Shannon
|
9252dc222a
|
still unweaving more of this singleton mess, makes unit testing much easier
|
2015-01-09 13:35:32 +11:00 |
|
Shannon
|
fafe056db0
|
More refactoring with ILogger and reducing the dependencies on all of these singletons. Created new DatabaseSchemaHelper to be used instead of the extension methods that require singletons to be set.
|
2015-01-09 13:00:26 +11:00 |
|
Shannon
|
6903ebda1f
|
even slightly better locking
|
2014-11-12 16:45:36 +11:00 |
|
Shannon
|
bccb9655d0
|
Fixes: U4-5715 On startup when detecting if the db is configured we need to ensure it can also be connected to
|
2014-11-12 16:30:01 +11:00 |
|
Shannon
|
3df2d03fc8
|
Merge remote-tracking branch 'origin/6.2.0' into 7.1.2
Conflicts:
build/Build.bat
build/NuSpecs/UmbracoCms.Core.nuspec
build/NuSpecs/build/UmbracoCms.targets
src/Umbraco.Core/Models/IPublishedContentProperty.cs
src/Umbraco.Core/Models/PublishedContent/IPublishedContentExtended.cs
src/Umbraco.Core/Models/PublishedContent/PublishedContentExtended.cs
src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
src/Umbraco.Core/Models/PublishedContent/PublishedPropertyBase.cs
src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Migrations/MigrationRunner.cs
src/Umbraco.Core/Persistence/Repositories/MemberGroupRepository.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/Services/PackagingService.cs
src/Umbraco.Tests/PublishedContent/PublishedContentMoreTests.cs
src/Umbraco.Tests/PublishedContent/PublishedContentTestElements.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedFragment.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlPublishedContent.cs
src/Umbraco.Web/PublishedContentPropertyExtension.cs
src/Umbraco.Web/Search/ExamineEvents.cs
src/Umbraco.Web/UmbracoHelper.cs
src/Umbraco.Web/umbraco.presentation/CompatibilityHelper.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/umbraco.cms/businesslogic/template/Template.cs
|
2014-05-05 12:49:06 +10:00 |
|
Shannon
|
a8cc8fa688
|
Fixes case sensitivity with MySQL
|
2014-04-30 19:58:59 +10:00 |
|
Shannon
|
b13251778e
|
Fixes: U4-4713 Provider Name not set when using Custom Connection String from the Installer
|
2014-04-17 20:05:55 +10:00 |
|
Shannon
|
ad3c004d95
|
Added another property to a migration to specify a minimum current version - needed for specifically targeting a migration 'from' a version. Finally got mysql upgrading from 6.1 to 7.1 without issue, had to re-order a few things and ensure some migrations don't execute based on the 'from' version.
|
2014-03-15 20:15:01 +11:00 |
|
Shannon
|
e8056de589
|
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
Conflicts:
src/Umbraco.Core/Persistence/Migrations/Initial/DatabaseSchemaResult.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
src/Umbraco.Web.UI/install/Default.aspx.cs
|
2014-03-14 13:06:45 +11:00 |
|
Shannon
|
bbe6194b06
|
Exception is thrown if trying to run mysql in med trust. Migrations arranged to execute schema migrations first and then data migrations. If a schema migration fails it will attempt to run the downgrade scripts of the migrations if running mysql since schema changes aren't supported in transactions. Updated all sql syntax providers to try to return only the column indexes, not key indexes. Updates the db version checker to include errors for all missing columns, indexes and constraints in the db and vice versa in the schema.
|
2014-03-14 13:04:20 +11:00 |
|
Shannon
|
6990c46262
|
Fixes installer when it fails on the db install or upgrades, fixes some upgrade queries with mysql, fixes ignoring case check for checking version
|
2014-03-13 21:47:08 +11:00 |
|
Shannon
|
d2aecd12eb
|
Updates more installer logic, getting into the nitty gritty details with upgrades, etc...
|
2014-03-04 19:20:36 +11:00 |
|
Shannon
|
1e99c466ee
|
Updates some tests and fixes a couple things
|
2014-03-04 16:40:23 +11:00 |
|
Shannon
|
f9304d7f04
|
Gets lots of the new installer logic working
|
2014-02-26 16:01:31 +01:00 |
|
Shannon
|
34df5009e0
|
Upgraded installer to do a two part install - first install then if an upgrade is required do the upgrade in a second call - this way we can have the progress bar update since the media xml installer can take some time.
|
2013-12-13 16:58:21 +11:00 |
|
Shannon
|
01644e8f6c
|
Upgraded installer to do a two part install - first install then if an upgrade is required do the upgrade in a second call - this way we can have the progress bar update since the media xml installer can take some time.
|
2013-12-13 12:34:57 +11:00 |
|
perploug
|
97b8a5000a
|
Fixes broken installer due to moving app-settings back into web.config
|
2013-12-06 12:16:36 +01:00 |
|
Shannon
|
f8d6c85779
|
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0
Conflicts:
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/Models/ContentBase.cs
src/Umbraco.Core/Models/ContentTypeBase.cs
src/Umbraco.Core/Models/DataTypeDefinition.cs
src/Umbraco.Core/Persistence/Repositories/MemberTypeRepository.cs
src/Umbraco.Core/Persistence/RepositoryFactory.cs
src/Umbraco.Core/Services/IMemberTypeService.cs
src/Umbraco.Core/Services/MemberTypeService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Tests/Routing/uQueryGetNodeIdByUrlTests.cs
|
2013-10-09 13:41:14 +11:00 |
|
Shannon
|
c6389852ea
|
Adds public ctors for ApplicationContext, ServiceContext, DatabaseContext, RepositoryFactory, makes IDatabaseFactory public, makes an interfaces for IEntityService, adds EnsureContext methods for ApplicationContext - to set the singleton.
|
2013-10-09 13:17:19 +11:00 |
|
Shannon
|
961928105c
|
Moves connectionStrings to external file, now to figure out how to deal with both of these files with multiple devs
|
2013-10-04 10:53:22 +10:00 |
|
Sebastiaan Janssen
|
cdda69c4cd
|
U4-2788 Error installing Umbraco 6.1.5 with SQL CE 4 option
|
2013-09-30 12:39:28 +02:00 |
|
Sebastiaan Janssen
|
65db0e69a9
|
Fixes: U4-2642 Make SQL CE more resilient to server crashes
|
2013-08-19 12:26:01 +02:00 |
|
Shannon
|
7e9cad34db
|
Creates an SQL Server version check for bulk sql imports.
|
2013-08-02 16:01:54 +10:00 |
|
Shannon
|
ed88bbf75f
|
Fixed up BaseDatabaseFactoryTests so that it only loads in one db factory with the correct conn strings, now we can easily override to use a custom db. Added benchmark tests for bulk inserting records for the cmsContentXml table which shows how we can improve performance quite a bit especially for larger node sets. Added more unit tests for bulk inserting and fixed it up a bit more.
|
2013-07-26 18:13:56 +10:00 |
|
Sebastiaan Janssen
|
a1037ce43c
|
Fixes U4-2187 - Enable support for MySQL on Linux
|
2013-07-23 15:38:26 +02:00 |
|
Sebastiaan Janssen
|
8740848aac
|
Merge pull request #42 from michielvoo/u4-232
Enabled support for integrated security for SQL Server to the installer.
Conflicts:
src/Umbraco.Web.UI/install/steps/database.ascx
|
2013-07-19 13:29:07 +02:00 |
|
Morten Christensen
|
928d92fce4
|
Making the Sql Syntax Providers public and changing a few names and bits for consistency.
Adding resolver for the syntax providers and wiring it up in the boot manager.
|
2013-03-09 10:43:34 -01:00 |
|
Morten Christensen
|
0c77114cd5
|
Fixes U4-1845 by correcting the sql ce connectionstring
|
2013-03-06 13:36:03 -01:00 |
|