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
3d9dc185b1
chore: Self-signed certificate file for debugging
3 years ago
Robert Dailey
38c59827bc
chore: Add settings reference link to README
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
dfb981ffc2
docs: Fix bad vanity link in settings reference
3 years ago
Robert Dailey
0c10134c36
docs: Add version info to settings reference page
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
b6b6ebda9e
chore: Reformatted a little bit in README
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
45e6bd6a3b
ci: Fix broken code coverage in SonarCloud
...
- Properly format coverlet coverage report
- Set path to coverage reports
Documented here:
- https://github.com/coverlet-coverage/coverlet/issues/955
- https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/VSTestIntegration.md#passing-runsettings-arguments-through-commandline
3 years ago
Robert Dailey
dc056204fe
ci: Add code coverage collection to SonarCloud
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
bf84a88876
chore: update release notes for last fix
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
d339a95825
ci: sonarcloud code analysis support
...
Squashed commit of the following:
commit 673f4b7441d910cf25dce6842552a06bf5f76490
Author: Robert Dailey <rcdailey@gmail.com>
Date: Wed Nov 10 12:37:55 2021 -0600
Add SonarCloud integration
commit 5dfe5cf7a2c2a96ecdc0c684c605334460efbf73
Author: Robert Dailey <rcdailey@gmail.com>
Date: Wed Nov 10 12:46:40 2021 -0600
Reformat YAML
commit d210104ffee6fea81304312588e9fa89fb1a86f0
Author: Robert Dailey <rcdailey@gmail.com>
Date: Wed Nov 10 12:46:16 2021 -0600
Remove stale comments in build.yml
commit 66f18519c39b1cece888d7028cd2056d2f8dfbe3
Author: Robert Dailey <rcdailey@gmail.com>
Date: Wed Nov 10 12:44:28 2021 -0600
Set up schema for build.yml
3 years ago
Robert Dailey
4dfd03d82c
ci: use dotnet 6.0 in build workflow
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
30a3262985
release: v1.6.6
3 years ago
Robert Dailey
53b11e04c9
chore: code cleanup on solution
3 years ago
Robert Dailey
6eea15e4c4
chore: release notes for previous version check fix
3 years ago