Robert Dailey
cbdd8bc469
fix(sonarr): Do not throw away optionals release profile
...
The Trash sonarr guide was restructured so that optionals were in a
dedicated release profile that had no non-optional terms in it. Logic
was only checking if a profile had non-optional terms in it, and if not,
it got tossed out. Logic now also checks to make sure there are no
optional terms as well.
3 years ago
Robert Dailey
546bd3bf5e
refactor: Enable implicit using and run code cleanup
3 years ago
Robert Dailey
4f8d76a62a
chore: Log Sonarr version number
3 years ago
Robert Dailey
8482fcc546
chore: Update changelog for last change
3 years ago
Robert Dailey
dcc4964ca3
fix: Show error when config has unrecognized YAML properties
...
This makes trash updater more picky about the configuration being
well-formed in order to better help users identify mistakes.
3 years ago
Robert Dailey
a4aa5d71b1
refactor: Disable nullability in Verify.cs
3 years ago
Robert Dailey
d6d96b69f3
release: v1.8.0
3 years ago
Robert Dailey
146c0aa3c5
chore: Add changelog for 32-bit ARM linux support
3 years ago
Robert Dailey
418f0f6de9
ci: Move smoke test to its own job
3 years ago
Robert Dailey
f0ba34c90e
feat: Support ARM and ARM64 builds of all platforms
3 years ago
Robert Dailey
279804004e
ci: Discord embed logic updated to support multiple architectures
3 years ago
Robert Dailey
25f852743a
release: v1.7.0
3 years ago
Robert Dailey
390f6c713c
ci: Workflow changes for GitVersion
3 years ago
Robert Dailey
d9086895f0
ci: Do full build in SonarCloud step
...
If we just build the test code, that won't build everything.
3 years ago
Robert Dailey
a377ec5e75
chore: Switch to GitVersion
...
https://github.com/GitTools/GitVersion
3 years ago
Robert Dailey
bf473d3eae
build: Use latestmajor for LangVersion
3 years ago
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
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