telans
247f9c61e6
fix SA1513/SA1516
5 years ago
telans
3d9049ef08
fix SA1508
5 years ago
telans
acd4389653
fix SA1005
5 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Erik Rigtorp
f144acdc96
Use glob patterns to ignore files
5 years ago
Mark Monteiro
c2b21ce553
Register and construct ILibraryMonitor correctly
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
7060934792
Fix some warnings in Emby.Server.Implementations
5 years ago
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
dkanada
9eac19c75a
change invariant culture to ordinal
5 years ago
dkanada
65e9a705d3
check operating system for absolute path test
5 years ago
dkanada
a8cd963d46
fix tests for absolute paths
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
Anthony Lavado
75f19a762c
Re-order the path statement to avoid file issues
...
Fixes #31874 .
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond_009
dc662beefe
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
aa30227545
Improve main code flow
...
Improved the way how some parts of the code depend on eachother
Fixed some style issues
6 years ago
dkanada
b768ad978e
split the new command to more than one line
6 years ago
dkanada
4a9b349c04
only return useful drives
6 years ago
Bond_009
f911fda34f
Merge ifs
6 years ago
Bond_009
41df562419
Improve IO code
...
* Style changes
* Remove remnants of SMB support
* Use `GetInvalidFileNameChars` instead of rolling our own
* Remove possible unexpected behaviour with async file streams
* Remove some dead code
6 years ago
Bond-009
e64aaebbac
Improvements around streams
...
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
6 years ago
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
6 years ago
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
6 years ago
Vasily
13f2783a8e
Merge pull request #887 from wtayl0r/replace-primitives-with-iconfiguration
...
Replace primitive injection with IConfiguration
6 years ago
William Taylor
18ae107ce4
Removed unnecessary configuration options and reduced primitive dependencies
6 years ago
William Taylor
0d5fbcb031
Removed primitives from services in Program.cs
...
This will make it easier to move dependency registration
to a system without having to new up all the services first.
Moved the primitives to an IConfiguration which is much easier to inject.
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Bond_009
70c85925af
Move some arrays to generics
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Andrew Rabert
42d5a48491
Merge pull request #788 from Bond-009/warnings
...
Fix more warnings
6 years ago
Bond_009
1385d89df6
Remove MoreLINQ
6 years ago
Bond_009
5ac6d0ae59
Fix more warnings
6 years ago
Erwin de Haan
d3afa53191
Final refactored `IFileSystem` and `ManagedFileSystem`
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
Bond_009
fd7f420af2
Remove remnants of system events
6 years ago
Andrew Rabert
803bf563d7
Merge pull request #621 from Bond-009/perf
...
Minor improvements to library scan code
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Bond_009
35d97dc949
Minor improvements to library scan code
6 years ago
Erwin de Haan
9d0a08571e
Merge branch 'dev' into reformat
6 years ago
Joshua M. Boniface
f8dd182e42
Merge pull request #562 from hawken93/misc_fix
...
Fix error with uppercase photo extension and fix typo in a log line
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago