Cody Robibero
8c5fc80282
Don't remove all tokens if invalid header ( #10490 )
11 months ago
herby2212
e8a05ad996
optimize checkForInactiveStreams logic
12 months ago
herby2212
994619afb2
fix formatting for build process
12 months ago
herby2212
db5c2f738e
integrate development from v1
12 months ago
herby2212
56aa37a314
Switch to named placeholders
12 months ago
Patrick Barron
12b51cf2ba
Reduce nesting in SessionManager.OnPlaybackStopped
1 year ago
Patrick Barron
59ec06c35c
Clear active sessions on application stopping
1 year ago
Patrick Barron
493de3297a
Use IHostLifetime to handle restarting and shutting down
1 year ago
Bill Thornton
9ea46b9e17
Remove existing sessions for a user on the same device on login
1 year ago
Bill Thornton
aea57c1a4a
Remove unused variable
1 year ago
Bill Thornton
8d6e7d893b
Remove one session per device id limitation
1 year ago
Shadowghost
4bb17039d7
Apply review suggestions
1 year ago
Shadowghost
958f8f71e8
Add wrapper object for authentication event information
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
herby2212
ace89e4597
fix formatting and update summary
1 year ago
herby2212
e1190d15d6
option to disable and configure inactive session threshold
1 year ago
herby2212
8bb44b85d7
close inactive sessions after 10 minutes
1 year ago
Stepan Goremykin
1c0bb828d2
Fix argument is not used in message template warning
2 years ago
Stepan Goremykin
e74630a613
Use MinBy and MaxBy
2 years ago
Bond_009
cb85fc688f
Enable nullable for more files
2 years ago
Cody Robibero
678bcf9a80
Use EventManager for AuthenticationSuccess, AuthenticationFailure ( #8960 )
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
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
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
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
b8722d02a3
Merge pull request #7781 from crobibero/live-tv-infinite
...
(cherry picked from commit 77c73e241f
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
Cody Robibero
ea69213e5b
Merge pull request #7785 from dmitrylyzo/clear-transcodinginfo
...
Clear TranscodingInfo if play method changed
(cherry picked from commit c9491cf317
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
Cody Robibero
900b630f5b
Merge pull request #7605 from crobibero/playback-start-stop
...
Add missing properties to PlaybackStart, PlaybackStop
(cherry picked from commit 9beb3aff4e
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
3 years ago
Cody Robibero
ee46754238
Fix build and clean up
3 years ago
Fernando Fernández
5df6058a8e
Add FullNowPlayingQueue property
3 years ago
Cody Robibero
0765fd568f
Use IAuthorizationContext for websocket
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Patrick Barron
7180983654
Fix warnings in SessionManager
3 years ago
dkanada
f6c0db4bb5
merge branch 'master' into syncplay-sessions-fix
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Patrick Barron
06d682c296
Merge remote-tracking branch 'origin/authenticationdb-efcore' into authenticationdb-efcore
3 years ago
Patrick Barron
bbac9ff67e
GetDeviceOptions always returns an instance of DeviceOptions
3 years ago
Patrick Barron
befedaf6fc
Update Emby.Server.Implementations/Session/SessionManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
crobibero
397868be95
Fix issues with QuickConnect and AuthenticationDb
3 years ago
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
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago