Cody Robibero
6a6874aa16
Catch checksum mismatch when updating plugins
3 years ago
Bond_009
5732e6188c
Fix some warnings
3 years ago
Cody Robibero
ecb73168b3
Suggestions from review
3 years ago
Cody Robibero
360fd70fc7
Clean up
3 years ago
David Ullmer
045ef4b726
Generate Splashscreen during RefreshMediaLibrary scheduled task
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Patrick Barron
4ba9b6c305
Fix warnings in ScheduledTasks
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
3 years ago
qsniyg
2cf08dcd34
Allow zero activity log retention days
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond-009
e5a29824e5
Merge branch 'master' into minor15
3 years ago
Bond_009
915141f196
Fix some warnings
3 years ago
Bond_009
1f99c9b90c
Minor fixes
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
0bc0601442
Fix some warnings
4 years ago
Fernando Fernández
3b822116ed
Create scheduled task for database optimization
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
f2c10471bf
Code Clean up: Use Pattern Matching ( #5838 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
cvium
42bcf171d9
Use sync Serialize when writing scheduled tasks to disk
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
dkanada
54a3ab15a3
Merge pull request #5005 from jellyfin/bytes
...
JsonSerializer deserialize from bytes where possible
4 years ago
crobibero
6abee2dd22
fix delete log task
4 years ago
Bond_009
1752423e52
Open FileStream with FileMode.Create instead of FileMode.OpenOrCreate
...
> The OpenWrite method opens a file if one already exists for the file path,
or creates a new file if one does not exist. For an existing file,
it does not append the new text to the existing text. Instead,
it overwrites the existing characters with the new characters.
If you overwrite a longer string
(such as "This is a test of the OpenWrite method") with a shorter string
(such as "Second run"), the file will contain a mix of the strings
("Second runtest of the OpenWrite method").
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.io.file.openwrite?view=net-5.0#remarks
4 years ago
Bond_009
1ea2b200c0
JsonSerializer deserialize from bytes where possible
...
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 |
```
4 years ago
obradovichv
0282a1ed09
Fix string culture specificity
...
Fix bug in SsaParser.cs primary color {\1c} formatting that would leave
behind the {\1c} closing token and instead append </font> token
unconditionally to the dialogue text. Add tests.
Change AlphanumComparatorTests.cs complementary test data generation
from an array shuffle to an array reversal. Although it was previously
using a seeded Random, the shuffle itself could result in no
rearrangement of elements if the seed or test data changed over time.
The reversal guarantees reordering of elements and has the added benefit
of simplifying the test code since no special handling is needed for
arrays of 2 elements.
Change DailyTrigger.cs logging of TriggerDate format to
"yyyy-MM-dd HH:mm:ss.fff zzz" for consistency with configured log
timestamp format and change DueTime format to culture-invariant "c"
format.
4 years ago
Cody Robibero
5c57569692
Merge branch 'master' into PluginDowngrade
4 years ago
David
3dec1fd6b2
Use UTF8 encoding and async correctly
4 years ago
David
21fd124bca
Code revie
4 years ago
David
043d045448
Put json serializer options in private field
4 years ago
David
e835dfb27d
Use sync string instead of file
4 years ago
David
2a574914ea
Use streams instead of strings
4 years ago
David
f38970cbd3
Remove xml docs
4 years ago
David
196388d607
Remove custom Json serializer from Emby.Server.Implementations
4 years ago
Greenback
7986465cf7
Initial upload
4 years ago
crobibero
bf66f57069
Set DeleteTranscodeFileTask to trigger every 24h
4 years ago
Greenback
e51ddd326c
Fixes spelling.
4 years ago
crobibero
e66d79fc0c
Merge remote-tracking branch 'upstream/master' into http-exception
4 years ago
crobibero
95a2de757f
remove custom HttpException
4 years ago
Bond_009
d4e568c8bf
Replace Task.WaitAll with Task.Wait
4 years ago
Bond_009
ff49a3bb61
Missed some stuff
4 years ago
Anthony Lavado
6205fb4b6a
Merge pull request #4341 from Bond-009/minor6
...
Minor improvements
4 years ago
crobibero
ceecc80bb3
Allow configuration of ActivityLogRetention
4 years ago
Bond_009
49569ca0a0
Use nameof where possible
4 years ago