Mole
f8c7b9e639
Merge pull request #9748 from umbraco/netcore/feature/healthchecks
...
NetCore: Updated healthchecks
2021-02-05 09:55:07 +01:00
Bjarke Berg
8624a246ba
Updated healthchecks to show a link to documentation instead of trying to fix something that can often not be fixed automatically.
2021-02-03 07:42:56 +01:00
Mole
708b7a5430
Handle route data
2021-02-01 13:35:19 +01:00
Mole
d52c084e3b
Minor style changes
2021-02-01 13:04:58 +01:00
Bjarke Berg
14284b64c2
Bugfixes..
...
- ModelsBuilder: Inject PublishedValueFallback into static Mixins
- ModelsBuilder: Throw exception if compiler can't compile the code
- CheckIfUserTicketDataIsStaleAttribute: Scope issue
- Ambiguous Actions: Couldn't determine the action when empty arrays was passed. Fixed by using more v8 like solution. (Still stupid the client not just have different endpoints)
- Fixed issue with reading the body from post requests. Often we where not allowed to seek in the stream.
- UmbracoHelper: Made available on UmbracoViewPage
- Client entity.resource.js: Don't ask server when getByIds has 0 ids.
- Client content.resource.js: Renamed endpoint GetEmptyBlueprint to avoid ambiguous action name
2021-02-01 13:04:45 +01:00
berg
847ddd4eec
Fix for previews
2021-01-20 11:45:03 +01:00
Shannon
0ce34bea18
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/models-builder-9789
...
# Conflicts:
# src/Umbraco.ModelsBuilder.Embedded/ModelsBuilderNotificationHandler.cs
2021-01-19 17:43:18 +11:00
Bjarke Berg
a54e10bc13
Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/merge-v8-18-01-2021
...
# Conflicts:
# .gitignore
# build/NuSpecs/UmbracoCms.Core.nuspec
# src/SolutionInfo.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/BackOfficeElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IBackOfficeSection.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
# src/Umbraco.Core/IO/SystemFiles.cs
# src/Umbraco.Core/Models/ContentBase.cs
# src/Umbraco.Core/Models/Identity/BackOfficeIdentityUser.cs
# src/Umbraco.Core/Persistence/UmbracoDatabaseExtensions.cs
# src/Umbraco.Core/Runtime/CoreRuntime.cs
# src/Umbraco.Core/RuntimeOptions.cs
# src/Umbraco.Core/RuntimeState.cs
# src/Umbraco.Core/Telemetry/TelemetryMarkerComponent.cs
# src/Umbraco.Core/Telemetry/TelemetryMarkerComposer.cs
# src/Umbraco.Examine/Umbraco.Examine.csproj
# src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
# src/Umbraco.Infrastructure/Install/InstallStepCollection.cs
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ContentTypeRepositoryTest.cs
# src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs
# src/Umbraco.Tests/Runtimes/StandaloneTests.cs
# src/Umbraco.Tests/Testing/TestDatabase.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
# src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js
# src/Umbraco.Web.UI.NetCore/Views/Partials/Grid/Editors/TextString.cshtml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
# src/Umbraco.Web.UI/config/umbracoSettings.Release.config
# src/Umbraco.Web/Composing/CompositionExtensions/Installer.cs
# src/Umbraco.Web/Editors/PreviewController.cs
# src/Umbraco.Web/Editors/UsersController.cs
# src/Umbraco.Web/JavaScript/PreviewInitialize.js
# src/Umbraco.Web/Telemetry/TelemetryComponent.cs
# src/Umbraco.Web/UmbracoApplication.cs
2021-01-18 16:06:23 +01:00
Bjarke Berg
04bb4e99b6
Fixed possible null reference exceptions
2021-01-14 19:41:32 +01:00
Elitsa Marinovska
680f8c4d96
Other special cases
2021-01-13 16:25:21 +01:00
Elitsa Marinovska
3a51965358
Placing the code for checking if a ModelState is invalid directly
2021-01-13 16:14:20 +01:00
Elitsa Marinovska
b572cf6809
Surrounding ModelState with the newly introduced SimpleValidationModel type
2021-01-13 11:39:44 +01:00
Elitsa Marinovska
2e62a6c5f2
Reverting the change of BadRequest() back to ValidationErrorResult
2021-01-13 11:29:56 +01:00
Elitsa Marinovska
d6e90c7e7e
Fixing ExamineManagementController with another way of replacing the usage of HttpResponseException
2021-01-13 10:57:49 +01:00
Elitsa Marinovska
9a9f9164e2
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
# src/Umbraco.Web.BackOffice/Controllers/SectionController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
2021-01-13 08:53:41 +01:00
Shannon
029ef31e01
Removing MB composers to ext methods
2021-01-13 12:48:41 +11:00
Elitsa Marinovska
f691dcef91
Changing return type
2021-01-12 16:32:24 +01:00
Elitsa Marinovska
0b9f02630f
Continue replacing HttpResponseException
2021-01-12 16:24:50 +01:00
Bjarke Berg
fe016dd103
Netcore: Fixes issues with user invites ( #9616 )
...
* AB9629
Fixes issues with user invites
- Issue with the generated link in the invite email
- Allow anonymous access to CurrentUserController.PostSetInvitedUserPassword, as it is used by users not logged in
- Allow anonymous access to AuthenticationController.GetPasswordConfig, as this is used to set a password for newly invited users, before they login
* Fix issues with invite flow
* Fix minor typos
* Fixed issue with validation response and remove/change avatar
* Fix issue with disable users, after all enums are handled like strings
* Fix tests
* Fix other validation issue
* Fix yet another validation issue
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2021-01-12 16:15:19 +01:00
Elitsa Marinovska
5feb273c3a
Some more refactoring
2021-01-12 16:01:09 +01:00
Elitsa Marinovska
b0f4f9f440
Refactoring the use of ValidationErrorResult with the build-in types for status response results
2021-01-12 14:00:14 +01:00
Shannon
f8548543cd
Fixes another async/sync issue
2021-01-11 14:10:55 +11:00
Shannon
bd4006c577
Fixes the custom RequestCultureProvider to dynamically add cultures to the supported cultures list, changes the request/builder to not reference a ICultureInfo and instead just a string to avoid allocations and confusion since the handlers will end up as a string anyways. Removes the unnecessary cultureinfo concurrentdictionary because CultureInfo.GetCultureInfo does the same thing.
2021-01-11 13:39:09 +11:00
Bjarke Berg
88615cfa52
Fix tests by change return type to ActionResult<T>
2021-01-06 08:49:02 +01:00
Bjarke Berg
a023d5c55f
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
# src/Umbraco.Web.Common/Install/InstallApiController.cs
2021-01-05 14:20:32 +01:00
Elitsa Marinovska
d341266cca
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
2020-12-29 14:40:03 +01:00
Elitsa Marinovska
c482b6df3d
Another step towards getting rid of HttpResponseException
2020-12-29 12:55:48 +01:00
Shannon
91486bbede
Removes IServerRegistrar, new IServerRoleAccessor, removes more composers, moves more to ext,
2020-12-24 16:35:59 +11:00
Shannon
e785ac28a3
Moves more services and registrations "up", removes AspNetCoreComposer logic and moves to AddWebComponents
2020-12-24 14:29:26 +11:00
Shannon
1f6297ad6b
Moves some services 'up' to Core, moves core DI registrations 'up' to UmbracoBuilder, moves Composing ext to DependencyInjection namespaces as UmbracoBuilder ext
2020-12-24 11:46:17 +11:00
Elitsa Marinovska
358a8ec2af
Initial stage of getting rid of HttpResponseException and replacing it with the usage of ValidationErrorResult
2020-12-22 16:36:07 +01:00
Shannon
57020b4778
adds notes, removes IPublishedCacheComposer
2020-12-22 12:33:00 +11:00
Shannon
c761fa0506
New IPublishedSnapshotStatus, reduces IPublishedSnapshotService
2020-12-21 17:41:12 +11:00
Shannon
86adf01f88
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
...
# Conflicts:
# src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
# src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
# src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2020-12-21 16:04:42 +11:00
Shannon
75796e3eae
Fixing tests, removing old files, adds notes
2020-12-21 15:58:47 +11:00
Bjarke Berg
0151c435f1
Netcore: Package support for media + media types ( #9547 )
...
* Add support for media when installing a package
* clean up
* Fix tests
* Add support for media when installing a package
* clean up
* Fix tests
* moved tests + test data
* Migrated package tests + resources
* Fix issue with media picker on package page, was empty after save.
* Added missing files
* Fix casing issue of resources
* Added test for media
* Fix tests for linux
* Fix test
* Fix issue with move media..
* Fix issue with adding files to packages
* Add MediaType permissions.
* Fix test
* Fix test
* Retry flaky tests, and added TODOs to fix those
* new attempt to fix test
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2020-12-16 22:26:47 +01:00
Bjarke Berg
5119e8da9c
Merge pull request #9515 from umbraco/netcore/feature/remove-overrideauthorization-attribute
...
NetCore: Get rid of OverrideAuthorizationAttribute
2020-12-16 14:49:13 +01:00
Shannon
ce508d08ec
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
...
# Conflicts:
# src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
# src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
2020-12-16 16:18:10 +11:00
Shannon
827bf80d1d
Removes EnterPreview, RefreshPreview, ExitPreview
2020-12-14 17:04:02 +11:00
Bjarke Berg
7776e203a6
Fix issue with auth on media upload
2020-12-10 08:55:47 +01:00
Nikolaj
7ef6501bb1
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
...
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ConvertersTests.cs
2020-12-09 08:45:28 +01:00
Elitsa Marinovska
54d1e9d5e0
Removing AllowsCultureVariation from ContentController, so we can get rid of OverrideAuthorization attribute
2020-12-08 15:36:37 +01:00
Shannon
e3be4009c0
Getting front end routing poc going
2020-12-08 16:33:50 +11:00
Shannon
ea55d2662e
no app_data paths, changing to constants, some linting updates
2020-12-08 10:42:26 +11:00
Bjarke Berg
e7d9d38c52
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
...
# Conflicts:
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
# src/Umbraco.Tests.Common/Builders/DataEditorBuilder.cs
# src/Umbraco.Tests.Common/Builders/DataValueEditorBuilder.cs
2020-12-07 12:55:47 +01:00
Shannon
36342438da
Deleting old code
2020-12-07 18:47:25 +11:00
Bjarke Berg
fb18317c0f
Moved lots of property editors into core
2020-12-04 19:01:52 +01:00
Shannon
d206273753
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/usermanager-object-cleanup
...
# Conflicts:
# src/Umbraco.Infrastructure/Composing/CompositionExtensions/CoreMappingProfiles.cs
# src/Umbraco.Web.BackOffice/Extensions/WebMappingProfiles.cs
2020-12-04 12:59:19 +11:00
Shannon
5172b0e58a
Updates user manager, user store and identity user to use the aspnetcore base classes instead of copies of our own, uses string ids for user and roles to simplify everything and to allow for sharing between members
2020-12-04 12:44:27 +11:00
Bjarke Berg
53d424244e
Merge pull request #9486 from Matthew-Wise/feature/8264-typefilters-OutgoingEditorModelEventAttribute
...
Converted OutgoingEditorModelEventAttribute to a type filter
2020-12-03 19:08:46 +01:00