diff --git a/code/Common/Configuration/DTOs/DownloadCleaner/DownloadCleanerConfigDto.cs b/code/Common/Configuration/DTOs/DownloadCleaner/DownloadCleanerConfigDto.cs index 9619d004..83513bfe 100644 --- a/code/Common/Configuration/DTOs/DownloadCleaner/DownloadCleanerConfigDto.cs +++ b/code/Common/Configuration/DTOs/DownloadCleaner/DownloadCleanerConfigDto.cs @@ -33,7 +33,7 @@ public class DownloadCleanerConfigDto /// /// Target category for unlinked downloads /// - public string UnlinkedTargetCategory { get; set; } = "cleanuperr-unlinked"; + public string UnlinkedTargetCategory { get; set; } = "cleanuparr-unlinked"; /// /// Whether to use tags instead of categories for unlinked downloads diff --git a/code/Common/Configuration/DownloadCleaner/DownloadCleanerConfig.cs b/code/Common/Configuration/DownloadCleaner/DownloadCleanerConfig.cs index fb8ca304..643b73da 100644 --- a/code/Common/Configuration/DownloadCleaner/DownloadCleanerConfig.cs +++ b/code/Common/Configuration/DownloadCleaner/DownloadCleanerConfig.cs @@ -18,7 +18,7 @@ public sealed record DownloadCleanerConfig : IJobConfig public string IgnoredDownloadsPath { get; init; } = string.Empty; - public string UnlinkedTargetCategory { get; init; } = "cleanuperr-unlinked"; + public string UnlinkedTargetCategory { get; init; } = "cleanuparr-unlinked"; public bool UnlinkedUseTag { get; init; } diff --git a/code/Data/DataContext.cs b/code/Data/DataContext.cs index 6af26e8b..a53cce14 100644 --- a/code/Data/DataContext.cs +++ b/code/Data/DataContext.cs @@ -17,7 +17,7 @@ public class DataContext : DbContext { if (!optionsBuilder.IsConfigured) { - var dbPath = Path.Combine(ConfigurationPathProvider.GetSettingsPath(), "cleanuparr.db"); + var dbPath = Path.Combine(ConfigurationPathProvider.GetConfigPath(), "cleanuparr.db"); optionsBuilder.UseSqlite($"Data Source={dbPath}"); } } diff --git a/code/Executable/DependencyInjection/ApiDI.cs b/code/Executable/DependencyInjection/ApiDI.cs index b4c1658f..bb7dea2d 100644 --- a/code/Executable/DependencyInjection/ApiDI.cs +++ b/code/Executable/DependencyInjection/ApiDI.cs @@ -65,9 +65,9 @@ public static class ApiDI app.UseSwagger(); app.UseSwaggerUI(options => { - options.SwaggerEndpoint("/swagger/v1/swagger.json", "Cleanuperr API v1"); + options.SwaggerEndpoint("/swagger/v1/swagger.json", "Cleanuparr API v1"); options.RoutePrefix = "swagger"; - options.DocumentTitle = "Cleanuperr API Documentation"; + options.DocumentTitle = "Cleanuparr API Documentation"; }); } diff --git a/code/Executable/DependencyInjection/LoggingDI.cs b/code/Executable/DependencyInjection/LoggingDI.cs index d22c1761..470965d2 100644 --- a/code/Executable/DependencyInjection/LoggingDI.cs +++ b/code/Executable/DependencyInjection/LoggingDI.cs @@ -79,7 +79,7 @@ public static class LoggingDI // Add main log file logConfig.WriteTo.File( - path: Path.Combine(logsPath, "cleanuperr-.txt"), + path: Path.Combine(logsPath, "cleanuparr-.txt"), formatter: new ExpressionTemplate(fileTemplate), fileSizeLimitBytes: 10L * 1024 * 1024, rollingInterval: RollingInterval.Day, @@ -93,7 +93,7 @@ public static class LoggingDI .MinimumLevel.Override("Microsoft", LogEventLevel.Warning) .MinimumLevel.Override("Quartz", LogEventLevel.Warning) .MinimumLevel.Override("System.Net.Http.HttpClient", LogEventLevel.Error) - .Enrich.WithProperty("ApplicationName", "cleanuperr"); + .Enrich.WithProperty("ApplicationName", "Cleanuparr"); return logConfig; } diff --git a/code/Executable/HostExtensions.cs b/code/Executable/HostExtensions.cs index 9264c19c..e10305b1 100644 --- a/code/Executable/HostExtensions.cs +++ b/code/Executable/HostExtensions.cs @@ -16,8 +16,8 @@ public static class HostExtensions logger.LogInformation( version is null - ? "cleanuperr version not detected" - : $"cleanuperr v{version.Major}.{version.Minor}.{version.Build}" + ? "Cleanuparr version not detected" + : $"Cleanuparr v{version.Major}.{version.Minor}.{version.Build}" ); logger.LogInformation("timezone: {tz}", TimeZoneInfo.Local.DisplayName); diff --git a/code/Infrastructure/Logging/README.md b/code/Infrastructure/Logging/README.md index c605a72d..4da3485d 100644 --- a/code/Infrastructure/Logging/README.md +++ b/code/Infrastructure/Logging/README.md @@ -53,7 +53,7 @@ logger.WithCategory(LoggingCategoryConstants.Jobs) Logs are stored in the following locations: -- **Main log file**: `{config_path}/logs/cleanuperr-.txt` +- **Main log file**: `{config_path}/logs/cleanuparr-.txt` - **Category logs**: `{config_path}/logs/{category}-.txt` (e.g., `system-.txt`, `api-.txt`) The log files use rolling file behavior: diff --git a/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrPayload.cs b/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrPayload.cs index 24e5da9b..4a1d8967 100644 --- a/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrPayload.cs +++ b/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrPayload.cs @@ -9,7 +9,7 @@ public class NotifiarrPayload public class NotifiarrNotification { public bool Update { get; set; } - public string Name => "Cleanuperr"; + public string Name => "Cleanuparr"; public int? Event { get; set; } } diff --git a/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrProvider.cs b/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrProvider.cs index 53d0a085..3aca20c7 100644 --- a/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrProvider.cs +++ b/code/Infrastructure/Verticals/Notifications/Notifiarr/NotifiarrProvider.cs @@ -11,7 +11,7 @@ public class NotifiarrProvider : NotificationProvider private const string WarningColor = "f0ad4e"; private const string ImportantColor = "bb2124"; - private const string Logo = "https://github.com/flmorg/cleanuperr/blob/main/Logo/48.png?raw=true"; + private const string Logo = "https://github.com/Cleanuparr/Cleanuparr/blob/main/Logo/48.png?raw=true"; public override NotifiarrConfig Config => _config.Notifiarr;