Robert Dailey
85c7e167a1
refactor: service cache per-service
...
A FNV1a hash is generated for the `base_uri` value in each service
config. This hash is used to separate cache files between different
instances.
4 years ago
Robert Dailey
bb07aec749
refactor(config): make IServiceConfiguration available via DI
4 years ago
Robert Dailey
b3ab16b75b
refactor(config): sonarr release profile type is required
4 years ago
Robert Dailey
12ff259c09
refactor(config): base_url and api_key are required
4 years ago
Robert Dailey
070a961ed0
refactor(config): make radarr quality_definition.type required
4 years ago
Robert Dailey
03ee600346
refactor: implement validating deserializer for YamlDotNet
4 years ago
Robert Dailey
420635d781
refactor: rename BaseConfiguration to ServiceConfiguration
4 years ago
Robert Dailey
20c155e606
docs: disable no-duplicate-heading markdown lint
4 years ago
Robert Dailey
22ac6144b0
release: v1.3.3
4 years ago
Robert Dailey
5a9a517534
fix: max at 400 is updated to unlimited
...
For radarr also applies to preferred of 395
4 years ago
Robert Dailey
b48488fdc7
docs(changelog): last bug fix
...
Forgot to mention the last bugfix for Sonarr quality definition max
handling for unlimited.
4 years ago
Robert Dailey
bcbdc580ff
refactor: fix roslyn analyzer warnings
...
- fix warnings across the code base
- exclude CA rules via .editorconfig as needed
- use newer version of `Microsoft.CodeAnalysis.NetAnalyzers`
4 years ago
Robert Dailey
3d3c6f327d
fix(sonarr): quality definition unlimited support
...
Also added some code sharing between Radarr and Sonarr for this stuff,
since they are largely similar (Radarr has preferred size but the rest
is the same).
4 years ago
Robert Dailey
f25d2620b5
refactor: use generic param in unit test
...
This didn't break the test because its only used for ICommand at the
moment, but updating it for future use.
4 years ago
Robert Dailey
14bc0f9354
release: v1.3.2
4 years ago
Robert Dailey
008adedf9d
fix: create-config autofac registration
...
Can now use the create-config subcommand without autofac throwing an
exception
4 years ago
Robert Dailey
be0c2e23db
release: v1.3.1
4 years ago
Robert Dailey
105b9776b5
docs(changelog): bugfix for quality definition
4 years ago
Robert Dailey
1ace0fb13d
fix(radarr): quality definition now sets unlimited
...
For max and preferred values
4 years ago
Robert Dailey
41fdd3b174
chore: add defaults to .editorconfig
4 years ago
Robert Dailey
13ee03473c
refactor: new service cache class
...
Allows reading and writing objects to a local object store (a directory
starting at the user's home dir).
4 years ago
Robert Dailey
f1e9b4f507
refactor: add class dedicated to global paths
4 years ago
Robert Dailey
17fec13107
chore: delete unused azure pipelines yml
4 years ago
Robert Dailey
76d3c39ac3
chore: rider encoding settings set to utf8 no BOM
4 years ago
Robert Dailey
1034d64ea5
chore: code cleanup rules saved to DotSettings file
4 years ago
Robert Dailey
577c94921e
chore: add editorconfig for code style
4 years ago
Robert Dailey
29099f9ee9
docs(readme): remove limitations and roadmap
...
These sections are not particularly useful anymore since the program has
matured. Going forward I plan to track roadmap items and limitations as
issues in Github.
I also fixed a minor typo in the getting started section.
4 years ago
Robert Dailey
f1b1c8031c
refactor: fix warnings in unit test
4 years ago
Robert Dailey
d3943b5bdc
style: code cleanup
4 years ago
Robert Dailey
173011b320
refactor: new active command provider semantics
...
This allows for code to access the active IServiceCommand object, which
represents a subcommand that provides an implementation for a service
like Radarr or Sonarr.
4 years ago
Robert Dailey
1a02cc0d4a
build: Add InternalsVisibleTo to all projects
...
Taken from:
https://www.meziantou.net/declaring-internalsvisibleto-in-the-csproj.htm
4 years ago
Robert Dailey
46815a767a
refactor: move yamldotnet extensions to respective directory
4 years ago
Robert Dailey
eaeb06eb26
ci: better dotnet publish in build workflow
...
- Executable is now compiled using Ready to Run. This increases the size
of the executable but makes the code much faster.
- `src` directory is no longer the cwd
- The matrix build in build.yml now runs on its respective platform to
avoid cross compilation. Cross compiling does not work with the
ReadyToRun optimization on, see:
https://docs.microsoft.com/en-us/dotnet/core/deploying/ready-to-run#cross-platformarchitecture-restrictions
- publish and zip steps in the workflow have been put in a powershell
script for reusability and to keep the workflow YAML minimal.
4 years ago
Robert Dailey
1b09094aa1
docs(readme): remove work in progress banner
4 years ago
Robert Dailey
46dfd2a5e7
docs(readme): add badges
...
license, build status, release, and discord
4 years ago
Robert Dailey
5653b3d513
docs(readme): add read permission in linux one liner
4 years ago
Robert Dailey
ed87ce1b75
release: v1.3.0
4 years ago
Robert Dailey
cae42554ca
docs(changelog): clarify feature description
...
For optional term sync
4 years ago
Robert Dailey
32c95e5096
docs(readme): emphasize optional is configurable
...
Add wording to communicate that optional terms, by default, do not sync
to Sonarr but that is configurable now.
4 years ago
Robert Dailey
58f3789fde
chore: prepare release keeps newline in changelog
...
The Update-Changelog function of the ChangelogManagement module removes
newlines at the end of CHANGELOG.md. A workaround is in place to always
add back a newline.
The objective is to avoid unnecessary diffs during changelog updates.
4 years ago
Robert Dailey
b1abb2ca85
feat: allow optional terms to be synced
...
New `filter` YAML config provided to enable this feature using
`include_optional` (true or false).
4 years ago
Robert Dailey
fc7c8bce30
docs(wiki): Add optional to guidelines
...
Explain how optional works in the trash guide structural guidelines
4 years ago
Robert Dailey
eb59cbb3f4
docs(readme): Incorrect option for create-config
...
I said `--config` instead of `--path`. Oops.
4 years ago
Robert Dailey
638e3d353b
ci: Discord notification workflow for releases
...
When a new release is published, a Github Action workflow kicks off that
sends a customized notification to Discord.
4 years ago
Robert Dailey
b8cad7b873
docs(readme): Mention that optional terms ignored
...
Features list now shows that "optional" terms in the release profile
guide are ignored by default.
Limitations section now states that there is currently no mechanism to
selectively include optional terms.
4 years ago
Robert Dailey
882e4f10ee
docs(readme): getting started adjustments
4 years ago
Robert Dailey
f357f6fd17
release: v1.2.0
4 years ago
Robert Dailey
52b9e52c1b
chore: Powershell script to prepare releases
4 years ago
Robert Dailey
2eefdc0325
feat: New `create-config` subcommand
...
Allows the user to create a starter YAML config
4 years ago
Robert Dailey
48aeb2d7c5
test: Unit tests for some TestLibrary classes
4 years ago