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
Shannon
7d0572f2d1
streamline runtime level checks
2021-06-08 16:32:26 -06:00
Bjarke Berg
9b2cf8422d
Removed unused ctor (just for tests) + Fixed a couple of handlers that is not intended to execute before runtime level = run.
2021-05-20 13:16:50 +02:00
Mole
2bf86acf38
V9: Place notifications in the same namespace ( #10231 )
...
* Gather all notifications in Umbraco.Cms.Core.Notifications
* Rename notifications to match convention
* Move and rename missed notifications
* Move the three remaining public notification into Umbraco.Cms.Core.Notifications
2021-05-11 14:33:49 +02:00
Mole
8123fee867
Netcore: Migrate RepositoryBase and ContentTypeServiceBase events ( #10141 )
...
* Remove ScopeEntityRemove from ContentRepositoryBase and rely on "ing" notifications
* Remove old event handler from ContentEventsTests
* Remove ScopedVersionRemove from ContentRepositoryBase and rely on service notifications instead
* Remove unused ScopedVersionEventArgs from ContentRepositoryBase
* Migrate ScopeEntityRefresh to notification pattern
Unfortunately it's still published from the repository base
* Add simple content type notifications
* Publish Notifications instead of events in ContentTypeServiceBase for simple events
* Switch OnChanged to use Notifications for ContentTypeServices
* Publish notifications instead of raising ScopedRefreshedEntity on ContentTypeServiceBase
* Hook up to the new ContentType notifications
* Remove DistributedCacheBinderTests
There are no longer any events to really test on.
* Remove ContentTypeChange EventArgs
* Remove ContentService_Copied from DistributedCacheBinder
It's no longer used
* Cleanup
* Cleanup
* Removed uncommented code
* Fixed issue with unattented installs
* Re-add ContentTreeChangeNotification to DistributedCache
* Add new notification for ScopedEntityRemove
Marked as obsolete/hidden in editor, since this should only be used for nucache for now, and should really be changed in the future
* Mark Refresh notifications as obsolete/hidden
These should not be used anywhere outside Nucache, and should be changed to tree change at some point.
* Raise ScopedEntityRemoveNotification on repos and use in nucache
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2021-04-20 12:17:11 +02:00
Benjamin Carleski
fe803697be
Re-add runtime level check, only make calls in Run mode
2021-03-18 08:34:24 -07:00
Benjamin Carleski
3be00ceb4f
#9843 - Allow install with DB string pre-configured
2021-03-17 11:50:23 -07: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
9e4f05c0e9
Adjust namespaces in the Cache folder
...
I made these Umbraco.Cms.Core even though they have to reside in infrastructure.
2021-02-12 10:13:56 +01:00
Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +01:00
Shannon
86fd473018
UmbracoRequestBegin and UmbracoRequestEnd part of the core proj and changed to just have a IUmbracoContext reference. Removes IRequestAccessor events, Fixes the DatabaseServerMessengerNotificationHandler weirdness, Removes UmbracoModule and friends and old routing events and statuses
2021-02-02 18:42:39 +11:00
Bjarke Berg
69724d8d2b
Added support for sync notification handlers in the event aggregator
2021-01-19 09:57:55 +01:00
Shannon
cf9dd9bfec
Adds notes, another hacky fix for hacky test/code
2021-01-04 12:48:59 +11:00
Shannon
307ef4c1e0
Removes IBatchedDatabaseServerMessenger, renames methods of IServerMessenger
2020-12-24 14:44:42 +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
b20ce5a92e
A bunch of cleanup for DI namespaces, ext methods and dist cache classes
2020-12-24 09:50:05 +11:00