Commit Graph

33224 Commits

Author SHA1 Message Date
Niels Lyngsø
74f3b8073f show state in submit button 2020-08-04 11:32:02 +02:00
Niels Lyngsø
7cbe50b2f1 need to define active always, in order for it to become false. 2020-08-04 11:23:13 +02:00
Niels Lyngsø
1710a079a6 remove unused index from blockEditorModel for infinite editor 2020-08-04 11:09:45 +02:00
Niels Lyngsø
52fa96c824 append the drag class if a stylesheet is present. 2020-08-04 10:00:39 +02:00
Niels Lyngsø
c9b0f20fa3 move load to the buttom of init() 2020-08-03 14:13:38 +02:00
Niels Lyngsø
b0ff73fd75 make badge bounce 2020-08-03 14:12:06 +02:00
Shannon
c7d42d94d0 Changes c# model for block list editor to be much simpler. 2020-08-03 22:02:10 +10:00
Niels Lyngsø
d06c1e01a7 Update da.xml
translate to danish
2020-08-03 11:27:32 +02:00
Niels Lyngsø
47203f7111 discard changes dialog 2020-07-31 14:05:07 +02:00
Niels Lyngsø
16c66b5141 deleteAllBlocks fixed (dont know what up with whitespace now) 2020-07-31 11:30:21 +02:00
Niels Lyngsø
bbe2d3a9b6 fixing create from element type, now that udi is changed to contentUdi 2020-07-31 11:25:40 +02:00
Niels Lyngsø
8d6cafa456 remove again, this is not begin used. 2020-07-31 10:57:51 +02:00
Niels Lyngsø
20779dff01 speach bubble look for property-errors 2020-07-31 10:47:01 +02:00
Niels Lyngsø
0e82ec9995 moved and changed validation css 2020-07-31 09:45:52 +02:00
Niels Lyngsø
33afbb8af6 added validation-error badge to navigation item 2020-07-30 16:13:22 +02:00
Niels Lyngsø
55805eabc3 make the required-star as bold as possible. 2020-07-30 15:26:40 +02:00
Niels Lyngsø
47986ec0f5 limit control-label effect to the first control-label, these 3 new lines covers all cases that i could find in CMS. 2020-07-30 15:01:29 +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