Shannon
18e8f09654
BatchedDatabaseServerMessenger only exists in Web now, no reason for it to be in Core. CoreBootManager by default now uses DatabaseServerMessenger (non-batched), WebBootManager now uses BatchedDatabaseServerMessenger and is always enabled by default unless the Dist Calls setting in umbracoSettings is enabled, in that case it will revert to using the legacy batched web services messenger.
2015-07-15 17:27:01 +02:00
Shannon
0efeba3744
Fixing unit tests, decouples more singleton accessors
2015-07-15 16:28:50 +02:00
Shannon
6b2e042e76
updates LogHelper references
2015-07-14 10:49:43 +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
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
a277ac2fe4
udpates some logging stuff which will also make logging faster.
2015-07-08 17:55:08 +02:00
Shannon
0520797c09
more logging
2015-07-08 16:45:34 +02:00
Shannon
ca738979ce
Adds some more detailed logging.
2015-07-08 16:27:06 +02:00
Shannon
8cfb56adf4
adds machine name logging to startup
2015-07-08 13:28:15 +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
d26b12137b
CoreBootManager - report version in log
2015-07-03 16:39:35 +02:00
Shannon
9e223eb891
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/umbraco.presentation/content.cs
2015-05-20 16:24:17 +10:00
Stephan
ac7ff31a67
U4-6626 - XmlCache, bugfix locks
2015-05-19 20:08:52 +02:00
Shannon
0c0802e964
updates the migrations to use the correct ctor (not empty), this is more for v8 but have created a crappy activator that passes in the right args.
2015-04-01 17:43:27 +11:00
Shannon
bceed10bd8
Merge branch 'dev-v7-distcache' into 7.3.0
2015-04-01 14:00:13 +11:00
Shannon
2e877aa446
fixes build errors
2015-03-19 17:42:57 +11:00
Shannon
d3eff734aa
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Repositories/ContentTypeBaseRepository.cs
src/Umbraco.Core/PropertyEditors/ParameterEditorResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs
src/Umbraco.Core/Services/LocalizedTextService.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Plugins/TypeFinderTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/PublishedContentExtensions.cs
src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/Umbraco.Web.csproj
2015-03-19 17:37:00 +11:00
Shannon
9469b0b844
Fixes: U4-6402 Grid config file should be merged with package.manifests & U4-6427 Grid config file has caching problems because it's downloaded as a static file
...
This also fixes up the OutputCaching params on the BackOfficeController since OutputCache is bypassed when an action requires authentication, so now we manually do some caching when not in debug mode for authorized actions (of course auth happens before any cached response can occur). This also fixes up the static caching that was happening with the ManifestBuilder so now when that is not in use it gives back it's memory. This also fixes up any client side caching that was happening on BackOfficeController - before we were allowing client cache to happen for a few actions on that controller which is incorrect, we need to disable all client cache for all actions on that controller.
2015-03-19 13:53:15 +11:00
Stephan
46fdd605ae
Refactor distributed cache & merge Shazwazza's DataBaseServerMessenger
2015-03-05 10:49:21 +01:00
Shannon
1cb0cd296c
Decoupling more things, mostly to do with the PluginManager and logging which now requires an IServiceProvider so have created a simple instance of that.
2015-01-16 15:47:44 +11:00
Shannon
8f100a7e9f
decouples more of LogHelper and DisposableTimer
2015-01-16 12:29:27 +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
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
519b06fe30
Moves logging interface to Logging namespace called ILogger, creates a resolver for it, updates the boot process to ensure it exists first and anything during the boot process that is logging ensures that if it is not resolved that it logs elsewhere. Wraps LogHelper to use the ILogger based on the resolver. Updates all services that used LogHelper to have an ILogger injected into them. This is really only the start, there's a ton of places that use LogHelper (508) other places so we'll need to start looking at changing those over. All base classes will need to expose an Ilogger so people can use that.
2015-01-07 17:23:24 +11:00
Stephan
95a4bb9ba6
refactor PublishedContentModelFactory
2014-05-19 13:15:47 +02:00
Shannon
62d4bff8aa
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Web.UI/config/ClientDependency.config
2014-03-13 11:11:51 +11:00
Shannon
0dc00a62e2
Adds ability to have proxy migrations so there is no duplication of declaring migrations and no duplication of executing already executed migrations. Would have been a bit nicer to have
2014-03-12 20:36:40 +11:00
Shannon
9d7d866467
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
src/Umbraco.Core/Umbraco.Core.csproj
2014-03-12 18:44:54 +11:00
Shannon
d0fc3ddba5
ensures applicationeventsresolver is disposed of in the correct place.
2014-03-12 18:11:05 +11:00
Shannon
6a4ea56dc5
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
2014-03-12 17:17:05 +11:00
Shannon
ff21379547
Makes ApplicationEventsResolver IDisposable so we can clear resources after startup.
2014-03-12 14:16:52 +11:00
Shannon
2ecab70772
Fixes: U4-4182 Exception during plugins loading
2014-03-11 17:00:35 +11:00
Shannon
c4acbf0dbc
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs
src/Umbraco.Core/Constants-Conventions.cs
src/Umbraco.Core/Models/Member.cs
src/Umbraco.Core/Models/Membership/IUser.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Factories/MemberReadOnlyFactory.cs
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IUserRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberGroupRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/PermissionRepository.cs
src/Umbraco.Core/Persistence/RepositoryFactory.cs
src/Umbraco.Core/Services/ContentService.cs
src/Umbraco.Core/Services/IMemberTypeService.cs
src/Umbraco.Core/Services/IMembershipUserService.cs
src/Umbraco.Core/Services/IUserService.cs
src/Umbraco.Core/Services/MemberService.cs
src/Umbraco.Core/Services/MemberTypeService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Core/Services/UserService.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/MockTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Login.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/LoginStatus.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/RegisterMember.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/Breadcrumb.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/EditProfile.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListAncestorsFromCurrentPage.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesFromCurrentPage.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesOrderedByDate.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesOrderedByName.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesWithDoctype.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListDescendantsFromCurrentPage.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/Login.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/LoginStatus.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/MultinodeTree-picker.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/Navigation.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/RegisterMember.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/SiteMap.cshtml
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx.cs
src/Umbraco.Web.UI/config/umbracoSettings.config
src/Umbraco.Web/Cache/CacheRefresherEventHandler.cs
src/Umbraco.Web/Controllers/UmbLoginController.cs
src/Umbraco.Web/Controllers/UmbLoginStatusController.cs
src/Umbraco.Web/Controllers/UmbProfileController.cs
src/Umbraco.Web/Controllers/UmbRegisterController.cs
src/Umbraco.Web/Models/LoginModel.cs
src/Umbraco.Web/Models/LoginStatusModel.cs
src/Umbraco.Web/Models/ProfileModel.cs
src/Umbraco.Web/Models/RegisterModel.cs
src/Umbraco.Web/Models/UmbracoProperty.cs
src/Umbraco.Web/Mvc/UmbracoViewPageOfTModel.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
src/Umbraco.Web/Security/WebSecurity.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoModule.cs
src/Umbraco.Web/WebApi/UmbracoApiController.cs
src/Umbraco.Web/umbraco.presentation/library.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewMacrosTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/editContent.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/login.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/members/EditMember.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/users/EditUser.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbracobase/baseLibrary.cs
src/Umbraco.Web/umbraco.presentation/umbracobase/restExtension.cs
src/umbraco.businesslogic/User.cs
src/umbraco.providers/UsersMembershipProvider.cs
src/umbraco.providers/members/UmbracoMembershipProvider.cs
2014-02-13 16:22:51 +11:00
Shannon
690d08aa8c
Completes wrapping the new IUserService from the legacy User object. Ensures User cache is handled correctly and distributed cache is updated for Users.
2014-01-28 10:46:59 +11:00
Shannon
743c0bb31c
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
2013-12-16 14:19:10 +11:00
Shannon
a42b660648
Backporting the cachehelper and associated cache classes.
2013-12-16 13:19:10 +11:00
Stephan
98c8d637f4
Merge remote-tracking branch 'origin/6.2.0' into 7.0.2
...
Conflicts:
src/Umbraco.Core/DatabaseContext.cs
src/Umbraco.Core/Strings/DefaultShortStringHelper.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/install/utills/LegacyClasses.cs
2013-12-13 13:05:10 +01:00
Stephan
5aec753859
U4-3710, -3732 - Fix default ShortStringHelper
2013-12-13 12:20:57 +01:00
Shannon
49550b410a
Ensures Integer and Email validators are added on startup as manifest validators.
2013-12-12 18:28:45 +11:00
Shannon
478b7cde42
Removes uGoLive from the core (for now until it is rebuilt against v7 )
2013-11-28 10:51:54 +11:00
Shannon
46ba9718ff
Changes the explicit paramet editor implementations to simply use the already created property editors, updates the legacy parameter editor mappings and adjusts the resolver to use the mappings if one is not found.
2013-10-30 14:36:07 +11:00
Stephan
ee5af4998f
Fix bug after merge
2013-10-11 12:30:17 +02:00
Stephan
4b36dcc13b
Fix bug after merge
2013-10-11 12:28:31 +02:00
Stephan
69367e0cda
Merge remote-tracking branch 'origin/6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/Models/DataTypeDefinition.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Properties/AssemblyInfo.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
src/Umbraco.Web/Security/Providers/MembersMembershipProvider.cs
src/umbraco.providers/members/MembersMembershipProvider.cs
2013-10-11 10:24:24 +02:00
Stephan
671b94dd06
PublishedContentModel - keep it internal for now
2013-10-11 09:24:26 +02:00
Stephan
19784e04bf
Merge remote-tracking branch 'origin/6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/ObjectResolution/Resolution.cs
2013-10-02 17:42:59 +02:00
Stephan
06206c60d9
Merge remote-tracking branch 'origin/6.2.0' into 6.2.0-pubcontent
2013-10-02 17:06:46 +02:00
Stephan
f64b8d680d
Core.StringExtensions - switch over to the new DefaultShortStringHelper
2013-10-02 16:54:56 +02:00