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
ipitio
c29e8ffe1d
Update MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-02-24 11:45:56 -05:00
ipitio
58ed50c9d0
Catch Exception when disposing connection
2023-02-15 21:58:49 -05:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
556cc8062d
Investigate some TODO comments
2022-11-27 14:13:31 +01:00
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);
```
2022-10-06 20:21:23 +02:00
Cody Robibero
0765fd568f
Use IAuthorizationContext for websocket
2022-01-01 12:34:22 -07:00
Rich Lander
e3df4dcaae
Fix warnings in MediaBrowser.Controller
2021-08-13 20:34:36 -07:00
Cody Robibero
d461e3912a
Remove warninigs from MediaBrowser.Controller (Part 3) ( #6078 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-06-06 17:16:41 +02:00
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
2021-05-07 00:39:20 +02:00
cvium
ba78ad5424
Add missing inheritdoc
2020-11-28 11:24:52 +01:00
cvium
65e6211c03
Remove circular dependency between websocket listeners and manager
2020-11-28 11:21:53 +01:00
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
2020-09-27 10:00:20 +02:00
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
2020-08-22 21:56:24 +02:00
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans
247f9c61e6
fix SA1513/SA1516
2020-06-16 16:11:30 +12:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
Anthony Lavado
100e9d586d
Merge pull request #3336 from telans/specific-fixes
...
Fix trivial SA1005, SA1111, SA1508, SA1510 warnings
2020-06-14 22:51:29 -04: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
telans
acd4389653
fix SA1005
2020-06-15 10:41:00 +12: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
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
2020-05-25 23:52:51 +02:00
Bond_009
15634a1913
Merge branch 'master' into websocket
2020-05-02 00:54:04 +02:00
Bond_009
32dcd372f4
Fix some warnings in MediaBrowser.Controller
2020-02-04 02:10:44 +01:00
Bond-009
8865b3ea3d
Remove dead code and improve 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
2696ac5eac
Lower the amount of running tasks
2019-03-25 21:33:48 +01:00
Claus Vium
17ca23d73b
Don't dispose the connection
2019-03-05 07:41:41 +01:00
Claus Vium
71ed840944
Simplify websocket listeners
2019-02-27 22:09:22 +01:00
Claus Vium
e47d121985
Fix websockets
2019-02-27 21:40:47 +01:00
Claus Vium
0ef2b46106
Remove custom Threading
2019-02-05 16:47:50 +01:00
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
2019-01-13 21:31:14 +01:00
Erwin de Haan
26ca4b607b
Visual Studio Reformat: MediaBrowser.Controller
2019-01-13 20:25:32 +01:00
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
2019-01-11 12:50:36 +01:00
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4
remove trailing whitespace
2019-01-07 23:27:46 +00:00
Bond_009
b1ccd6bad9
Fix build post GPL change
2018-12-30 22:44:39 +01:00
Bond_009
ea4c914123
Fix exception logging
2018-12-30 22:44:39 +01:00
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
2018-12-30 22:44:38 +01:00
Andrew Rabert
a86b71899e
Add GPL modules
2018-12-27 18:27:57 -05:00
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
4f09c1e06d
reduce dlna chatter
2017-11-23 10:46:16 -05:00
Luke Pulverenti
983b51e083
reduce socket activity
2017-10-04 14:51:26 -04:00
Luke Pulverenti
ef6b90b8e6
make controller project portable
2016-10-25 15:02:04 -04:00
Luke Pulverenti
a69ca6c55b
avoid buffering http responses
2016-10-06 14:55:01 -04:00
Luke Pulverenti
0bd27381e0
sync updates
2015-03-29 23:04:55 -04:00
Luke Pulverenti
19c95ff61b
don't use socket to report start/stop
2015-03-08 16:01:56 -04:00
Luke Pulverenti
046a1de253
sync updates
2015-02-04 15:16:23 -05:00
Luke Pulverenti
2e53ff1fd0
move files out of common
2014-12-26 14:34:39 -05:00