Commit Graph

38162 Commits

Author SHA1 Message Date
Mole
9bd1b06eaf Only create the dicts and hashset when a lock is requested 2021-03-17 13:09:45 +01:00
Kenn Jacobsen
7a5af55cac Reintroduce and obsolete static events for use in the distributed cache + added some accidentally removed scope completions 2021-03-17 12:47:16 +01:00
Warren Buckley
8563643e80 Imported & Importing events. Only the Importing event can be cancelled & stop execution in package service 2021-03-17 10:18:56 +00:00
Warren Buckley
657fc2d83b Cant cancel an Uninstall so make it a normal notification 2021-03-17 10:17:56 +00:00
Warren Buckley
9c42d4792e Remove old events 2021-03-17 10:17:05 +00:00
Mole
54a4a76efb Use a hashset to keep track of acquired locks
This simplifies disposing/checking for locks greatly.
2021-03-17 11:10:34 +01:00
Warren Buckley
1b12e368b2 Adds ImportPackageNotification/Event 2021-03-17 09:51:43 +00:00
Andy Butland
9465a46605 Removed unnecessary private setters. 2021-03-17 09:03:49 +01:00
Shannon Deminick
22f78ff154 Merge pull request #9968 from umbraco/netcore/feature/9623-external-login-token-store
New table and service to store auth tokens
2021-03-17 18:04:42 +11:00
Shannon Deminick
cb3ea50a37 Merge branch 'netcore/dev' into netcore/feature/in-memory-runtime-minifier 2021-03-17 18:00:26 +11:00
Shannon
a3b4bb7bd9 oops didn't mean to commit that 2021-03-17 17:56:40 +11:00
Shannon
1a2d8623e6 oops didn't mean to commit that 2021-03-17 17:55:45 +11:00
Shannon
eba659b9ee Gets in-memory runtime minifiy cache working, ensures no files can be accessed at the root, adds config to enable in-memory and configure a cache buster including a timestamp cache buster. 2021-03-17 17:44:52 +11:00
Emma Garland
fa1499333f Merge branch 'netcore/dev' into netcore/members-roles-save
# Conflicts:
#	.gitignore
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Security/MemberIdentityUserManagerTests.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Security/MemberManager.cs
2021-03-16 17:48:40 +00:00
Emma Garland
b1a955f444 Merge branch 'netcore/dev' into netcore/members-passwordchange-temp
# Conflicts:
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:46:04 +00:00
Andy Butland
b69b4ad7b8 Updated "messaging" repositories (NotificationsRepository and CacheInstructionRepository) to use scopes provided as method parameters. 2021-03-16 17:30:00 +01:00
Warren Buckley
b60c0377fb Uninstall package event/notificiation ported 2021-03-16 16:13:15 +00:00
Kenn Jacobsen
3018e1ba89 Removed events from integration test 2021-03-16 16:45:26 +01:00
Bjarke Berg
1a573fcb75 Review fixes https://github.com/umbraco/Umbraco-CMS/pull/9968 2021-03-16 10:44:55 +01:00
Kenn Jacobsen
152dc7a5b9 A little reformatting and removal of unused usings 2021-03-16 09:59:44 +01:00
Kenn Jacobsen
ef178c5606 Use explicitly typed notifications instead of generic ones 2021-03-16 09:21:27 +01:00
Shannon
2d14d0bd4a oops didn't mean to commit that 2021-03-16 19:20:29 +11:00
Shannon
ecbd6d1c81 Adds better support for app_plugins loading assets in a safer way and without having to pass refs 2021-03-16 19:19:03 +11:00
Bjarke Berg
836f4a9203 Merge branch 'netcore/dev' into netcore/feature/9623-external-login-token-store 2021-03-16 09:15:53 +01:00
Bjarke Berg
a356584eb6 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/9623-external-login-token-store
# Conflicts:
#	src/Umbraco.Infrastructure/Configuration/JsonConfigManipulator.cs
2021-03-16 09:14:05 +01:00
Bjarke Berg
55de69b647 Merge pull request #9961 from umbraco/netcore/feature/appsettings-local
Allow for having appsettings.local.json
2021-03-16 09:12:13 +01:00
Kenn Jacobsen
0db4e30fcf Merged with netcore/dev 2021-03-16 08:53:32 +01:00
Kenn Jacobsen
93b6d31d71 Include sourcemaps for minified dependencies 2021-03-16 08:22:07 +01:00
Kenn Jacobsen
84d71a1237 Add a few comments about why we're renaming JS files during un-minified build 2021-03-16 08:21:09 +01:00
Bjarke Berg
375609bc6e Update src/Umbraco.Web.UI.NetCore/appsettings.json 2021-03-16 08:05:33 +01:00
Shannon
670bea81d1 Merge branch 'netcore/dev' into netcore/feature/in-memory-runtime-minifier
# Conflicts:
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:49:05 +11:00
Bjarke Berg
c30f5084d7 Merge pull request #9937 from kjac/netcore/feature/content-and-media-services-without-static-events
Remove static events from ContentService and MediaService
2021-03-16 07:48:57 +01:00
Shannon
bd08adf2c7 Merge branch 'netcore/dev' of https://github.com/umbraco/Umbraco-CMS into netcore/dev 2021-03-16 17:23:55 +11:00
Shannon
cec1440b64 Merge branch 'kjac-netcore/bug/minify-plugins' into netcore/dev 2021-03-16 17:23:21 +11:00
Shannon
e993410d2c Merge branch 'netcore/bug/minify-plugins' of https://github.com/kjac/Umbraco-CMS into kjac-netcore/bug/minify-plugins
# Conflicts:
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:22:25 +11:00
Shannon
193bf6c51e starts getting the in-memory runtime min working 2021-03-16 17:15:40 +11:00
Kenn Jacobsen
7593ddfaa8 Explicitly typed notifications instead of generic ones 2021-03-16 06:55:55 +01:00
Bjarke Berg
604cf69275 Merge pull request #9974 from umbraco/netcore/feature/migrate-cache-refresher-events-to-event-aggregator-pattern
Netcore: Migrate cache refresher events to IEventAggregator pattern
2021-03-16 06:44:26 +01:00
Kenn Jacobsen
2e8f5fef6a Fix typo 2021-03-15 18:36:13 +01:00
Andy Butland
622127c19f Removed some commented out code. 2021-03-15 17:19:18 +01:00
Andy Butland
b52f437c4f Removed unused variable. 2021-03-15 17:16:03 +01:00
Andy Butland
b3578b0cb8 Apply suggestions from code review
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-03-15 17:13:12 +01:00
Bjarke Berg
ed5fffac0c Merge pull request #9922 from kjac/netcore/feature/remove-backofficeusermanager-static-events
Replace static backoffice user manager events with IEventAggregator notifications
2021-03-15 15:49:09 +01:00
Bjarke Berg
d8c7193eef Fixed issue with multiple threads reading the appSettings file at the same time, by locking (Found when site has to upgrade) 2021-03-15 15:00:58 +01:00
Bjarke Berg
f47298d2db Removed unused code 2021-03-15 15:00:01 +01:00
Warren Buckley
fa11a812a0 Fix karma.conf JS test for folder names to make UNIX tests pass 2021-03-15 13:41:14 +00:00
Bjarke Berg
b82ea437b7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/remove-backofficeusermanager-static-events 2021-03-15 14:35:46 +01:00
Shannon Deminick
653bf52a1c Adds additional error checking and reporting to MainDom/SqlMainDomLock (#9954)
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-15 13:49:37 +01:00
Mole
d1afb6eabc Merge remote-tracking branch 'origin/v8/dev' into v8/feature/10613-distributed-locks 2021-03-15 13:19:36 +01:00
Shannon Deminick
d0f047e729 Fixes and Updates for DB Scope and Ambient Context leaks (#9953)
* Adds some scope tests (ported back from netcore) and provides a much better error message, ensure execution context is not flowed to child tasks that shouldn't leak any current ambient context

* updates comment

* Ensure SqlMainDomLock suppresses execution context too

* Since we're awaiting a task in a library method, ConfigureAwait(false)

* missing null check

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-15 12:56:38 +01:00