Commit Graph

8688 Commits

Author SHA1 Message Date
Warren Buckley
9fea3ea500 Merge branch 'feature/5702-custom-validation-messages' of https://github.com/AndyButland/Umbraco-CMS into AndyButland-feature/5702-custom-validation-messages
# Conflicts:
#	src/Umbraco.Core/PropertyEditors/Validators/RegexValidator.cs
2019-11-21 10:10:15 +01:00
Shannon
f427155480 Removes unused exceptions 2019-11-21 19:39:30 +11:00
Shannon Deminick
b68f1d44f1 Merge pull request #6599 from ronaldbarendse/v8/bugfix/5947-custom-exceptions
Fixed and cleaned up custom exception classes
2019-11-21 19:21:19 +11:00
Shannon
895f68d9e2 Fixes bulk insert records, adjusts parsing of object types 2019-11-20 12:15:27 +11:00
Andy Butland
54b3e7e60d Moved custom validation message database migrations into 8.4 folder and namespace 2019-11-19 12:35:36 +01:00
Andy Butland
12fa862ee6 Merge branch 'v8/dev' into feature/5702-custom-validation-messages 2019-11-19 11:53:33 +01:00
Warren Buckley
dc494ff525 MemberEntitySlim has the same properties as ContentEntitySlim so lets inherit it 2019-11-18 12:18:50 +00:00
Ronald Barendse
979ccebe75 Make publicly exposed internal exceptions public 2019-11-15 21:19:22 +01:00
Ronald Barendse
34008edd34 Fix issues with added PanicException 2019-11-15 09:15:12 +01:00
Shannon
85c2269645 Adds ability to filter out paged relations by entity type 2019-11-15 14:49:46 +11:00
Shannon
ca91bf0f94 Fixes issue with getting paged entity relations when the relation is between the same entity and itself 2019-11-15 14:14:09 +11:00
Ronald Barendse
b494678dd9 Changed thrown exception types to InvalidOperationException 2019-11-14 00:57:13 +01:00
Ronald Barendse
3ef10ac8fc Constrain generic type of DataOperationException to an enum 2019-11-14 00:28:24 +01:00
Ronald Barendse
4a84f63ab4 Updated obsolete message for WontImplementException 2019-11-14 00:20:04 +01:00
Ronald Barendse
f1953bc99c Use same argument validation in AddAttribute as in SetAttribute 2019-11-13 23:56:00 +01:00
Ronald Barendse
5a004581ad Remove DuplicateKeyException 2019-11-13 23:54:00 +01:00
Warren Buckley
dd1c8ec6a3 Revert a C#8 fancy new switch as AzureDevOps does not like that 2019-11-11 12:05:26 +00:00
Warren Buckley
747cdcb5ee Merge remote-tracking branch 'origin/v8/feature/media-tracking' into v8/feature/AB3466-paged-relations
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/IRelationRepository.cs
2019-11-11 11:29:00 +00:00
Warren Buckley
eee33696e8 Adss in missing XML params from signature 2019-11-11 11:05:57 +00:00
Shannon
694d92aad2 Merge remote-tracking branch 'origin/v8/feature/media-tracking' into v8/feature/AB3466-paged-relations
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/RelationRepository.cs
2019-11-11 21:29:52 +11:00
Shannon
28600a02bd Merge remote-tracking branch 'origin/v8/feature/media-tracking' into v8/feature/3449-relations-paging
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/RelationRepository.cs
2019-11-11 21:25:35 +11:00
Rasmus John Pedersen
787529cf0d Remove IDataEditor inheritance 2019-11-07 19:41:51 +01:00
andyneil
41915080b2 Fix incorrect data types for default member properties. (#7086)
Issue https://github.com/umbraco/Umbraco-CMS/issues/7051
2019-11-07 15:01:22 +00:00
Shannon
049d51e466 Adds ability to bulk insert relations and adds tests 2019-11-06 16:45:28 +11:00
Shannon
90b6a09013 Adds ability to get paged relations by type 2019-11-06 14:35:15 +11:00
Shannon
b03bca4093 removes test code 2019-11-06 13:29:50 +11:00
Shannon
12541e7e8f reverts changes to IUmbracoEntity, we don't need to query on the object type property 2019-11-06 13:22:12 +11:00
Shannon
9ef40fb484 adds notes 2019-11-06 13:16:28 +11:00
Shannon
d1948b1543 Adds relation service tests for both paged children and parents and tests the repo 2019-11-06 13:08:03 +11:00
Shannon
6b7a48d00b Gets entity repository working with relation queries and adds test 2019-11-06 12:43:10 +11:00
Kenn Jacobsen
759e3ddf5e Make sure we can't rollback trashed items serverside 2019-11-05 18:15:14 +00:00
Matt Brailsford
0b16c48fc3 Split PagedResult into a typed and non-typed version (Fixes #46… (#6871) 2019-11-05 11:59:04 +01:00
Shannon
f7e8a53922 Revert "Gets entity repository to be able to return a mix of object types"
This reverts commit fff3d2648f.
2019-11-05 15:53:50 +11:00
Shannon
602acce8f4 Gets entity repository to be able to return a mix of object types 2019-11-05 15:50:49 +11:00
Shannon
fff3d2648f Gets entity repository to be able to return a mix of object types 2019-11-05 15:05:51 +11:00
Shannon
412eadd9a3 Changes namespace for media tracking migrations to 8.6 2019-11-05 10:48:23 +11:00
Shannon
dcba53033c Changes namespace for media tracking migrations to 8.6 2019-11-05 10:30:38 +11:00
Shannon
595b36c5df Merge remote-tracking branch 'origin/v8/dev' into v8/feature/media-tracking
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
2019-11-01 13:27:13 +11:00
Poornima Nayar
b2e5d64d6e Better exception handling for templates when they exceed 255 ch… (#6649) 2019-10-31 15:54:14 +01:00
Bjarke Berg
34d9e0cd09 Merge branch 'v8/dev' into v8/feature/mb-embed 2019-10-31 12:33:01 +01:00
Rasmus John Pedersen
26f1e77813 Resolve media paths from data editors
# Conflicts:
#	src/Umbraco.Core/Persistence/Factories/ContentBaseFactory.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MediaRepository.cs
2019-10-30 21:58:54 +01:00
Rasmus John Pedersen
0e0f6e6678 Ensure media path stored is the same as stored in the property 2019-10-30 21:58:54 +01:00
Daniël Knippers
965d6cbeb7 Added enum extension methods + tests for SetFlag and UnsetFlag. 2019-10-30 11:04:53 +01:00
Steve Megson
8463f1db08 Cache lookup of macro by alias 2019-10-29 21:34:25 +01:00
Ronald Barendse
7f0a077f58 Add SecurityCodeScan static code analyzer (#6636)
* Added SecurityCodeScan to all projects

* Enable analysing of content items
2019-10-29 19:37:15 +01:00
Bjarke Berg
1436441f78 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/mb-embed 2019-10-29 16:09:43 +01:00
Kenn Jacobsen
546a948d0b Protect "system media types" from alias changes and deletion 2019-10-29 12:13:42 +01:00
Bjarke Berg
da698a9a85 AB2462 - Code review fixes 2019-10-29 09:57:32 +01:00
Shannon
d69356cc12 Adds unit test and couple methods to relation service and improves the relation service lookups for entities. 2019-10-29 13:29:22 +11:00
Shannon
3b6abbb936 Renames project: Umbraco.ModelsBuilder.Embedded and namespaces since we need a different assembly, updates nuspec, changes file path of MB app_plugins 2019-10-29 00:25:03 +11:00