Bond_009
d7748cfa04
Multiple Stream changes
...
* Remove useless MemoryStream in DlnaHttpClient
* Use HttpContent.ReadFromJsonAsync extension
* Call ConfigureAwait for IAsyncDisposable
* Use HttpContent.CopyToAsync where possible
1 year ago
Bond_009
b176beb88e
Reduce string allocations
...
Some simple changes to reduce the number of allocated strings
1 year ago
AmbulantRex
7dd4201971
Reconcile pre-packaged meta.json against manifest on install
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
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
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* 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
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Bond_009
a4565da4a9
Use System.IO.Compression instead of SharpCompress for zips
...
Also removes unused methods from ZipClient
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Patrick Barron
7ea4c844c8
Fix warnings in InstallationManager
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
383c2d7374
Remove useless nullable directives
3 years ago
Bond_009
c78457e6d3
Minor fixes
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
BaronGreenback
b645bb20de
Update Emby.Server.Implementations/Updates/InstallationManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
65f880be32
Keep plugin status after update.
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
dkanada
64cc5889f2
add suggested changes
4 years ago
dkanada
9caf311925
handle plugin manifests automatically
4 years ago
BaronGreenback
8e04e6c837
Update Emby.Server.Implementations/Updates/InstallationManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
63c290f878
Update Emby.Server.Implementations/Updates/InstallationManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
4757824a82
Update Emby.Server.Implementations/Updates/InstallationManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Greenback
cb793af30e
Renamed guid to id
4 years ago
Greenback
5c4fdaa253
MaxAbi property removed.
4 years ago
Greenback
ce19f2be55
Renamed Guid property to Id
4 years ago
Greenback
486148dd6b
Removed maxAbi
4 years ago
Greenback
1ed25ebd9a
Corrections as recommended.
4 years ago
Greenback
5323887540
Replaced TryGetPlugin with GetPlugin
4 years ago
Greenback
eb2439f23b
Changes as recommended.
4 years ago
Greenback
208d545cfe
Changed as suggested.
4 years ago
Greenback
cddc87e2af
Fixed gitmerge.
4 years ago
BaronGreenback
67c480ad53
Merge branch 'master' into PluginDowngrade
4 years ago
Greenback
0d4aa6bad6
Enable local file repositories
4 years ago
Greenback
7986465cf7
Initial upload
4 years ago
Claus Vium
f322866127
Merge pull request #4737 from crobibero/missing-ensure-success
4 years ago
crobibero
e621244405
Add missing EnsureSuccessStatusCode
4 years ago
crobibero
8df2213d6b
Don't return plugin versions that target newer Jellyfin version
4 years ago
Bond_009
8c8a71692e
Remove Hex class as the BCL has one now
4 years ago
crobibero
c5f5633ec6
Handle invalid plugins
4 years ago
Greenback
1df58fbaa0
updated
4 years ago
Greenback
18855a7884
Initialial upload
4 years ago
Bond_009
4b1c9dc9ea
Pass cancellation where possible
4 years ago
crobibero
95a2de757f
remove custom HttpException
4 years ago
Claus Vium
3900976be5
Merge pull request #4247 from crobibero/update-plugin
...
Update all on-disk plugins
4 years ago
Anthony Lavado
b1b43b8ad9
Merge pull request #4068 from barronpm/event-fixes
...
Fix Plugin Events and Clean Up InstallationManager.cs
4 years ago
crobibero
53d8023def
Update all on-disk plugins
4 years ago
Bond-009
cbf9be9416
Merge pull request #3577 from crobibero/package-install-repo
...
Specify plugin repo on plugin installation
4 years ago
Matt Montgomery
53d5f64e03
Fix SA1513, SA1514, SA1507, and SA1508
4 years ago