Commit Graph

94 Commits

Author SHA1 Message Date
Morten Christensen
222723b8fe Fixes #U4-2004 so GetPublishedDescendants retrieves the published version and not the latest version. 2013-04-21 09:06:22 -02:00
Morten Christensen
0632ffb93d Fixes #U4-2069 2013-04-20 11:03:57 -02:00
Morten Christensen
7ed5a6f706 Fixes #U4-2068 and #U4-2125
Creating test for verifying path is correctly updated when moving items to the recycle bin.
2013-04-19 06:07:25 -02:00
Sebastiaan Janssen
eb2db791b8 Additional fix for U4-2105 Saving a document will make it look like it is unpublished 2013-04-15 07:33:26 -02:00
Morten Christensen
7610ee5f8b Adding event proxies to the ContentService for publishing events for easier discoverability.
Fixes U4-2046
2013-04-04 07:16:33 -02:00
Sebastiaan Janssen
9dde86d591 Fixes U4-1999 When copying content with subcontent, the new subcontent data is a
direct reference to the old.
2013-03-26 08:39:50 -01:00
Morten Christensen
c5710277a5 Redoing the fix for U4-1875 2013-03-22 12:13:06 -01:00
Morten Christensen
b4d5658d45 Fixes U4-1828 by correctly incrementing the sortorder ... doh! 2013-03-21 17:34:08 -01:00
Morten Christensen
d485c3da97 Fixes U4-1875 by correcting the Creating events in the ContentService and MediaService, so null is returned if the creation of an object is cancelled.
In the legacy Document and Media classes we check if the created object is null to determine if the event has been cancelled through the new api.
2013-03-21 16:09:45 -01:00
Morten Christensen
d0787e92fe Implementing PackagingService and moving Import Export methods to this service to have it specialized and centralized around packaging operations. 2013-03-20 13:51:46 -01:00
Morten Christensen
ffe9953c43 Merge 2013-03-19 20:08:40 -01:00
Morten Christensen
7def26a489 Implementing import methods in the Content- and ContentType services.
Adding tests to verify import is correct.
2013-03-19 20:05:55 -01:00
Shannon Deminick
a76ffe8daf Backported changes from 6.1 to fix how RePublishAll behaves in the content service to ensure its the same as what was done with
Document.RePublishAll
2013-03-20 00:19:36 +06:00
Morten Christensen
2a09f02afb Fixing incorrect sql syntax when the query contains two expressions. 2013-03-07 19:56:10 -01:00
Morten Christensen
fe08e7fc2f Fixes U4-1865 by excluding trashed items from GetByLevel method for both Content and Media 2013-03-07 13:42:14 -01:00
Sebastiaan Janssen
5b4d8ed6f3 U4-1793 YSOD when moving a node back to root 2013-02-27 14:57:42 -01:00
Morten Christensen
0c05cbc9db Updating the EmptyRecycleBin method in the services to account for a deleted structure.
Optimizing the CallTheGarbageMan method because it was sooo easy, and it would be stupid not to.
2013-02-07 13:31:39 -01:00
Morten Christensen
2aef75a70a Fixing SaveAndPublish method related to U4-1624 2013-02-06 09:10:08 -01:00
Morten Christensen
812d38878c Updating the get content in recycle bin query as the parent is not necessarily -20 2013-02-04 07:47:05 -01:00
Morten Christensen
1249761ecd Fixes U4-1610 2013-01-31 11:22:15 -01:00
Morten Christensen
19869e6d5f Possible fix for U4-1539 Removing SaveXmlPreview from the Document class save methods.
The Save and SaveAndPublish methods in the ContentService now handle the saving of preview xml to the database.
2013-01-30 14:22:07 -01:00
Morten Christensen
0c19307fa3 Making a few optimizations based on the findings in v.4.11.4. 2013-01-30 12:11:10 -01:00
Morten Christensen
1c08921f55 Implements U4-1568 so raising events for save methods is optional. 2013-01-29 12:45:42 -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
c63f8bc3bd Fixes U4-1578 2013-01-29 08:04:27 -01:00
Morten Christensen
5d0aced9a7 Giving the install/upgrade a bit of TLC.
Fixes U4-1520
2013-01-28 14:01:38 -01:00
Morten Christensen
309f337461 Fixes U4-1549 2013-01-25 08:58:21 -01:00
Morten Christensen
f6e354314b Minor optimization to SaveAndPublish method in ContentService. 2013-01-24 14:47:44 -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
a95c129116 Refactoring a few methods in the ContentService, so the omitCacheRefresh parameter isn't exposed in the new api, as its only relevant to the old api.
Correcting the calls from Document to the internal methods in the ContentService, which ensures that the cache isn't refreshed as its handled elsewhere.
Correcting broken unit test after having changed the GetDescendents method.
2013-01-22 11:23:33 -01:00
Morten Christensen
4bf9cf270d Fixes Move when parent is unpublished. 2013-01-21 14:50:58 -01:00
Morten Christensen
9ef07ed2eb Fixes U4-1214 and U4-1484 for both Content and Media 2013-01-18 10:56:14 -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
bc23495632 Adds updating of SortOrder upon moving a document.
Related to U4-1461
2013-01-14 14:04:40 -01:00
Morten Christensen
b562dc787b Merge 2013-01-10 14:07:23 -01:00
Morten Christensen
ca2942fdd9 Refactoring ChangePublishedState to use an enum instead of a boolean. 2013-01-10 14:07:07 -01:00
Sebastiaan Janssen
6187af76c0 Revert my c1722c82aa28 changes to published version checking (which were wrong!) 2013-01-10 13:55:42 -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
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
Morten Christensen
8338102944 Reverting use of DateTime.UtcNow to DateTime.Now in the new api. 2012-12-28 10:43:34 -01:00
Sebastiaan Janssen
c97085f9bb Fix errors and wrong display of subnodes under and unpublished node showing as
published. Also fixes error message where it says on the subnode:
This document is published but is not visible because the parent '???' is unpublished
2012-12-27 17:29:54 -01:00
Sebastiaan Janssen
e10cb56502 Previous fix didn't work if you don't Save() the document +don't publish copies. 2012-12-27 16:08:24 -01:00
Sebastiaan Janssen
140c1db66a Fixing umbEnsureUniqueName not being ran for a document copy 2012-12-27 15:39:37 -01:00
Morten Christensen
39e2314102 Correcting merge issues.
Fixing reset of published state in ContentRepository.
Correcting Querying tests after spacing has changed a bit.
2012-12-21 09:45:34 -01:00
Morten Christensen
d816ac1125 Merge with 6.0.0 2012-12-21 08:38:43 -01:00
Shannon Deminick
446ff0591b Adds Deleting/Deleted events to the EmptyRecycleBin methods of Content/Media services. 2012-12-21 07:42:37 +05:00
Shannon Deminick
9f9afe2ee6 Converted over SendToPublishEventArgs to new events. 2012-12-21 07:20:39 +05:00
Shannon Deminick
d0769cef0f Removed SavedCollection/SavingCollection events and just changed the SaveEventArgs and DeleteEventArgs to have enumerables.
Changed the base CancellableObjectEventArgs to have a protected property so inheritors can just expose the 'T' object as their own
better name.
2012-12-21 07:17:27 +05:00
Shannon Deminick
9cf86d7677 Manually fixed merge with MediaService. 2012-12-21 06:59:30 +05:00
Shannon Deminick
91a8fd7369 Manually fixed merge with ContentService and new events. 2012-12-21 04:59:51 +05:00