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
9bdb5f364c
refactor: Improve logging for caching logic
1 year ago
Robert Dailey
67d604d8a0
refactor: Log format ID in logs
1 year ago
Robert Dailey
5a3b850f11
style: Code cleanup on CS files
1 year ago
Robert Dailey
58927728f8
fix: Clone/update config repo in config create command
1 year ago
Robert Dailey
010c788e14
feat: Add migration step to delete old repo directory
1 year ago
Robert Dailey
406e0590a4
fix: Refactor and re-introduce capability enforcement
...
Fixes #189
1 year ago
Robert Dailey
f020459023
fix: Do not exit application when instance sync fails
1 year ago
Robert Dailey
0eb084b146
style: Code cleanup
1 year ago
Robert Dailey
f05ff6e04b
fix: Service cache now remembers CFs no longer in config
...
With `delete_old_custom_formats: false` and
`replace_existing_custom_formats: false`, if you comment out a CF in
your configuration, sync, uncomment it and sync again, you get an error
about duplicate CFs. This is because, once a CF is removed from the
configuration, it's also removed from the cache.
This change makes the cache more flexible. As long as a CF (created by
Recyclarr) exists either in the config OR in the service itself, it will
be kept in the cache. This means that temporarily disabling CFs in
configuration won't cause ownership issues.
1 year ago
Robert Dailey
f06a2c829a
refactor: Move Cache code files to Cli project
1 year ago
Robert Dailey
715d777f9e
refactor: replace morelinq with superlinq
1 year ago
Robert Dailey
2a28130599
fix: Do not unconditionally show deleted custom formats
...
When `delete_old_custom_formats` is `false`, we should not show deleted
custom formats.
1 year ago
Robert Dailey
d799da385e
fix: Regression caused reset_unmatched_scores: false to not be respected
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
fe7773ea07
fix: Fix false-positive duplicate score warnings
...
When doing a `sync --preview`, new custom formats are not created and
thus they never get an ID greater than `0`. Because of this, a
dictionary that tracks duplicates based on ID would result in warnings
about duplicate scores that made no sense.
We now index by Trash ID instead of Format ID, which is more accurate.
1 year ago
Robert Dailey
018d5f0157
refactor: Add back ToString() overrides
...
This fixes a warning related to ToString() returning null.
1 year ago
Robert Dailey
a8aaca42cc
feat: Support `*.yaml` extension
1 year ago
Robert Dailey
deb6696622
refactor: Reorganize processor classes into subdirs
1 year ago
Robert Dailey
3823b0ec43
feat: Move config templates to new repository
1 year ago
Robert Dailey
da35eef1ed
feat!: Restructure repository settings
1 year ago
Robert Dailey
b8ac93a464
refactor: Fix broken URLs
1 year ago
Robert Dailey
96a278b06f
refactor: Make InstanceName non-nullable
1 year ago
Robert Dailey
5609853321
feat!: Remove old migration steps
...
The following migration steps were removed:
- `MigrateTrashUpdaterAppDataDir`
- `MigrateTrashYml`
1 year ago
Robert Dailey
c773a1a90b
refactor: Output log for each pipeline execution
1 year ago
Robert Dailey
cd6eda4055
feat!: Remove `reset_unmatched_scores` under quality score config
1 year ago
Robert Dailey
4a021a341b
feat!: Remove deprecated CLI commands
1 year ago
Robert Dailey
32ce3bde21
refactor: Fix serializable issue with CacheException
1 year ago
Robert Dailey
3c5b139523
refactor: Reduce cognitive complexity of method
1 year ago
Robert Dailey
134477ab46
refactor: Add timeouts to all regular expressions
1 year ago
Robert Dailey
76040df597
refactor: Reorganize code and fix unit tests
1 year ago
Robert Dailey
5c98949edc
refactor: YAML configuration relies less on custom parsing code
...
This change was necessary to facilitate the ability to serialize
(create/modify) YAML configuration data. This is a prerequisite to
creating config templates and also GUI work in the future.
1 year ago
Robert Dailey
2652a5c663
build: Move Jetbrains.Annotations to projects
1 year ago
Robert Dailey
53595fc6ce
build: Move Spectre console analyzer to project file
1 year ago
Robert Dailey
b006122921
build: Move GitVersion.Build to projects
1 year 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
a934e68227
fix: Enable strict parsing to error on unknown CLI options
2 years ago
Robert Dailey
7c15c14f40
refactor: More concise usage of UsedImplicitly in SyncCommand
2 years ago
Robert Dailey
a22d6dec33
fix: Log janitor updated to clean up logs in new 'cli' dir
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
c0bad938d7
feat: Split and restructure CLI logs
2 years ago
Robert Dailey
5adb966aa9
refactor: Add serilog to implicit usings
2 years ago