gnattu
5a62c7a146
Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor
...
The EFCoreSecondLevelCacheInterceptor will place a huge lock even for reading. Implement a ConcurrentDictionary cache to replace it.
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-20 20:19:31 +08:00
Patrick Barron
ad58d1f77c
Use ExecuteDelete for removing API keys
2023-11-22 09:40:49 -05:00
Bond_009
b62b0ec2b5
Fix warnings
2023-11-14 21:14:21 +01:00
Bond-009
b87765bace
Update Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
...
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-10-05 18:21:43 +02:00
Bond_009
76c64516a7
Simplify some stuff in AuthorizationContext
2023-10-04 16:18:14 +02:00
Stepan Goremykin
26958162d0
Remove unused using directives
2023-04-06 19:17:28 +02:00
Patrick Barron
8479f0f90c
Rename JellyfinDb to JellyfinDbContext
2023-01-16 12:14:44 -05:00
Patrick Barron
f07553abdf
Optimize EF Core queries and remove unnecessary AsQueryable calls
2023-01-16 11:49:59 -05:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
cvium
b836fe9685
remove JellyfinDbProvider and add second level caching
2022-10-21 11:55:32 +02:00
Cody Robibero
b611afe34c
Merge pull request #7774 from crobibero/api-authinfo
...
(cherry picked from commit 825e6460c9
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:00:22 -04:00
Nicholas Sica
8ae5316198
Fix Ombi auth through Jellyfin
2021-11-12 16:23:58 -05:00
Nicholas Sica
c5e42ddcc6
Fix Ombi auth through Jellyfin
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-11-11 11:03:27 -05:00
NickSica
4b2c40f717
Fixes Ombi auth through Jellyfin
2021-11-11 00:43:43 -05:00
Cody Robibero
017380f1dd
Reference dotnet6-rc1 packages
2021-10-04 07:43:40 -06:00
KonH
7c282ec369
Fix warning: The nullable warning suppression expression is redundant ( #2149 )
2021-10-03 10:43:41 +07:00
cvium
1172ece856
remove leading and trailing whitespace from the key
2021-09-03 23:56:19 +02:00
cvium
60185f99c4
fix the build
2021-09-03 21:43:06 +02:00
cvium
6b3ecf2533
Merge branch 'master' into bug/authorization-header-issue
2021-09-03 21:33:41 +02:00
Cody Robibero
ff9d14c811
Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore
2021-09-03 11:01:55 -06:00
Patrick Barron
fdba71e133
Fix Api Key authentication
2021-06-27 16:44:34 -04:00
Patrick Barron
ae878fa051
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
2021-06-23 20:22:12 -04:00
Patrick Barron
be88efce3c
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Emby.Server.Implementations/HttpServer/Security/SessionContext.cs
# Emby.Server.Implementations/Security/AuthenticationRepository.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Library/IUserManager.cs
# MediaBrowser.Controller/Net/ISessionContext.cs
2021-06-18 18:56:10 -04:00
Patrick Barron
336ba2879f
Re-add support for API keys
2021-06-18 18:26:58 -04:00
Patrick Barron
0292936c65
Use consistent name for db context
2021-06-18 17:09:59 -04:00
Patrick Barron
4206c0e091
Combine if statements
2021-06-18 17:09:39 -04:00
Patrick Barron
3d9c16ba6b
Fix concurrency issues
2021-06-18 17:06:38 -04:00
Patrick Barron
37a8a82ac5
Make methods static in AuthenticationContext
2021-05-21 00:19:54 -04:00
Patrick Barron
b6446c06ee
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Security/AuthenticationRepository.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
2021-05-21 00:19:07 -04:00
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
2021-05-20 23:56:59 -04:00
Patrick Barron
ed0b5ff017
Fix builds
2021-04-10 17:11:59 -04:00
Patrick Barron
499785bebb
Use new entities for API key endpoints
2021-04-01 17:08:22 -04:00