Commit Graph

970 Commits

Author SHA1 Message Date
Mole
c8471b096c Switch to INotificationHandler 2021-03-25 14:51:00 +01:00
Mole
18083b7155 Switch LocalizationService over to event aggregator 2021-03-25 09:00:38 +01:00
Mole
7a699c3fa9 Add notification classes 2021-03-24 14:29:15 +01:00
Kenn Jacobsen
a55a0c9e2d Do not minify bundled CSS at runtime 2021-03-22 08:29:31 +01:00
Bjarke Berg
d55a484c56 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Core/IO/SystemDirectories.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/Scoping/ScopeProvider.cs
#	src/Umbraco.Core/Services/IIconService.cs
#	src/Umbraco.Examine.Lucene/UmbracoExamineIndex.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/LegacyBackgroundTask/BackgroundTaskRunner.cs
#	src/Umbraco.Tests/Scoping/ScopeTests.cs
#	src/Umbraco.Tests/Services/ThreadSafetyServiceTest.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/IconController.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeModel.cs
#	src/Umbraco.Web/Editors/BackOfficePreviewModel.cs
#	src/Umbraco.Web/Editors/PreviewController.cs
2021-03-19 16:18:32 +01:00
Mole
f5fe3086a3 Merge pull request #10012 from umbraco/netcore/feature/seperate-nuget-for-static-assets
Netcore: Separate NuGet package for the static assets
2021-03-19 10:23:51 +01:00
Bjarke Berg
0e654338a1 Merge pull request #10001 from benjaminc/netcore/bugfix/startup-emptydb
#9843 - Allow install with DB string pre-configured
2021-03-19 09:38:25 +01:00
Bjarke Berg
e0878e0511 Merge pull request #9977 from umbraco/netcore/support-third-party-recurring-hosted-services
Made recurring hosted service base class PerformExecuteAsync method public.
2021-03-19 08:59:17 +01:00
Bjarke Berg
baacedd57d Fixed bug where indexes was build before application was in run state + Moved the logic to the application started event 2021-03-19 08:09:00 +01:00
Benjamin Carleski
fe803697be Re-add runtime level check, only make calls in Run mode 2021-03-18 08:34:24 -07:00
Bjarke Berg
bfb78e937f Netcore: Update code docs generation (#9885)
* Updated the code docs to work with new assemblies and namespaces+added conditional build to default pipeline

* updated script that generate docs to use .NET 5

* Increased timeout of docs generation + changed to 5.x instead of 5.0.x

Fixed wrong namespace, that would be we not have docs for it.

* Fixed names in toc, so they are not that long and changed ordering

* try custom hack https://github.com/dotnet/docfx/issues/1254#issuecomment-294080535

* revert nonworking hack - Divide prep steps into two.

* Changed ordering

* Try to generate docs without the build.ps1 script

* Try to generate docs without the build.ps1 script

* Try to generate docs without the build.ps1 script

* Try to remove the examine one, to test if that is the reason it fails on azure pipeline

* Try to remove the sqlce one, to test if that is the reason it fails on azure pipeline

* Reintroduce Examine and SqlCE docs, as these was not the reason it will not work on azure pipeline.

* Test if azure wanna build the docs without explicit version

* Fixed two malformed xml docs

* hardcode version of docfx, to hopefully let it pass on azure pipeline

* hardcode version of docfx, to hopefully let it pass on azure pipeline

* Restructure azure pipeline yaml to have stages as areas instead of OS

* Restructure azure pipeline yaml to have stages as areas instead of OS

* yml restructure

* yml restructure

* yml restructure

* Not hardcoding docfx as the old versions also fail on azure

* Fixed Badly formed XML comments

* moved condition from job to stage

* split build and metadata

* indentation

* removed wrong char

* Try to add more loging on azure pipeline

* include less

* include less projects

* add one more project

* More azure pipeline test

* indentation

* All except infrastructure

* publish tasks

* Fix link on logo

* Extensions also included

* Less links

* re-introduced infrastructure to the list of projects for generate docfx for.

* Add filter

* Remove single warning for xmldocs

* more logging?

* skip some things from the metadata

* test using other image

* Test if exclude filter works

* Test with more explict filters, allowing some docs from Infrastructure

* binary search for the file that is the issue

* binary search for the file that is the issue

* binary search for the file that is the issue

* Exclude more folders

* Exclude more folders and files

* Only exclude files in root of namespace?

* more filter trials

* more filter trials

* add 2 nested folders

* all cs files?

* Remove test projects

* Toc

* Update build/azure-pipelines.yml

* move display name element

* Update build/azure-pipelines.yml

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-03-18 14:48:22 +01:00
Bjarke Berg
48eff10696 Merge pull request #9990 from umbraco/netcore/feature/in-memory-runtime-minifier
Ability to have an in-memory runtime minifier cache and configurable cache busters
2021-03-18 11:36:28 +01:00
Bjarke Berg
6b7cc065e9 Merge pull request #9996 from umbraco/netcore/notifications/packaging-service
Events to Notifications Migration: Packaging Service
2021-03-18 10:32:40 +01:00
Bjarke Berg
c6d647149c Moved files to core to enable reuse + use them 2021-03-18 09:43:00 +01:00
Mole
4b244686b0 Merge pull request #9951 from umbraco/netcore/feature/database-server-messenger-service-repo
Netcore: create service/repo and remove SQL calls from DatabaseServerMessenger
2021-03-18 08:41:06 +01:00
Shannon Deminick
8c66470d65 Merge pull request #9902 from emmagarland/netcore/members-passwordchange-temp
Update to enable members to use the same password change as users
2021-03-18 17:40:19 +11:00
Shannon
36f911b66f Ensure IsApproved is persisted with MembersUserStore, Update member done in a trans and in specific steps, calls to SetLockoutEndDateAsync more safely with time before now. 2021-03-18 15:57:53 +11:00
Benjamin Carleski
3be00ceb4f #9843 - Allow install with DB string pre-configured 2021-03-17 11:50:23 -07:00
Andy Butland
0c4b2604ff Revert "Updated "messaging" repositories (NotificationsRepository and CacheInstructionRepository) to use scopes provided as method parameters."
This reverts commit b69b4ad7b8.
2021-03-17 15:56:22 +01:00
Warren Buckley
2901cb10f8 Remove last static event and implement canceable notification where users are able to cancel the import process 2021-03-17 12:57:24 +00:00
Warren Buckley
1b12e368b2 Adds ImportPackageNotification/Event 2021-03-17 09:51:43 +00:00
Shannon Deminick
cb3ea50a37 Merge branch 'netcore/dev' into netcore/feature/in-memory-runtime-minifier 2021-03-17 18:00:26 +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
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
Bjarke Berg
1a573fcb75 Review fixes https://github.com/umbraco/Umbraco-CMS/pull/9968 2021-03-16 10:44:55 +01: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
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
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
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
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
b82ea437b7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/remove-backofficeusermanager-static-events 2021-03-15 14:35:46 +01:00
Bjarke Berg
64131f3de4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2021-03-15 11:17:46 +01:00
Bjarke Berg
4ad48321b9 Remove debugger break/launch 2021-03-15 11:17:23 +01:00
Emma Garland
4ae086bf20 Merge branch 'netcore/dev' into netcore/members-passwordchange-temp 2021-03-15 10:12:08 +00:00
Andy Butland
5fc9b2e259 Made recurring hosted service base class PerformExecuteAsync method public to support use of this class by packages nad custom solutions. 2021-03-15 07:49:33 +01:00
Shannon Deminick
ada5599a83 Merge pull request #9839 from kjac/netcore/feature/minify-js-resources
Do not apply runtime optimization to core scripts and script libraries
2021-03-15 15:08:35 +11:00
Bjarke Berg
86eb87a885 Clean up 2021-03-12 22:09:51 +01:00
Bjarke Berg
06a202e30e Migrated CacheRefresher events to IEventAggregator pattern. 2021-03-12 21:49:42 +01:00
Emma Garland
aa4947913e Merge branch 'netcore/dev' into netcore/members-passwordchange-temp
# Conflicts:
#	src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
2021-03-12 14:29:35 +00:00
Bjarke Berg
e20f73ba71 post merge fix 2021-03-12 13:10:55 +01:00
Bjarke Berg
b94cc517fc Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/9623-external-login-token-store
# Conflicts:
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
2021-03-12 13:04:46 +01:00
Shannon
141af1fd4f Adds logic to remove duplicates before adding the unique indexes. 2021-03-12 13:24:35 +11:00
Bjarke Berg
d777d7dded Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/individual-nuget-pr-assembly 2021-03-11 13:48:14 +01:00
Bjarke Berg
2b89839724 Netcore: Get rid of default files in config folder (#9966)
* TourController now uses the core tours from embedded resources

* Moved tinyMceConfig.*.config to IOptions

* Embedded the default grid.editors.config.js

* Fixed issue when saving grid with an empty media cell

* Logviewer now uses sql as database instead of file.

* Remove config folder from build script and nuget pacakges.

* Removing auto-generated Id added to appsettings.json

* Update src/Umbraco.Web.BackOffice/Controllers/TourController.cs

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2021-03-11 13:20:46 +01:00