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
5b0dfe0fa6
chore: Allow version override in Prepare-Release.ps1
1 year ago
Robert Dailey
d30bd864af
release: v5.0.1
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
fd8a2f570b
test: Add AutoFixture to global usings in Cli test project
1 year ago
Robert Dailey
11f3ab005b
feat: Continue running if git fetch fails
...
As long as there's a valid clone available and no other git commands
fail, we allow `git fetch` to fail and proceed processing commands. Even
if internet connectivity is down, that shouldn't necessarily prevent
sync from functioning.
The primary motivation for this change is that we expect the Trash
Guides repo to be relocated soon and I do not want that to cause the
program to stop working between the change and when I can update the
URL.
1 year ago
Robert Dailey
012a9ef755
chore: Fix incorrect settings schema
1 year ago
Robert Dailey
195c5107bd
release: v5.0.0
1 year ago
Robert Dailey
596fc72dfe
build: Remove debug option from sync run configuration
1 year ago
Robert Dailey
4b22fc9d36
chore: Update schema to reflect new defaults
1 year ago
Robert Dailey
220ec773ef
chore: Add api key to docker-compose service
1 year ago
Robert Dailey
066c783202
docs(changelog): Specify correct boolean default
1 year ago
Robert Dailey
ee377e55fa
feat: Create configs from templates
1 year ago
Robert Dailey
67b2166d8b
ci: Use better way of specifying opencover format
1 year ago
Robert Dailey
ca941ac31d
refactor: Rename ConfigListCategory enum
1 year ago
Robert Dailey
579cadb9db
ci: Exclude deleted files from code cleanup
1 year ago
Robert Dailey
d5c4a5d8ec
test: Remove unused FileSystem extension methods
1 year ago
Robert Dailey
e61a23e649
build: Upgrade all nuget packages
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
ebdea5eabf
build: Add debug option to sync preview run config
1 year ago
Robert Dailey
6b3bf893b5
build: Use debug option with sync command
1 year ago
Robert Dailey
71c27f117b
chore: Revamp debugging docker compose YAML
...
- Use onedr0p images for radarr/sonarr so we can specify API keys
- Create stable & develop services for each
1 year ago
Robert Dailey
be7dac7e62
build: Upgrade all nuget packages
1 year ago
Robert Dailey
a8aaca42cc
feat: Support `*.yaml` extension
2 years ago
Robert Dailey
4f0e365dd5
test: Remove a few Refresh() calls no longer needed
...
Some Refresh calls happen automatically now for IFileInfo, etc. in
MockFileSystem.
2 years ago
Robert Dailey
2e1c7bff7d
build: Upgrade all nuget packages
2 years ago
Robert Dailey
9dbd0e56fa
build: Upgrade all nuget packages
2 years ago
Robert Dailey
6d90e8f293
chore: Remove attached folder from Rider project
2 years ago
Robert Dailey
a053c59cd6
chore: Fix editorconfig test project rules
...
The path was changed so that integration test projects are included.
2 years ago
Robert Dailey
deb6696622
refactor: Reorganize processor classes into subdirs
2 years ago
Robert Dailey
cdf4b27686
fix: Explicitly add System.Private.Uri package to resolve security issue
...
Resolves:
- CVE-2019-0981
- CVE-2019-0980
- CVE-2019-0657
2 years ago
Robert Dailey
ed3e95be02
docs: Fix broken link in CONTRIBUTING.md
2 years ago
Robert Dailey
f0d88854f8
ci: Changes to markdown lint workflow
...
- Do not trigger on changes to yaml files under `src`
- Upgrade markdownlint-cli2-action to v10
2 years ago
Robert Dailey
cab505591f
chore: Remove unused code
2 years ago
Robert Dailey
8d2f582b38
refactor: Move all test projects under src/tests
...
This allows easier specification of test-specific msbuild properties
2 years ago
Robert Dailey
3823b0ec43
feat: Move config templates to new repository
2 years ago
Robert Dailey
7edcd77f98
fix: Use correct link in settings.yml template
2 years ago
Robert Dailey
3127ab3bb8
refactor: Delete auto-created temp dir in MockFileSystem
...
Needed because of this issue:
https://github.com/TestableIO/System.IO.Abstractions/issues/983
2 years ago
Robert Dailey
2c7f220a71
refactor: Add LeafDirectories() extension method for MockFileSystem
2 years ago
Robert Dailey
f1f9887042
refactor: Introduce config template repo settings
2 years ago
Robert Dailey
da35eef1ed
feat!: Restructure repository settings
2 years ago
Robert Dailey
b8ac93a464
refactor: Fix broken URLs
2 years ago
Robert Dailey
058c06504b
build: Upgrade nuget packages
2 years ago
Robert Dailey
96a278b06f
refactor: Make InstanceName non-nullable
2 years ago
Robert Dailey
fe9f98e435
refactor: Make exception class serializable
2 years ago
Robert Dailey
5609853321
feat!: Remove old migration steps
...
The following migration steps were removed:
- `MigrateTrashUpdaterAppDataDir`
- `MigrateTrashYml`
2 years ago