Robert Dailey
b409dd7c2d
build: Globally use package SonarAnalyzer.CSharp
1 year ago
Robert Dailey
f52d73cdaf
fix: Less verbose logging for scoreless CFs
1 year ago
Robert Dailey
0b82c3bea3
fix: Better processing for HTTP 500 service responses
...
Fixes #206 .
1 year 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.
1 year ago
Robert Dailey
9d72a01c73
chore(style): Disable constructor suggestion
...
Rule: "Convert constructor into member initializers"
1 year ago
Robert Dailey
3d2593962f
chore(cl): Add issue number to changelog item
1 year ago
Robert Dailey
aaf810fd68
feat: Print completed date & time after each instance sync
1 year ago
Robert Dailey
fb128f90bc
release: v5.3.1
1 year ago
Robert Dailey
4d7a5f49c3
fix: NRE when `reset_unmatched_scores` not present
1 year ago
Robert Dailey
f3f95b3cd6
release: v5.3.0
1 year ago
Robert Dailey
3f5960c414
feat: Add score sets and raw output to list custom-formats
1 year ago
Robert Dailey
81ab62eca2
chore(schema): Update config schema for `score_set`
1 year 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.
1 year 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.
1 year ago
Robert Dailey
4935377a4b
refactor: Remove GetOrDefault method
...
Replaced with .NET's `GetValueOrDefault()`
1 year ago
Robert Dailey
2d97d47b17
ci: Update 'branches' setting in a few workflows
...
The goal is to ensure that tags are consistently excluded from
triggering these workflows.
1 year ago
Robert Dailey
c4bd5b2fae
style: Solution-wide code cleanup to CS files
1 year 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.
1 year ago
Robert Dailey
c033dd8a13
refactor: Change structure of processed QP object
1 year ago
Robert Dailey
de0c6be1d9
fix: Move log context up to ConfigurationLoader
...
This allows log context to be available when validation warnings &
errors are printed.
1 year ago
Robert Dailey
4b3542fc7a
fix: Add a check for Sonarr v3 in the delete CFs command
1 year ago
Robert Dailey
f6465316d2
feat: New delete custom-formats command
...
For deleting one or many custom formats from a specific Sonarr or Radarr
service.
1 year 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.
1 year ago
Robert Dailey
3ac1de9c94
refactor: Rename placement argument for service
1 year ago
Robert Dailey
c713b99747
refactor: Make out variables inline
1 year ago
Robert Dailey
c9d015f492
test: Fix newline insertion in MockYaml method
1 year ago
Robert Dailey
3e7fd835b9
ci: Fix sonarcloud not running on branches
...
This is because `tags-ignore` causes implicitly branches to be ignored.
1 year 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.
1 year ago
Robert Dailey
58861a4edd
build: Upgrade all nuget packages
1 year ago
Robert Dailey
b79a71a1cf
test: Fix broken tests due to mistakenly removed whitespace
1 year ago
Robert Dailey
c190d5e6d6
refactor: Use raw string literals for multi-line strings
1 year ago
Robert Dailey
c3b7e973b2
chore: tar.xz archives now set UID and GID to 0
...
The reason for this is to avoid the need for `--no-same-owner` when
extracting the archive as a super user (e.g. `sudo`). Without this
change, the UID and GID of `recyclarr` after it is extracted is whatever
user was used in github actions to create the archive, which isn't
really useful.
This change does not affect extractions as normal users; by default, the
UID/GID inside the archive is not used in those cases.
1 year ago
Robert Dailey
c44682ea51
chore: Fix incorrect archive target path
1 year ago
Robert Dailey
d718aa7408
release: v5.2.1
1 year ago
Robert Dailey
d6fc96f247
fix: Allow quality group names to duplicate quality names.
...
Fixes #200
1 year ago
Robert Dailey
e6924c10e4
fix: Better error message when no config files are found
1 year ago
Robert Dailey
028f9be125
refactor: Remove TODO comment
...
This is in favor of a TODO item put in issue #202
1 year ago
Robert Dailey
a6e737fae9
fix: Improve repo clone performance by using shallow clones
...
Fixes #201 .
1 year ago
Robert Dailey
7376cdbabc
ci: SonarCloud workflow ignores pushes to tags
1 year ago
Robert Dailey
08aa4d0346
release: v5.2.0
1 year ago
Robert Dailey
3a7654b4da
docs(cl): Add issue number to QP feature
1 year ago
Robert Dailey
01fdc0639f
fix: Output more detail about HTTP 4xx "bad data" responses
1 year ago
Robert Dailey
aa8140add4
refactor: Print more information about QP updates
1 year ago
Robert Dailey
e0da419ffa
refactor: Address several analysis warnings
1 year ago
Robert Dailey
def934ebeb
refactor: Upgrade FileSystem to remove hack
...
This version of `System.IO.Abstractions` adds constructor options to
`MockFileSystem` that allows the removal of a hack put in place to
remove the temp directory so it does not interfere with unit test
expectations.
1 year ago
Robert Dailey
a6ceae65fc
refactor: Add SonarCloud Analyzer and fix analysis warnings
1 year ago
Robert Dailey
8596168757
feat: Add Allowed flag for QP upgrades
1 year ago
Robert Dailey
0652cfd800
fix: More robust handling of missing qualities list
...
When qualities are not specified by the user, qualities are not modified
if the profile exists in the service. If the profile does not exist yet,
then an error is shown. Qualities are required when the profile is being
created.
1 year ago
Robert Dailey
f40339e794
style: Code cleanup
1 year ago
Robert Dailey
1d7abb3977
refactor: Fix analysis warnings
1 year ago