Robert Dailey
9a26348d26
fix: Properly sync IncludeCustomFormatWhenRenaming
9 months ago
Robert Dailey
93c8de9739
fix: Print score instead of object
9 months ago
Robert Dailey
9995572314
fix: Propagate base_url and api_key when processing includes
9 months ago
Robert Dailey
537defbfe3
build: Upgrade Automapper Autofac library to stable version
9 months ago
Robert Dailey
e7bd06eb61
chore: Delete unwanted run configurations
9 months ago
Robert Dailey
f905b251dc
refactor: Remove unneeded FileName property
9 months ago
Robert Dailey
1aaa2747b8
fix: Move detailed CF output to debug logs
9 months ago
Robert Dailey
159861aaeb
refactor: Split Recyclarr.TrashLib project
...
Split into Config and Guide class library projects to help decouple and
componentize the TrashLib library, which is growing too big.
9 months ago
Robert Dailey
82cbfb3741
refactor: Separate JSON loading from CFs
9 months ago
Robert Dailey
016bcb6624
refactor: Centralize JSON serializer settings
9 months ago
Robert Dailey
8f267483a2
feat: Add list command for template includes
9 months ago
Robert Dailey
5bb2bfa8a0
feat: YAML includes
...
Fixes #175
9 months ago
Robert Dailey
175aa6733b
refactor: Reorganize config list command code
...
This is in preparation for changes to list template includes
9 months ago
Robert Dailey
3e86172831
refactor: Remove unneeded NotImplementedException
9 months ago
Robert Dailey
542b24baa4
build: Upgrade FluentAssertions.Analyzers
9 months ago
Robert Dailey
ef8ae7dd48
refactor: Centralize repo updating
...
Repo updating is also a little more robust now.
9 months ago
Robert Dailey
b5c49d81c5
test: Suppress NSubstitute NS5000
...
Reason: https://github.com/nsubstitute/NSubstitute.Analyzers/issues/211
9 months ago
Robert Dailey
38755aa81a
refactor: Remove System.IO.Abstractions.Extension namespace usage
9 months ago
Robert Dailey
bda8dabd01
build: Upgrade all nuget packages
9 months ago
Robert Dailey
6ac1f0a1f0
chore: Exclude all but CS files in SonarLint
9 months ago
Robert Dailey
06cdd992e9
chore: Add SonarLint settings for Rider
9 months ago
Robert Dailey
740f775aeb
build: Remove SonarAnalyzer.CSharp package
9 months ago
Robert Dailey
bede64eadd
refactor: Rework ConfigCreation unit tests
9 months ago
Robert Dailey
3a50b9fa61
fix: Add validation for duplicate instances
...
Two separate duplicate checks have been introduced:
1. Within the same YAML file, YamlDotNet has been instructed to error on
duplicate keys.
2. Between different YAML files, custom logic enforces that there should
be no duplicate instance names.
9 months ago
Robert Dailey
6706a87972
test: Relocate & rename config extensions test
9 months ago
Robert Dailey
3255dc68eb
test: Fix broken unit test after scoreless CF changes
9 months ago
Robert Dailey
b409dd7c2d
build: Globally use package SonarAnalyzer.CSharp
9 months ago
Robert Dailey
f52d73cdaf
fix: Less verbose logging for scoreless CFs
9 months ago
Robert Dailey
0b82c3bea3
fix: Better processing for HTTP 500 service responses
...
Fixes #206 .
9 months ago
Robert Dailey
372fd804fe
refactor: Replace TestCorrelator with Observable sink
...
This replacement is necessary to support parallelized unit tests.
TestCorrelator as well as even the InMemory sink rely on static objects,
which makes multithreaded tests impossible.
9 months ago
Robert Dailey
aaf810fd68
feat: Print completed date & time after each instance sync
9 months ago
Robert Dailey
4d7a5f49c3
fix: NRE when `reset_unmatched_scores` not present
9 months ago
Robert Dailey
3f5960c414
feat: Add score sets and raw output to list custom-formats
9 months ago
Robert Dailey
4f52201ede
feat: Support for "score sets" in quality profiles
...
A score set is a collection of scores defined by a single custom format
JSON data file in the TRaSH Guides. Score sets provide a way to define
"themes" for scores that get used across multiple custom formats.
This feature adds the `score_sets` property to the top-level
`quality_profiles` objects.
10 months ago
Robert Dailey
f9ba985d1f
fix: Grab scores from the `trash_scores` object in CF json data
...
The `default` key is assigned a score intended to replace the old
`trash_score` property.
10 months ago
Robert Dailey
4935377a4b
refactor: Remove GetOrDefault method
...
Replaced with .NET's `GetValueOrDefault()`
10 months ago
Robert Dailey
c4bd5b2fae
style: Solution-wide code cleanup to CS files
10 months ago
Robert Dailey
8b350b5bce
feat: Add exclusions support to 'reset_unmatched_scores'
...
A new `except` property is provided under `reset_unmatched_scores` to
list one or more custom format names to exclude when resetting scores.
10 months ago
Robert Dailey
c033dd8a13
refactor: Change structure of processed QP object
10 months ago
Robert Dailey
de0c6be1d9
fix: Move log context up to ConfigurationLoader
...
This allows log context to be available when validation warnings &
errors are printed.
10 months ago
Robert Dailey
4b3542fc7a
fix: Add a check for Sonarr v3 in the delete CFs command
10 months ago
Robert Dailey
f6465316d2
feat: New delete custom-formats command
...
For deleting one or many custom formats from a specific Sonarr or Radarr
service.
10 months ago
Robert Dailey
a84c8a0efc
refactor: Improve service connection error message
...
When unable to connect to a service, we no longer send a confusing
message saying capabilities could not be obtained. This also involved
removing nullability in a few places to simplify logic an error
handling.
10 months ago
Robert Dailey
3ac1de9c94
refactor: Rename placement argument for service
10 months ago
Robert Dailey
c713b99747
refactor: Make out variables inline
10 months ago
Robert Dailey
c9d015f492
test: Fix newline insertion in MockYaml method
10 months ago
Robert Dailey
0f88f2a306
fix: Detect & fail on split instance config files
...
When the same `base_url` is used between two or more config files, this
is an error the user must fix manually.
10 months ago
Robert Dailey
58861a4edd
build: Upgrade all nuget packages
10 months ago
Robert Dailey
b79a71a1cf
test: Fix broken tests due to mistakenly removed whitespace
10 months ago
Robert Dailey
c190d5e6d6
refactor: Use raw string literals for multi-line strings
10 months ago