Commit Graph

956 Commits

Author SHA1 Message Date
Bjarne Fyrstenborg
3d05bd6917 Update casing of listview layout name 2021-03-23 07:56:51 +10:00
Sebastiaan Janssen
cf4c163131 Fixes #9993 - Cannot save empty image in Grid 2021-03-17 09:58:17 +01:00
Chad
b8540ca128 Improve speed and reduce allocations by implementing logger overloads to avoid params [] allocation (#8917)
* Implement logger overloads to avoid params [] allocation

* Implement console logger ILogger

* Call correct signature

* Fix exceptions

* Introduce ILogger2

* fix logger reference

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-22 08:22:49 +10:00
rbottema
e554ef0445 Fix some exceptions being logged the wrong way (#9693)
In these statements, the exception was passed as a log message parameter instead of as the exception. This meant the exception and including stack trace was not logged and thus lost.
2021-02-21 11:03:28 +01:00
Chad
75ee3b9622 Speed up boot times and Improve Json (De)Serialization performance and reduce memory usage by reusing JsonSerializerSettings (#9670) 2021-02-21 11:00:00 +01:00
Bjarne Fyrstenborg
a466b49b2b Eye Dropper Color Picker (#9646) 2021-02-21 09:43:42 +01:00
Chad
0bd4dced0b Improve performance and reduce memory use and reduce array allocations by reusing char[] (#9166)
* Reduce array allocations by reusing char[]

* don't hide .Equals()

* Reduce memory use by reducing array allocations

* Revert "Reduce memory use by reducing array allocations"

This reverts commit faf6b60234167f5443435243eb52187ab07d514c.

* reuse char[] for string.split() to avoid params [] allocation
2021-01-22 12:02:25 +10:00
Søren Kottal
a62a96dd92 Allow use of infinite editors in list views (#9026)
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-01-12 09:12:24 +10:00
Warren Buckley
eeae4afe0b Merge remote-tracking branch 'origin/v8/dev' into v8/feature/property-label-on-top
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2020-11-27 15:34:53 +00:00
Tim Geyssens
0be2bb93ab Update NestedContentPropertyEditor.cs to fix 2 bugs (#9236)
* Update NestedContentPropertyEditor.cs

Make sure when trying to JsonConvert.DeserializeObject it is json...

* Update NestedContentPropertyEditor.cs

added null check
2020-10-29 11:34:51 +10:00
ChadC
f12f539d84 Prevent InvalidCastException being thrown when ContentPicker has picked a UDI. Trying to convert to an int will fail for Udis with an InvalidCastException. 2020-10-14 09:13:00 +10:00
Arkadiusz Biel
f288a63342 make composers and components public 2020-10-13 16:40:52 +02:00
Ronald Barendse
2bfef74191 Fix casing of 'URL' (#9080) 2020-10-05 20:48:38 +02:00
Niels Lyngsø
d14e9ee3b4 revert POC approach 2020-10-01 17:29:52 +02:00
Niels Lyngsø
5a96b1cd8d Merge branch 'v8/dev' into v8/feature/property-label-on-top
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/BlockListConfiguration.cs
2020-10-01 16:15:31 +02:00
Sebastiaan Janssen
d6275f34f7 Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/Umbraco.Web/Security/MembershipHelper.cs
2020-09-23 11:09:40 +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
Ronald Barendse
ddc922a583 8.7RC Add generic BlockListItem classes (#8841)
(cherry picked from commit 5faa9ae22f)
2020-09-08 12:11:14 +02:00
Shannon
1ab77adc8a Ensure event handlers are unsubscribed in Core Components 2020-09-04 13:25:56 +10:00
Niels Lyngsø
1a35017d8f AC7976 dont place runtime vars in model (#8807) 2020-09-03 11:09:17 +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
61e96781da V8.7RC Update block list live editing description (#8687) 2020-08-26 20:19:49 +02:00
Sebastiaan Janssen
0140d906a5 Merge remote-tracking branch 'origin/v8/contrib' into v8/contrib 2020-08-19 15:18:19 +02:00
Steve Temple
addc6ae51a Deprecate IsRequired on Email datatype (#8655)
* Deprecate IsRequired on Email datatype

* Add Obsolete to IsRequired in EmailAddressConfig
2020-08-19 14:03:38 +01: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
Niels Lyngsø
c478945373 Ability to put property label on top of editor 2020-08-14 12:14:35 +02:00
Niels Lyngsø
0c4e962ce8 rename contentTypeKey to contentElementTypeKey 2020-08-05 21:21:00 +02:00
Shannon Deminick
2c6f290dc0 Ensure that we validate all properties for a block based on it's element type properties, not just the property values that are POSTed (#8589) 2020-08-05 11:03:02 +02:00
Warren Buckley
576c98f782 Merge pull request #8561 from umbraco/v8/bugfix/block-list-model-updates-7570
Changes c# model for block list editor to be much simpler.
2020-08-05 08:39:34 +01:00
Shannon Deminick
6c4449eecd better null checking for config validation limits (#8588) 2020-08-05 09:06:40 +02:00
Shannon
c7d42d94d0 Changes c# model for block list editor to be much simpler. 2020-08-03 22:02:10 +10: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
Bjarne Fyrstenborg
eef894c617 Update boolean/toggle/checkbox label prevalues (#8477) 2020-07-27 17:18:10 +02:00
Shannon
9e9f8863c2 Ensures validation works for settings data, now to test other scenarios. 2020-07-24 00:42:37 +10:00
Bjarne Fyrstenborg
41d1e33fc4 Add user picker property editor (#7613) 2020-07-23 16:08:24 +02: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
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
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
51118699df couple TODOs 2020-07-20 16:39:00 +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
hkooiker
984214ea7b Member picker value converter (#8401) 2020-07-14 15:47:33 +02:00
Marc Goodson
fbd2a30606 Update 'default value' title + description of CheckBox Configuration (#8421) 2020-07-14 13:24:21 +02:00
Shannon
bd3bc81b7c Gets validation paths generated and tested 2020-07-10 09:25:20 +10:00
Shannon
6c13fb3af3 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/blocklistentryeditors/labelblock/labelblock.editor.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
2020-07-02 15:29:13 +10:00
Niels Lyngsø
5debb4a11b option to hide content editor in overlay 2020-07-01 10:28:02 +02:00