Shannon
16c9ca9e4b
Refactors IDomain model, simplifies it so that it doesn't contain references, simplifies the domain repository to no longer require lookups of content and languages, updates all other code referencing IDomain and now if a language lookup is required it is made when appropriate.
2015-07-27 12:53:09 +02:00
Shannon
00c13b9939
fixes tests
2015-07-27 12:03:38 +02:00
Shannon
5ab036e9d3
missing column creation in migration script.
2015-07-24 18:58:08 +02:00
Shannon
accf52ca38
if user has explicitly opted out of index rebuild on startup, we must ensure that the database server messenger doesn't rebuild them either.
2015-07-24 18:52:04 +02:00
Shannon
51d14a7a01
Updates all calls to GetAll(params int[]) that potentially could have looked up all data un-intentionally - cause for U4-6869 contentService + domainService is slow outside Umbraco App Context
2015-07-24 18:36:07 +02:00
Shannon
db0defb93f
Ensures that indexes aren't double rebuilt on startup which can occur if there are no indexes and the DatabaseServerMessenger hasn't sync'd anything
2015-07-24 18:07:20 +02:00
Shannon
1fca0d22bf
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-24 17:34:28 +02:00
Shannon
7d7e92432e
Fixes how the BatchedDatabaseServerMessenger startsup/boots
2015-07-24 17:34:06 +02:00
Sebastiaan Janssen
86ad3f6b05
Makes sure that R# doesn't suggest C#6 features
2015-07-24 17:25:52 +02:00
Shannon
615ab564e5
fixes build
2015-07-24 12:57:01 +02:00
Shannon
ee36a46d51
fixes tests
2015-07-24 12:54:59 +02:00
Shannon
293568228c
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-24 12:13:31 +02:00
Shannon
8b86276011
Ensures event messages are passed to Saved events for content/media
2015-07-24 12:07:32 +02:00
Shannon
9406675bf2
Ensures the Saving methods on the media service are wired up with the event messages, obsoletes the hacked WasCancelled internal property on Entity.
2015-07-24 11:52:30 +02:00
Shannon
aa08a4ca37
Gets the messages being pumped out to the UI. Updates the ContentService and MediaServices to have a SaveWithStatus in order to determine the response, we'll need to update most of the methods to also have this OperationStatus. Now messages can be added to the UI for Saving & publishing for media and content services, we'll need to update more to support everything.
2015-07-24 11:44:09 +02:00
Sebastiaan Janssen
abf8777b0a
U4-6867 UmbracoLog wrongfully logs unPublish event with user ID 0
...
#U4-6867 Fixed Assignee: Unassigned
2015-07-24 11:02:13 +02:00
Shannon
a6a2b02cd8
working on U4-5927 - this extends the base event class to have EventMessages which event consumers can add to, the trick is that there is a factory for these EventMessages, in a web context, the factory is a request based factory so that during a request all instances of the EventMessages are the same instance. All services then accept an instance of IEventMessagesFactory which they can then use when raising events. We'll then use this to send messages to the UI. Not sure if i should make this a resolver yet or not. Still a WIP!!
2015-07-23 20:04:40 +02:00
Shannon
445dff7c5e
publicizes the ctor for PetaPocoUnitOfWorkProvider
2015-07-23 18:30:20 +02:00
Shannon
37076fa4eb
Completes: U4-6871 CoreBootManager.CreateApplicationContext & CoreBootManager.CreateApplicationCache returns the instance instead of setting the singleton
2015-07-23 18:26:56 +02:00
Shannon
8c871a6172
publicizes a ctor for the ServiceContext which will allow you to pass in a custom repository factory.
2015-07-23 18:13:43 +02:00
Shannon Deminick
3e42358f2a
Merge pull request #744 from timothyleerussell/dev-v7-umbracohelper-componentRender
...
Update Field() methods in UmbracoHelper
2015-07-23 18:05:01 +02:00
Shannon
9bdb91b3c0
latest examine
2015-07-23 18:03:44 +02:00
Shannon
7f1f090a10
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-23 17:57:08 +02:00
Shannon
5c91c204fa
removes unneeded class
2015-07-23 17:57:02 +02:00
Shannon
11c7955b1e
Lazily serializes the member data when required instead of all at once, this will save memory since the xml will only be created when it's required.
2015-07-23 17:56:29 +02:00
Shannon Deminick
72d4457a24
Merge pull request #745 from KevinJump/dev-v7-PackageMacros
...
Package Service - Case Insensitive Macro parameters
2015-07-23 15:43:19 +02:00
Shannon
9606cab81e
Fixes: U4-4669 Required checkbox is overruled by regex on document type
2015-07-23 14:44:02 +02:00
Shannon
7cd47114e0
Fixes: U4-6771 Sorting editorstyles is not possible
2015-07-23 14:27:54 +02:00
Shannon
cd578b7b19
Fixes: U4-6770 When creating editorstyles: No stylesheet property found with name when creating headingstyles with capitals
2015-07-23 13:18:53 +02:00
Shannon
f3d9b4a9f3
Fixes BatchedDatabaseServerMessenger - it implements IApplicationEventHandler to control it's bootup process which ensures it doesn't attempt to boot or bind to events if the app is not configured or installing. This was preventing upgrading to 7.3
2015-07-23 12:28:17 +02:00
Shannon
b0fb892b16
Fixes: U4-6736 Log "logout" from Umbraco and also ensures logging is occuring on timeout, logout, login all with Identity stuff.
2015-07-23 12:03:50 +02:00
Shannon
66ca4e48bb
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-22 18:25:21 +02:00
Shannon
96cd4daca5
Fixes how modelstate and viewdata get populated into the PartialViewMacroController and in turn get populated into the viewresult, privatize's EnsureViewObjectDataOnResult so that it's not used by accident elsewhere
2015-07-22 18:25:08 +02:00
Stephan
a1f08ad1b4
Fix build
2015-07-22 13:11:39 +02:00
Shannon
44c3140b20
Updates CoreBootManager to be provided a logger which decouples it a little bit, updates CoreBootManagerTests to ensure resolution is reset on teardown, updates the ApplicationEventsResolver inner resolver to not use obsolete ctor's
2015-07-22 12:44:29 +02:00
Shannon
7fac2b811b
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-22 12:10:33 +02:00
Shannon
201512d5f2
Fixes :U4-6858 add localizationService.GetDictionaryItemDescendants, also obsoletes FlattenList since if used incorrectly could cause a flood of SQL calls, adds some tests to verify the output of SelectRecursive is in the same order and updates anything using FlattenList to SelectRecursive. Updates the Language repository to use GetAll wherever possible so all languages are simply cached, this means there less overall cache and less lookups. Updates the Dictionary repository to have less N+1 lookups when building the entity from the DTO by just looking up all languages instead of one at a time. Adds tests for getting descendants for dictionary items.
2015-07-22 12:10:21 +02:00
Kevin Jump
c1f5d8392d
Package Service - Case Insensitive Macro parameters
...
Make the check for existing alias values case Insensitive - stops the
SQL error you get if you try to add the same parameter twice.
2015-07-22 10:53:08 +01:00
Timothy Lee Russell
1aaeb75e0e
Update Field() methods in UmbracoHelper
...
Update Field() methods in UmbracoHelper to use the existing lazy
instantiation of ComponentRenderer to fix a problem where
_componentRenderer is not provided by the default constructor.
2015-07-21 14:58:34 -07:00
Sebastiaan Janssen
0bbe1c6cdc
U4-6721 Error when submitting Macros, Collection was modified; enumeration operation may not execute. (after project has been updated to MVC5)
...
#U4-6721 In Progress
2015-07-21 19:35:00 +02:00
Shannon
b78f75775d
Fixes: U4-6859 get membertype by key
2015-07-21 16:55:27 +02:00
Sebastiaan Janssen
34f44b02a2
U4-6721 Error when submitting Macros, Collection was modified; enumeration operation may not execute. (after project has been updated to MVC5)
...
#U4-6721 In Progress
2015-07-21 15:55:39 +02:00
Shannon
93c1321b99
fixes potential null ref when accessing the TagQuery property of UmbracoHelper
2015-07-20 15:37:40 +02:00
Shannon
73cb9ab3e5
updates core boot manager tests
2015-07-20 15:30:58 +02:00
Shannon
e402768212
simplifies methods to just be GetTaggedEntityByKey, GetTaggedEntityById
2015-07-20 13:49:46 +02:00
Shannon
6095f0233e
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-20 13:45:47 +02:00
Shannon
9b1f4ecff9
Fixes: U4-6855 ITag does not expose the property it belongs to
2015-07-20 13:45:31 +02:00
Sebastiaan Janssen
3c884b583e
U4-6762 7.3 beta: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0
...
#U4-6762 Fixed
2015-07-20 11:30:41 +02:00
Sebastiaan Janssen
ea653cbd18
U4-6762 7.3 beta: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0
...
#U4-6762 Fixed
2015-07-20 11:30:04 +02:00
Stephan
b2679f3f17
Bugfix
2015-07-19 13:08:29 +02:00