2d3b29176f
This commit introduces a new structure for handling parsing issues in the EventOccurrenceParser, allowing for detailed reporting of parsing problems such as unmatched lines, missing event definitions, and parsing failures for time, date, and location. A new ParsingIssue class has been added to encapsulate these details. Additionally, a LocationParsingConfiguration class has been implemented to support customizable location patterns, enhancing the flexibility of the parser. The EventOccurrenceParserService has been updated to utilize this configuration, and new tests have been added to ensure robust issue detection and reporting. Furthermore, the UI has been updated to display parsing issues, improving user feedback during the import process.
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"System": "Warning"
|
|
}
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ChapterSettings": {
|
|
"Name": "Your Chapter Name",
|
|
"ShortName": "YCN",
|
|
"NationalId": "0000",
|
|
"StateId": "00000",
|
|
"RegionalId": "00000",
|
|
"CompetitionYear": "2026"
|
|
},
|
|
"ValidationSettings": {
|
|
"MinRecommendedEvents": 2,
|
|
"MaxRecommendedEvents": 4,
|
|
"MinCriticalEvents": 1,
|
|
"MaxCriticalEvents": 6,
|
|
"MaxRegionalEvents": 3,
|
|
"RequireRegionalEvent": true,
|
|
"RequireOnSiteActivity": true,
|
|
"RequireIndividualEvent": false,
|
|
"RequireTeamCaptain": true,
|
|
"NoRegionalEventSeverity": "Warning",
|
|
"NoOnSiteActivitySeverity": "Warning",
|
|
"NoIndividualEventSeverity": "Warning",
|
|
"TeamSizeSeverity": "Warning",
|
|
"EventCountSeverity": "Warning",
|
|
"MissingCaptainSeverity": "Warning",
|
|
"TooManyRegionalEventsSeverity": "Warning"
|
|
},
|
|
"LocationParsingSettings": {
|
|
"LocationPatterns": [
|
|
"Room *",
|
|
"Hall *",
|
|
"Conference Room *",
|
|
"Building *",
|
|
"Auditorium *",
|
|
"Exhibit Hall *",
|
|
"Mtg. Room *",
|
|
"Meeting Room *",
|
|
"Banquet Room *",
|
|
"Online",
|
|
"Virtual"
|
|
]
|
|
}
|
|
}
|