1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00
bitwarden-server/util
Kyle Spearrin 0d3a7b3dd5
[PM-5518] Sql-backed IDistributedCache (#3791)
* Sql-backed IDistributedCache

* sqlserver cache table

* remove unused using

* setup EF entity

* cache indexes

* add back cipher

* revert SetupEntityFramework change

* ef cache

* EntityFrameworkCache

* IServiceScopeFactory for db context

* implement EntityFrameworkCache

* move to _serviceScopeFactory

* move to config file

* ef migrations

* fixes

* datetime and error codes

* revert migrations

* migrations

* format

* static and namespace fix

* use time provider

* Move SQL migration and remove EF one for the moment

* Add clean migration of just the new table

* Formatting

* Test Custom `IDistributedCache` Implementation

* Add Back Logging

* Remove Double Logging

* Skip Test When Not EntityFrameworkCache

* Format

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-07-03 12:48:23 -04:00
..
Attachments Fix Attachments base image (#3190) 2023-08-15 19:48:25 -04:00
EfShared [PM-2633] Warnings cleanup (#3010) 2023-06-16 10:02:05 -04:00
Migrator [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
MsSql Update mssql to CU12 to support linux kernel 6.7.x (#3904) 2024-03-15 13:02:31 -06:00
MsSqlMigratorUtility [deps] DevOps: Update CommandDotNet to v7.0.4 (#4081) 2024-05-24 06:37:03 -06:00
MySqlMigrations [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
Nginx nginx preserve upstream header values, fix ip (#2847) 2023-04-13 10:58:03 -04:00
PostgresMigrations [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
Server [PM-5052] Upgrade to .NET 8 (#3461) 2024-02-05 13:03:42 -05:00
Setup Add IgnoreUnmatchedProperties when deserializing YAML (#4061) 2024-05-07 13:50:04 +00:00
SqliteMigrations [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
SqlServerEFScaffold [deps] DbOps: Update EntityFrameworkCore to v8 (major) (#3744) 2024-06-27 08:45:34 -04:00