Commit Graph

4441 Commits

Author SHA1 Message Date
Shannon
243e76b3cc Removes ability to have recursive locks in SnapDictionary, changes logic to require locking around the methods just like ContentStore, updates tests 2020-01-03 15:04:39 +11:00
Shannon
74cc148b99 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom 2019-12-23 18:21:03 +11:00
Shannon
63429dadb7 Adds notes, changes values to constants 2019-12-18 15:01:33 +11:00
Shannon
1d61bc829c Merge branch 'v8/dev' into v8/fix/6324-wrong-media-path-stored 2019-12-18 12:10:00 +11:00
Shannon Deminick
62c701d5c3 Merge pull request #6630 from ronaldbarendse/v8/bugfix/6624-enable-disablecomposer-from-all-assemblies
Get EnableComposer and DisableComposer attributes from all assemblies
2019-12-17 06:56:34 +01:00
Shannon
1513a12549 Introduce a new IMainDomLock and both default and sql implementations 2019-12-10 13:33:59 +01:00
Shannon
3e48022949 Fixes test 2019-12-06 13:19:14 +11:00
Shannon
3f78331145 Adds lots of notes, fixes tests to ensure we catch OperationCanceledException where necessary, adds logging to tests, fixes a boolean op 2019-12-05 23:26:49 +11:00
Shannon
6f9062c0cf fixes test (cherry picked) 2019-12-05 19:19:09 +11:00
Shannon
8218467e04 Merge branch 'v8/dev' into v8/bugfix/6546-MainDom-Cleanup
# Conflicts:
#	src/Umbraco.Core/MainDom.cs
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2019-12-04 16:09:22 +11:00
Daniël Knippers
06074ead44 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into pr/6691_vary-by-culture-set-unset-culture-flag-only
# Conflicts:
#	src/Umbraco.Web/Models/Mapping/ContentTypeMapDefinition.cs
2019-11-22 09:08:27 +01:00
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 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
Andy Butland
12fa862ee6 Merge branch 'v8/dev' into feature/5702-custom-validation-messages 2019-11-19 11:53:33 +01:00
Ronald Barendse
34008edd34 Fix issues with added PanicException 2019-11-15 09:15:12 +01:00
Bjarke Berg
7c72fb57f2 Merge remote-tracking branch 'origin/v8/8.3' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web/Cache/LanguageCacheRefresher.cs
2019-11-14 13:40:32 +01:00
Jeavon
88f6ddeae4 Code tweaks from PR review - also led to adding logging for Deserialization issues and therefore needing to mock the logger for the tests 2019-11-13 12:07:11 +00:00
Jeavon
10622cc430 Switched to using a dummy Uri so that runtimeState isn't needed as per review 2019-11-12 10:26:25 +00:00
Bjarke Berg
7eef6b4037 https://github.com/umbraco/Umbraco-CMS/issues/7125 - Updates the projects to use the same versions as required by our nuspec 2019-11-12 08:50:31 +01:00
Shannon
5728823625 Fixes tests - Nucache tests were not disposing the snapshot service so was binding to all events!! renames the test snapshot service to avoid confusion 2019-11-04 11:43:29 +01:00
Shannon
73fc648718 Adds logic to ensure you can't change to a culture that is already assigned + test 2019-11-04 11:40:17 +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
Daniël Knippers
965d6cbeb7 Added enum extension methods + tests for SetFlag and UnsetFlag. 2019-10-30 11:04:53 +01:00
Jeavon
76bbf01cbe Changed field to a List as suggested in review 2019-10-29 15:25:10 +00:00
Jeavon
04004876b1 Merge branch 'v8/dev' into v8/feature/search-media-files 2019-10-29 12:13:09 +00:00
Bjarke Berg
9d91402aca V8: Follow guidelines from .editorconfig (#6849)
* Removed unused variable

* Align usage of C# type keywords vs Universal type names. Now we use C# keywords all over.
2019-10-25 14:16:50 +01:00
Søren Kottal
131273bb5c V8 style preview badge (#6585)
* V8 style preview badge

* updates the preview badges in other places

* Removes umbraco logo

* changes the "click to end" icon

* Set flex-shrink to 0 on the badge end element

* adds width:1em to the svg
2019-10-25 11:37:58 +02:00
Shannon Deminick
5121df5b2e Merge pull request #6764 from Adolfi/v8/dev-umbracoapicontroller-testable
UmbracoApiController Testable
2019-10-25 10:01:16 +11:00
Shannon Deminick
dc54924b52 Merge pull request #6730 from lars-erik/pr/fix-our-tests
Pr/fix our tests
2019-10-24 13:45:41 +11:00
Dennis Adolfi
faeb3e052a * Removed unnessasary test. 2019-10-23 07:30:16 +02:00
Bjarke Berg
a4c4a978d9 Downgraded cherry picked test to work on 8.2.1 2019-10-22 16:22:19 +02:00
Shannon
e2d63f553f Adds simpler test to validate RefreshNode 2019-10-22 15:55:48 +02:00
Shannon
4641e61743 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-22 15:55:28 +02:00
Shannon
e7096fd5c8 Gets a test to confirm the issue, now to fix 2019-10-22 15:55:23 +02:00
Shannon
5db26a4502 starts writing tests 2019-10-22 15:55:17 +02:00
Lars-Erik Aabech
d9c1853543 Totally helpful exception message for test classes that can't be resolved 2019-10-21 23:07:36 +02:00
Lars-Erik Aabech
7bd8dee6a2 Changed TestOptionAttributeBase type resolving to use Assemby instead of String 2019-10-21 23:01:23 +02:00
Bjarke Berg
c072015288 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB2913-DataTypeTracking
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2019-10-21 09:40:21 +02:00
Bjarke Berg
9ffb3bed57 Merge pull request #6688 from umbraco/v8/bugfix/AB3172-long-running-ops
Long running operations causes SQL timeout
2019-10-21 07:56:53 +02:00
Shannon Deminick
16abdcac46 Merge pull request #6208 from PerplexDaniel/6174-saving-content-type-segment-variation
Support for Segments in ContentTypeRepositoryBase
2019-10-21 16:54:56 +11:00
Bjarke Berg
debe4b381c Fixed tests 2019-10-21 07:26:39 +02:00
Bjarke Berg
538a8cf41b Change to case when, just to support if someone change values to something invalid directly in the database, and fixed tes 2019-10-21 07:23:11 +02:00
Dennis Adolfi
8d70d53ed6 * Added test for mocking UmbracoApiController dependencies with injected UmbracoMapper
* Added test for mocking UmbracoApiController dependencies with ServiceLocator resolved UmbracoMapper for backward compability.
2019-10-18 14:27:55 +02:00
Claus
1d39a25240 Merge pull request #6734 from umbraco/v8/bugfix/6698-nucache-panic
Fixes nucache #6698
2019-10-18 10:36:19 +02:00
Shannon
10a2303458 Renames AsyncLock -> SystemLock 2019-10-18 11:57:44 +11:00
Shannon
b95404f585 Adds simpler test to validate RefreshNode 2019-10-17 18:51:15 +11:00
Bjarke Berg
9d7aacbfc0 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3172-long-running-ops 2019-10-17 09:44:51 +02:00
Shannon
439bacff07 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-17 18:41:05 +11:00
Shannon
f384b31e98 Gets a test to confirm the issue, now to fix 2019-10-17 15:47:15 +11:00
Shannon
5ca32ba1e9 starts writing tests 2019-10-16 17:29:45 +11:00