Nikolaj Geisle
f4e333c178
V10: fix build warnings infrastructure ( #12369 )
...
* Run code cleanup
* Run dotnet format
* Start manual fixes
* Manual fixing of warnings
* Fix nullability in columnalias
* Fix tests
* Fix up after merge
* Start updating after review
* Update editorconfig to contain new static & const rules
* Fix up editorconfig to not contain duplicate rules
* Fix up static member names
* Fix up according to review
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.DistributedCache.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ExamineUmbracoIndexingHandler.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/PublishedContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Extensions/InstanceIdentifiableExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/HostedServices/RecurringHostedServiceBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Migrations/Expressions/Alter/Table/IAlterTableColumnOptionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Migrations/Upgrade/V_10_0_0/AddMemberPropertiesAsColumns.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Dtos/ExternalLoginDto.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/AccessMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/AuditEntryMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/MediaMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/MemberMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/NPocoMapperCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Querying/ExpressionVisitorBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix [..] to substring
* Fix after merge with 10/dev
* Fox ContentValueSetValidator.cs
* Update LoggerConfigExtensions
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2022-06-02 08:18:31 +02:00
Kenn Jacobsen
8674244e61
Remove a bunch of partial views related, unreferenced methods from file service and partial view repositories ( #9879 )
...
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2021-04-27 11:42:06 +02:00
Mole
c9ebaadf23
Netcore: File systems rework ( #10181 )
...
* Allow IMediaFileSystem to be replace in the DI, or registered with inner filesystem
* Remove GetFileSystem from Filesystems
It was only used by tests.
* Make MediaFileSystem inherit from PhysicalFileSystem directly
* Remove FileSystemWrapper
* Remove inner filesystem from MediaFileSystem
* Add MediaFileManager and bare minimum to make it testable
* Remove MediaFileSystem
* Fix unit tests using MediaFileManager
* Remove IFileSystem and rely only on FileSystem
* Hide dangerous methods in FileSystems and do some cleaning
* Apply stylecop warnings to MediaFileManager
* Add FilesystemsCreator to Tests.Common
This allows you to create an instance if FileSystems with your own specified IFileSystem for testing purposes outside our own test suite.
* Allow the stylesheet filesystem to be replaced.
* Fix tests
* Don't save stylesheetWrapper in a temporary var
* refactor(FileSystems): change how stylesheet filesystem is registered
* fix(FileSystems): unable to overwrite media filesystem
SetMediaFileSystem added the MediaManager as a Singleton instead of
replacing the existing instance.
* fix(FileSystems): calling AddFileSystems replaces MediaManager
When calling AddFileSystems after SetMediaFileSystem the MediaManager
gets replaced by the default PhysicalFileSystem, so instead of calling
SetMediaFileSystem in AddFileSystems we now call TrySetMediaFileSystem
instead. This method will not replace any existing instance of the
MediaManager if there's already a MediaManager registered.
* Use SetMediaFileSystem instead of TrySet, and rename AddFilesystems to ConfigureFileSystems
Also don't call AddFileSystems again in ConfigureFilesystems
* Don't wrap CSS filesystem twice
* Add CreateShadowWrapperInternal to avoid casting
* Throw UnauthorizedAccessException isntead of InvalidOperationException
* Remove ResetShadowId
Co-authored-by: Rasmus John Pedersen <mail@rjp.dk >
2021-04-27 09:52:17 +02:00
Mole
5bd8e32279
Align namespaces in Persistence
...
Made everything except for repository interface be in the Umbraco.Cms.Infrastructure.Persistence namespace
2021-02-12 13:36:50 +01:00
Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +01:00
Bjarke Berg
a22824e33a
AB4227 - Moved Persistence Repository implementations
2019-12-18 13:42:27 +01:00