Morten Christensen
75de4e4e67
Implements the retrieval of ancestors, children, descendats and parent IContent in the ContentService and as extensions to IContent.
...
Corresponds to the IContent implementation of U4-1638.
2013-02-09 10:58:21 -01:00
Stephan
dda9519e5e
Core.Models - fix typo in Template
2013-02-06 13:33:04 -01:00
Stephan
91ff702cf2
Core.IO - add 'verify' methods to complement 'validate' methods
2013-02-06 13:25:27 -01:00
Morten Christensen
ef20f228ec
Correcting issue related to MediaXmlTest, which was fixed in v6.
2013-02-05 09:13:21 -01:00
Shannon Deminick
e8d924cd2c
Merge with 6.0.1
2013-02-01 19:43:10 +06:00
Morten Christensen
39d45ba4b0
Fixes U4-1618
2013-02-01 08:21:44 -01:00
Stephan
f1039a18e4
Merge with 6.0.1
2013-01-29 18:51:58 -01:00
Morten Christensen
01bd247831
Correcting HasIdentity check for implementors of File, as the previous check only applies to Script and Stylesheet and not Template.
2013-01-29 12:16:13 -01:00
Morten Christensen
1e8b82f5df
Fixes U4-1576. Ensures that structure is kept when moving content and media to and from the recycle bin.
...
Path and Level are updated accordingly.
2013-01-29 10:26:18 -01:00
Morten Christensen
0dbebaf12e
Fixes U4-1557 so the name of a Media item is properly saved.
...
This has also be tested and verified for content.
2013-01-28 14:31:40 -01:00
Sebastiaan Janssen
0689b928c2
Fixes U4-1510 Missing content in Umbraco 6 beta after publish
2013-01-28 11:15:30 -01:00
Sebastiaan Janssen
a11d924736
Fixes U4-1553 - YSOD when umbracoUrlName value is null
2013-01-26 15:50:53 -01:00
Morten Christensen
086a0811cb
Refactoring GetCreator/WriterProfile extension methods to use the service rather then repository, as it seems to cause threading issues per our threading test.
2013-01-25 07:30:25 -01:00
Morten Christensen
25f91cc0da
Fixes U4-1534 so documents containing the tag datatype is properly copied.
...
Copying a document with a Tags datatype on it would only work if a new TagRelationship is created.
2013-01-24 13:49:41 -01:00
Morten Christensen
23141e1e8c
Fixing broken media tests after having added ToXml and saving of xml to ContentXml table in the MediaService
2013-01-24 12:25:48 -01:00
Morten Christensen
b17dcd2b56
Fixes U4-1516 by ensuring that referenced templates are deleted prior to deleting the actual template.
...
Removing uncommented code from the Media class as well as from the ContentExtension class.
Added saving of Media Xml to MediaService upon saving.
Removing referenced media test from csproj as cs file was missing.
2013-01-24 09:50:27 -01:00
Shannon Deminick
c8807c3798
Fixes: #U4-1530. Backports ContentExtension changes from 6.1 required for Examine and media. Added unit tests to support and enhanced old unit test for ToXml for content
...
to test for more values to ensure nothing is broken. Updates ExamineEvents to ensure that no event binding occurs until the application is configured and the
database is ready. Updates ExamineEvents to ensure that data is indexed using the new 6.0 APIs, though this is a temporary fix and a better one will be implemented
in 6.1 since UmbracoExamine is in the source.
2013-01-24 06:16:44 +03:00
Morten Christensen
72ff03f142
Fixes U4-1512 by using the same safe alias method as in the legacy code base.
...
This should ensure that published content aliases has the same format as in v4.
2013-01-22 08:44:06 -01:00
NielsHartvig@UMBRACORATI.localdomain
53ddda9f59
Fixes U4-1480 ContentBase.SetPropertyValue has no override for long datatype
2013-01-18 09:03:58 -01:00
Stephan
e7b84b1637
Merge with 6.0.1
2013-01-29 06:46:07 -01:00
Stephan
b8ac74a05d
fix merges
2013-01-28 09:02:28 -01:00
Stephan
a699d9e1de
merge from 6.0.1
2013-01-27 16:02:59 -01:00
Shannon Deminick
36a5313336
Merge with 6.0.0
2013-01-25 06:19:14 +03:00
Shannon Deminick
fedcdcfcd5
Manually re-merged latest changes to ContentExtensions from 6.0 branch to include changes to check for
...
UseLegacyXmlSchema
2013-01-23 19:00:28 +03:00
Shannon Deminick
11964401c8
Merge
2013-01-23 18:54:42 +03:00
Shannon Deminick
48202cfa09
Merge with 6.0.0
2013-01-23 18:50:44 +03:00
Stephan
8cac3e9c5c
merge with 6.0.0
2013-01-23 09:37:40 -01:00
Stephan
25c481b3ca
merge with 6.0.0
2013-01-23 09:33:26 -01:00
Morten Christensen
fc3681a930
Fixes U4-1476 so null values are handled before the overload is determined.
2013-01-15 11:56:25 -01:00
Morten Christensen
35052c626a
Reordering properties in the ContentBase constructor
2013-01-15 10:21:24 -01:00
Morten Christensen
ef9b0b6433
Fixes U4-1429 - A name is now required for creating Content and Media.
2013-01-15 10:12:23 -01:00
Morten Christensen
014bebd38f
Fixes U4-1465 by ensuring that a ContentType alias does not contain invalid characters nor spaces.
2013-01-14 13:27:40 -01:00
Morten Christensen
0466a8ce13
Fixes U4-1394
2013-01-14 13:13:23 -01:00
Morten Christensen
749a872fec
Fixes U4-1444 so HttpPostedFiles are now properly accepted through the SetValue method.
...
Corrects an issue with the RootUrl in the PhysicalFileSystem.
2013-01-14 11:02:12 -01:00
Morten Christensen
6a6a95f7dc
Correcting MediaService so it also moves any children to the recycle bin when trashing an item.
2013-01-11 10:38:32 -01:00
Morten Christensen
ca2942fdd9
Refactoring ChangePublishedState to use an enum instead of a boolean.
2013-01-10 14:07:07 -01:00
Morten Christensen
9c792a7a5e
Fixes U4-1423 so PropertyTypes not in a group are also included in the list of a Content/MediaTypes PropertyTypes.
2013-01-09 18:48:44 -01:00
Sebastiaan Janssen
7b4ccf73c6
Merge
2013-01-08 11:48:04 -01:00
Morten Christensen
afb251d5b7
Fixes U4-1394 so the DefaultTemplate is not completely removed from the list of allowed templates when changed.
2013-01-08 11:38:35 -01:00
Sebastiaan Janssen
08c0da0226
MasterContentType column should not be in DTO, it gives errors querying
...
non-existing column in the database
2013-01-08 10:42:36 -01:00
Morten Christensen
7e060d665b
Renamed a few properties on the PropertyType object, as the original naming was confusing.
2013-01-08 07:38:54 -01:00
Shannon Deminick
8b49d2d377
Removes all MyGet dependencies for UmbracoExamine (since it is in the core now).
...
Converts UmbracoContextService and UmbracoMediaService for UmbracoExamine to use the new data api's
to extract latest data. Currently had to hack a bit with a new class called LegacyLibrary because at the moment
we'll have a circular dependency with Umbraco.Web which needs to be fixed. Moves all Examine event management to
Umbraco.Web (again mainly because of circular dependencies, but makes sense to have it there). Fixes the ExamineEvents
to implement IApplicationEventHandler instead of IApplicationStartupHandler to ensure that all resolvers have been
initialized before attempting to initialize examine indexes. Updates Examine ILogService to use the LogHelper.
Adds some new ContentExtensions for IMedia since currently Examine needs xml structures, but have kept it internal.
2013-01-05 22:46:50 +03:00
Morten Christensen
9520f2d570
Fixes how PropertyTypes are removed from a DocumentType or MediaType when using the backoffice.
2013-01-03 15:16:17 -01:00
Morten Christensen
c7e8143128
Adds IUmbracoEntity to the structure of interfaces for ContentBase, ContentTypeBase and DataTypeDefinition.
2013-01-03 08:30:38 -01:00
Morten Christensen
169db0c15f
Fixes U4-1368 so the FileHandlerData doesn't handle setting properties for Document and Media.
...
Properties using the UploadField will have its value as well as related values updated in a BeforeSave event.
2013-01-02 14:28:15 -01:00
Morten Christensen
f4706fcfb7
Fixes U4-1370 for ContentTypes thats loading using new api meaning that the fix only applies to Content and Media, but currently not Members.
...
For Members there is still an issue with MasterContentTypes, as the full structure is not loaded. Need to make the sql lookup recursive-
2012-12-30 18:26:08 -01:00
Morten Christensen
3955f78966
Removing the camel case enforcement on the Alias of ContentTypes and MediaTypes in the new api.
2012-12-29 11:12:29 -01:00
Morten Christensen
c98d906f36
Correcting a few formatting issues after importing patch.
2012-12-28 19:08:01 -01:00
Morten Christensen
e198f76356
Committing changes from randy.mccluer's pull request
2012-12-28 19:03:15 -01:00
Morten Christensen
5dbcfa57a8
Implements the new publish and unpublish events in the PublishingStrategy.
...
Making the PublishStrategy public, so that its possible to subscribe to the events.
Removing the old PublishingEventArgs, which is no longer used.
Correcting a few comments.
2012-12-28 14:47:09 -01:00