Commit Graph

32738 Commits

Author SHA1 Message Date
Anders Bjerner
16769e9504 umb-notifications.html - added option for setting the target attribute (#8224)
(cherry picked from commit 5642e56dd7)
2020-07-22 20:20:18 +02:00
Shannon
c8488b6683 Merge branch 'v8/8.6' into v8/8.7
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-20 16:08:07 +10:00
Shannon
f759ab4d36 Fixes block list editor to correctly re-sync it's view model after persisting 2020-07-14 10:37:30 +01:00
Shannon Deminick
892e3a43fc Merge pull request #8398 from umbraco/v8/bugfix/sqlmaindom-updates
Adjustments for SqlMainDomLock and others to make azure operations more resilient
2020-07-09 17:13:05 +10:00
Shannon
191060f930 Merge branch 'v8/8.6' into v8/bugfix/sqlmaindom-updates 2020-07-09 16:33:44 +10:00
Shannon
0196e55c19 Cherry picks fix #7994 for #5151 2020-07-09 16:33:01 +10:00
Shannon
15b903129e comments 2020-07-09 14:32:48 +10:00
Shannon
6dfb31f42b revert ssl port 2020-07-09 13:40:35 +10:00
Shannon
df61f30393 refactors scheduled publishing logic - splits into 2x scopes/2x trans, only take a write lock when necessary 2020-07-08 18:16:12 +10:00
Shannon
e1757178b9 Fixes our sql azure transient fault detection to be inline with current standards, adds a scope for the health check schedule tasks 2020-07-08 17:26:31 +10:00
Shannon
384531ea68 removes comments and no need for private method 2020-07-08 15:59:35 +10:00
Shannon
f0dea44b4d Adds Load Test controller to test data project (instead of just being stored in my personal repo) 2020-07-08 15:47:26 +10:00
Shannon
b80dc8f34b readability 2020-07-08 15:07:12 +10:00
Shannon
7590161858 comments 2020-07-08 14:54:26 +10:00
Shannon
7819d1acf5 comments 2020-07-08 14:53:53 +10:00
Shannon
a947fa3121 comments 2020-07-08 14:51:35 +10:00
Shannon
651756d96a Ensure we don't shutdown MainDom if there is an error while listening, only shutdown if the appdomain is triggered to shutdown, else we'll keep listening/logging 2020-07-08 13:43:20 +10:00
Shannon
53db2df390 Fix for PerformScheduledPublishInternal, don't use yield returns within a using! this will not work and transactions/connections will be lost 2020-07-08 13:43:20 +10:00
Shannon
65101beaf6 transactions for sqlmaindom 2020-07-08 13:43:20 +10:00
Shannon
6aa49242f2 Don't try to reuse db instances, thsi can result in potential zombie transactions 2020-07-08 13:43:20 +10:00
Shannon
a233264c8e Ensure index rebuilding doesn't short circuit if one of the populators fails 2020-07-08 13:43:20 +10:00
Shannon
8814875b95 fixes error logging 2020-07-08 13:43:20 +10:00
Warren Buckley
4e8feae35b Merge pull request #8381 from umbraco/v8/feature/block-list-more-solid
V8/feature/block list more solid
2020-07-03 12:50:12 +01:00
Niels Lyngsø
b017b3f1b6 improve test script 2020-07-03 12:22:23 +02:00
Niels Lyngsø
9f208a0ff1 improve existence, destroy and watchers 2020-07-03 12:22:14 +02:00
Sebastiaan Janssen
1f29778a23 Bump version to 8.6.4 2020-07-02 14:16:04 +02:00
Shannon
b8d6ef64c7 Remove the usage of Parallel to run the populators
(cherry picked from commit b078f856b9)
2020-07-02 13:49:59 +02:00
Sebastiaan Janssen
a88a5a0cae Merge pull request #7984 from umbraco/v8/bugfix/7967-sqlmaindom
Fixes #7967 - cannot start site with SqlMainDomLock  when db isn't configured

(cherry picked from commit cbfe643a79)
2020-07-02 10:38:10 +02:00
Sebastiaan Janssen
de3d0e9f11 Merge pull request #7021 from stevemegson/v8/pr/member-cmsContentNu
OnMemberRefreshedEntity stores data as published rather than edited

(cherry picked from commit a9bb1ff49e)
2020-07-02 10:36:45 +02:00
Niels Lyngsø
c74b03a1b6 check for object before prop 2020-07-01 20:10:28 +02:00
Niels Lyngsø
f1c5e19124 no need for var twice 2020-07-01 20:10:08 +02:00
Warren Buckley
d4898b58e0 Merge pull request #8368 from umbraco/v8/feature/block-list-hideContentinOverlay-v2
V8/feature/block list hide contentin overlay v2
2020-07-01 13:40:30 +01:00
Niels Lyngsø
69c2ab20ff correct behaviour 2020-07-01 11:45:45 +02:00
Niels Lyngsø
22aa76d6b1 remove unused line 2020-07-01 10:33:13 +02:00
Niels Lyngsø
d2678135fe bail out if we dont have settings. 2020-07-01 10:32:20 +02:00
Niels Lyngsø
8f7194df36 remove line 2020-07-01 10:30:20 +02:00
Niels Lyngsø
5debb4a11b option to hide content editor in overlay 2020-07-01 10:28:02 +02:00
Claus
f0efc7f0c0 Merge pull request #8366 from umbraco/v8/bugfix/improve-block-list-default-razor
Improve block list default razor view
2020-07-01 09:19:33 +02:00
Warren Buckley
5173a7b589 Remove try/catch block as it will make it hard for people to see what the issue when using the Razor view when building sites 2020-07-01 08:07:30 +01:00
Warren Buckley
b31ffea429 Merge pull request #8358 from umbraco/v8/bugfix/8273-block-list-inline-doctype-creation
BlockEditor Fix - Parse on contentType key
2020-07-01 07:26:57 +01:00
Niels Lyngsø
e2b7043d3c check for $block.data, to verify that the blockObject is not in a destroyed state. 2020-06-30 15:59:06 +02:00
Niels Lyngsø
26fa38c536 use one-way binding 2020-06-30 15:45:20 +02:00
Niels Lyngsø
38e8a93b28 parse on contentType key 2020-06-30 13:36:17 +02:00
Shannon Deminick
df3dc32de6 Block Editor List (#8273)
* add style to create-option in itempicker + removing overflow hidden

* style adjustment

* clean up of html

* correct sentence to use the number 7

* correct overlays, so they can use size

* numberrange prevalue editor

* add confirmRemove overlay

* correcting primary btn colors

* move confirmMessage below content of overlay.

* min max validation for numberrange

* remove comment

* improved actions for block list

* use file tree for view picker

* style adjustment to border of creator item in item-picker

* vertical align

* clean up + validation limit range

* rename ElementTypes to Blocks

* implement block list editor

* renaming

* use Chrome Headless for unit tests

* test for blockEditorService

* safer code

* block list editor

* rename view to overlayView

* block editor work

* Revert "rename view to overlayView"

This reverts commit 5b910c178a.

* block editor implementation

* sync models

* block list editor copy paste feature

* order var declarations

* remove unused paste function

* block list editor better naming

* simpler label generation

* clean up

* compile config for test mode

* Chrome Debug for VS code

* promise test working

* space change

* another two tests

* more tests for block list editor

* provide key on blockModel for angularJS performance optimization

* syncronization from infinite editing layers

* use an isolated scope

* more tests

* fix C# test

* remove unused block watcher component

* clean css

* only show on hover or focus for block-actions

* clean up and prepare for implementing settings

* remove console

* Add ability to render block list editor using Grid style rendering extension

* Enable Block List Editor settings editing

* Add Stacked Content to Block List migration

* Block Editor: Clean-up, refactoring, one step closer being ready for Content-Apps

* changes naming to Submit, to avoid misunderstanding.

* use a common variable on the block model for isOpen, to be able to make Actions show when open.

* NotSupported property editor, to be used when an editor is not supported in the given context.

* remove unused controller

* Hide group header if only one group is presented

* rename notsupport property editor css class

* smaller header for property group

* hide description if no description is presented

* css adjustments

* Inline create button styling: Better spacing, darker blue color for Focus Outline, moving the plus icon to mouse position for better visual appearance.

* css correction

* Add references for picked items

* Revert commit 45e892f350 - Changes api to GetData

* Use the .Data propertry as opposed to GetData in this PartialView

* Fix block list test failures

* Just parsing layout as model for partial views.

* minor adjustments

* Remove DB migrations so that they can be reviewed as a block

* Add migrations for new block editor

* Update default rendering partial view

* Add error handling to default template

* Handle color picker data in stacked content

* BlockList PreValue Editor opens configurations as overlay

* translation for prevalue editor property group headlines

* blockcard corrections

* block list prevalue corrections

* revert agressive clean up

* Block Picker

* MaxPropertyWidth PreValue + Implementation

* Incorporate latest block list editor changes, update migration for changed configuration

* Change declared converter type

* Handle invalid data type references

* Remove code duplicated from PR #7957

* use ElementModel for the ContentModel of an ElementType. So we can use ElementTypeModel for the ModelDefinition aka. the Type.

* do still show itempicker for BlockConfiguration even though there is no ElementTypes to pick. This enables the option to create a new ElementType to be used.

* use the right wrapper, for correct spacing

* parse item

* correct fallback for label

* removed unused callback

* paste feature for block-picker

* localize block-picker tabs

* Slightly change for shadow on block-picker item hover

* Localization of BlockEditor Settings Tab

* localizationService

* only filter when more than 8 items available

* Add multiple blocks if hold down CTRL or SuperKey

* adds notes

* ability to add a scoped stylesheet for block view

* make scoped block draggable + style adjustments

* provide index for custom view

* rename contentModel to data + rename layoutModel to layout

* clean up

* more localization

* openSettings option for block editor

* minor changes for a better developer experience

* paste mistake corrected

* only manipulate content-content-app if its present

* make small overlays slightly bigger

* moved block list entry editor into block list editor folder

* limit labelinterpretator to only runs ones pr. edit. and lets make sure to have a label thought we dont have any properties.

* fixed inline views gulp watcher

* changed vm to a better controller instance name

* make watch for views work again.

* able to re run watch

* make js up to date

* fix white background of image-picker

* media-picker container class

* loading indication

* adjust unit tests to latest interface

* getting started on JS Docs

* converting code to use contentTypeKey instead of contentTypeAlias, still missing a few TODOs.

* revert change

* add todo

* use Guid for Key

* use key

* Updates the caching layer to handle GUID keys for content types while preserving backwards compat, fixes unit tests, removes the strongly typed lists for the block editor value since it's unecessary

* Reverts the nested content changes, fixes up the GetEmptyByKey

* Returns ContentTypeKey from the server, updates js to use this everywhere and fix all js tests.

* Allows key in SimpleContentType

* correct for the new spelling

* appended this. since the method is a non-static class method.

* only add background-image if value isnt null

* simplifyed limits validation

* clean up

* no need to execute a digest.

* define the full model for new configurations

* removed setDataFromBlockModel and general clean up and added documentation

* default size should be medium

* use retriveValuesFrom method to transfer data.

* ability to disable an navigation item

* createElementTypeAndCallback working again for settings.

* still have the ability to retrive a scaffold model by alias, since we are still using alias in clipboard service.

* disable clipboard tab if no available paste options

* ups, should stay as alias

* disable clipboard when empty

* use property alias for content add button

* use a grey that can be seen on top of grey and on top of white.

* some accessibility improvements

* rename entry to block

* appended ' and added space in Element Type

* use background color for hover to corospond with active state

* make nested content unsupported

* Moving BlockEditorModelObject into its own file for Documentation purpose. Same goes for renaming BlockModel to BlockObject. and a lot of documentation written.

* fix links in js docs

* added a blocklistentryeditor for unsupported blocks

* ability to retrive the $scope from UmbVariantContentEditors, needed for Block Editor to get a scope existing across variants and splitview.

* Appending the block objects to layout, to share it across variants and in split-view.

* removed trailing comma

* Unsupported block

* Dont copy unsupported blocks

* use grey color for unsupported block

* text correction

* we dont have this fallback anymore

* sort properties

* Text change

* css correction

* use active to determine if an inline editor is expanded. To enable the inline editor to be expanded on creation.

* using udi instead of key.

* bringing the runtime block key back

* live editing ability

* live editing for settings data

* call formSubmit before property editor are removed from DOM. Both for overlay-editing and inline-editing. Fire an postFormSubmitting event after formSubmitting event to let editors know that data could have been updated.

* make sure settings object exists

* only set active to false if it was false before opening the editor.

* update test with new scope parameter

* move destroy responsibility to blockObject

* rename onDestroy to destroy

* added some JS-Docs

* correction jsDocs

* Update ElementType Resource to not use hardcoded URL but to use the Umbraco.Sys.ServerVariables.umbracoUrls instead

* Remove partially completed ConvertToElement migration, fixed in issue 7939 instead.

* Remove external property editor migration

* corrected naming of umbBlockListScopedBlock and umbBlockListBlock

* correct ngdoc type

* removed vscode specific configuration of karma

* Finished Todo, gets name of documentType if copying all entities in an infinite editor

* changed comment from TODO to something that explains the state.

* stop tracking build output files.

* rename files to match file name conventions

* this should not happen.

* remove dublicated code

* rename requestCopyBlock to copyBlock

* make sure images does not repeat.

* scale thumbnail for block showcase

* renamed blockcard.component to umb-block-card and moved it.

* removed inline style

* correct style location

* corrected filepath

* corrected file path

* keep elementTypes up to date through the EventService.

* mark Umbraco.BlockList as unsupported inside Nested Content

* correct js docs name

* remove comment

* remove comment

* remove unused controller

* rename inline method name

* corrected spelling mistake

* remove not very used vars

* make binding one-way

* split in multiple lines

* corrected default rendering

* removing documentation that is relevant for developers of new block editors. this documentation will be transfered to Our documentation.

* added danish translation

* corrected blog to blok

* Remove invalid using statement

* use native forEach

Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Benjamin Carleski <benjamin@proworks.com>
Co-authored-by: Warren Buckley <warren@umbraco.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Claus <claus@claus.nu>
2020-06-30 10:52:42 +01: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
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
Kenn Jacobsen
90a9ce4c5d Fix a few localizatoin glitches in the listview "Order by" selector 2020-06-23 18:43:43 +02:00
Kenn Jacobsen
b28bb9bb94 Listview "Order by" should not contain removed properties 2020-06-23 18:38:41 +02:00
Kenn Jacobsen
fe12f35d79 Parse complex RTE styles rules correctly 2020-06-23 18:37:23 +02:00
Jan Skovgaard
d539fdf4f6 Add backdrop when menu items are opened (#8121) 2020-06-23 18:36:09 +02:00