Bond_009
d2db700402
Always await instead of directly returning Task
...
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#prefer-asyncawait-over-directly-returning-task
The performance impact is negligible (and it's me saying that!)
2024-10-31 17:02:06 +01:00
Niels van Velzen
43569082f9
Fix WebSocket disconnecting when exception is thrown during processing ( #11395 )
2024-04-21 10:54:42 -06:00
Bond-009
356e05e3af
Changes SessionWebSocketListener to (re)use a timer ( #11358 )
2024-04-17 10:44:39 -06:00
Stepan Goremykin
f84469d500
Remove redundant using directives
2023-10-08 00:50:02 +02:00
Shadowghost
05d98fe24c
Enforce permissions on websocket connections
2023-07-07 08:50:37 +02:00
Cody Robibero
52252fcd55
Fix sending websocket messages ( #9948 )
2023-07-02 16:14:44 -06:00
Cody Robibero
b5bbb98175
Fix Websocket OpenApi ( #9935 )
...
* Further split inbound and outbound messages
* Fix datatype for inbound start messages
* fixes from review
2023-06-29 05:44:36 -06:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
Hannes Braun
4edeccc5e0
Remove redundant using directives
2022-09-28 16:26:03 +02:00
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: ee22feb89a34632a4cc3a350733dd57c6be863ec
2022-07-24 12:35:46 -04:00
Cody Robibero
0765fd568f
Use IAuthorizationContext for websocket
2022-01-01 12:34:22 -07:00
Bond_009
cbfa355e31
Update StyleCop
2021-12-24 18:28:27 +01:00
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
2021-12-24 02:41:50 +00:00
Patrick Barron
80223c548c
Fix warnings in WebSocketConnection
2021-10-03 21:41:22 -04:00
Cody Robibero
cba07b1ca6
Remove more and more warnings
2021-08-28 16:32:50 -06:00
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
2021-06-19 18:04:46 +02:00
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons
2021-06-19 15:04:30 +01:00
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
2021-05-20 22:48:53 +02:00
BaronGreenback
80877aa945
Cleaned up "value assigned is not used in any execution path"
2021-04-17 09:27:58 +01:00
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
2021-03-13 22:33:28 +01:00
Bond_009
9a5ceb34d1
Improve WebSocket Deserialization
2021-01-13 01:11:25 +01:00
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
2020-09-27 10:00:20 +02:00
crobibero
de4cfa2234
Apply suggestions from code review
2020-08-26 08:45:59 -06:00
crobibero
acd88dae45
fix build
2020-08-25 08:11:50 -06:00
Bond_009
d191fec3ac
Minor fixes for websocket code
2020-08-01 15:03:33 +02:00
dkanada
6db1878011
Merge pull request #3315 from crobibero/dashboard-update
...
Add MessageId to websocket message, fix ws exception
2020-06-15 10:55:33 +09:00
crobibero
30609c848b
Add MessageId to websocket message, add JsonNonStringKeyDictionaryConverter
2020-06-11 10:51:47 -06:00
crobibero
44957c5a9a
Use typed logger where possible
2020-06-05 18:15:56 -06:00
gion
e42bfc92f3
Fix code issues
2020-05-26 11:37:52 +02:00
gion
029bb80910
Merge remote-tracking branch 'upstream/master' into syncplay
2020-05-15 18:59:35 +02:00
gion
6e22e9222b
Fix code issues
2020-05-09 12:37:23 +02:00
Bond_009
3623aafcb6
Make SonarCloud happy
2020-05-02 01:30:04 +02:00
gion
083d3272d0
Refactor and other minor changes
2020-04-27 22:39:37 +02:00
gion
aad5058d25
Implement KeepAlive for WebSockets
2020-04-27 22:39:37 +02:00
Bond-009
ee964f8a58
Don't log message info
2020-01-13 20:06:08 +01:00
Bond-009
d01ba49be3
Fix space
2020-01-13 20:06:08 +01:00
Bond-009
f89e18ea26
Improve error handling
2020-01-13 20:06:08 +01:00
Bond-009
bdd823d22f
Handle unexpected disconnect
2020-01-13 20:06:08 +01:00
Bond-009
8865b3ea3d
Remove dead code and improve logging
2020-01-13 20:06:08 +01:00
Bond-009
4d311870d2
Fix websocket handling
2020-01-13 20:06:08 +01:00
Bond_009
5ca68f9623
Fix nullref exception and added logging
2020-01-13 20:06:08 +01:00
Bond_009
976459d3e8
Rewrite WebSocket handling code
2020-01-13 20:06:08 +01:00
Bond-009
affb58ef9e
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-12-10 16:22:03 +01:00
Bond_009
42ffddc269
Fix more warnings
2019-11-27 16:29:56 +01:00
Claus Vium
fb1de5a921
Remove more cruft and add the beginnings of a socket middleware
2019-02-27 23:22:55 +01:00
Claus Vium
27e7e792b3
Replace some usage of QueryParamCollection
2019-02-27 14:23:39 +01:00
cvium
b35dcbb9f0
Remove MediaBrowser.Text since it violates licenses and is overall hacky
2019-01-20 06:30:50 +01:00
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
2019-01-13 21:37:13 +01:00
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
2019-01-13 20:54:44 +01:00
Erwin de Haan
c5c7a3c4ee
Visual Studio Reformat: Emby.Server.Implementations Part De-H
2019-01-13 20:20:41 +01:00