Commit Graph

12343 Commits

Author SHA1 Message Date
Nikolaj Geisle
4876108f71 change button to user editUser function 2021-10-27 09:49:05 +02:00
Nikolaj Geisle
34be464cf8 v9: Fixing flaky cypress test "Macro in Grid" (#11485)
* fixed flaky macro test and updated cypress version

* fixed flaky macro test and updated cypress version

* Update package.json

* Fixed failing tabs test

* Amend magic numbers with actual wait

* Update tests/Umbraco.Tests.AcceptanceTest/cypress/integration/Content/content.ts

* Updated UI to click on button instead of icon

* Make macro test click bottom to ensure we're not clicking on icon

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-26 14:01:14 +01:00
Bjarke Berg
222a40accc Delete importdocumenttype.html 2021-10-22 09:20:43 +02:00
Bjarke Berg
51ec026630 Delete create.html 2021-10-22 09:20:26 +02:00
Bjarke Berg
071fb4b9ff Delete create.html 2021-10-22 09:19:44 +02:00
Bjarke Berg
3d85d9b0a7 Delete create.html 2021-10-22 09:19:00 +02:00
Bjarke Berg
4bb1dbff52 Delete create.html 2021-10-22 09:18:32 +02:00
Bjarke Berg
a851fc5e29 Delete create.html 2021-10-22 09:18:03 +02:00
Bjarke Berg
7261091271 Merge remote-tracking branch 'origin/v8/dev' into v9/feature/v8_merge_22_10_2021
# Conflicts:
#	src/Umbraco.Core/Exceptions/InvalidCompositionException.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentTypeServiceBaseOfTRepositoryTItemTService.cs
#	src/Umbraco.Tests/Umbraco.Tests.csproj
#	src/Umbraco.Web.BackOffice/Controllers/ContentTypeControllerBase.cs
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.UI.Client/src/views/datatypes/create.html
#	src/Umbraco.Web.UI.Client/src/views/documentTypes/create.controller.js
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/importdocumenttype.html
#	src/Umbraco.Web.UI.Client/src/views/mediatypes/create.html
#	src/Umbraco.Web.UI.Client/src/views/partialviewmacros/create.html
#	src/Umbraco.Web.UI.Client/src/views/partialviews/create.html
#	src/Umbraco.Web.UI.Client/src/views/relationtypes/create.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/cy.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/it.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/nl.xml
#	src/Umbraco.Web/Editors/MemberGroupController.cs
#	tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
#	tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/PublishedCache/NuCacheRebuildTests.cs
2021-10-22 08:51:01 +02:00
Patrick de Mooij
3fb150dda3 11315: Don't unbind unbinding keys 2021-10-20 18:28:06 +02:00
BatJan
122caf8f1c Adjust styling to make grid config look better 2021-10-20 18:07:27 +02:00
BatJan
4dd663d665 Add remove warning 2021-10-20 18:06:11 +02:00
BatJan
2b6e4ce599 Turn nodelist into an array and filter out elements whose parent, grandparents etc. has a .ng-hide class 2021-10-20 18:04:17 +02:00
Jan Skovgaard
e668755a30 Listview: Fix translations and use "Remove" text for button instead of icon (#11411) 2021-10-20 18:01:45 +02:00
BatJan
9a16907d63 Add warning overlay when deleting grid layout 2021-10-20 18:00:07 +02:00
BatJan
fef162b465 Remove z-index 2021-10-20 17:54:32 +02:00
Bjarke Berg
56595a7fc7 Merge v8/dev 20-10-2021 (#11426)
* Adjust icon in umb-checkbox and ensure icon is centered

* Missing nl translation for blockEditor_addBlock

* Implement icon parameter for doctype editor (#11008)

* fix: implement icon parameter for doctype editor

issue #10108

* fix: move color from icon to class attribute

* fix: removed defined colors, defaulting to the standard dark grey (ie "no color picked" in icon picker)

* cleaned up unused dependencies, double quotes to single, removed unused 'color' param from the create methods, and use shorthand object creation in createDocType (if the key has the same name as the variable passed as a prop, we only need to pass the key name)

* fix comment

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Align sortable handle vertically in multivalues prevalue editor

* 10341: Use different picker for content types (#10896)

* 10341: Use different picker for content types

* use es6 where possible (inc removing underscore for teeny tiny performance improvement)

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Falling back to contentTypeName when Block List label is empty (#10963)

* Falling back to contentTypeName when Block List label is empty

* Adding $contentTypeName variable for Block List labels

* Fix incorrect attribute

* Grid: Add button styling fix (#10978)

* Add missing focus styling

* Ensure add button is perfectly rounded and remove unused / uneeded CSS.

* Remove redundant border-color property

* Revert removal of unused css

Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>

* Create content template localization (#10945)

* Don't use self-closing element for custom HTML elements

* Use button element for close/cancel in copy dialog

* Update localization of "createBlueprintFrom"

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Cleanup examine search results, and adds ability to toggle fields (#9141)

* Cleanup examine search results, and adds ability to toggle fields

* update table to use joinarray filter with one-time binding to avoid recalculating filter values, updated filter to not explode when array arg is null

* fix failing tests - improve filter to not fail on non-array params, update tests accordingly

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Add EntityController GetUrlsByUdis

Enables loading multiple URLs in a single request for Media & Documents

* Update content picker to use GetUrlsByUdis

* Allows replacing MainDom with alternate DB

There are some cases where there is a complex hosting strategy and folks want a readonly database and are hosting on Azure. In that case, it is not entirely possible to have a readonly Umbraco database because SqlMainDom is required and part of that requirement is to have read/write access to the umbraco key value table.
This PR allows for the default MainDom to be replaced and to allow for an SqlMainDomLock to use an alternate connection string so that a separate read/write database can be used.

* Remove inherited property group id/key when local properties are added (#11231)

* Remove inherited property group id/key when local properties are added

* Rebind saved content type values

* Remove inherited from save group

* Rename parameter for clarity

* Removes annoying wait text, which causes layout jank

* v8: Backoffice Welsh language translation updates (#11240)

* Updated the Welsh language file to include newly added keys (based on the en us language file)

* Updated the searchInputDescription key

* Updated the endTitle key

* Use medium sized overlay

* Use umb-icon component for icons in content type groups and tabs

* fixes wrong reference to enterSubmitFolder method in ng-keydown

* 11251: Don't add default dashboard to url

* Fix preview of SVG when height and width not are set

* If caching a published document, make sure you use the published Name… (#11313)

* If caching a published document, make sure you use the published Name. Closes #11074.

* Fix case of new node

Co-authored-by: Moore, Douglas S <Douglas.Moore@opm.gov>

* Added missing Italian translations (#11197)

* Resolve incorrect ContentSavedState for failed publish

Closes #11290 (for v8)

* add modelValue validation for server to correctly update validation errors

* 11048: Bugfix for groups and properties that get replaced (#11257)

(cherry picked from commit 1605dc10bd)

* Icon fallback to `icon-document` for existing document types (#11283)

* Align create buttons styling (#11352)

* Added button for cancelling dictionary create action

* Use hideMenu

* Align dictionary create with the other creates

* Align import documenttype

* Align for data type folder create

* Align document type create buttons

* Forgot small ng-show

* Align create media folder buttons

* Align create macro buttons

* Align create relation buttons

* Align create partial view macro folder buttons

* Align partial view folder create buttons

* Align create scripts folder buttons

* Align create scripts folder buttons

* Use primary instead of success

* V8: Duplicate MemberGroup names cause MemberGroup mixup (#11291)

* Prevented duplicate member group names

* Added English lang

* Updated 'Exist' typo

* add labels in FR and NL

* Adding property group aliases to ex.message

* Adding invalid prop group aliases as ModelState errors, so we don't introduce breaking changes

* Pointing the actual reason for invalidating composition

* Validate all content type dependencies and throw a single InvalidCompositionException

* Rename based on review comments

* Update composition validation error messages

* Update InvalidCompositionException message

* Allow switching property editor from numeric to slider (#11287)

* Make it possible to change from numeric/decimal property editor to slider without breaking editor

* Formatting

* Enables friendly pasting in multipletextbox

* UI API docs: Added reset rules for .close class

* UI API docs: Fixed incorrect method name

* 11331: Check property on instance if id is not set yet

* Fixed cypress tests

Co-authored-by: Bjarne Fyrstenborg <bjarne_fyrstenborg@hotmail.com>
Co-authored-by: Corné Strijkert <cornestrijkert@hotmail.com>
Co-authored-by: Søren Gregersen <soreng@gmail.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
Co-authored-by: patrickdemooij9 <patrickdemooij98@hotmail.com>
Co-authored-by: Callum Whyte <hey@callumwhyte.com>
Co-authored-by: Jan Skovgaard <1932158+BatJan@users.noreply.github.com>
Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
Co-authored-by: Søren Kottal <sk@ecreo.dk>
Co-authored-by: Paul Johnson <pmj@umbraco.com>
Co-authored-by: Shannon <sdeminick@gmail.com>
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
Co-authored-by: Ronald Barendse <ronald@barend.se>
Co-authored-by: Owain Jones <owain.jones@method4.co.uk>
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
Co-authored-by: Doug Moore <lordscarlet@idledreams.net>
Co-authored-by: Moore, Douglas S <Douglas.Moore@opm.gov>
Co-authored-by: Martino Gabrielli <39855999+ZioTino@users.noreply.github.com>
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
Co-authored-by: Jamie Townsend <jamie.townsend@unitstack.co.uk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Anders Bjerner <abjerner@skybrud.dk>
2021-10-20 13:12:46 +02:00
BatJan
37511f5a6e Change remove icon to remove text 2021-10-20 03:17:50 +02:00
Daniel Shuy
6e04cc72c2 contentpicker: Don't validate minNumber if empty and not mandatory (#11330)
* contentpicker: Don't validate minNumber if empty and not mandatory

* adds variable for accessing $scope.model.config.minNumber and $scope.model.config.maxNumber

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-10-20 09:51:26 +10:00
BatJan
5f97fca130 Update styling and code style of imagepicker prevalue editor 2021-10-20 08:17:40 +10:00
Sebastiaan Janssen
4dc1ee64e0 Merge branch 'v8/dev' into v8/contrib 2021-10-19 15:49:24 +02:00
Mads Rasmussen
49e1aec71c add modelValue validation for server to correctly update validation errors 2021-10-19 13:30:44 +02:00
Nikolaj Geisle
5cc70d2160 Merge pull request #11360 from umbraco/v8/bugfix/11057-mandatory-image-not-validating-after-first-time-failure
Fixes 11057: Mandatory Image not validating after first time failure
2021-10-19 13:30:03 +02:00
Paul Johnson
7020793235 Restore BelleBuild target (for back-office assets) and use npm ci (#11364)
Co-authored-by: Ronald Barendse <ronald@barend.se>
2021-10-19 10:15:07 +01:00
Patrick de Mooij
57445e81a6 11331: Check property on instance if id is not set yet 2021-10-19 09:28:38 +02:00
Anders Bjerner
eb2f152591 UI API docs: Fixed incorrect method name 2021-10-19 17:19:27 +10:00
Bjarke Berg
c9d71ec0c7 Merge remote-tracking branch 'origin/v9/9.0' into v9/dev 2021-10-18 06:43:50 +02:00
Søren Kottal
7ec1147243 Enables friendly pasting in multipletextbox 2021-10-17 02:46:52 +02:00
Bjarne Fyrstenborg
6a5e34b24d Allow switching property editor from numeric to slider (#11287)
* Make it possible to change from numeric/decimal property editor to slider without breaking editor

* Formatting
2021-10-15 03:00:16 +02:00
patrickdemooij9
03b2aed91e Align create buttons styling (#11352)
* Added button for cancelling dictionary create action

* Use hideMenu

* Align dictionary create with the other creates

* Align import documenttype

* Align for data type folder create

* Align document type create buttons

* Forgot small ng-show

* Align create media folder buttons

* Align create macro buttons

* Align create relation buttons

* Align create partial view macro folder buttons

* Align partial view folder create buttons

* Align create scripts folder buttons

* Align create scripts folder buttons

* Use primary instead of success
2021-10-13 09:03:19 +10:00
Bjarne Fyrstenborg
93720c9897 Icon fallback to icon-document for existing document types (#11283) 2021-10-12 16:49:33 +02:00
patrickdemooij9
d02440d411 11048: Bugfix for groups and properties that get replaced (#11257)
(cherry picked from commit 1605dc10bd)
2021-10-12 14:49:19 +02:00
Mads Rasmussen
3d53c72205 add modelValue validation for server to correctly update validation errors 2021-10-12 11:52:01 +02:00
Bjarne Fyrstenborg
494bef878b Fix preview of SVG when height and width not are set 2021-10-10 18:30:12 +02:00
Nikolaj Geisle
54eeaedc52 v9: bugfix 11228 Blocklist stylesheet path includes wwwroot (#11298)
* Update blocklist.blockconfiguration.overlay.controller.js

* Removed obsolete property sets, and switched to staticfilePicker

Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-07 15:43:22 +02:00
Nikolaj Geisle
4446de915e Merge branch 'v9/dev' into v9/feature/debug-dashboard 2021-10-07 08:16:25 +02:00
Patrick de Mooij
8619cfe3ef 11251: Don't add default dashboard to url 2021-10-07 09:01:32 +10:00
Bjarke Berg
114ab93a6a Moved endpoint to new controller to avoid issue with too hard access requirements (#11264)
* Fixed https://github.com/umbraco/Umbraco-CMS/issues/11258

Moved endpoint and obsoleted the old one to avoid breaking changes..
The issue is the auth policies cannot be overridden.. You need all of them, and the controller requires you to have access to member types

* Update src/Umbraco.Web.BackOffice/Controllers/MemberTypeQueryController.cs

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2021-10-06 10:20:50 +02:00
Mole
e36dd86d2d Merge pull request #11207 from umbraco/v8/bugfix/mntp-performance
Combine GetUrl requests when loading a MNTP with many entries
2021-10-06 08:56:12 +02:00
Søren Kottal
828558ac29 fixes wrong reference to enterSubmitFolder method in ng-keydown 2021-10-06 09:36:32 +10:00
Bjarne Fyrstenborg
c7f342a6dd Use umb-icon component for icons in content type groups and tabs 2021-10-06 09:09:56 +10:00
BatJan
7043d1cc0f Use medium sized overlay 2021-10-06 08:36:28 +10:00
Søren Kottal
ef725bac37 Removes annoying wait text, which causes layout jank 2021-10-06 08:26:44 +10:00
Paul Johnson
106f6dce25 Rename parameter for clarity 2021-10-05 13:45:43 +01:00
Louis JR
c5ddc3d872 Change template helper to use async partials (#11243) 2021-10-04 19:49:52 +02:00
nikolajlauridsen
92429942b8 Don't search in array 2021-10-04 14:54:38 +02:00
Ronald Barendse
5a3efa72f9 Remove inherited property group id/key when local properties are added (#11231)
* Remove inherited property group id/key when local properties are added

* Rebind saved content type values

* Remove inherited from save group

(cherry picked from commit 20b9db87d0)
2021-10-04 11:14:24 +02:00
Ronald Barendse
20b9db87d0 Remove inherited property group id/key when local properties are added (#11231)
* Remove inherited property group id/key when local properties are added

* Rebind saved content type values

* Remove inherited from save group
2021-10-04 09:45:33 +02:00
Nikolaj Geisle
ef8a70580d Update help.controller.js 2021-10-01 11:20:57 +02:00
Nikolaj Geisle
c4e14d183d Updated to display default language 2021-09-30 14:21:14 +02:00