Commit Graph

1986 Commits

Author SHA1 Message Date
Ronald Barendse
17d2c4cab9 Convert level into group type and ensure names are unique again 2021-06-22 11:45:23 +02:00
Ronald Barendse
89c9d34553 Add icon column to migration 2021-06-11 09:56:30 +02:00
Ronald Barendse
e15ed2c509 Update database structure to hierarchical property groups 2021-06-10 15:11:32 +02:00
Ronald Barendse
36b4a994e1 Merge branch 'v8/dev' into v8/prototype/doctype-tabs 2021-06-07 10:58:37 +02:00
Niels Lyngsø
1a5b88525b Media Picker v3 (#9461)
* set input file accept

* Use PreValue file extensions for limiting the files to be chosen in file input

* Current state for Warren to review

* This should fix up what you need Niels

* update csproj

* use empty string if fileExtensions is undefined

* public interface

* initial work

* local crops

* translations

* translation correction

* fix misspeling

* some progress

* filter media picker

* align media card grid items correctly

* responsive media cropper

* always be able to scale 3 times smallest scale

* making image cropper property editor responsive

* scroll to scale

* adjust slider look

* rearrange parts of mediaentryeditor

* test helper

* styling

* move controls inside umb-image-crop

* seperate umg-cropper-gravity styling

* corrected layout

* more ui refinement

* keep the idea of mandatory out for now.

* remove double ;

* removed testing code

* JSON Property Value Convertor now has an array of property editors to exclude

* Property Value Convertor for Media Picker 3 aka Media Picker with Local Crops

* Experimenting on best approach to retrieve local crop in razor view when iterating over picked media items

* Update ValueConvertor to use ImageCropperValue as part of the model for views as alot of existing CropUrls can then use it

* Update extension methods to take an ImageCropperValue model (localCropData)

* Forgot to update CSProj for new ValueConvertor

* New GetCropUrl @Url.GetCropUrl(crop.Alias, media.LocalCrops) as oppposed to @Url.GetCropUrl(media.LocalCrops, cropAlias:crop.Alias, useCropDimensions: true)

* Remove dupe item in CSProj

* Use a contains as an opposed to Array.IndexOf

* various corrections, SingleMode based on max 1, remove double checkerBackground, enforce validation for Crops, changed error indication

* mediapicker v3

* correct version

* fixing file ext label text color

* clipboard features for MediaPicker v3

* highlight not allowed types

* highlight trashed as an error

* Media Types Video, Sound, Document and Vector Image

* Rename to Audio and VectorGraphics

* Add (SVG) in the name for Vector Graphics

* adding CSV to Documents

* remove this commented code.

* remove this commented code

* number range should not go below 0, at-least as default until we make that configurable.

* use min not ng-min

* description for local crops

* Error/Limits highlighting reactive

* visual adjustments

* Enabling opening filtered folders + corrected select hover states

* Varous fixes to resolve issues with unit tests.

* Refactor MediaType Documents to only contain Article file type

* mark as build-in

* predefined MediaPicker3 DataTypes, renaming v2 to "old"

* set scale bar current value after min and max has been set

* added missing }

* update when focal point is dragged

* adjusted styling for Image Cropper property editor

* correcting comment

* remove todo - message for trashed media items works

* Changed parameter ordering

* Introduced new extension method on MediaWithCrops to get croppings urls in with full path

* Reintroducing Single Item Mode

* use Multiple instead of SingleMode

* renaming and adding multiple to preconfigured datatypes

* Change existing media picker to use the Clipboard type MEDIA, enabling shared functionality.

* clean up unused clipboard parts

* adjusted to new amount

* correcting test

* Fix unit test

* Move MediaWithCrops to separate file and move to Core.Models

* parseContentForPaste

* clean up

* ensure crops is an array.

* actively enable focal points, so we dont set focal points that aren't used.

* only accept files that matches file extensions from Umbraco Settings

* Cleanup

* Add references from MediaPicker3 to media

* corrections from various feedback

* remove comment

* correct wording

* use windowResizeListener

Co-authored-by: Warren Buckley <warren@umbraco.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
Co-authored-by: Andy Butland <abutland73@gmail.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-04-22 10:28:53 +02:00
Warren Buckley
f6e4089581 Merge branch 'v8/dev' into v8/prototype/doctype-tabs 2021-04-13 08:46:26 +01:00
Sebastiaan Janssen
d85d0d75f3 Revert "Updated LightInject to v6.4.0"
This reverts commit fc77252ec7.
2021-04-06 16:13:40 +02:00
Sebastiaan Janssen
c84f616a17 Remove HtmlSanitizer once more - see #9803 2021-04-06 10:08:10 +02:00
Dave de Moel
fc77252ec7 Updated LightInject to v6.4.0 2021-04-06 09:35:12 +02:00
Sebastiaan Janssen
e8a9c4da2e Merge branch 'v8/dev' into v8/contrib 2021-03-31 13:01:25 +02:00
Elitsa Marinovska
6e54c6fefd Implementation for IContentDashboardSettings 2021-03-24 15:34:05 +01:00
Warren Buckley
886de83a7c DTOs and Migration Plan to add new table 2021-03-19 11:17:13 +00:00
Chad
388e0283bc Fixes #9615 - Upgrade to Htmlsanitizer v5 (#9856)
(cherry picked from commit a6e1c2e901)
2021-02-22 09:56:13 +01:00
Chad
a6e1c2e901 Fixes #9615 - Upgrade to Htmlsanitizer v5 (#9856) 2021-02-22 09:53:53 +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
Bjarne Fyrstenborg
a466b49b2b Eye Dropper Color Picker (#9646) 2021-02-21 09:43:42 +01:00
Sebastiaan Janssen
02963e7b29 Remove HtmlSanitizer (#9803) 2021-02-18 17:50:00 +01:00
Bjarke Berg
4aff5d38f8 Merge pull request #9778 from umbraco/v8/bugfix/broken-user-permissions-caches
Fixes issue with broken caches used for user permissions
2021-02-16 13:41:29 +01:00
Bjarke Berg
e1b5212810 Fixed potential NullReferenceException when using obsolete ctor. 2021-02-16 12:56:07 +01:00
Sebastiaan Janssen
820b04faec Merge branch 'v8/dev' into v8/contrib 2021-01-28 16:10:52 +01:00
Sebastiaan Janssen
febb15445a Merge branch 'v8/8.11' into v8/dev 2021-01-28 16:09:09 +01:00
Sebastiaan Janssen
e62cef6151 Revert "Fixes wrong dependency in nuspec file"
This reverts commit 8642b61449.
2021-01-28 12:05:19 +01:00
Sebastiaan Janssen
abb469a404 Revert "Updated NPoco from 3.9.4 -> 4.0.2 (#9061)"
This reverts commit d9c6584d90.
2021-01-28 11:47:10 +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
Sebastiaan Janssen
f0d6238e01 Merge branch 'v8/8.11' into v8/dev 2021-01-12 13:06:45 +01:00
Sebastiaan Janssen
fb5aeb2d8e Merge branch 'v8/8.10' into v8/8.11 2021-01-12 13:02:51 +01:00
Sebastiaan Janssen
a01bb67a4d Merge branch 'v8/8.9' into v8/8.10 2021-01-12 13:00:18 +01:00
Sebastiaan Janssen
870609f633 Merge branch 'v8/8.8' into v8/8.9 2021-01-12 12:57:29 +01:00
Sebastiaan Janssen
907fd9fa23 Merge branch 'v8/8.7' into v8/8.8 2021-01-12 12:54:12 +01:00
Sebastiaan Janssen
cfe5028dd0 Merge branch 'v8/8.6' into v8/8.7 2021-01-12 12:51:56 +01:00
Bjarke Berg
0f2db02289 Merge pull request #9640 from umbraco/v8/bugfix/memory-leak-9348
Fixes a memory leak caused by deep cloning

(cherry picked from commit 824349ae0d)
2021-01-12 12:41:01 +01:00
Shannon
4a3525ece3 Fixes a memory leak caused by deep cloning
There was a memory leak with PublicAccessEntry during even unassignment which was not clearing the correct handler.
This goes a step further and adds a new ClearCollectionChangedEvents method for all observable collections used in umbraco
which allows fully clearing ALL event handlers instead of having to track specific ones. This will ensure there are no
unintended memory leaks in case end-users have assigned event handlers to the collection changed event which would
not be unassigned during deep cloning.
2021-01-12 13:41:50 +11:00
Sebastiaan Janssen
8642b61449 Fixes wrong dependency in nuspec file
Updates NPoco to the latest v4 version
2021-01-11 13:19:18 +01:00
Martin Humlund Clausen
d9c6584d90 Updated NPoco from 3.9.4 -> 4.0.2 (#9061) 2021-01-08 15:32:09 +01:00
Sebastiaan Janssen
967485f4e1 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2021-01-08 15:18:03 +01:00
Rasmus John Pedersen
db634f7c28 Add unattended install support 2020-12-08 10:38:32 +01: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
Ronald Barendse
469e35190d Retarget migration to Umbraco 8.9.0
(cherry picked from commit eb2f338406)
2020-10-13 16:35:51 +02:00
Warren Buckley
1b7f095048 Trying to get the model mapping done correctly - but still stuggling.
This can be persisited to DB correctly but does not hydrate model correctly back to a model
2020-10-02 13:32:23 +01:00
Shannon
0e44acc45e Merge remote-tracking branch 'origin/v8/8.8' into v8/8.9
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2020-09-24 14:19:58 +10:00
Sebastiaan Janssen
fe3f604122 Move the IIconService and IconModel to the Umbraco.Core project
See issue #8919

(cherry picked from commit 0531fce9e2)
2020-09-23 16:21:34 +02:00
Sebastiaan Janssen
0531fce9e2 Move the IIconService and IconModel to the Umbraco.Core project
See issue #8919
2020-09-23 16:20:55 +02:00
Shannon
75dc416ed9 Merge remote-tracking branch 'origin/v8/8.8' into v8/feature/no-local-login
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umblogin.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/user/user.html
#	src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html
#	src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-09-17 15:38:04 +10:00
Shannon
3b23b85dd5 Adds more functionality to the external login table and services to store additional user data with the provider info and adds tests. 2020-09-11 00:02:57 +10: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
Shannon
a2c24bcc76 Gets copying logic working for the block editor, needs more tests though 2020-09-08 02:07:02 +10: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
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
Shannon
c7d42d94d0 Changes c# model for block list editor to be much simpler. 2020-08-03 22:02:10 +10:00
Mike Masey
add1a99cc4 V8: Add umb-icon directive to backoffice to begin transition from icon fonts to svgs (#5606) 2020-07-29 11:29:49 +02:00