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
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
a1c7352da1
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Integration/GetCultureTests.cs
src/Umbraco.Tests/Models/ContentTests.cs
src/Umbraco.Tests/Models/ContentTypeTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/Services/ContentTypeServiceTests.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/Mvc/SurfaceController.cs
2015-04-09 16:50:07 +10:00
Shannon
d5e735ac14
Fixes singleton accessors and adds ctor which would allow unit testability.
2015-04-07 12:07:54 +10:00
Sebastiaan Janssen
5f175874b2
Fixes tests and adds a few
2015-04-02 17:52:59 +02:00
Sebastiaan Janssen
fa053426c3
Don't disableFindContentByIdPath when in preview mode
2015-04-02 17:16:56 +02:00
Shannon
bceed10bd8
Merge branch 'dev-v7-distcache' into 7.3.0
2015-04-01 14:00:13 +11:00
Shannon
cd3191012f
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/LogScrubber.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/content.cs
2015-03-27 15:15:49 +11:00
Sebastiaan Janssen
9dfccd86fd
U4-2499 Remove the possibility for accessing pages with nodeid's or give a redirect option
...
#U4-2499 Fixed Due in version 7.2.5
2015-03-24 20:09:48 +01: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
Sebastiaan Janssen
d24ef3650e
U4-274 - Adds config option to disable alternative templates
2015-03-17 13:50:33 +01:00
Stephan
46fdd605ae
Refactor distributed cache & merge Shazwazza's DataBaseServerMessenger
2015-03-05 10:49:21 +01:00
Shannon
c760a7c50d
Merge branch 'dev-v7-7.3.0-UmbHelperInterfaces' of https://github.com/Shazwazza/Umbraco-CMS into Shazwazza-dev-v7-7.3.0-UmbHelperInterfaces
...
Conflicts:
src/Umbraco.Web/Umbraco.Web.csproj
2015-02-18 17:14:55 +01:00
Stephan
0c5acb7f32
Implement IContent.HasPublishedVersion
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
2015-02-10 15:39:12 +01:00
Stephan
6d08d9b7b0
Merge branch 'dev-v7' into 7.3.0
2015-02-03 20:08:46 +01:00
Stephan
08a2c0d082
U4-6184 - pipeline falls back from example.com:666 to example.com
2015-01-30 14:44:47 +01:00
Shannon
23a8777cde
oops fixes a stupid thing that i changed
2015-01-29 17:07:07 +11:00
Shannon
5a76e380de
Adds some extension methods, updates the PCR to not use the legacy access class... this actually also reduces a db lookup, made it not depenent on singletons.
2015-01-28 19:27:08 +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
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
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
70ddf646be
Changed the DefaultUrlProvider's warnings to Debug statements since this can get logged very often when there are unpublished pages and a URL is requested for them which can occur a ton, especially when searching in the back office since a URL is attempted to be created on each search for each result.
2015-01-05 10:08:36 +11:00
Shannon
4de31249fd
removes some usages of singletons
2015-01-05 10:01:58 +11:00
Shannon
4a1ea6e2d8
Fixes: U4-5710 UmbracoVirtualNodeRouteHandler does not allow for SurfaceController forms
2014-10-29 18:20:01 +10:00
Shannon
f43fa499bf
Fixes: U4-5628 Publicize PublishContentRequest.Prepare, U4-5574 UmbracoVirtualNodeRouteHandler doesn't handle culture properly
2014-10-10 14:45:38 +11:00
Shannon
34152867fa
Fixes: U4-5627 Publicize PublishedContentRequest constructor
2014-10-10 10:58:06 +11:00
Shannon
de1b69d5ae
adds some notes
2014-08-20 18:04:05 -06:00
Stephan
2926a79c3f
U4-4949 - fix issue with domains
2014-05-20 09:24:40 +02:00
Shannon
4d13925e3b
Fixes merge issues
2014-03-18 19:05:07 +11:00
Shannon
fd14065f14
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Core/Models/Member.cs
src/Umbraco.Core/Models/Membership/MembershipUserExtensions.cs
src/Umbraco.Core/Persistence/Factories/MemberFactory.cs
src/Umbraco.Core/Persistence/Factories/MemberReadOnlyFactory.cs
src/Umbraco.Core/Persistence/Mappers/MemberMapper.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Services/IMembershipUserService.cs
src/Umbraco.Core/Services/UserService.cs
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Tests/TestHelpers/Entities/MockedMember.cs
src/Umbraco.Tests/TestHelpers/Entities/MockedUser.cs
src/Umbraco.Web.UI/install/steps/DefaultUser.ascx.cs
src/Umbraco.Web/Controllers/UmbProfileController.cs
src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
src/Umbraco.Web/Security/WebSecurity.cs
src/Umbraco.Web/umbraco.presentation/LegacyClasses.cs
src/Umbraco.Web/umbraco.presentation/install/steps/LegacyClasses.cs
src/Umbraco.Web/umbraco.presentation/umbraco/channels/UmbracoMetaWeblogAPI.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/member.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/memberTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/userTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dashboard/ChangePassword.ascx.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/webservices/MediaUploader.ashx.cs
2014-03-18 18:47:49 +11:00
Shannon
8dd950bd52
Ensures all access to the users membership provider is done with our extension method
2014-03-18 17:22:25 +11:00
Shannon
e2881e07d1
Ensures that all calls to the members membership provider are done so explicitly with the membership provider alias - this decouples the need to have the umbraco membership provider declared as the default, we were doing both before.
2014-03-18 17:08:21 +11:00
Shannon
9a9237e78e
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Services/IMembershipUserService.cs
src/Umbraco.Tests/PublishedContent/PublishedContentTestElements.cs
src/Umbraco.Web.UI/config/trees.config
src/Umbraco.Web.UI/config/umbracoSettings.config
src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx
src/Umbraco.Web.UI/umbraco/developer/DataTypes/editDatatype.aspx
src/Umbraco.Web.UI/umbraco/plugins/uGoLive/Dashboard.ascx
src/Umbraco.Web/Mvc/UmbracoViewPageOfTModel.cs
src/Umbraco.Web/Search/ExamineEvents.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/content.cs
src/Umbraco.Web/umbraco.presentation/umbraco/cache/LegacyClasses.cs
2014-03-06 20:22:32 +11:00
Stephan
acd377956f
Improve how DomainHelper determines domain
2014-03-05 15:46:34 +01:00
Stephan
5dbc72897a
Add method to reset PublishedContentRequest template
2014-03-05 15:46:30 +01:00
Shannon
57c9d9ca7b
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0-installer
...
Conflicts:
src/Umbraco.Tests/MockTests.cs
src/Umbraco.Web/UmbracoContext.cs
2014-03-03 04:17:40 +01:00
Shannon
feb9f40237
updates some ctors on umbraco context and routing context to have lazy overloads which allows us to more easily create/mock the umbraco context.
2014-03-03 04:16:09 +01:00
Shannon
fbdb1d5d6c
Fixes: U4-3942 Cannot configure the request if there is not content assigned - exception
...
Conflicts:
src/Umbraco.Tests/Umbraco.Tests.csproj
2013-12-28 14:01:08 +11:00
Shannon
fb029861cf
Fixes: U4-3942 Cannot configure the request if there is not content assigned - exception
2013-12-28 13:57:20 +11:00
Shannon
2a05687c8b
Merge remote-tracking branch 'origin/6.2.0' into 7.0.1
...
Conflicts:
src/Umbraco.Core/Persistence/Relators/PropertyTypePropertyGroupRelator.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/PluginManager.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Web.UI/install/Default.aspx.cs
src/Umbraco.Web.UI/umbraco/LiveEditing/Modules/SkinModule/ModuleInjector.aspx
src/Umbraco.Web.UI/umbraco/Umbraco.aspx.cs
src/Umbraco.Web.UI/umbraco/dashboard.aspx
src/Umbraco.Web.UI/umbraco/dialogs/sort.aspx
src/Umbraco.Web.UI/umbraco/dialogs/umbracoField.aspx
src/Umbraco.Web.UI/umbraco/logout.aspx
src/Umbraco.Web.UI/umbraco/umbraco.aspx
src/Umbraco.Web/UI/Pages/UmbracoEnsuredPage.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/install/LegacyClasses.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dashboard.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/logout.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/umbraco.aspx.cs
src/umbraco.cms/businesslogic/Packager/Installer.cs
src/umbraco.providers/members/MembersMembershipProvider.cs
2013-12-03 18:10:00 +11:00
Shannon
e981776e6d
Created new EnsurePublishedContentRequestAttribute for custom routing to still be able to render macros.
2013-11-29 17:41:38 +11:00
Shannon
d96de90cd9
Fixes: U4-3241 New content thinks it has been published
...
U4-3104 When a document is not published the links list shows there's an internal error
2013-10-29 16:36:56 +11:00
Stephan
ea638c37b7
Merge remote-tracking branch 'origin/7.0.0' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Web/UmbracoContext.cs
2013-09-30 14:05:12 +02:00
Stephan
bfa7ab788b
Merge remote-tracking branch 'origin/6.2.0' into 6.2.0-pubcontent
2013-09-30 14:00:01 +02:00
Shannon
bbdce28951
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0-member-editor-wip
...
Conflicts:
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadContent.cs
2013-09-30 13:52:01 +10:00
Stephan
928f7a1ed0
Merge branch '6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/macro.cs
2013-09-29 16:05:52 +02:00
Stephan
e7754213f1
INode to IPublishedContent transition for Razor macros
2013-09-29 15:22:35 +02:00
Stephan
ea82e9c67e
Web.Routing - fix PublishedContentRequest exception message
2013-09-29 15:22:31 +02:00
Marc Brooks
b5022bb183
Fix order of null-check versus dotting through to .UmbracoContext.
...
The order of operations in the constructor dots through to the _routingContext.UmbracoContext before checking if the value was null and throwing the argument exception (which really isn't an ArgumentException...)
2013-09-26 13:41:51 -05:00