Add viewer-range categories, nomination tracking, dynamic showact form, session timeout, share URLs, and workflow-per-season
Features: - Category viewer ranges + subcategory templates (admin group modal, tree workspace) - Nomination enrichment via TwitchTracker API (NominationEnrichmentService, TwitchTrackerViewerStatsProvider) with admin tracking rules editor - Nomination group tracker: CategoryGroupName as primary identifier, CategoryId stays as nullable legacy field; StreamerIdentity table - Dynamic showact application form builder (AdminShowactFormBuilder, ShowactApplicationSchedule) - Session idle timeout setting (AdminSessionTimeoutCard) - Share URLs for X and Discord (SiteSettings, public extras) - Workflow rules now stored per season (falls back to global SiteSettings) - New admin routes: settings/access, settings/workflows, tracking-rules - New admin review workspace with subcategory tabs - AdminCategoriesView rebuilt with group/subcategory modals Migrations (all additive): - AddShareUrls, AddShowactDynamicForm, AddCategoryViewerRanges, AddSessionIdleTimeoutSettings, AddSeasonSubcategoryTemplates, AddNominationGroupTrackerIdentity, AddShowactApplicationSchedule, AddSeasonWorkflowRulesJson Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,8 @@ public sealed class SiteSettings
|
||||
public string HostDisplayName { get; set; } = string.Empty;
|
||||
public string HostTagline { get; set; } = string.Empty;
|
||||
public string NewsletterUrl { get; set; } = string.Empty;
|
||||
public string ShareXUrl { get; set; } = string.Empty;
|
||||
public string ShareDiscordUrl { get; set; } = string.Empty;
|
||||
public string PrivacyEmail { get; set; } = string.Empty;
|
||||
public string PrivacyPolicyContent { get; set; } = string.Empty;
|
||||
public string? PrivacyPolicyUpdatedBy { get; set; }
|
||||
@@ -22,13 +24,19 @@ public sealed class SiteSettings
|
||||
public string FaqJson { get; set; } = "[]";
|
||||
public string RiskRulesJson { get; set; } = "[]";
|
||||
public string WorkflowRulesJson { get; set; } = "[]";
|
||||
public string TrackingRulesJson { get; set; } = "[]";
|
||||
public string ViewerStatsProviderBaseUrl { get; set; } = string.Empty;
|
||||
public string TrackingReviewNotes { get; set; } = string.Empty;
|
||||
public string NominationLinkBlacklistJson { get; set; } = "[]";
|
||||
public bool ClipSubmissionsEnabled { get; set; }
|
||||
public bool ClipReviewEnabled { get; set; } = true;
|
||||
public bool ClipAdminMenuVisible { get; set; } = true;
|
||||
public string ClipSubmissionDisabledMessage { get; set; } = "Clip-Einreichungen sind aktuell geschlossen.";
|
||||
public bool ShowactApplicationsEnabled { get; set; }
|
||||
public DateOnly? ShowactApplicationStartsAt { get; set; }
|
||||
public DateOnly? ShowactApplicationEndsAt { get; set; }
|
||||
public string ShowactApplicationDisabledMessage { get; set; } = "Showact-Bewerbungen sind aktuell geschlossen.";
|
||||
public string ShowactFormSchemaJson { get; set; } = "[]";
|
||||
public bool SponsorsVisible { get; set; } = true;
|
||||
public bool DemoLoginManagedByDatabase { get; set; }
|
||||
public bool DemoLoginEnabled { get; set; }
|
||||
@@ -42,6 +50,7 @@ public sealed class SiteSettings
|
||||
public string TwitchClientSecret { get; set; } = string.Empty;
|
||||
public string TwitchRedirectUri { get; set; } = string.Empty;
|
||||
public string TwitchScope { get; set; } = string.Empty;
|
||||
public int SessionIdleTimeoutHours { get; set; } = 3;
|
||||
public bool MaintenanceModeEnabled { get; set; }
|
||||
public string MaintenanceTitle { get; set; } = "Sternenpause";
|
||||
public string MaintenanceMessage { get; set; } = "Die Award-Galaxie wird gerade liebevoll poliert. Schau gleich wieder vorbei.";
|
||||
|
||||
Reference in New Issue
Block a user