Shannon Deminick
ac43b40f33
Removes all remaining calls to library.UpdateDocumentCache ... this is handled automatically by events whenever a document is published.
2013-02-11 04:56:34 +06:00
Shannon Deminick
77201f3805
Fix merg issues.
2013-02-11 04:28:18 +06:00
Shannon Deminick
81f7754a45
Merge with 6.0.1
2013-02-11 04:18:33 +06:00
Shannon Deminick
2f9360ac08
Merge
2013-02-11 03:56:58 +06:00
Shannon Deminick
c23be1fd96
Fixes #U4-414, #U4-1669 - publish dialog now uses new apis and ensures documents are validated during publishing. This also
...
enhances many other things in the publishing API including giving a status result for each item, ensuring that child items
do not try to get published when the parent item fails (based on a subset of rules)
2013-02-11 03:55:58 +06:00
Morten Christensen
1c7bb623f1
Implements the retrieval of ancestors, children, descendats and parent IMedia in the MediaService and as extensions to IMedia.
...
Corresponds to the IMedia implementation of U4-1638.
2013-02-09 11:12:51 -01:00
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
Shannon Deminick
ded940a757
Updates publishing strategy to allow for validating documents on publishing and reporting on that. Also depending on the
...
rules set, will not continue publishing it's children either. #U4-414
2013-02-09 06:23:51 +06:00
Shannon Deminick
b80415b34e
Fixes PublishingStrategy - It will still check if it's expired even if the event isn't cancelled. It now adheres
...
to some rules about publishing the children if a parent's publishing has failed or was cancelled. Have written unit
tests for these too.
2013-02-09 06:05:35 +06:00
Shannon Deminick
2ecc978591
Got publish strategy working to allow for publishing only descendants that have been previously published, or all descendants.
...
Added unit tests to support. Changed ServiceContext to accept a BasePublishingStrategy object as default and obsoleted the other
contructor... at least that interface should be easy to obsolete in favor of a base class.
2013-02-09 04:33:56 +06:00
Shannon Deminick
de13f7e361
WIP ... Fixes: #U4-1666, Updates documentService to not have to manually
...
refresh content cache (and fix the unpublishing too since that logic wasn't correct)
Adds DebuggerDisplay support to ContentBase and Entity for better debugging info.
Adds new internal publishing methods to support publishing all children or only children previously published. This also adds new support
for getting a published result back even with bulk publishing.
Updates the publish dialog with new code and to use the new API based on issue #U4-1669.
Adds UmbracoUser property to AuthenticatedUmbracoController, Adds all common properties to the abstract UmbracoController.
Changes the legacy Document to allow content cache to be automatically refreshed (based on events)
2013-02-09 04:05:01 +06:00
Morten Christensen
319f257ee5
Minor change related to U4-1672
2013-02-08 18:54:18 -01:00
Morten Christensen
14d40697b2
Fixes U4-1662
2013-02-08 18:40:52 -01:00
Morten Christensen
6e6b1beffd
Fixes U4-1664
2013-02-08 18:37:59 -01:00
Morten Christensen
e22de5c9a0
Fixes U4-1666
2013-02-08 18:34:47 -01:00
Morten Christensen
1eea4dab33
Fixes U4-1661
2013-02-08 18:29:59 -01:00
Morten Christensen
83518de981
Adding no guard for testing purposes
2013-02-08 11:37:50 -01:00
Stephan
2da18d4500
U4-1441 - improve logging
2013-02-08 07:54:16 -01:00
Stephan
a03f5420fa
U4-1441 - change trySkipIisCustomError config key
2013-02-08 07:36:35 -01:00
Stephan
d50396ce68
U4-1441 - change trySkipIisCustomError config key
2013-02-08 07:36:35 -01:00
Stephan
f7d4080472
U4-1441 - make trySkipIisCustomError value a setting
2013-02-08 07:51:22 -01:00
Shannon Deminick
4ab14484ba
Fixes: #U4-1664, #U4-1661, #U4-1662, #U4-1660
...
WIP - Updates much logic between editContent and ContentControl to ensure that the above issues are fixed and that we are not
double saving documents each time it is published. This also ensures that the Document.BeforeSave event is not double fired
when saving a document. Have changed over Document.SaveAndPublish to ensure that the cache does get refreshed automatically
when this is called - but now need to go through the rest of the codebase to make sure it's not being double refreshed. once that is
done then we will have streamlined the cache invalidation for content too.
Adds useful properties to the old BasePage like ApplicationContext, Services, etc...
2013-02-08 04:25:31 +06:00
Morten Christensen
e24ff1b92b
Updating the CreateDatabaseSchema method, so it can't be used if Umbraco is configured. Just to ensure that Richard doesn't accidentally break anything.
2013-02-07 13:56:00 -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
Shannon Deminick
975d84f3d0
Started on streamlining Content cache invalidation.
2013-02-07 06:43:49 +06:00
Shannon Deminick
c0b708b1f4
Streamlines how Media cache gets invalidated - ensures Save() is called on media where it was needed,
...
cache now gets invalidated on events.
2013-02-07 05:53:59 +06:00
Shannon Deminick
d93ca26181
Streamlines how Template cache gets invalidated - ensures Save() is called on templates where it was needed,
...
cache now gets invalidated on events.
2013-02-07 05:26:53 +06:00
Shannon Deminick
cf8a0728d8
Streamlines how Member cache data gets invalidated
2013-02-07 04:57:44 +06:00
Shannon Deminick
ea24e43c90
Changed cache invalidation for macros to be done via events not inline in the editor.
2013-02-07 04:45:05 +06:00
Shannon Deminick
75e747a2d2
Simplifies clearing cache for macro's all is done via the DistributedCache.Instance - hopefully all cache will be invalidated
...
via this method so that all cache types are simply invalidated with ICacheRefreshers and ApplicationEventHandlers. Currently we
have calls to clear cache in zillions of places and its near impossible to tell where/when it currently happens.
2013-02-07 04:26:48 +06:00
Shannon Deminick
be398a4616
Adds a constant id for the macro distributed cache object,
...
adds extension method to DistrubutedCache to refresh the macro cache,
Changes all distrubuted cache calls for macro to use extension method.
2013-02-07 04:04:51 +06:00
Shannon Deminick
84bd89f00b
Adds a constant id for the media distributed cache object,
...
adds extension method to DistrubutedCache to refresh the media cache,
Changes all distrubuted cache calls for media to use extension method.
2013-02-07 04:01:50 +06:00
Shannon Deminick
a1c2352dca
Adds a constant id for the member distributed cache object,
...
adds extension method to DistrubutedCache to refresh the member cache,
Changes all distrubuted cache calls for members to use extension method.
2013-02-07 03:58:47 +06:00
Shannon Deminick
b6ec42334b
Adds a constant id for the page distributed cache object, adds extension method to DistrubutedCache to refresh the page cache,
...
Changes all distrubuted cache calls for pages to use extension method.
2013-02-07 03:55:14 +06:00
Shannon Deminick
56fb570267
Adds a constant id for the template distributed cache object, adds extension method to DistrubutedCache to refresh the template cache,
...
Changes all distrubuted cache calls for templates to use extension method.
2013-02-07 03:49:45 +06:00
Shannon Deminick
510d8b9dda
Ensures that all calls to 'dispatcher' are replaced with the new DistributedCache.Instance object.
2013-02-07 03:29:47 +06:00
Shannon Deminick
d8e4895daa
Moved legacy classes into single file LegacyClasses.cs
2013-02-07 03:24:32 +06:00
Shannon Deminick
c20cd907b0
Migrated CacheRefresher and dispatcher to proper namespaces and cleaned up a bit.
2013-02-07 03:22:38 +06:00
Shannon Deminick
c72b4f40bd
Ensures Examine events is listening to the Trashed of content too with the new API.
2013-02-07 02:23:40 +06:00
Shannon Deminick
f8d09a9ac3
Adds patch fixes for #U4-1653
2013-02-07 02:19:51 +06:00
Shannon Deminick
860ef73fab
Merge
2013-02-07 02:07:43 +06:00
Shannon Deminick
ec6158792a
Adds patch fixes for #U4-1653
2013-02-07 02:07:07 +06:00
Morten Christensen
a399a8766d
Correcting the order of calls in the test SetUp of StronglyTypedQueryTests
2013-02-06 12:53:47 -01:00
Morten Christensen
7f103724f3
Refactoring PetaPoco uses of ExecuteNon, ExecuteScalar and ExecuteReader to use the new WithRetry extension methods
2013-02-06 12:53:08 -01:00
Shannon Deminick
97536086c0
Patches installer issue.
2013-02-06 19:14:34 +06:00
Morten Christensen
98ecf0e824
Adding package config file for umbraco.webservices proj
2013-02-06 10:37:32 -01:00
Morten Christensen
5fb11a77e7
Adding Mvc 4 as a nuget reference in the umbraco.webservices proj to get it to build.
2013-02-06 10:35:59 -01:00
Morten Christensen
d7c72dc279
Merge with 6.0.1
2013-02-06 09:52:28 -01:00
Morten Christensen
0853f8da85
Fixes U4-1619 so MediaTypes are deleted the same way as DocumentTypes using the legacy api/backoffice.
2013-02-06 09:43:53 -01:00
Morten Christensen
32d36d66c9
Removing unused media events
2013-02-06 09:12:38 -01:00