aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
AgeCommit message (Collapse)Author
2022-12-07Update depsBond_009
2022-12-07Update projects to .net7Bond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-12-05Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis ↵Bond-009
(#8709)
2022-11-17Add xmldocs for TMDb provider, correct provider spellingShadowghost
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
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-09-09Merge pull request #8250 from Bond-009/minor18Claus Vium
Minor cleanup
2022-08-22Merge pull request #7433 from Bond-009/ssdphttpclientBond-009
2022-08-18Minor cleanupBond_009
2022-07-16Merge pull request #8118 from crobibero/jellyfin-10.9Joshua M. Boniface
Jellyfin 10.9.0
2022-07-13bump Jellyfin to 10.9Cody Robibero
2022-07-11Move transcodes to be under CachePathCraig Andrews
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.
2022-05-09Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 (#7726)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-17Merge pull request #7561 from DMouse10462/named-config-api-fixCody Robibero
Fix NamedConfiguration API Generation (cherry picked from commit d7c548f3dbb74c03903cd9bb86ab3af33e295d15) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-04-09Optimize GetMD5 functionBond_009
| 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
2022-04-07Merge pull request #7549 from cvium/fix_isinlocalnetworkCody Robibero
(cherry picked from commit bdb85aeecf10feae62ec615c8d80f1b517b8a5d6) Signed-off-by: crobibero <cody@robibe.ro>
2022-03-21Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406dependabot[bot]
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>
2022-03-08Rework SsdpHttpClientBond_009
2022-01-22Merge pull request #7235 from Bond-009/async4Cody Robibero
2022-01-22Always create TaskCompletionSource<T> with ↵Bond_009
TaskCreationOptions.RunContinuationsAsynchronously
2022-01-22Ban the usage of Task.ResultBond_009
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
2021-12-27Remove more warningsCody Robibero
2021-12-24Update StyleCopBond_009
2021-11-15Bump Microsoft.SourceLink.GitHub from 1.1.0 to 1.1.1dependabot[bot]
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>
2021-11-13Merge pull request #6818 from Bond-009/passwordCody Robibero
2021-11-13Very light cleanup in applicationhostcvium
2021-11-10Replace PBKDF2-SHA1 with PBKDF2-SHA512Bond_009
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
2021-11-09Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.0dependabot[bot]
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>
2021-11-08Update to full dotnet 6Cody Robibero
2021-11-02Streamline startup codeBond_009
2021-10-12Update to dotnet6.rc2Cody Robibero
2021-10-10Move FfmpegException to MediaBrowser.CommonDmitry Lyzo
2021-10-04Reference dotnet6-rc1 packagesCody Robibero
2021-09-24Target net6.0Bond_009
2021-08-16Merge pull request #6430 from Bond-009/minor17Claus Vium
Minor improvements
2021-08-15Minor improvementsBond_009
2021-08-12Address commentBond_009
2021-08-04Fix log messagesBond_009
2021-08-04ApiServiceCollectionExtensions.AddProxyAddresses: Add more testsBond_009
2021-08-04Minor improvementsBond_009
2021-07-30Invert code and style analysis configuration (#6334)Rich Lander
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-11Fix some warningsBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-06-12Merge pull request #6096 from cvium/saving_private_ramBond-009
2021-06-06Minor fixesBond_009
2021-06-05More reviewcvium
2021-05-31reviewcvium
2021-05-28Fix some warningsBond_009
2021-05-16Reduce some allocationscvium