-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on caching and tokens (#4001)
* Working on caching an tokens * wip * wip * wip. * Some comments * Invalidates the cache at the end of the transaction, right now only done for SiteService. * DeferredSignalToken to invalidate caches e.g after the session is committed. * Minor changes * Little updates for some syncing between the caching and async branches. * Ensures that a deferred signal for a given key is sent once at the end of the scope. * Re-introduces and uses the DeferredSignalToken extension helper. * 2 places where the token was still get after consuming data. * Final version of "ContentDefinitionManager" here because we keep it non async * RoleClaims thread safety * User thread safety * Update after merging dev * Revertd changes related to Users and Roles. * Missing reverted update. * Updates after merging dev * Minor change to restart the CI * Idem. * wip * Re-introduce roles immutability * Minor changes * Get / load pattern for AdminMenu through #4612 keeping other caching rules. * Get / Load pattern for Roles. * Don't save default value and refresh the cache in an isolated scope. * Uses sesion.Detach() * Get / Load pattern for Templates. * Load / Get patter for SiteSettings. * Get / Load pattern for Queries. * Revert some previous changes no more required with the new pattern. * Get / Load pattern for BackgroundTaskSettings. * Get / Load pattern for Layers. * ISessionHelper to LOAD for update / GET for caching. * Use SessionHelper for SiteService * Use SessionHelper for AdminMenuService. * Use SessionHelper for other servies. * Wip on GET / LOAD pattern for content definitions * GET / LOAD pattern for types / parts definitions. * Revert testing code, to be continued maybe in another PR. * Prevents a deferred task lambda from holding a ref on a scoped service. * Little formatting
- Loading branch information
Showing
102 changed files
with
1,281 additions
and
1,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ public override void Configure(IApplicationBuilder builder, IEndpointRouteBuilde | |
{ | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.