Commit Graph

37902 Commits

Author SHA1 Message Date
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
1bac97e0b0 Bugfix: Members not locked out after failed login attempts (#9921)
* https://github.com/umbraco/Umbraco-CMS/issues/9861
Added test that shows the error

* https://github.com/umbraco/Umbraco-CMS/issues/9861
Fixed test that shows the error. Caches needs to be active, otherwise it do not show the error

* https://github.com/umbraco/Umbraco-CMS/issues/9861
More fix of test that shows the error. Caches needs to be active, otherwise it do not show the error

* https://github.com/umbraco/Umbraco-CMS/issues/9861
Fix issue by raise event and thereby update caches.

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-03 15:00:45 +01:00
Kenn Jacobsen
134a92e4d9 Use request cache to preserve state between events for redirect tracking 2021-03-03 12:02:29 +01:00
Kenn Jacobsen
6c942f26c8 Let the file upload and image cropper editors clean up files themselves 2021-03-03 10:11:00 +01:00
Kenn Jacobsen
60241f5f51 A little renaming for consistency 2021-03-03 09:16:48 +01:00
Kenn Jacobsen
a6b4115675 Moved notification handlers out of the Compose namespace 2021-03-03 09:15:52 +01:00
Kenn Jacobsen
f8db15dcc7 Wire up notification handlers in a composer 2021-03-03 09:02:29 +01: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
Kenn Jacobsen
b3ab0c15e3 Don't look for removed events in distributed cache event test 2021-03-02 19:50:40 +01:00
Kenn Jacobsen
22680a741c Make integration tests run again + revert to weird logic in test 2021-03-02 19:11:39 +01:00
Bjarke Berg
1c50ece986 Use c#9 + namespace fix 2021-03-02 16:20:44 +01:00
Kenn Jacobsen
1462e6c3af Split notifications into separate classes + move namespace 2021-03-02 14:30:57 +01:00
Kenn Jacobsen
6ae822588c Fix tests and clean up some 2021-03-02 14:15:26 +01:00
Kenn Jacobsen
1fd909e435 Simplify auditer (make sure it can survive boot with no DB) 2021-03-02 08:14:37 +01:00
Kenn Jacobsen
335a62164c Audit the last few backoffice user events 2021-03-02 08:13:59 +01:00
Kenn Jacobsen
67bd36e950 Merge branch 'netcore/dev' into netcore/temp/remove-backofficeusermanager-static-events 2021-03-01 20:15:54 +01:00
Kenn Jacobsen
c3048193c1 Removed most of the static events in MediaService 2021-03-01 20:12:36 +01:00
Kenn Jacobsen
ab2b35904f Remove a bunch more events from ContentService 2021-03-01 17:05:59 +01:00
Sebastiaan Janssen
dafca1486a Merge branch 'v8/8.12' into v8/dev 2021-03-01 16:05:25 +01:00
Sebastiaan Janssen
03b6f1ba7f Merge branch 'v8/8.11' into v8/8.12 2021-03-01 16:04:49 +01:00
Sebastiaan Janssen
22dee4e8d7 Merge branch 'v8/8.10' into v8/8.11 2021-03-01 16:04:13 +01:00
Sebastiaan Janssen
aaa8b0b4b2 Merge branch 'v8/8.9' into v8/8.10 2021-03-01 16:03:42 +01:00
Sebastiaan Janssen
7bc220b4b5 Merge branch 'v8/8.8' into v8/8.9 2021-03-01 16:03:18 +01:00
Sebastiaan Janssen
d5ee6c828d Merge branch 'v8/8.7' into v8/8.8 2021-03-01 16:02:37 +01:00
Sebastiaan Janssen
d4da9bdcb5 Merge branch 'v8/8.6' into v8/8.7 2021-03-01 16:02:11 +01:00
Bjarke Berg
8004c8dfd3 Merge pull request #9441 from umbraco/v8/bugfix/explicit-scope-examine
Ensure there's explicit scopes used for all service access in the Examine indexing logic

(cherry picked from commit 3e7f912fcd)
2021-03-01 15:55:36 +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
87f8039497 Merge branch 'netcore/dev' into netcore/temp/content-service-without-static-events 2021-03-01 13:42:49 +01:00
Kenn Jacobsen
e407d083c2 Resolved merge conflicts with netcore/dev 2021-03-01 13:26:34 +01:00
Sebastiaan Janssen
e848e396af Don't auto focus on the third menu item 2021-03-01 13:20:58 +01:00
Kenn Jacobsen
0bdd1cc874 Replaced if/else with switch 2021-03-01 13:17:24 +01:00
Shannon
7bb18f1cc3 Fixes the Sql server SET LOCK_TIMEOUT call which was missing a space. 2021-03-01 13:16:32 +01:00
Kenn Jacobsen
22ec42a5ab Play it safe - revert to sending emails synchronous 2021-03-01 13:13:37 +01:00
Kenn Jacobsen
03cc342c10 WIP on content service events 2021-03-01 13:10:37 +01:00
Bjarke Berg
7625857a14 Merge pull request #9870 from umbraco/v8/bugfix/ensure-custom-claims
Keep custom claims that are flowed during security stamp validation
2021-03-01 11:57:53 +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
Bjarke Berg
2e4b31d8f6 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/10710
No not use IBackOfficeSecurity in UmbracoContext. Not we use IHttpContextAccessor to get the info about whether the current user is null or not. It is expected to be null in background jobs.
2021-03-01 10:07: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