Shannon
6d8ffb903f
Ensures events for deleting, trashing and unpublishing are done using the event messages, updates UI to support showing these messages in the list view, Since we cannot change the
...
method results on a service, we've created a new temporary service that we will explicitly implement with an extension method to get it. This is temporary until v8 where we will just replace
the original methods on the service with these methods and then remove this class.
2015-07-29 15:12:12 +02:00
Shannon
0e992f897f
Removes standalone classes, we can replace these with what we've got in the LinqPad provider
2015-07-29 15:07:55 +02:00
Shannon
926ea54c39
Developers can cancel an event with the CancelOperation method of the event with a custom message which will be used in place of the normal default cancellation message
2015-07-27 18:04:20 +02:00
Sebastiaan Janssen
51eae92a5a
Update json.net everywhere
2015-07-27 16:11:18 +02:00
Sebastiaan Janssen
9f000eb90c
Updates build to include and exclude correct files, syncs web.config and syncs dependency versions between core and nuget pkg
2015-07-27 15:52:10 +02:00
Shannon
fa76ffa5ca
workaround for upgrade auth issue
2015-07-27 15:48:14 +02:00
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
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
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
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
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
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
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
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
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
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
Shannon
b78f75775d
Fixes: U4-6859 get membertype by key
2015-07-21 16:55:27 +02:00
Shannon
e402768212
simplifies methods to just be GetTaggedEntityByKey, GetTaggedEntityById
2015-07-20 13:49:46 +02:00
Shannon
9b1f4ecff9
Fixes: U4-6855 ITag does not expose the property it belongs to
2015-07-20 13:45:31 +02:00
Shannon
a273584cc8
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-17 11:09:48 +02:00
Shannon
62c4e404b3
enabled db server registrar by default unless the legacy dist calls is enabled.
2015-07-17 11:09:31 +02:00
Stephan
d1b6b5c76f
DatabaseServerMessenger - cleanup
2015-07-17 10:48:09 +02:00
Shannon
b5cf3e9f59
Fixes: U4-6844 Potential perf issue with new Domain service
2015-07-16 18:09:56 +02:00
Shannon
d5460068d4
Merge remote-tracking branch 'origin/master-v7' into dev-v7
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/Macros/MacroTagParser.cs
src/Umbraco.Core/packages.config
src/Umbraco.Tests/Controllers/BackOfficeControllerUnitTests.cs
src/Umbraco.Tests/Macros/MacroParserTests.cs
src/Umbraco.Tests/Strings/StringExtensionsTests.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI.Client/src/common/services/macro.service.js
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/BackOfficeController.cs
src/umbraco.cms/Actions/Action.cs
2015-07-16 17:04:25 +02:00
Shannon
c2dc896fce
working on: U4-6756 Don't ship or generate unnecessary folders
2015-07-16 15:29:46 +02:00
Sebastiaan Janssen
2f714d0b3e
Update MySql.Data dependency
2015-07-16 13:59:19 +02:00
Shannon
9e2ab8507f
Fixes c# macro tag parser - it needs to parse all macros contained in the entire string, the regex options were wrong meaning if you tried to add multiple macros without parameters it would fail, have added a unit test for that.
2015-07-16 12:31:07 +02:00
Shannon
6ee6c77d6e
bumps version
2015-07-16 11:10:36 +02:00
Shannon
9b5d4e5b08
Moves some logic into StringExtensions, updates tests, adds other tests
2015-07-16 10:40:43 +02:00
Shannon
56176d0e36
Fix U4-6687: Can't add multiple instances of a macro in RTE in 7.2.6 without ruining RTE formatting
...
We found that the MacroTagParser.cs was being greedy and matching all UMBRACO_MACRO tags instead of getting them individually.
macro.service.js was updated for posterity purposes to match the regex in the .cs side, but testing showed that it was functioning as expected without this change.
2015-07-16 09:50:49 +02:00
Shannon
18e8f09654
BatchedDatabaseServerMessenger only exists in Web now, no reason for it to be in Core. CoreBootManager by default now uses DatabaseServerMessenger (non-batched), WebBootManager now uses BatchedDatabaseServerMessenger and is always enabled by default unless the Dist Calls setting in umbracoSettings is enabled, in that case it will revert to using the legacy batched web services messenger.
2015-07-15 17:27:01 +02:00
Shannon
85ebcadcdd
Fixes more tests and more decoupling of singletons
2015-07-15 16:40:50 +02:00
Shannon
0efeba3744
Fixing unit tests, decouples more singleton accessors
2015-07-15 16:28:50 +02:00
Shannon
2a63519e8c
Fixes: U4-6834 Add TagService.GetTagsForEntity(Guid key) method
2015-07-15 15:54:06 +02:00
Shannon
ba1d546579
Merge remote-tracking branch 'origin/master-v7' into dev-v7
...
Conflicts:
src/Umbraco.Core/MainDom.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Tests/packages.config
src/Umbraco.Web.UI.Client/src/canvasdesigner/index.html
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/packages.config
src/UmbracoExamine/UmbracoExamine.csproj
src/umbraco.MacroEngines/packages.config
src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
2015-07-15 14:58:19 +02:00
Sebastiaan Janssen
d2f7eda074
Fixes unit test that failed because HostingEnvironment.ApplicationID is null in unit tests
2015-07-15 10:58:38 +02:00
Shannon
a5d5809385
Fixes DatabaseServerMessenger, when an exception occurs, we need to log but we cannot keep trying to process an invalid instruction otherwise we're in an infinite error loop and no further instructions will ever get processed.
2015-07-15 10:50:01 +02:00
Shannon
d9d38b9cc1
Merge remote-tracking branch 'origin/dev-v7' into dev-v7
...
Conflicts:
src/Umbraco.Core/Sync/DatabaseServerMessenger.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Tests/packages.config
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Umbraco.Web.csproj
src/UmbracoExamine/UmbracoExamine.csproj
src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
2015-07-15 10:32:55 +02:00