Commit Graph

459 Commits

Author SHA1 Message Date
Ronald Barendse
0895aeaf30 Add test for populating alias in migration 2021-08-31 15:50:49 +02:00
Ronald Barendse
60ced5db8c Retarget migration to 8.17 2021-08-19 23:29:40 +02:00
Niels Lyngsø
66cb8167db Merge remote-tracking branch 'origin/v8/dev' into v8/feature/reintroduce-tabs 2021-07-23 14:15:48 +02:00
Warren Buckley
4df4b3eeaf Merge pull request #10603 from umbraco/v8/bugfix/creating-document-types-sqlce
Fix duplicate ID when creating document types with SQL CE
2021-07-21 12:11:22 +01:00
Ronald Barendse
cae6e02ceb Fix migration to handle identical aliases for different group names and write error to log 2021-07-15 16:53:42 +02:00
Ronald Barendse
74a56aadb7 Use camel case for alias and fix infinite loop in IndexOfKey 2021-07-14 10:30:55 +02:00
Ronald Barendse
da856fae1b Revert "New AddColumn overloads for migrations (obsoleted the oddly named AddColumnIfNotExists)"
This reverts commit 81bdcf58a8.
2021-07-14 00:27:36 +02:00
Ronald Barendse
ec761adee2 Rewrite parent key with alias for easier editing/merging of groups 2021-07-13 14:49:57 +02:00
Ronald Barendse
81bdcf58a8 New AddColumn overloads for migrations (obsoleted the oddly named AddColumnIfNotExists) 2021-07-13 13:43:07 +02:00
Shannon
7dc03256ed Fixes SQLCE migration for nucache table. 2021-07-09 12:05:19 -06:00
Shannon
5e8b4572a0 Ensures that the content nu data column is updated to support null during migration. 2021-07-09 09:40:31 -06:00
Mole
dfa161adb4 Add migration 2021-07-06 13:08:44 +02:00
Ronald Barendse
3ce0949626 Remove icon from property group 2021-06-30 14:49:10 +02:00
Ronald Barendse
2b6e87d1e2 Merge branch 'v8/dev' into v8/prototype/doctype-tabs 2021-06-30 14:33:59 +02:00
Bjarke Berg
40dbfa7b88 Merge pull request #8376 from umbraco/v8/feature/nucache-perf
Performance improvements mainly around front-end caching
2021-06-23 09:32:29 +02:00
Shannon
94d525d88f small changes based on review. 2021-06-22 15:12:07 -06:00
Ronald Barendse
740de049fd Merge branch 'v8/dev' into v8/prototype/doctype-tabs 2021-06-22 13:33:37 +02:00
Ronald Barendse
2560804493 Update migration plan 2021-06-22 12:02:03 +02:00
Ronald Barendse
17d2c4cab9 Convert level into group type and ensure names are unique again 2021-06-22 11:45:23 +02:00
Warren Buckley
ee348be8a5 Merge pull request #10496 from umbraco/v8/fix/10483
Fixes clashing aliases when new mediatypes had been installed

(cherry picked from commit f69cee87f9)
2021-06-21 19:27:31 +02:00
Warren Buckley
79fc804a9b Merge pull request #10500 from umbraco/v8/fix/10423
Don't obsolete the v2 pickers, renamed them and they're able to be created again, without config changes

(cherry picked from commit 69383d3dea)
2021-06-21 19:27:13 +02:00
Warren Buckley
f69cee87f9 Merge pull request #10496 from umbraco/v8/fix/10483
Fixes clashing aliases when new mediatypes had been installed
2021-06-21 17:59:01 +01:00
Shannon
060e78f8e1 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf 2021-06-21 10:15:09 -06:00
Sebastiaan Janssen
809bb3b5d3 Fixes #10423
Don't obsolete the v2 pickers, renamed them and they're able to be created again, without config changes
2021-06-21 14:01:50 +02:00
Sebastiaan Janssen
e95b57ca1f Fixed friendly name of Vector graphics 2021-06-18 11:44:26 +02:00
Sebastiaan Janssen
70590ce993 Invert the previous change so querying with these constants will give the same results as in 8.14.0 2021-06-18 11:42:09 +02:00
Sebastiaan Janssen
64ebbae5b8 Keep the old constants as they were and add new "Name" constants, in case people were already using the old constants to query by alias 2021-06-18 11:37:32 +02:00
Ronald Barendse
f7f22dda42 Use parentKey and level to store tabs/property groups 2021-06-15 13:14:36 +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
Warren Buckley
9ef806d4e9 Rename Media Picker 3 and make current Media Picker Obsolete (#10332) 2021-05-26 16:13:25 +02:00
Shannon
2739e049a6 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.TestData/LoadTestComposer.cs
2021-05-17 11:56:11 -07: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
Warren Buckley
0e356b8b93 More DB schema stuff 2021-03-19 11:52:00 +00:00
Warren Buckley
886de83a7c DTOs and Migration Plan to add new table 2021-03-19 11:17:13 +00:00
Shannon
1ab73b35a4 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf 2021-03-12 16:50:00 +11: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
Shannon
55a39613c1 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf 2021-02-11 12:38:06 +11: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
Shannon
e01f8319f6 Updates the new nodedto index to include 2 cols as the key and update the includes, this is required for more optimal querying for nucache and others. 2021-01-22 01:12:26 +11:00
Shannon
4c31fd176b Merge branch 'v8/dev' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.Core/Constants-SqlTemplates.cs
2021-01-21 22:49:33 +11: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
Shannon Deminick
74e7ddb45f Merge pull request #9482 from umbraco/v8/feature/unattended-install
Add support for unattended installs
2021-01-07 19:19:52 +11:00
Shannon
fce13e23e9 Fixes test, adds null checks 2021-01-07 17:51:03 +11:00
Shannon
083b5d2611 Fixes issue with SqlMainDomLock during install, obsolete InstallEmptyDatabase, ensures installation can occur with/without the umbraco version 2021-01-05 16:27:42 +11:00
Rasmus John Pedersen
d7801a86ff Allow installing when connection string is configured
Disable unattended installs by default and enable install empty
database.

Fix create user step by adding back the HasSomeNonDefaultUser check, if
the check is missing the installer will skip creating the configured user
since the second time NewInstallStep.RequiresExecution is called, Umbraco
has been installed and it would return false and the user would never be
created.
2020-12-16 11:03:23 +01:00
Shannon
c62b3f4497 re-updates versions for db changes/migrations 2020-12-16 15:44:00 +11:00
Shannon
28b9b62781 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2020-12-16 15:26:57 +11:00