Bond-009
3feb3f81bf
More efficient array creation ( #11468 )
7 months ago
Claus Vium
4201079b34
fix: use a reentrant lock when accessing active connections ( #11256 )
8 months ago
Claus Vium
eae031ae5a
refactor: use Channels as queueing mechanism for periodic websocket messages ( #11092 )
8 months ago
Stepan Goremykin
526f9a825c
Make files readonly
1 year ago
Shadowghost
368f9202ce
Apply review suggestions
1 year ago
Shadowghost
05d98fe24c
Enforce permissions on websocket connections
1 year ago
Cody Robibero
52252fcd55
Fix sending websocket messages ( #9948 )
1 year ago
Cody Robibero
b5bbb98175
Fix Websocket OpenApi ( #9935 )
...
* Further split inbound and outbound messages
* Fix datatype for inbound start messages
* fixes from review
1 year ago
Cody Robibero
9a0dfc00f1
Add all websocket messages to generated openapi spec ( #9682 )
...
* Add all websocket messages to generated openapi spec
* Use oneOf
* JsonIgnore ServerId
* Oops
* Add discriminators
* Add WebSocketMessage container for Inbound and Outbound messages
1 year ago
ipitio
c29e8ffe1d
Update MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2 years ago
ipitio
58ed50c9d0
Catch Exception when disposing connection
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
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