aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Plugins
AgeCommit message (Collapse)Author
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-11-11Don't auto-update if plugin is pending restartCody Robibero
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-02-21Optimize Guid comparisonsBond_009
* 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
2021-12-27More cleanupBond_009
2021-11-06Load all types when checking plugin DLLscvium
2021-09-25Fix some warningsBond_009
2021-09-02Use async FileStreams where it makes senseBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-06-06Minor fixesBond_009
2021-05-28Fix some warningsBond_009
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2021-05-05Code Clean up: Convert to null-coalescing operator ?? (#5845)BaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro> Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-02minor optimization.BaronGreenback
2021-04-06Keep plugin status after update.BaronGreenback
2021-03-13FxCop -> Net Analyzers (part 2)Bond_009
2021-03-05100% branch coverage for DashboardControllerBond_009
2021-02-24catch http exception and fix possible issuesdkanada
2021-02-23add await directive for image downloaddkanada
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-23remove useless call to disposedkanada
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-23improve performance in the wrong placedkanada
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-23add suggested changesdkanada
2021-02-23update timestamp parse for pluginsdkanada
2021-02-12handle plugin manifests automaticallydkanada
2021-02-08Add regression test for PluginManager.SaveManifestBond_009
2021-02-08Exclude BOM when writing meta.json plugin manifestcvium
2021-02-05Merge pull request #5005 from jellyfin/bytesdkanada
JsonSerializer deserialize from bytes where possible
2021-01-25Update Emby.Server.Implementations/Plugins/PluginManager.csDavid Ullmer
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-01-24Remove try-catch nestingDavid
2021-01-24Change plugin error messageDavid
2021-01-24Catch TypeLoadException during plugin loadingDavid Ullmer
2021-01-19Bug fixesBaronGreenback
2021-01-12Handle IO errors in LoadManifestBond_009
2021-01-12JsonSerializer deserialize from bytes where possibleBond_009
This is faster and uses way less memory ``` BenchmarkDotNet=v0.12.1, OS=fedora 32 Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores .NET Core SDK=5.0.100 [Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT | Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated | |------- |---------:|--------:|--------:|--------:|------:|------:|----------:| | Bytes | 158.4 us | 2.56 us | 2.14 us | 16.8457 | - | - | 52.08 KB | | String | 172.8 us | 0.78 us | 0.70 us | 41.5039 | - | - | 127.82 KB | | Custom | 155.5 us | 2.95 us | 2.76 us | 10.0098 | - | - | 31.27 KB | ```
2020-12-31Added referenced assembly failure detection, and DI failure protection.BaronGreenback
2020-12-23copy constructorBaronGreenback
2020-12-23Changes as requestedBaronGreenback
2020-12-23Update PluginManager.csBaronGreenback
Changed a to i
2020-12-23Update Emby.Server.Implementations/Plugins/PluginManager.csBaronGreenback
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-23Update Emby.Server.Implementations/Plugins/PluginManager.csBaronGreenback
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-22Fix for DI.BaronGreenback
2020-12-22Fallback to default guidBaronGreenback
2020-12-21New json converter implemented.BaronGreenback
2020-12-20write json files indented.BaronGreenback
2020-12-18removed exceptionGreenback
2020-12-18Update Emby.Server.Implementations/Plugins/PluginManager.csBaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18Update Emby.Server.Implementations/Plugins/PluginManager.csBaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18Update Emby.Server.Implementations/Plugins/PluginManager.csBaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro>