Commit Graph

11732 Commits

Author SHA1 Message Date
Bjarke Berg
5119e8da9c Merge pull request #9515 from umbraco/netcore/feature/remove-overrideauthorization-attribute
NetCore: Get rid of OverrideAuthorizationAttribute
2020-12-16 14:49:13 +01:00
Poornima Nayar
102ae0c402 Updated the UI docs for the authresouce 2020-12-16 09:46:03 +10:00
Bjarne Fyrstenborg
9bcfbf282b Temporary fix to ensure content wrapper is positioned 0px from left in section without tree 2020-12-16 09:38:54 +10:00
Sebastiaan Janssen
03c6227bfe Merge branch 'v8/8.9' into v8/8.10 2020-12-15 14:26:44 +01:00
Matt Darby
015882daa2 Remove type as it defaults to button
(cherry picked from commit bc2faefb18)
2020-12-15 14:25:50 +01:00
Matt Darby
7b32aeb127 Change defaultButton type to "button"
(cherry picked from commit 7ddb52a34f)
2020-12-15 14:25:41 +01:00
Matt Darby
bc2faefb18 Remove type as it defaults to button 2020-12-15 10:39:01 +00:00
Matt Darby
7ddb52a34f Change defaultButton type to "button" 2020-12-15 10:39:01 +00:00
Bjarke Berg
1e09d0b063 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Preview.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2020-12-14 22:16:21 +01:00
Sebastiaan Janssen
58c6e655b3 Merge branch 'v8/8.8' into v8/8.9 2020-12-14 15:07:38 +01:00
Sebastiaan Janssen
d5d7d31c08 Merge branch 'v8/8.7' into v8/8.8 2020-12-14 15:06:51 +01:00
Niels Lyngsø
734d33fe1c change dialog 2020-12-14 11:14:12 +01:00
Dave Woestenborghs
4d74f57a81 V8 - remove console.log statements (#9533)
* #9516 removed console logging statements in macroparemeter picker

* #9516 Removed another console log statement

* Removed console log statement from view
2020-12-11 18:08:41 +00:00
Nathan Woulfe
54fa2f42e9 remove unnecessary classnames/markup (#9098) 2020-12-11 02:24:51 +01:00
Warren Buckley
e38e5d6577 V8: Angular Divorce: isUndefined (#7856)
* Bye bye angular.isUndefinied & hello Utilities.isUndefined

* Add utilities.js to lazyload initialise scripts

* Remove utilities.js as copied over client folder
2020-12-10 10:21:34 +10:00
Rachel Breeze
7a71bc5410 Removed icon font classes from umb-icon implementations (#9255)
* Changed the name of the example class in the mark up as it looks like the icon and the class name may need to be the same in order for umb-icon to work

* Removed the font icon classes in the umb-icon directive calls

* updates to remove class="icon", tidy up alignment in schedule overlay

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-10 09:28:37 +10:00
David Brendel
cdd6513c16 Added char counter for dictionary items (#9194)
* Added char counter

* use single localize directive

Co-authored-by: David Brendel <info@davidbrendel.de>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-10 09:13:35 +10:00
patrickdemooij9
0a3a0f4f76 9078: Allow changing the login logo through umbracoSettings (#9083)
* 9078: Allow changing the login logo through umbracoSettings

* 9078: Add default login logo in code
2020-12-09 09:23:48 +01:00
Elitsa Marinovska
54d1e9d5e0 Removing AllowsCultureVariation from ContentController, so we can get rid of OverrideAuthorization attribute 2020-12-08 15:36:37 +01:00
Bjarke Berg
5dbddfffc5 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	.gitignore
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Models/PropertyType.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/ContentTypeModelMappingTests.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2020-12-07 12:31:26 +01:00
Nathan Woulfe
a31485932a toggle ng-hide class instead of using .hide() 2020-12-06 02:38:03 +01:00
Bjarne Fyrstenborg
0b6752e115 Add rel="noopener" to anchor elements with target="_blank" (#9369)
* Add rel="noopener" to anchor elements with target="_blank"

* Add rel="noopener" to language files as well

* Fix link, link tp https and link to umbraco.com

* Add noreferrer value
2020-12-05 02:13:41 +01:00
Rowan Bottema
a10477a72d Make sure external links are not attempted to be opened inside preview iframe 2020-12-05 09:32:27 +10:00
Bjarne Fyrstenborg
2d785af821 Use color picker component in block list editor configuration (#9056)
* Use color picker component in block list editor configuration

* Remove set color property

* Allow empty color

* Assign color value to properties

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:28:58 +10:00
Jan Skovgaard
f8cff2722d Package section: Edit view (#9054)
* Convert div to buttons, fix styling and fix missing brackets

* removes umb-icon ng-class attrs

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:12:38 +10:00
Jan Skovgaard
81e3798595 NestedContent DoctyperPicker view: Various a11y fixes (#9049)
* Add buttons and convert icons to use the umb-icon directive

* removes class attribute from umb-icon, fixes self-closing th elements (th is non-void)

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:00:35 +10:00
Kenn Jacobsen
a655fba948 Add "remove all entries" property action to MNTP 2020-12-04 07:59:16 +10:00
Bjarne Fyrstenborg
ef0aff0fea Update version umbColorPicker was introduced 2020-12-04 07:49:49 +10:00
Shannon
9e6baf7b7f reverts js changes to continue to support multiple destinations but with the fix of returning the task instance from within MoveViewsAndRegenerateJS 2020-12-03 18:52:28 +11:00
Jan Skovgaard
9e6b2f7449 Grid editors: Accessibility improvements (#9051)
* Change div and img with ng-click events to be buttons and add a label for the caption input field

* Change back to old way of inserting icon

* Fix semantics and adjust styling

* Fix a11y and semantics

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-03 09:42:39 +10:00
Jan Skovgaard
8d681f14c0 Search overlay: Improve accessibility (#9035)
* Ensure the "clear" button is tabable and add accessibility attributes and texts for the overlay

* Add sr-only texts and useful aria attributes

* Convert i to umb-icon and fix wrong values in aria attributes

* Add translation mappings

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-03 08:01:14 +10:00
Jan Skovgaard
b5ae399cf8 Contextmenu: Add focus lock (#9027)
* Move the wrapping div of the context-menu directive inside the directive instead

* Add focus lock, attributes and temporary hardcoded text description of the overlay

* Remove umb-auto-focus directive

* Add dictionary key for the visuallyhidden description

* Add tranlsation key for en-us

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-03 07:42:07 +10:00
Shannon
0f0c50b56e Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/2FAuth
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Filters/DenyLocalLoginAuthorizationAttribute.cs
#	src/Umbraco.Web.BackOffice/Filters/OverrideAuthorizationFilterProvider.cs
#	src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeAttribute.cs
#	src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeFilter.cs
2020-12-02 13:14:47 +11:00
Bjarke Berg
85c01d9905 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Configuration/Legacy/GlobalSettings.cs
#	src/Umbraco.Core/Configuration/IGlobalSettings.cs
#	src/Umbraco.Core/Models/ContentBaseExtensions.cs
#	src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
#	src/Umbraco.Core/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/Services/IRuntimeState.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValueConverter.cs
#	src/Umbraco.Infrastructure/RuntimeState.cs
#	src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web.BackOffice/PropertyEditors/RteEmbedController.cs
#	src/Umbraco.Web.BackOffice/Trees/DictionaryTreeController.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
#	src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
#	src/Umbraco.Web/Controllers/UmbLoginController.cs
#	src/Umbraco.Web/Install/Controllers/InstallController.cs
#	src/Umbraco.Web/PublishedElementExtensions.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/UmbracoHelper.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
#	src/Umbraco.Web/UrlHelperExtensions.cs
#	src/Umbraco.Web/UrlHelperRenderExtensions.cs
#	src/Umbraco.Web/WebApi/UmbracoApiControllerBase.cs
2020-12-01 11:34:13 +01:00
Bjarke Berg
739194d71f Post merge - Fix for acceptance tests 2020-12-01 11:02:11 +01:00
Shannon
927335149d try fixing watch task 2020-12-01 15:02:28 +11:00
Shannon
47b4a4d234 FIxes authz on some controllers, fixes js var paths for login providers, simplifies gulp so we aren't building 2x. 2020-12-01 00:19:08 +11:00
Warren Buckley
39d66bae47 Merge pull request #8849 from umbraco/v8/feature/property-label-on-top
Feature: Property label on top
2020-11-30 11:55:55 +00:00
Bjarke Berg
13374a8654 post merge
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-30 11:57:00 +01:00
Bjarke Berg
c88c842d47 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	src/Umbraco.Core/CompositionExtensions.cs
#	src/Umbraco.Core/Constants-AppSettings.cs
#	src/Umbraco.Core/GuidUdi.cs
#	src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
#	src/Umbraco.Core/PublishedContentExtensions.cs
#	src/Umbraco.Core/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Core/Routing/UrlProvider.cs
#	src/Umbraco.Core/Routing/UrlProviderExtensions.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/Services/IRuntimeState.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
#	src/Umbraco.Core/Sync/DatabaseServerRegistrar.cs
#	src/Umbraco.Core/Sync/IServerRegistrar.cs
#	src/Umbraco.Infrastructure/Media/EmbedProviders/Instagram.cs
#	src/Umbraco.Infrastructure/Models/ContentBaseExtensions.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValue.cs
#	src/Umbraco.Tests/Misc/ApplicationUrlHelperTests.cs
#	src/Umbraco.Tests/Routing/UrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
#	src/Umbraco.Web/CompositionExtensions.cs
#	src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web/ImageCropperTemplateExtensions.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Runtime/WebInitialComponent.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
#	src/Umbraco.Web/UmbracoContext.cs
#	src/Umbraco.Web/UmbracoHelper.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
2020-11-30 11:24:24 +01:00
Niels Lyngsø
855bef8c59 remove this class, should not have been added here. 2020-11-30 09:56:01 +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
Sebastiaan Janssen
862a7fdce6 Merge branch 'v8/contrib' into v8/dev 2020-11-27 14:04:55 +01:00
Matt Brailsford
a6f5e48f43 Introduce content app helper (#9425) 2020-11-27 14:02:19 +01:00
Bjarke Berg
d6357e8fde Revert "Revert "Gets oauth working (with google) now need to test others and debug why the styles aren't working""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:34:32 +01:00
Bjarke Berg
1833bfa1a9 Revert "Gets oauth working (with google) now need to test others and debug why the styles aren't working"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:17:34 +01:00
Warren Buckley
7d3878842a Merge pull request #7560 from umbraco/v8/feature/ensure-umb-editor-is-within-viewport
keep umb-editor inside viewport width
2020-11-27 11:11:42 +00:00
Niels Lyngsø
48d5682cab Merge remote-tracking branch 'origin/v8/dev' into v8/feature/0000-remove-out-icon
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/components/content/umb-content-node-info.html
#	src/Umbraco.Web.UI.Client/src/views/components/media/umb-media-node-info.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/urllist/urllist.html
2020-11-27 11:15:37 +01:00
Warren Buckley
46743506ad Merge pull request #7155 from umbraco/v8/feature/0000-NodeJS-minimum-version
set a minimum version requirement for node
2020-11-27 10:08:04 +00:00
Warren Buckley
2d1081c51e Merge pull request #7444 from umbraco/v8/feature/round-corners-in-media-picker
added round corners in umb-media-grid for media-picker
2020-11-27 10:06:56 +00:00