Bond_009
556cc8062d
Investigate some TODO comments
2 years ago
Claus Vium
719e5eae16
Merge pull request #8503 from Bond-009/ThrowIfNull
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2 years ago
Hannes Braun
4edeccc5e0
Remove redundant using directives
2 years ago
Joshua Boniface
410871e148
Backport pull request #7732 from jellyfin/release-10.8.z
...
Fix to make web sockets close gracefully on server shutdown
Authored-by: luke brown <luke92brown@gmail.com>
Merged-by: Cody Robibero <cody@robibe.ro>
Original-merge: ee22feb89a
2 years ago
Cody Robibero
0765fd568f
Use IAuthorizationContext for websocket
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
ff9d14c811
Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore
3 years ago
Rich Lander
e3df4dcaae
Fix warnings in MediaBrowser.Controller
3 years ago
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
3 years ago
Bond_009
383c2d7374
Remove useless nullable directives
3 years ago
Cody Robibero
d461e3912a
Remove warninigs from MediaBrowser.Controller (Part 3) ( #6078 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
4 years ago
Cody Robibero
e3f55a0c54
Reduce warnings in MediaBrowser.Controller ( #6006 )
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
Patrick Barron
8607b52541
Make device/session code async
4 years ago
Joshua M. Boniface
bba01bf7b9
Merge pull request #3194 from OancaAndrei/syncplay-enhanced
...
SyncPlay for TV series (and Music)
4 years ago
crobibero
cd459c51f3
Return NoResult only when request doesn't have a token.
4 years ago
cvium
ba78ad5424
Add missing inheritdoc
4 years ago
cvium
65e6211c03
Remove circular dependency between websocket listeners and manager
4 years ago
cvium
1a0d8aef80
Revert "Removed Lazy implementation."
4 years ago
Greenback
5cd5a7d4ce
Removed Lazy implementation.
4 years ago
cvium
e78c63c4dc
Remove OriginalAuthenticationInfo and add IsAuthenticated property
4 years ago
Claus Vium
c17f84ae48
Merge pull request #4330 from crobibero/api-key-auth
...
Fix ApiKey authentication
4 years ago
crobibero
981f000437
Use proper IsApiKey flag
4 years ago
cvium
38cb8fee8a
Fix IWebSocketListener service registration
4 years ago
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
4 years ago
Claus Vium
571d0570f5
Kill HttpListenerHost
4 years ago
Claus Vium
5813f8073c
Move HttpListenerHost middleware up the pipeline
4 years ago
Claus Vium
12710cdf42
More fixes
4 years ago
Claus Vium
e337756428
Remove ServiceStack and related stuff
4 years ago
Patrick Barron
9fa4fff15d
Merge branch 'master' into event-rewrite-1
...
# Conflicts:
# Emby.Dlna/Emby.Dlna.csproj
# Emby.Dlna/Eventing/DlnaEventManager.cs
# Emby.Dlna/Service/BaseService.cs
# Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
# MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
4 years ago
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
crobibero
1385064497
Merge remote-tracking branch 'upstream/master' into api-migration-merge
4 years ago
David
1c78482b48
Use authorization code from api-migration to fix startup wizard
4 years ago
telans
8de6452967
fix some documentation periods
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
crobibero
a8adbef74f
Add GetAuthorizationInfo for netcore HttpRequest
4 years ago
crobibero
4aac936721
Add more authorization handlers, actually authorize requests
4 years ago
Anthony Lavado
100e9d586d
Merge pull request #3336 from telans/specific-fixes
...
Fix trivial SA1005, SA1111, SA1508, SA1510 warnings
4 years ago
crobibero
589735f60c
Merge remote-tracking branch 'upstream/master' into HEAD
4 years ago
dkanada
6db1878011
Merge pull request #3315 from crobibero/dashboard-update
...
Add MessageId to websocket message, fix ws exception
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago