Robert Dailey
8bca7111c4
feat: Introduce new includes dir for include templates
...
The prior method of supporting local include templates (files in
subdirectories under the `configs` directory) is deprecated.
7 months ago
Robert Dailey
6a848b50c3
refactor: Move SupportedServices to the TrashGuide project
...
It was previously located in Common, which I'm trying to gradually get
rid of. Supported services are ultimately determined by what is in the
guide, so that seems like the best place for it.
7 months ago
Robert Dailey
d45563cf1c
feat!: Remove Sonarr v3 Support
...
Includes complete removal of Release Profile support.
8 months ago
Robert Dailey
e99f4cb766
refactor: Refactor cache logic
...
- `CustomFormatCache` is now a utility class for updating cache entries.
- `CustomFormatCacheData` is now what `CustomFormatCache` used to be
(data object used for serialization).
- `CustomFormatCachePersister` is now specific to custom formats. Future
cache types will have their own persister implementation.
12 months ago
Robert Dailey
a937de74cf
refactor: Fix several warnings related to .NET 8 updates
...
Also deleted ConfigurationException since it is unused.
1 year ago
Robert Dailey
cb0ed50359
refactor: Remove redundant class bodies in solution
1 year ago
Robert Dailey
6811706b2f
refactor: Convert all class constructors to primary
1 year ago
Robert Dailey
8bf205f171
fix: Properly rethrow non-deterministic exceptions
...
Doing `throw <myExceptionVariable>` causes the stack trace information
to be rewritten (we don't want this). Wrapping in a new exception object
like `AggregateException` fixes that but also makes the printed
exception look messier.
Instead, simply return a bool to indicate if `HandleException()`
processed the the exception; if not, then we can rethrow from outside
the method.
1 year ago
Robert Dailey
8b2b1302c6
fix: Do not render repo update status when `--raw` is used
...
Fixes #215
1 year ago
Robert Dailey
acd9b3ec75
feat: CLI command to list media naming formats
1 year ago
Robert Dailey
a4cfa4706d
refactor: More TrashLib splitting
1 year ago
Robert Dailey
9ede5125bf
refactor: Split up TrashLib into more projects
1 year ago
Robert Dailey
1bbafa6386
refactor!: Remove support for old cache directories
...
Old cache directories previously included the instance name in the hash
generation. Code to support migration from this old path has been
removed.
Relates to #202 .
1 year ago
Robert Dailey
159861aaeb
refactor: Split Recyclarr.TrashLib project
...
Split into Config and Guide class library projects to help decouple and
componentize the TrashLib library, which is growing too big.
1 year ago
Robert Dailey
8f267483a2
feat: Add list command for template includes
1 year ago
Robert Dailey
175aa6733b
refactor: Reorganize config list command code
...
This is in preparation for changes to list template includes
1 year ago
Robert Dailey
ef8ae7dd48
refactor: Centralize repo updating
...
Repo updating is also a little more robust now.
1 year ago
Robert Dailey
0b82c3bea3
fix: Better processing for HTTP 500 service responses
...
Fixes #206 .
1 year ago
Robert Dailey
3f5960c414
feat: Add score sets and raw output to list custom-formats
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
3ac1de9c94
refactor: Rename placement argument for service
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
e0da419ffa
refactor: Address several analysis warnings
1 year ago
Robert Dailey
7d757c0d5f
fix: Better error messages for non-existent config files
1 year ago
Robert Dailey
7c5da06e57
refactor: Remove instance name from cache storage path
...
This step is necessary to support merging of instance sections based on
a shared URL.
1 year ago
Robert Dailey
010c788e14
feat: Add migration step to delete old repo directory
1 year ago
Robert Dailey
ee377e55fa
feat: Create configs from templates
1 year ago
Robert Dailey
ca941ac31d
refactor: Rename ConfigListCategory enum
1 year ago
Robert Dailey
deb6696622
refactor: Reorganize processor classes into subdirs
2 years ago
Robert Dailey
3823b0ec43
feat: Move config templates to new repository
2 years ago
Robert Dailey
da35eef1ed
feat!: Restructure repository settings
2 years ago
Robert Dailey
96a278b06f
refactor: Make InstanceName non-nullable
2 years ago
Robert Dailey
4a021a341b
feat!: Remove deprecated CLI commands
2 years ago
Robert Dailey
76040df597
refactor: Reorganize code and fix unit tests
2 years ago
Robert Dailey
29ca61f68f
refactor: Address several resharper analysis issues
2 years ago
Robert Dailey
1a16432341
refactor: Remove inappropriate usage of `required` in CliSettings
2 years ago
Robert Dailey
f7bfab065d
fix: Show default value in `config list` help
2 years ago
Robert Dailey
e54cef0859
feat: `config list local` implemented
2 years ago
Robert Dailey
a3c172cf02
feat: Add config list templates command
...
Lists template YAML files in the trash repo.
2 years ago
Robert Dailey
7c15c14f40
refactor: More concise usage of UsedImplicitly in SyncCommand
2 years ago
Robert Dailey
cffb8d783a
refactor: Convert processors/updaters to pipelines
2 years ago
Robert Dailey
e3d6d4f79a
refactor: Remove DI for IServiceConfiguration in API services
2 years ago
Robert Dailey
bcc65857df
refactor: Split Sonarr/Radarr orthogonally into service-based classes
...
Instead of organizing logic using service, such as Sonarr or Radarr,
organize it using function. So now logic is broken up by Custom Format,
Release Profile, and Quality Size.
2 years ago
Robert Dailey
7dec45a07a
refactor: Eliminate generics for config type
2 years ago
Robert Dailey
5adb966aa9
refactor: Add serilog to implicit usings
2 years ago
Robert Dailey
86eca33eb3
refactor: Move Commands.Shared CS files up a level
...
This is to address a roslyn warning.
2 years ago
Robert Dailey
c45860d280
refactor: BaseUrl type is now Uri instead of string
2 years ago
Robert Dailey
806a0fa64f
refactor: Do not use "empty" for SonarrCommand terms
2 years ago
Robert Dailey
7cdd94e626
fix: Use right deprecation message based on arguments
2 years ago