Stepan Goremykin
526f9a825c
Make files readonly
1 year ago
Patrick Barron
78e00578c2
Use DI for IFileSystem
1 year ago
Bond-009
92f6e19a25
Enable nullable for more files ( #9310 )
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
5036afd691
Minor cleanup
2 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
ea8f40e84a
More cleanup
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
76c2775d8c
Use static lambdas
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Bond-009
cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram
3 years ago
Bond_009
0bc0601442
Fix some warnings
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
David
60ffa6f514
Use FileShare.None when creating files
4 years ago
crobibero
dae4541bad
Merge remote-tracking branch 'upstream/master' into dotnet-5
4 years ago
Bond-009
331c7f8481
Merge pull request #4253 from BaronGreenback/fordiscussion
...
DI in plugins
4 years ago
crobibero
73d2cb1c2a
Updated based on review feedback
4 years ago
Cody Robibero
24ac5cc353
Update Emby.Server.Implementations/AppBase/ConfigurationHelper.cs
...
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
4 years ago
crobibero
95ebb9a55a
Use null coalescing when possible
4 years ago
crobibero
5f52a58e78
Convert NullReferenceException to ResourceNotFoundException
4 years ago
crobibero
7bf320922c
Fix nullability errors in Emby.Server.Implementations
4 years ago
BaronGreenback
caea2bb862
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
BaronGreenback
69790ef6b8
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
Bond_009
51dd3f1e19
Minor improvements
4 years ago
BaronGreenback
a8cee0bd36
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
002190f0a3
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
0e872ca65c
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
387fdb0f13
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
ed05ae683e
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
Greenback
0b73a1d90f
Added extra functionality to support registrar.
4 years ago
Bond_009
e653eef44f
Fix some warnings
4 years ago
Bond_009
371a09c60b
MemoryStream optimizations
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Patrick Barron
9cec01d8ce
Switch to using declaration
5 years ago
Patrick Barron
0e8f30f64b
Documented BaseApplicationPath constructor parameters
5 years ago
Mark Monteiro
05ab61200a
Do not call UseContentRoot() on the web host builder
...
This call has nothing to do with static web content and should not have ever been called with the web content path: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/?view=aspnetcore-3.1&tabs=windows#content-root
Since this call is removed, the ContentRoot property is also removed from ApplicationHost as it is no longer needed.
Finally, move validation of the static content path to the DashboardService where it is actually used.
5 years ago
Mark Monteiro
547f248a62
Update XML documentation for WebPath
5 years ago
Mark Monteiro
26af5ea45a
Do not set a static content root if the jellyfin-web directory does not exist or is empty
5 years ago
dkanada
67922dff50
Merge pull request #2041 from Bond-009/warn11
...
Fix more warnings
5 years ago
Bond-009
affb58ef9e
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Bond_009
4a0df15bbd
Fix GetTranscodePath function and cache path update logline
...
* GetTranscodePath returned an empty string after the option was left
blank in the web UI
* Unified the log style for all paths
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Joshua M. Boniface
48120d01dc
Merge pull request #1991 from Bond-009/transtemp
...
Don't append transcodes to transcoding temp path
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
5 years ago
Bond_009
3f7836d9eb
Update deps and add MultiThreading analyzer
5 years ago