Commit Graph

33243 Commits

Author SHA1 Message Date
Shannon
6dd5714923 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
# Conflicts:
#	src/Umbraco.Web.Common/UmbracoContext/UmbracoContext.cs
2021-03-09 12:52:15 +11:00
Shannon Deminick
e8cc0fcac5 Update src/Umbraco.Web.Common/Cache/HttpContextRequestAppCache.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-03-09 12:47:13 +11:00
Shannon
78f5b2f0d7 removes double httpcontextaccessor registration and updates test notes. 2021-03-09 12:45:51 +11:00
Bjarke Berg
6d293c6ffd Fixed null ref exception 2021-03-08 21:37:31 +01:00
Bjarke Berg
49bb5ee4b7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/AB10710_UmbracoContext_should_not_use_IBackOfficeSecurity 2021-03-08 21:27:40 +01:00
Shannon
a07728f8db Starts removing usage of CallContext and some cleanup 2021-03-08 17:08:15 +11:00
Shannon
29901f9ecf minor cleanup 2021-03-08 13:42:51 +11:00
Shannon
8c88c3e00f Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
# Conflicts:
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-08 13:33:07 +11:00
Shannon
455181dbb4 Fixing tests 2021-03-08 12:31:17 +11:00
Bjarke Berg
24d4b4c9fb Added validation and moved Unattended Settings into their own model. + Added DataAnnonation validation on all our settings 2021-03-07 19:20:16 +01:00
Warren Buckley
c57a9b9d3b Merge remote-tracking branch 'origin/netcore/dev' into netcore/unattended-user-create 2021-03-05 17:25:57 +00:00
Warren Buckley
820be3c063 Remove the extra whitespace I added 2021-03-05 17:18:32 +00:00
Warren Buckley
254d88e3c8 Update src/Umbraco.Web.Common/Install/CreateUnattendedUserNotificationHandler.cs 2021-03-05 17:16:05 +00:00
Warren Buckley
e11079c568 Update src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs 2021-03-05 17:15:59 +00:00
Warren Buckley
86fff278c6 Update src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs 2021-03-05 17:15:53 +00:00
Warren Buckley
ea05685db6 Revert changes as not needed 2021-03-05 17:13:09 +00:00
Shannon
1094ae3723 fix test 2021-03-05 15:37:34 +11:00
Shannon
283130e349 fix build 2021-03-05 15:35:20 +11:00
Shannon
df333ec8cb Updates scopes in execution context to use a Stack so we know which is the top Scope/Context. Fixes disposing things on end request, fixes ensuring orphaned scopes are disposed at end request. 2021-03-05 15:27:45 +11:00
Shannon
7d45a585ee adds tests 2021-03-04 23:59:41 +11:00
Shannon
e4115acae6 removes duplicate root namespace 2021-03-04 17:02:14 +11:00
Shannon
d72c11821f Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
# Conflicts:
#	src/Umbraco.Core/HybridAccessorBase.cs
#	src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Security/BackofficeSecurityFactory.cs
2021-03-04 16:57:32 +11:00
Shannon Deminick
0daad54d7f Merge pull request #9915 from umbraco/netcore/task/9726-fixing-macros
Fixing macro rendering with forms
2021-03-04 16:48:24 +11:00
Shannon
1ef60a7c7d removes unneeded ctor dependency on UmbracoContext 2021-03-04 16:44:09 +11:00
Shannon
a41323f389 Fixing build and weird protected fields in UmbracoIntegrationTest 2021-03-04 16:18:57 +11:00
Shannon
df9da835b3 fixing tests 2021-03-04 16:04:45 +11:00
Shannon
e0a224e0b0 Fixing tests 2021-03-04 15:54:51 +11:00
Shannon
d986311459 removes commented out code 2021-03-04 15:38:22 +11:00
Shannon
38ac99e46f adds notes 2021-03-04 15:19:52 +11:00
Shannon
efb84409f5 kill UmbracoWebsiteSecurityFactory and UmbracoRoutedRequest, simplify all this. 2021-03-04 15:12:58 +11:00
Shannon
ed5116664f kill IBackOfficeSecurityFactory and fix the broken dependency chain 2021-03-04 15:07:54 +11:00
Shannon
1163e7aa3b Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope 2021-03-04 14:49:56 +11:00
Shannon
089d147917 Fix namespaces 2021-03-04 14:49:19 +11:00
Shannon
2d0389d53c Updates project dependencies to latest patch releases, removes Umbraco.Code from Umbraco.Web since it was causing conflicts for some reason - finally these conflict errors are gone. 2021-03-04 14:10:10 +11:00
Bjarke Berg
008fd4271c Fix unattented admin install 2021-03-03 19:48:01 +01:00
Warren Buckley
aa9ff2e670 The event fires and hits the Handle in the notification/event handler
But it implodes when I inject/add UserManager to this
2021-03-03 16:31:17 +00:00
Warren Buckley
b0f078fa4b Trying to get the event/notification handler setup & happy :S 2021-03-03 16:04:28 +00:00
Warren Buckley
20d6c7e536 Adds a new empty event with no extra data so we can subscribe when an Unattended install has completed 2021-03-03 15:09:42 +00:00
Warren Buckley
f7439a8903 New config settings to use for Unattended install user update 2021-03-03 14:41:07 +00:00
Bjarke Berg
c3d6cc0dcd Revert test view component 2021-03-03 07:09:49 +01:00
Bjarke Berg
e7b96a5214 Change static fields to instance, in singleton 2021-03-03 06:05:42 +01:00
Shannon
48c4c235d2 fixing tests, updating nunit 2021-03-03 15:36:10 +11:00
Shannon
46c073aaf6 removes CallContextTests 2021-03-03 14:12:14 +11:00
Shannon
6ea5dcd540 Fixes up TaskHelper with notes and tests, fixes up lots of other tests and adds more, ensure the exception from Scope is verbose 2021-03-03 13:43:27 +11:00
Shannon
a70a739d62 security accessors should not be hybrid, ensures call context isn't flowed to child set/forget threads, renames TaskHelper and adds a test, removes GenericDictionaryRequestAppCache in favor of HttpContextRequestAppCache that relies on HttpContext and fixes http locks since there was a deadlock problem. Removes SafeCallContext, we just use ExecutionContext.SuppressFlow instead 2021-03-03 10:40:16 +11:00
Shannon
dfc202a6c8 init code cleanup 2021-03-03 09:56:34 +11:00
Bjarke Berg
1c50ece986 Use c#9 + namespace fix 2021-03-02 16:20:44 +01:00
Bjarke Berg
4d5c7988cf Merge pull request #9892 from kjac/netcore/feature/remove-editormodel-static-events
Replace static editor model events events with IEventAggregator notifications
2021-03-01 14:15:54 +01:00
Kenn Jacobsen
e407d083c2 Resolved merge conflicts with netcore/dev 2021-03-01 13:26:34 +01:00
Kenn Jacobsen
0bdd1cc874 Replaced if/else with switch 2021-03-01 13:17:24 +01:00