Shannon
1c0188351c
Moves the grid configuration to a config class so it can be re-used. Updates the BackOfficeController to use the new config classes. Creates a new Grid property value converter (which can be overridden by user's ones) which merges the grid config values at runtime so we are not storing stale grid config values with the actual property value. Now we need to ensure that the grid doesn't post or persist these config values since they don't belong there.
2015-06-16 15:04:31 +02:00
Shannon
20e265491f
Updates to latest AutoMapper and HtmlAgility
2015-06-16 10:19:34 +02:00
Shannon
1b137bb785
Fixes: U4-5777 Allow Localization of Plugins without having to edit core language files
2015-06-15 17:13:34 +02:00
Stephan
99ff86aefb
DistributedCache - don't serialize payload on local node
2015-05-18 16:35:42 +02:00
Shannon
1d0b5f3251
ensures courier has access to internals
2015-05-18 16:04:23 +10: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
9e1d3220c2
Ensures all correct security columns exist on user table and ensures they are updated.
2015-05-13 18:19:23 +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
95ff94c532
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/packages.config
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
src/Umbraco.Web/Editors/AuthenticationController.cs
src/Umbraco.Web/packages.config
2015-05-11 12:26:53 +10:00
Shannon
d94b334375
Moves login logging to the provider level
2015-05-11 12:22:56 +10:00
Shannon
a4a49b1466
Revert "Fixes MVC 4.0.0.1 problem once and for all." - All MVC ref's are 4.0.0.0, no web config transforms (also there was never a 4.0.0.1 version of System.Net.Http). Everything works on my machine now, even with 4.0.0.1 installed in the GAC.
2015-05-11 11:45:13 +10:00
Shannon
3be1cd8b0d
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/packages.config
src/Umbraco.Web.UI.Client/src/views/common/dialogs/user.controller.js
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/packages.config
2015-05-07 16:24:29 +10:00
Shannon
1cac4ed075
Fixes MVC 4.0.0.1 problem once and for all.
2015-05-07 08:10:45 +10:00
Sebastiaan Janssen
4144590189
Upgrade to latest MySql.Data and loosen up NuGet dependency
2015-05-05 12:15:28 +02:00
Shannon
2f9753cc12
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/umbraco.presentation/content.cs
src/umbraco.macroRenderings/app.config
2015-05-05 12:27:01 +10:00
Stephan
57909489cb
AsyncLock - import
2015-04-13 19:12:00 +02:00
Shannon
f2e319a01f
Updates the UmbracoBackOfficeIdentity to have better support for claims and adds unit tests for it. Creates OwinLogger's and methods to apply them. Updates security methods to ensure that a UmbracoBackOfficeIdentity is returned even from a normal ClaimsIdentity which will be the case with bearer tokens. Updates the angular anti-forgery checker to be ignore if the auth type is not cookie based. Adds a simple token server provider that people can use if they want. Now token authentication is working.
2015-04-10 14:22:09 +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
0eac50ceba
Fixes: U4-6506 Grid config in package.manifest doesn't allow for multiple grid editors and adds tests
2015-04-07 17:24:35 +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
Shannon
5e90e74969
Merge branch '7.3.0' of https://github.com/umbraco/Umbraco-CMS into 7.3.0
...
Conflicts:
src/Umbraco.Core/Persistence/Migrations/Initial/DatabaseSchemaCreation.cs
2015-04-01 14:03:05 +11:00
Shannon
bceed10bd8
Merge branch 'dev-v7-distcache' into 7.3.0
2015-04-01 14:00:13 +11:00
Shannon
140d3c0268
Update to latest Identity. Moves startup code to App_Start like VS templates have, this will be better for our nuget packages (like i do in UmbracoIdentity which works for both web apps and websites). Updates web.config to explicitly declare the owin startup otherwise we'll end up with conflicts (YSODs) and now people can configure it properly.
2015-04-01 13:42:26 +11:00
Shannon
4dcc4807ed
Implements IUserSecurityStore and ensures there is a security stamp token in place, have updated the repository layer to manual update this if ASPNet Identity APIs are not used to update users.
2015-04-01 13:42:09 +11:00
Shannon
b269760b21
removes the BackOfficeRoleManager since we don't use roles in the back office (sections i suppose) and we can't dynamically just create them, that doesn't make sense.
2015-04-01 13:41:55 +11:00
Shannon
ff602da0fa
Updates owin packages and updates the web.config tempate for owin redirects
2015-04-01 13:41:45 +11:00
Shannon
4b156ba27e
Starts stubbing out role manager code
2015-04-01 13:41:43 +11:00
Shannon
a2a8c8fbd7
updated to latest owin
2015-04-01 13:41:36 +11:00
Shannon
d9f453d860
Gets the user store up to date with the correct queries.
2015-04-01 13:41:28 +11:00
Shannon
8c51e8bad8
Implements IExternalLoginService and the db table, implements more logic to start enabling this to work in the back office, need to implement the rest of the userstore and then implement a way once logged in to the back office to allow users to link their accounts with external logins. Currently if an external login is detected during startup and it has not been linked we'll throw an exception. Very very close to making this all work nicely.
2015-04-01 13:41:26 +11:00
Shannon
d4b21243ca
Allows external logins to be listed on login page, updates BackOfficeController with actions for invoking them.
2015-04-01 13:41:24 +11:00
Shannon
927add6f44
Updates UmbracoBackOfficeIdentity to add claims and adds a new ctor so people can create an identity manually - this is really the key, by doing this we'd already be able to have 3rd party authentication happening. Ensures our custom secure data format persists the user data
2015-04-01 13:41:21 +11:00
Shannon
93df2edec2
Initial install which now uses Identity middleware to perform the back office auth (no longer done in our module). Created custom data secure classes that use the legacy Forms auth logic for backwards compat. This means that the cookie can still be written the old way and still auth the new way if required. Now need to clean a lot of this up.
2015-04-01 13:41:16 +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
Sebastiaan Janssen
6dd63e8a01
U4-6341 Relate document on copy doesn't create a relation record in umbracoRelations table
...
#U4-6341 Fixed Due in version 7.2.3
2015-03-01 13:52:02 +01:00
Shannon
5342d819d9
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
2015-02-18 17:40:29 +01:00
Shannon
2acfd64706
Updates exif reader to an MIT licensed reader from https://code.google.com/p/exiflibrary
2015-02-17 16:47:29 +01:00
Shannon
428df7ae4a
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/Umbraco.Web.csproj
2015-02-17 15:11:10 +01:00
Stephan
0c5acb7f32
Implement IContent.HasPublishedVersion
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
2015-02-10 15:39:12 +01:00
Shannon
0efb9b72e7
Adds small exif library to read meta data from jpg's so we can attempt to read width/height from exif instead of loading the file into mem with GDI, makes for much faster and far less memory processing.U4-6246 Uploading specific images causes GDI+ Errors
2015-02-10 16:33:59 +11:00
Shannon
90b3bf59e0
Fixes: U4-2038 Violation of PRIMARY KEY constraint 'PK_cmsContentPreviewXml' YSOD occurs when publishing content
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
2015-01-30 10:32:46 +11:00
Shannon
5f0dc4a58e
Fixes: U4-2038 Violation of PRIMARY KEY constraint 'PK_cmsContentPreviewXml' YSOD occurs when publishing content
2015-01-30 10:01:25 +11:00
Shannon
e1e73f5e5f
completes: U4-6174 Remove cmsPropertyType.helpText column
2015-01-29 17:21:44 +11:00
Shannon
47ec2572f5
IMplements RepositoryCacheOptions to be able to have a more granular approach to how the base repository caches entities. Allows for a zero count caching as well which by default currently will be false since that's how it's inadvertently been until now, however have enabled a zero count cache for public access since this is queried very heavily on GetAll. Going to look at what other repositories do the same - Templates definitely does.
2015-01-29 15:39:41 +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
0a0e34d806
Ensures that the cache is updated properly with cache refreshers, ensures that the GetAll method for public access repo doesn't make any db calls and uses a non validating cache since it gets called a ton.
2015-01-28 16:15:34 +11:00
Shannon
61fd3fc505
Implements IPublicAccessService and wraps legacy Access class to use the new service, updates the public access data to use int's since using GUIDs atm is a little too complex, that will need to wait.
2015-01-28 13:16:50 +11:00