Commit Graph

127 Commits

Author SHA1 Message Date
Mads Rasmussen
de47f95c4f alias is changed. We need to compare with label instead 2021-09-21 13:19:17 +02:00
Mole
ac53b89fe1 V8: Improve nested content optimization in the backoffice (#10885)
* Get all nested content scaffolds in a single post request

* Only load alias array and initialize once

* Remove old nested content load code

* Get the content types within a scope

This will drastically reduce the amount of SQL queries, since the same read lock will be used for all operations.

* Add comments

* Fix typo

* Fix typos

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2021-08-18 15:51:16 +02:00
Niels Lyngsø
0b3c4a726c #10520 ensure property culture in Nested Content (#10562)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-06-30 16:27:53 +02:00
Shannon Deminick
de4a7eff85 Fixes some property editors ensuring ngModelController(#10013)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-04-12 15:19:32 +02:00
Niels Lyngsø
18fa631f1c use paste-resolvers (#10121)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-04-12 14:38:52 +02:00
patrickdemooij9
6b3202e37b 9841: Don't focus on nested content node at page load (#9863)
Tested and can confirm that this fixes the focus issue.
2021-02-24 22:16:40 +00:00
Chad
06e5d07650 Fix eventService memory leaks (#9752)
* fix leak by unbinding event from $rootscope

* destroy more events

* $scope unavailable

* no need to destroy in services as they are singletons

Co-authored-by: nzdev <nzdev@github.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 09:56:56 +10:00
Bjarne Fyrstenborg
2398c40720 Replace jQuery trim() using vanilla JS 2021-01-13 09:22:01 +10:00
Sebastiaan Janssen
e41fdc3cce Merge branch 'v8/8.7' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/components/umb-form-check.less
2020-10-05 20:57:57 +02:00
Niels Lyngsø
a6340bb850 refactor to one method 2020-09-29 14:24:19 +02:00
Niels Lyngsø
ab74d1c5db bringing this back to original. 2020-09-29 13:06:38 +02:00
Niels Lyngsø
3efec3325d revert specific hack for NC when copying data. 2020-09-29 13:00:24 +02:00
Sebastiaan Janssen
1f44b94ef6 Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
#	src/Umbraco.Web.UI.Client/test/config/karma.conf.js
2020-09-09 12:52:42 +02:00
Sebastiaan Janssen
0662284f29 Merge branch 'v8/8.7' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-09-09 12:48:28 +02:00
Kenn Jacobsen
455344105d Hide the Nested Content "add content" header when there are items in the clipboard 2020-09-04 11:31:06 +02:00
Kenn Jacobsen
0720e3bb30 Fix broken Nested Content "add content" dialog 2020-09-04 11:24:17 +02:00
Niels Lyngsø
46488836f4 Changed clipboardService property resolvers to be specific for clipboard-entry-types 2020-09-03 14:37:51 +02:00
Mole
e412653a10 Merge pull request #8736 from umbraco/v8/bugfix/block-list-recreate-udis-on-paste
V8.7RC: Recreate UDIs for pasted Block Editor entries
2020-09-03 11:33:44 +02:00
Sebastiaan Janssen
79ac19bff8 Merge branch 'v8/8.7' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/itempicker/itempicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/components/users/change-password.html
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.html
#	src/Umbraco.Web.UI.Client/src/views/datatypes/delete.html
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/create.html
#	src/Umbraco.Web.UI.Client/src/views/logviewer/search.html
#	src/Umbraco.Web.UI.Client/src/views/member/member.edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/packages/edit.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdownFlexible/dropdownFlexible.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.html
2020-09-02 10:14:10 +02:00
Bjarne Fyrstenborg
841fd2679f Sort block list and nested content within parent container 2020-08-26 20:21:31 +02:00
Niels Lyngsø
24ec954a7d update Nested Content to run paste resolvers and update deprecated method name 2020-08-26 16:33:42 +02:00
Niels Lyngsø
19037d0a89 append date to the clipboard entry, and use it for sorting entries in the UI. 2020-08-20 10:27:14 +02:00
Sebastiaan Janssen
c8da5156fa Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js
#	src/Umbraco.Web.UI.Client/src/views/components/overlays/umb-overlay.html
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.html
#	src/Umbraco.Web.UI.Client/src/views/dictionary/edit.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-08-19 13:12:13 +02:00
Kenn Jacobsen
a737b0eacf Remove usages of angular.forEach in property editors 2020-07-31 17:38:12 +02:00
rickread
61892882de #8345 - Nested content not remembering value on variant switch (#8479) 2020-07-28 10:29:35 +02: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
Bjarne Fyrstenborg
e6f264136c Adjust tooltip position inside overlay (#8416) 2020-07-14 14:56:25 +02:00
Bjarne Fyrstenborg
327d5ae7fb Adjust nested content overlay (#8044) 2020-07-09 16:04:43 +02: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
Niels Lyngsø
5313baf991 mark Umbraco.BlockList as unsupported inside Nested Content 2020-06-26 15:15:53 +02: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
Shannon
b99c170f86 adding umbNestedProperty to build up a json path for a targeted nested property type. 2020-06-24 11:51:48 +10:00
Kenn Jacobsen
9723c81d27 Use element type description as tooltip in the Nested Content "Add content" dialog 2020-06-23 18:08:42 +02:00
Niels Lyngsø
220278a322 abstracting property clearing, so each property editor can registrer their own clear property resolvers. 2020-05-26 13:48:26 +02:00
Niels Lyngsø
7a1489923d Merge remote-tracking branch 'origin/v8/dev' into v8/feature/5656-ux-doctype-property-creation-journey
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/variables.less
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/propertysettings/propertysettings.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-05-06 09:45:47 +02:00
BatJan
bd26cb36ec Replace angular.copy with Utilities.copy 2020-04-14 10:20:09 +02:00
Poornima Nayar
793119b0ec Merge pull request #7132 from kjac/v8/fix/nested-content-copy-action-console-error
V8: Fix JS error when editing document types with Nested Content properties
2020-02-26 16:54:36 +00:00
Kenn Jacobsen
f4cd1c2f0c Fix JS errors for Nested Content in single mode 2020-02-25 21:28:40 +01:00
Warren Buckley
a65bf08f1a Merge pull request #7630 from kjac/v8/fix/nested-content-single-mode-add-more-than-one
V8: Nested Content can't add multiple items
2020-02-25 09:43:56 +00:00
Kenn Jacobsen
64cffcb967 Fix Nested Content JS errors when enforcing min items (#7628) 2020-02-19 13:10:21 +00:00
Kenn Jacobsen
4a0ce8572c Nested Content can't add multiple items when configured with a single element type 2020-02-10 17:29:31 +01:00
Niels Lyngsø
9f8d6230d1 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/5656-ux-doctype-property-creation-journey
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-01-20 19:06:15 +01:00
Kenn Jacobsen
4a44cd3a58 V8: If Nested Content has multiple item types, always let the e… (#5429)
Lovely work  Kenn. Thanks, as ever
2020-01-10 19:02:39 +00:00
Niels Lyngsø
4a7ca96357 completing the datatype picker flow 2020-01-10 11:48:32 +01:00
Sebastiaan Janssen
d988d07c5d Merge branch 'v8/dev' into v8/contrib 2020-01-06 14:34:17 +01:00
Warren Buckley
ad53b76308 Merge branch 'v8/8.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-03 11:59:05 +00:00
Kenn Jacobsen
603a8d40e7 Merged with v8/dev 2020-01-02 20:27:11 +01:00
Kenn Jacobsen
bfcc10e35e Prevent the Nested Content item picker from crashing when hitting enter on "add content" twice 2019-12-11 09:06:12 +01:00
Niels Lyngsø
938d5d207d NC PropertyAction Delete-All, do not test length if value is nu… (#7242) 2019-11-28 10:35:07 +01:00
Jan Skovgaard
c20416a374 Nested Content: Fix controls to be more accessible (#6998)
* Change a to button
* Added localization for copy
* Correcting lost parts from merge.
2019-11-27 13:38:02 +01:00