Commit Graph

33108 Commits

Author SHA1 Message Date
Niels Lyngsø
52fa96c824 append the drag class if a stylesheet is present. 2020-08-04 10:00:39 +02:00
Niels Lyngsø
d5c0e79c40 make label bar white 2020-07-30 14:47:16 +02:00
Niels Lyngsø
e8332a16ae make inline editor bar white 2020-07-30 14:44:13 +02:00
Shannon
f0cc7a493d Cleanup servervalidationmgr booleans and moves to more readable functions with comments 2020-07-30 16:03:31 +10:00
Shannon
99fc6ef587 cleanup TODOs 2020-07-30 15:47:14 +10:00
Warren Buckley
f7a0afb459 Merge pull request #8493 from umbraco/v8/feature/block-list-settings-validation
Block list editor - settings validation
2020-07-29 11:11:07 +01:00
Shannon
58331bbdef Fixes tests and issues causing test failures. 2020-07-29 18:46:01 +10:00
Bjarne Fyrstenborg
ca4f7bf41d Ensure replacement of angular.copy still works where second parameter is used for destination object.
(cherry picked from commit eff630d3a0)
2020-07-28 14:11:38 +02:00
Warren Buckley
940e47141e Merge pull request #8382 from umbraco/v8/feature/block-list-data-structure-v3
V8/feature/block list data structure v3
2020-07-28 10:49:29 +01:00
Shannon
8b19e11b58 Implements server side min/max count checks and fixes the display of the error message 2020-07-28 17:05:45 +10:00
Shannon
e4334c86bf Merge branch 'v8/feature/block-list-data-structure-v3' into v8/feature/block-list-settings-validation 2020-07-28 15:36:16 +10:00
Shannon
cf442f78c0 updates prop value converter to filter out all content/settings blocks outside of the layout from reaching razor + test 2020-07-28 15:33:54 +10:00
Shannon
768b31e091 enhances valServerMatch to be more flexible and allow for different validation keys which we can then use for matching on settings or content and have different styles for validators 2020-07-28 11:43:53 +10:00
Shannon
5aba8190ae Yay! gets sub editor validation works - was actually totally broken before too, refactors how the sub views get made so this done during the scaffold processing 2020-07-24 15:05:59 +10:00
Shannon
9e9f8863c2 Ensures validation works for settings data, now to test other scenarios. 2020-07-24 00:42:37 +10:00
Shannon
cb9ae7335e Merge branch 'v8/feature/block-list-data-structure-v3' into v8/feature/block-list-settings-validation 2020-07-23 23:54:44 +10:00
Shannon
e52cd3e359 fixes block removal with new data structure 2020-07-23 23:53:58 +10:00
Shannon
05d9f4cf9b Merge branch 'v8/feature/block-list-data-structure-v3' into v8/feature/block-list-settings-validation 2020-07-23 23:37:11 +10:00
Shannon
692b8b819f fixes tests 2020-07-23 23:31:55 +10:00
Shannon
84dddd1869 fixes tests 2020-07-23 23:23:39 +10:00
Shannon
78455756e1 Removes _private methods that don't need to exist 2020-07-23 23:20:07 +10:00
Shannon
ad9d0fad4f Adds notes with links back to PR about server side validation 2020-07-23 23:06:58 +10:00
Shannon
06afab9893 Adds some warning logs for when data is removed 2020-07-23 23:04:11 +10:00
Shannon
e01f36514b fixes tests 2020-07-23 22:14:06 +10:00
Warren Buckley
adc63a839b Merge pull request #8339 from umbraco/v8/feature/block-editor-list-validation
Complex Editor Validation
2020-07-23 11:59:39 +01:00
Shannon
0e4bf55f84 Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3
# Conflicts:
#	src/Umbraco.Web.UI.Client/test/unit/common/services/block-editor-service.spec.js
2020-07-23 19:16:52 +10:00
Shannon
41dc30227f Fixes tests 2020-07-23 19:04:42 +10:00
Shannon
925ffb1f9b Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3 2020-07-23 16:55:27 +10:00
Shannon
f77961ca6e Fixes tests 2020-07-23 16:42:53 +10:00
Shannon
f7a831f054 Fixes some JS issues with new data format, streamlines the blockeditor data format serialization in c#, implements To/FromEditor methods 2020-07-23 16:03:35 +10:00
Anders Bjerner
16769e9504 umb-notifications.html - added option for setting the target attribute (#8224)
(cherry picked from commit 5642e56dd7)
2020-07-22 20:20:18 +02:00
Shannon
5bc80e2d84 Adds tests for settings and changes to strongly typed guid 2020-07-21 16:24:48 +10:00
Shannon
a194d1db4a first phase of new data format done in c# 2020-07-21 15:50:11 +10:00
Shannon
bd5986aa00 Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3 2020-07-21 13:29:56 +10:00
Shannon
b4345217f4 Removes weird unused service 2020-07-21 13:29:19 +10:00
Shannon
8098264206 WIP 2020-07-21 13:28:19 +10:00
Shannon
89b1552722 Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3 2020-07-21 13:19:11 +10:00
Shannon
e16e04ecb0 removes unnecessary code 2020-07-21 13:13:35 +10:00
Shannon
51118699df couple TODOs 2020-07-20 16:39:00 +10:00
Shannon
c8c9cfa7f2 Merge branch 'v8/8.7' into v8/feature/block-editor-list-validation 2020-07-20 16:08:55 +10:00
Shannon
c8488b6683 Merge branch 'v8/8.6' into v8/8.7
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-20 16:08:07 +10:00
Shannon
0763d1d272 adds note 2020-07-20 14:54:10 +10:00
Shannon
ffe41fcb68 Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
2020-07-17 13:51:18 +10:00
Shannon
b57545a9b0 No need for 2x the same component, we just change how we $compile, fixes up showing the validation border 2020-07-17 13:37:36 +10:00
Shannon
4d06094696 Ensures that FormController hierarchy is maintained with infinite editors 2020-07-17 12:21:33 +10:00
Shannon
0afdd69416 Fixes deleting nodes with server validation and also ensuring that the dirty state is set on the form 2020-07-17 01:40:32 +10:00
Shannon
d01b06bd9c only call model state callbacks once instead of exponentially, fixes valPropertyMsg, no more watching the value, uses clever trick of assigning $validators, now works for nested content because we don't need to watch values, makes nested content look more like block editor, adds error borders 2020-07-17 00:48:28 +10:00
Shannon
5c91774ae9 ensure culture carries through to child model state and ensure language culture is carried through on the block content scaffolds 2020-07-16 18:52:53 +10:00
Shannon
2af1feadfc adds error styling 2020-07-16 17:49:23 +10:00
Shannon
b7e25eed21 Yay! gets it all working for the block editor, refactored counting form errors recursively to actually work and be readable, updates valPropertyMsg with all of the odd edge cases. 2020-07-16 17:31:46 +10:00