Shannon
85ebcadcdd
Fixes more tests and more decoupling of singletons
2015-07-15 16:40:50 +02:00
Shannon
0efeba3744
Fixing unit tests, decouples more singleton accessors
2015-07-15 16:28:50 +02:00
Stephan
db0cfad6b9
Merge 7.2.7 into dev-v7
...
Conflicts:
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Tests/packages.config
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/packages.config
src/umbraco.MacroEngines/packages.config
src/umbraco.cms/packages.config
src/umbraco.cms/umbraco.cms.csproj
src/umbraco.controls/umbraco.controls.csproj
src/umbraco.editorControls/umbraco.editorControls.csproj
2015-07-14 19:57:56 +02:00
Stephan
1e3dd4c5cd
Cleanup new umbracoApplicationUrl config
2015-07-14 19:28:14 +02:00
Stephan
d386c069ee
Post-merge
2015-07-13 22:57:38 +02: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
Stephan
c01f864e37
ApplicationContext - manage MainDom
...
Conflicts:
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/Umbraco.Core.csproj
2015-07-13 14:41:07 +02:00
Shannon
bce8affe16
removes unused method
2015-07-09 15:19:47 +02:00
Shannon
6d50bd891a
moves the ApplicationContext.IsConfigured to a lazy initializer
2015-07-09 14:30:32 +02:00
Shannon
7987f13a11
U4-6788 - refactor OriginalRequestUrl into UmbracoApplicationUrl
...
and fixes merge issues.
2015-07-08 17:32:36 +02:00
Sebastiaan Janssen
b0ccb040a1
Makes sure we can have nightlies for non-pre-releases as well
2015-07-07 15:11:57 +02:00
Stephan
8c54f2edc9
U4-6788 - refactor OriginalRequestUrl into UmbracoApplicationUrl
2015-07-06 13:58:10 +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
8e1e7a8676
Gets the IsConfigured check checking the migration data, updates the install controller to ensure there's no infinite redirects and to use the IsUpgrading flag. Now to add entries to the table when the migrations have executed.
2015-06-22 16:22:47 +02:00
Shannon
e90766ad06
Ensures that during install that we don't enable the identity user manager or cookie auth since no db tables exist, fixes the IsUpgrading check to check for actual valid tables
2015-06-09 12:17:45 +02:00
Stephan
031f70f529
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/Logging/LogHelper.cs
src/Umbraco.Web.UI.Client/src/less/login.less
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
2015-05-18 16:23:12 +02:00
Stephan
7cbe2410e4
Do not flood the log when installing a new version
2015-05-17 18:48:21 +02:00
Shannon
a43847bc8b
Adds IsUpgrading method to ApplicationContext and fixes AppBuilderExtensions checks since we need a user manager when upgrading
2015-04-01 16:12:32 +11:00
Shannon
50ed207211
error check during stylesheet upgrade
2015-01-23 14:32:09 +11:00
Shannon
2f86813a21
Migrating usages of old domain object to new IDomainService, this also involves updated quite a lot of unit tests. I've updated quite a few of the routing tests to be pure mocking tests which works much nicer than before so there's no db access, this also means they run a million times faster (need to clean them up further still though). Still more tests failing which need fixing.
2015-01-22 15:16:10 +11:00
Shannon
8f100a7e9f
decouples more of LogHelper and DisposableTimer
2015-01-16 12:29:27 +11:00
Shannon
5bef3593dd
More dependency cleanup, less singleton usages, better testing implementations
2015-01-09 15:27:47 +11:00
Shannon
defc9d3bc2
Updated all repo's to have their correct ctor's with their correct dependencies. Updated them all to accept ILogger updated all other dependencies with the same without breaking anything since all is internal, or obsoleted other public methods. Updates lots of the tests with mock instances instead, now more tests have less singleton dependencies, easier to test, much clearer and more IoC driven. Updated unit tests to supply the ILogger for required objects, tests should run faster now since most things are just mocked.
2015-01-09 10:51:15 +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
Stephan
8a8b09141f
Merge remote-tracking branch 'origin/7.0.0' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx.designer.cs
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web.UI/umbraco/config/create/UI.xml
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoHelper.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/DLRScripting.ascx
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx
2013-10-10 16:15:23 +02:00
Shannon
1c13a896eb
Fixes up merge issues.
2013-10-09 13:52:24 +11: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
Stephan
36d6e4b4da
Merge branch '7.0.0' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/Cache/HttpRuntimeCacheProvider.cs
src/Umbraco.Core/PublishedContentHelper.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web/Models/XmlPublishedContent.cs
src/Umbraco.Web/Models/XmlPublishedContentProperty.cs
src/Umbraco.Web/Templates/TemplateUtilities.cs
2013-09-26 08:57:01 +02:00
Shannon
1e9a17babe
Fixes merge issues, fixes up some unit tests, removes the For<T> config section stuff and simplifies the singleton, refactors it with methods as per discussion with stephen.
2013-09-25 19:23:41 +10:00
Stephan
3ca8b356ee
Merge branch '6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/Cache/CacheProviderBase.cs
src/Umbraco.Core/Cache/HttpRuntimeCacheProvider.cs
src/Umbraco.Core/Cache/NullCacheProvider.cs
src/Umbraco.Core/Cache/StaticCacheProvider.cs
src/Umbraco.Core/Configuration/UmbracoSettings.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Dynamics/PropertyResult.cs
src/Umbraco.Core/Models/IPublishedContentProperty.cs
src/Umbraco.Core/Models/PublishedItemType.cs
src/Umbraco.Core/PropertyEditors/IPropertyEditorValueConverter.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorValueConvertersResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyValueConvertersResolver.cs
src/Umbraco.Core/PublishedContentExtensions.cs
src/Umbraco.Core/PublishedContentHelper.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/CodeFirst/StronglyTypedMapperTest.cs
src/Umbraco.Tests/LibraryTests.cs
src/Umbraco.Tests/PropertyEditors/PropertyEditorValueConverterTests.cs
src/Umbraco.Tests/PublishedCache/PublishedContentCacheTests.cs
src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
src/Umbraco.Tests/PublishedContent/PublishedMediaTests.cs
src/Umbraco.Web/ExamineExtensions.cs
src/Umbraco.Web/Models/DynamicPublishedContent.cs
src/Umbraco.Web/Models/XmlPublishedContent.cs
src/Umbraco.Web/Models/XmlPublishedContentProperty.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
src/Umbraco.Web/PublishedContentExtensions.cs
src/Umbraco.Web/Templates/TemplateUtilities.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/WebBootManager.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/umbraco.MacroEngines/RazorDynamicNode/PropertyResult.cs
src/umbraco.MacroEngines/RazorDynamicNode/PublishedContentExtensions.cs
2013-09-23 21:57:22 +02:00
Stephan
e8fd6a6ece
Take care of FIXMEs
2013-09-17 10:18:26 +02:00
Shannon
371b1817ea
Merge remote-tracking branch 'origin/7.0.0' into 7.0.0--property-editor-guid-to-alias
...
Conflicts:
src/Umbraco.Core/Configuration/LegacyUmbracoSettings.cs
src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Expressions/AlterColumnExpression.cs
src/Umbraco.Core/PropertyEditors/TinyMcePropertyEditorValueConverter.cs
src/Umbraco.Core/XmlHelper.cs
src/Umbraco.Tests/ObjectExtensionsTests.cs
src/Umbraco.Web/PropertyEditors/RteMacroRenderingPropertyEditorValueConverter.cs
src/Umbraco.Web/Routing/DefaultUrlProvider.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/macro.cs
2013-09-17 00:27:17 +10:00
Shannon
f38a6e1561
Makes some massive headway with the real config section, have got all code re-delegated to using it and have migrated the baserest config to the core project, all configs will be shared out of the UmbracoConfiguration singleton, now to get the unit tests all wired up and using mocks for the most part.
2013-09-13 18:11:20 +10:00
Shannon
36d82dc43b
Created umbraco config holder object which is exposed on the application context, updated the web.config with the new section and the transform to ensure it get's added.
2013-09-13 14:06:36 +10:00
Stephan
d1af20424e
merge branch '6.2.0' into '7.0.0'
2013-09-12 13:09:04 +02:00
Shannon
968c921829
Finished the new installer screen report, finished and tested the v7 db upgrade script which is working!! :) Changed over all package manifests to have an alias instead of a GUID.
2013-09-11 18:25:51 +10:00
Stephan
433e141761
Comments - misc
2013-09-10 17:56:44 +02:00
Shannon
01510ce126
Fixes up the tests with changes to cache helper
2013-08-09 11:42:20 +10:00
Shannon
75ceb539b4
Streamlines cache helper ctor's
2013-08-09 11:37:57 +10:00
Shannon
3779e79367
Changes over SectionCollection to SectionService, ApplicationTreeCollection to ApplicationTreeService. Starts implementing UserSectionRepository for use with SectionService. Streamlines BaseMapper implementations.
2013-07-02 17:47:20 +10:00
Shannon Deminick
47f6401fcd
updates unit test to ensure UmbracoContext.Current is nulled, updates dispose on application context to
...
not dispose the database if it is not configured.
2013-04-15 21:36:24 +06:00
Shannon Deminick
7dcfcaf339
Merge with 6.0.4
2013-04-06 01:23:29 +06:00
Shannon Deminick
e22988e435
Merged with 4.11.7
2013-04-06 00:21:06 +06:00
Shannon Deminick
1bd20c9b06
Fixes: #U4-2059 and removes un-needed ping.aspx files, cleans up some code
2013-04-05 23:28:43 +06:00
Shannon Deminick
3b982b80f5
Fixes test issues, needed to disable application cache for these tests since the cache invalidation happens at the CacheRefresher level but for these
...
tests (any many other ones) we are not 'booting' umbraco with the Boot managers so the CacheRefreshers are not wired up to listen to events to clear
the cache. This puts us another step closer to having a proper global cache solution that will work for everything. At least now, all of the legacy
code is using the ApplicationCache which we can now control from a central location. Changed NiceUrlsProviderWithDomainsTests to only require a new db
schema per fixture.
2013-03-23 04:01:52 +06:00
Shannon Deminick
8d3c798c6c
Changed tests to clear out the current database instead of trying to delete/re-create it. Fixes up
...
other test inconsistencies and more error checking on the ApplicationContext.Dispose.
2013-03-14 01:07:54 +04:00
Shannon Deminick
50b05d25f5
Added BaseUmbracoApplicationTests and fixed up dispose on the ApplicationContext to ensure the db object is disposed and doesn't
...
reset the PluginManager (as this shouldn't really need to be done). Cleaned up all unit tests so they follow the same structure and
uses this base class where necessary and eliminates a lot of duplicate code.
2013-03-13 18:31:07 +04:00
Shannon Deminick
860c8c1002
Fixes: #U4-482, #U4-549. Macro cache streamlining - ensures it is cleared based on event handling instead of inline everywhere
...
in code. Unit tests for CacheHelper, unit tests for umbraco.macro, updates to
ObjectExtensions.TryConvertTo + unit tests, enhanced disposable method of ApplicationContext.
2013-03-12 22:58:21 +04:00
Shannon Deminick
ec46d65bb4
Streamlines how macro cache is handled
2013-03-12 03:00:42 +04:00