Shannon
0e6f2b542e
Merge branch 'dev-v7.6' into temp-faster-startup-less-scanning
...
# Conflicts:
# src/Umbraco.Core/PluginManager.cs
2017-04-03 16:57:57 +10:00
Shannon
c5f388f6bc
Merge remote-tracking branch 'origin/dev-v7' into dev-v7.6
...
# Conflicts:
# build/NuSpecs/UmbracoCms.Core.nuspec
# src/Umbraco.Tests/packages.config
# src/Umbraco.Web/Umbraco.Web.csproj
# src/Umbraco.Web/packages.config
# src/UmbracoExamine/UmbracoExamine.csproj
# src/umbraco.MacroEngines/packages.config
# src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
2017-03-30 17:03:51 +11:00
Shannon
4fef17190f
adds notes
2017-03-30 11:03:07 +11:00
Shannon
9f9b4d2e84
Changes all relevant scannable plugin types to implement a base marker interface so we only scan one time
2017-02-28 23:12:48 +01:00
Shannon
72910cb35e
Updates everything to .Net 4.6.2, had to update the semver reference too - no breaking changes though
2017-02-07 00:22:34 +11:00
Shannon
9d06ce53a4
U4-9444 SessionState is not available when rendering macro contents in the Rich Text Editor
2017-01-30 13:22:47 +11:00
Shannon
bd219cb8f2
U4-8542 Require https attribute for back office web api controllers
...
This adds the webapi filter and also creates a new MVC one with a better name and the correct namespace since it was previously in the wrong namespace . I've obsoleted the old one and proxied the logic to the new renamed one so there are no breaking changes.
2016-07-12 18:13:11 +02:00
Shannon
f87bec398d
U4-8239 DisableBrowserCacheAttribute causing YSOD when a previous exceptions is thrown before the filter kicks in
2016-04-07 16:44:45 +02:00
Shannon
43e23829ae
updates EnsurePartialViewMacroViewContextFilterAttribute to check for child actions
2016-03-23 10:06:13 +01:00
Shannon
b9af6f631a
U4-8220 ModelState and ViewData is not carried through when using the obsolete Content.GetGridHtml method
2016-03-22 11:23:09 +01:00
Shannon
cd401f5e37
U4-8216 Hijacked controller actions fail with custom RenderModel subclass due to ModelBinding error
2016-03-21 16:12:34 +01:00
Stephan
0f90d357cf
U4-8043 - reboot application when PureLive models go wrong
2016-03-18 16:14:06 +01:00
Shannon
f93fee28dd
U4-8165 Ensure browsers are not caching service requests
2016-03-16 14:51:04 +01:00
Shannon
e60e4e52fc
U4-7708 Using a RTE Macro Partial Form (SurfaceController) & Doctype Hijack Controller causes problem with submissions
2016-03-10 18:00:14 +01:00
Shannon
b9765c3bec
fixes RenderModelBinder to use base implementation,adds unit tests
2016-03-07 17:52:28 +01:00
Shannon
5f365241a8
updates RenderModelBinder to simply check for IPublishedContent or IRenderModel
2016-03-07 16:29:40 +01:00
Shannon
9c121f0044
Fixes RenderModelBinder to inherit from DefaultModelBinder and use the default logic if the model in the route values is not IRenderModel
2016-03-07 16:26:30 +01:00
Stephan
04b3532e9d
U4-8030 - Fix RenderModelBinder issue with surface
2016-02-22 18:38:06 +01:00
Stephan
ffada74aa4
Improve RenderModelBinder error msg when same type, different assemblies
2016-02-18 16:04:45 +01:00
Shannon
640b2c0ee0
Moves strings to constants, adds ControllerContextExtensions to get the UmbracoContext from the hierarchy of ControllerContext's, changes RenderModelBinder to use this method to get the UmbracoContext, changes UmbracoViewPageOfTModel to use this method to get the UmbracoContext, adds RouteDataExtensions to get the UmbracoContext from routedata, adds extension methods on the HttpContext to get the UmbracoContext from it.
2016-02-16 11:17:47 +01:00
Sebastiaan Janssen
0a26e482aa
Fixes another reported bug for U4-7950
2016-02-16 09:01:28 +01:00
Sebastiaan Janssen
f31b6d9c2c
Use CultureInfo.CurrentCulture if UmbracoContext.PublishedContentRequest is not available
2016-02-15 08:27:07 +01:00
Stephan
81754b37a4
Add support for models in controllers
2016-01-27 12:05:22 +01:00
Stephan
9f360c2b9b
Fix test broken by PR #1027
2016-01-19 12:52:43 +01:00
Stephan
a1b98b6e31
U4-7754 - fix UmbracoViewPage with models
2016-01-18 17:35:26 +01:00
Shannon
18c3345e47
Fixes U4-7459 XSRF protection bypass - ensures tokens are checked for the non-editor api controllers
2015-11-25 19:39:24 +01:00
Claus
2c63866cb3
Merge pull request #909 from umbraco/U4-7270-1
...
Creates an IAsyncRenderMvcController which can be used instead of IRe…
2015-11-24 10:09:45 +01:00
kiasyn
f83c966e55
Remove unnecessary ToLowerInvariant call from PreviewMode
...
Text was being set lowercase and then injected with the preview badge markup. This meant that things such as script tags were being lowercased, breaking the javascript.
2015-11-24 10:02:14 +13:00
Shannon
916bad82df
Ensures that the RenderActionInvoker isn't doing anything special so that MVC takes care of everything regarding async vs non-async and any controller descriptor/action descriptor lookups and cache. Creates a RenderIndexActionSelectorAttribute - this is used to decorate the underlying RenderMvcController.Index action. MVC will call into this method to check if the MethodInfo is valid, we then do a quick comparison of types, if the current type is the same as the reflected type, this means that the Index action has been overridden or there is no custom controller... lets use it. If the types don't match we'll do a simple reflected lookup to check if the reflected controller type (current controller) has more than one index action, if so, it means that a custom controller is in play and it has a custom index action... so we won't use the base class action and then it's up to MVC to find any other matching Index action based on the current request parameters. Added some tests for this too.
2015-11-18 14:59:29 +01:00
Shannon
9fd80d791a
Creates an IAsyncRenderMvcController which can be used instead of IRenderMvcController if developers want access to an async Index action.
2015-11-17 17:05:00 +01:00
Shannon
ecbced5c62
Massively simplifies the RenderActionInvoker which will support the native MVC caching and both async and non async support. U4-7270 Async Index actions for controllers implementing IRenderMvcController do not render view correctly
2015-10-28 14:31:40 +01:00
Shannon Deminick
7b8b7ed170
Merge pull request #837 from digbyswift/dev-v7
...
U4-7270 - Addition of allowance for async/await Index actions
2015-10-28 12:33:32 +01:00
Kieron McIntyre
db6755a5bb
Addition of allowance for async/await Index actions
2015-10-23 10:04:14 +01:00
Damiaan
6d5a8c0db7
U4-7087 make pageId getter public to be able to unittest
2015-09-10 18:11:18 +02:00
Shannon
cd3c17d73f
Obsoletes AllowAll on MemberAuthorizeAttribute
2015-08-21 12:15:45 +02:00
Sebastiaan Janssen
3133014650
Removes more references to FixedDisplayModes
2015-07-30 17:39:07 +02:00
Sebastiaan Janssen
d87b268a40
Update to MVC5
2015-07-30 17:08:39 +02:00
Shannon
96cd4daca5
Fixes how modelstate and viewdata get populated into the PartialViewMacroController and in turn get populated into the viewresult, privatize's EnsureViewObjectDataOnResult so that it's not used by accident elsewhere
2015-07-22 18:25:08 +02:00
Sebastiaan Janssen
0bbe1c6cdc
U4-6721 Error when submitting Macros, Collection was modified; enumeration operation may not execute. (after project has been updated to MVC5)
...
#U4-6721 In Progress
2015-07-21 19:35:00 +02:00
Sebastiaan Janssen
34f44b02a2
U4-6721 Error when submitting Macros, Collection was modified; enumeration operation may not execute. (after project has been updated to MVC5)
...
#U4-6721 In Progress
2015-07-21 15:55:39 +02:00
Stephan
ee0297bb69
U4-6631 - throw on missing physical template file
2015-06-15 17:36:53 +02:00
Stephan
dffe09af58
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Web/UmbracoModule.cs
2015-06-04 18:32:54 +02:00
Shannon
8e114f1e8f
Scheduled publishing is executing request async with cancellation token
2015-06-04 11:49:58 +02:00
Shannon
73c34fda9c
Merge branch 'dev-v7' of https://github.com/michaeljfarr/Umbraco-CMS into michaeljfarr-dev-v7
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Core/packages.config
src/Umbraco.Web/Umbraco.Web.csproj
2015-05-14 08:38:51 +10:00
Shannon
f87764f9d5
a bit better support for unit testing controllers with ctor overloads
2015-04-13 20:13:57 +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
michael
ae3c17073b
Move MVC dependencies from Umbraco.Core to Umbraco.Web
...
note:MvcHandler.DisableMvcResponseHeader = true was removed from UmbracoApplicationBase.StartApplication.
This was the only breaking change, it can be put back in at a higher level if necessary.
2015-04-06 16:48:55 +12:00
AndyButland
437e7f0ffc
Removed unused usings from previous commit
2015-04-01 23:29:43 +02:00
AndyButland
afa6c35bb5
Added overloads to RedirectToUmbracoPage methods to allow passing of a querystring
2015-04-01 23:27:20 +02:00
Shannon
349cb91e3a
updates expires logic
2015-04-01 13:42:24 +11:00