From 24de016ee62862f0f6319b15a074d3b73e900073 Mon Sep 17 00:00:00 2001 From: axunonb Date: Tue, 10 Oct 2023 09:52:38 +0200 Subject: [PATCH] Fix: PostCSS line return parsing error --- League/package.json | 1 + .../Assets/holidays_bayern_2024.ics | 89 +++++++++++++++++++ .../Data/RankingRepository.cs | 4 +- 3 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 TournamentManager/TournamentManager/Assets/holidays_bayern_2024.ics diff --git a/League/package.json b/League/package.json index 704004bd..ae35ccde 100644 --- a/League/package.json +++ b/League/package.json @@ -24,6 +24,7 @@ "js-cookie": "2.2.1", "jsnlog": "2.30.0", "node-sass": "9.0.0", + "postcss": "^8.4.31", "pixrem": "5.0.0", "@popperjs/core": "2.11.8", "@eonasdan/tempus-dominus": "6.7.13", diff --git a/TournamentManager/TournamentManager/Assets/holidays_bayern_2024.ics b/TournamentManager/TournamentManager/Assets/holidays_bayern_2024.ics new file mode 100644 index 00000000..5026ef19 --- /dev/null +++ b/TournamentManager/TournamentManager/Assets/holidays_bayern_2024.ics @@ -0,0 +1,89 @@ +BEGIN:VCALENDAR +VERSION:2.0 +METHOD:PUBLISH +PRODID:-//schulferien.org//iCal Generator//DE +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Winterferien 2024 Bayern +DTSTART;VALUE=DATE:20240212 +DTEND;VALUE=DATE:20240217 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e0b6c@schulferien.org +END:VEVENT +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Osterferien 2024 Bayern +DTSTART;VALUE=DATE:20240325 +DTEND;VALUE=DATE:20240407 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e1231@schulferien.org +END:VEVENT +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Pfingstferien 2024 Bayern +DTSTART;VALUE=DATE:20240521 +DTEND;VALUE=DATE:20240602 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e141d@schulferien.org +END:VEVENT +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Sommerferien 2024 Bayern +DTSTART;VALUE=DATE:20240729 +DTEND;VALUE=DATE:20240910 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e1499@schulferien.org +END:VEVENT +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Herbstferien 2024 Bayern +DTSTART;VALUE=DATE:20241028 +DTEND;VALUE=DATE:20241101 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e174b@schulferien.org +END:VEVENT +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Herbstferien 2024 Bayern +DTSTART;VALUE=DATE:20241120 +DTEND;VALUE=DATE:20241121 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e178a@schulferien.org +END:VEVENT +BEGIN:VEVENT +CREATED:20230630T032002Z +LAST-MODIFIED:20230630T032002Z +DTSTAMP:20230630T032002Z +SUMMARY:Weihnachtsferien 2024 Bayern +DTSTART;VALUE=DATE:20241223 +DTEND;VALUE=DATE:20250104 +URL:http://www.schulferien.org +DESCRIPTION:Alle Termine auf www.schulferien.org +TRANSP:TRANSPARENT +UID:F_2024_termin649e2dc4e17bc@schulferien.org +END:VEVENT +END:VCALENDAR \ No newline at end of file diff --git a/TournamentManager/TournamentManager/Data/RankingRepository.cs b/TournamentManager/TournamentManager/Data/RankingRepository.cs index 5531fb6d..f6e13bd0 100644 --- a/TournamentManager/TournamentManager/Data/RankingRepository.cs +++ b/TournamentManager/TournamentManager/Data/RankingRepository.cs @@ -84,7 +84,7 @@ public virtual async Task ReplaceAsync(RankingList rankingList, long roundId, Ca // Save the new ranking entities await da.SaveEntityCollectionAsync(rankingColl, false, false, cancellationToken); - da.Commit(); + await da.CommitAsync(cancellationToken); } catch (Exception e) { @@ -126,4 +126,4 @@ public virtual async Task> GetRankingAsync(IPredicateExpress new QueryFactory().Ranking.Where(filter) ,cancellationToken)).Cast().Distinct().ToList(); } -} \ No newline at end of file +}