Commit Graph

33020 Commits

Author SHA1 Message Date
Shannon
459904ffdd Gets unique keys working per nested property 2020-06-30 10:49:31 +10:00
Shannon
8eb467affa New validation structure + tests working 2020-06-29 21:55:54 +10:00
Shannon
2af99c48d8 Merge remote-tracking branch 'origin/v8/feature/block-editor-list' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/blockeditor/blockeditor.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/elementeditor/elementeditor.content.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-block.component.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-property-editor.html
2020-06-29 15:02:26 +10:00
Shannon
2df481332b commits wip to resume later. 2020-06-29 14:51:57 +10:00
Niels Lyngsø
7ceb965f1f split in multiple lines 2020-06-26 16:14:17 +02:00
Niels Lyngsø
7f3923d9b5 make binding one-way 2020-06-26 16:11:42 +02:00
Niels Lyngsø
0c7f8469d9 remove not very used vars 2020-06-26 16:06:10 +02:00
Niels Lyngsø
cb98a4a82e corrected spelling mistake 2020-06-26 16:02:26 +02:00
Niels Lyngsø
9104570dcb rename inline method name 2020-06-26 15:32:02 +02:00
Niels Lyngsø
f44e7280d4 remove unused controller 2020-06-26 15:29:45 +02:00
Niels Lyngsø
975fbbfa3f remove comment 2020-06-26 15:29:37 +02:00
Niels Lyngsø
a46acaf16c remove comment 2020-06-26 15:24:33 +02:00
Niels Lyngsø
04fba15db1 correct js docs name 2020-06-26 15:22:48 +02:00
Niels Lyngsø
5313baf991 mark Umbraco.BlockList as unsupported inside Nested Content 2020-06-26 15:15:53 +02:00
Niels Lyngsø
a84fc1cfa8 keep elementTypes up to date through the EventService. 2020-06-26 15:15:27 +02:00
Niels Lyngsø
26e30189ab corrected file path 2020-06-26 14:45:36 +02:00
Niels Lyngsø
ba562378be corrected filepath 2020-06-26 14:44:48 +02:00
Niels Lyngsø
8c13313bf8 correct style location 2020-06-26 14:39:13 +02:00
Niels Lyngsø
4705d945e1 removed inline style 2020-06-26 14:16:25 +02:00
Niels Lyngsø
5cff45aa55 renamed blockcard.component to umb-block-card and moved it. 2020-06-26 13:56:51 +02:00
Niels Lyngsø
1113c50b83 scale thumbnail for block showcase 2020-06-26 13:54:17 +02:00
Niels Lyngsø
4f715f35ce make sure images does not repeat. 2020-06-26 13:51:49 +02:00
Niels Lyngsø
ac6d14a93a rename requestCopyBlock to copyBlock 2020-06-26 13:45:01 +02:00
Niels Lyngsø
1a53a9c22d remove dublicated code 2020-06-26 13:19:25 +02:00
Niels Lyngsø
3ae3aefde0 this should not happen. 2020-06-26 12:28:58 +02:00
Niels Lyngsø
df8fb169bd rename files to match file name conventions 2020-06-26 12:28:43 +02:00
Shannon
1c5b144cbb fixes issue with umbeditorcontentheader.directive which will throw an exception during validatino preventing all validation from working when working with invariant content (ouch) 2020-06-26 15:44:27 +10:00
Shannon
e948879760 Starting to get somewhere, validation results are now being returned for nested items 2020-06-26 15:23:46 +10:00
Shannon
8acc6ed5b4 Fixes all the block editor deserialization processes 2020-06-26 15:02:02 +10:00
Shannon
b8893968e5 Updates notes 2020-06-26 11:17:59 +10:00
Shannon
8ee9ac7e16 Merge remote-tracking branch 'origin/v8/feature/block-editor-list' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklist.component.html
2020-06-26 10:48:42 +10:00
Claus
d950de7aa4 stop tracking build output files. 2020-06-26 01:11:01 +02:00
Niels Lyngsø
74b2561af4 changed comment from TODO to something that explains the state. 2020-06-25 22:29:54 +02:00
Niels Lyngsø
0d0f6227ca Finished Todo, gets name of documentType if copying all entities in an infinite editor 2020-06-25 22:10:42 +02:00
Niels Lyngsø
869c37051c removed vscode specific configuration of karma 2020-06-25 21:41:34 +02:00
Niels Lyngsø
d6dfc934d1 correct ngdoc type 2020-06-25 21:38:23 +02:00
Niels Lyngsø
b8afc9b7d1 corrected naming of umbBlockListScopedBlock and umbBlockListBlock 2020-06-25 21:35:18 +02:00
Shannon
79bf359fa0 Gets property json paths working in complex editors, next lets see if we can make it work for validation. 2020-06-26 00:13:21 +10:00
Warren Buckley
c53ea9382f Update ElementType Resource to not use hardcoded URL but to use the Umbraco.Sys.ServerVariables.umbracoUrls instead 2020-06-24 11:21:24 +01:00
Warren Buckley
cb7f4a964c Merge branch 'v8/8.7' into v8/feature/block-editor-list 2020-06-24 10:22:52 +01:00
Niels Lyngsø
6f1ea3eb45 correction jsDocs 2020-06-24 11:10:40 +02:00
Shannon Deminick
ee7d62e583 Fixes #7148 - ensures we only check for SurfaceController routes (#8322)
* See https://github.com/umbraco/Umbraco-CMS/issues/7148 for bug report and reason for fork and PR.

* Fixes #7148 - ensures we only check for SurfaceController routes

When finding the SurfaceController to post back to when using BeginUmbracoForm we weren't specifically checking for only SurfaceControllers routes since we just assumed it would be a SurfaceController route. This is problematic if using a SurfaceController simultaneously as an IRenderController with a custom front-end route since it will fail to find that controller to post back to. This is fixed by further filtering the controllers looked up to only include SurfaceControllers.

Co-authored-by: Colin Wiseman <sayhi@codeitwise.co.uk>
2020-06-24 10:22:10 +02:00
Niels Lyngsø
79e5ccb8d8 no message 2020-06-24 09:16:48 +02:00
Sebastiaan Janssen
fee6ef0fb0 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
2020-06-24 09:05:22 +02:00
Shannon
020835390d Merge remote-tracking branch 'origin/v8/feature/block-editor-list' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklist.component.html
2020-06-24 11:56:43 +10:00
Shannon
b99c170f86 adding umbNestedProperty to build up a json path for a targeted nested property type. 2020-06-24 11:51:48 +10:00
Shannon
29aaabcc6e Gets the c# side of things working for complex validation for complex editors 2020-06-24 10:20:25 +10:00
Niels Lyngsø
90b4d89c1a added some JS-Docs 2020-06-23 20:46:15 +02:00
Niels Lyngsø
58ee8da948 rename onDestroy to destroy 2020-06-23 20:42:28 +02:00
Niels Lyngsø
67a9a3f807 move destroy responsibility to blockObject 2020-06-23 20:42:14 +02:00