Shannon Deminick
c6f29a50d6
Merge with 4.11.6
2013-03-11 21:17:57 +06:00
Shannon Deminick
d07212c89b
Fixed changes with new MacroErrors config and how macros are rendered so it supports all macro types and also fixes up a bit of code
...
in the umbraco.macro class.
2013-03-11 21:06:02 +06:00
Shannon Deminick
28c55320a1
Updates the pull request for handling macro errors.
...
Backports fixes for partial view macros from 6.x - U4-1488, U4-1844, U4-1730, U4-1843
2013-03-11 20:11:11 +06:00
Morten Christensen
f3bfe0177d
Implementing the Media part of U4-1568
2013-01-29 12:58:02 -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
82455136bb
Missing files
2013-01-24 14:59:03 -01:00
Morten Christensen
e3a8aa8345
Possible fix for U4-1420
2013-01-10 11:47:04 -01:00
Morten Christensen
34c90e6e72
Removing redundent EventArgs class.
2012-12-28 17:55:00 -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
194d241b02
Adding Publish and UnPublish EventArgs
2012-12-28 14:15:12 -01: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
9255df99ad
Commented out RefreshContentEventArgs as it is not used anywhere.
2012-12-16 07:52:16 +05:00
Shannon Deminick
5749e4cab3
Converted RollbackEventArgs to use new event system.
2012-12-16 07:46:19 +05:00
Shannon Deminick
30f3704a1b
Changed over DeletedEventArgs to support new event system and all Services that use it. Created new
...
DeleteRevisionsEventArgs for when content removes revisions.
2012-12-16 07:43:03 +05:00
Shannon Deminick
89be8c3f41
Changed over CopyEventArgs to support new event structure and all services that use it, also added
...
another propery to the args 'Copy' so users can have access to the copied and original entity when consuming
the event.
NOTE: Noticed that the MediaService doesn't support copy?
2012-12-16 06:44:46 +05:00
Shannon Deminick
af5a01caed
Fixes MediaService to have the correct RecycleBin id = -21 (not -20 like Content). Converted
...
MoveEventArgs and all services that use it to use the new event structure.
2012-12-16 06:37:27 +05:00
Shannon Deminick
dad5326281
re-added parameter check to ensure parent id is not 0. If adding hierarichal data, then use the
...
other overload accepting an entity. Converts over the Created/Creating events to the new structure for
ContentService and MediaService
2012-12-16 06:28:43 +05:00
Shannon Deminick
94f69d5007
Removed ICancellableObjectEventArgs and instead just have a base class without the strongly typed object...
...
CancellableEventArgs.
2012-12-15 21:41:09 +05:00
Shannon Deminick
5fadb715c1
Changed all bulk operations to use one transaction unless it is a Lazy collection (this was mostly the case before)
...
Fixed EventExtensions handling cancellations.
2012-12-15 21:27:15 +05:00
Shannon Deminick
a925b092e7
Created new event structure (currently only implemented for Saving/Saved) and new events CollectionSaving, CollectionSaved.
...
Created new way to raise events and handle their cancellations. Everything is strongly typed so should make
working with events much nicer for end users. Also ensures that the Sender is the object raising the event.
2012-12-15 21:04:17 +05:00
Shannon Deminick
41e3471f2e
Moves event args classes to separate files
2012-12-15 10:44:09 +05:00
Shannon Deminick
2035f2d77f
Moved Event Args, etc... for persistence/services to Umbraco.Core.Events namespace
2012-12-15 10:43:03 +05:00