* Removes lots of files used by the old backoffice and that is not needed for the management api
* A little clean-up
---------
Co-authored-by: kjac <kja@umbraco.dk>
* Force system text json for IJSonSerializer
* Migrate ColorPickerValueConverter
* Move ColorPickerValueConverter
* Clean up ColorPickerValueConverter
* Remove obsoleted property editors
* Migrate FlexibleDropdownPropertyValueConverter to System.Text.Json
* Use IJsonSerializer instead and move the value converter to Core
* Migrate ImageCropperValueConverter to System.Text.Json
* Inject jsonserializer in test and obsolete old constructor
* Migrate JsonValueConverter to System.Text.Json
* Remove ContextualConfigurationEditorJsonSerializer
* Remove JsonNetSerializer
* Remove obsolete DeserializeSubset from JsonSerializer interface
* Fix FlexibleDropdownPropertyValueConverter
* Update test JSON to be actual valid json
* Update more test json
* Update time format to be valid
* Add JsonPropertyName to models
* chore: Fix XML warnings
* docs: Fix XML warnings
* docs: Fix XML in resource designer
* docs: Fix XML warnings
* Revert "docs: Fix XML in resource designer"
This reverts commit 8ea61c51ac161e1853ae080db7fe1b4d4cb4d2be.
* Fix broken CookieAuthenticationRedirect caused by PR #14036 when not in an API controller
* Added Integration Tests for the MemberAuthorizationFilter
* Fix merge conflict
---------
Co-authored-by: Elitsa <elm@umbraco.dk>
* Fix issue with custom Umbraco routes not working after submitting to a Surface controller
* Added comments
* Fixed breaking changes
* Fixed test by using correct new ctor
* Fixed initializtion of UmbracoRouteValueTransformer due to ambiguous ctor
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
* Check form and querystring when validating ufprt
Checks to see if the request has form data before validating the `ufprt` parameter, and if it doesn't assumes it must be on the querystring
* Create GetUfprt extension method
* Use GetUfprt extension
* Update UmbracoRouteValueTransformer to use GetUfrpt()
* Added missing using statement
* Check for StringValues.Empty
* Renaming AppData Models Builder mode
* Renaming PureLive Models Builder mode to Runtime
* ModelsBuilderAssembly attribute flags if models are "Live" or not
* Updated ModelsMode names
* Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork.
* Revert "Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork."
This reverts commit 92b33f3c
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
* Getting new netcore PublicAccessChecker in place
* Adds full test coverage for PublicAccessChecker
* remove PublicAccessComposer
* adjust namespaces, ensure RoleManager works, separate public access controller, reduce content controller
* Implements the required methods on IMemberManager, removes old migrated code
* Updates routing to be able to re-route, Fixes middleware ordering ensuring endpoints are last, refactors pipeline options, adds public access middleware, ensures public access follows all hops
* adds note
* adds note
* Cleans up ext methods, ensures that members identity is added on both front-end and back ends. updates how UmbracoApplicationBuilder works in that it explicitly starts endpoints at the time of calling.
* Changes name to IUmbracoEndpointBuilder
* adds note
* Fixing tests, fixing error describers so there's 2x one for back office, one for members, fixes TryConvertTo, fixes login redirect
* fixing build
* Fixes keepalive, fixes PublicAccessMiddleware to not throw, updates startup code to be more clear and removes magic that registers middleware.
* adds note
* removes unused filter, fixes build
* fixes WebPath and tests
* Looks up entities in one query
* remove usings
* Fix test, remove stylesheet
* Set status code before we write to response to avoid error
* Ensures that users and members are validated when logging in. Shares more code between users and members.
* Fixes RepositoryCacheKeys to ensure the keys are normalized
* oops didn't mean to commit this
* Fix casing issues with caching, stop boxing value types for all cache operations, stop re-creating string keys in DefaultRepositoryCachePolicy
* bah, far out this keeps getting recommitted. sorry
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
* 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>
* Rename Umbraco.Core namespace to Umbraco.Cms.Core
* Move extension methods in core project to Umbraco.Extensions
* Move extension methods in core project to Umbraco.Extensions
* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine
* Move examine extensions to Umbraco.Extensions namespace
* Reflect changed namespaces in Builder and fix unit tests
* Adjust namespace in Umbraco.ModelsBuilder.Embedded
* Adjust namespace in Umbraco.Persistence.SqlCe
* Adjust namespace in Umbraco.PublishedCache.NuCache
* Align namespaces in Umbraco.Web.BackOffice
* Align namespaces in Umbraco.Web.Common
* Ensure that SqlCeSupport is still enabled after changing the namespace
* Align namespaces in Umbraco.Web.Website
* Align namespaces in Umbraco.Web.UI.NetCore
* Align namespaces in Umbraco.Tests.Common
* Align namespaces in Umbraco.Tests.UnitTests
* Align namespaces in Umbraco.Tests.Integration
* Fix errors caused by changed namespaces
* Fix integration tests
* Undo the Umbraco.Examine.Lucene namespace change
This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.
* Fix merge
* Fix Merge