QoL
This commit is contained in:
@@ -1838,3 +1838,323 @@ SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
2026-06-26 23:14:21.574 +02:00 [INF] File logging active. Writing logs to /Users/marcwieland/Uni/Master/Projects/Timetracker/timetracker/timetracker.Server/logs
|
||||
2026-06-26 23:14:22.140 +02:00 [WRN] Entity 'WorkDay' has a global query filter defined and is the required end of a relationship with the entity 'BreakEntry'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information.
|
||||
2026-06-26 23:14:22.205 +02:00 [INF] Acquiring an exclusive lock for migration application. See https://aka.ms/efcore-docs-migrations-lock for more information if this takes too long.
|
||||
2026-06-26 23:14:22.216 +02:00 [INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsLock' AND "type" = 'table';
|
||||
2026-06-26 23:14:22.220 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
INSERT OR IGNORE INTO "__EFMigrationsLock"("Id", "Timestamp") VALUES(1, '2026-06-26 21:14:22.219046+00:00');
|
||||
SELECT changes();
|
||||
2026-06-26 23:14:22.273 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
CREATE TABLE IF NOT EXISTS "__EFMigrationsHistory" (
|
||||
"MigrationId" TEXT NOT NULL CONSTRAINT "PK___EFMigrationsHistory" PRIMARY KEY,
|
||||
"ProductVersion" TEXT NOT NULL
|
||||
);
|
||||
2026-06-26 23:14:22.279 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
|
||||
2026-06-26 23:14:22.281 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "MigrationId", "ProductVersion"
|
||||
FROM "__EFMigrationsHistory"
|
||||
ORDER BY "MigrationId";
|
||||
2026-06-26 23:14:22.284 +02:00 [INF] No migrations were applied. The database is already up to date.
|
||||
2026-06-26 23:14:22.286 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
DELETE FROM "__EFMigrationsLock";
|
||||
2026-06-26 23:14:22.412 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "u"."Id", "u"."IsTenantAdmin", "u"."PasswordHash", "u"."PasswordSalt", "u"."TenantId", "u"."Username"
|
||||
FROM "Users" AS "u"
|
||||
WHERE "u"."TenantId" IS NULL AND "u"."Username" = 'marc'
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:22.920 +02:00 [INF] Executed DbCommand (2ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:22.958 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:22.969 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
2026-06-26 23:14:23.006 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[@userId='?' (DbType = Int32), @monday='?' (DbType = Date), @AddDays='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @userId AND "w"."Date" >= @monday AND "w"."Date" < @AddDays
|
||||
ORDER BY "w"."Date", "w"."Id"
|
||||
2026-06-26 23:14:23.011 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32), @year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Id", "v"."Date", "v"."Note", "v"."TenantId", "v"."UserId"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @userId AND CAST(strftime('%Y', "v"."Date") AS INTEGER) = @year
|
||||
ORDER BY "v"."Date"
|
||||
2026-06-26 23:14:23.026 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Date"
|
||||
FROM "WorkDays" AS "w"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId
|
||||
ORDER BY "w"."Date"
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:23.052 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @startDate='?' (DbType = Date), @endDate='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId AND "w"."Date" >= @startDate AND "w"."Date" <= @endDate
|
||||
ORDER BY "w"."Id"
|
||||
2026-06-26 23:14:23.072 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@startDate='?' (DbType = Date), @endDate='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE "p"."Date" >= @startDate AND "p"."Date" <= @endDate
|
||||
2026-06-26 23:14:23.083 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @startDate='?' (DbType = Date), @endDate='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Date"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @_8__locals1_userId AND "v"."Date" >= @startDate AND "v"."Date" <= @endDate
|
||||
2026-06-26 23:14:23.879 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:28.518 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
2026-06-26 23:14:28.518 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32), @year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Id", "v"."Date", "v"."Note", "v"."TenantId", "v"."UserId"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @userId AND CAST(strftime('%Y', "v"."Date") AS INTEGER) = @year
|
||||
ORDER BY "v"."Date"
|
||||
2026-06-26 23:14:28.527 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @from='?' (DbType = Date), @to='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId AND "w"."Date" >= @from AND "w"."Date" < @to
|
||||
ORDER BY "w"."Date", "w"."Id"
|
||||
2026-06-26 23:14:33.174 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "u"."Id", "u"."IsTenantAdmin", "u"."PasswordHash", "u"."PasswordSalt", "u"."TenantId", "u"."Username"
|
||||
FROM "Users" AS "u"
|
||||
WHERE "u"."Id" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:33.175 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @from='?' (DbType = Date), @to='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId AND "w"."Date" >= @from AND "w"."Date" < @to
|
||||
ORDER BY "w"."Date", "w"."Id"
|
||||
2026-06-26 23:14:33.176 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32), @year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Id", "v"."Date", "v"."Note", "v"."TenantId", "v"."UserId"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @userId AND CAST(strftime('%Y', "v"."Date") AS INTEGER) = @year
|
||||
ORDER BY "v"."Date"
|
||||
2026-06-26 23:14:33.177 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:33.178 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
2026-06-26 23:14:33.200 +02:00 [ERR] An unhandled exception has occurred while executing the request.
|
||||
System.InvalidOperationException: The font 'Courier New' cannot be resolved for predefined error font. Use another font name or fix your font resolver. See https://docs.pdfsharp.net/link/migradoc-font-resolving-6.2.html and https://docs.pdfsharp.net/link/font-resolving.html for further information.
|
||||
---> System.InvalidOperationException: No appropriate font found for family name 'Courier New'. Implement IFontResolver and assign to 'GlobalFontSettings.FontResolver' to use fonts. See https://docs.pdfsharp.net/link/font-resolving.html
|
||||
at PdfSharp.Drawing.XGlyphTypeface.GetOrCreateFrom(String familyName, FontResolvingOptions fontResolvingOptions)
|
||||
at PdfSharp.Drawing.XFont.Initialize()
|
||||
at PdfSharp.Drawing.XFont..ctor(String familyName, Double emSize, XFontStyleEx style, XPdfFontOptions pdfOptions)
|
||||
at PdfSharp.Drawing.XFont..ctor(String familyName, Double emSize, XFontStyleEx style)
|
||||
at MigraDoc.Rendering.DocumentRenderer.PredefinedFontsAndChars.CreateFont(String familyName, Double emSize, XFontStyleEx style, String propertyDescription)
|
||||
--- End of inner exception stack trace ---
|
||||
at MigraDoc.Rendering.DocumentRenderer.PredefinedFontsAndChars.CreateFont(String familyName, Double emSize, XFontStyleEx style, String propertyDescription)
|
||||
at MigraDoc.Rendering.DocumentRenderer.PredefinedFontsAndChars.get_ErrorFont()
|
||||
at MigraDoc.Rendering.DocumentRenderer.PredefinedFontsAndChars.CreateAllFixedFonts()
|
||||
at MigraDoc.Rendering.PdfDocumentRenderer.PrepareDocumentRenderer(Boolean prepareCompletely)
|
||||
at MigraDoc.Rendering.PdfDocumentRenderer.PrepareRenderPages()
|
||||
at MigraDoc.Rendering.PdfDocumentRenderer.RenderDocument()
|
||||
at timetracker.Server.Services.PdfGeneratorService.GenerateTimesheetPdf(User user, Tenant tenant, AppSettings settings, Int32 year, Int32 month, List`1 workDays, List`1 vacationDays, List`1 holidays) in /Users/marcwieland/Uni/Master/Projects/Timetracker/timetracker/timetracker.Server/Services/PdfGeneratorService.cs:line 50
|
||||
at Program.<>c.<<<Main>$>b__0_27>d.MoveNext() in /Users/marcwieland/Uni/Master/Projects/Timetracker/timetracker/timetracker.Server/Program.cs:line 779
|
||||
--- End of stack trace from previous location ---
|
||||
at Microsoft.AspNetCore.Http.RequestDelegateFactory.ExecuteTaskResult[T](Task`1 task, HttpContext httpContext)
|
||||
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
|
||||
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
|
||||
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
|
||||
2026-06-26 23:14:33.313 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:57.355 +02:00 [INF] File logging active. Writing logs to /Users/marcwieland/Uni/Master/Projects/Timetracker/timetracker/timetracker.Server/logs
|
||||
2026-06-26 23:14:57.589 +02:00 [WRN] Entity 'WorkDay' has a global query filter defined and is the required end of a relationship with the entity 'BreakEntry'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information.
|
||||
2026-06-26 23:14:57.653 +02:00 [INF] Acquiring an exclusive lock for migration application. See https://aka.ms/efcore-docs-migrations-lock for more information if this takes too long.
|
||||
2026-06-26 23:14:57.665 +02:00 [INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsLock' AND "type" = 'table';
|
||||
2026-06-26 23:14:57.669 +02:00 [INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
INSERT OR IGNORE INTO "__EFMigrationsLock"("Id", "Timestamp") VALUES(1, '2026-06-26 21:14:57.667524+00:00');
|
||||
SELECT changes();
|
||||
2026-06-26 23:14:57.721 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
CREATE TABLE IF NOT EXISTS "__EFMigrationsHistory" (
|
||||
"MigrationId" TEXT NOT NULL CONSTRAINT "PK___EFMigrationsHistory" PRIMARY KEY,
|
||||
"ProductVersion" TEXT NOT NULL
|
||||
);
|
||||
2026-06-26 23:14:57.727 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
|
||||
2026-06-26 23:14:57.729 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "MigrationId", "ProductVersion"
|
||||
FROM "__EFMigrationsHistory"
|
||||
ORDER BY "MigrationId";
|
||||
2026-06-26 23:14:57.732 +02:00 [INF] No migrations were applied. The database is already up to date.
|
||||
2026-06-26 23:14:57.734 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
DELETE FROM "__EFMigrationsLock";
|
||||
2026-06-26 23:14:57.860 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "u"."Id", "u"."IsTenantAdmin", "u"."PasswordHash", "u"."PasswordSalt", "u"."TenantId", "u"."Username"
|
||||
FROM "Users" AS "u"
|
||||
WHERE "u"."TenantId" IS NULL AND "u"."Username" = 'marc'
|
||||
LIMIT 1
|
||||
2026-06-26 23:14:58.019 +02:00 [ERR] Hosting failed to start
|
||||
System.IO.IOException: Failed to bind to address http://127.0.0.1:5065: address already in use.
|
||||
---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
|
||||
---> System.Net.Sockets.SocketException (48): Address already in use
|
||||
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
|
||||
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
|
||||
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
|
||||
--- End of inner exception stack trace ---
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
|
||||
--- End of stack trace from previous location ---
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
|
||||
--- End of inner exception stack trace ---
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
|
||||
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
|
||||
2026-06-26 23:16:46.101 +02:00 [INF] File logging active. Writing logs to /Users/marcwieland/Uni/Master/Projects/Timetracker/timetracker/timetracker.Server/logs
|
||||
2026-06-26 23:16:46.558 +02:00 [WRN] Entity 'WorkDay' has a global query filter defined and is the required end of a relationship with the entity 'BreakEntry'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information.
|
||||
2026-06-26 23:16:46.626 +02:00 [INF] Acquiring an exclusive lock for migration application. See https://aka.ms/efcore-docs-migrations-lock for more information if this takes too long.
|
||||
2026-06-26 23:16:46.649 +02:00 [INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsLock' AND "type" = 'table';
|
||||
2026-06-26 23:16:46.658 +02:00 [INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
INSERT OR IGNORE INTO "__EFMigrationsLock"("Id", "Timestamp") VALUES(1, '2026-06-26 21:16:46.655104+00:00');
|
||||
SELECT changes();
|
||||
2026-06-26 23:16:46.737 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
CREATE TABLE IF NOT EXISTS "__EFMigrationsHistory" (
|
||||
"MigrationId" TEXT NOT NULL CONSTRAINT "PK___EFMigrationsHistory" PRIMARY KEY,
|
||||
"ProductVersion" TEXT NOT NULL
|
||||
);
|
||||
2026-06-26 23:16:46.743 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
|
||||
2026-06-26 23:16:46.745 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "MigrationId", "ProductVersion"
|
||||
FROM "__EFMigrationsHistory"
|
||||
ORDER BY "MigrationId";
|
||||
2026-06-26 23:16:46.748 +02:00 [INF] No migrations were applied. The database is already up to date.
|
||||
2026-06-26 23:16:46.749 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
DELETE FROM "__EFMigrationsLock";
|
||||
2026-06-26 23:16:46.876 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "u"."Id", "u"."IsTenantAdmin", "u"."PasswordHash", "u"."PasswordSalt", "u"."TenantId", "u"."Username"
|
||||
FROM "Users" AS "u"
|
||||
WHERE "u"."TenantId" IS NULL AND "u"."Username" = 'marc'
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:47.560 +02:00 [INF] Executed DbCommand (2ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:47.601 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:47.613 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[@year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
2026-06-26 23:16:47.651 +02:00 [INF] Executed DbCommand (1ms) [Parameters=[@userId='?' (DbType = Int32), @monday='?' (DbType = Date), @AddDays='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @userId AND "w"."Date" >= @monday AND "w"."Date" < @AddDays
|
||||
ORDER BY "w"."Date", "w"."Id"
|
||||
2026-06-26 23:16:47.656 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32), @year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Id", "v"."Date", "v"."Note", "v"."TenantId", "v"."UserId"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @userId AND CAST(strftime('%Y', "v"."Date") AS INTEGER) = @year
|
||||
ORDER BY "v"."Date"
|
||||
2026-06-26 23:16:47.668 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Date"
|
||||
FROM "WorkDays" AS "w"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId
|
||||
ORDER BY "w"."Date"
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:47.677 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @startDate='?' (DbType = Date), @endDate='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId AND "w"."Date" >= @startDate AND "w"."Date" <= @endDate
|
||||
ORDER BY "w"."Id"
|
||||
2026-06-26 23:16:47.688 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@startDate='?' (DbType = Date), @endDate='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE "p"."Date" >= @startDate AND "p"."Date" <= @endDate
|
||||
2026-06-26 23:16:47.694 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @startDate='?' (DbType = Date), @endDate='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Date"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @_8__locals1_userId AND "v"."Date" >= @startDate AND "v"."Date" <= @endDate
|
||||
2026-06-26 23:16:48.500 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:50.033 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32), @year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Id", "v"."Date", "v"."Note", "v"."TenantId", "v"."UserId"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @userId AND CAST(strftime('%Y', "v"."Date") AS INTEGER) = @year
|
||||
ORDER BY "v"."Date"
|
||||
2026-06-26 23:16:50.033 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
2026-06-26 23:16:50.041 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @from='?' (DbType = Date), @to='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId AND "w"."Date" >= @from AND "w"."Date" < @to
|
||||
ORDER BY "w"."Date", "w"."Id"
|
||||
2026-06-26 23:16:51.302 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "u"."Id", "u"."IsTenantAdmin", "u"."PasswordHash", "u"."PasswordSalt", "u"."TenantId", "u"."Username"
|
||||
FROM "Users" AS "u"
|
||||
WHERE "u"."Id" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:51.303 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@_8__locals1_userId='?' (DbType = Int32), @from='?' (DbType = Date), @to='?' (DbType = Date)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "w"."Id", "w"."Date", "w"."EndTime", "w"."StartTime", "w"."TenantId", "w"."UserId", "b"."Id", "b"."EndTime", "b"."StartTime", "b"."WorkDayId"
|
||||
FROM "WorkDays" AS "w"
|
||||
LEFT JOIN "BreakEntries" AS "b" ON "w"."Id" = "b"."WorkDayId"
|
||||
WHERE "w"."TenantId" IS NULL AND "w"."UserId" = @_8__locals1_userId AND "w"."Date" >= @from AND "w"."Date" < @to
|
||||
ORDER BY "w"."Date", "w"."Id"
|
||||
2026-06-26 23:16:51.303 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32), @year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "v"."Id", "v"."Date", "v"."Note", "v"."TenantId", "v"."UserId"
|
||||
FROM "VacationDays" AS "v"
|
||||
WHERE "v"."TenantId" IS NULL AND "v"."UserId" = @userId AND CAST(strftime('%Y', "v"."Date") AS INTEGER) = @year
|
||||
ORDER BY "v"."Date"
|
||||
2026-06-26 23:16:51.303 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@userId='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "a"."Id", "a"."DailyTargetHours", "a"."FlexTimeStartDate", "a"."FlexTimeStartingBalanceHours", "a"."GermanState", "a"."MinimumBreakMinutes", "a"."TenantId", "a"."UserId", "a"."VacationDaysPerYear", "a"."WorkFriday", "a"."WorkMonday", "a"."WorkSaturday", "a"."WorkSunday", "a"."WorkThursday", "a"."WorkTuesday", "a"."WorkWednesday"
|
||||
FROM "AppSettings" AS "a"
|
||||
WHERE "a"."TenantId" IS NULL AND "a"."UserId" = @userId
|
||||
LIMIT 1
|
||||
2026-06-26 23:16:51.304 +02:00 [INF] Executed DbCommand (0ms) [Parameters=[@year='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT "p"."Id", "p"."Counties", "p"."Date", "p"."Name"
|
||||
FROM "PublicHolidays" AS "p"
|
||||
WHERE CAST(strftime('%Y', "p"."Date") AS INTEGER) = @year
|
||||
ORDER BY "p"."Date"
|
||||
|
||||
Reference in New Issue
Block a user