Commit Graph

37568 Commits

Author SHA1 Message Date
Shannon
455181dbb4 Fixing tests 2021-03-08 12:31:17 +11: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
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
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
Bjarke Berg
bad576f175 Merge remote-tracking branch 'origin/netcore/task/9726-fixing-macros' into netcore/task/9726-fixing-macros 2021-03-03 05:59:20 +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
Shannon Deminick
cf6d33f843 Update src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-03-03 09:38:02 +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
Bjarke Berg
ef5cd07e5c Merge pull request #9900 from kjac/netcore/feature/emailsender-without-statics
Remove static methods and events from EmailSender
2021-03-01 14:15:09 +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
Kenn Jacobsen
22ec42a5ab Play it safe - revert to sending emails synchronous 2021-03-01 13:13:37 +01:00
Bjarke Berg
a67f7fad6f Merge pull request #9881 from kjac/netcore/feature/remove-treecontroller-static-events
Replace static events in TreeControllerBase with IEventAggregator notifications
2021-03-01 10:24:20 +01:00
Shannon
c1f14de943 fix build 2021-03-01 14:20:15 +11:00
Shannon
9408a90d14 left over namespace 2021-03-01 14:17:03 +11:00
Shannon
fa3f66aa07 removes comments 2021-03-01 13:01:28 +11:00
Shannon
70caa227e2 notes 2021-03-01 12:57:04 +11:00
Shannon
6148336d04 Adds new event so we know when umbraco routes a value, ensure the IUmbracoWebsiteSecurity is initialized for front-end requests, cleans up some of the routing middleware, adds lots of notes 2021-03-01 12:51:07 +11:00
berg
cb8fbb9c85 Removed the modelsbuilder project (that is deleted) from the netcore only sln file 2021-02-27 19:35:37 +01:00
berg
d7d99e5c00 Fixed issue found by cypress test. script/css folders was not deleted because it search in contentroot and not wwwroot 2021-02-27 19:26:36 +01:00
berg
80a2b4c238 Fixed cypress test 2021-02-27 18:29:59 +01:00
Bjarke Berg
5b88fbe970 Merge pull request #9899 from umbraco/netcore/bugfix/packages-with-actions
Netcore: Fix packages with actions
2021-02-26 10:34:14 +01:00
Shannon
abb5911b24 WIP fixing issue with macro forms 2021-02-26 16:53:53 +11:00
Shannon
f6cf089357 Fix a missed namespace change 2021-02-26 15:14:42 +11:00
Shannon
3113efd122 Adds common.views to view imports 2021-02-26 14:11:00 +11:00
Shannon
b21db82929 missed change for default namespace in the UI project 2021-02-26 14:08:57 +11:00
Shannon
a597f5d473 removes perfolizer dll reference - it has a package reference 2021-02-26 13:42:03 +11:00
Kenn Jacobsen
3769e8108c Remove static methods and events from EmailSender 2021-02-25 15:08:56 +01:00
Mole
70b04e8a8a Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/packages-with-actions 2021-02-25 13:48:16 +01:00