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
6719d70cc0
Updates UserTypeCacheRefresher to clear the runtime cache accordingly.
2014-01-28 09:22:01 +11:00
perploug
de79512dd4
Adds overloads to relationService.AreRelated
...
Allows to lookup relations based on type and alias of type when doing
"AreReleated()" checks
2014-01-27 13:45:54 +01:00
Kevin Jump
57c68daf38
Fix Template Import when template has no master
...
Importing a template with no master template (i.e when it's at the root)
caused an error. Added check for MasterTemplateId != null - (tried
.IsValueCreated but that generated a object not set exception)
2014-01-23 16:07:07 +00:00
Kevin Jump
a705561a51
Fix Importing Macro when macro already exists
...
ParseMacroElement called by ImportMacro was no checking for to see if
the macro or properties already exists - caused SQL errors on import of
macro. Added check to look for existing macro, and only add new
properties on import (in line with other import methods)
2014-01-23 16:05:08 +00:00
Kevin Jump
a7107f01e8
Single DataType import Fix
...
Importing a file with a single data type failed, because the DataType
element is at the root when exported.
2014-01-23 15:57:50 +00:00
Shannon
e2ac82abca
Gets most of the User and UserType legacy objects wrapping the new services, yay! Now just need to sort out all the caching stuff which I have tasks for.
2014-01-23 18:44:41 +11:00
Shannon
64d1a484bd
Fixes User Id issues with HasIdentity, wraps legacy UserType to the new service, fixes the uninstalling db schema to not throw exceptions and clog up the unit test log.
2014-01-23 17:11:58 +11:00
Shannon
0be8039c8f
Changes how IProfile works which is now just exposed by the IUser instead of implemented, this cleans up the Id situation.
2014-01-23 15:31:49 +11:00
Shannon
668265f1ac
Allows forcing pass change with new provider, updates conventions to not allow editing of question/answer - unfortunately cannot make the other ones readonly because noEdit data type is the wrong clr type.
2014-01-23 15:11:54 +11:00
Shannon
4735f27a66
Fixes more naming conventions with CreateMemberWithIdentity, fixes memberTasks to ensure the name is set, fixes new membership providers which had the name/email call reversed. Updates the cache refresher event handler to listen to MemberService events instead of the old legacy API events.
2014-01-23 14:55:41 +11:00
Shannon
6377b9aa50
Fixes some underlying type conversions, fixes more of the member type wrapping, updates contenttypecontrolnew to work with member types properly, ensures the property type cache is cleared when member types change.
2014-01-23 13:33:58 +11:00
Shannon
011be60205
Finishes wrapping the member service and fixes a few bugs - ensures the RepositoryBase doesn't keep enumerating when getting all
2014-01-23 12:30:28 +11:00
Shannon
a272675ed8
Wraps the MemberService from the legacy Member object
2014-01-23 11:41:01 +11:00
Shannon
56dec485a5
Starts wrapping MemberTypeService from the legacy MemberType object. Changes the User.Id to an int - no more casting. Changes CreateMember to CreateMemberWithIdentity for consistency. Adds raiseEvent params to the create/save methods. Updates the MemberTypeService to have consistent naming conventions. Starts wrapping more of the MemberService from the legacy Member object.
2014-01-23 10:41:57 +11:00
Kevin Jump
5663b6890f
Revert "Export Template fails when template has no master value"
...
This reverts commit a2905c13f6 .
2014-01-22 21:35:16 +00:00
Kevin Jump
a2905c13f6
Export Template fails when template has no master value
2014-01-22 21:29:49 +00:00
Kevin Jump
e8f7a83f68
Fixed: U4-4119 - Export ContentType fails for Generic Properties
...
Adds Null checking for PropertyGroupID so that an exception is avoided
when the propertyType is in the Generic Properties group (and has no ID
assigned)
2014-01-22 19:50:21 +00:00
Shannon
9bd8d729fa
publicizes user stuff, changes the IUser.Id to an int - no need for it to be an object and casted everywhere. Updates the login logic to perform the mapping logic for custom membership providers with an extension method.
2014-01-22 14:07:18 +11:00
Shannon
3f8b3031c2
completes: U4-3996 Fix EditUser to use the membership provider properly, U4-3997 Fix EditMember to use the membership provider properly
2014-01-22 11:57:33 +11:00
Shannon
7da41594fd
re-publicizes member services, fixes: U4-4102 Un-obsolete ContentService.Publish
2014-01-22 11:27:44 +11:00
Sebastiaan Janssen
10a4eb3ddc
Fix Duplicate attribute YSOD (key was already added in the base class)
2014-01-20 12:02:52 +01:00
Morten Christensen
51f46cf871
Not raising export events for content/media ToXml extension for the time being
2014-01-20 10:37:46 +01:00
Shannon
f717628322
Ensures username is escaped in user service
2014-01-20 16:13:41 +11:00
Shannon
c2c4763faa
Ensures username is escaped in user service
2014-01-20 16:11:38 +11:00
Shannon
c92441e544
Ensures user name is escaped in member service query.
2014-01-20 14:37:26 +11:00
Shannon
f0573fc68c
Fixes: U4-4084 Macro's with non alphanumeric chars in their aliases cannot render in the rich text editor
2014-01-20 13:59:25 +11:00
Morten Christensen
dddb38d4ee
Adding comment to private method for clarity
2014-01-19 15:23:05 +01:00
Morten Christensen
ba27acead9
Adding unique key to xml for contentbase exports
2014-01-19 15:23:04 +01:00
Morten Christensen
5e7ee0c236
Adding ImportMacros to PackagingService interface
2014-01-19 15:23:03 +01:00
Morten Christensen
bb30d5ebd2
Refactoring Macro import method in PackagingService
2014-01-19 15:23:02 +01:00
Morten Christensen
2ae3b09b8c
Updating PackagingService to use the newly added event args
2014-01-19 15:23:02 +01:00
Morten Christensen
473d76f1b7
Adding Event Args for import and export
2014-01-19 15:23:01 +01:00
Morten Christensen
6c37b33509
Adding export method for macros in the PackagingService and changing the ctor to accept the MacroService, so we can also add an import method.
2014-01-17 15:29:51 +01:00
Morten Christensen
509bcee540
Changing the name of the private field to be more inline with the Property
2014-01-17 15:28:53 +01:00
Morten Christensen
3dec881848
Removing extra line spaces
2014-01-17 15:28:12 +01:00
Morten Christensen
9164567abe
Adding export of templates to PackagingService
2014-01-17 13:55:34 +01:00
Stephan
12314f16a2
U4-4056 - fixing
2014-01-17 10:27:09 +01:00
Shannon
ae05bfd350
Fixes: U4-4055 List View document types still display children in content tree
2014-01-17 13:00:11 +11:00
Stephan
bfc89a7247
merge branch 'origin/6.2.0' into 7.0.2 + fix
2014-01-16 19:40:29 +01:00
Stephan
326309e61e
U4-4056 - better unicode/ascii support for urls
2014-01-16 17:09:21 +01:00
Shannon
8926e8c7d9
ensures preview cookie is gone on logout.
2014-01-16 20:56:34 +11:00
Shannon
ee7ee81098
fixes merge issue
2014-01-16 20:51:23 +11:00
Shannon
f4b707e928
Merge remote-tracking branch 'origin/6.2.0' into 7.0.2
...
Conflicts:
src/Umbraco.Core/Configuration/UmbracoSettings.cs
src/Umbraco.Core/Security/AuthenticationExtensions.cs
src/umbraco.businesslogic/StateHelper.cs
2014-01-16 20:49:19 +11:00
Shannon
c38030def2
Fixes: U4-3855 Preview cookie should be a session cookie not persisted
2014-01-16 20:47:13 +11:00
Shannon
bb837232ba
Allows DefaultPropertyValueConverters to shadow other default converters, this allows us to have a hierarchy of default converters. This also fixes part of this issue: U4-4030 RelatedLinksEditorValueConvertor can't be overruled and internal links are wrong
2014-01-15 14:45:33 +11:00
Shannon
fd682efdb1
Merge remote-tracking branch 'origin/6.2.0' into 7.0.2
2014-01-15 13:37:46 +11:00
Shannon
5c614a88a2
ensures webapi plugincontrollers are routed to /backoffice if [IsBackOffice] is specified
2014-01-15 13:29:17 +11:00
Shannon
f27a0c0461
Merge remote-tracking branch 'origin/6.2.0' into 7.0.2
...
Conflicts:
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/EmptyTemplate.cshtml
src/Umbraco.Web.UI/umbraco/dialogs/protectPage.aspx
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoModule.cs
src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs
2014-01-15 13:28:41 +11:00
Shannon
3ef9635406
Fixes: U4-4010 Member and user session gets mixed - fixes how we detect a back office request + unit tests and added new IsBackOffice attribute
2014-01-15 13:17:38 +11:00