Robert Dailey
d7295d4820
build: Move to Composite Ready2Run
3 years ago
Robert Dailey
0da080f56f
build: Disable PublishTrimmed
...
Trimming is too risky and generates too many warnings
3 years ago
Robert Dailey
fadd8bd5de
test: Clean up composition root tests
3 years ago
Robert Dailey
3973bccd7e
build: Move publish settings to Trash.csproj
...
This allows seeing any build issues earlier (before publish)
3 years ago
Robert Dailey
2d21ffeb38
test: Unit test fixes for GitRepository
...
GitRepository now lazily-constructs its internal Repository object. This
makes the class testable since it no longer does a lot of work in its
constructor. Previously, the string passed to it had to be valid for the
Repository object to accept it.
3 years ago
Robert Dailey
258ac508d5
refactor: Better ProgressBar code
...
- Uses Rx
- Doesn't require threads/locking
- Cleans up analysis issues
3 years ago
Robert Dailey
2fd1601619
fix: Better error handling in git code
...
Code for cloning the repository refactored to handle failures better.
Namely this means deleting the repository and cloning it again if there
is a failure.
3 years ago
Robert Dailey
4869bae216
build: New projects for VersionControl code
3 years ago
Robert Dailey
38ac68dbb7
refactor: New FileUtilities class
...
For recursively deleting read-only directories.
3 years ago
Robert Dailey
62c3e5c6a2
fix: Check setting before disabling cert validation
...
Also add a warning log to make it clear to the user that certificate
validation has been disabled.
3 years ago
Robert Dailey
94b95c1fb4
feat: Add setting to bypass SSL certificate validation
...
Useful in cases where Sonarr or Radarr use HTTPS with a self-signed
certificate. Normally communication with such an instance would fail
since Trash Updater, by default, validates with certificate authorities.
This new setting allows you to disable certificate validation when
communicating with Sonarr or Radarr, avoiding the need to add a
self-signed certificate to your certification store. Use at your own
risk.
Fixes #20 .
3 years ago
Robert Dailey
d540cf37c9
feat: Add JSON schema for settings
3 years ago
Robert Dailey
2fe29f3b16
feat: settings functionality
...
A settings file, `settings.yml` is now available which stores global
configuration such as the clone URL for the Github Trash repository.
3 years ago
Robert Dailey
3d4b44a0ed
chore: Sort packages in root targets file
3 years ago
Robert Dailey
a64347e96f
chore: Add TrimNewlines() string extension method
3 years ago
Robert Dailey
3641b93dbb
chore: Upgrade AutoMapper to v11
3 years ago
Robert Dailey
1cb6354faf
chore: Allow longer attributes on a single line
3 years ago
Robert Dailey
a33c3f1d32
chore: move ServiceCommand to new directory
3 years ago
Robert Dailey
592d217020
refactor: Move yaml deserializer creation logic to a factory
3 years ago
Robert Dailey
88633392a9
refactor: Autofac support in AutoMockData
3 years ago
Robert Dailey
498644c0e8
chore: Reorganize Config code
3 years ago
Robert Dailey
084b87e96d
build: Add Coverlet package to unit tests
3 years ago
Robert Dailey
c0659cab3e
chore: Make all test packages private
3 years ago
Robert Dailey
74b9fe7d89
build: Upgrade System.IO.Abstractions from v14 to v16
3 years ago
Robert Dailey
6820e785d9
test: introduce AutoFixture library and support code
3 years ago
Robert Dailey
d8eac2e381
chore: sort package references in root props file
3 years ago
Robert Dailey
814418a002
chore: formatting settings
3 years ago
Robert Dailey
593740900a
refactor: convert to file-scoped namespaces
3 years ago
Robert Dailey
e67b4296b3
chore: remove CPP specific settings in editorconfig
3 years ago
Robert Dailey
f2c117da66
chore: require newline before while in editorconfig
3 years ago
Robert Dailey
3f0583a05a
build: Lock libgit2sharp to 0.27 preview builds
3 years ago
Robert Dailey
7451b8526c
refactor: Remove IServiceCommand from composition root
...
Registering this type fails the unit tests because it cannot be
constructed unless you use Lazy<> otherwise it throws due to the active
service command not being set yet in the IActiveServiceCommandProvider
class.
3 years ago
Robert Dailey
8d1706ca02
fix: Autofac exception when resolving IServiceCommand
3 years ago
Robert Dailey
b0bbb23d3b
build: disable CLS compliance for all projects
...
This is to silence an analysis warning.
3 years ago
Robert Dailey
90c46c52cf
build: AllEnabledByDefault for AnalysisMode
3 years ago
Robert Dailey
bc36c27307
build: upgrade System.IO.Abstractions package
3 years ago
Robert Dailey
b7e85e2307
build: remove explicit net analyzers package
3 years ago
Robert Dailey
ee3cfec50a
refactor: use correct container types through code base
...
From Sonarcloud code smell list
3 years ago
Robert Dailey
ebb924da12
refactor: address sonarcloud/analyzer code smells and warnings
3 years ago
Robert Dailey
237ee97a3b
chore: update .editorconfig
3 years ago
Robert Dailey
b78e87119a
build: upgrade all nuget package versions
3 years ago
Robert Dailey
7f43413158
build: upgrade to .NET 6
3 years ago
Robert Dailey
5eb58ce4ae
fix: do not publish System.Reactive.xml
3 years ago
Robert Dailey
53b11e04c9
chore: code cleanup on solution
3 years ago
Robert Dailey
6036be0d29
fix(sonarr): race condition during version retrieval
3 years ago
Robert Dailey
1772e7c9fd
refactor: sanitized logs for http communication
...
HTTP requests and responses are logged at DBG level. Host name and API
key are obfuscated for user privacy.
3 years ago
Robert Dailey
1a008e272e
fix: free-quota exception from njsonschema generator
3 years ago
Robert Dailey
6f2d946902
fix: sonarr devs broke the release profile api
...
The Sonarr developers made a backward-breaking API change resulting in
Trash Updater being unable to obtain, create, or update release
profiles. This fix keeps backward compatibility with the previous and
current schema at the cost of additional code complexity.
The specific breakage was in the Ignored and Required properties of the
Release Profile JSON schema. They were converted from string type to
array.
Offending change:
deed85d2f9/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs
Fixes #16
3 years ago
Robert Dailey
b1651c89c6
chore: fix various warnings
3 years ago
Robert Dailey
74ca11e309
chore: editorconfig style updates
3 years ago