Commit Graph

36577 Commits

Author SHA1 Message Date
Benjamin Carleski
ff8edd3bf9 Use forward slashes with virtual paths 2020-11-19 02:58:32 -08:00
Paul Johnson
48b61ec4c4 Simplify UmbracoBuilder setup 2020-11-19 09:12:39 +00:00
Sebastiaan Janssen
4e5b2e4b82 Fixes #6089
JsDiff.diffWords in Rollback freezes browser
2020-11-19 09:47:06 +01:00
Shannon
daaade185e Removes UmbracoTreeAuthorizeAttribute and migrates usages to authz policies 2020-11-19 19:23:41 +11:00
Paul Johnson
aec25d5007 Replace Composition with UmbracoBuilder 2020-11-18 17:41:57 +00:00
Benjamin Carleski
4d4cb0d221 Fix unit test failures 2020-11-18 08:51:58 -08:00
Andy Butland
024b37e0e6 Added further method header comment. 2020-11-18 17:41:10 +01:00
Andy Butland
c971a2d23d Introduced website security accessor to ensure members aren't shared between sessions. 2020-11-18 17:37:31 +01:00
Steve Temple
945d9b9a8e Merge pull request #9411 from simonech/netcore/feature/linux-solution-file
Added netcore-only solution file
2020-11-18 16:14:46 +00:00
Joe Glombek
d60f14708b Update new list of Core Collaborators in contributing docs (#9413)
* Update new list of Core Collaborators in contributing docs

* Fix spacing
2020-11-18 16:12:01 +00:00
Benjamin Carleski
2309bb9d5b Finish removing IOHelper.MapPath references 2020-11-18 08:10:16 -08:00
Andy Butland
d8ef341854 Refactored to async where appropriate.
Added call to new abstraction in member authorize attribute.
2020-11-18 16:52:40 +01:00
Simone Chiaretta
3303df4918 Added netcore-only solution file 2020-11-18 16:46:59 +01:00
Benjamin Carleski
7583c1fb06 Start cleanup of IOHelper.MapPath calls 2020-11-18 07:25:11 -08:00
Joe Glombek
02d8b3c339 Accessibility (keyboard navigation): The 'Content' drop down menu opens automatically when tabbing (#9325)
* Use umb-dropdown directive for Content dropdown

To allow keyboard toggling and automatic collapsing on click elsewhere

* Hide menu on blur

Co-authored-by: Joe Glombek <joe@rockdove.uk>
2020-11-18 15:14:48 +00:00
Andy Butland
0fbe01cd22 Created new abstraction IUmbracoWebsiteSecurity and migrated controller's using it (replacing MembershipHelper) to Umbraco.Web.Website. 2020-11-18 16:12:42 +01:00
Benjamin Carleski
d51677d5ed Split IOHelper into platform specific versions 2020-11-18 04:49:03 -08:00
Kenn Jacobsen
353aaa46c7 Make Nested Content icons centered and same size as Block Editor 2020-11-18 11:57:26 +01:00
Paul Johnson
85c706087c Add collection builder support to UmbracoBuilder 2020-11-18 10:41:20 +00:00
Shannon Deminick
64609475d3 Merge pull request #9248 from umbraco/netcore/task/6973-migrating-authenticationcontroller
Migrate remaining bits AuthenticationController and BackOfficeController OAuth methods
2020-11-18 16:03:21 +11:00
Shannon
99247d7fbe Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller
# Conflicts:
#	src/Umbraco.Infrastructure/PropertyEditors/PropertyEditorsComposer.cs
2020-11-18 16:02:51 +11:00
Shannon Deminick
7e36bf55b5 Merge pull request #9257 from umbraco/netcore/task/6973-migrating-authenticationcontroller-merge
Merges netcore/dev (from merge_umbraco_id_into_netcore_dev) into the 6973-migrating-authenticationcontroller branch
2020-11-18 15:58:35 +11:00
Tomas Foss Renaa
c88e2be2ac remove bottom offset 2020-11-18 13:09:38 +10:00
Shannon
c2d9f5aa4e Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations 2020-11-18 12:33:13 +11:00
Matt Darby
8a1e281158 Remove double editorService.close() (#9301) 2020-11-18 01:20:04 +01:00
Elitsa Marinovska
dd5f400cf3 Netcore: Migration of Model classes from Umbraco.Infrastructure to Core (#9404)
* Migrating more model, mapping and tree classes

* Migrating files from Mapping dir without Newtonsoft dependency

* Migrating files from PublishedContent and Editors dirs without Newtonsoft dependency + some more of the same kind

* Migrating DataType class without the usage of Newtonsoft.Json and making the corresponding changes to all classes affected

* Combining 3 ContentExtensions files into 1

* Refactoring from migrating ContentExtensions

* Migrating more classes

* Migrating ContentRepositoryExtensions - combining it with existing file in Umbraco.Core

* removing Newtonsoft json dependency & migrating file. Adding partial migration of ConfigurationEditor, so PropertyTagsExtensions can be migrated

* Migrating ContentTagsExtensions, and refactoring from changes in PropertyTagsExtensions

* Changes that should be reverted once ConfigurationEditor class is fully migrated

* VS couldn't find Composing, so build was failing. Removing the using solves the problem

* Handling a single case for deserializing a subset of an input

* Small changes and added tests to JsonNetSerializer

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Migrated ConfigurationEditor

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-11-17 20:27:10 +01:00
Paul Johnson
d498c1a2cd Netcore: Turn container validation back on (#9401)
* Remove RuntimeLevelAttribute & disable filtering

* Remove RuntimeLevelAttribute usage on Composers

* Fix broken tests

* Resolve UserManager registration issues.

* Turn container validation back on.

* Resolve lifetime issue post install backoffice.

* Remove final TODO: MSDI
2020-11-17 08:56:04 +01:00
Kenn Jacobsen
8de2f4920a Do not show cryptic confirm dialog when editing group 2020-11-17 09:29:31 +10:00
Bjarne Fyrstenborg
bb7e53434d Allow to close overlay via esc shortcut 2020-11-17 09:00:50 +10:00
Rachel Breeze
ee08542add Added missing documentation for content menu (#9201) 2020-11-17 08:50:07 +10:00
Laura Weatherhead
cc74be5a27 Fix mis-spelt "occurred" 2020-11-17 08:49:01 +10:00
BatJan
e783af3d19 Change comments to use allowed and disallowed 2020-11-17 08:47:36 +10:00
Callum Whyte
b8859f6cac Styling all code elements in backoffice UI docs 2020-11-17 08:03:43 +10:00
Adam Werner
ede9a18894 Documentation link updated - umbdrawer 2020-11-17 07:51:57 +10:00
Mücahit GENÇ
68997cd219 Turkish language has been arranged according to v8 (#9400)
* Update tr.xml

* Update tr.xml

* Updated "tr.xml"

* Update tr.xml
2020-11-17 07:49:52 +10:00
Bjarke Berg
76aada2aef Merge pull request #9380 from rustybox/feature/netcore/msdi-refactor-use-DefaultControllerActivator
Netcore: Use DefaultControllerActivator
2020-11-16 13:16:31 +01:00
Bjarke Berg
13964d398b Merge remote-tracking branch 'origin/netcore/netcore' into feature/netcore/msdi-refactor-use-DefaultControllerActivator
# Conflicts:
#	src/Umbraco.Web.Website/Extensions/UmbracoWebstiteServiceCollectionExtensions.cs
#	src/Umbraco.Web.Website/Runtime/WebsiteComposer.cs
2020-11-16 10:35:51 +01:00
Rachel Breeze
a9f09308cf This PR sets the page title when editing and maintaining languages (#9312)
* Added support for setting the page title when maintaining languages

* Edit language is now part of the vm.labels grouping
2020-11-16 02:32:38 +01:00
Jan Skovgaard
1bf49b6ba3 umb-control-group directive: Fix styling issue (#9069)
* Fix issue where label is offset 10px

* Undo change made by code editor
2020-11-16 09:54:58 +10:00
Matt Darby
fc7f7295bf Change icon to check if selected 2020-11-16 09:24:46 +10:00
Anders Bjerner
8c7fa8159c Updated editor.service.js for consistency 2020-11-16 09:21:20 +10:00
Elitsa Marinovska
a1f9bc9b17 NetCore: Install page db checks (#9388)
* Making more explicit checks for the db type

* Fixed confusion with both ints and strings

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-11-13 08:50:35 +01:00
Bjarke Berg
e46a248832 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts:
#	src/Umbraco.Infrastructure/HostedServices/ScheduledPublishing.cs
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs
#	src/Umbraco.Infrastructure/Scheduling/SchedulerComposer.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
#	src/Umbraco.Web.BackOffice/Runtime/BackOfficeComposer.cs
#	src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
#	src/Umbraco.Web.Common/UmbracoContext/UmbracoContext.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Runtime/WebInitialComponent.cs
2020-11-12 13:10:19 +01:00
Bjarke Berg
d756248c7c Merge remote-tracking branch 'origin/netcore/dev' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts:
#	src/Umbraco.Examine.Lucene/UmbracoContentIndex.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaServiceTests.cs
#	src/Umbraco.Tests/Services/MemberServiceTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.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
#	src/Umbraco.Web.UI/config/umbracoSettings.config
2020-11-12 12:57:03 +01:00
Warren Buckley
c413079159 Merge pull request #9383 from umbraco/v8/fix/codeql-scanning
Get CodeQL to only scan the relevant directories
2020-11-12 11:26:42 +00:00
Sebastiaan Janssen
333aaec1e3 Might fix running out of memory? 2020-11-12 11:52:45 +01:00
Sebastiaan Janssen
9c6b7a6578 Run analysis on pushes AND PRs to the contrib and dev branches 2020-11-12 11:42:37 +01:00
Sebastiaan Janssen
f295b539a1 Adding a config file maybe? 2020-11-12 11:14:34 +01:00
Bjarke Berg
bb1b04be15 Netcore: Cleanup and migrate few classes from Umbraco.Web (#9375)
* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Moved SurfaceControllerTypeCollection + Builder

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Moved Extension methods

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Removed Wrap methods.. People should use their own TagBuilder

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-12 11:01:19 +01:00
Sebastiaan Janssen
285e51dd37 Should it be here then? 2020-11-12 10:55:50 +01:00