aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks
AgeCommit message (Collapse)Author
2021-12-27More cleanupBond_009
2021-12-20Use our own Contains extensioncvium
2021-11-09Fix some warningsBond_009
down to 580
2021-11-09Fix some warningsBond_009
609 left
2021-10-02Fix warnings in ScheduledTasksPatrick Barron
2021-09-03Fix some warningsBond_009
2021-09-03Merge remote-tracking branch 'upstream/master' into warn-259810Cody Robibero
2021-09-01Allow zero activity log retention daysqsniyg
2021-08-28Remove more and more warningsCody Robibero
2021-08-13Merge branch 'master' into minor15Bond-009
2021-07-11Fix some warningsBond_009
2021-07-06Minor fixesBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-05-28Fix some warningsBond_009
2021-05-24Create scheduled task for database optimizationFernando Fernández
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2021-05-05Code Clean up: Convert to null-coalescing operator ?? (#5845)BaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro> Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05Code Clean up: Use Pattern Matching (#5838)BaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro> Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-04-17Remove unused using directivesBaronGreenback
2021-04-10Use sync Serialize when writing scheduled tasks to diskcvium
2021-03-13FxCop -> Net Analyzers (part 2)Bond_009
2021-02-13Minor improvementsBond_009
2021-02-05Merge pull request #5005 from jellyfin/bytesdkanada
JsonSerializer deserialize from bytes where possible
2021-01-18fix delete log taskcrobibero
2021-01-12Open FileStream with FileMode.Create instead of FileMode.OpenOrCreateBond_009
> 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
2021-01-12JsonSerializer deserialize from bytes where possibleBond_009
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 | ```
2021-01-03Fix string culture specificityobradovichv
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.
2020-12-30Merge branch 'master' into PluginDowngradeCody Robibero
2020-12-29Use UTF8 encoding and async correctlyDavid
2020-12-27Code revieDavid
2020-12-24Put json serializer options in private fieldDavid
2020-12-24Use sync string instead of fileDavid
2020-12-23Use streams instead of stringsDavid
2020-12-23Remove xml docsDavid
2020-12-23Remove custom Json serializer from Emby.Server.ImplementationsDavid
2020-12-14Initial uploadGreenback
2020-11-20Set DeleteTranscodeFileTask to trigger every 24hcrobibero
2020-11-18Fixes spelling.Greenback
2020-11-15Merge remote-tracking branch 'upstream/master' into http-exceptioncrobibero
2020-11-14remove custom HttpExceptioncrobibero
2020-11-14Replace Task.WaitAll with Task.WaitBond_009
2020-11-14Missed some stuffBond_009
2020-11-02Merge pull request #4341 from Bond-009/minor6Anthony Lavado
Minor improvements
2020-11-01Allow configuration of ActivityLogRetentioncrobibero
2020-10-17Use nameof where possibleBond_009
2020-10-14Automatically clean activity log databasecrobibero
2020-10-12Fix SA1012 and SA1013 warningsJan-Pieter Baert
2020-10-05Just enable insteadAnthony Lavado
2020-10-05Simply triggerAnthony Lavado
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-05Fix Transcode Cleanup ScheduleAnthony Lavado
Sets the default time to midnight, and confirms to the same task scheduling commands that other tasks use.