Shadowghost
26d79a5ce3
Properly name some bind address functions, cleanup logging
2 years ago
Shadowghost
87d0158a4a
Fix autodiscovery
2 years ago
Shadowghost
4aec41752f
Apply review suggestions
2 years ago
Shadowghost
7b90fcd053
Merge branch 'master' into network-rewrite
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
Shadowghost
4fc52a840c
Merge branch 'master' into network-rewrite
2 years ago
Claus Vium
1cbf5431aa
Merge pull request #8250 from Bond-009/minor18
...
Minor cleanup
2 years ago
Bond-009
33611614ed
Merge pull request #7433 from Bond-009/ssdphttpclient
2 years ago
Bond_009
5036afd691
Minor cleanup
2 years ago
Shadowghost
59a86568d9
Cleanup and fixes
2 years ago
Shadowghost
2d3a16ad0f
Simplify code
2 years ago
Shadowghost
2281b8c997
Move away from using Collection, simplify code, add proper ordering
2 years ago
Shadowghost
a492082f4e
Apply review suggestions and fix build
2 years ago
Shadowghost
64ffd5fd95
Move subnet parser to NetworkExtensions
2 years ago
Shadowghost
997aa3f1e7
Fix build
2 years ago
Shadowghost
066db8ac7f
Migrate NetworkManager and Tests to native .NET IP objects
2 years ago
Joshua M. Boniface
c2902dd108
Merge pull request #8118 from crobibero/jellyfin-10.9
...
Jellyfin 10.9.0
2 years ago
Cody Robibero
40d3d8fb37
bump Jellyfin to 10.9
2 years ago
Craig Andrews
ac5a4e62f4
Move transcodes to be under CachePath
...
Move transcodes to be under CachePath instead of ProgramDataPath.
Since transcodes are ephemeral (they're cleaned up periodically and recreated if they don't exist), they're more like cache data than program data. Systems can (and oftentimes do) have the cache directory on a different disk, use a different type of file system, or have a different backup policy for the cache path because it contains ephemeral data.
2 years ago
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Cody Robibero
7424f0ca8c
Merge pull request #7561 from DMouse10462/named-config-api-fix
...
Fix NamedConfiguration API Generation
(cherry picked from commit d7c548f3db
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
3 years ago
Bond_009
5012c09368
Optimize GetMD5 function
...
| Method | Mean | Error | StdDev | Gen 0 | Allocated |
|----------------------------- |---------:|--------:|--------:|-------:|----------:|
| Old | 795.1 ns | 5.90 ns | 4.61 ns | 0.0029 | 312 B |
| HashDataInsteadOfComputeHash | 396.1 ns | 1.36 ns | 1.13 ns | 0.0014 | 152 B |
| StackallocedDestination | 395.8 ns | 1.80 ns | 1.60 ns | 0.0014 | 152 B |
| RentBuffer | 498.8 ns | 3.35 ns | 2.97 ns | - | 40 B |
Tested multiple possible speedups, in the end the simplest of them all won
3 years ago
Cody Robibero
94a69c8a8b
Merge pull request #7549 from cvium/fix_isinlocalnetwork
...
(cherry picked from commit bdb85aeecf
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Bond_009
cafeedcadf
Rework SsdpHttpClient
3 years ago
Cody Robibero
ea3d79c0eb
Merge pull request #7235 from Bond-009/async4
3 years ago
Bond_009
832da133d8
Always create TaskCompletionSource<T> with TaskCreationOptions.RunContinuationsAsynchronously
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
dependabot[bot]
bd32cecf7a
Bump Microsoft.SourceLink.GitHub from 1.1.0 to 1.1.1
...
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dotnet/sourcelink/releases )
- [Commits](https://github.com/dotnet/sourcelink/compare/1.1.0...1.1.1 )
---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Cody Robibero
34df1a030b
Merge pull request #6818 from Bond-009/password
3 years ago
cvium
5a65bc1e69
Very light cleanup in applicationhost
3 years ago
Bond_009
5265b3eee7
Replace PBKDF2-SHA1 with PBKDF2-SHA512
...
This also migrates already created passwords on login
Source for the number of iterations:
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
3 years ago
dependabot[bot]
c2d99dc3f0
Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.0
...
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/dotnet/sourcelink/releases )
- [Commits](https://github.com/dotnet/sourcelink/compare/1.0.0...1.1.0 )
---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Cody Robibero
40045d2147
Update to full dotnet 6
3 years ago
Bond_009
104e36f2f9
Streamline startup code
3 years ago
Cody Robibero
2b10251b32
Update to dotnet6.rc2
3 years ago
Dmitry Lyzo
c26e6d89b4
Move FfmpegException to MediaBrowser.Common
3 years ago
Cody Robibero
017380f1dd
Reference dotnet6-rc1 packages
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Claus Vium
fa77902955
Merge pull request #6430 from Bond-009/minor17
...
Minor improvements
3 years ago
Bond_009
19824bff94
Minor improvements
3 years ago
Bond_009
4c1286fd24
Address comment
3 years ago
Bond_009
60053c7f3d
Fix log messages
3 years ago
Bond_009
442dc10aac
ApiServiceCollectionExtensions.AddProxyAddresses: Add more tests
3 years ago
Bond_009
f1f72c3060
Minor improvements
3 years ago
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Bond_009
915141f196
Fix some warnings
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond-009
cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram
3 years ago
Bond_009
c78457e6d3
Minor fixes
3 years ago
cvium
9111730a0a
More review
4 years ago
cvium
0835b26889
review
4 years ago
Bond_009
0bc0601442
Fix some warnings
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
Bond-009
a4a3f598af
Merge pull request #5982 from Bond-009/nullable
4 years ago
Bond_009
4b9a64c18c
Abstract JsonDelimitedArrayConverter
4 years ago
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
4 years ago
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Bond_009
91c2a57b28
Enable nullable reference types for MediaBrowser.Common
4 years ago
cvium
ad3e835bcf
remove redundant code
4 years ago
cvium
c0feb3694b
rename to SplitEnumerator and fix test
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
Bond_009
500c2e5224
Switch from HttpClientHandler to SocketsHttpHandler
...
SocketsHttpHandler is the default for .Net Core 2.1 and newer
Set RequestHeaderEncoding to UTF-8 by default
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
Bond-009
159431ad2a
Merge pull request #5612 from Bond-009/passwordhash
4 years ago
BaronGreenback
0b774eac12
Enables the ability to bind to loopback address. ( #5773 )
4 years ago
Bond-009
1361ccd9ea
Merge pull request #5763 from Bond-009/ipobjects
...
Minor improvements to IPObjects
4 years ago
Joshua M. Boniface
19e7ebb279
Merge pull request #5416 from BaronGreenback/SubnetOverlappFix
4 years ago
Bond_009
be9cb7af2c
Minor improvements to IPObjects
4 years ago
BaronGreenback
65f880be32
Keep plugin status after update.
4 years ago
Bond-009
ea2bd3398b
Merge pull request #5685 from Bond-009/uselessnullcheck
...
Remove useless null check
4 years ago
Bond_009
0a00a73fec
Remove useless null check
4 years ago
Bond-009
ec0ef1530c
Merge pull request #5602 from Ullmie02/IP-string-IP
4 years ago
Bond-009
b49d50e634
Merge pull request #5467 from Ullmie02/nfo-fixes
4 years ago
David
1669cb6618
Split valid and invalid tests
4 years ago
David
78f7fdeacc
Rename methods and optimize allocations
4 years ago
Bond-009
4cea6d9ccf
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Bond_009
d77507ba09
Rewrite PasswordHash.Parse to work with ReadOnlySpans
4 years ago
David
19e4ef82dd
Remove conversion from IPAddress to string to IPAddress
4 years ago
BaronGreenback
5d16d1f66d
Merge branch 'master' into RemoteAccessFix
4 years ago
Bond-009
1a0ce16f4d
Merge pull request #5504 from crobibero/json-string-converter
4 years ago
David
7685569480
Rollback char.IsDigit
4 years ago
David
59641e5c76
Use ReadOnlySpan<char> and char.IsDigit
4 years ago
David
840eeff2af
Apply suggestions from code review
4 years ago
David
14cbd22fbe
Use Helper Methods for provider url parsing
4 years ago
BaronGreenback
4c7680e186
Merge remote-tracking branch 'upstream/master' into SubnetOverlappFix
4 years ago
BaronGreenback
6087831aa6
Fixed selection of correct interface ip
4 years ago
BaronGreenback
b1f0c5eb49
Update NetworkExtensions.cs
...
changed description
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
crobibero
37b1b31a46
Convert full ValueSequence
4 years ago
Bond-009
b755c25217
Merge pull request #5220 from Bond-009/hdhomerun
4 years ago
crobibero
e814d8e2cf
Add JsonStringConverter
4 years ago
BaronGreenback
3fdf0de6e3
Fix remote access
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
BaronGreenback
a031f7e410
Fix for multiple ip's in the same subnet per interface.
4 years ago
Bond-009
e839929b91
Merge pull request #5380 from Bond-009/plugins
...
100% branch coverage for DashboardController
4 years ago
Cody Robibero
df1951cfe2
Apply suggestions from code review
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
4 years ago
crobibero
fd0b3ca5ef
Add JsonVersionConverter and tests
4 years ago