Claus Vium
719e5eae16
Merge pull request #8503 from Bond-009/ThrowIfNull
2 years ago
Jan Sommer
0b8faf5db4
Fix minor warnings in Emby.Server.Implementations ( #2149 )
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
2d57e71b44
Don't allow throwing System.Exception ( #8378 )
2 years ago
Bond-009
e1e4ac75e4
Merge pull request #8267 from luzpaz/typos
2 years ago
knackebrot
c3405d25fd
Make IgnoreDts configurable for M3U tuner
2 years ago
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
Cody Robibero
e263e9c2b1
Merge pull request #7544 from jaantaponen/long-filename-fix
...
(cherry picked from commit 8a1eca0913
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Cody Robibero
2e3c5ed346
Merge pull request #7625 from crobibero/xml-cache-delete
...
(cherry picked from commit ec6f7bdcff
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Cody Robibero
8203e933d5
Merge pull request #7592 from 1337joe/live-tv-fixes
...
(cherry picked from commit cd93f49fa8
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
3 years ago
Cody Robibero
435fc7ade9
Merge pull request #7567 from cvium/fix_xmltv_caching
...
(cherry picked from commit 385a0b9437
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
3 years ago
Cody Robibero
1425ef3cb4
Merge pull request #7542 from 1337joe/make-recording-stop
...
Make recording stop at scheduled stop time
(cherry picked from commit 132c85e554
)
Signed-off-by: crobibero <cody@robibe.ro>
3 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
Bond_009
adad13b865
Remove some dead code
3 years ago
Bond_009
5732e6188c
Fix some warnings
3 years ago
Bond_009
1c14c86b20
Fix some warnings
3 years ago
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
Cody Robibero
ea3d79c0eb
Merge pull request #7235 from Bond-009/async4
3 years ago
Cody Robibero
3c746f2743
Merge pull request #7236 from Bond-009/taskcompletionsource
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Niels van Velzen
2afcaa6ae1
Use Guid for BaseItemDto parent ids
3 years ago
Bond_009
832da133d8
Always create TaskCompletionSource<T> with TaskCreationOptions.RunContinuationsAsynchronously
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
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
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Bond_009
05836c8cd3
Fix warning SA1414 and CA1849
3 years ago
Bond_009
3ab0afdc6b
Remove task cancellation hacks
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Bond_009
beafd6eaab
Use JsonContent where possible
...
Should reduce the # of allocated bytes
3 years ago
cvium
b50c3852ef
Remove unused dependencies
3 years ago
Bond_009
474b035d99
Fix some warnings
3 years ago
Bond_009
5265b3eee7
Replace PBKDF2-SHA1 with PBKDF2-SHA512
...
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
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Claus Vium
c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
...
Fix for Livetv and DLNA when bind interfaces specified.
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
cvium
f03e77a4d5
Merge branch 'master' into TVFix
3 years ago
Claus Vium
26cfde8765
Merge pull request #6551 from MrChip53/xmltv-improve
3 years ago
Claus Vium
8fc4a48070
Merge pull request #6501 from crobibero/schedules-direct
3 years ago
Cody Robibero
a81dfabdb6
Fix indentation and build errors
3 years ago
Claus Vium
1156699481
Merge pull request #6657 from Bond-009/dotnetbug
3 years ago
Claus Vium
eea2ba9b68
Merge pull request #6678 from Bond-009/random
...
Use new Random.Shared instead of creating new instances
3 years ago
Cody Robibero
3bbd98cc3f
Merge remote-tracking branch 'upstream/master' into schedules-direct
3 years ago
Bond_009
d05062fec0
Use new Random.Shared instead of creating new instances
3 years ago
Bond_009
03f933aaa0
Fix the last few warnings
...
Enables TreatWarningsAsErrors for all projects
3 years ago
Patrick Barron
232e48f5e8
Fix warnings in EmbyTV
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Bond_009
1ee58bf020
Enable nullable for ItemDataProvider
3 years ago