diff --git a/.gitignore b/.gitignore index 9c084309..f557b1f8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ Archive_*/** **/dist/** #ignore log files -**/*.log \ No newline at end of file +**/*.log diff --git a/Documentations/FRONTEND_IMPLEMENTATION_GUIDE_COMPLETE.md b/Documentations/FRONTEND_IMPLEMENTATION_GUIDE_COMPLETE.md new file mode 100644 index 00000000..22c5cde4 --- /dev/null +++ b/Documentations/FRONTEND_IMPLEMENTATION_GUIDE_COMPLETE.md @@ -0,0 +1,1439 @@ +# SerpentRace Backend API Documentation for Frontend Developers +## Complete API Reference with All Endpoints + +## Table of Contents +1. [Test User Credentials](#test-user-credentials) +2. [Data Structures & Entities](#data-structures--entities) +3. [Base URL & Service Info](#base-url--service-info) +4. [Authentication Endpoints](#authentication-endpoints) +5. [User Management](#user-management) +6. [Deck Management](#deck-management) +7. [Organization Management](#organization-management) +8. [Chat System](#chat-system) +9. [Contact Management](#contact-management) +10. [Import/Export Functionality](#importexport-functionality) +11. [Admin Endpoints](#admin-endpoints) +12. [Error Handling](#error-handling) +13. [WebSocket Real-Time Communication](#websocket-real-time-communication) + +--- + +## Test User Credentials + +For development and testing, use these pre-configured user accounts: + +### Regular User (Verified) +- **Username:** `john_doe` +- **Password:** `password123` +- **Email:** `john.doe@email.com` +- **Type:** Regular user (state: 1 - VERIFIED_REGULAR) +- **Organization:** None + +### Premium User (Organization Member) +- **Username:** `jane_premium` +- **Password:** `password123` +- **Email:** `jane.smith@email.com` +- **Type:** Premium user (state: 2 - VERIFIED_PREMIUM) +- **Organization:** Tech Solutions Inc + +### Teacher (Premium Organization Member) +- **Username:** `teacher_bob` +- **Password:** `password123` +- **Email:** `bob.teacher@eduinst.edu` +- **Type:** Premium user (state: 2 - VERIFIED_PREMIUM) +- **Organization:** Educational Institute + +### Admin User +- **Username:** `admin_user` +- **Password:** `password123` +- **Email:** `admin@serpentrace.com` +- **Type:** Admin (state: 5 - ADMIN) +- **Organization:** None + +### Unverified User +- **Username:** `new_user` +- **Password:** `password123` +- **Email:** `newuser@email.com` +- **Type:** Unverified (state: 0 - REGISTERED_NOT_VERIFIED) +- **Organization:** None + +--- + +## Data Structures & Entities + +### User DTOs +```typescript +interface ShortUserDto { + id: string; // UUID + username: string; // Username + state: number; // UserState enum + authLevel: 0 | 1; // 0 = regular, 1 = admin +} + +interface DetailUserDto { + id: string; // UUID + orgid: string | null; // Organization ID (if member) + username: string; // Unique username + email: string; // Email address + fname: string; // First name + lname: string; // Last name + code: string | null; // Verification code + type: string; // 'personal' | 'premium' | 'admin' + phone: string | null; // Phone number + state: number; // UserState enum value +} + +enum UserState { + REGISTERED_NOT_VERIFIED = 0, // Email not verified + VERIFIED_REGULAR = 1, // Regular verified user + VERIFIED_PREMIUM = 2, // Premium verified user + SOFT_DELETE = 3, // Soft deleted + DEACTIVATED = 4, // Account deactivated + ADMIN = 5 // Admin user +} +``` + +### Deck DTOs +```typescript +interface ShortDeckDto { + id: string; // UUID + name: string; // Deck name + type: number; // DeckType enum value + playedNumber: number; // Times played + ctype: number; // DeckVisibility enum value +} + +interface DetailDeckDto { + id: string; // UUID + name: string; // Deck name + type: number; // DeckType enum value + userid: string; // Owner's user ID + creationdate: Date; // Creation timestamp + cards: Card[]; // Array of cards + playedNumber: number; // Times played + ctype: number; // DeckVisibility enum value +} + +interface Card { + text: string; // Question/prompt text + type?: number; // CardType enum (optional) + answer?: string | null; // Answer (varies by type) +} + +enum DeckType { + LUCK = 0, // Luck-based cards + JOKER = 1, // Joker/wild cards + QUESTION = 2 // Question-based cards +} + +enum DeckVisibility { + PUBLIC = 0, // Public to all + PRIVATE = 1, // Private to owner + ORGANIZATION = 2 // Shared within organization +} + +enum DeckState { + ACTIVE = 0, // Active deck + SOFT_DELETE = 1 // Soft deleted +} + +enum CardType { + QUIZ = 0, // Multiple choice question + SENTENCE_PAIRING = 1, // Sentence completion + OWN_ANSWER = 2, // Custom answer + TRUE_FALSE = 3, // True/False question + CLOSER = 4 // Closer to answer +} +``` + +### Organization DTOs +```typescript +interface ShortOrganizationDto { + id: string; // UUID + name: string; // Organization name + contactfname: string; // Contact first name + contactlname: string; // Contact last name + contactemail: string; // Contact email + state: number; // OrganizationState enum + regdate: Date; // Registration date + maxOrganizationalDecks: number | null; // Max org decks allowed +} + +enum OrganizationState { + REGISTERED = 0, // Just registered + ACTIVE = 1, // Active organization + SOFT_DELETE = 2 // Soft deleted +} +``` + +### Chat DTOs +```typescript +interface ShortChatDto { + id: string; // UUID + userCount: number; // Number of participants + state: number; // ChatState enum value +} + +interface DetailChatDto { + id: string; // UUID + users: string[]; // Participant user IDs + messages: Message[]; // Message history + updateDate: Date; // Last update + state: number; // ChatState enum value +} + +interface Message { + id: string; // Message UUID + date: Date; // Message timestamp + userid: string; // Sender user ID + text: string; // Message content +} + +enum ChatType { + DIRECT = 'direct', // Direct message + GROUP = 'group', // Group chat + GAME = 'game' // Game-specific chat +} + +enum ChatState { + ACTIVE = 0, // Active chat + ARCHIVE = 1, // Archived chat + SOFT_DELETE = 2 // Soft deleted +} +``` + +### Contact DTOs +```typescript +interface ContactDto { + id: string; // UUID + name: string; // Contact name + email: string; // Contact email + userid: string | null; // User ID if logged in + type: number; // ContactType enum + txt: string; // Message content + state: number; // ContactState enum + createDate: Date; // Creation date + updateDate: Date; // Last update + adminResponse: string | null; // Admin response + responseDate: Date | null; // Response date + respondedBy: string | null; // Responding admin ID +} + +enum ContactType { + BUG = 0, // Bug report + PROBLEM = 1, // Problem report + QUESTION = 2, // General question + SALES = 3, // Sales inquiry + OTHER = 4 // Other type +} + +enum ContactState { + ACTIVE = 0, // Active/unresolved + RESOLVED = 1, // Resolved + SOFT_DELETE = 2 // Soft deleted +} +``` + +--- + +## Base URL & Service Info + +**Base URL:** `http://localhost:3000` (development) + +### Service Information +**Endpoint:** `GET /` + +**Authentication:** None required + +**Response Data:** +```typescript +{ + service: "SerpentRace Backend API"; + status: "running"; + version: "1.0.0"; + endpoints: { + swagger: "/api-docs"; + users: "/api/users"; + organizations: "/api/organizations"; + decks: "/api/decks"; + chats: "/api/chats"; + contacts: "/api/contacts"; + admin: "/api/admin"; + deckImportExport: "/api/deck-import-export"; + health: "/health"; + }; + websocket: { + enabled: true; + events: string[]; // WebSocket event names + }; +} +``` + +### Health Check +**Endpoint:** `GET /health` + +**Authentication:** None required + +**Response Data:** +```typescript +{ + status: "healthy" | "unhealthy"; + timestamp: string; // ISO timestamp + service: "SerpentRace Backend API"; + version: "1.0.0"; + environment: string; // "development" | "production" + database: { + connected: boolean; // Database connection status + type: string; // Database type + }; + websocket: { + enabled: boolean; // WebSocket status + }; + uptime: number; // Process uptime in seconds +} +``` + +--- + +## Authentication Endpoints + +### User Login +**Endpoint:** `POST /api/users/login` + +**Authentication:** None required + +**Validation Rules:** +- `username`: 3-50 characters +- `password`: 6-100 characters + +**Request Data:** +```typescript +{ + username: string; // Username or email + password: string; // Password +} +``` + +**Response Data (Success):** +```typescript +{ + token: string; // JWT token (also set as cookie) + user: ShortUserDto; // User information + organizationName?: string; // Organization name (if member) +} +``` + +**Error Responses:** +- `400`: Validation error +- `401`: Invalid credentials, unverified email, or account restrictions +- `500`: Internal server error + +### User Registration +**Endpoint:** `POST /api/users/create` + +**Authentication:** None required + +**Validation Rules:** +- `username`: 3-50 characters, unique +- `email`: valid email format, unique +- `password`: 6-100 characters + +**Request Data:** +```typescript +{ + username: string; // Unique username + email: string; // Valid email + password: string; // Password + fname?: string; // First name (optional) + lname?: string; // Last name (optional) + phone?: string; // Phone number (optional) + type?: string; // User type (optional) +} +``` + +**Response Data (Success):** +```typescript +{ + id: string; // User UUID + username: string; // Username + email: string; // Email + regdate: Date; // Registration date +} +``` + +**Error Responses:** +- `400`: Validation error +- `409`: Username or email already exists +- `500`: Internal server error + +--- + +## User Management + +### Get User Profile +**Endpoint:** `GET /api/users/profile` + +**Authentication:** Required + +**Response Data:** `DetailUserDto` + +### Update User Profile +**Endpoint:** `PATCH /api/users/profile` + +**Authentication:** Required + +**Request Data:** Partial `DetailUserDto` fields to update + +**Response Data:** Updated `DetailUserDto` + +**Error Responses:** +- `400`: Validation error +- `404`: User not found +- `409`: Email already exists +- `500`: Internal server error + +--- + +## Deck Management + +### Get Decks (Paginated) - RECOMMENDED +**Endpoint:** `GET /api/decks/page/{from}/{to}` + +**Authentication:** Required + +**URL Parameters:** +- `from`: Start index (0-based, ≥ 0) +- `to`: End index (inclusive, ≥ from) + +**Response Data:** +```typescript +{ + decks: ShortDeckDto[]; // Array of deck summaries + totalCount: number; // Total available decks +} +``` + +### Create Deck +**Endpoint:** `POST /api/decks` + +**Authentication:** Required + +**Request Data:** +```typescript +{ + name: string; // Deck name (required) + type?: number; // DeckType enum (optional) + cards?: Card[]; // Initial cards (optional) + ctype?: number; // DeckVisibility enum (optional) +} +``` + +**Response Data:** `ShortDeckDto` + +### Search Decks +**Endpoint:** `GET /api/decks/search` + +**Authentication:** Required + +**Query Parameters:** +- `query`: Search query (required, non-empty) +- `limit`: Results limit (1-100, default: 20) +- `offset`: Results offset (≥ 0, default: 0) + +**Response Data:** Array of matching `ShortDeckDto` + +### Get Deck by ID +**Endpoint:** `GET /api/decks/{id}` + +**Authentication:** Required + +**URL Parameters:** +- `id`: Deck UUID + +**Response Data:** `DetailDeckDto` + +### Update Deck +**Endpoint:** `PUT /api/decks/{id}` + +**Authentication:** Required (owner only) + +**URL Parameters:** +- `id`: Deck UUID + +**Request Data:** Partial `DetailDeckDto` fields to update + +**Response Data:** Updated `ShortDeckDto` + +### Delete Deck (Soft Delete) +**Endpoint:** `DELETE /api/decks/{id}` + +**Authentication:** Required (owner only) + +**URL Parameters:** +- `id`: Deck UUID + +**Response Data:** +```typescript +{ + success: boolean; // Deletion success status +} +``` + +--- + +## Organization Management + +### Get Organizations (Paginated) - RECOMMENDED +**Endpoint:** `GET /api/organizations/page/{from}/{to}` + +**Authentication:** Required + +**URL Parameters:** +- `from`: Start index (0-based, ≥ 0) +- `to`: End index (inclusive, ≥ from) + +**Response Data:** +```typescript +{ + organizations: ShortOrganizationDto[]; + totalCount: number; +} +``` + +### Search Organizations +**Endpoint:** `GET /api/organizations/search` + +**Authentication:** Required + +**Query Parameters:** +- `query`: Search query (required, non-empty) +- `limit`: Results limit (1-100, default: 20) +- `offset`: Results offset (≥ 0, default: 0) + +**Response Data:** Array of matching organizations + +### Get Organization Login URL +**Endpoint:** `GET /api/organizations/{orgId}/login-url` + +**Authentication:** Required + +**URL Parameters:** +- `orgId`: Organization UUID + +**Response Data:** +```typescript +{ + loginUrl: string; // Organization login URL + organizationName: string; // Organization name +} +``` + +### Process Organization Auth Callback +**Endpoint:** `POST /api/organizations/auth-callback` + +**Authentication:** Required + +**Request Data:** +```typescript +{ + organizationId: string; // Organization UUID + status: "ok" | "not_ok"; // Authentication status + authToken?: string; // Authentication token (optional) +} +``` + +**Response Data:** +```typescript +{ + success: boolean; // Processing success + message: string; // Result message + updatedFields?: string[]; // Fields that were updated +} +``` + +--- + +## Chat System + +### Get User Chats +**Endpoint:** `GET /api/chats/user-chats` + +**Authentication:** Required + +**Query Parameters:** +- `includeArchived`: boolean (default: false) + +**Response Data:** Array of `ShortChatDto` + +### Get Chat History +**Endpoint:** `GET /api/chats/history/{chatId}` + +**Authentication:** Required + +**URL Parameters:** +- `chatId`: Chat UUID (validated) + +**Response Data:** +```typescript +{ + id: string; // Chat UUID + users: string[]; // Participants + messages: Message[]; // Message history + isArchived: boolean; // Archive status + state: number; // Chat state +} +``` + +### Create Chat +**Endpoint:** `POST /api/chats/create` + +**Authentication:** Required + +**Validation Rules:** +- `type`: must be 'direct' or 'group' +- `userIds`: non-empty array +- `name`: required for groups + +**Request Data:** +```typescript +{ + type: 'direct' | 'group'; // Chat type + userIds: string[]; // Participant user IDs + name?: string; // Group name (required for groups) +} +``` + +**Response Data:** +```typescript +{ + id: string; // Chat UUID + type: ChatType; // Chat type + name: string | null; // Chat name + users: string[]; // Participants + messages: Message[]; // Empty initially +} +``` + +### Send Message (REST - for testing) +**Endpoint:** `POST /api/chats/message` + +**Authentication:** Required + +**Validation Rules:** +- `chatId`: valid UUID +- `message`: 1-2000 characters + +**Request Data:** +```typescript +{ + chatId: string; // Chat UUID + message: string; // Message content +} +``` + +**Response Data:** `Message` object + +### Archive Chat +**Endpoint:** `POST /api/chats/archive/{chatId}` + +**Authentication:** Required + +**URL Parameters:** +- `chatId`: Chat UUID (validated) + +**Response Data:** +```typescript +{ + success: boolean; + message: string; +} +``` + +### Restore Chat from Archive +**Endpoint:** `POST /api/chats/restore/{chatId}` + +**Authentication:** Required + +**URL Parameters:** +- `chatId`: Chat UUID (validated) + +**Response Data:** +```typescript +{ + success: boolean; + message: string; +} +``` + +### Get Archived Game Chats +**Endpoint:** `GET /api/chats/archived/game/{gameId}` + +**Authentication:** Required + +**URL Parameters:** +- `gameId`: Game UUID (validated) + +**Response Data:** Array of archived chat objects + +--- + +## Contact Management + +### Create Contact +**Endpoint:** `POST /api/contact` + +**Authentication:** Optional + +**Validation Rules:** +- `name`, `email`, `type`, `txt`: required fields +- `type`: must be 0-4 (ContactType enum) + +**Request Data:** +```typescript +{ + name: string; // Contact name (required) + email: string; // Contact email (required) + type: ContactType; // Contact type (0-4) + txt: string; // Message content (required) +} +``` + +**Response Data:** `ContactDto` + +**Error Responses:** +- `400`: Missing fields or invalid contact type +- `500`: Internal server error + +--- + +## Import/Export Functionality + +### Export Deck +**Endpoint:** `GET /api/deck-import-export/export/{deckId}` + +**Authentication:** Required (deck owner only) + +**URL Parameters:** +- `deckId`: Deck UUID + +**Response:** Binary .spr file download + +**Headers:** +- `Content-Type`: `application/octet-stream` +- `Content-Disposition`: `attachment; filename="deckname.spr"` + +### Import Deck +**Endpoint:** `POST /api/deck-import-export/import` + +**Authentication:** Required + +**Request:** Multipart form data +- `file`: .spr or JSON file (max 10MB) + +**Response Data:** +```typescript +{ + success: boolean; + message: string; + deckId: string; // Created deck ID +} +``` + +--- + +## Admin Endpoints + +All admin endpoints require authentication with admin role (UserState.ADMIN = 5). + +### User Management (Admin) + +#### Get Users (Paginated) - RECOMMENDED +**Endpoint:** `GET /api/admin/users/page/{from}/{to}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**URL Parameters:** +- `from`: Start index (0-based) +- `to`: End index (inclusive, max page size: 100) + +**Response Data:** +```typescript +{ + users: DetailUserDto[]; // Array of detailed user objects + pagination: { + from: number; // Start index + to: number; // End index + returned: number; // Actual returned count + totalCount: number; // Total user count + includeDeleted: boolean; // Include deleted flag + }; +} +``` + +#### Get User by ID (Admin) +**Endpoint:** `GET /api/admin/users/{userId}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** `DetailUserDto` or null + +#### Search Users (Admin) +**Endpoint:** `GET /api/admin/users/search/{searchTerm}` + +**URL Parameters:** +- `searchTerm`: Search term (2-100 characters) + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Array of matching users + +#### Update User (Admin) +**Endpoint:** `PATCH /api/admin/users/{userId}` + +**Request Data:** Partial user fields to update + +**Response Data:** Updated `DetailUserDto` + +#### Deactivate User (Admin) +**Endpoint:** `POST /api/admin/users/{userId}/deactivate` + +**Response Data:** +```typescript +{ + message: string; + user: DetailUserDto; +} +``` + +#### Delete User (Admin) +**Endpoint:** `DELETE /api/admin/users/{userId}` + +**Response Data:** +```typescript +{ + message: string; +} +``` + +### Deck Management (Admin) + +#### Get Decks (Paginated, Admin) +**Endpoint:** `GET /api/admin/decks/page/{from}/{to}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Same as regular deck pagination but unrestricted + +#### Get Deck by ID (Admin) +**Endpoint:** `GET /api/admin/decks/{id}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** `DetailDeckDto` + +#### Search Decks (Admin) +**Endpoint:** `GET /api/admin/decks/search/{searchTerm}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Array of matching decks + +#### Hard Delete Deck (Admin) +**Endpoint:** `DELETE /api/admin/decks/{id}/hard` + +**Response Data:** +```typescript +{ + success: boolean; +} +``` + +### Organization Management (Admin) + +#### Create Organization (Admin) +**Endpoint:** `POST /api/admin/organizations` + +**Request Data:** Organization creation data + +**Response Data:** Created organization object + +#### Update Organization (Admin) +**Endpoint:** `PATCH /api/admin/organizations/{id}` + +**Request Data:** Partial organization fields to update + +**Response Data:** Updated organization object + +#### Get Organizations (Paginated, Admin) +**Endpoint:** `GET /api/admin/organizations/page/{from}/{to}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Organization pagination with unrestricted access + +#### Get Organization by ID (Admin) +**Endpoint:** `GET /api/admin/organizations/{id}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Organization object + +#### Search Organizations (Admin) +**Endpoint:** `GET /api/admin/organizations/search/{searchTerm}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Array of matching organizations + +#### Soft Delete Organization (Admin) +**Endpoint:** `DELETE /api/admin/organizations/{id}` + +**Response Data:** +```typescript +{ + success: boolean; +} +``` + +#### Hard Delete Organization (Admin) +**Endpoint:** `DELETE /api/admin/organizations/{id}/hard` + +**Response Data:** +```typescript +{ + success: boolean; +} +``` + +### Chat Management (Admin) + +#### Get Chats (Paginated, Admin) +**Endpoint:** `GET /api/admin/chats/page/{from}/{to}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** +```typescript +{ + chats: DetailChatDto[]; + pagination: { + from: number; + to: number; + returned: number; + totalCount: number; + includeDeleted: boolean; + }; +} +``` + +#### Get Chat by ID (Admin) +**Endpoint:** `GET /api/admin/chats/{id}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** `DetailChatDto` + +### Contact Management (Admin) + +#### Get Contacts (Paginated, Admin) +**Endpoint:** `GET /api/admin/contacts/page/{from}/{to}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Contact pagination with full access + +#### Get Contact by ID (Admin) +**Endpoint:** `GET /api/admin/contacts/{id}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** `ContactDto` + +#### Search Contacts (Admin) +**Endpoint:** `GET /api/admin/contacts/search/{searchTerm}` + +**Query Parameters:** +- `includeDeleted`: boolean (default: false) + +**Response Data:** Array of matching contacts + +#### Respond to Contact (Admin) +**Endpoint:** `PUT /api/admin/contacts/{id}/respond` + +**Request Data:** +```typescript +{ + adminResponse: string; // Admin response (required) + sendEmail?: boolean; // Send email to contact (optional) + language?: string; // Response language (optional) +} +``` + +**Response Data:** +```typescript +{ + success: boolean; + message: string; + contact: ContactDto; + emailSent: boolean; + emailError: string | null; +} +``` + +#### Resend Contact Email (Admin) +**Endpoint:** `POST /api/admin/contacts/{id}/resend-email` + +**Request Data:** +```typescript +{ + language?: string; // Email language (optional) +} +``` + +**Response Data:** +```typescript +{ + success: boolean; + message: string; +} +``` + +#### Soft Delete Contact (Admin) +**Endpoint:** `DELETE /api/admin/contacts/{id}` + +**Response Data:** +```typescript +{ + success: boolean; +} +``` + +#### Hard Delete Contact (Admin) +**Endpoint:** `DELETE /api/admin/contacts/{id}/hard` + +**Response Data:** +```typescript +{ + success: boolean; +} +``` + +### Import/Export (Admin) + +#### Import Deck from JSON (Admin) +**Endpoint:** `POST /api/admin/decks/import` + +**Request:** Multipart form data +- `file`: JSON file (max 10MB) + +**Response Data:** +```typescript +{ + success: boolean; + message: string; + deckId: string; +} +``` + +#### Export Deck as JSON (Admin) +**Endpoint:** `GET /api/admin/decks/{deckId}/export` + +**Response:** JSON file download + +**Headers:** +- `Content-Type`: `application/json` +- `Content-Disposition`: `attachment; filename="deckname.json"` + +--- + +## Error Handling + +### Standard Error Response Format +```typescript +{ + error: string; // Error message + details?: string; // Additional details (development only) + timestamp?: string; // Error timestamp +} +``` + +### HTTP Status Codes +- `200` - Success +- `201` - Created +- `204` - No Content +- `400` - Bad Request (validation error) +- `401` - Unauthorized (authentication required) +- `403` - Forbidden (insufficient permissions) +- `404` - Not Found +- `409` - Conflict (duplicate data) +- `500` - Internal Server Error +- `503` - Service Unavailable + +### Common Error Scenarios + +**Authentication Errors:** +```typescript +// Missing or invalid token +{ error: "Authentication required" } + +// Account state restrictions +{ error: "Please verify your email address" } +{ error: "Account has been deactivated" } + +// Admin access required +{ error: "Admin access required" } +``` + +**Validation Errors:** +```typescript +// Missing required fields +{ error: "Missing required fields: username, password" } + +// Invalid field length +{ error: "Username must be between 3 and 50 characters" } + +// Invalid parameters +{ error: "Invalid page parameters. \"from\" and \"to\" must be valid numbers with to >= from >= 0" } + +// Invalid file type +{ error: "Only JSON and .spr files are allowed" } +``` + +**Business Logic Errors:** +```typescript +// Ownership restrictions +{ error: "Access denied - you can only export your own decks" } + +// Feature restrictions +{ error: "Premium subscription required to create groups" } + +// Duplicate data +{ error: "Deck with this name already exists" } +{ error: "Username or email already exists" } +``` + +--- + +## WebSocket Real-Time Communication + +### Connection & Authentication + +Connect to WebSocket server with JWT authentication: + +```typescript +import io from 'socket.io-client'; + +// Option 1: JWT token in auth +const socket = io('http://localhost:3000', { + auth: { + token: 'your-jwt-token' + } +}); + +// Option 2: Cookie authentication +const socket = io('http://localhost:3000', { + withCredentials: true +}); +``` + +### Connection Events +```typescript +// Connection successful +socket.on('connect', () => { + console.log('Connected to WebSocket server'); +}); + +// Authentication failed +socket.on('connect_error', (error) => { + console.error('Connection failed:', error.message); +}); + +// Disconnected +socket.on('disconnect', (reason) => { + console.log('Disconnected:', reason); +}); + +// General errors +socket.on('error', (error: { message: string }) => { + console.error('WebSocket error:', error.message); +}); +``` + +### Chat Management Events + +**Initial Chat List:** +```typescript +// Automatically sent on connection +socket.on('chats:list', (chats: Array<{ + id: string; + type: ChatType; + name: string | null; + users: string[]; + lastActivity: Date | null; + isArchived: boolean; +}>) => { + // Update chat list in UI +}); +``` + +**Join/Leave Chat:** +```typescript +// Join a chat room +socket.emit('chat:join', { chatId: 'chat-uuid' }); + +// Confirmation of joining +socket.on('chat:joined', (data: { + chatId: string; + messages: Message[]; + users: string[]; +}) => { + // Load chat messages +}); + +// Leave a chat room +socket.emit('chat:leave', { chatId: 'chat-uuid' }); + +// Confirmation of leaving +socket.on('chat:left', (data: { chatId: string }) => { + // Update UI +}); +``` + +### Real-time Messaging + +**Send/Receive Messages:** +```typescript +// Send message +socket.emit('message:send', { + chatId: 'chat-uuid', + message: 'Hello everyone!' +}); + +// Receive message +socket.on('message:received', (data: { + chatId: string; + message: Message; + senderInfo?: { + username: string; + fname: string; + lname: string; + }; +}) => { + // Add message to chat UI +}); + +// Message sent confirmation +socket.on('message:sent', (data: { + chatId: string; + messageId: string; + timestamp: Date; +}) => { + // Update UI +}); +``` + +**Rate Limiting:** 100 messages per user per minute + +### Chat Creation Events + +**Create Group Chat (Premium Only):** +```typescript +// Create group +socket.emit('group:create', { + name: 'Study Group', + userIds: ['user-uuid-1', 'user-uuid-2'] +}); + +// Group created +socket.on('group:created', (data: { + chat: { + id: string; + type: 'group'; + name: string; + users: string[]; + createdBy: string; + }; +}) => { + // Add to chat list +}); + +// Creation failed +socket.on('group:creation:failed', (data: { + error: string; +}) => { + // Show error +}); +``` + +**Create Direct Chat:** +```typescript +// Create or get direct chat +socket.emit('chat:direct', { + targetUserId: 'user-uuid' +}); + +// Chat created +socket.on('chat:direct:created', (data: { + chat: { + id: string; + type: 'direct'; + users: string[]; + }; +}) => { + // Add to list +}); + +// Chat already exists +socket.on('chat:direct:exists', (data: { + chatId: string; +}) => { + // Navigate to existing chat +}); +``` + +**Create Game Chat:** +```typescript +// Create game chat +socket.emit('game:chat:create', { + gameId: 'game-uuid', + gameName: 'Quiz Game #123', + playerIds: ['player-uuid-1', 'player-uuid-2'] +}); + +// Game chat created +socket.on('game:chat:created', (data: { + chat: { + id: string; + type: 'game'; + name: string; + gameId: string; + users: string[]; + }; +}) => { + // Show game chat +}); +``` + +### Chat History Management + +**Get Chat History:** +```typescript +// Request full history +socket.emit('chat:history', { chatId: 'chat-uuid' }); + +// Receive active chat history +socket.on('chat:history', (data: { + chatId: string; + messages: Message[]; + users: string[]; + type: ChatType; + name: string | null; +}) => { + // Display full history +}); + +// Receive archived chat history +socket.on('chat:history:archived', (data: { + chatId: string; + messages: Message[]; + isGameChat: boolean; + archiveDate: Date; +}) => { + // Display as read-only +}); +``` + +### Message Retention Rules +- **All chats**: Messages older than 2 weeks are deleted +- **Direct & Game chats**: Max 10 messages per user (FIFO) +- **Group chats**: Time limit only (no per-user limit) +- **Archive**: Inactive chats (30 minutes) are archived +- **Cleanup**: Archived messages cleaned after 4 weeks + +### Complete Implementation Example + +```typescript +// hooks/useWebSocket.ts +import { useEffect, useRef, useState } from 'react'; +import io, { Socket } from 'socket.io-client'; + +export const useWebSocket = (token: string | null) => { + const socketRef = useRef(null); + const [isConnected, setIsConnected] = useState(false); + const [chats, setChats] = useState([]); + + useEffect(() => { + if (!token) return; + + socketRef.current = io('http://localhost:3000', { + auth: { token }, + withCredentials: true + }); + + const socket = socketRef.current; + + socket.on('connect', () => setIsConnected(true)); + socket.on('connect_error', () => setIsConnected(false)); + socket.on('disconnect', () => setIsConnected(false)); + + socket.on('chats:list', (chatList) => { + setChats(chatList); + }); + + socket.on('message:received', (data) => { + setChats(prev => prev.map(chat => + chat.id === data.chatId + ? { ...chat, messages: [...chat.messages, data.message] } + : chat + )); + }); + + return () => { + socket.disconnect(); + }; + }, [token]); + + const sendMessage = (chatId: string, message: string) => { + socketRef.current?.emit('message:send', { chatId, message }); + }; + + const joinChat = (chatId: string) => { + socketRef.current?.emit('chat:join', { chatId }); + }; + + const createDirectChat = (targetUserId: string) => { + socketRef.current?.emit('chat:direct', { targetUserId }); + }; + + const createGroup = (name: string, userIds: string[]) => { + socketRef.current?.emit('group:create', { name, userIds }); + }; + + return { + socket: socketRef.current, + isConnected, + chats, + sendMessage, + joinChat, + createDirectChat, + createGroup + }; +}; +``` + +--- + +This documentation provides a complete reference for all 50+ endpoints available in the SerpentRace backend API, with accurate data structures, validation rules, and implementation examples derived directly from the TypeScript source code. diff --git a/SerpentRace_Backend/.env.dev b/SerpentRace_Backend/.env.dev new file mode 100644 index 00000000..0979d16d --- /dev/null +++ b/SerpentRace_Backend/.env.dev @@ -0,0 +1,34 @@ +# Development Environment Variables for Local Build +# These are used when running build scripts outside of Docker containers + +NODE_ENV=development +PORT=3000 + +# Database Configuration (Docker containers) +DB_HOST=localhost +DB_PORT=5432 +DB_NAME=serpentrace +DB_USERNAME=postgres +DB_PASSWORD=postgres + +# Redis Configuration (Docker containers) +REDIS_HOST=localhost +REDIS_PORT=6379 +REDIS_URL=redis://localhost:6379 + +# JWT Configuration +JWT_SECRET=dev_jwt_secret_change_in_production +JWT_EXPIRATION=24h +JWT_REFRESH_EXPIRATION=7d + +# MinIO Configuration (Docker containers) +MINIO_ENDPOINT=localhost +MINIO_PORT=9000 +MINIO_ACCESS_KEY=serpentrace +MINIO_SECRET_KEY=serpentrace123! +MINIO_USE_SSL=false + +# Board Generation Configuration +MAX_SPECIAL_FIELDS_PERCENTAGE=67 +MAX_GENERATION_TIME_SECONDS=20 +GENERATION_ERROR_TOLERANCE=15 diff --git a/SerpentRace_Backend/dist/Api/index.d.ts b/SerpentRace_Backend/dist/Api/index.d.ts deleted file mode 100644 index 1108984e..00000000 --- a/SerpentRace_Backend/dist/Api/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { WebSocketService } from '../Application/Services/WebSocketService'; -declare let webSocketService: WebSocketService; -export { webSocketService }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/index.d.ts.map b/SerpentRace_Backend/dist/Api/index.d.ts.map deleted file mode 100644 index a93618ad..00000000 --- a/SerpentRace_Backend/dist/Api/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Api/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAmJ5E,QAAA,IAAI,gBAAgB,EAAE,gBAAgB,CAAC;AAyFvC,OAAO,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/index.js b/SerpentRace_Backend/dist/Api/index.js deleted file mode 100644 index 3713015c..00000000 --- a/SerpentRace_Backend/dist/Api/index.js +++ /dev/null @@ -1,225 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.webSocketService = void 0; -const express_1 = __importDefault(require("express")); -const http_1 = require("http"); -const cookie_parser_1 = __importDefault(require("cookie-parser")); -const helmet_1 = __importDefault(require("helmet")); -const ormconfig_1 = require("../Infrastructure/ormconfig"); -const userRouter_1 = __importDefault(require("./routers/userRouter")); -const organizationRouter_1 = __importDefault(require("./routers/organizationRouter")); -const deckRouter_1 = __importDefault(require("./routers/deckRouter")); -const chatRouter_1 = __importDefault(require("./routers/chatRouter")); -const contactRouter_1 = __importDefault(require("./routers/contactRouter")); -const adminRouter_1 = __importDefault(require("./routers/adminRouter")); -const deckImportExportRouter_1 = __importDefault(require("./routers/deckImportExportRouter")); -const Logger_1 = require("../Application/Services/Logger"); -const WebSocketService_1 = require("../Application/Services/WebSocketService"); -const swaggerUiSetup_1 = require("./swagger/swaggerUiSetup"); -const app = (0, express_1.default)(); -const httpServer = (0, http_1.createServer)(app); -const PORT = process.env.PORT || 3000; -const isDevelopment = process.env.NODE_ENV === 'development'; -const loggingService = Logger_1.LoggingService.getInstance(); -(0, Logger_1.logStartup)('SerpentRace Backend starting up', { - environment: process.env.NODE_ENV || 'development', - port: PORT, - nodeVersion: process.version, - chatInactivityTimeout: process.env.CHAT_INACTIVITY_TIMEOUT_MINUTES || '30' -}); -app.use((0, helmet_1.default)({ - contentSecurityPolicy: isDevelopment ? false : undefined -})); -app.use(express_1.default.json({ limit: '10mb' })); -app.use(express_1.default.urlencoded({ extended: true, limit: '10mb' })); -app.use((0, cookie_parser_1.default)()); -app.use(loggingService.requestLoggingMiddleware()); -app.use((req, res, next) => { - const origin = req.headers.origin; - const allowedOrigins = ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:8080']; - if (!origin || allowedOrigins.includes(origin)) { - res.setHeader('Access-Control-Allow-Origin', origin || '*'); - } - res.setHeader('Access-Control-Allow-Credentials', 'true'); - res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, PATCH, OPTIONS'); - res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization, Cookie'); - if (req.method === 'OPTIONS') { - res.status(200).end(); - return; - } - next(); -}); -if (isDevelopment) { - app.use((req, res, next) => { - (0, Logger_1.logRequest)(`${req.method} ${req.path}`, req, res); - next(); - }); -} -// Setup Swagger documentation -(0, swaggerUiSetup_1.setupSwagger)(app); -app.get('/', (req, res) => { - res.json({ - service: 'SerpentRace Backend API', - status: 'running', - version: '1.0.0', - endpoints: { - swagger: '/api-docs', - users: '/api/users', - organizations: '/api/organizations', - decks: '/api/decks', - chats: '/api/chats', - contacts: '/api/contacts', - admin: '/api/admin', - deckImportExport: '/api/deck-import-export', - health: '/health' - }, - websocket: { - enabled: true, - events: [ - 'chat:join', 'chat:leave', 'message:send', - 'group:create', 'chat:direct', 'game:chat:create', - 'chat:history' - ] - } - }); -}); -app.get('/health', async (req, res) => { - try { - const isDbConnected = ormconfig_1.AppDataSource.isInitialized; - res.json({ - status: 'healthy', - timestamp: new Date().toISOString(), - service: 'SerpentRace Backend API', - version: '1.0.0', - environment: process.env.NODE_ENV || 'development', - database: { - connected: isDbConnected, - type: ormconfig_1.AppDataSource.options.type - }, - websocket: { - enabled: true - }, - uptime: process.uptime() - }); - } - catch (error) { - res.status(503).json({ - status: 'unhealthy', - timestamp: new Date().toISOString(), - error: 'Service health check failed' - }); - } -}); -// API Routes -app.use('/api/users', userRouter_1.default); -app.use('/api/organizations', organizationRouter_1.default); -app.use('/api/decks', deckRouter_1.default); -app.use('/api/chats', chatRouter_1.default); -app.use('/api/contacts', contactRouter_1.default); -app.use('/api/admin', adminRouter_1.default); -app.use('/api/deck-import-export', deckImportExportRouter_1.default); -// Global error handler (must be after routes) -app.use(loggingService.errorLoggingMiddleware()); -app.use((error, req, res, next) => { - (0, Logger_1.logError)('Global error handler caught unhandled error', error, req, res); - // Don't expose internal error details in production - const isDevelopment = process.env.NODE_ENV === 'development'; - res.status(500).json({ - error: 'Internal server error', - timestamp: new Date().toISOString(), - ...(isDevelopment && { details: error.message, stack: error.stack }) - }); -}); -// Handle 404 routes -app.use((req, res) => { - res.status(404).json({ - error: 'Route not found', - path: req.originalUrl, - method: req.method, - timestamp: new Date().toISOString() - }); -}); -// Initialize WebSocket service after database connection -let webSocketService; -// Initialize database connection -ormconfig_1.AppDataSource.initialize() - .then(() => { - const dbOptions = ormconfig_1.AppDataSource.options; - (0, Logger_1.logConnection)('Database connection established', 'postgresql', 'success', { - type: dbOptions.type, - host: dbOptions.host, - database: dbOptions.database - }); - // Initialize WebSocket service after database is connected - exports.webSocketService = webSocketService = new WebSocketService_1.WebSocketService(httpServer); - (0, Logger_1.logStartup)('WebSocket service initialized', { - chatInactivityTimeout: process.env.CHAT_INACTIVITY_TIMEOUT_MINUTES || '30' - }); -}) - .catch((error) => { - const dbOptions = ormconfig_1.AppDataSource.options; - (0, Logger_1.logConnection)('Database connection failed', 'postgresql', 'failure', { - error: error.message, - type: dbOptions.type, - host: dbOptions.host, - database: dbOptions.database - }); - process.exit(1); -}); -// Start server with WebSocket support -const server = httpServer.listen(PORT, () => { - (0, Logger_1.logStartup)('Server started successfully', { - port: PORT, - environment: process.env.NODE_ENV || 'development', - timestamp: new Date().toISOString(), - endpoints: { - health: `/health`, - swagger: `/api-docs`, - users: `/api/users`, - organizations: `/api/organizations`, - decks: `/api/decks`, - chats: `/api/chats` - }, - websocket: { - enabled: true, - chatInactivityTimeout: `${process.env.CHAT_INACTIVITY_TIMEOUT_MINUTES || '30'} minutes` - } - }); -}); -// Graceful shutdown -const gracefulShutdown = async (signal) => { - (0, Logger_1.logStartup)(`Received ${signal}. Shutting down gracefully...`); - server.close(() => { - (0, Logger_1.logStartup)('HTTP server closed'); - if (ormconfig_1.AppDataSource.isInitialized) { - ormconfig_1.AppDataSource.destroy() - .then(() => { - (0, Logger_1.logConnection)('Database connection closed', 'postgresql', 'success'); - process.exit(0); - }) - .catch((error) => { - (0, Logger_1.logError)('Error during database shutdown', error); - process.exit(1); - }); - } - else { - process.exit(0); - } - }); -}; -process.on('SIGTERM', () => gracefulShutdown('SIGTERM')); -process.on('SIGINT', () => gracefulShutdown('SIGINT')); -// Handle uncaught exceptions -process.on('uncaughtException', (error) => { - (0, Logger_1.logError)('Uncaught Exception - Server will shut down', error); - process.exit(1); -}); -// Handle unhandled promise rejections -process.on('unhandledRejection', (reason, promise) => { - (0, Logger_1.logError)('Unhandled Rejection - Server will shut down', new Error(String(reason)), undefined, undefined); - process.exit(1); -}); -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/index.js.map b/SerpentRace_Backend/dist/Api/index.js.map deleted file mode 100644 index 3c806547..00000000 --- a/SerpentRace_Backend/dist/Api/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Api/index.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA8B;AAC9B,+BAAoC;AACpC,kEAAyC;AACzC,oDAA4B;AAC5B,2DAA4D;AAC5D,sEAA8C;AAC9C,sFAA8D;AAC9D,sEAA8C;AAC9C,sEAA8C;AAC9C,4EAAoD;AACpD,wEAAgD;AAChD,8FAAsE;AACtE,2DAAiH;AACjH,+EAA4E;AAC5E,6DAAwD;AAExD,MAAM,GAAG,GAAG,IAAA,iBAAO,GAAE,CAAC;AACtB,MAAM,UAAU,GAAG,IAAA,mBAAY,EAAC,GAAG,CAAC,CAAC;AACrC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC;AACtC,MAAM,aAAa,GAAG,OA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AAEvD,6BAA6B;AAC7B,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,KAAK,EAAE,EAAE;IACxC,IAAA,iBAAQ,EAAC,4CAA4C,EAAE,KAAK,CAAC,CAAC;IAC9D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,sCAAsC;AACtC,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE;IACnD,IAAA,iBAAQ,EAAC,6CAA6C,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IACzG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/adminRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/adminRouter.d.ts deleted file mode 100644 index 58a39b8e..00000000 --- a/SerpentRace_Backend/dist/Api/routers/adminRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare global { - namespace Express { - interface Request { - file?: Express.Multer.File; - } - } -} -declare const router: import("express-serve-static-core").Router; -export default router; -//# sourceMappingURL=adminRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/adminRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/adminRouter.d.ts.map deleted file mode 100644 index 1782b0b7..00000000 --- a/SerpentRace_Backend/dist/Api/routers/adminRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"adminRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/adminRouter.ts"],"names":[],"mappings":"AAYA,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,OAAO,CAAC;QACd,UAAU,OAAO;YACb,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;SAC9B;KACJ;CACJ;AAED,QAAA,MAAM,MAAM,4CAAmB,CAAC;AA4kChC,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/adminRouter.js b/SerpentRace_Backend/dist/Api/routers/adminRouter.js deleted file mode 100644 index d7e006da..00000000 --- a/SerpentRace_Backend/dist/Api/routers/adminRouter.js +++ /dev/null @@ -1,932 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = __importDefault(require("express")); -const multer_1 = __importDefault(require("multer")); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const AuthMiddleware_1 = require("../../Application/Services/AuthMiddleware"); -const ValidationMiddleware_1 = require("../../Application/Services/ValidationMiddleware"); -const AdminBypassService_1 = require("../../Application/Services/AdminBypassService"); -const Logger_1 = require("../../Application/Services/Logger"); -const router = express_1.default.Router(); -const container = DIContainer_1.DIContainer.getInstance(); -// Configure multer for file uploads -const upload = (0, multer_1.default)({ - storage: multer_1.default.memoryStorage(), - limits: { - fileSize: 10 * 1024 * 1024, // 10MB limit - }, - fileFilter: (req, file, cb) => { - if (file.mimetype === 'application/json' || file.originalname.endsWith('.spr')) { - cb(null, true); - } - else { - cb(new Error('Only JSON and .spr files are allowed')); - } - } -}); -// Helper function to extract language from Accept-Language header -function extractLanguageFromAcceptHeader(acceptLanguage) { - if (!acceptLanguage) - return null; - const languages = acceptLanguage.split(','); - if (languages.length > 0) { - const primaryLanguage = languages[0].split(';')[0].trim().substring(0, 2); - return primaryLanguage; - } - return null; -} -// ============================================================================= -// USER MANAGEMENT ROUTES -// ============================================================================= -// Get users with pagination (RECOMMENDED) -router.get('/users/page/:from/:to', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - const includeDeleted = req.query.includeDeleted === 'true'; - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ - error: 'Invalid pagination parameters. From and to must be valid numbers with from <= to.' - }); - } - const limit = to - from + 1; - if (limit > 100) { - return res.status(400).json({ - error: 'Page size too large. Maximum 100 records per request.' - }); - } - (0, Logger_1.logRequest)('Admin paginated users endpoint accessed', req, res, { from, to, includeDeleted }); - const result = await container.getUsersByPageQueryHandler.execute({ - from, - to, - includeDeleted - }); - const response = { - users: result.users, - pagination: { - from, - to, - returned: result.users.length, - totalCount: result.totalCount, - includeDeleted - } - }; - (0, Logger_1.logRequest)('Admin users retrieved successfully', req, res, { - returnedUsers: result.users.length, - totalCount: result.totalCount, - from, - to, - includeDeleted - }); - return res.status(200).json(response); - } - catch (error) { - (0, Logger_1.logError)('Error in admin get users endpoint', error, req, res); - return res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get users by page (admin only) - RECOMMENDED -router.get('/users/page/:from/:to', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - const includeDeleted = req.query.includeDeleted === 'true'; - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ error: 'Invalid page parameters. "from" and "to" must be valid numbers with to >= from >= 0' }); - } - (0, Logger_1.logRequest)('Admin get users by page endpoint accessed', req, res, { from, to, includeDeleted }); - const result = includeDeleted - ? await container.userRepository.findByPageIncludingDeleted(from, to) - : await container.userRepository.findByPage(from, to); - (0, Logger_1.logRequest)('Admin users page retrieved successfully', req, res, { - from, - to, - count: result.users.length, - total: result.totalCount, - includeDeleted - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin get users by page endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get user by ID including soft-deleted ones -router.get('/users/:userId', AuthMiddleware_1.adminRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['userId']), async (req, res) => { - try { - const targetUserId = req.params.userId; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin get user by id endpoint accessed', req, res, { targetUserId, includeDeleted }); - const user = includeDeleted - ? await container.userRepository.findByIdIncludingDeleted(targetUserId) - : await container.userRepository.findById(targetUserId); - if (!user) { - (0, Logger_1.logWarning)('User not found', { targetUserId, includeDeleted }, req, res); - return res.status(404).json({ error: 'User not found' }); - } - (0, Logger_1.logRequest)('Admin user retrieved successfully', req, res, { - targetUserId, - username: user.username, - includeDeleted - }); - res.json(user); - } - catch (error) { - (0, Logger_1.logError)('Admin get user by id endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Search users including soft-deleted ones -router.get('/users/search/:searchTerm', AuthMiddleware_1.adminRequired, ValidationMiddleware_1.ValidationMiddleware.validateStringLength({ searchTerm: { min: 2, max: 100 } }), async (req, res) => { - try { - const { searchTerm } = req.params; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin search users endpoint accessed', req, res, { searchTerm, includeDeleted }); - const users = includeDeleted - ? await container.userRepository.searchIncludingDeleted(searchTerm) - : await container.userRepository.search(searchTerm); - (0, Logger_1.logRequest)('Admin user search completed', req, res, { - searchTerm, - resultCount: Array.isArray(users) ? users.length : (users.totalCount || 0), - includeDeleted - }); - res.json(users); - } - catch (error) { - (0, Logger_1.logError)('Admin search users endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Update any user (admin only) -router.patch('/users/:userId', AuthMiddleware_1.adminRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['userId']), async (req, res) => { - try { - const targetUserId = req.params.userId; - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Admin update user endpoint accessed', req, res, { - adminUserId, - targetUserId, - fieldsToUpdate: Object.keys(req.body) - }); - const result = await container.updateUserCommandHandler.execute({ id: targetUserId, ...req.body }); - if (!result) { - return res.status(404).json({ error: 'User not found' }); - } - (0, Logger_1.logRequest)('User updated by admin', req, res, { - adminUserId, - targetUserId, - username: result.username - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin update user endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('already exists')) { - return res.status(409).json({ error: error.message }); - } - if (error.message.includes('validation')) { - return res.status(400).json({ error: error.message }); - } - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Deactivate user (admin only) -router.post('/users/:userId/deactivate', AuthMiddleware_1.adminRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['userId']), async (req, res) => { - try { - const targetUserId = req.params.userId; - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Deactivate user endpoint accessed', req, res, { adminUserId, targetUserId }); - const result = await container.deactivateUserCommandHandler.execute({ id: targetUserId }); - if (!result) { - return res.status(404).json({ error: 'User not found' }); - } - (0, Logger_1.logAuth)('User deactivated by admin', targetUserId, { adminUserId }, req, res); - res.json({ message: 'User deactivated successfully', user: result }); - } - catch (error) { - (0, Logger_1.logError)('Deactivate user endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Delete user (admin only) -router.delete('/users/:userId', AuthMiddleware_1.adminRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['userId']), async (req, res) => { - try { - const targetUserId = req.params.userId; - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Delete user endpoint accessed', req, res, { adminUserId, targetUserId }); - const result = await container.deleteUserCommandHandler.execute({ id: targetUserId }); - if (!result) { - return res.status(404).json({ error: 'User not found' }); - } - (0, Logger_1.logAuth)('User deleted by admin', targetUserId, { adminUserId }, req, res); - res.json({ message: 'User deleted successfully' }); - } - catch (error) { - (0, Logger_1.logError)('Delete user endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// ============================================================================= -// DECK MANAGEMENT ROUTES -// ============================================================================= -// Get decks by page (admin only) - RECOMMENDED -router.get('/decks/page/:from/:to', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - const includeDeleted = req.query.includeDeleted === 'true'; - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ error: 'Invalid page parameters. "from" and "to" must be valid numbers with to >= from >= 0' }); - } - (0, Logger_1.logRequest)('Admin get decks by page endpoint accessed', req, res, { from, to, includeDeleted }); - // For admin, we need to pass admin context to get unrestricted decks - const adminUserId = req.user.userId; - const result = await container.getDecksByPageQueryHandler.execute({ - userId: adminUserId, - userOrgId: undefined, - isAdmin: true, - from, - to, - includeDeleted - }); - (0, Logger_1.logRequest)('Admin decks page retrieved successfully', req, res, { - from, - to, - count: result.decks.length, - total: result.totalCount, - includeDeleted - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin get decks by page endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get deck by ID including soft-deleted ones -router.get('/decks/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const { id } = req.params; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin get deck by id endpoint accessed', req, res, { deckId: id, includeDeleted }); - const deck = includeDeleted - ? await container.deckRepository.findByIdIncludingDeleted(id) - : await container.deckRepository.findById(id); - if (!deck) { - (0, Logger_1.logWarning)('Deck not found', { deckId: id, includeDeleted }, req, res); - return res.status(404).json({ error: 'Deck not found' }); - } - (0, Logger_1.logRequest)('Admin deck retrieved successfully', req, res, { deckId: id, includeDeleted }); - res.json(deck); - } - catch (error) { - (0, Logger_1.logError)('Admin get deck by id endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Search decks including soft-deleted ones -router.get('/decks/search/:searchTerm', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const { searchTerm } = req.params; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin search decks endpoint accessed', req, res, { searchTerm, includeDeleted }); - const decks = includeDeleted - ? await container.deckRepository.searchIncludingDeleted(searchTerm) - : await container.deckRepository.search(searchTerm); - (0, Logger_1.logRequest)('Admin deck search completed', req, res, { - searchTerm, - resultCount: Array.isArray(decks) ? decks.length : (decks.totalCount || 0), - includeDeleted - }); - res.json(decks); - } - catch (error) { - (0, Logger_1.logError)('Admin search decks endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Hard delete deck (admin only) -router.delete('/decks/:id/hard', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const deckId = req.params.id; - (0, Logger_1.logRequest)('Admin hard delete deck endpoint accessed', req, res, { deckId }); - const result = await container.deleteDeckCommandHandler.execute({ id: deckId, soft: false }); - (0, Logger_1.logRequest)('Admin deck hard delete successful', req, res, { deckId, success: result }); - res.json({ success: result }); - } - catch (error) { - (0, Logger_1.logError)('Admin hard delete deck endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Deck not found' }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// ============================================================================= -// ORGANIZATION MANAGEMENT ROUTES -// ============================================================================= -// Create organization (admin only) -router.post('/organizations', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Admin create organization endpoint accessed', req, res, { name: req.body.name, adminUserId }); - const result = await container.createOrganizationCommandHandler.execute(req.body); - AdminBypassService_1.AdminAuditService.logAdminAction('CREATE_ORGANIZATION', adminUserId, { - targetType: 'organization', - targetId: result.id, - operation: 'create', - changes: req.body - }, req, res); - (0, Logger_1.logRequest)('Admin organization created successfully', req, res, { organizationId: result.id, name: req.body.name, adminUserId }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin create organization endpoint error', error, req, res); - if (error instanceof Error && (error.message.includes('duplicate') || error.message.includes('unique constraint'))) { - return res.status(409).json({ error: 'Organization with this name already exists' }); - } - if (error instanceof Error && error.message.includes('validation')) { - return res.status(400).json({ error: 'Invalid input data', details: error.message }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Update organization (admin only) - NEW ENDPOINT -router.patch('/organizations/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const organizationId = req.params.id; - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Admin update organization endpoint accessed', req, res, { - adminUserId, - organizationId, - fieldsToUpdate: Object.keys(req.body) - }); - const result = await container.updateOrganizationCommandHandler.execute({ - id: organizationId, - ...req.body - }); - if (!result) { - return res.status(404).json({ error: 'Organization not found' }); - } - AdminBypassService_1.AdminAuditService.logAdminAction('UPDATE_ORGANIZATION', adminUserId, { - targetType: 'organization', - targetId: organizationId, - operation: 'update', - changes: req.body, - sensitive: req.body.maxOrganizationalDecks !== undefined - }, req, res); - (0, Logger_1.logRequest)('Organization updated by admin', req, res, { - adminUserId, - organizationId, - organizationName: result.name - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin update organization endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('already exists')) { - return res.status(409).json({ error: error.message }); - } - if (error.message.includes('validation')) { - return res.status(400).json({ error: error.message }); - } - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get organizations by page (admin only) - RECOMMENDED -router.get('/organizations/page/:from/:to', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - const includeDeleted = req.query.includeDeleted === 'true'; - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ error: 'Invalid page parameters. "from" and "to" must be valid numbers with to >= from >= 0' }); - } - (0, Logger_1.logRequest)('Admin get organizations by page endpoint accessed', req, res, { from, to, includeDeleted }); - const result = await container.getOrganizationsByPageQueryHandler.execute({ - from, - to, - includeDeleted - }); - (0, Logger_1.logRequest)('Admin organizations page retrieved successfully', req, res, { - from, - to, - count: result.organizations.length, - total: result.totalCount, - includeDeleted - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin get organizations by page endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get organization by ID including soft-deleted ones -router.get('/organizations/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const organizationId = req.params.id; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin get organization by id endpoint accessed', req, res, { organizationId, includeDeleted }); - const organization = includeDeleted - ? await container.organizationRepository.findByIdIncludingDeleted(organizationId) - : await container.organizationRepository.findById(organizationId); - if (!organization) { - (0, Logger_1.logWarning)('Organization not found', { organizationId, includeDeleted }, req, res); - return res.status(404).json({ error: 'Organization not found' }); - } - (0, Logger_1.logRequest)('Admin organization retrieved successfully', req, res, { organizationId, includeDeleted }); - res.json(organization); - } - catch (error) { - (0, Logger_1.logError)('Admin get organization by id endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Search organizations including soft-deleted ones -router.get('/organizations/search/:searchTerm', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const { searchTerm } = req.params; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin search organizations endpoint accessed', req, res, { searchTerm, includeDeleted }); - const organizations = includeDeleted - ? await container.organizationRepository.searchIncludingDeleted(searchTerm) - : await container.organizationRepository.search(searchTerm); - (0, Logger_1.logRequest)('Admin organization search completed', req, res, { - searchTerm, - resultCount: Array.isArray(organizations) ? organizations.length : (organizations.totalCount || 0), - includeDeleted - }); - res.json(organizations); - } - catch (error) { - (0, Logger_1.logError)('Admin search organizations endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Soft delete organization (admin only) -router.delete('/organizations/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const organizationId = req.params.id; - (0, Logger_1.logRequest)('Admin soft delete organization endpoint accessed', req, res, { organizationId }); - const result = await container.deleteOrganizationCommandHandler.execute({ id: organizationId, soft: true }); - (0, Logger_1.logRequest)('Admin organization soft delete successful', req, res, { organizationId, success: result }); - res.json({ success: result }); - } - catch (error) { - (0, Logger_1.logError)('Admin soft delete organization endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Organization not found' }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Hard delete organization (admin only) -router.delete('/organizations/:id/hard', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const organizationId = req.params.id; - (0, Logger_1.logRequest)('Admin hard delete organization endpoint accessed', req, res, { organizationId }); - const result = await container.deleteOrganizationCommandHandler.execute({ id: organizationId, soft: false }); - (0, Logger_1.logRequest)('Admin organization hard delete successful', req, res, { organizationId, success: result }); - res.json({ success: result }); - } - catch (error) { - (0, Logger_1.logError)('Admin hard delete organization endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Organization not found' }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// ============================================================================= -// CHAT MANAGEMENT ROUTES -// ============================================================================= -// Get chats with pagination (RECOMMENDED) -router.get('/chats/page/:from/:to', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - const includeDeleted = req.query.includeDeleted === 'true'; - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ - error: 'Invalid pagination parameters. From and to must be valid numbers with from <= to.' - }); - } - const limit = to - from + 1; - if (limit > 100) { - return res.status(400).json({ - error: 'Page size too large. Maximum 100 records per request.' - }); - } - (0, Logger_1.logRequest)('Admin paginated chats endpoint accessed', req, res, { from, to, includeDeleted }); - const result = await container.getChatsByPageQueryHandler.execute({ - from, - to, - includeDeleted - }); - const response = { - chats: result.chats, - pagination: { - from, - to, - returned: result.chats.length, - totalCount: result.totalCount, - includeDeleted - } - }; - (0, Logger_1.logRequest)('Admin chats retrieved successfully', req, res, { - returnedChats: result.chats.length, - totalCount: result.totalCount, - from, - to, - includeDeleted - }); - return res.status(200).json(response); - } - catch (error) { - (0, Logger_1.logError)('Error in admin get chats endpoint', error, req, res); - return res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get chat by ID including soft-deleted ones -router.get('/chats/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const { id } = req.params; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin get chat by id endpoint accessed', req, res, { chatId: id, includeDeleted }); - const chat = includeDeleted - ? await container.chatRepository.findByIdIncludingDeleted(id) - : await container.chatRepository.findById(id); - if (!chat) { - (0, Logger_1.logWarning)('Chat not found', { chatId: id, includeDeleted }, req, res); - return res.status(404).json({ error: 'Chat not found' }); - } - (0, Logger_1.logRequest)('Admin chat retrieved successfully', req, res, { chatId: id, includeDeleted }); - res.json(chat); - } - catch (error) { - (0, Logger_1.logError)('Admin get chat by id endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// ============================================================================= -// CONTACT MANAGEMENT ROUTES -// ============================================================================= -// Get contacts by page (admin only) - RECOMMENDED (already exists, enhanced) -router.get('/contacts/page/:from/:to', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - const includeDeleted = req.query.includeDeleted === 'true'; - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ error: 'Invalid page parameters. "from" and "to" must be valid numbers with to >= from >= 0' }); - } - (0, Logger_1.logRequest)('Admin get contacts by page endpoint accessed', req, res, { from, to, includeDeleted }); - const result = includeDeleted - ? await container.contactRepository.findByPageIncludingDeleted(from, to) - : await container.contactRepository.findByPage(from, to); - (0, Logger_1.logRequest)('Admin contacts page retrieved successfully', req, res, { - from, - to, - count: result.contacts.length, - total: result.totalCount, - includeDeleted - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin get contacts by page endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get contact by ID (admin only) -router.get('/contacts/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const contactId = req.params.id; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin get contact by ID endpoint accessed', req, res, { contactId, includeDeleted }); - const result = includeDeleted - ? await container.contactRepository.findByIdIncludingDeleted(contactId) - : await container.getContactByIdQueryHandler.execute({ id: contactId }); - if (!result) { - (0, Logger_1.logRequest)('Contact not found', req, res, { contactId, includeDeleted }); - return res.status(404).json({ error: 'Contact not found' }); - } - (0, Logger_1.logRequest)('Admin contact retrieved successfully', req, res, { contactId, includeDeleted }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Admin get contact by ID endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Search contacts including soft-deleted ones (admin only) -router.get('/contacts/search/:searchTerm', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const { searchTerm } = req.params; - const includeDeleted = req.query.includeDeleted === 'true'; - (0, Logger_1.logRequest)('Admin search contacts endpoint accessed', req, res, { searchTerm, includeDeleted }); - const contacts = includeDeleted - ? await container.contactRepository.searchIncludingDeleted(searchTerm) - : await container.contactRepository.search(searchTerm); - (0, Logger_1.logRequest)('Admin contact search completed', req, res, { - searchTerm, - resultCount: contacts.length, - includeDeleted - }); - res.json(contacts); - } - catch (error) { - (0, Logger_1.logError)('Admin search contacts endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Respond to contact (admin only) -router.put('/contacts/:id/respond', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const contactId = req.params.id; - const adminUserId = req.user.userId; - const { adminResponse, sendEmail, language } = req.body; - if (!adminResponse) { - return res.status(400).json({ error: 'Admin response is required' }); - } - // Determine language from body, headers, or default to English - let selectedLanguage = language; - if (!selectedLanguage) { - // Try to get language from Accept-Language header - const acceptLanguage = req.headers['accept-language']; - // Try to get language from custom headers (common frontend patterns) - const regionHeader = req.headers['x-region']; - const languageHeader = req.headers['x-language']; - const localeHeader = req.headers['x-locale']; - selectedLanguage = languageHeader || - localeHeader || - regionHeader || - extractLanguageFromAcceptHeader(acceptLanguage) || - 'en'; - } - // Validate and normalize language parameter - if (!['en', 'hu', 'de'].includes(selectedLanguage.toLowerCase())) { - selectedLanguage = 'en'; // Fallback to English for unsupported languages - } - else { - selectedLanguage = selectedLanguage.toLowerCase(); - } - (0, Logger_1.logRequest)('Admin respond to contact endpoint accessed', req, res, { - contactId, - adminUserId, - sendEmail, - language: selectedLanguage, - headerLanguage: req.headers['accept-language'] || req.headers['x-language'] || 'none' - }); - // Update contact with response - const result = await container.updateContactCommandHandler.execute({ - id: contactId, - adminResponse, - respondedBy: adminUserId - }); - if (!result) { - (0, Logger_1.logWarning)('Contact not found for response', { contactId }, req, res); - return res.status(404).json({ error: 'Contact not found' }); - } - // Send email if requested - let emailSent = false; - let emailError = null; - if (sendEmail === true && adminResponse) { - try { - await container.contactEmailService.sendResponse({ - to: result.email, - message: adminResponse, - contactId: contactId, - adminUserId: adminUserId, - contactName: result.name, - contactType: result.type, - originalMessage: result.txt, - language: selectedLanguage - }); - emailSent = true; - (0, Logger_1.logRequest)('Contact response email sent successfully', req, res, { - contactId, - recipientEmail: result.email, - language: selectedLanguage - }); - } - catch (emailErr) { - emailError = emailErr instanceof Error ? emailErr.message : 'Email sending failed'; - (0, Logger_1.logError)('Contact response email failed', emailErr, req, res); - } - } - AdminBypassService_1.AdminAuditService.logAdminAction('RESPOND_TO_CONTACT', adminUserId, { - targetType: 'contact', - targetId: contactId, - operation: 'update', - changes: { adminResponse, sendEmail, language: selectedLanguage }, - metadata: { emailSent, emailError } - }, req, res); - (0, Logger_1.logRequest)('Admin contact response saved successfully', req, res, { - contactId, - sendEmail, - emailSent, - language: selectedLanguage - }); - res.json({ - success: true, - message: 'Response saved successfully', - contact: result, - emailSent, - emailError: emailSent ? null : emailError - }); - } - catch (error) { - (0, Logger_1.logError)('Admin respond to contact endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Contact not found' }); - } - if (error instanceof Error && error.message.includes('validation')) { - return res.status(400).json({ error: 'Invalid input data', details: error.message }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Resend contact email (admin only) - NEW ENDPOINT -router.post('/contacts/:id/resend-email', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const contactId = req.params.id; - const adminUserId = req.user.userId; - const { language } = req.body; - (0, Logger_1.logRequest)('Admin resend contact email endpoint accessed', req, res, { - contactId, - adminUserId, - language - }); - // Get contact details - const contact = await container.getContactByIdQueryHandler.execute({ id: contactId }); - if (!contact) { - return res.status(404).json({ error: 'Contact not found' }); - } - if (!contact.adminResponse) { - return res.status(400).json({ error: 'No admin response found to resend' }); - } - const selectedLanguage = language || 'en'; - try { - await container.contactEmailService.sendResponse({ - to: contact.email, - message: contact.adminResponse, - contactId: contactId, - adminUserId: adminUserId, - contactName: contact.name, - contactType: contact.type, - originalMessage: contact.txt, - language: selectedLanguage - }); - AdminBypassService_1.AdminAuditService.logAdminAction('RESEND_CONTACT_EMAIL', adminUserId, { - targetType: 'contact', - targetId: contactId, - operation: 'create', - metadata: { language: selectedLanguage, action: 'resend' } - }, req, res); - (0, Logger_1.logRequest)('Contact email resent successfully', req, res, { - contactId, - recipientEmail: contact.email, - language: selectedLanguage - }); - res.json({ - success: true, - message: 'Email resent successfully' - }); - } - catch (emailErr) { - (0, Logger_1.logError)('Contact email resend failed', emailErr, req, res); - res.status(500).json({ - error: 'Failed to resend email', - details: emailErr instanceof Error ? emailErr.message : 'Unknown error' - }); - } - } - catch (error) { - (0, Logger_1.logError)('Admin resend contact email endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Soft delete contact (admin only) - NEW ENDPOINT -router.delete('/contacts/:id', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const contactId = req.params.id; - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Admin soft delete contact endpoint accessed', req, res, { contactId, adminUserId }); - const result = await container.deleteContactCommandHandler.execute({ - id: contactId, - hard: false - }); - AdminBypassService_1.AdminAuditService.logAdminAction('SOFT_DELETE_CONTACT', adminUserId, { - targetType: 'contact', - targetId: contactId, - operation: 'update' - }, req, res); - (0, Logger_1.logAuth)('Contact soft deleted by admin', contactId, { adminUserId }, req, res); - res.json({ success: result }); - } - catch (error) { - (0, Logger_1.logError)('Admin soft delete contact endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Contact not found' }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Hard delete contact (admin only) - NEW ENDPOINT -router.delete('/contacts/:id/hard', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const contactId = req.params.id; - const adminUserId = req.user.userId; - (0, Logger_1.logRequest)('Admin hard delete contact endpoint accessed', req, res, { contactId, adminUserId }); - const result = await container.deleteContactCommandHandler.execute({ - id: contactId, - hard: true - }); - AdminBypassService_1.AdminAuditService.logAdminAction('HARD_DELETE_CONTACT', adminUserId, { - targetType: 'contact', - targetId: contactId, - operation: 'delete', - sensitive: true - }, req, res); - (0, Logger_1.logAuth)('Contact hard deleted by admin', contactId, { adminUserId }, req, res); - res.json({ success: result }); - } - catch (error) { - (0, Logger_1.logError)('Admin hard delete contact endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Contact not found' }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -// ============================================================================= -// DECK IMPORT/EXPORT ROUTES (ADMIN) -// ============================================================================= -// Import deck from JSON file (unencrypted, admin only) -router.post('/decks/import', AuthMiddleware_1.adminRequired, upload.single('file'), async (req, res) => { - try { - if (!req.file) { - return res.status(400).json({ error: 'No file uploaded' }); - } - const userId = req.user.userId; - const fileContent = req.file.buffer.toString('utf-8'); - (0, Logger_1.logRequest)('Admin deck import from JSON endpoint accessed', req, res, { fileName: req.file.originalname }); - let jsonData; - try { - jsonData = JSON.parse(fileContent); - } - catch (parseError) { - return res.status(400).json({ error: 'Invalid JSON format' }); - } - // For admin import, we need to specify both target user and admin user - // Let's assume the deck will be owned by the admin user doing the import - const result = await container.deckImportExportService.adminImportFromJson(jsonData, userId, userId); - (0, Logger_1.logRequest)('Admin deck import successful', req, res, { deckId: result.id, fileName: req.file.originalname }); - res.json({ - success: true, - message: 'Deck imported successfully', - deckId: result.id - }); - } - catch (error) { - (0, Logger_1.logError)('Admin deck import from JSON error', error, req, res); - if (error instanceof Error && error.message.includes('Invalid')) { - res.status(400).json({ error: 'Invalid deck data structure' }); - } - else { - res.status(500).json({ error: 'Internal server error' }); - } - } -}); -// Export deck as JSON (unencrypted, admin only) -router.get('/decks/:deckId/export', AuthMiddleware_1.adminRequired, async (req, res) => { - try { - const { deckId } = req.params; - (0, Logger_1.logRequest)('Admin deck export as JSON endpoint accessed', req, res, { deckId }); - const deck = await container.deckRepository.findById(deckId); - if (!deck) { - (0, Logger_1.logWarning)('Deck not found for export', { deckId }, req, res); - return res.status(404).json({ error: 'Deck not found' }); - } - (0, Logger_1.logRequest)('Admin deck export successful', req, res, { deckId, deckName: deck.name }); - // Return deck as JSON for admin export - res.setHeader('Content-Type', 'application/json'); - res.setHeader('Content-Disposition', `attachment; filename="${deck.name || 'deck'}.json"`); - res.json(deck); - } - catch (error) { - (0, Logger_1.logError)('Admin deck export as JSON error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -exports.default = router; -//# sourceMappingURL=adminRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/adminRouter.js.map b/SerpentRace_Backend/dist/Api/routers/adminRouter.js.map deleted file mode 100644 index 54ea9bdd..00000000 --- a/SerpentRace_Backend/dist/Api/routers/adminRouter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"adminRouter.js","sourceRoot":"","sources":["../../../src/Api/routers/adminRouter.ts"],"names":[],"mappings":";;;;;AAAA,sDAAqD;AACrD,oDAA4B;AAC5B,wEAAqE;AACrE,8EAA0E;AAE1E,0FAAuF;AAEvF,sFAAkF;AAElF,8DAA8F;AAW9F,MAAM,MAAM,GAAG,iBAAO,CAAC,MAAM,EAAE,CAAC;AAChC,MAAM,SAAS,GAAG,yBAAW,CAAC,WAAW,EAAE,CAAC;AAE5C,oCAAoC;AACpC,MAAM,MAAM,GAAG,IAAA,gBAAM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O,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAC,CAAC;QAC7D,CAAC;QAED,IAAA,mBAAU,EAAC,8BAA8B,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QAEtF,uCAAuC;QACvC,GAAG,CAAC,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,qBAAqB,EAAE,yBAAyB,IAAI,CAAC,IAAI,IAAI,MAAM,QAAQ,CAAC,CAAC;QAC3F,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,IAAA,iBAAQ,EAAC,iCAAiC,EAAE,KAAc,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QACtE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC7D,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/chatRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/chatRouter.d.ts deleted file mode 100644 index 8c1ccb21..00000000 --- a/SerpentRace_Backend/dist/Api/routers/chatRouter.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const chatRouter: import("express-serve-static-core").Router; -export default chatRouter; -//# sourceMappingURL=chatRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/chatRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/chatRouter.d.ts.map deleted file mode 100644 index 27bbdc10..00000000 --- a/SerpentRace_Backend/dist/Api/routers/chatRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chatRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/chatRouter.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU,4CAAmB,CAAC;AAuRpC,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/chatRouter.js b/SerpentRace_Backend/dist/Api/routers/chatRouter.js deleted file mode 100644 index 73133194..00000000 --- a/SerpentRace_Backend/dist/Api/routers/chatRouter.js +++ /dev/null @@ -1,231 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = __importDefault(require("express")); -const AuthMiddleware_1 = require("../../Application/Services/AuthMiddleware"); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const ErrorResponseService_1 = require("../../Application/Services/ErrorResponseService"); -const ValidationMiddleware_1 = require("../../Application/Services/ValidationMiddleware"); -const Logger_1 = require("../../Application/Services/Logger"); -const chatRouter = express_1.default.Router(); -// Get user's chats -chatRouter.get('/user-chats', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - const includeArchived = req.query.includeArchived === 'true'; - (0, Logger_1.logRequest)('Get user chats endpoint accessed', req, res, { userId, includeArchived }); - const chats = await DIContainer_1.container.getUserChatsQueryHandler.execute({ - userId, - includeArchived - }); - (0, Logger_1.logRequest)('User chats retrieved successfully', req, res, { - userId, - chatCount: chats.length - }); - res.json(chats); - } - catch (error) { - (0, Logger_1.logError)('Get user chats endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Get chat history -chatRouter.get('/history/:chatId', AuthMiddleware_1.authRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['chatId']), async (req, res) => { - try { - const userId = req.user.userId; - const chatId = req.params.chatId; - (0, Logger_1.logRequest)('Get chat history endpoint accessed', req, res, { userId, chatId }); - const history = await DIContainer_1.container.getChatHistoryQueryHandler.execute({ - chatId, - userId - }); - if (!history) { - (0, Logger_1.logWarning)('Chat history not found or unauthorized', { userId, chatId }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'Chat not found or unauthorized'); - } - (0, Logger_1.logRequest)('Chat history retrieved successfully', req, res, { - userId, - chatId, - messageCount: history.messages.length, - isArchived: history.isArchived - }); - res.json(history); - } - catch (error) { - (0, Logger_1.logError)('Get chat history endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Create new chat (direct/group) -chatRouter.post('/create', AuthMiddleware_1.authRequired, ValidationMiddleware_1.ValidationMiddleware.combine([ - ValidationMiddleware_1.ValidationMiddleware.validateRequiredFields(['type', 'userIds']), - ValidationMiddleware_1.ValidationMiddleware.validateAllowedValues({ type: ['direct', 'group'] }), - ValidationMiddleware_1.ValidationMiddleware.validateNonEmptyArrays(['userIds']) -]), async (req, res) => { - try { - const userId = req.user.userId; - const { type, name, userIds } = req.body; - (0, Logger_1.logRequest)('Create chat endpoint accessed', req, res, { - userId, - type, - targetUserCount: userIds?.length || 0 - }); - if (type === 'group' && !name?.trim()) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Group name is required'); - } - const chat = await DIContainer_1.container.createChatCommandHandler.execute({ - type, - name: name?.trim(), - createdBy: userId, - userIds - }); - if (!chat) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Failed to create chat'); - } - (0, Logger_1.logRequest)('Chat created successfully', req, res, { - userId, - chatId: chat.id, - chatType: chat.type - }); - res.json({ - id: chat.id, - type: chat.type, - name: chat.name, - users: chat.users, - messages: chat.messages - }); - } - catch (error) { - (0, Logger_1.logError)('Create chat endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('Premium subscription required')) { - return ErrorResponseService_1.ErrorResponseService.sendForbidden(res, 'Premium subscription required to create groups'); - } - if (error.message.includes('not found')) { - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'One or more users not found'); - } - } - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Send message (REST endpoint - mainly for testing, real messaging is via WebSocket) -chatRouter.post('/message', AuthMiddleware_1.authRequired, ValidationMiddleware_1.ValidationMiddleware.combine([ - ValidationMiddleware_1.ValidationMiddleware.validateRequiredFields(['chatId', 'message']), - ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['chatId']), - ValidationMiddleware_1.ValidationMiddleware.validateStringLength({ message: { min: 1, max: 2000 } }) -]), async (req, res) => { - try { - const userId = req.user.userId; - const { chatId, message } = req.body; - (0, Logger_1.logRequest)('Send message endpoint accessed', req, res, { - userId, - chatId, - messageLength: message?.length || 0 - }); - const sentMessage = await DIContainer_1.container.sendMessageCommandHandler.execute({ - chatId, - userId, - message - }); - if (!sentMessage) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Failed to send message'); - } - (0, Logger_1.logRequest)('Message sent successfully', req, res, { - userId, - chatId, - messageId: sentMessage.id - }); - res.json(sentMessage); - } - catch (error) { - (0, Logger_1.logError)('Send message endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('Chat not found')) { - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'Chat not found'); - } - if (error.message.includes('not a member')) { - return ErrorResponseService_1.ErrorResponseService.sendForbidden(res, 'Not authorized to send messages to this chat'); - } - if (error.message.includes('non-empty string')) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Message must be a non-empty string'); - } - } - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Archive chat manually -chatRouter.post('/archive/:chatId', AuthMiddleware_1.authRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['chatId']), async (req, res) => { - try { - const userId = req.user.userId; - const chatId = req.params.chatId; - (0, Logger_1.logRequest)('Archive chat endpoint accessed', req, res, { userId, chatId }); - // Check if user has access to this chat - const chat = await DIContainer_1.container.chatRepository.findById(chatId); - if (!chat) { - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'Chat not found'); - } - if (!chat.users.includes(userId)) { - return ErrorResponseService_1.ErrorResponseService.sendForbidden(res, 'Not authorized to archive this chat'); - } - const success = await DIContainer_1.container.archiveChatCommandHandler.execute({ chatId }); - if (!success) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Failed to archive chat'); - } - (0, Logger_1.logRequest)('Chat archived successfully', req, res, { userId, chatId }); - res.json({ success: true, message: 'Chat archived successfully' }); - } - catch (error) { - (0, Logger_1.logError)('Archive chat endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Restore chat from archive -chatRouter.post('/restore/:chatId', AuthMiddleware_1.authRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['chatId']), async (req, res) => { - try { - const userId = req.user.userId; - const chatId = req.params.chatId; - (0, Logger_1.logRequest)('Restore chat endpoint accessed', req, res, { userId, chatId }); - // Check if user has access to this archived chat - const archive = await DIContainer_1.container.chatArchiveRepository.findByChatId(chatId); - const userArchive = archive.find((a) => a.participants.includes(userId)); - if (!userArchive) { - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'Archived chat not found or unauthorized'); - } - const success = await DIContainer_1.container.restoreChatCommandHandler.execute({ chatId }); - if (!success) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Failed to restore chat (game chats cannot be restored)'); - } - (0, Logger_1.logRequest)('Chat restored successfully', req, res, { userId, chatId }); - res.json({ success: true, message: 'Chat restored successfully' }); - } - catch (error) { - (0, Logger_1.logError)('Restore chat endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Get archived chats for a game -chatRouter.get('/archived/game/:gameId', AuthMiddleware_1.authRequired, ValidationMiddleware_1.ValidationMiddleware.validateUUIDFormat(['gameId']), async (req, res) => { - try { - const userId = req.user.userId; - const gameId = req.params.gameId; - (0, Logger_1.logRequest)('Get archived game chats endpoint accessed', req, res, { userId, gameId }); - const archivedChats = await DIContainer_1.container.getArchivedChatsQueryHandler.execute({ - userId, - gameId - }); - (0, Logger_1.logRequest)('Archived game chats retrieved successfully', req, res, { - userId, - gameId, - chatCount: archivedChats.length - }); - res.json(archivedChats); - } - catch (error) { - (0, Logger_1.logError)('Get archived game chats endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -exports.default = chatRouter; -//# sourceMappingURL=chatRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/chatRouter.js.map b/SerpentRace_Backend/dist/Api/routers/chatRouter.js.map deleted file mode 100644 index 00e5fc0e..00000000 --- a/SerpentRace_Backend/dist/Api/routers/chatRouter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chatRouter.js","sourceRoot":"","sources":["../../../src/Api/routers/chatRouter.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAC9B,8EAAyE;AACzE,wEAAmE;AACnE,0FAAuF;AACvF,0FAAuF;AACvF,8DAA8F;AAE9F,MAAM,UAAU,GAAG,iBAAO,CAAC,MAAM,EAAE,CAAC;AAEpC,mBAAmB;AACnB,UAAU,CAAC,GAAG,CAAC,aAAa,EAAE,6BAAY,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;IAC3D,IAAI,CAAC;QACD,MAAM,MAAM,GAAI,GAAW,CAAC,IAAI,CAAC,MAAM,CAAC;QACxC,MAAM,eAAe,GAAG,GAAG,CAAC,KAAK,CAAC,eAAe,KAAK,MAAM,CAAC;QAE7D,IAAA,mBAAU,EAAC,kCAAkC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;QAEtF,MAAM,KAAK,GAAG,MAAM,uBAAS,CAAC,wBAAwB,CAAC,OAAO,CAAC;YAC3D,MAAM;YACN,eAAe;SAClB,CAAC,CAAC;QAEH,IAAA,mBAAU,EAAC,mCAAmC,EAAE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GAAG,EAAE,EAAE;IACnB,IAAI,CAAC;QACD,MAAM,MAAM,GAAI,GAAW,CAAC,IAAI,CAAC,MAAM,CAAC;QACxC,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC;QAEjC,IAAA,mBAAU,EAAC,2CAA2C,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;QAEtF,MAAM,aAAa,GAAG,MAAM,uBAAS,CAAC,4BAA4B,CAAC,OAAO,CAAC;YACvE,MAAM;YACN,MAAM;SACT,CAAC,CAAC;QAEH,IAAA,mBAAU,EAAC,4CAA4C,EAAE,GAAG,EAAE,GAAG,EAAE;YAC/D,MAAM;YACN,MAAM;YACN,SAAS,EAAE,aAAa,CAAC,MAAM;SAClC,CAAC,CAAC;QAEH,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC5B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,IAAA,iBAAQ,EAAC,wCAAwC,EAAE,KAAc,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAC7E,OAAO,2CAAoB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;IAC7D,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/contactRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/contactRouter.d.ts deleted file mode 100644 index 4383ff22..00000000 --- a/SerpentRace_Backend/dist/Api/routers/contactRouter.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const contactRouter: import("express-serve-static-core").Router; -export default contactRouter; -//# sourceMappingURL=contactRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/contactRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/contactRouter.d.ts.map deleted file mode 100644 index b3084169..00000000 --- a/SerpentRace_Backend/dist/Api/routers/contactRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"contactRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/contactRouter.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,aAAa,4CAAW,CAAC;AA+C/B,eAAe,aAAa,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/contactRouter.js b/SerpentRace_Backend/dist/Api/routers/contactRouter.js deleted file mode 100644 index 1b0b35e7..00000000 --- a/SerpentRace_Backend/dist/Api/routers/contactRouter.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = require("express"); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const Logger_1 = require("../../Application/Services/Logger"); -const ContactAggregate_1 = require("../../Domain/Contact/ContactAggregate"); -const contactRouter = (0, express_1.Router)(); -// Public endpoint - anyone can create a contact -contactRouter.post('/', async (req, res) => { - try { - // Get user ID if authenticated (optional) - const userId = req.user?.userId || null; - const { name, email, type, txt } = req.body; - // Validate required fields - if (!name || !email || type === undefined || !txt) { - return res.status(400).json({ - error: 'Missing required fields: name, email, type, and txt are required' - }); - } - // Validate type - if (!Object.values(ContactAggregate_1.ContactType).includes(Number(type))) { - return res.status(400).json({ - error: 'Invalid contact type. Must be one of: 0 (Bug), 1 (Problem), 2 (Question), 3 (Sales), 4 (Other)' - }); - } - (0, Logger_1.logRequest)('Create contact endpoint accessed', req, res, { name, email, type, userId }); - const result = await DIContainer_1.container.createContactCommandHandler.execute({ - name, - email, - userid: userId, - type: Number(type), - txt - }); - (0, Logger_1.logRequest)('Contact created successfully', req, res, { contactId: result.id, name, email, type }); - res.status(201).json(result); - } - catch (error) { - (0, Logger_1.logError)('Create contact endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('validation')) { - return res.status(400).json({ error: 'Invalid input data', details: error.message }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -exports.default = contactRouter; -//# sourceMappingURL=contactRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/contactRouter.js.map b/SerpentRace_Backend/dist/Api/routers/contactRouter.js.map deleted file mode 100644 index 2aabdb45..00000000 --- a/SerpentRace_Backend/dist/Api/routers/contactRouter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"contactRouter.js","sourceRoot":"","sources":["../../../src/Api/routers/contactRouter.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,wEAAmE;AACnE,8DAAyE;AACzE,4EAAoE;AAEpE,MAAM,aAAa,GAAG,IAAA,gBAAM,GAAE,CAAC;AAE/B,gDAAgD;AAChD,aAAa,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;IAC1C,IAAI,CAAC;QACJ,0CAA0C;QAC1C,MAAM,MAAM,GAAI,GAAW,CAAC,IAAI,EAAE,MAAM,IAAI,IAAI,CAAC;QAEjD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;QAE5C,2BAA2B;QAC3B,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,KAAK,SAAS,IAAI,CAAC,GAAG,EAAE,CAAC;YACnD,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;gBAC3B,KAAK,EAAE,kEAAkE;aACzE,CAAC,CAAC;QACJ,CAAC;QAED,gBAAgB;QAChB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;YACxD,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;gBAC3B,KAAK,EAAE,gGAAgG;aACvG,CAAC,CAAC;QACJ,CAAC;QAED,IAAA,mBAAU,EAAC,kCAAkC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QAExF,MAAM,MAAM,GAAG,MAAM,uBAAS,CAAC,2BAA2B,CAAC,OAAO,CAAC;YAClE,IAAI;YACJ,KAAK;YACL,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,GAAG;SACH,CAAC,CAAC;QAEH,IAAA,mBAAU,EAAC,8BAA8B,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QAClG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAA,iBAAQ,EAAC,+BAA+B,EAAE,KAAc,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAEpE,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;YACpE,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QACtF,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC1D,CAAC;AACF,CAAC,CAAC,CAAC;AAEH,kBAAe,aAAa,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.d.ts deleted file mode 100644 index 527ab56b..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare global { - namespace Express { - interface Request { - file?: Express.Multer.File; - } - } -} -declare const router: import("express-serve-static-core").Router; -export default router; -//# sourceMappingURL=deckImportExportRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.d.ts.map deleted file mode 100644 index 3e9d0f6d..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"deckImportExportRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/deckImportExportRouter.ts"],"names":[],"mappings":"AAOA,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,OAAO,CAAC;QACd,UAAU,OAAO;YACb,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;SAC9B;KACJ;CACJ;AAED,QAAA,MAAM,MAAM,4CAAmB,CAAC;AA4GhC,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.js b/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.js deleted file mode 100644 index 20274117..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.js +++ /dev/null @@ -1,106 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = __importDefault(require("express")); -const multer_1 = __importDefault(require("multer")); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const AuthMiddleware_1 = require("../../Application/Services/AuthMiddleware"); -const Logger_1 = require("../../Application/Services/Logger"); -const router = express_1.default.Router(); -const container = DIContainer_1.DIContainer.getInstance(); -// Configure multer for file uploads -const upload = (0, multer_1.default)({ - storage: multer_1.default.memoryStorage(), - limits: { - fileSize: 10 * 1024 * 1024, // 10MB limit - }, - fileFilter: (req, file, cb) => { - if (file.mimetype === 'application/json' || file.originalname.endsWith('.spr')) { - cb(null, true); - } - else { - cb(new Error('Only JSON and .spr files are allowed')); - } - } -}); -// Export deck to .spr file (encrypted) - users can only export their own decks -router.get('/export/:deckId', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const { deckId } = req.params; - const userId = req.user.userId; - (0, Logger_1.logRequest)('Export deck endpoint accessed', req, res, { deckId, userId }); - // Check if user owns the deck - const deck = await container.deckRepository.findById(deckId); - if (!deck) { - (0, Logger_1.logWarning)('Deck not found for export', { deckId, userId }, req, res); - return res.status(404).json({ error: 'Deck not found' }); - } - // Users can only export their own decks - if (deck.userid !== userId) { - (0, Logger_1.logWarning)('Access denied - user attempted to export deck they do not own', { - deckId, - userId, - deckOwnerId: deck.userid - }, req, res); - return res.status(403).json({ error: 'Access denied - you can only export your own decks' }); - } - const sprData = await container.deckImportExportService.exportDeckToSpr(deckId, userId); - res.setHeader('Content-Type', 'application/octet-stream'); - res.setHeader('Content-Disposition', `attachment; filename="${deck.name || 'deck'}.spr"`); - (0, Logger_1.logRequest)('Deck exported successfully', req, res, { - deckId, - userId, - deckName: deck.name, - fileSize: sprData.length - }); - res.send(sprData); - } - catch (error) { - (0, Logger_1.logError)('Export deck endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Import deck from .spr file (encrypted) - imported deck will be owned by the importing user -router.post('/import', AuthMiddleware_1.authRequired, upload.single('file'), async (req, res) => { - try { - const userId = req.user.userId; - (0, Logger_1.logRequest)('Import deck endpoint accessed', req, res, { - userId, - hasFile: !!req.file, - fileName: req.file?.originalname, - fileSize: req.file?.size - }); - if (!req.file) { - (0, Logger_1.logWarning)('No file uploaded for deck import', { userId }, req, res); - return res.status(400).json({ error: 'No file uploaded' }); - } - const fileBuffer = req.file.buffer; - // Import the deck and assign ownership to the current user - const result = await container.deckImportExportService.importDeckFromSpr(fileBuffer, userId); - (0, Logger_1.logRequest)('Deck imported successfully', req, res, { - userId, - deckId: result.id, - deckName: result.name || 'Unknown', - fileName: req.file.originalname, - fileSize: req.file.size - }); - res.json({ - success: true, - message: 'Deck imported successfully and added to your collection', - deckId: result.id - }); - } - catch (error) { - (0, Logger_1.logError)('Import deck endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('Invalid')) { - return res.status(400).json({ error: 'Invalid file format or corrupted data' }); - } - else { - res.status(500).json({ error: 'Internal server error' }); - } - } -}); -exports.default = router; -//# sourceMappingURL=deckImportExportRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.js.map b/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.js.map deleted file mode 100644 index c72f94bc..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckImportExportRouter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"deckImportExportRouter.js","sourceRoot":"","sources":["../../../src/Api/routers/deckImportExportRouter.ts"],"names":[],"mappings":";;;;;AAAA,sDAAqD;AACrD,oDAA4B;AAC5B,wEAAqE;AACrE,8EAAyE;AACzE,8DAAqF;AAWrF,MAAM,MAAM,GAAG,iBAAO,CAAC,MAAM,EAAE,CAAC;AAChC,MAAM,SAAS,GAAG,yBAAW,CAAC,WAAW,EAAE,CAAC;AAE5C,oCAAoC;AACpC,MAAM,MAAM,GAAG,IAAA,gBAAM,EAAC;IAClB,OAAO,EAAE,gBAAM,CAAC,aAAa,EAAE;IAC/B,MAAM,EAAE;QACJ,QAAQ,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,aAAa;KAC5C;IACD,UAAU,EAAE,CAAC,GAAQ,EAAE,IAAS,EAAE,EAAO,EAAE,EAAE;QACzC,IAAI,IAAI,CAAC,QAAQ,KAAK,kBAAkB,IAAI,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7E,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACnB,CAAC;aAAM,CAAC;YACJ,EAAE,CAAC,IAAI,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7D,CAAC;IACL,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/deckRouter.d.ts deleted file mode 100644 index c5fa9fe8..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckRouter.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const deckRouter: import("express-serve-static-core").Router; -export default deckRouter; -//# sourceMappingURL=deckRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/deckRouter.d.ts.map deleted file mode 100644 index 147b9f46..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"deckRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/deckRouter.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,UAAU,4CAAW,CAAC;AAwL5B,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckRouter.js b/SerpentRace_Backend/dist/Api/routers/deckRouter.js deleted file mode 100644 index 690ae2dc..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckRouter.js +++ /dev/null @@ -1,162 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = require("express"); -const AuthMiddleware_1 = require("../../Application/Services/AuthMiddleware"); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const Generalsearch_1 = require("../../Application/Search/Generalsearch"); -const Logger_1 = require("../../Application/Services/Logger"); -const deckRouter = (0, express_1.Router)(); -// Create search service that isn't in the container yet -const searchService = new Generalsearch_1.GeneralSearchService(DIContainer_1.container.userRepository, DIContainer_1.container.organizationRepository, DIContainer_1.container.deckRepository); -// Authenticated routes - Get decks with pagination (RECOMMENDED) -deckRouter.get('/page/:from/:to', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - const userOrgId = req.user.orgId; - const isAdmin = req.user.authLevel === 1; - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ error: 'Invalid page parameters. "from" and "to" must be valid numbers with to >= from >= 0' }); - } - (0, Logger_1.logRequest)('Get decks by page endpoint accessed', req, res, { - userId, - userOrgId, - isAdmin, - from, - to - }); - // Use paginated query handler for memory efficiency - const result = await DIContainer_1.container.getDecksByPageQueryHandler.execute({ - userId, - userOrgId, - isAdmin, - from, - to - }); - (0, Logger_1.logRequest)('Get decks page completed successfully', req, res, { - userId, - from, - to, - returnedCount: result.decks.length, - totalCount: result.totalCount - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Get decks by page endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -deckRouter.post('/', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - (0, Logger_1.logRequest)('Create deck endpoint accessed', req, res, { name: req.body.name, userId }); - const result = await DIContainer_1.container.createDeckCommandHandler.execute(req.body); - (0, Logger_1.logRequest)('Deck created successfully', req, res, { deckId: result.id, name: req.body.name, userId }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Create deck endpoint error', error, req, res); - if (error instanceof Error && (error.message.includes('duplicate') || error.message.includes('unique constraint'))) { - return res.status(409).json({ error: 'Deck with this name already exists' }); - } - if (error instanceof Error && error.message.includes('validation')) { - return res.status(400).json({ error: 'Invalid input data', details: error.message }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -deckRouter.get('/search', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const { q: query, limit, offset } = req.query; - (0, Logger_1.logRequest)('Search decks endpoint accessed', req, res, { query, limit, offset }); - if (!query || typeof query !== 'string') { - (0, Logger_1.logWarning)('Deck search attempted without query', { query, hasQuery: !!query }, req, res); - return res.status(400).json({ error: 'Search query is required' }); - } - const searchQuery = { - query: query.trim(), - limit: limit ? parseInt(limit) : 20, - offset: offset ? parseInt(offset) : 0 - }; - // Validate pagination parameters - if (searchQuery.limit < 1 || searchQuery.limit > 100) { - (0, Logger_1.logWarning)('Invalid deck search limit parameter', { limit: searchQuery.limit }, req, res); - return res.status(400).json({ error: 'Limit must be between 1 and 100' }); - } - if (searchQuery.offset < 0) { - (0, Logger_1.logWarning)('Invalid deck search offset parameter', { offset: searchQuery.offset }, req, res); - return res.status(400).json({ error: 'Offset must be non-negative' }); - } - const result = await searchService.searchFromUrl(req.originalUrl, searchQuery); - (0, Logger_1.logRequest)('Deck search completed successfully', req, res, { - query: searchQuery.query, - resultCount: Array.isArray(result) ? result.length : 0 - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Search decks endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -deckRouter.get('/:id', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const deckId = req.params.id; - (0, Logger_1.logRequest)('Get deck by id endpoint accessed', req, res, { deckId }); - const result = await DIContainer_1.container.getDeckByIdQueryHandler.execute({ id: deckId }); - if (!result) { - (0, Logger_1.logWarning)('Deck not found', { deckId }, req, res); - return res.status(404).json({ error: 'Deck not found' }); - } - (0, Logger_1.logRequest)('Deck retrieved successfully', req, res, { deckId }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Get deck by id endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -deckRouter.put('/:id', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const deckId = req.params.id; - const userId = req.user.userId; - (0, Logger_1.logRequest)('Update deck endpoint accessed', req, res, { deckId, userId, updateFields: Object.keys(req.body) }); - const result = await DIContainer_1.container.updateDeckCommandHandler.execute({ id: deckId, ...req.body }); - (0, Logger_1.logRequest)('Deck updated successfully', req, res, { deckId, userId }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Update deck endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Deck not found' }); - } - if (error instanceof Error && (error.message.includes('duplicate') || error.message.includes('unique constraint'))) { - return res.status(409).json({ error: 'Deck with this name already exists' }); - } - if (error instanceof Error && error.message.includes('validation')) { - return res.status(400).json({ error: 'Invalid input data', details: error.message }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -deckRouter.delete('/:id', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const deckId = req.params.id; - const userId = req.user.userId; - (0, Logger_1.logRequest)('Soft delete deck endpoint accessed', req, res, { deckId, userId }); - const result = await DIContainer_1.container.deleteDeckCommandHandler.execute({ id: deckId, soft: true }); - (0, Logger_1.logRequest)('Deck soft delete successful', req, res, { deckId, userId, success: result }); - res.json({ success: result }); - } - catch (error) { - (0, Logger_1.logError)('Soft delete deck endpoint error', error, req, res); - if (error instanceof Error && error.message.includes('not found')) { - return res.status(404).json({ error: 'Deck not found' }); - } - res.status(500).json({ error: 'Internal server error' }); - } -}); -exports.default = deckRouter; -//# sourceMappingURL=deckRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/deckRouter.js.map b/SerpentRace_Backend/dist/Api/routers/deckRouter.js.map deleted file mode 100644 index b73d333a..00000000 --- a/SerpentRace_Backend/dist/Api/routers/deckRouter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"deckRouter.js","sourceRoot":"","sources":["../../../src/Api/routers/deckRouter.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,8EAAyE;AACzE,wEAAmE;AAGnE,0EAA8E;AAC9E,8DAAqF;AAErF,MAAM,UAAU,GAAG,IAAA,gBAAM,GAAE,CAAC;AAE5B,wDAAwD;AACxD,MAAM,aAAa,GAAG,IAAI,oCAAoB,CAAC,uBAAS,CAAC,cAAc,EAAE,uBAAS,CAAC,sBAAsB,EAAE,uBAAS,CAAC,cAAc,CAAC,CAAC;AAErI,iEAAiE;AACjE,UAAU,CAAC,GAAG,CAAC,iBAAiB,EAAE,6B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,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAA,iBAAQ,EAAC,iCAAiC,EAAE,KAAc,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAEtE,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC;YACnE,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAC,CAAC;QAC1D,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC1D,CAAC;AACF,CAAC,CAAC,CAAC;AAEH,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/organizationRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/organizationRouter.d.ts deleted file mode 100644 index 1a753f15..00000000 --- a/SerpentRace_Backend/dist/Api/routers/organizationRouter.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const organizationRouter: import("express-serve-static-core").Router; -export default organizationRouter; -//# sourceMappingURL=organizationRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/organizationRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/organizationRouter.d.ts.map deleted file mode 100644 index d626760f..00000000 --- a/SerpentRace_Backend/dist/Api/routers/organizationRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"organizationRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/organizationRouter.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,kBAAkB,4CAAW,CAAC;AAmMpC,eAAe,kBAAkB,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/organizationRouter.js b/SerpentRace_Backend/dist/Api/routers/organizationRouter.js deleted file mode 100644 index 0877a92e..00000000 --- a/SerpentRace_Backend/dist/Api/routers/organizationRouter.js +++ /dev/null @@ -1,179 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = require("express"); -const AuthMiddleware_1 = require("../../Application/Services/AuthMiddleware"); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const ErrorResponseService_1 = require("../../Application/Services/ErrorResponseService"); -const Generalsearch_1 = require("../../Application/Search/Generalsearch"); -const Logger_1 = require("../../Application/Services/Logger"); -const organizationRouter = (0, express_1.Router)(); -// Create search service that isn't in the container yet -const searchService = new Generalsearch_1.GeneralSearchService(DIContainer_1.container.userRepository, DIContainer_1.container.organizationRepository, DIContainer_1.container.deckRepository); -// Auth routes - Get organizations with pagination (RECOMMENDED) -organizationRouter.get('/page/:from/:to', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const from = parseInt(req.params.from); - const to = parseInt(req.params.to); - if (isNaN(from) || isNaN(to) || from < 0 || to < from) { - return res.status(400).json({ error: 'Invalid page parameters. "from" and "to" must be valid numbers with to >= from >= 0' }); - } - (0, Logger_1.logRequest)('Get organizations by page endpoint accessed', req, res, { from, to }); - const result = await DIContainer_1.container.getOrganizationsByPageQueryHandler.execute({ from, to }); - (0, Logger_1.logRequest)('Organizations page retrieved successfully', req, res, { - from, - to, - count: result.organizations.length, - totalCount: result.totalCount - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Get organizations by page endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -organizationRouter.get('/search', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const { q: query, limit, offset } = req.query; - (0, Logger_1.logRequest)('Search organizations endpoint accessed', req, res, { query, limit, offset }); - if (!query || typeof query !== 'string') { - (0, Logger_1.logWarning)('Organization search attempted without query', { query, hasQuery: !!query }, req, res); - return res.status(400).json({ error: 'Search query is required' }); - } - const searchQuery = { - query: query.trim(), - limit: limit ? parseInt(limit) : 20, - offset: offset ? parseInt(offset) : 0 - }; - // Validate pagination parameters - if (searchQuery.limit < 1 || searchQuery.limit > 100) { - (0, Logger_1.logWarning)('Invalid organization search limit parameter', { limit: searchQuery.limit }, req, res); - return res.status(400).json({ error: 'Limit must be between 1 and 100' }); - } - if (searchQuery.offset < 0) { - (0, Logger_1.logWarning)('Invalid organization search offset parameter', { offset: searchQuery.offset }, req, res); - return res.status(400).json({ error: 'Offset must be non-negative' }); - } - const result = await searchService.searchFromUrl(req.originalUrl, searchQuery); - (0, Logger_1.logRequest)('Organization search completed successfully', req, res, { - query: searchQuery.query, - resultCount: Array.isArray(result) ? result.length : 0 - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Search organizations endpoint error', error, req, res); - res.status(500).json({ error: 'Internal server error' }); - } -}); -// Get organization login URL -organizationRouter.get('/:orgId/login-url', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - const { orgId } = req.params; - (0, Logger_1.logRequest)('Get organization login URL endpoint accessed', req, res, { - userId, - organizationId: orgId - }); - const result = await DIContainer_1.container.getOrganizationLoginUrlQueryHandler.execute({ - organizationId: orgId - }); - if (!result) { - (0, Logger_1.logWarning)('Organization login URL not found', { - organizationId: orgId, - userId - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'Organization login URL not found'); - } - (0, Logger_1.logRequest)('Organization login URL retrieved successfully', req, res, { - organizationId: orgId, - organizationName: result.organizationName, - hasUrl: !!result.loginUrl, - userId - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Get organization login URL endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Process third-party authentication callback -organizationRouter.post('/auth-callback', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - const { organizationId, status, authToken } = req.body; - (0, Logger_1.logRequest)('Organization auth callback endpoint accessed', req, res, { - userId, - organizationId, - status, - hasAuthToken: !!authToken - }); - // Validate required fields - if (!organizationId || !status) { - (0, Logger_1.logWarning)('Missing required fields for organization auth callback', { - organizationId: !!organizationId, - status: !!status, - userId - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'organizationId and status are required'); - } - if (status !== 'ok' && status !== 'not_ok') { - (0, Logger_1.logWarning)('Invalid status value for organization auth callback', { - status, - userId, - organizationId - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'status must be either "ok" or "not_ok"'); - } - const result = await DIContainer_1.container.processOrgAuthCallbackCommandHandler.execute({ - organizationId, - userId, - status, - authToken - }); - if (!result.success) { - if (result.message.includes('not found')) { - (0, Logger_1.logWarning)('Organization auth callback failed - entity not found', { - userId, - organizationId, - message: result.message - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, result.message); - } - if (result.message.includes('does not belong')) { - (0, Logger_1.logWarning)('Organization auth callback failed - authorization error', { - userId, - organizationId, - message: result.message - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendForbidden(res, result.message); - } - if (result.message.includes('authentication failed')) { - (0, Logger_1.logAuth)('Organization authentication failed via callback', userId, { - organizationId, - status - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendUnauthorized(res, result.message); - } - (0, Logger_1.logError)('Organization auth callback internal error', new Error(result.message), req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } - (0, Logger_1.logAuth)('Organization auth callback processed successfully', userId, { - organizationId, - status, - updatedFields: result.updatedFields - }, req, res); - res.json({ - success: result.success, - message: result.message, - updatedFields: result.updatedFields - }); - } - catch (error) { - (0, Logger_1.logError)('Organization auth callback endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -exports.default = organizationRouter; -//# sourceMappingURL=organizationRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/organizationRouter.js.map b/SerpentRace_Backend/dist/Api/routers/organizationRouter.js.map deleted file mode 100644 index e6106000..00000000 --- a/SerpentRace_Backend/dist/Api/routers/organizationRouter.js.map +++ /dev/null @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AmD,EAAE,MAAM,EAAE;YACpE,cAAc;YACd,MAAM;YACN,aAAa,EAAE,MAAM,CAAC,aAAa;SACnC,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAEb,GAAG,CAAC,IAAI,CAAC;YACR,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,aAAa,EAAE,MAAM,CAAC,aAAa;SACnC,CAAC,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAA,iBAAQ,EAAC,2CAA2C,EAAE,KAAc,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAChF,OAAO,2CAAoB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;IAC1D,CAAC;AACF,CAAC,CAAC,CAAC;AAEH,kBAAe,kBAAkB,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/userRouter.d.ts b/SerpentRace_Backend/dist/Api/routers/userRouter.d.ts deleted file mode 100644 index 23df20cc..00000000 --- a/SerpentRace_Backend/dist/Api/routers/userRouter.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const userRouter: import("express-serve-static-core").Router; -export default userRouter; -//# sourceMappingURL=userRouter.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/userRouter.d.ts.map b/SerpentRace_Backend/dist/Api/routers/userRouter.d.ts.map deleted file mode 100644 index 0cb1b195..00000000 --- a/SerpentRace_Backend/dist/Api/routers/userRouter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"userRouter.d.ts","sourceRoot":"","sources":["../../../src/Api/routers/userRouter.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,UAAU,4CAAW,CAAC;AA+J5B,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/userRouter.js b/SerpentRace_Backend/dist/Api/routers/userRouter.js deleted file mode 100644 index f0f27126..00000000 --- a/SerpentRace_Backend/dist/Api/routers/userRouter.js +++ /dev/null @@ -1,139 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const express_1 = require("express"); -const AuthMiddleware_1 = require("../../Application/Services/AuthMiddleware"); -const DIContainer_1 = require("../../Application/Services/DIContainer"); -const ErrorResponseService_1 = require("../../Application/Services/ErrorResponseService"); -const ValidationMiddleware_1 = require("../../Application/Services/ValidationMiddleware"); -const Generalsearch_1 = require("../../Application/Search/Generalsearch"); -const Logger_1 = require("../../Application/Services/Logger"); -const userRouter = (0, express_1.Router)(); -// Create search service that isn't in the container yet -const searchService = new Generalsearch_1.GeneralSearchService(DIContainer_1.container.userRepository, DIContainer_1.container.organizationRepository, DIContainer_1.container.deckRepository); -// Login endpoint -userRouter.post('/login', ValidationMiddleware_1.ValidationMiddleware.combine([ - ValidationMiddleware_1.ValidationMiddleware.validateRequiredFields(['username', 'password']), - ValidationMiddleware_1.ValidationMiddleware.validateStringLength({ - username: { min: 3, max: 50 }, - password: { min: 6, max: 100 } - }) -]), async (req, res) => { - try { - (0, Logger_1.logRequest)('Login endpoint accessed', req, res, { username: req.body.username }); - const { username, password } = req.body; - const result = await DIContainer_1.container.loginCommandHandler.execute({ username, password }); - if (result) { - (0, Logger_1.logAuth)('User login successful', result.user.id, { username: result.user.username }, req, res); - res.json(result); - } - else { - return ErrorResponseService_1.ErrorResponseService.sendUnauthorized(res, 'Invalid username or password'); - } - } - catch (error) { - (0, Logger_1.logError)('Login endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('Invalid username')) { - return ErrorResponseService_1.ErrorResponseService.sendUnauthorized(res, 'Invalid username or password'); - } - if (error.message.includes('Invalid password')) { - return ErrorResponseService_1.ErrorResponseService.sendUnauthorized(res, 'Invalid username or password'); - } - if (error.message.includes('not verified')) { - return ErrorResponseService_1.ErrorResponseService.sendUnauthorized(res, 'Please verify your email address'); - } - if (error.message.includes('deactivated')) { - return ErrorResponseService_1.ErrorResponseService.sendUnauthorized(res, 'Account has been deactivated'); - } - } - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Create user endpoint -userRouter.post('/create', ValidationMiddleware_1.ValidationMiddleware.combine([ - ValidationMiddleware_1.ValidationMiddleware.validateRequiredFields(['username', 'email', 'password']), - ValidationMiddleware_1.ValidationMiddleware.validateEmailFormat(['email']), - ValidationMiddleware_1.ValidationMiddleware.validateStringLength({ - username: { min: 3, max: 50 }, - password: { min: 6, max: 100 } - }) -]), async (req, res) => { - try { - (0, Logger_1.logRequest)('Create user endpoint accessed', req, res, { - username: req.body.username, - email: req.body.email - }); - const result = await DIContainer_1.container.createUserCommandHandler.execute(req.body); - (0, Logger_1.logRequest)('User created successfully', req, res, { - userId: result.id, - username: result.username - }); - res.status(201).json(result); - } - catch (error) { - (0, Logger_1.logError)('Create user endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('already exists')) { - return ErrorResponseService_1.ErrorResponseService.sendConflict(res, error.message); - } - if (error.message.includes('validation')) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, error.message); - } - } - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Get user profile (current user) -userRouter.get('/profile', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - (0, Logger_1.logRequest)('Get user profile endpoint accessed', req, res, { userId }); - const result = await DIContainer_1.container.getUserByIdQueryHandler.execute({ id: userId }); - if (!result) { - (0, Logger_1.logWarning)('User profile not found', { userId }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'User not found'); - } - (0, Logger_1.logRequest)('User profile retrieved successfully', req, res, { - userId, - username: result.username - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Get user profile endpoint error', error, req, res); - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -// Update user profile (current user) -userRouter.patch('/profile', AuthMiddleware_1.authRequired, async (req, res) => { - try { - const userId = req.user.userId; - (0, Logger_1.logRequest)('Update user profile endpoint accessed', req, res, { - userId, - fieldsToUpdate: Object.keys(req.body) - }); - const result = await DIContainer_1.container.updateUserCommandHandler.execute({ id: userId, ...req.body }); - if (!result) { - return ErrorResponseService_1.ErrorResponseService.sendNotFound(res, 'User not found'); - } - (0, Logger_1.logRequest)('User profile updated successfully', req, res, { - userId, - username: result.username - }); - res.json(result); - } - catch (error) { - (0, Logger_1.logError)('Update user profile endpoint error', error, req, res); - if (error instanceof Error) { - if (error.message.includes('already exists')) { - return ErrorResponseService_1.ErrorResponseService.sendConflict(res, error.message); - } - if (error.message.includes('validation')) { - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, error.message); - } - } - return ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } -}); -exports.default = userRouter; -//# sourceMappingURL=userRouter.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/routers/userRouter.js.map b/SerpentRace_Backend/dist/Api/routers/userRouter.js.map deleted file mode 100644 index ecb8d61b..00000000 --- a/SerpentRace_Backend/dist/Api/routers/userRouter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"userRouter.js","sourceRoot":"","sources":["../../../src/Api/routers/userRouter.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,8EAAyE;AACzE,wEAAmE;AACnE,0FAAuF;AACvF,0FAAuF;AACvF,0EAA8E;AAC9E,8DAA8F;AAE9F,MAAM,UAAU,GAAG,IAAA,gBAAM,GAAE,CAAC;AAE5B,wDAAwD;AACxD,MAAM,aAAa,GAAG,IAAI,oCAAoB,CAAC,uBAAS,CAAC,cAAc,EAAE,uBAAS,CAAC,sBAAsB,EAAE,uBAAS,CAAC,cAAc,CAAC,CAAC;AAErI,iBAAiB;AACjB,UAAU,CAAC,IAAI,CAAC,QAAQ,EACvB,2CAAoB,CAAC,OAAO,CAAC;IAC5B,2CAAoB,CAAC,sBAAsB,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IACrE,2CAAoB,CAAC,oBAAoB,CAA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AE,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;QAE7F,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,OAAO,2CAAoB,CAAC,YAAY,CAAC,GAAG,EAAE,gBAAgB,CAAC,CAAC;QACjE,CAAC;QAED,IAAA,mBAAU,EAAC,mCAAmC,EAAE,GAAG,EAAE,GAAG,EAAE;YACzD,MAAM;YACN,QAAQ,EAAE,MAAM,CAAC,QAAQ;SACzB,CAAC,CAAC;QAEH,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAElB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAA,iBAAQ,EAAC,oCAAoC,EAAE,KAAc,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAEzE,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;YAC5B,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBAC9C,OAAO,2CAAoB,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YAC9D,CAAC;YACD,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC1C,OAAO,2CAAoB,CAAC,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YAChE,CAAC;QACF,CAAC;QAED,OAAO,2CAAoB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;IAC1D,CAAC;AACF,CAAC,CAAC,CAAC;AAEH,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.d.ts b/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.d.ts deleted file mode 100644 index 8e49e1f4..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -export declare const swaggerOptions: { - definition: { - openapi: string; - info: { - title: string; - version: string; - description: string; - contact: { - name: string; - email: string; - }; - license: { - name: string; - url: string; - }; - }; - servers: { - url: string; - description: string; - }[]; - components: { - securitySchemes: { - bearerAuth: { - type: string; - scheme: string; - bearerFormat: string; - description: string; - }; - }; - }; - security: { - bearerAuth: never[]; - }[]; - tags: { - name: string; - description: string; - }[]; - }; - apis: string[]; -}; -export declare const swaggerSpec: object; -//# sourceMappingURL=swaggerConfig.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.d.ts.map b/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.d.ts.map deleted file mode 100644 index 0b4705ac..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"swaggerConfig.d.ts","sourceRoot":"","sources":["../../../src/Api/swagger/swaggerConfig.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmE1B,CAAC;AAEF,eAAO,MAAM,WAAW,QAA+B,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.js b/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.js deleted file mode 100644 index d7f11ee7..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.js +++ /dev/null @@ -1,77 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.swaggerSpec = exports.swaggerOptions = void 0; -const swagger_jsdoc_1 = __importDefault(require("swagger-jsdoc")); -exports.swaggerOptions = { - definition: { - openapi: '3.0.0', - info: { - title: 'SerpentRace API', - version: '1.0.0', - description: 'Comprehensive API documentation for SerpentRace Backend', - contact: { - name: 'SerpentRace Development Team', - email: 'dev@serpentrace.com' - }, - license: { - name: 'MIT', - url: 'https://opensource.org/licenses/MIT' - } - }, - servers: [ - { - url: 'http://localhost:3000', - description: 'Local development server' - }, - { - url: 'https://api.serpentrace.com', - description: 'Production server' - } - ], - components: { - securitySchemes: { - bearerAuth: { - type: 'http', - scheme: 'bearer', - bearerFormat: 'JWT', - description: 'Enter JWT token obtained from /api/users/login' - } - } - }, - security: [{ bearerAuth: [] }], - tags: [ - { - name: 'Users', - description: 'User authentication and profile management' - }, - { - name: 'Organizations', - description: 'Organization management and authentication' - }, - { - name: 'Decks', - description: 'Deck creation, management, and gameplay' - }, - { - name: 'Chats', - description: 'Real-time chat and messaging system' - }, - { - name: 'Contacts', - description: 'Contact form and support requests' - }, - { - name: 'Deck Import/Export', - description: 'Import and export deck functionality' - } - ] - }, - apis: [ - './src/Api/swagger/swaggerDefinitions.ts' - ], -}; -exports.swaggerSpec = (0, swagger_jsdoc_1.default)(exports.swaggerOptions); -//# sourceMappingURL=swaggerConfig.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.js.map b/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.js.map deleted file mode 100644 index 4a5a5ff5..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerConfig.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"swaggerConfig.js","sourceRoot":"","sources":["../../../src/Api/swagger/swaggerConfig.ts"],"names":[],"mappings":";;;;;;AAAA,kEAAyC;AAE5B,QAAA,cAAc,GAAG;IAC5B,UAAU,EAAE;QACV,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE;YACJ,KAAK,EAAE,iBAAiB;YACxB,OAAO,EAAE,OAAO;YAChB,WAAW,EAAE,yDAAyD;YACtE,OAAO,EAAE;gBACP,IAAI,EAAE,8BAA8B;gBACpC,KAAK,EAAE,qBAAqB;aAC7B;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,KAAK;gBACX,GAAG,EAAE,qCAAqC;aAC3C;SACF;QACD,OAAO,EAAE;YACP;gBACE,GAAG,EAAE,uBAAuB;gBAC5B,WAAW,EAAE,0BAA0B;aACxC;YACD;gBACE,GAAG,EAAE,6BAA6B;gBAClC,WAAW,EAAE,mBAAmB;aACjC;SACF;QACD,UAAU,EAAE;YACV,eAAe,EAAE;gBACf,UAAU,EAAE;oBACV,IAAI,EAAE,MAAM;oBACZ,MAAM,EAAE,QAAQ;oBAChB,YAAY,EAAE,KAAK;oBACnB,WAAW,EAAE,gDAAgD;iBAC9D;aACF;SACF;QACD,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAC9B,IAAI,EAAE;YACJ;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,4CAA4C;aAC1D;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,WAAW,EAAE,4CAA4C;aAC1D;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,yCAAyC;aACvD;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,qCAAqC;aACnD;YACD;gBACE,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,mCAAmC;aACjD;YACD;gBACE,IAAI,EAAE,oBAAoB;gBAC1B,WAAW,EAAE,sCAAsC;aACpD;SACF;KACF;IACD,IAAI,EAAE;QACJ,yCAAyC;KAC1C;CACF,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,uBAAY,EAAC,sBAAc,CAAC,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.d.ts b/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.d.ts deleted file mode 100644 index 64290d9d..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.d.ts +++ /dev/null @@ -1,1377 +0,0 @@ -/** - * @swagger - * components: - * securitySchemes: - * bearerAuth: - * type: http - * scheme: bearer - * bearerFormat: JWT - * schemas: - * User: - * type: object - * properties: - * id: - * type: string - * format: uuid - * username: - * type: string - * email: - * type: string - * format: email - * fname: - * type: string - * lname: - * type: string - * phone: - * type: string - * nullable: true - * type: - * type: string - * state: - * type: integer - * regdate: - * type: string - * format: date-time - * updatedate: - * type: string - * format: date-time - * orgid: - * type: string - * nullable: true - * - * CreateUserRequest: - * type: object - * required: - * - username - * - email - * - password - * - fname - * - lname - * - type - * properties: - * username: - * type: string - * email: - * type: string - * format: email - * password: - * type: string - * format: password - * fname: - * type: string - * lname: - * type: string - * phone: - * type: string - * type: - * type: string - * - * LoginRequest: - * type: object - * required: - * - username - * - password - * properties: - * username: - * type: string - * password: - * type: string - * format: password - * - * LoginResponse: - * type: object - * properties: - * token: - * type: string - * user: - * $ref: '#/components/schemas/User' - * requiresOrgReauth: - * type: boolean - * orgLoginUrl: - * type: string - * organizationName: - * type: string - * - * UpdateProfileRequest: - * type: object - * properties: - * fname: - * type: string - * lname: - * type: string - * phone: - * type: string - * email: - * type: string - * format: email - * - * Organization: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * contactfname: - * type: string - * contactlname: - * type: string - * contactphone: - * type: string - * contactemail: - * type: string - * format: email - * state: - * type: integer - * regdate: - * type: string - * format: date-time - * updatedate: - * type: string - * format: date-time - * url: - * type: string - * nullable: true - * userinorg: - * type: integer - * maxOrganizationalDecks: - * type: integer - * - * Deck: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * type: - * type: integer - * enum: [0, 1, 2, 3] - * description: 0=JOKER, 1=LUCK, 2=QUESTION, 3=GENERAL - * userid: - * type: string - * format: uuid - * creationdate: - * type: string - * format: date-time - * cards: - * type: array - * items: - * type: object - * playedNumber: - * type: integer - * ctype: - * type: integer - * enum: [0, 1, 2] - * description: 0=PUBLIC, 1=ORGANIZATIONAL, 2=PRIVATE - * updatedate: - * type: string - * format: date-time - * state: - * type: integer - * enum: [0, 1, 2] - * description: 0=ACTIVE, 1=INACTIVE, 2=SOFT_DELETE - * organization: - * $ref: '#/components/schemas/Organization' - * nullable: true - * - * CreateDeckRequest: - * type: object - * required: - * - name - * - type - * - cards - * properties: - * name: - * type: string - * type: - * type: integer - * cards: - * type: array - * items: - * type: object - * ctype: - * type: integer - * - * Contact: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * email: - * type: string - * format: email - * userid: - * type: string - * format: uuid - * nullable: true - * type: - * type: integer - * enum: [0, 1, 2] - * description: 0=QUESTION, 1=BUG_REPORT, 2=SUGGESTION - * txt: - * type: string - * state: - * type: integer - * createDate: - * type: string - * format: date-time - * updateDate: - * type: string - * format: date-time - * adminResponse: - * type: string - * nullable: true - * responseDate: - * type: string - * format: date-time - * nullable: true - * respondedBy: - * type: string - * nullable: true - * - * CreateContactRequest: - * type: object - * required: - * - name - * - email - * - type - * - txt - * properties: - * name: - * type: string - * email: - * type: string - * format: email - * type: - * type: integer - * txt: - * type: string - * - * Chat: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * type: - * type: integer - * participants: - * type: array - * items: - * type: string - * creatorId: - * type: string - * gameId: - * type: string - * nullable: true - * createDate: - * type: string - * format: date-time - * updateDate: - * type: string - * format: date-time - * state: - * type: integer - * - * ChatMessage: - * type: object - * properties: - * id: - * type: string - * format: uuid - * senderId: - * type: string - * senderName: - * type: string - * message: - * type: string - * timestamp: - * type: string - * format: date-time - * chatId: - * type: string - * - * Error: - * type: object - * properties: - * error: - * type: string - * timestamp: - * type: string - * format: date-time - * details: - * type: string - * - * paths: - * /api/users/login: - * post: - * tags: [Users] - * summary: User login - * description: Authenticate user and return JWT token - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/LoginRequest' - * responses: - * 200: - * description: Login successful - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/LoginResponse' - * 401: - * description: Invalid credentials - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Error' - * - * /api/users/create: - * post: - * tags: [Users] - * summary: Create new user - * description: Register a new user account - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateUserRequest' - * responses: - * 201: - * description: User created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * 400: - * description: Validation error - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Error' - * - * /api/users/profile: - * get: - * tags: [Users] - * summary: Get user profile - * description: Get current user's profile information - * security: - * - bearerAuth: [] - * responses: - * 200: - * description: User profile data - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * 401: - * description: Unauthorized - * patch: - * tags: [Users] - * summary: Update user profile - * description: Update current user's profile information - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/UpdateProfileRequest' - * responses: - * 200: - * description: Profile updated successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * 400: - * description: Validation error - * 401: - * description: Unauthorized - * - * /api/organizations/page/{from}/{to}: - * get: - * tags: [Organizations] - * summary: Get organizations by page - * description: Retrieve paginated list of organizations - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated organizations - * content: - * application/json: - * schema: - * type: object - * properties: - * organizations: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * totalCount: - * type: integer - * - * /api/organizations/search: - * get: - * tags: [Organizations] - * summary: Search organizations - * description: Search organizations by term - * security: - * - bearerAuth: [] - * parameters: - * - name: term - * in: query - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: object - * properties: - * results: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * totalCount: - * type: integer - * - * /api/organizations/{orgId}/login-url: - * get: - * tags: [Organizations] - * summary: Get organization login URL - * description: Get OAuth login URL for organization - * security: - * - bearerAuth: [] - * parameters: - * - name: orgId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Login URL - * content: - * application/json: - * schema: - * type: object - * properties: - * loginUrl: - * type: string - * - * /api/organizations/auth-callback: - * post: - * tags: [Organizations] - * summary: OAuth callback - * description: Handle OAuth callback from organization - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * properties: - * code: - * type: string - * state: - * type: string - * responses: - * 200: - * description: Authentication successful - * 400: - * description: Invalid callback data - * - * /api/decks/page/{from}/{to}: - * get: - * tags: [Decks] - * summary: Get decks by page - * description: Retrieve paginated list of decks - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated decks - * content: - * application/json: - * schema: - * type: object - * properties: - * decks: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * totalCount: - * type: integer - * - * /api/decks: - * post: - * tags: [Decks] - * summary: Create deck - * description: Create a new deck - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateDeckRequest' - * responses: - * 201: - * description: Deck created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * - * /api/decks/search: - * get: - * tags: [Decks] - * summary: Search decks - * description: Search decks by term - * security: - * - bearerAuth: [] - * parameters: - * - name: term - * in: query - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: object - * properties: - * results: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * totalCount: - * type: integer - * - * /api/decks/{id}: - * get: - * tags: [Decks] - * summary: Get deck by ID - * description: Retrieve a specific deck by ID - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Deck details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * 404: - * description: Deck not found - * put: - * tags: [Decks] - * summary: Update deck - * description: Update an existing deck - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateDeckRequest' - * responses: - * 200: - * description: Deck updated successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * delete: - * tags: [Decks] - * summary: Delete deck - * description: Delete a deck (soft delete) - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Deck deleted successfully - * 404: - * description: Deck not found - * - * /api/chats/user-chats: - * get: - * tags: [Chats] - * summary: Get user chats - * description: Get all chats for the current user - * security: - * - bearerAuth: [] - * responses: - * 200: - * description: User chats - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Chat' - * - * /api/chats/history/{chatId}: - * get: - * tags: [Chats] - * summary: Get chat history - * description: Get message history for a chat - * security: - * - bearerAuth: [] - * parameters: - * - name: chatId - * in: path - * required: true - * schema: - * type: string - * - name: page - * in: query - * schema: - * type: integer - * - name: limit - * in: query - * schema: - * type: integer - * responses: - * 200: - * description: Chat history - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/ChatMessage' - * - * /api/chats/create: - * post: - * tags: [Chats] - * summary: Create chat - * description: Create a new chat room - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * required: - * - name - * - gameId - * properties: - * name: - * type: string - * gameId: - * type: string - * password: - * type: string - * nullable: true - * responses: - * 201: - * description: Chat created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Chat' - * - * /api/chats/message: - * post: - * tags: [Chats] - * summary: Send message - * description: Send a message to a chat - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * required: - * - chatId - * - message - * properties: - * chatId: - * type: string - * message: - * type: string - * responses: - * 201: - * description: Message sent successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/ChatMessage' - * - * /api/chats/archive/{chatId}: - * post: - * tags: [Chats] - * summary: Archive chat - * description: Archive a chat room - * security: - * - bearerAuth: [] - * parameters: - * - name: chatId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Chat archived successfully - * 404: - * description: Chat not found - * - * /api/chats/restore/{chatId}: - * post: - * tags: [Chats] - * summary: Restore chat - * description: Restore an archived chat room - * security: - * - bearerAuth: [] - * parameters: - * - name: chatId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Chat restored successfully - * 404: - * description: Chat not found - * - * /api/chats/archived/game/{gameId}: - * get: - * tags: [Chats] - * summary: Get archived chats by game - * description: Get all archived chats for a specific game - * security: - * - bearerAuth: [] - * parameters: - * - name: gameId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Archived chats - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Chat' - * - * /api/deck-import-export/export/{deckId}: - * get: - * tags: [Import/Export] - * summary: Export deck - * description: Export a deck as JSON or .spr file - * security: - * - bearerAuth: [] - * parameters: - * - name: deckId - * in: path - * required: true - * schema: - * type: string - * - name: format - * in: query - * schema: - * type: string - * enum: [json, spr] - * default: json - * responses: - * 200: - * description: Deck exported successfully - * content: - * application/json: - * schema: - * type: object - * application/octet-stream: - * schema: - * type: string - * format: binary - * - * /api/deck-import-export/import: - * post: - * tags: [Import/Export] - * summary: Import deck - * description: Import a deck from JSON or .spr file - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * multipart/form-data: - * schema: - * type: object - * properties: - * file: - * type: string - * format: binary - * responses: - * 201: - * description: Deck imported successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * - * /api/admin/users/page/{from}/{to}: - * get: - * tags: [Admin - Users] - * summary: Get users by page (Admin) - * description: Admin endpoint to retrieve paginated list of users - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated users - * content: - * application/json: - * schema: - * type: object - * properties: - * users: - * type: array - * items: - * $ref: '#/components/schemas/User' - * totalCount: - * type: integer - * - * /api/admin/users/{userId}: - * get: - * tags: [Admin - Users] - * summary: Get user by ID (Admin) - * description: Admin endpoint to get specific user details - * security: - * - bearerAuth: [] - * parameters: - * - name: userId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: User details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * delete: - * tags: [Admin - Users] - * summary: Delete user (Admin) - * description: Admin endpoint to delete a user - * security: - * - bearerAuth: [] - * parameters: - * - name: userId - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: User deleted successfully - * - * /api/admin/users/search/{searchTerm}: - * get: - * tags: [Admin - Users] - * summary: Search users (Admin) - * description: Admin endpoint to search users - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/User' - * - * /api/admin/users/{userId}/deactivate: - * post: - * tags: [Admin - Users] - * summary: Deactivate user (Admin) - * description: Admin endpoint to deactivate a user - * security: - * - bearerAuth: [] - * parameters: - * - name: userId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: User deactivated successfully - * - * /api/admin/decks/page/{from}/{to}: - * get: - * tags: [Admin - Decks] - * summary: Get decks by page (Admin) - * description: Admin endpoint to retrieve paginated list of decks - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated decks - * content: - * application/json: - * schema: - * type: object - * properties: - * decks: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * totalCount: - * type: integer - * - * /api/admin/decks/{id}: - * get: - * tags: [Admin - Decks] - * summary: Get deck by ID (Admin) - * description: Admin endpoint to get specific deck details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Deck details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * - * /api/admin/decks/search/{searchTerm}: - * get: - * tags: [Admin - Decks] - * summary: Search decks (Admin) - * description: Admin endpoint to search decks - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * - * /api/admin/decks/{id}/hard: - * delete: - * tags: [Admin - Decks] - * summary: Hard delete deck (Admin) - * description: Admin endpoint to permanently delete a deck - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Deck permanently deleted - * - * /api/admin/organizations: - * post: - * tags: [Admin - Organizations] - * summary: Create organization (Admin) - * description: Admin endpoint to create a new organization - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * required: - * - name - * properties: - * name: - * type: string - * description: - * type: string - * responses: - * 201: - * description: Organization created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Organization' - * - * /api/admin/organizations/page/{from}/{to}: - * get: - * tags: [Admin - Organizations] - * summary: Get organizations by page (Admin) - * description: Admin endpoint to retrieve paginated list of organizations - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated organizations - * content: - * application/json: - * schema: - * type: object - * properties: - * organizations: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * totalCount: - * type: integer - * - * /api/admin/organizations/{id}: - * get: - * tags: [Admin - Organizations] - * summary: Get organization by ID (Admin) - * description: Admin endpoint to get specific organization details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Organization details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Organization' - * delete: - * tags: [Admin - Organizations] - * summary: Delete organization (Admin) - * description: Admin endpoint to soft delete an organization - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Organization deleted successfully - * - * /api/admin/organizations/search/{searchTerm}: - * get: - * tags: [Admin - Organizations] - * summary: Search organizations (Admin) - * description: Admin endpoint to search organizations - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * - * /api/admin/organizations/{id}/hard: - * delete: - * tags: [Admin - Organizations] - * summary: Hard delete organization (Admin) - * description: Admin endpoint to permanently delete an organization - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Organization permanently deleted - * - * /api/admin/chats/page/{from}/{to}: - * get: - * tags: [Admin - Chats] - * summary: Get chats by page (Admin) - * description: Admin endpoint to retrieve paginated list of chats - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated chats - * content: - * application/json: - * schema: - * type: object - * properties: - * chats: - * type: array - * items: - * $ref: '#/components/schemas/Chat' - * totalCount: - * type: integer - * - * /api/admin/chats/{id}: - * get: - * tags: [Admin - Chats] - * summary: Get chat by ID (Admin) - * description: Admin endpoint to get specific chat details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Chat details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Chat' - * - * /api/admin/contacts/page/{from}/{to}: - * get: - * tags: [Admin - Contacts] - * summary: Get contacts by page (Admin) - * description: Admin endpoint to retrieve paginated list of contacts - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated contacts - * content: - * application/json: - * schema: - * type: object - * properties: - * contacts: - * type: array - * items: - * $ref: '#/components/schemas/Contact' - * totalCount: - * type: integer - * - * /api/admin/contacts/{id}: - * get: - * tags: [Admin - Contacts] - * summary: Get contact by ID (Admin) - * description: Admin endpoint to get specific contact details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Contact details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Contact' - * - * /api/admin/contacts/search/{searchTerm}: - * get: - * tags: [Admin - Contacts] - * summary: Search contacts (Admin) - * description: Admin endpoint to search contacts - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Contact' - * - * /api/contacts: - * post: - * tags: [Contacts] - * summary: Create contact - * description: Create a new contact message - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateContactRequest' - * responses: - * 201: - * description: Contact created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Contact' - */ -export {}; -//# sourceMappingURL=swaggerDefinitions.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.d.ts.map b/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.d.ts.map deleted file mode 100644 index 9f932502..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"swaggerDefinitions.d.ts","sourceRoot":"","sources":["../../../src/Api/swagger/swaggerDefinitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA81CG;AAEH,OAAO,EAAE,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.js b/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.js deleted file mode 100644 index e9b1be5d..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.js +++ /dev/null @@ -1,1378 +0,0 @@ -"use strict"; -/** - * @swagger - * components: - * securitySchemes: - * bearerAuth: - * type: http - * scheme: bearer - * bearerFormat: JWT - * schemas: - * User: - * type: object - * properties: - * id: - * type: string - * format: uuid - * username: - * type: string - * email: - * type: string - * format: email - * fname: - * type: string - * lname: - * type: string - * phone: - * type: string - * nullable: true - * type: - * type: string - * state: - * type: integer - * regdate: - * type: string - * format: date-time - * updatedate: - * type: string - * format: date-time - * orgid: - * type: string - * nullable: true - * - * CreateUserRequest: - * type: object - * required: - * - username - * - email - * - password - * - fname - * - lname - * - type - * properties: - * username: - * type: string - * email: - * type: string - * format: email - * password: - * type: string - * format: password - * fname: - * type: string - * lname: - * type: string - * phone: - * type: string - * type: - * type: string - * - * LoginRequest: - * type: object - * required: - * - username - * - password - * properties: - * username: - * type: string - * password: - * type: string - * format: password - * - * LoginResponse: - * type: object - * properties: - * token: - * type: string - * user: - * $ref: '#/components/schemas/User' - * requiresOrgReauth: - * type: boolean - * orgLoginUrl: - * type: string - * organizationName: - * type: string - * - * UpdateProfileRequest: - * type: object - * properties: - * fname: - * type: string - * lname: - * type: string - * phone: - * type: string - * email: - * type: string - * format: email - * - * Organization: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * contactfname: - * type: string - * contactlname: - * type: string - * contactphone: - * type: string - * contactemail: - * type: string - * format: email - * state: - * type: integer - * regdate: - * type: string - * format: date-time - * updatedate: - * type: string - * format: date-time - * url: - * type: string - * nullable: true - * userinorg: - * type: integer - * maxOrganizationalDecks: - * type: integer - * - * Deck: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * type: - * type: integer - * enum: [0, 1, 2, 3] - * description: 0=JOKER, 1=LUCK, 2=QUESTION, 3=GENERAL - * userid: - * type: string - * format: uuid - * creationdate: - * type: string - * format: date-time - * cards: - * type: array - * items: - * type: object - * playedNumber: - * type: integer - * ctype: - * type: integer - * enum: [0, 1, 2] - * description: 0=PUBLIC, 1=ORGANIZATIONAL, 2=PRIVATE - * updatedate: - * type: string - * format: date-time - * state: - * type: integer - * enum: [0, 1, 2] - * description: 0=ACTIVE, 1=INACTIVE, 2=SOFT_DELETE - * organization: - * $ref: '#/components/schemas/Organization' - * nullable: true - * - * CreateDeckRequest: - * type: object - * required: - * - name - * - type - * - cards - * properties: - * name: - * type: string - * type: - * type: integer - * cards: - * type: array - * items: - * type: object - * ctype: - * type: integer - * - * Contact: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * email: - * type: string - * format: email - * userid: - * type: string - * format: uuid - * nullable: true - * type: - * type: integer - * enum: [0, 1, 2] - * description: 0=QUESTION, 1=BUG_REPORT, 2=SUGGESTION - * txt: - * type: string - * state: - * type: integer - * createDate: - * type: string - * format: date-time - * updateDate: - * type: string - * format: date-time - * adminResponse: - * type: string - * nullable: true - * responseDate: - * type: string - * format: date-time - * nullable: true - * respondedBy: - * type: string - * nullable: true - * - * CreateContactRequest: - * type: object - * required: - * - name - * - email - * - type - * - txt - * properties: - * name: - * type: string - * email: - * type: string - * format: email - * type: - * type: integer - * txt: - * type: string - * - * Chat: - * type: object - * properties: - * id: - * type: string - * format: uuid - * name: - * type: string - * type: - * type: integer - * participants: - * type: array - * items: - * type: string - * creatorId: - * type: string - * gameId: - * type: string - * nullable: true - * createDate: - * type: string - * format: date-time - * updateDate: - * type: string - * format: date-time - * state: - * type: integer - * - * ChatMessage: - * type: object - * properties: - * id: - * type: string - * format: uuid - * senderId: - * type: string - * senderName: - * type: string - * message: - * type: string - * timestamp: - * type: string - * format: date-time - * chatId: - * type: string - * - * Error: - * type: object - * properties: - * error: - * type: string - * timestamp: - * type: string - * format: date-time - * details: - * type: string - * - * paths: - * /api/users/login: - * post: - * tags: [Users] - * summary: User login - * description: Authenticate user and return JWT token - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/LoginRequest' - * responses: - * 200: - * description: Login successful - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/LoginResponse' - * 401: - * description: Invalid credentials - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Error' - * - * /api/users/create: - * post: - * tags: [Users] - * summary: Create new user - * description: Register a new user account - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateUserRequest' - * responses: - * 201: - * description: User created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * 400: - * description: Validation error - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Error' - * - * /api/users/profile: - * get: - * tags: [Users] - * summary: Get user profile - * description: Get current user's profile information - * security: - * - bearerAuth: [] - * responses: - * 200: - * description: User profile data - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * 401: - * description: Unauthorized - * patch: - * tags: [Users] - * summary: Update user profile - * description: Update current user's profile information - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/UpdateProfileRequest' - * responses: - * 200: - * description: Profile updated successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * 400: - * description: Validation error - * 401: - * description: Unauthorized - * - * /api/organizations/page/{from}/{to}: - * get: - * tags: [Organizations] - * summary: Get organizations by page - * description: Retrieve paginated list of organizations - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated organizations - * content: - * application/json: - * schema: - * type: object - * properties: - * organizations: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * totalCount: - * type: integer - * - * /api/organizations/search: - * get: - * tags: [Organizations] - * summary: Search organizations - * description: Search organizations by term - * security: - * - bearerAuth: [] - * parameters: - * - name: term - * in: query - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: object - * properties: - * results: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * totalCount: - * type: integer - * - * /api/organizations/{orgId}/login-url: - * get: - * tags: [Organizations] - * summary: Get organization login URL - * description: Get OAuth login URL for organization - * security: - * - bearerAuth: [] - * parameters: - * - name: orgId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Login URL - * content: - * application/json: - * schema: - * type: object - * properties: - * loginUrl: - * type: string - * - * /api/organizations/auth-callback: - * post: - * tags: [Organizations] - * summary: OAuth callback - * description: Handle OAuth callback from organization - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * properties: - * code: - * type: string - * state: - * type: string - * responses: - * 200: - * description: Authentication successful - * 400: - * description: Invalid callback data - * - * /api/decks/page/{from}/{to}: - * get: - * tags: [Decks] - * summary: Get decks by page - * description: Retrieve paginated list of decks - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated decks - * content: - * application/json: - * schema: - * type: object - * properties: - * decks: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * totalCount: - * type: integer - * - * /api/decks: - * post: - * tags: [Decks] - * summary: Create deck - * description: Create a new deck - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateDeckRequest' - * responses: - * 201: - * description: Deck created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * - * /api/decks/search: - * get: - * tags: [Decks] - * summary: Search decks - * description: Search decks by term - * security: - * - bearerAuth: [] - * parameters: - * - name: term - * in: query - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: object - * properties: - * results: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * totalCount: - * type: integer - * - * /api/decks/{id}: - * get: - * tags: [Decks] - * summary: Get deck by ID - * description: Retrieve a specific deck by ID - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Deck details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * 404: - * description: Deck not found - * put: - * tags: [Decks] - * summary: Update deck - * description: Update an existing deck - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateDeckRequest' - * responses: - * 200: - * description: Deck updated successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * delete: - * tags: [Decks] - * summary: Delete deck - * description: Delete a deck (soft delete) - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Deck deleted successfully - * 404: - * description: Deck not found - * - * /api/chats/user-chats: - * get: - * tags: [Chats] - * summary: Get user chats - * description: Get all chats for the current user - * security: - * - bearerAuth: [] - * responses: - * 200: - * description: User chats - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Chat' - * - * /api/chats/history/{chatId}: - * get: - * tags: [Chats] - * summary: Get chat history - * description: Get message history for a chat - * security: - * - bearerAuth: [] - * parameters: - * - name: chatId - * in: path - * required: true - * schema: - * type: string - * - name: page - * in: query - * schema: - * type: integer - * - name: limit - * in: query - * schema: - * type: integer - * responses: - * 200: - * description: Chat history - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/ChatMessage' - * - * /api/chats/create: - * post: - * tags: [Chats] - * summary: Create chat - * description: Create a new chat room - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * required: - * - name - * - gameId - * properties: - * name: - * type: string - * gameId: - * type: string - * password: - * type: string - * nullable: true - * responses: - * 201: - * description: Chat created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Chat' - * - * /api/chats/message: - * post: - * tags: [Chats] - * summary: Send message - * description: Send a message to a chat - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * required: - * - chatId - * - message - * properties: - * chatId: - * type: string - * message: - * type: string - * responses: - * 201: - * description: Message sent successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/ChatMessage' - * - * /api/chats/archive/{chatId}: - * post: - * tags: [Chats] - * summary: Archive chat - * description: Archive a chat room - * security: - * - bearerAuth: [] - * parameters: - * - name: chatId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Chat archived successfully - * 404: - * description: Chat not found - * - * /api/chats/restore/{chatId}: - * post: - * tags: [Chats] - * summary: Restore chat - * description: Restore an archived chat room - * security: - * - bearerAuth: [] - * parameters: - * - name: chatId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Chat restored successfully - * 404: - * description: Chat not found - * - * /api/chats/archived/game/{gameId}: - * get: - * tags: [Chats] - * summary: Get archived chats by game - * description: Get all archived chats for a specific game - * security: - * - bearerAuth: [] - * parameters: - * - name: gameId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Archived chats - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Chat' - * - * /api/deck-import-export/export/{deckId}: - * get: - * tags: [Import/Export] - * summary: Export deck - * description: Export a deck as JSON or .spr file - * security: - * - bearerAuth: [] - * parameters: - * - name: deckId - * in: path - * required: true - * schema: - * type: string - * - name: format - * in: query - * schema: - * type: string - * enum: [json, spr] - * default: json - * responses: - * 200: - * description: Deck exported successfully - * content: - * application/json: - * schema: - * type: object - * application/octet-stream: - * schema: - * type: string - * format: binary - * - * /api/deck-import-export/import: - * post: - * tags: [Import/Export] - * summary: Import deck - * description: Import a deck from JSON or .spr file - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * multipart/form-data: - * schema: - * type: object - * properties: - * file: - * type: string - * format: binary - * responses: - * 201: - * description: Deck imported successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * - * /api/admin/users/page/{from}/{to}: - * get: - * tags: [Admin - Users] - * summary: Get users by page (Admin) - * description: Admin endpoint to retrieve paginated list of users - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated users - * content: - * application/json: - * schema: - * type: object - * properties: - * users: - * type: array - * items: - * $ref: '#/components/schemas/User' - * totalCount: - * type: integer - * - * /api/admin/users/{userId}: - * get: - * tags: [Admin - Users] - * summary: Get user by ID (Admin) - * description: Admin endpoint to get specific user details - * security: - * - bearerAuth: [] - * parameters: - * - name: userId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: User details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/User' - * delete: - * tags: [Admin - Users] - * summary: Delete user (Admin) - * description: Admin endpoint to delete a user - * security: - * - bearerAuth: [] - * parameters: - * - name: userId - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: User deleted successfully - * - * /api/admin/users/search/{searchTerm}: - * get: - * tags: [Admin - Users] - * summary: Search users (Admin) - * description: Admin endpoint to search users - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/User' - * - * /api/admin/users/{userId}/deactivate: - * post: - * tags: [Admin - Users] - * summary: Deactivate user (Admin) - * description: Admin endpoint to deactivate a user - * security: - * - bearerAuth: [] - * parameters: - * - name: userId - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: User deactivated successfully - * - * /api/admin/decks/page/{from}/{to}: - * get: - * tags: [Admin - Decks] - * summary: Get decks by page (Admin) - * description: Admin endpoint to retrieve paginated list of decks - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated decks - * content: - * application/json: - * schema: - * type: object - * properties: - * decks: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * totalCount: - * type: integer - * - * /api/admin/decks/{id}: - * get: - * tags: [Admin - Decks] - * summary: Get deck by ID (Admin) - * description: Admin endpoint to get specific deck details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Deck details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Deck' - * - * /api/admin/decks/search/{searchTerm}: - * get: - * tags: [Admin - Decks] - * summary: Search decks (Admin) - * description: Admin endpoint to search decks - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Deck' - * - * /api/admin/decks/{id}/hard: - * delete: - * tags: [Admin - Decks] - * summary: Hard delete deck (Admin) - * description: Admin endpoint to permanently delete a deck - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Deck permanently deleted - * - * /api/admin/organizations: - * post: - * tags: [Admin - Organizations] - * summary: Create organization (Admin) - * description: Admin endpoint to create a new organization - * security: - * - bearerAuth: [] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * type: object - * required: - * - name - * properties: - * name: - * type: string - * description: - * type: string - * responses: - * 201: - * description: Organization created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Organization' - * - * /api/admin/organizations/page/{from}/{to}: - * get: - * tags: [Admin - Organizations] - * summary: Get organizations by page (Admin) - * description: Admin endpoint to retrieve paginated list of organizations - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated organizations - * content: - * application/json: - * schema: - * type: object - * properties: - * organizations: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * totalCount: - * type: integer - * - * /api/admin/organizations/{id}: - * get: - * tags: [Admin - Organizations] - * summary: Get organization by ID (Admin) - * description: Admin endpoint to get specific organization details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Organization details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Organization' - * delete: - * tags: [Admin - Organizations] - * summary: Delete organization (Admin) - * description: Admin endpoint to soft delete an organization - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Organization deleted successfully - * - * /api/admin/organizations/search/{searchTerm}: - * get: - * tags: [Admin - Organizations] - * summary: Search organizations (Admin) - * description: Admin endpoint to search organizations - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Organization' - * - * /api/admin/organizations/{id}/hard: - * delete: - * tags: [Admin - Organizations] - * summary: Hard delete organization (Admin) - * description: Admin endpoint to permanently delete an organization - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 204: - * description: Organization permanently deleted - * - * /api/admin/chats/page/{from}/{to}: - * get: - * tags: [Admin - Chats] - * summary: Get chats by page (Admin) - * description: Admin endpoint to retrieve paginated list of chats - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated chats - * content: - * application/json: - * schema: - * type: object - * properties: - * chats: - * type: array - * items: - * $ref: '#/components/schemas/Chat' - * totalCount: - * type: integer - * - * /api/admin/chats/{id}: - * get: - * tags: [Admin - Chats] - * summary: Get chat by ID (Admin) - * description: Admin endpoint to get specific chat details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Chat details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Chat' - * - * /api/admin/contacts/page/{from}/{to}: - * get: - * tags: [Admin - Contacts] - * summary: Get contacts by page (Admin) - * description: Admin endpoint to retrieve paginated list of contacts - * security: - * - bearerAuth: [] - * parameters: - * - name: from - * in: path - * required: true - * schema: - * type: integer - * - name: to - * in: path - * required: true - * schema: - * type: integer - * responses: - * 200: - * description: Paginated contacts - * content: - * application/json: - * schema: - * type: object - * properties: - * contacts: - * type: array - * items: - * $ref: '#/components/schemas/Contact' - * totalCount: - * type: integer - * - * /api/admin/contacts/{id}: - * get: - * tags: [Admin - Contacts] - * summary: Get contact by ID (Admin) - * description: Admin endpoint to get specific contact details - * security: - * - bearerAuth: [] - * parameters: - * - name: id - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Contact details - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Contact' - * - * /api/admin/contacts/search/{searchTerm}: - * get: - * tags: [Admin - Contacts] - * summary: Search contacts (Admin) - * description: Admin endpoint to search contacts - * security: - * - bearerAuth: [] - * parameters: - * - name: searchTerm - * in: path - * required: true - * schema: - * type: string - * responses: - * 200: - * description: Search results - * content: - * application/json: - * schema: - * type: array - * items: - * $ref: '#/components/schemas/Contact' - * - * /api/contacts: - * post: - * tags: [Contacts] - * summary: Create contact - * description: Create a new contact message - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/CreateContactRequest' - * responses: - * 201: - * description: Contact created successfully - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/Contact' - */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=swaggerDefinitions.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.js.map b/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.js.map deleted file mode 100644 index 0e80d3c0..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerDefinitions.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"swaggerDefinitions.js","sourceRoot":"","sources":["../../../src/Api/swagger/swaggerDefinitions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA81CG"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.d.ts b/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.d.ts deleted file mode 100644 index 4a14beb8..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import express from 'express'; -export declare function setupSwagger(app: express.Application): void; -//# sourceMappingURL=swaggerUiSetup.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.d.ts.map b/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.d.ts.map deleted file mode 100644 index ab391802..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"swaggerUiSetup.d.ts","sourceRoot":"","sources":["../../../src/Api/swagger/swaggerUiSetup.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAI9B,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,CAAC,WAAW,QAEpD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.js b/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.js deleted file mode 100644 index a1541133..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.setupSwagger = setupSwagger; -const swagger_ui_express_1 = __importDefault(require("swagger-ui-express")); -const swaggerConfig_1 = require("./swaggerConfig"); -function setupSwagger(app) { - app.use('/api-docs', swagger_ui_express_1.default.serve, swagger_ui_express_1.default.setup(swaggerConfig_1.swaggerSpec)); -} -//# sourceMappingURL=swaggerUiSetup.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.js.map b/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.js.map deleted file mode 100644 index 16589fe2..00000000 --- a/SerpentRace_Backend/dist/Api/swagger/swaggerUiSetup.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"swaggerUiSetup.js","sourceRoot":"","sources":["../../../src/Api/swagger/swaggerUiSetup.ts"],"names":[],"mappings":";;;;;AAIA,oCAEC;AALD,4EAA2C;AAC3C,mDAA8C;AAE9C,SAAgB,YAAY,CAAC,GAAwB;IACnD,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,4BAAS,CAAC,KAAK,EAAE,4BAAS,CAAC,KAAK,CAAC,2BAAW,CAAC,CAAC,CAAC;AACtE,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.d.ts b/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.d.ts deleted file mode 100644 index 21a41381..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { ArchiveChatCommand, RestoreChatCommand } from './ChatCommands'; -import { IChatRepository } from '../../../Domain/IRepository/IChatRepository'; -export declare class ArchiveChatCommandHandler { - private chatRepository; - constructor(chatRepository: IChatRepository); - execute(command: ArchiveChatCommand): Promise; -} -export declare class RestoreChatCommandHandler { - private chatRepository; - constructor(chatRepository: IChatRepository); - execute(command: RestoreChatCommand): Promise; -} -//# sourceMappingURL=ChatArchiveCommandHandlers.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.d.ts.map deleted file mode 100644 index 55adda6d..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatArchiveCommandHandlers.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/ChatArchiveCommandHandlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAI9E,qBAAa,yBAAyB;IACtB,OAAO,CAAC,cAAc;gBAAd,cAAc,EAAE,eAAe;IAE7C,OAAO,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAsB/D;AAED,qBAAa,yBAAyB;IACtB,OAAO,CAAC,cAAc;gBAAd,cAAc,EAAE,eAAe;IAE7C,OAAO,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAiC/D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.js b/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.js deleted file mode 100644 index 2c7ee234..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RestoreChatCommandHandler = exports.ArchiveChatCommandHandler = void 0; -const ChatAggregate_1 = require("../../../Domain/Chat/ChatAggregate"); -const Logger_1 = require("../../Services/Logger"); -class ArchiveChatCommandHandler { - constructor(chatRepository) { - this.chatRepository = chatRepository; - } - async execute(command) { - try { - const chat = await this.chatRepository.findById(command.chatId); - if (!chat) { - throw new Error('Chat not found'); - } - await this.chatRepository.archiveChat(chat); - (0, Logger_1.logAuth)('Chat archived manually', undefined, { - chatId: command.chatId, - chatType: chat.type, - messageCount: chat.messages.length - }); - return true; - } - catch (error) { - (0, Logger_1.logError)('ArchiveChatCommandHandler error', error); - return false; - } - } -} -exports.ArchiveChatCommandHandler = ArchiveChatCommandHandler; -class RestoreChatCommandHandler { - constructor(chatRepository) { - this.chatRepository = chatRepository; - } - async execute(command) { - try { - const archive = await this.chatRepository.getArchivedChat(command.chatId); - if (!archive) { - throw new Error('Archived chat not found'); - } - // Game chats cannot be restored, only viewed - if (archive.chatType === ChatAggregate_1.ChatType.GAME) { - (0, Logger_1.logWarning)('Attempt to restore game chat blocked', { - chatId: command.chatId, - chatType: archive.chatType - }); - return false; - } - const restoredChat = await this.chatRepository.restoreFromArchive(command.chatId); - if (!restoredChat) { - throw new Error('Failed to restore chat from archive'); - } - (0, Logger_1.logAuth)('Chat restored from archive', undefined, { - chatId: command.chatId, - messageCount: archive.archivedMessages.length - }); - return true; - } - catch (error) { - (0, Logger_1.logError)('RestoreChatCommandHandler error', error); - return false; - } - } -} -exports.RestoreChatCommandHandler = RestoreChatCommandHandler; -//# sourceMappingURL=ChatArchiveCommandHandlers.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.js.map b/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.js.map deleted file mode 100644 index f93b9380..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatArchiveCommandHandlers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatArchiveCommandHandlers.js","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/ChatArchiveCommandHandlers.ts"],"names":[],"mappings":";;;AAEA,sEAA8D;AAC9D,kDAAsE;AAEtE,MAAa,yBAAyB;IAClC,YAAoB,cAA+B;QAA/B,mBAAc,GAAd,cAAc,CAAiB;IAAG,CAAC;IAEvD,KAAK,CAAC,OAAO,CAAC,OAA2B;QACrC,IAAI,CAAC;YACD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAChE,IAAI,CAAC,IAAI,EAAE,CAAC;gBACR,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;YACtC,CAAC;YAED,MAAM,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;YAE5C,IAAA,gBAAO,EAAC,wBAAwB,EAAE,SAAS,EAAE;gBACzC,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,QAAQ,EAAE,IAAI,CAAC,IAAI;gBACnB,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM;aACrC,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QAEhB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,iCAAiC,EAAE,KAAc,CAAC,CAAC;YAC5D,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ;AAzBD,8DAyBC;AAED,MAAa,yBAAyB;IAClC,YAAoB,cAA+B;QAA/B,mBAAc,GAAd,cAAc,CAAiB;IAAG,CAAC;IAEvD,KAAK,CAAC,OAAO,CAAC,OAA2B;QACrC,IAAI,CAAC;YACD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC1E,IAAI,CAAC,OAAO,EAAE,CAAC;gBACX,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;YAC/C,CAAC;YAED,6CAA6C;YAC7C,IAAI,OAAO,CAAC,QAAQ,KAAK,wBAAQ,CAAC,IAAI,EAAE,CAAC;gBACrC,IAAA,mBAAU,EAAC,sCAAsC,EAAE;oBAC/C,MAAM,EAAE,OAAO,CAAC,MAAM;oBACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ;iBAC7B,CAAC,CAAC;gBACH,OAAO,KAAK,CAAC;YACjB,CAAC;YAED,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAClF,IAAI,CAAC,YAAY,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;YAC3D,CAAC;YAED,IAAA,gBAAO,EAAC,4BAA4B,EAAE,SAAS,EAAE;gBAC7C,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,YAAY,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM;aAChD,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QAEhB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,iCAAiC,EAAE,KAAc,CAAC,CAAC;YAC5D,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ;AApCD,8DAoCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.d.ts b/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.d.ts deleted file mode 100644 index da701535..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface CreateChatCommand { - type: 'direct' | 'group' | 'game'; - name?: string; - gameId?: string; - createdBy: string; - userIds: string[]; -} -export interface SendMessageCommand { - chatId: string; - userId: string; - message: string; -} -export interface ArchiveChatCommand { - chatId: string; -} -export interface RestoreChatCommand { - chatId: string; -} -//# sourceMappingURL=ChatCommands.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.d.ts.map deleted file mode 100644 index a8f458da..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatCommands.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/ChatCommands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.js b/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.js deleted file mode 100644 index fd9c2dae..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=ChatCommands.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.js.map b/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.js.map deleted file mode 100644 index d964c636..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/ChatCommands.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatCommands.js","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/ChatCommands.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.d.ts deleted file mode 100644 index 9c3e1331..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { CreateChatCommand } from './ChatCommands'; -import { IChatRepository } from '../../../Domain/IRepository/IChatRepository'; -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { ChatAggregate } from '../../../Domain/Chat/ChatAggregate'; -export declare class CreateChatCommandHandler { - private chatRepository; - private userRepository; - constructor(chatRepository: IChatRepository, userRepository: IUserRepository); - execute(command: CreateChatCommand): Promise; -} -//# sourceMappingURL=CreateChatCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.d.ts.map deleted file mode 100644 index 54e7f299..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateChatCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/CreateChatCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAY,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAI7E,qBAAa,wBAAwB;IAE7B,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,cAAc;gBADd,cAAc,EAAE,eAAe,EAC/B,cAAc,EAAE,eAAe;IAGrC,OAAO,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;CAuE3E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.js b/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.js deleted file mode 100644 index 48a3460c..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateChatCommandHandler = void 0; -const ChatAggregate_1 = require("../../../Domain/Chat/ChatAggregate"); -const UserAggregate_1 = require("../../../Domain/User/UserAggregate"); -const Logger_1 = require("../../Services/Logger"); -class CreateChatCommandHandler { - constructor(chatRepository, userRepository) { - this.chatRepository = chatRepository; - this.userRepository = userRepository; - } - async execute(command) { - try { - // Validate creator exists - const creator = await this.userRepository.findById(command.createdBy); - if (!creator) { - throw new Error('Creator not found'); - } - // For group chats, check if creator is premium - if (command.type === 'group' && creator.state !== UserAggregate_1.UserState.VERIFIED_PREMIUM) { - throw new Error('Premium subscription required to create groups'); - } - // Validate all target users exist - const targetUsers = await Promise.all(command.userIds.map(id => this.userRepository.findById(id))); - if (targetUsers.some(user => !user)) { - throw new Error('One or more target users not found'); - } - // For direct chats, check if already exists - if (command.type === 'direct' && command.userIds.length === 1) { - const existingChats = await this.chatRepository.findByUserId(command.createdBy); - const existingDirectChat = existingChats.find(chat => chat.type === ChatAggregate_1.ChatType.DIRECT && - chat.users.length === 2 && - chat.users.includes(command.userIds[0])); - if (existingDirectChat) { - return existingDirectChat; - } - } - // For game chats, check if already exists - if (command.type === 'game' && command.gameId) { - const existingGameChat = await this.chatRepository.findByGameId(command.gameId); - if (existingGameChat) { - return existingGameChat; - } - } - // Create chat - const chatData = { - type: command.type, - name: command.name, - gameId: command.gameId, - createdBy: command.createdBy, - users: [command.createdBy, ...command.userIds], - messages: [], - lastActivity: new Date() - }; - const chat = await this.chatRepository.create(chatData); - (0, Logger_1.logAuth)('Chat created successfully', command.createdBy, { - chatId: chat.id, - chatType: command.type, - participantCount: chat.users.length, - gameId: command.gameId - }); - return chat; - } - catch (error) { - (0, Logger_1.logError)('CreateChatCommandHandler error', error); - return null; - } - } -} -exports.CreateChatCommandHandler = CreateChatCommandHandler; -//# sourceMappingURL=CreateChatCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.js.map deleted file mode 100644 index 6a9cc580..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/CreateChatCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateChatCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/CreateChatCommandHandler.ts"],"names":[],"mappings":";;;AAGA,sEAA6E;AAC7E,sEAA+D;AAC/D,kDAA0D;AAE1D,MAAa,wBAAwB;IACjC,YACY,cAA+B,EAC/B,cAA+B;QAD/B,mBAAc,GAAd,cAAc,CAAiB;QAC/B,mBAAc,GAAd,cAAc,CAAiB;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,OAA0B;QACpC,IAAI,CAAC;YACD,0BAA0B;YAC1B,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YACtE,IAAI,CAAC,OAAO,EAAE,CAAC;gBACX,MAAM,IAA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MAAM,EAAE,CAAC;gBAC5C,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBAChF,IAAI,gBAAgB,EAAE,CAAC;oBACnB,OAAO,gBAAgB,CAAC;gBAC5B,CAAC;YACL,CAAC;YAED,cAAc;YACd,MAAM,QAAQ,GAA2B;gBACrC,IAAI,EAAE,OAAO,CAAC,IAAW;gBACzB,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,KAAK,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;gBAC9C,QAAQ,EAAE,EAAE;gBACZ,YAAY,EAAE,IAAI,IAAI,EAAE;aAC3B,CAAC;YAEF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAExD,IAAA,gBAAO,EAAC,2BAA2B,EAAE,OAAO,CAAC,SAAS,EAAE;gBACpD,MAAM,EAAE,IAAI,CAAC,EAAE;gBACf,QAAQ,EAAE,OAAO,CAAC,IAAI;gBACtB,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBACnC,MAAM,EAAE,OAAO,CAAC,MAAM;aACzB,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QAEhB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,gCAAgC,EAAE,KAAc,CAAC,CAAC;YAC3D,OAAO,IAAI,CAAC;QAChB,CAAC;IACL,CAAC;CACJ;AA7ED,4DA6EC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.d.ts deleted file mode 100644 index 55f64f92..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { SendMessageCommand } from './ChatCommands'; -import { IChatRepository } from '../../../Domain/IRepository/IChatRepository'; -import { Message } from '../../../Domain/Chat/ChatAggregate'; -export declare class SendMessageCommandHandler { - private chatRepository; - constructor(chatRepository: IChatRepository); - execute(command: SendMessageCommand): Promise; - private pruneMessages; -} -//# sourceMappingURL=SendMessageCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.d.ts.map deleted file mode 100644 index 5a11e9cf..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SendMessageCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/SendMessageCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAI7D,qBAAa,yBAAyB;IACtB,OAAO,CAAC,cAAc;gBAAd,cAAc,EAAE,eAAe;IAE7C,OAAO,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAiDnE,OAAO,CAAC,aAAa;CAyBxB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.js b/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.js deleted file mode 100644 index 8dd9d499..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.js +++ /dev/null @@ -1,74 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.SendMessageCommandHandler = void 0; -const Logger_1 = require("../../Services/Logger"); -const uuid_1 = require("uuid"); -class SendMessageCommandHandler { - constructor(chatRepository) { - this.chatRepository = chatRepository; - } - async execute(command) { - try { - // Validate message is non-empty string - if (typeof command.message !== 'string' || !command.message.trim()) { - throw new Error('Message must be a non-empty string'); - } - const chat = await this.chatRepository.findById(command.chatId); - if (!chat) { - throw new Error('Chat not found'); - } - // Check if user is member of this chat - if (!chat.users.includes(command.userId)) { - throw new Error('User is not a member of this chat'); - } - // Create message - const message = { - id: (0, uuid_1.v4)(), - date: new Date(), - userid: command.userId, - text: command.message.trim() - }; - // Manage message history (keep last 10 per user, up to 2 weeks) - let updatedMessages = [...chat.messages, message]; - updatedMessages = this.pruneMessages(updatedMessages); - // Update chat - await this.chatRepository.update(command.chatId, { - messages: updatedMessages, - lastActivity: new Date() - }); - (0, Logger_1.logAuth)('Message sent successfully', command.userId, { - chatId: command.chatId, - messageLength: command.message.length, - totalMessages: updatedMessages.length - }); - return message; - } - catch (error) { - (0, Logger_1.logError)('SendMessageCommandHandler error', error); - return null; - } - } - pruneMessages(messages) { - const twoWeeksAgo = new Date(Date.now() - 14 * 24 * 60 * 60 * 1000); - // Remove messages older than 2 weeks - let prunedMessages = messages.filter(msg => new Date(msg.date) > twoWeeksAgo); - // Group by user and keep last 10 messages per user - const messagesByUser = new Map(); - prunedMessages.forEach(msg => { - if (!messagesByUser.has(msg.userid)) { - messagesByUser.set(msg.userid, []); - } - messagesByUser.get(msg.userid).push(msg); - }); - // Keep only last 10 messages per user - const finalMessages = []; - messagesByUser.forEach((userMessages, userId) => { - const last10 = userMessages.slice(-10); - finalMessages.push(...last10); - }); - // Sort by date - return finalMessages.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()); - } -} -exports.SendMessageCommandHandler = SendMessageCommandHandler; -//# sourceMappingURL=SendMessageCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.js.map deleted file mode 100644 index 495c34bc..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SendMessageCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SendMessageCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/SendMessageCommandHandler.ts"],"names":[],"mappings":";;;AAGA,kDAA0D;AAC1D,+BAAoC;AAEpC,MAAa,yBAAyB;IAClC,YAAoB,cAA+B;QAA/B,mBAAc,GAAd,cAAc,CAAiB;IAAG,CAAC;IAEvD,KAAK,CAAC,OAAO,CAAC,OAA2B;QACrC,IAAI,CAAC;YACD,uCAAuC;YACvC,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;gBACjE,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;YAC1D,CAAC;YAED,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAChE,IAAI,CAAC,IAAI,EAAE,CAAC;gBACR,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;YACtC,CAAC;YAED,uCAAuC;YACvC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;gBACvC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;YACzD,CAAC;YAED,iBAAiB;YACjB,MAAM,OAAO,GAAY;gBACrB,EAAE,EAAE,IAAA,SAAM,GAAE;gBACZ,IAAI,EAAE,IAAI,IAAI,EAAE;gBAChB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE;aAC/B,CAAC;YAEF,gEAAgE;YAChE,IAAI,eAAe,GAAG,C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,CAAC,CAAC;YACvC,CAAC;YACD,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9C,CAAC,CAAC,CAAC;QAEH,sCAAsC;QACtC,MAAM,aAAa,GAAc,EAAE,CAAC;QACpC,cAAc,CAAC,OAAO,CAAC,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE;YAC5C,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;YACvC,aAAa,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;QAEH,eAAe;QACf,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;CACJ;AA7ED,8DA6EC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.d.ts b/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.d.ts deleted file mode 100644 index 8291e50f..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.d.ts +++ /dev/null @@ -1 +0,0 @@ -//# sourceMappingURL=SoftDeleteCommandHandlers.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.d.ts.map deleted file mode 100644 index 877f04d0..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SoftDeleteCommandHandlers.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/SoftDeleteCommandHandlers.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.js b/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.js deleted file mode 100644 index ecfdffa3..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -//# sourceMappingURL=SoftDeleteCommandHandlers.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.js.map b/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.js.map deleted file mode 100644 index 269abadf..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/commands/SoftDeleteCommandHandlers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SoftDeleteCommandHandlers.js","sourceRoot":"","sources":["../../../../src/Application/Chat/commands/SoftDeleteCommandHandlers.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.d.ts b/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.d.ts deleted file mode 100644 index 812acfbb..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { GetChatHistoryQuery, GetArchivedChatsQuery } from './ChatQueries'; -import { IChatRepository } from '../../../Domain/IRepository/IChatRepository'; -import { IChatArchiveRepository } from '../../../Domain/IRepository/IChatArchiveRepository'; -import { Message } from '../../../Domain/Chat/ChatAggregate'; -interface ChatHistoryResult { - chatId: string; - messages: Message[]; - isArchived: boolean; - chatInfo: { - type: string; - name: string | null; - gameId: string | null; - users: string[]; - }; -} -export declare class GetChatHistoryQueryHandler { - private chatRepository; - private chatArchiveRepository; - constructor(chatRepository: IChatRepository, chatArchiveRepository: IChatArchiveRepository); - execute(query: GetChatHistoryQuery): Promise; -} -export declare class GetArchivedChatsQueryHandler { - private chatArchiveRepository; - constructor(chatArchiveRepository: IChatArchiveRepository); - execute(query: GetArchivedChatsQuery): Promise; -} -export {}; -//# sourceMappingURL=ChatHistoryQueryHandlers.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.d.ts.map deleted file mode 100644 index a374f29b..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatHistoryQueryHandlers.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/ChatHistoryQueryHandlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAG7D,UAAU,iBAAiB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,KAAK,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;CACL;AAED,qBAAa,0BAA0B;IAE/B,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,qBAAqB;gBADrB,cAAc,EAAE,eAAe,EAC/B,qBAAqB,EAAE,sBAAsB;IAGnD,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;CAwE/E;AAED,qBAAa,4BAA4B;IACzB,OAAO,CAAC,qBAAqB;gBAArB,qBAAqB,EAAE,sBAAsB;IAE3D,OAAO,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAuC5E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.js b/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.js deleted file mode 100644 index c9f6106d..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.js +++ /dev/null @@ -1,116 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetArchivedChatsQueryHandler = exports.GetChatHistoryQueryHandler = void 0; -const Logger_1 = require("../../Services/Logger"); -class GetChatHistoryQueryHandler { - constructor(chatRepository, chatArchiveRepository) { - this.chatRepository = chatRepository; - this.chatArchiveRepository = chatArchiveRepository; - } - async execute(query) { - try { - // First try to find active chat - const chat = await this.chatRepository.findById(query.chatId); - if (chat) { - // Check authorization - if (!chat.users.includes(query.userId)) { - (0, Logger_1.logWarning)('Unauthorized chat history access attempt', { - chatId: query.chatId, - userId: query.userId - }); - return null; - } - (0, Logger_1.logAuth)('Chat history retrieved', query.userId, { - chatId: query.chatId, - messageCount: chat.messages.length, - isArchived: false - }); - return { - chatId: query.chatId, - messages: chat.messages, - isArchived: false, - chatInfo: { - type: chat.type, - name: chat.name, - gameId: chat.gameId, - users: chat.users - } - }; - } - // Try to find in archives - const archives = await this.chatArchiveRepository.findByChatId(query.chatId); - const userArchive = archives.find(archive => archive.participants.includes(query.userId)); - if (userArchive) { - (0, Logger_1.logAuth)('Archived chat history retrieved', query.userId, { - chatId: query.chatId, - messageCount: userArchive.archivedMessages.length, - isArchived: true - }); - return { - chatId: query.chatId, - messages: userArchive.archivedMessages, - isArchived: true, - chatInfo: { - type: userArchive.chatType, - name: userArchive.chatName, - gameId: userArchive.gameId, - users: userArchive.participants - } - }; - } - (0, Logger_1.logWarning)('Chat history not found', { - chatId: query.chatId, - userId: query.userId - }); - return null; - } - catch (error) { - (0, Logger_1.logError)('GetChatHistoryQueryHandler error', error); - return null; - } - } -} -exports.GetChatHistoryQueryHandler = GetChatHistoryQueryHandler; -class GetArchivedChatsQueryHandler { - constructor(chatArchiveRepository) { - this.chatArchiveRepository = chatArchiveRepository; - } - async execute(query) { - try { - let archives = []; - if (query.gameId) { - // Get archived game chats - archives = await this.chatArchiveRepository.findByGameId(query.gameId); - } - else { - // Get all archived chats for user (would need different query) - // For now, return empty - this would need a new repository method - archives = []; - } - const result = archives - .filter(archive => archive.participants.includes(query.userId)) - .map(archive => ({ - chatId: archive.chatId, - messages: archive.archivedMessages, - isArchived: true, - chatInfo: { - type: archive.chatType, - name: archive.chatName, - gameId: archive.gameId, - users: archive.participants - } - })); - (0, Logger_1.logAuth)('Archived chats retrieved', query.userId, { - count: result.length, - gameId: query.gameId - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('GetArchivedChatsQueryHandler error', error); - return []; - } - } -} -exports.GetArchivedChatsQueryHandler = GetArchivedChatsQueryHandler; -//# sourceMappingURL=ChatHistoryQueryHandlers.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.js.map b/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.js.map deleted file mode 100644 index 35e52566..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatHistoryQueryHandlers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatHistoryQueryHandlers.js","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/ChatHistoryQueryHandlers.ts"],"names":[],"mappings":";;;AAIA,kDAAsE;AActE,MAAa,0BAA0B;IACnC,YACY,cAA+B,EAC/B,qBAA6C;QAD7C,mBAAc,GAAd,cA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qBAAqB,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAC3E,CAAC;iBAAM,CAAC;gBACJ,+DAA+D;gBAC/D,kEAAkE;gBAClE,QAAQ,GAAG,EAAE,CAAC;YAClB,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ;iBAClB,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;iBAC9D,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBACb,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,QAAQ,EAAE,OAAO,CAAC,gBAAgB;gBAClC,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE;oBACN,IAAI,EAAE,OAAO,CAAC,QAAQ;oBACtB,IAAI,EAAE,OAAO,CAAC,QAAQ;oBACtB,MAAM,EAAE,OAAO,CAAC,MAAM;oBACtB,KAAK,EAAE,OAAO,CAAC,YAAY;iBAC9B;aACJ,CAAC,CAAC,CAAC;YAER,IAAA,gBAAO,EAAC,0BAA0B,EAAE,KAAK,CAAC,MAAM,EAAE;gBAC9C,KAAK,EAAE,MAAM,CAAC,MAAM;gBACpB,MAAM,EAAE,KAAK,CAAC,MAAM;aACvB,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC;QAElB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,oCAAoC,EAAE,KAAc,CAAC,CAAC;YAC/D,OAAO,EAAE,CAAC;QACd,CAAC;IACL,CAAC;CACJ;AA1CD,oEA0CC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.d.ts b/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.d.ts deleted file mode 100644 index 7244b852..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface GetUserChatsQuery { - userId: string; - includeArchived?: boolean; -} -export interface GetChatHistoryQuery { - chatId: string; - userId: string; -} -export interface GetArchivedChatsQuery { - userId: string; - gameId?: string; -} -//# sourceMappingURL=ChatQueries.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.d.ts.map deleted file mode 100644 index 245cf578..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatQueries.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/ChatQueries.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.js b/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.js deleted file mode 100644 index 622e755b..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=ChatQueries.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.js.map b/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.js.map deleted file mode 100644 index 4b5a3201..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/ChatQueries.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatQueries.js","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/ChatQueries.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.d.ts b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.d.ts deleted file mode 100644 index 31fcd951..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface GetChatsByPageQuery { - from: number; - to: number; - includeDeleted?: boolean; -} -//# sourceMappingURL=GetChatsByPageQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.d.ts.map deleted file mode 100644 index ca227a8d..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetChatsByPageQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/GetChatsByPageQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.js b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.js deleted file mode 100644 index dfd56cff..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetChatsByPageQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.js.map b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.js.map deleted file mode 100644 index 9c361c58..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetChatsByPageQuery.js","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/GetChatsByPageQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.d.ts deleted file mode 100644 index cb055057..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IChatRepository } from '../../../Domain/IRepository/IChatRepository'; -import { GetChatsByPageQuery } from './GetChatsByPageQuery'; -import { ShortChatDto } from '../../DTOs/ChatDto'; -export declare class GetChatsByPageQueryHandler { - private readonly chatRepo; - constructor(chatRepo: IChatRepository); - execute(query: GetChatsByPageQuery): Promise<{ - chats: ShortChatDto[]; - totalCount: number; - }>; -} -//# sourceMappingURL=GetChatsByPageQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.d.ts.map deleted file mode 100644 index 679c0718..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetChatsByPageQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/GetChatsByPageQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIlD,qBAAa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,YAAY,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CA6ClG"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.js b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.js deleted file mode 100644 index ccea6d95..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetChatsByPageQueryHandler = void 0; -const ChatMapper_1 = require("../../DTOs/Mappers/ChatMapper"); -const Logger_1 = require("../../Services/Logger"); -class GetChatsByPageQueryHandler { - constructor(chatRepo) { - this.chatRepo = chatRepo; - } - async execute(query) { - try { - // Validate pagination parameters - if (query.from < 0 || query.to < query.from) { - throw new Error('Invalid pagination parameters'); - } - const limit = query.to - query.from + 1; - if (limit > 100) { - throw new Error('Page size too large. Maximum 100 records per request'); - } - (0, Logger_1.logRequest)('Get chats by page query started', undefined, undefined, { - from: query.from, - to: query.to, - includeDeleted: query.includeDeleted || false - }); - const result = query.includeDeleted - ? await this.chatRepo.findByPageIncludingDeleted(query.from, query.to) - : await this.chatRepo.findByPage(query.from, query.to); - (0, Logger_1.logRequest)('Get chats by page query completed', undefined, undefined, { - from: query.from, - to: query.to, - returned: result.chats.length, - totalCount: result.totalCount, - includeDeleted: query.includeDeleted || false - }); - return { - chats: ChatMapper_1.ChatMapper.toShortDtoList(result.chats), - totalCount: result.totalCount - }; - } - catch (error) { - (0, Logger_1.logError)('GetChatsByPageQueryHandler error', error instanceof Error ? error : new Error(String(error))); - // Re-throw validation errors as-is - if (error instanceof Error && (error.message.includes('Invalid pagination') || error.message.includes('Page size'))) { - throw error; - } - throw new Error('Failed to retrieve chats page'); - } - } -} -exports.GetChatsByPageQueryHandler = GetChatsByPageQueryHandler; -//# sourceMappingURL=GetChatsByPageQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.js.map deleted file mode 100644 index 9ada84b1..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetChatsByPageQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetChatsByPageQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/GetChatsByPageQueryHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAC3D,kDAA6D;AAE7D,MAAa,0BAA0B;IACrC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,KAA0B;QACtC,IAAI,CAAC;YACH,iCAAiC;YACjC,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;gBAC5C,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;YACnD,CAAC;YAED,MAAM,KAAK,GAAG,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;YACxC,IAAI,KAAK,GAAG,GAAG,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;YAC1E,CAAC;YAED,IAAA,mBAAU,EAAC,iCAAiC,EAAE,SAAS,EAAE,SAAS,EAAE;gBAClE,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,EAAE,EAAE,KAAK,CAAC,EAAE;gBACZ,cAAc,EAAE,KAAK,CAAC,cAAc,IAAI,KAAK;aAC9C,CAAC,CAAC;YAEH,MAAM,MAAM,GAAG,KAAK,CAAC,cAAc;gB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ler.d.ts b/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.d.ts deleted file mode 100644 index 3bcfcddd..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { GetUserChatsQuery } from './ChatQueries'; -import { IChatRepository } from '../../../Domain/IRepository/IChatRepository'; -import { IChatArchiveRepository } from '../../../Domain/IRepository/IChatArchiveRepository'; -interface ChatWithMetadata { - id: string; - type: string; - name: string | null; - gameId: string | null; - users: string[]; - lastActivity: Date | null; - isArchived: boolean; - messageCount: number; - unreadCount?: number; -} -export declare class GetUserChatsQueryHandler { - private chatRepository; - private chatArchiveRepository; - constructor(chatRepository: IChatRepository, chatArchiveRepository: IChatArchiveRepository); - execute(query: GetUserChatsQuery): Promise; - private calculateUnreadMessages; -} -export {}; -//# sourceMappingURL=GetUserChatsQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.d.ts.map deleted file mode 100644 index 5b3079de..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUserChatsQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/GetUserChatsQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAK5F,UAAU,gBAAgB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,wBAAwB;IAE7B,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,qBAAqB;gBADrB,cAAc,EAAE,eAAe,EAC/B,qBAAqB,EAAE,sBAAsB;IAGnD,OAAO,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAkEpE,OAAO,CAAC,uBAAuB;CAKlC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.js b/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.js deleted file mode 100644 index d302dd51..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.js +++ /dev/null @@ -1,76 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetUserChatsQueryHandler = void 0; -const Logger_1 = require("../../Services/Logger"); -class GetUserChatsQueryHandler { - constructor(chatRepository, chatArchiveRepository) { - this.chatRepository = chatRepository; - this.chatArchiveRepository = chatArchiveRepository; - } - async execute(query) { - try { - const result = []; - // Get active chats - const activeChats = await this.chatRepository.findActiveChatsForUser(query.userId); - result.push(...activeChats.map(chat => ({ - id: chat.id, - type: chat.type, - name: chat.name, - gameId: chat.gameId, - users: chat.users, - lastActivity: chat.lastActivity, - isArchived: false, - messageCount: chat.messages.length, - unreadCount: this.calculateUnreadMessages(chat, query.userId) - }))); - // Get archived chats if requested - if (query.includeArchived) { - const userActiveChats = await this.chatRepository.findByUserId(query.userId); - const archivedChatIds = userActiveChats - .filter(chat => chat.archiveDate !== null) - .map(chat => chat.id); - const archives = await Promise.all(archivedChatIds.map(id => this.chatArchiveRepository.findByChatId(id))); - archives.forEach(archiveArray => { - archiveArray.forEach(archive => { - if (archive.participants.includes(query.userId)) { - result.push({ - id: archive.chatId, - type: archive.chatType, - name: archive.chatName, - gameId: archive.gameId, - users: archive.participants, - lastActivity: archive.archivedAt, - isArchived: true, - messageCount: archive.archivedMessages.length, - unreadCount: 0 // Archived chats have no unread messages - }); - } - }); - }); - } - (0, Logger_1.logAuth)('User chats retrieved', query.userId, { - activeCount: activeChats.length, - totalCount: result.length, - includeArchived: query.includeArchived - }); - return result.sort((a, b) => { - if (!a.lastActivity) - return 1; - if (!b.lastActivity) - return -1; - return new Date(b.lastActivity).getTime() - new Date(a.lastActivity).getTime(); - }); - } - catch (error) { - (0, Logger_1.logError)('GetUserChatsQueryHandler error', error); - return []; - } - } - calculateUnreadMessages(chat, userId) { - // Simple implementation - count messages from other users - // In production, you'd store lastSeen timestamp per user per chat - return chat.messages.filter(msg => msg.userid !== userId).length; - } -} -exports.GetUserChatsQueryHandler = GetUserChatsQueryHandler; -//# sourceMappingURL=GetUserChatsQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.js.map deleted file mode 100644 index b939397f..00000000 --- a/SerpentRace_Backend/dist/Application/Chat/queries/GetUserChatsQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUserChatsQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Chat/queries/GetUserChatsQueryHandler.ts"],"names":[],"mappings":";;;AAKA,kDAA0D;AAc1D,MAAa,wBAAwB;IACjC,YACY,cAA+B,EAC/B,qBAA6C;QAD7C,mBAAc,GAAd,cAAc,CAAiB;QAC/B,0BAAqB,GAArB,qBAAqB,CAAwB;IACtD,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,KAAwB;QAClC,IAAI,CAAC;YACD,MAAM,MAAM,GAAuB,EAAE,CAAC;YAEtC,mB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,CAAC;QACd,CAAC;IACL,CAAC;IAEO,uBAAuB,CAAC,IAAmB,EAAE,MAAc;QAC/D,0DAA0D;QAC1D,kEAAkE;QAClE,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,MAAM,CAAC;IACrE,CAAC;CACJ;AA7ED,4DA6EC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.d.ts b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.d.ts deleted file mode 100644 index 33515c4f..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ContactType } from '../../../Domain/Contact/ContactAggregate'; -export interface CreateContactCommand { - name: string; - email: string; - userid?: string; - type: ContactType; - txt: string; -} -//# sourceMappingURL=CreateContactCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.d.ts.map deleted file mode 100644 index 38bac24a..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateContactCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/CreateContactCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.js b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.js deleted file mode 100644 index 8d0ca702..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=CreateContactCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.js.map b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.js.map deleted file mode 100644 index 8beee645..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateContactCommand.js","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/CreateContactCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.d.ts deleted file mode 100644 index 57d16361..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IContactRepository } from '../../../Domain/IRepository/IContactRepository'; -import { CreateContactCommand } from './CreateContactCommand'; -import { ShortContactDto } from '../../DTOs/ContactDto'; -export declare class CreateContactCommandHandler { - private readonly contactRepo; - constructor(contactRepo: IContactRepository); - execute(cmd: CreateContactCommand): Promise; -} -//# sourceMappingURL=CreateContactCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.d.ts.map deleted file mode 100644 index 69befbef..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateContactCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/CreateContactCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,qBAAa,2BAA2B;IAC1B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAEtD,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;CAgBnE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.js b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.js deleted file mode 100644 index 279334d9..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateContactCommandHandler = void 0; -const ContactAggregate_1 = require("../../../Domain/Contact/ContactAggregate"); -const ContactMapper_1 = require("../../DTOs/Mappers/ContactMapper"); -class CreateContactCommandHandler { - constructor(contactRepo) { - this.contactRepo = contactRepo; - } - async execute(cmd) { - try { - const contact = new ContactAggregate_1.ContactAggregate(); - contact.name = cmd.name; - contact.email = cmd.email; - contact.userid = cmd.userid || null; - contact.type = cmd.type; - contact.txt = cmd.txt; - contact.state = ContactAggregate_1.ContactState.ACTIVE; - const created = await this.contactRepo.create(contact); - return ContactMapper_1.ContactMapper.toShortDto(created); - } - catch (error) { - throw new Error('Failed to create contact'); - } - } -} -exports.CreateContactCommandHandler = CreateContactCommandHandler; -//# sourceMappingURL=CreateContactCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.js.map deleted file mode 100644 index 1928b324..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/CreateContactCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateContactCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/CreateContactCommandHandler.ts"],"names":[],"mappings":";;;AAGA,+EAA0F;AAC1F,oEAAiE;AAEjE,MAAa,2BAA2B;IACtC,YAA6B,WAA+B;QAA/B,gBAAW,GAAX,WAAW,CAAoB;IAAG,CAAC;IAEhE,KAAK,CAAC,OAAO,CAAC,GAAyB;QACrC,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,IAAI,mCAAgB,EAAE,CAAC;YACvC,OAAO,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACxB,OAAO,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;YAC1B,OAAO,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,IAAI,IAAI,CAAC;YACpC,OAAO,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACxB,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;YACtB,OAAO,CAAC,KAAK,GAAG,+BAAY,CAAC,MAAM,CAAC;YAEpC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YACvD,OAAO,6BAAa,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;CACF;AAnBD,kEAmBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.d.ts b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.d.ts deleted file mode 100644 index a393bfbd..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface DeleteContactCommand { - id: string; - hard?: boolean; -} -//# sourceMappingURL=DeleteContactCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.d.ts.map deleted file mode 100644 index 2103d80f..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteContactCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/DeleteContactCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.js b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.js deleted file mode 100644 index 46d8a55f..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=DeleteContactCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.js.map b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.js.map deleted file mode 100644 index 7f62eba9..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteContactCommand.js","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/DeleteContactCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.d.ts deleted file mode 100644 index a377da0b..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IContactRepository } from '../../../Domain/IRepository/IContactRepository'; -import { DeleteContactCommand } from './DeleteContactCommand'; -export declare class DeleteContactCommandHandler { - private readonly contactRepo; - constructor(contactRepo: IContactRepository); - execute(cmd: DeleteContactCommand): Promise; -} -//# sourceMappingURL=DeleteContactCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.d.ts.map deleted file mode 100644 index 07006824..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteContactCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/DeleteContactCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,qBAAa,2BAA2B;IAC1B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAEtD,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;CAiC3D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.js b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.js deleted file mode 100644 index 40c8f7e5..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteContactCommandHandler = void 0; -const Logger_1 = require("../../Services/Logger"); -class DeleteContactCommandHandler { - constructor(contactRepo) { - this.contactRepo = contactRepo; - } - async execute(cmd) { - try { - const existingContact = await this.contactRepo.findById(cmd.id); - if (!existingContact) { - throw new Error('Contact not found'); - } - if (cmd.hard) { - // Permanent delete - await this.contactRepo.delete(cmd.id); - (0, Logger_1.logRequest)('Contact hard deleted', undefined, undefined, { - contactId: cmd.id, - contactEmail: existingContact.email, - deleteType: 'hard' - }); - } - else { - // Soft delete (default) - await this.contactRepo.softDelete(cmd.id); - (0, Logger_1.logRequest)('Contact soft deleted', undefined, undefined, { - contactId: cmd.id, - contactEmail: existingContact.email, - deleteType: 'soft' - }); - } - return true; - } - catch (error) { - if (error instanceof Error && error.message === 'Contact not found') { - throw error; - } - throw new Error('Failed to delete contact'); - } - } -} -exports.DeleteContactCommandHandler = DeleteContactCommandHandler; -//# sourceMappingURL=DeleteContactCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.js.map deleted file mode 100644 index 88d2104e..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/DeleteContactCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteContactCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/DeleteContactCommandHandler.ts"],"names":[],"mappings":";;;AAGA,kDAAmD;AAEnD,MAAa,2BAA2B;IACtC,YAA6B,WAA+B;QAA/B,gBAAW,GAAX,WAAW,CAAoB;IAAG,CAAC;IAEhE,KAAK,CAAC,OAAO,CAAC,GAAyB;QACrC,IAAI,CAAC;YACH,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAChE,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACvC,CAAC;YAED,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;gBACb,mBAAmB;gBACnB,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACtC,IAAA,mBAAU,EAAC,sBAAsB,EAAE,SAAS,EAAE,SAAS,EAAE;oBACvD,SAAS,EAAE,GAAG,CAAC,EAAE;oBACjB,YAAY,EAAE,eAAe,CAAC,KAAK;oBACnC,UAAU,EAAE,MAAM;iBACnB,CAAC,CAAC;YACL,CAAC;iBAAM,CAAC;gBACN,wBAAwB;gBACxB,MAAM,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBAC1C,IAAA,mBAAU,EAAC,sBAAsB,EAAE,SAAS,EAAE,SAAS,EAAE;oBACvD,SAAS,EAAE,GAAG,CAAC,EAAE;oBACjB,YAAY,EAAE,eAAe,CAAC,KAAK;oBACnC,UAAU,EAAE,MAAM;iBACnB,CAAC,CAAC;YACL,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,KAAK,mBAAmB,EAAE,CAAC;gBACpE,MAAM,KAAK,CAAC;YACd,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;CACF;AApCD,kEAoCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.d.ts b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.d.ts deleted file mode 100644 index ca3a9fe8..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface UpdateContactCommand { - id: string; - adminResponse?: string; - state?: number; - respondedBy?: string; -} -//# sourceMappingURL=UpdateContactCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.d.ts.map deleted file mode 100644 index 7c55ddfa..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateContactCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/UpdateContactCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.js b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.js deleted file mode 100644 index a451a3de..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=UpdateContactCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.js.map b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.js.map deleted file mode 100644 index e0d3eb7a..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateContactCommand.js","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/UpdateContactCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.d.ts deleted file mode 100644 index c594958d..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IContactRepository } from '../../../Domain/IRepository/IContactRepository'; -import { UpdateContactCommand } from './UpdateContactCommand'; -import { DetailContactDto } from '../../DTOs/ContactDto'; -export declare class UpdateContactCommandHandler { - private readonly contactRepo; - constructor(contactRepo: IContactRepository); - execute(cmd: UpdateContactCommand): Promise; -} -//# sourceMappingURL=UpdateContactCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.d.ts.map deleted file mode 100644 index 8ebe1611..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateContactCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/UpdateContactCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,qBAAa,2BAA2B;IAC1B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAEtD,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAmCpE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.js b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.js deleted file mode 100644 index 8a8232ab..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateContactCommandHandler = void 0; -const ContactMapper_1 = require("../../DTOs/Mappers/ContactMapper"); -class UpdateContactCommandHandler { - constructor(contactRepo) { - this.contactRepo = contactRepo; - } - async execute(cmd) { - try { - const existingContact = await this.contactRepo.findById(cmd.id); - if (!existingContact) { - throw new Error('Contact not found'); - } - const updateData = {}; - if (cmd.adminResponse !== undefined) { - updateData.adminResponse = cmd.adminResponse; - updateData.responseDate = new Date(); - } - if (cmd.state !== undefined) { - updateData.state = cmd.state; - } - if (cmd.respondedBy !== undefined) { - updateData.respondedBy = cmd.respondedBy; - } - const updated = await this.contactRepo.update(cmd.id, updateData); - if (!updated) { - throw new Error('Failed to update contact'); - } - return ContactMapper_1.ContactMapper.toDetailDto(updated); - } - catch (error) { - if (error instanceof Error && error.message === 'Contact not found') { - throw error; - } - throw new Error('Failed to update contact'); - } - } -} -exports.UpdateContactCommandHandler = UpdateContactCommandHandler; -//# sourceMappingURL=UpdateContactCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.js.map deleted file mode 100644 index 8b894d25..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/commands/UpdateContactCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateContactCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Contact/commands/UpdateContactCommandHandler.ts"],"names":[],"mappings":";;;AAGA,oEAAiE;AAGjE,MAAa,2BAA2B;IACtC,YAA6B,WAA+B;QAA/B,gBAAW,GAAX,WAAW,CAAoB;IAAG,CAAC;IAEhE,KAAK,CAAC,OAAO,CAAC,GAAyB;QACrC,IAAI,CAAC;YACH,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAChE,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACvC,CAAC;YAED,MAAM,UAAU,GAAQ,EAAE,CAAC;YAE3B,IAAI,GAAG,CAAC,aAAa,KAAK,SAAS,EAAE,CAAC;gBACpC,UAAU,CAAC,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;gBAC7C,UAAU,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC;YACvC,CAAC;YAED,IAAI,GAAG,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;gBAC5B,UAAU,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;YAC/B,CAAC;YAED,IAAI,GAAG,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;gBAClC,UAAU,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;YAC3C,CAAC;YAED,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;YAClE,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;YAC9C,CAAC;YAED,OAAO,6BAAa,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAC5C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,KAAK,mBAAmB,EAAE,CAAC;gBACpE,MAAM,KAAK,CAAC;YACd,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;CACF;AAtCD,kEAsCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.d.ts b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.d.ts deleted file mode 100644 index f6269910..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface GetContactByIdQuery { - id: string; -} -//# sourceMappingURL=GetContactByIdQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.d.ts.map deleted file mode 100644 index 7e9b1a87..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactByIdQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactByIdQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.js b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.js deleted file mode 100644 index c059abbf..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetContactByIdQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.js.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.js.map deleted file mode 100644 index 5ef049e8..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactByIdQuery.js","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactByIdQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.d.ts deleted file mode 100644 index b781ba6a..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IContactRepository } from '../../../Domain/IRepository/IContactRepository'; -import { GetContactByIdQuery } from './GetContactByIdQuery'; -import { DetailContactDto } from '../../DTOs/ContactDto'; -export declare class GetContactByIdQueryHandler { - private readonly contactRepo; - constructor(contactRepo: IContactRepository); - execute(query: GetContactByIdQuery): Promise; -} -//# sourceMappingURL=GetContactByIdQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.d.ts.map deleted file mode 100644 index 34d4626f..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactByIdQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactByIdQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,qBAAa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAEtD,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAO5E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.js b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.js deleted file mode 100644 index d4c39503..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetContactByIdQueryHandler = void 0; -const ContactMapper_1 = require("../../DTOs/Mappers/ContactMapper"); -class GetContactByIdQueryHandler { - constructor(contactRepo) { - this.contactRepo = contactRepo; - } - async execute(query) { - const contact = await this.contactRepo.findById(query.id); - if (!contact) { - return null; - } - return ContactMapper_1.ContactMapper.toDetailDto(contact); - } -} -exports.GetContactByIdQueryHandler = GetContactByIdQueryHandler; -//# sourceMappingURL=GetContactByIdQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.js.map deleted file mode 100644 index 664977df..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactByIdQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactByIdQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactByIdQueryHandler.ts"],"names":[],"mappings":";;;AAGA,oEAAiE;AAEjE,MAAa,0BAA0B;IACrC,YAA6B,WAA+B;QAA/B,gBAAW,GAAX,WAAW,CAAoB;IAAG,CAAC;IAEhE,KAAK,CAAC,OAAO,CAAC,KAA0B;QACtC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,6BAAa,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CACF;AAVD,gEAUC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.d.ts b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.d.ts deleted file mode 100644 index 75fee6bd..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface GetContactsByPageQuery { - from: number; - to: number; -} -//# sourceMappingURL=GetContactsByPageQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.d.ts.map deleted file mode 100644 index 4de84935..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactsByPageQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactsByPageQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.js b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.js deleted file mode 100644 index bbe184c4..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetContactsByPageQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.js.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.js.map deleted file mode 100644 index 99198905..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactsByPageQuery.js","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactsByPageQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.d.ts deleted file mode 100644 index f6f06744..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IContactRepository } from '../../../Domain/IRepository/IContactRepository'; -import { GetContactsByPageQuery } from './GetContactsByPageQuery'; -import { ContactPageDto } from '../../DTOs/ContactDto'; -export declare class GetContactsByPageQueryHandler { - private readonly contactRepo; - constructor(contactRepo: IContactRepository); - execute(query: GetContactsByPageQuery): Promise; -} -//# sourceMappingURL=GetContactsByPageQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.d.ts.map deleted file mode 100644 index a9173b8d..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactsByPageQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactsByPageQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,qBAAa,6BAA6B;IAC5B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAEtD,OAAO,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,cAAc,CAAC;CAStE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.js b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.js deleted file mode 100644 index dbf44f1c..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetContactsByPageQueryHandler = void 0; -const ContactMapper_1 = require("../../DTOs/Mappers/ContactMapper"); -class GetContactsByPageQueryHandler { - constructor(contactRepo) { - this.contactRepo = contactRepo; - } - async execute(query) { - const result = await this.contactRepo.findByPage(query.from, query.to); - return { - contacts: ContactMapper_1.ContactMapper.toShortDtoList(result.contacts), - totalCount: result.totalCount, - from: query.from, - to: query.to, - }; - } -} -exports.GetContactsByPageQueryHandler = GetContactsByPageQueryHandler; -//# sourceMappingURL=GetContactsByPageQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.js.map deleted file mode 100644 index 06996c63..00000000 --- a/SerpentRace_Backend/dist/Application/Contact/queries/GetContactsByPageQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetContactsByPageQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Contact/queries/GetContactsByPageQueryHandler.ts"],"names":[],"mappings":";;;AAGA,oEAAiE;AAEjE,MAAa,6BAA6B;IACxC,YAA6B,WAA+B;QAA/B,gBAAW,GAAX,WAAW,CAAoB;IAAG,CAAC;IAEhE,KAAK,CAAC,OAAO,CAAC,KAA6B;QACzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;QACvE,OAAO;YACL,QAAQ,EAAE,6BAAa,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC;YACvD,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,EAAE,EAAE,KAAK,CAAC,EAAE;SACb,CAAC;IACJ,CAAC;CACF;AAZD,sEAYC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.d.ts b/SerpentRace_Backend/dist/Application/DTOs/ChatDto.d.ts deleted file mode 100644 index 856a5853..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -export interface CreateChatDto { - users: string[]; - messages: import('../../Domain/Chat/ChatAggregate').Message[]; - state?: number; -} -export interface UpdateChatDto { - id: string; - users?: string[]; - messages?: import('../../Domain/Chat/ChatAggregate').Message[]; - state?: number; -} -export interface ShortChatDto { - id: string; - userCount: number; - state: number; -} -export interface DetailChatDto { - id: string; - users: string[]; - messages: import('../../Domain/Chat/ChatAggregate').Message[]; - updateDate: Date; - state: number; -} -//# sourceMappingURL=ChatDto.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/ChatDto.d.ts.map deleted file mode 100644 index 08d7153c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatDto.d.ts","sourceRoot":"","sources":["../../../src/Application/DTOs/ChatDto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,OAAO,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,OAAO,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC9D,UAAU,EAAE,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.js b/SerpentRace_Backend/dist/Application/DTOs/ChatDto.js deleted file mode 100644 index 66612d4c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=ChatDto.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.js.map b/SerpentRace_Backend/dist/Application/DTOs/ChatDto.js.map deleted file mode 100644 index 9ad2a09e..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ChatDto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatDto.js","sourceRoot":"","sources":["../../../src/Application/DTOs/ChatDto.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.d.ts b/SerpentRace_Backend/dist/Application/DTOs/ContactDto.d.ts deleted file mode 100644 index 76642bb7..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { ContactType } from '../../Domain/Contact/ContactAggregate'; -export interface CreateContactDto { - name: string; - email: string; - userid?: string; - type: ContactType; - txt: string; -} -export interface UpdateContactDto { - id: string; - adminResponse?: string; - state?: number; - respondedBy?: string; -} -export interface ShortContactDto { - id: string; - name: string; - email: string; - type: ContactType; - createDate: Date; - state: number; -} -export interface DetailContactDto { - id: string; - name: string; - email: string; - userid: string | null; - type: ContactType; - txt: string; - state: number; - createDate: Date; - updateDate: Date; - adminResponse: string | null; - responseDate: Date | null; - respondedBy: string | null; -} -export interface ContactPageDto { - contacts: ShortContactDto[]; - totalCount: number; - from: number; - to: number; -} -//# sourceMappingURL=ContactDto.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/ContactDto.d.ts.map deleted file mode 100644 index 5153996f..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactDto.d.ts","sourceRoot":"","sources":["../../../src/Application/DTOs/ContactDto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,EAAE,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.js b/SerpentRace_Backend/dist/Application/DTOs/ContactDto.js deleted file mode 100644 index 19a65016..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=ContactDto.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.js.map b/SerpentRace_Backend/dist/Application/DTOs/ContactDto.js.map deleted file mode 100644 index 07c89b6f..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/ContactDto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactDto.js","sourceRoot":"","sources":["../../../src/Application/DTOs/ContactDto.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.d.ts b/SerpentRace_Backend/dist/Application/DTOs/DeckDto.d.ts deleted file mode 100644 index f5f8c84e..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -export interface CreateDeckDto { - name: string; - description?: string; -} -export interface UpdateDeckDto { - id: string; - name?: string; - description?: string; -} -export interface ShortDeckDto { - id: string; - name: string; - type: number; - playedNumber: number; - ctype: number; -} -export interface DetailDeckDto { - id: string; - name: string; - type: number; - userid: string; - creationdate: Date; - cards: any[]; - playedNumber: number; - ctype: number; -} -//# sourceMappingURL=DeckDto.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/DeckDto.d.ts.map deleted file mode 100644 index 57609901..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckDto.d.ts","sourceRoot":"","sources":["../../../src/Application/DTOs/DeckDto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,IAAI,CAAC;IACnB,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.js b/SerpentRace_Backend/dist/Application/DTOs/DeckDto.js deleted file mode 100644 index 3a0ee416..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=DeckDto.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.js.map b/SerpentRace_Backend/dist/Application/DTOs/DeckDto.js.map deleted file mode 100644 index cd04d743..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/DeckDto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckDto.js","sourceRoot":"","sources":["../../../src/Application/DTOs/DeckDto.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.d.ts b/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.d.ts deleted file mode 100644 index 42c677c3..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare abstract class BaseMapper { - abstract toShortDto(entity: TEntity): TShortDto; - abstract toDetailDto(entity: TEntity): TDetailDto; - toShortDtoList(entities: TEntity[]): TShortDto[]; - toDetailDtoList(entities: TEntity[]): TDetailDto[]; - static toShortDtoListStatic(entities: T[], mapperFn: (entity: T) => TDto): TDto[]; -} -//# sourceMappingURL=BaseMapper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.d.ts.map deleted file mode 100644 index 98170754..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BaseMapper.d.ts","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/BaseMapper.ts"],"names":[],"mappings":"AAAA,8BAAsB,UAAU,CAAC,OAAO,EAAE,SAAS,EAAE,UAAU;IAC7D,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS;IAC/C,QAAQ,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU;IAEjD,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE;IAIhD,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE;IAIlD,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,EACjC,QAAQ,EAAE,CAAC,EAAE,EACb,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,GAC5B,IAAI,EAAE;CAGV"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.js b/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.js deleted file mode 100644 index 14543c51..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BaseMapper = void 0; -class BaseMapper { - toShortDtoList(entities) { - return entities.map(entity => this.toShortDto(entity)); - } - toDetailDtoList(entities) { - return entities.map(entity => this.toDetailDto(entity)); - } - static toShortDtoListStatic(entities, mapperFn) { - return entities.map(mapperFn); - } -} -exports.BaseMapper = BaseMapper; -//# sourceMappingURL=BaseMapper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.js.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.js.map deleted file mode 100644 index 330c2fdb..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/BaseMapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BaseMapper.js","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/BaseMapper.ts"],"names":[],"mappings":";;;AAAA,MAAsB,UAAU;IAI9B,cAAc,CAAC,QAAmB;QAChC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,CAAC;IAED,eAAe,CAAC,QAAmB;QACjC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,CAAC,oBAAoB,CACzB,QAAa,EACb,QAA6B;QAE7B,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;CACF;AAlBD,gCAkBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.d.ts b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.d.ts deleted file mode 100644 index 970ab773..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ChatAggregate } from '../../../Domain/Chat/ChatAggregate'; -import { ShortChatDto, DetailChatDto } from '../ChatDto'; -export declare class ChatMapper { - static toShortDto(chat: ChatAggregate): ShortChatDto; - static toDetailDto(chat: ChatAggregate): DetailChatDto; - static toShortDtoList(chats: ChatAggregate[]): ShortChatDto[]; -} -//# sourceMappingURL=ChatMapper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.d.ts.map deleted file mode 100644 index 13f2ae4f..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatMapper.d.ts","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/ChatMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEzD,qBAAa,UAAU;IACrB,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,aAAa,GAAG,YAAY;IAQpD,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,aAAa,GAAG,aAAa;IAUtD,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE;CAG9D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.js b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.js deleted file mode 100644 index 378ccd6c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatMapper = void 0; -class ChatMapper { - static toShortDto(chat) { - return { - id: chat.id, - userCount: chat.users?.length ?? 0, - state: chat.state, - }; - } - static toDetailDto(chat) { - return { - id: chat.id, - users: chat.users ?? [], - messages: chat.messages, - updateDate: chat.updateDate, - state: chat.state, - }; - } - static toShortDtoList(chats) { - return chats.map(this.toShortDto); - } -} -exports.ChatMapper = ChatMapper; -//# sourceMappingURL=ChatMapper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.js.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.js.map deleted file mode 100644 index c1c773b5..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ChatMapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatMapper.js","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/ChatMapper.ts"],"names":[],"mappings":";;;AAGA,MAAa,UAAU;IACrB,MAAM,CAAC,UAAU,CAAC,IAAmB;QACnC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC;YAClC,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,IAAmB;QACpC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,KAAsB;QAC1C,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;CACF;AAtBD,gCAsBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.d.ts b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.d.ts deleted file mode 100644 index 8b4ca8a1..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ContactAggregate } from '../../../Domain/Contact/ContactAggregate'; -import { ShortContactDto, DetailContactDto } from '../ContactDto'; -export declare class ContactMapper { - static toShortDto(contact: ContactAggregate): ShortContactDto; - static toDetailDto(contact: ContactAggregate): DetailContactDto; - static toShortDtoList(contacts: ContactAggregate[]): ShortContactDto[]; -} -//# sourceMappingURL=ContactMapper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.d.ts.map deleted file mode 100644 index 113bb87c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactMapper.d.ts","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/ContactMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAsC,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtG,qBAAa,aAAa;IACxB,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,gBAAgB,GAAG,eAAe;IAW7D,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,gBAAgB,GAAG,gBAAgB;IAiB/D,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,gBAAgB,EAAE,GAAG,eAAe,EAAE;CAGvE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.js b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.js deleted file mode 100644 index 05e1d115..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ContactMapper = void 0; -class ContactMapper { - static toShortDto(contact) { - return { - id: contact.id, - name: contact.name, - email: contact.email, - type: contact.type, - createDate: contact.createDate, - state: contact.state, - }; - } - static toDetailDto(contact) { - return { - id: contact.id, - name: contact.name, - email: contact.email, - userid: contact.userid, - type: contact.type, - txt: contact.txt, - state: contact.state, - createDate: contact.createDate, - updateDate: contact.updateDate, - adminResponse: contact.adminResponse, - responseDate: contact.responseDate, - respondedBy: contact.respondedBy, - }; - } - static toShortDtoList(contacts) { - return contacts.map(this.toShortDto); - } -} -exports.ContactMapper = ContactMapper; -//# sourceMappingURL=ContactMapper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.js.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.js.map deleted file mode 100644 index 5c339b2b..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/ContactMapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactMapper.js","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/ContactMapper.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;IACxB,MAAM,CAAC,UAAU,CAAC,OAAyB;QACzC,OAAO;YACL,EAAE,EAAE,OAAO,CAAC,EAAE;YACd,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,OAAyB;QAC1C,OAAO;YACL,EAAE,EAAE,OAAO,CAAC,EAAE;YACd,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,aAAa,EAAE,OAAO,CAAC,aAAa;YACpC,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,WAAW,EAAE,OAAO,CAAC,WAAW;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,QAA4B;QAChD,OAAO,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACvC,CAAC;CACF;AAhCD,sCAgCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.d.ts b/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.d.ts deleted file mode 100644 index 65d7c56f..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { DeckAggregate } from '../../../Domain/Deck/DeckAggregate'; -import { ShortDeckDto, DetailDeckDto } from '../DeckDto'; -export declare class DeckMapper { - static toShortDto(deck: DeckAggregate): ShortDeckDto; - static toDetailDto(deck: DeckAggregate): DetailDeckDto; - static toShortDtoList(decks: DeckAggregate[]): ShortDeckDto[]; -} -//# sourceMappingURL=DeckMapper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.d.ts.map deleted file mode 100644 index a3cd73da..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckMapper.d.ts","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/DeckMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAgC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEvF,qBAAa,UAAU;IACrB,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,aAAa,GAAG,YAAY;IAUpD,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,aAAa,GAAG,aAAa;IAatD,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE;CAG9D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.js b/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.js deleted file mode 100644 index 3633551c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.js +++ /dev/null @@ -1,31 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeckMapper = void 0; -class DeckMapper { - static toShortDto(deck) { - return { - id: deck.id, - name: deck.name, - type: deck.type, - playedNumber: deck.playedNumber, - ctype: deck.ctype, - }; - } - static toDetailDto(deck) { - return { - id: deck.id, - name: deck.name, - type: deck.type, - userid: deck.userid, - creationdate: deck.creationdate, - cards: deck.cards, - playedNumber: deck.playedNumber, - ctype: deck.ctype, - }; - } - static toShortDtoList(decks) { - return decks.map(this.toShortDto); - } -} -exports.DeckMapper = DeckMapper; -//# sourceMappingURL=DeckMapper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.js.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.js.map deleted file mode 100644 index 8a6da43c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/DeckMapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckMapper.js","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/DeckMapper.ts"],"names":[],"mappings":";;;AAGA,MAAa,UAAU;IACrB,MAAM,CAAC,UAAU,CAAC,IAAmB;QACnC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,IAAmB;QACpC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,KAAsB;QAC1C,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;CACF;AA3BD,gCA2BC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.d.ts b/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.d.ts deleted file mode 100644 index 4193d2dc..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OrganizationAggregate } from '../../../Domain/Organization/OrganizationAggregate'; -import { ShortOrganizationDto, DetailOrganizationDto } from '../OrganizationDto'; -export declare class OrganizationMapper { - static toShortDto(org: OrganizationAggregate): ShortOrganizationDto; - static toDetailDto(org: OrganizationAggregate): DetailOrganizationDto; - static toShortDtoList(orgs: OrganizationAggregate[]): ShortOrganizationDto[]; -} -//# sourceMappingURL=OrganizationMapper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.d.ts.map deleted file mode 100644 index 2e4ad5c7..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationMapper.d.ts","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/OrganizationMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAC3F,OAAO,EAAgD,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE/H,qBAAa,kBAAkB;IAC7B,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,qBAAqB,GAAG,oBAAoB;IAUnE,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,qBAAqB,GAAG,qBAAqB;IAkBrE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,qBAAqB,EAAE,GAAG,oBAAoB,EAAE;CAG7E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.js b/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.js deleted file mode 100644 index c24c7f66..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.OrganizationMapper = void 0; -class OrganizationMapper { - static toShortDto(org) { - return { - id: org.id, - name: org.name, - state: org.state, - userinorg: org.userinorg, - maxOrganizationalDecks: org.maxOrganizationalDecks, - }; - } - static toDetailDto(org) { - return { - id: org.id, - name: org.name, - contactfname: org.contactfname, - contactlname: org.contactlname, - contactphone: org.contactphone, - contactemail: org.contactemail, - state: org.state, - regdate: org.regdate, - updatedate: org.updatedate, - url: org.url, - userinorg: org.userinorg, - maxOrganizationalDecks: org.maxOrganizationalDecks, - users: org.users?.map(u => u.id) ?? [], - }; - } - static toShortDtoList(orgs) { - return orgs.map(this.toShortDto); - } -} -exports.OrganizationMapper = OrganizationMapper; -//# sourceMappingURL=OrganizationMapper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.js.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.js.map deleted file mode 100644 index b20d58cf..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/OrganizationMapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationMapper.js","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/OrganizationMapper.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;IAC7B,MAAM,CAAC,UAAU,CAAC,GAA0B;QAC1C,OAAO;YACL,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,sBAAsB,EAAE,GAAG,CAAC,sBAAsB;SACnD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,GAA0B;QAC3C,OAAO;YACL,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,UAAU,EAAE,GAAG,CAAC,UAAU;YAC1B,GAAG,EAAE,GAAG,CAAC,GAAG;YACZ,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,sBAAsB,EAAE,GAAG,CAAC,sBAAsB;YAClD,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,IAA6B;QACjD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;CACF;AAhCD,gDAgCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.d.ts b/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.d.ts deleted file mode 100644 index b4602706..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { UserAggregate } from '../../../Domain/User/UserAggregate'; -import { ShortUserDto, DetailUserDto } from '../UserDto'; -export declare class UserMapper { - static toShortDto(user: UserAggregate): ShortUserDto; - static toDetailDto(user: UserAggregate): DetailUserDto; - static toShortDtoList(users: UserAggregate[]): ShortUserDto[]; -} -//# sourceMappingURL=UserMapper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.d.ts.map deleted file mode 100644 index ee4b1b0d..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserMapper.d.ts","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/UserMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAgC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGvF,qBAAa,UAAU;IACrB,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,aAAa,GAAG,YAAY;IASpD,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,aAAa,GAAG,aAAa;IAetD,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE;CAG9D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.js b/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.js deleted file mode 100644 index d1f8d283..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UserMapper = void 0; -const UserAggregate_1 = require("../../../Domain/User/UserAggregate"); -const BaseMapper_1 = require("./BaseMapper"); -class UserMapper { - static toShortDto(user) { - return { - id: user.id, - username: user.username, - state: user.state, - authLevel: (user.state === UserAggregate_1.UserState.ADMIN ? 1 : 0), - }; - } - static toDetailDto(user) { - return { - id: user.id, - orgid: user.orgid, - username: user.username, - email: user.email, - fname: user.fname, - lname: user.lname, - code: user.token, - type: user.type, - phone: user.phone, - state: user.state, - }; - } - static toShortDtoList(users) { - return BaseMapper_1.BaseMapper.toShortDtoListStatic(users, UserMapper.toShortDto); - } -} -exports.UserMapper = UserMapper; -//# sourceMappingURL=UserMapper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.js.map b/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.js.map deleted file mode 100644 index 1d67ea9c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/Mappers/UserMapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserMapper.js","sourceRoot":"","sources":["../../../../src/Application/DTOs/Mappers/UserMapper.ts"],"names":[],"mappings":";;;AAAA,sEAA8E;AAE9E,6CAA0C;AAE1C,MAAa,UAAU;IACrB,MAAM,CAAC,UAAU,CAAC,IAAmB;QACnC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,CAAC,IAAI,CAAC,KAAK,KAAK,yBAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAU;SAC7D,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,IAAmB;QACpC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IAAI,CAAC,KAAK;YAChB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,KAAsB;QAC1C,OAAO,uBAAU,CAAC,oBAAoB,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IACvE,CAAC;CACF;AA5BD,gCA4BC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.d.ts b/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.d.ts deleted file mode 100644 index 57d8b338..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -export interface CreateOrganizationDto { - name: string; - description?: string; - maxOrganizationalDecks?: number | null; -} -export interface UpdateOrganizationDto { - id: string; - name?: string; - description?: string; -} -export interface ShortOrganizationDto { - id: string; - name: string; - state: number; - userinorg: number; - maxOrganizationalDecks?: number | null; -} -export interface DetailOrganizationDto { - id: string; - name: string; - contactfname: string; - contactlname: string; - contactphone: string; - contactemail: string; - state: number; - regdate: Date; - updatedate: Date; - url: string | null; - userinorg: number; - maxOrganizationalDecks: number | null; - users: string[]; -} -export interface OrganizationLoginUrlDto { - organizationId: string; - organizationName: string; - loginUrl: string; -} -export interface OrganizationAuthCallbackDto { - organizationId: string; - userId: string; - status: 'ok' | 'not_ok'; - authToken?: string; -} -//# sourceMappingURL=OrganizationDto.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.d.ts.map deleted file mode 100644 index 7235c3b4..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationDto.d.ts","sourceRoot":"","sources":["../../../src/Application/DTOs/OrganizationDto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,IAAI,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;IACjB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,IAAI,GAAG,QAAQ,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.js b/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.js deleted file mode 100644 index 4bd33d30..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=OrganizationDto.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.js.map b/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.js.map deleted file mode 100644 index afae12cb..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/OrganizationDto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationDto.js","sourceRoot":"","sources":["../../../src/Application/DTOs/OrganizationDto.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.d.ts b/SerpentRace_Backend/dist/Application/DTOs/SearchDto.d.ts deleted file mode 100644 index 08c8ff9c..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface SearchQuery { - query: string; - limit?: number; - offset?: number; -} -export interface SearchResult { - results: T[]; - totalCount: number; - hasMore: boolean; - searchQuery: string; - searchType: 'users' | 'organizations' | 'decks'; -} -//# sourceMappingURL=SearchDto.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/SearchDto.d.ts.map deleted file mode 100644 index f8ff6c1e..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SearchDto.d.ts","sourceRoot":"","sources":["../../../src/Application/DTOs/SearchDto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,GAAG,eAAe,GAAG,OAAO,CAAC;CACjD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.js b/SerpentRace_Backend/dist/Application/DTOs/SearchDto.js deleted file mode 100644 index 3902d011..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=SearchDto.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.js.map b/SerpentRace_Backend/dist/Application/DTOs/SearchDto.js.map deleted file mode 100644 index 807effdd..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/SearchDto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SearchDto.js","sourceRoot":"","sources":["../../../src/Application/DTOs/SearchDto.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/UserDto.d.ts b/SerpentRace_Backend/dist/Application/DTOs/UserDto.d.ts deleted file mode 100644 index 27d86ac1..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/UserDto.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export interface CreateUserDto { - username: string; - email: string; -} -export interface UpdateUserDto { - id: string; - username?: string; - email?: string; -} -export interface ShortUserDto { - id: string; - username: string; - state: number; - authLevel: 0 | 1; -} -export interface DetailUserDto { - id: string; - orgid: string | null; - username: string; - email: string; - fname: string; - lname: string; - code: string | null; - type: string; - phone: string | null; - state: number; -} -//# sourceMappingURL=UserDto.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/UserDto.d.ts.map b/SerpentRace_Backend/dist/Application/DTOs/UserDto.d.ts.map deleted file mode 100644 index ae72cfe8..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/UserDto.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserDto.d.ts","sourceRoot":"","sources":["../../../src/Application/DTOs/UserDto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/UserDto.js b/SerpentRace_Backend/dist/Application/DTOs/UserDto.js deleted file mode 100644 index 4c23cc90..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/UserDto.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=UserDto.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/DTOs/UserDto.js.map b/SerpentRace_Backend/dist/Application/DTOs/UserDto.js.map deleted file mode 100644 index 344121b3..00000000 --- a/SerpentRace_Backend/dist/Application/DTOs/UserDto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserDto.js","sourceRoot":"","sources":["../../../src/Application/DTOs/UserDto.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.d.ts b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.d.ts deleted file mode 100644 index a90370e9..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface CreateDeckCommand { - name: string; - type: number; - userid: string; - cards: any[]; - ctype?: number; -} -//# sourceMappingURL=CreateDeckCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.d.ts.map deleted file mode 100644 index 7e472d3c..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateDeckCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/CreateDeckCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.js b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.js deleted file mode 100644 index 131d4b5a..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=CreateDeckCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.js.map b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.js.map deleted file mode 100644 index a6acca1e..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateDeckCommand.js","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/CreateDeckCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.d.ts deleted file mode 100644 index 509c30fb..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IDeckRepository } from '../../../Domain/IRepository/IDeckRepository'; -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { CreateDeckCommand } from './CreateDeckCommand'; -import { ShortDeckDto } from '../../DTOs/DeckDto'; -export declare class CreateDeckCommandHandler { - private readonly deckRepo; - private readonly userRepo; - private readonly orgRepo; - constructor(deckRepo: IDeckRepository, userRepo: IUserRepository, orgRepo: IOrganizationRepository); - execute(cmd: CreateDeckCommand): Promise; - /** - * Private method to create deck after all validations - */ - private createDeck; -} -//# sourceMappingURL=CreateDeckCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.d.ts.map deleted file mode 100644 index ebf5896d..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateDeckCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/CreateDeckCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAOlD,qBAAa,wBAAwB;IAEjC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAFP,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,uBAAuB;IAG7C,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC;IAsE5D;;OAEG;YACW,UAAU;CAiCzB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.js b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.js deleted file mode 100644 index 099f1874..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.js +++ /dev/null @@ -1,105 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateDeckCommandHandler = void 0; -const DeckAggregate_1 = require("../../../Domain/Deck/DeckAggregate"); -const UserAggregate_1 = require("../../../Domain/User/UserAggregate"); -const DeckMapper_1 = require("../../DTOs/Mappers/DeckMapper"); -const AdminBypassService_1 = require("../../Services/AdminBypassService"); -const Logger_1 = require("../../Services/Logger"); -class CreateDeckCommandHandler { - constructor(deckRepo, userRepo, orgRepo) { - this.deckRepo = deckRepo; - this.userRepo = userRepo; - this.orgRepo = orgRepo; - } - async execute(cmd) { - try { - // 1. Get user details - const user = await this.userRepo.findById(cmd.userid); - if (!user) { - throw new Error('User not found'); - } - // 2. ADMIN BYPASS - Skip all restrictions - if (AdminBypassService_1.AdminBypassService.shouldBypassRestrictions(user.state)) { - AdminBypassService_1.AdminBypassService.logAdminBypass('CREATE_DECK_BYPASS', user.id, 'new-deck', { - deckName: cmd.name, - deckType: cmd.type, - cardCount: cmd.cards.length, - ctype: cmd.ctype - }); - return this.createDeck(cmd); - } - // 3. Check deck count limits for regular users - const userDeckCount = await this.deckRepo.countActiveByUserId(cmd.userid); - const maxDecks = user.state === UserAggregate_1.UserState.VERIFIED_PREMIUM ? 12 : 8; - if (userDeckCount >= maxDecks) { - throw new Error(`Deck limit exceeded. Maximum ${maxDecks} decks allowed for your account type.`); - } - // 4. Organizational deck restrictions - if (cmd.ctype === DeckAggregate_1.CType.ORGANIZATION) { - // Only premium users can create organizational decks - if (user.state !== UserAggregate_1.UserState.VERIFIED_PREMIUM) { - throw new Error('Only premium users can create organizational decks.'); - } - // User must belong to an organization - if (!user.orgid) { - throw new Error('You must be a member of an organization to create organizational decks.'); - } - // Check organization limits - const org = await this.orgRepo.findById(user.orgid); - if (!org) { - throw new Error('Organization not found.'); - } - if (org.maxOrganizationalDecks === null) { - throw new Error('Organization deck limit not configured. Contact administrator.'); - } - const userOrgDeckCount = await this.deckRepo.countOrganizationalByUserId(cmd.userid); - if (userOrgDeckCount >= org.maxOrganizationalDecks) { - throw new Error(`Organization deck limit exceeded. Maximum ${org.maxOrganizationalDecks} organizational decks allowed.`); - } - } - // 5. Create deck with restrictions passed - return this.createDeck(cmd); - } - catch (error) { - if (error instanceof Error) { - throw error; // Re-throw known errors with original message - } - throw new Error('Failed to create deck'); - } - } - /** - * Private method to create deck after all validations - */ - async createDeck(cmd) { - const deck = new DeckAggregate_1.DeckAggregate(); - deck.name = cmd.name; - deck.type = cmd.type; - deck.userid = cmd.userid; - deck.cards = cmd.cards; - deck.ctype = cmd.ctype ?? DeckAggregate_1.CType.PUBLIC; - deck.state = DeckAggregate_1.State.ACTIVE; - // Set organization reference for organizational decks - if (cmd.ctype === DeckAggregate_1.CType.ORGANIZATION) { - const user = await this.userRepo.findById(cmd.userid); - if (user?.orgid) { - const org = await this.orgRepo.findById(user.orgid); - if (org) { - deck.organization = org; - } - } - } - const created = await this.deckRepo.create(deck); - (0, Logger_1.logRequest)('Deck created successfully', undefined, undefined, { - deckId: created.id, - userId: cmd.userid, - deckName: cmd.name, - deckType: cmd.type, - ctype: cmd.ctype, - cardCount: cmd.cards.length - }); - return DeckMapper_1.DeckMapper.toShortDto(created); - } -} -exports.CreateDeckCommandHandler = CreateDeckCommandHandler; -//# sourceMappingURL=CreateDeckCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.js.map deleted file mode 100644 index 673b4fd9..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/CreateDeckCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateDeckCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/CreateDeckCommandHandler.ts"],"names":[],"mappings":";;;AAKA,sEAAiF;AACjF,sEAA+D;AAC/D,8DAA2D;AAC3D,0EAAuE;AACvE,kDAAmD;AAEnD,MAAa,wBAAwB;IACnC,YACmB,QAAyB,EACzB,QAAyB,EACzB,OAAgC;QAFhC,aAAQ,GAAR,QAAQ,CAAiB;QACzB,aAAQ,GAAR,QAAQ,CAAiB;QACzB,YAAO,GAAP,OAAO,CAAyB;IAChD,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,GAAsB;QAClC,IAAI,CAAC;YACH,sBAAsB;YACtB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACtD,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;YACpC,CAAC;YAED,0CAA0C;YAC1C,IAAI,uCAAkB,CAAC,wBAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5D,uCAAkB,CAAC,cA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AAM,IAAI,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACtD,IAAI,IAAI,EAAE,KAAK,EAAE,CAAC;gBAChB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACpD,IAAI,GAAG,EAAE,CAAC;oBACR,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;gBAC1B,CAAC;YACH,CAAC;QACH,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEjD,IAAA,mBAAU,EAAC,2BAA2B,EAAE,SAAS,EAAE,SAAS,EAAE;YAC5D,MAAM,EAAE,OAAO,CAAC,EAAE;YAClB,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,QAAQ,EAAE,GAAG,CAAC,IAAI;YAClB,QAAQ,EAAE,GAAG,CAAC,IAAI;YAClB,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM;SAC5B,CAAC,CAAC;QAEH,OAAO,uBAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;CACF;AAjHD,4DAiHC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.d.ts b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.d.ts deleted file mode 100644 index 8ca63383..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface DeleteDeckCommand { - id: string; - soft?: boolean; -} -//# sourceMappingURL=DeleteDeckCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.d.ts.map deleted file mode 100644 index 1e21ce9a..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteDeckCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/DeleteDeckCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.js b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.js deleted file mode 100644 index 3c66e377..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=DeleteDeckCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.js.map b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.js.map deleted file mode 100644 index 24de4184..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteDeckCommand.js","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/DeleteDeckCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.d.ts deleted file mode 100644 index b1e18407..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IDeckRepository } from '../../../Domain/IRepository/IDeckRepository'; -import { DeleteDeckCommand } from './DeleteDeckCommand'; -export declare class DeleteDeckCommandHandler { - private readonly deckRepo; - constructor(deckRepo: IDeckRepository); - execute(cmd: DeleteDeckCommand): Promise; -} -//# sourceMappingURL=DeleteDeckCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.d.ts.map deleted file mode 100644 index ef6e6c0a..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteDeckCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/DeleteDeckCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,wBAAwB;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC;CAQxD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.js b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.js deleted file mode 100644 index f6ea3302..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteDeckCommandHandler = void 0; -class DeleteDeckCommandHandler { - constructor(deckRepo) { - this.deckRepo = deckRepo; - } - async execute(cmd) { - if (cmd.soft) { - await this.deckRepo.softDelete(cmd.id); - } - else { - await this.deckRepo.delete(cmd.id); - } - return true; - } -} -exports.DeleteDeckCommandHandler = DeleteDeckCommandHandler; -//# sourceMappingURL=DeleteDeckCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.js.map deleted file mode 100644 index 102a9d7a..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/DeleteDeckCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteDeckCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/DeleteDeckCommandHandler.ts"],"names":[],"mappings":";;;AAGA,MAAa,wBAAwB;IACnC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,GAAsB;QAClC,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;YACb,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACrC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAXD,4DAWC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.d.ts b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.d.ts deleted file mode 100644 index 300f84e9..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface UpdateDeckCommand { - id: string; - name?: string; - type?: number; - userid?: string; - cards?: any[]; - ctype?: number; - state?: number; -} -//# sourceMappingURL=UpdateDeckCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.d.ts.map deleted file mode 100644 index 02c74a33..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateDeckCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/UpdateDeckCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.js b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.js deleted file mode 100644 index f33c190b..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=UpdateDeckCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.js.map b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.js.map deleted file mode 100644 index f3c74623..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateDeckCommand.js","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/UpdateDeckCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.d.ts deleted file mode 100644 index 61035abc..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IDeckRepository } from '../../../Domain/IRepository/IDeckRepository'; -import { UpdateDeckCommand } from './UpdateDeckCommand'; -import { ShortDeckDto } from '../../DTOs/DeckDto'; -export declare class UpdateDeckCommandHandler { - private readonly deckRepo; - constructor(deckRepo: IDeckRepository); - execute(cmd: UpdateDeckCommand): Promise; -} -//# sourceMappingURL=UpdateDeckCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.d.ts.map deleted file mode 100644 index ee28a52f..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateDeckCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/UpdateDeckCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,qBAAa,wBAAwB;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;CAKpE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.js b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.js deleted file mode 100644 index e21db006..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateDeckCommandHandler = void 0; -const DeckMapper_1 = require("../../DTOs/Mappers/DeckMapper"); -class UpdateDeckCommandHandler { - constructor(deckRepo) { - this.deckRepo = deckRepo; - } - async execute(cmd) { - const updated = await this.deckRepo.update(cmd.id, { ...cmd }); - if (!updated) - return null; - return DeckMapper_1.DeckMapper.toShortDto(updated); - } -} -exports.UpdateDeckCommandHandler = UpdateDeckCommandHandler; -//# sourceMappingURL=UpdateDeckCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.js.map deleted file mode 100644 index 5bf59127..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/commands/UpdateDeckCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateDeckCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Deck/commands/UpdateDeckCommandHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAE3D,MAAa,wBAAwB;IACnC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,GAAsB;QAClC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,GAAG,EAAE,CAAC,CAAC;QAC/D,IAAI,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC1B,OAAO,uBAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;CACF;AARD,4DAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.d.ts b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.d.ts deleted file mode 100644 index f7056562..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface GetDeckByIdQuery { - id: string; -} -//# sourceMappingURL=GetDeckByIdQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.d.ts.map deleted file mode 100644 index 9db7c375..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDeckByIdQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDeckByIdQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.js b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.js deleted file mode 100644 index 62eeb764..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetDeckByIdQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.js.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.js.map deleted file mode 100644 index f90c42cd..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDeckByIdQuery.js","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDeckByIdQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.d.ts deleted file mode 100644 index 94770f06..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IDeckRepository } from '../../../Domain/IRepository/IDeckRepository'; -import { GetDeckByIdQuery } from './GetDeckByIdQuery'; -import { ShortDeckDto } from '../../DTOs/DeckDto'; -export declare class GetDeckByIdQueryHandler { - private readonly deckRepo; - constructor(deckRepo: IDeckRepository); - execute(query: GetDeckByIdQuery): Promise; -} -//# sourceMappingURL=GetDeckByIdQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.d.ts.map deleted file mode 100644 index 059a9036..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDeckByIdQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDeckByIdQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,qBAAa,uBAAuB;IACtB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;CAKrE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.js b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.js deleted file mode 100644 index 9e74e39b..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetDeckByIdQueryHandler = void 0; -const DeckMapper_1 = require("../../DTOs/Mappers/DeckMapper"); -class GetDeckByIdQueryHandler { - constructor(deckRepo) { - this.deckRepo = deckRepo; - } - async execute(query) { - const deck = await this.deckRepo.findById(query.id); - if (!deck) - return null; - return DeckMapper_1.DeckMapper.toShortDto(deck); - } -} -exports.GetDeckByIdQueryHandler = GetDeckByIdQueryHandler; -//# sourceMappingURL=GetDeckByIdQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.js.map deleted file mode 100644 index dced6929..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDeckByIdQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDeckByIdQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDeckByIdQueryHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAE3D,MAAa,uBAAuB;IAClC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,KAAuB;QACnC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACpD,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC;QACvB,OAAO,uBAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;CACF;AARD,0DAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.d.ts b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.d.ts deleted file mode 100644 index cbcb61f6..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface GetDecksByPageQuery { - from: number; - to: number; - userId: string; - userOrgId?: string; - isAdmin: boolean; - includeDeleted?: boolean; -} -//# sourceMappingURL=GetDecksByPageQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.d.ts.map deleted file mode 100644 index 69d31b46..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDecksByPageQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDecksByPageQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.js b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.js deleted file mode 100644 index 73a8cd73..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetDecksByPageQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.js.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.js.map deleted file mode 100644 index 20e0bc8c..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDecksByPageQuery.js","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDecksByPageQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.d.ts deleted file mode 100644 index c7225ba0..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IDeckRepository } from '../../../Domain/IRepository/IDeckRepository'; -import { GetDecksByPageQuery } from './GetDecksByPageQuery'; -import { ShortDeckDto } from '../../DTOs/DeckDto'; -export declare class GetDecksByPageQueryHandler { - private readonly deckRepo; - constructor(deckRepo: IDeckRepository); - execute(query: GetDecksByPageQuery): Promise<{ - decks: ShortDeckDto[]; - totalCount: number; - }>; -} -//# sourceMappingURL=GetDecksByPageQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.d.ts.map deleted file mode 100644 index 0c004871..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDecksByPageQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDecksByPageQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKlD,qBAAa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,YAAY,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CAuElG"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.js b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.js deleted file mode 100644 index b4039f62..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetDecksByPageQueryHandler = void 0; -const DeckMapper_1 = require("../../DTOs/Mappers/DeckMapper"); -const AdminBypassService_1 = require("../../Services/AdminBypassService"); -const Logger_1 = require("../../Services/Logger"); -class GetDecksByPageQueryHandler { - constructor(deckRepo) { - this.deckRepo = deckRepo; - } - async execute(query) { - try { - // Validate pagination parameters - if (query.from < 0 || query.to < query.from) { - throw new Error('Invalid pagination parameters'); - } - const limit = query.to - query.from + 1; - if (limit > 100) { - throw new Error('Page size too large. Maximum 100 records per request'); - } - // Log admin bypass if applicable - if (query.isAdmin) { - AdminBypassService_1.AdminBypassService.logAdminBypass('GET_DECKS_PAGE_BYPASS', query.userId, 'paginated-decks', { - from: query.from, - to: query.to, - includesDeleted: query.includeDeleted || false, - operation: 'read' - }); - } - (0, Logger_1.logRequest)('Get decks by page query started', undefined, undefined, { - userId: query.userId, - userOrgId: query.userOrgId, - isAdmin: query.isAdmin, - from: query.from, - to: query.to, - includeDeleted: query.includeDeleted || false - }); - // Use paginated filtered deck finding method - const result = await this.deckRepo.findFilteredDecks(query.userId, query.userOrgId, query.isAdmin, query.from, query.to); - (0, Logger_1.logRequest)('Get decks by page query completed', undefined, undefined, { - userId: query.userId, - userOrgId: query.userOrgId, - isAdmin: query.isAdmin, - from: query.from, - to: query.to, - returned: result.decks.length, - totalCount: result.totalCount, - includeDeleted: query.includeDeleted || false - }); - return { - decks: DeckMapper_1.DeckMapper.toShortDtoList(result.decks), - totalCount: result.totalCount - }; - } - catch (error) { - (0, Logger_1.logError)('GetDecksByPageQueryHandler error', error instanceof Error ? error : new Error(String(error))); - // Re-throw validation errors as-is - if (error instanceof Error && (error.message.includes('Invalid pagination') || error.message.includes('Page size'))) { - throw error; - } - throw new Error('Failed to retrieve decks page'); - } - } -} -exports.GetDecksByPageQueryHandler = GetDecksByPageQueryHandler; -//# sourceMappingURL=GetDecksByPageQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.js.map deleted file mode 100644 index 0f039d93..00000000 --- a/SerpentRace_Backend/dist/Application/Deck/queries/GetDecksByPageQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDecksByPageQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Deck/queries/GetDecksByPageQueryHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAC3D,0EAAuE;AACvE,kDAA6D;AAE7D,MAAa,0BAA0B;IACrC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,KAA0B;QACtC,IAAI,CAAC;YACH,iCAAiC;YACjC,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;gBAC5C,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;YACnD,CAAC;YAED,MAAM,KAAK,GAAG,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;YACxC,IAAI,KAAK,GAAG,GAAG,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;YAC1E,CAAC;YAED,iCAAiC;YACjC,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;gBAClB,uCAAkB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cAAc,CAAC,MAAM,CAAC,KAAK,CAAC;gBAC9C,UAAU,EAAE,MAAM,CAAC,UAAU;aAC9B,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,kCAAkC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAExG,mCAAmC;YACnC,IAAI,KAAK,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;gBACpH,MAAM,KAAK,CAAC;YACd,CAAC;YAED,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AA1ED,gEA0EC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.d.ts deleted file mode 100644 index 368d0110..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface CreateOrganizationCommand { - name: string; - contactfname: string; - contactlname: string; - contactphone: string; - contactemail: string; - url?: string; -} -//# sourceMappingURL=CreateOrganizationCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.d.ts.map deleted file mode 100644 index 9dd4d856..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateOrganizationCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/CreateOrganizationCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.js b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.js deleted file mode 100644 index a57a5cbd..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=CreateOrganizationCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.js.map deleted file mode 100644 index 45fa4096..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateOrganizationCommand.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/CreateOrganizationCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.d.ts deleted file mode 100644 index 118ca280..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { CreateOrganizationCommand } from './CreateOrganizationCommand'; -import { ShortOrganizationDto } from '../../DTOs/OrganizationDto'; -export declare class CreateOrganizationCommandHandler { - private readonly orgRepo; - constructor(orgRepo: IOrganizationRepository); - execute(cmd: CreateOrganizationCommand): Promise; -} -//# sourceMappingURL=CreateOrganizationCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.d.ts.map deleted file mode 100644 index 85852b35..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateOrganizationCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/CreateOrganizationCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIlE,qBAAa,gCAAgC;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAEvD,OAAO,CAAC,GAAG,EAAE,yBAAyB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAsB7E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.js b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.js deleted file mode 100644 index 215a97ec..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateOrganizationCommandHandler = void 0; -const OrganizationAggregate_1 = require("../../../Domain/Organization/OrganizationAggregate"); -const OrganizationMapper_1 = require("../../DTOs/Mappers/OrganizationMapper"); -class CreateOrganizationCommandHandler { - constructor(orgRepo) { - this.orgRepo = orgRepo; - } - async execute(cmd) { - try { - const org = new OrganizationAggregate_1.OrganizationAggregate(); - org.name = cmd.name; - org.contactfname = cmd.contactfname; - org.contactlname = cmd.contactlname; - org.contactphone = cmd.contactphone; - org.contactemail = cmd.contactemail; - org.url = cmd.url || null; - org.state = OrganizationAggregate_1.OrganizationState.REGISTERED; - const created = await this.orgRepo.create(org); - return OrganizationMapper_1.OrganizationMapper.toShortDto(created); - } - catch (error) { - if (error instanceof Error) { - if (error.message.includes('duplicate key value violates unique constraint')) { - throw new Error('Organization with this name or contact email already exists'); - } - } - throw new Error('Failed to create organization'); - } - } -} -exports.CreateOrganizationCommandHandler = CreateOrganizationCommandHandler; -//# sourceMappingURL=CreateOrganizationCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.js.map deleted file mode 100644 index 977450e1..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/CreateOrganizationCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateOrganizationCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/CreateOrganizationCommandHandler.ts"],"names":[],"mappings":";;;AAGA,8FAA8G;AAC9G,8EAA2E;AAE3E,MAAa,gCAAgC;IAC3C,YAA6B,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CAAC,GAA8B;QAC1C,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,IAAI,6CAAqB,EAAE,CAAC;YACxC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACpB,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;YACpC,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;YACpC,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;YACpC,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;YACpC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,IAAI,IAAI,CAAC;YAC1B,GAAG,CAAC,KAAK,GAAG,yCAAiB,CAAC,UAAU,CAAC;YAEzC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAC/C,OAAO,uCAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAChD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;gBAC3B,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,gDAAgD,CAAC,EAAE,CAAC;oBAC7E,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;gBACjF,CAAC;YACH,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AAzBD,4EAyBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.d.ts deleted file mode 100644 index cf1fa58b..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface DeleteOrganizationCommand { - id: string; - soft?: boolean; -} -//# sourceMappingURL=DeleteOrganizationCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.d.ts.map deleted file mode 100644 index 4a379951..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteOrganizationCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/DeleteOrganizationCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.js b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.js deleted file mode 100644 index 74db6349..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=DeleteOrganizationCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.js.map deleted file mode 100644 index ffbe3cdd..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteOrganizationCommand.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/DeleteOrganizationCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.d.ts deleted file mode 100644 index d00679b4..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { DeleteOrganizationCommand } from './DeleteOrganizationCommand'; -export declare class DeleteOrganizationCommandHandler { - private readonly orgRepo; - constructor(orgRepo: IOrganizationRepository); - execute(cmd: DeleteOrganizationCommand): Promise; -} -//# sourceMappingURL=DeleteOrganizationCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.d.ts.map deleted file mode 100644 index 23917a20..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteOrganizationCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/DeleteOrganizationCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAGxE,qBAAa,gCAAgC;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAEvD,OAAO,CAAC,GAAG,EAAE,yBAAyB,GAAG,OAAO,CAAC,OAAO,CAAC;CAQhE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.js b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.js deleted file mode 100644 index ba47b855..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteOrganizationCommandHandler = void 0; -class DeleteOrganizationCommandHandler { - constructor(orgRepo) { - this.orgRepo = orgRepo; - } - async execute(cmd) { - if (cmd.soft) { - await this.orgRepo.softDelete(cmd.id); - } - else { - await this.orgRepo.delete(cmd.id); - } - return true; - } -} -exports.DeleteOrganizationCommandHandler = DeleteOrganizationCommandHandler; -//# sourceMappingURL=DeleteOrganizationCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.js.map deleted file mode 100644 index f164edda..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/DeleteOrganizationCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteOrganizationCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/DeleteOrganizationCommandHandler.ts"],"names":[],"mappings":";;;AAIA,MAAa,gCAAgC;IAC3C,YAA6B,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CAAC,GAA8B;QAC1C,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;YACb,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACxC,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAXD,4EAWC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.d.ts deleted file mode 100644 index e63e6b53..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface ProcessOrgAuthCallbackCommand { - organizationId: string; - userId: string; - status: 'ok' | 'not_ok'; - authToken?: string; -} -//# sourceMappingURL=ProcessOrgAuthCallbackCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.d.ts.map deleted file mode 100644 index 15b68720..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessOrgAuthCallbackCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/ProcessOrgAuthCallbackCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,IAAI,GAAG,QAAQ,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.js b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.js deleted file mode 100644 index 2b2f6f24..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=ProcessOrgAuthCallbackCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.js.map deleted file mode 100644 index 94396c24..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessOrgAuthCallbackCommand.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/ProcessOrgAuthCallbackCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.d.ts deleted file mode 100644 index 76cbb7e9..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { ProcessOrgAuthCallbackCommand } from './ProcessOrgAuthCallbackCommand'; -export interface ProcessOrgAuthCallbackResponse { - success: boolean; - message: string; - updatedFields?: string[]; -} -export declare class ProcessOrgAuthCallbackCommandHandler { - private readonly userRepo; - private readonly orgRepo; - constructor(userRepo: IUserRepository, orgRepo: IOrganizationRepository); - execute(cmd: ProcessOrgAuthCallbackCommand): Promise; -} -//# sourceMappingURL=ProcessOrgAuthCallbackCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.d.ts.map deleted file mode 100644 index 207539a9..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessOrgAuthCallbackCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,qBAAa,oCAAoC;IAE7C,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,uBAAuB;IAG7C,OAAO,CAAC,GAAG,EAAE,6BAA6B,GAAG,OAAO,CAAC,8BAA8B,CAAC;CAyG3F"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.js b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.js deleted file mode 100644 index e7a6bdaf..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.js +++ /dev/null @@ -1,103 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ProcessOrgAuthCallbackCommandHandler = void 0; -const Logger_1 = require("../../Services/Logger"); -class ProcessOrgAuthCallbackCommandHandler { - constructor(userRepo, orgRepo) { - this.userRepo = userRepo; - this.orgRepo = orgRepo; - } - async execute(cmd) { - const startTime = Date.now(); - try { - (0, Logger_1.logAuth)('Processing organization authentication callback', cmd.userId, { - organizationId: cmd.organizationId, - status: cmd.status, - hasAuthToken: !!cmd.authToken - }); - // Verify organization exists - const organization = await this.orgRepo.findById(cmd.organizationId); - if (!organization) { - (0, Logger_1.logWarning)('Organization not found for auth callback', { - organizationId: cmd.organizationId, - userId: cmd.userId - }); - return { - success: false, - message: 'Organization not found' - }; - } - // Verify user exists - const user = await this.userRepo.findById(cmd.userId); - if (!user) { - (0, Logger_1.logWarning)('User not found for auth callback', { - organizationId: cmd.organizationId, - userId: cmd.userId - }); - return { - success: false, - message: 'User not found' - }; - } - // Verify user belongs to the organization - if (user.orgid !== cmd.organizationId) { - (0, Logger_1.logWarning)('User does not belong to organization for auth callback', { - organizationId: cmd.organizationId, - userId: cmd.userId, - userOrgId: user.orgid - }); - return { - success: false, - message: 'User does not belong to this organization' - }; - } - if (cmd.status === 'not_ok') { - (0, Logger_1.logAuth)('Organization authentication failed', cmd.userId, { - organizationId: cmd.organizationId, - organizationName: organization.name - }); - return { - success: false, - message: 'Organization authentication failed' - }; - } - // Update user's organization login date - const now = new Date(); - const updatedUser = await this.userRepo.update(cmd.userId, { - Orglogindate: now - }); - if (!updatedUser) { - (0, Logger_1.logError)('Failed to update user organization login date', new Error('User update returned null')); - return { - success: false, - message: 'Failed to update user login information' - }; - } - (0, Logger_1.logAuth)('Organization authentication successful', cmd.userId, { - organizationId: cmd.organizationId, - organizationName: organization.name, - orgLoginDate: now.toISOString(), - executionTime: Date.now() - startTime - }); - (0, Logger_1.logDatabase)('User organization login date updated', `userId: ${cmd.userId}, orgId: ${cmd.organizationId}`, Date.now() - startTime, { - userId: cmd.userId, - organizationId: cmd.organizationId, - newOrgLoginDate: now.toISOString() - }); - return { - success: true, - message: 'Organization authentication successful', - updatedFields: ['Orglogindate'] - }; - } - catch (error) { - (0, Logger_1.logError)('ProcessOrgAuthCallbackCommandHandler error', error); - return { - success: false, - message: 'Internal error processing authentication callback' - }; - } - } -} -exports.ProcessOrgAuthCallbackCommandHandler = ProcessOrgAuthCallbackCommandHandler; -//# sourceMappingURL=ProcessOrgAuthCallbackCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.js.map deleted file mode 100644 index 32bfa2f3..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessOrgAuthCallbackCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/ProcessOrgAuthCallbackCommandHandler.ts"],"names":[],"mappings":";;;AAGA,kDAAmF;AAQnF,MAAa,oCAAoC;IAC/C,YACmB,QAAyB,EACzB,OAAgC;QADhC,aAAQ,GAAR,QAAQ,CAAiB;QACzB,YAAO,GAAP,OAAO,CAAyB;IAChD,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,GAAkC;QAC9C,MAAM,SAAS,GAAG,IAAI,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,GAAG,CAAC,MAAM;gBAClB,cAAc,EAAE,GAAG,CAAC,cAAc;gBAClC,eAAe,EAAE,GAAG,CAAC,WAAW,EAAE;aACnC,CACF,CAAC;YAEF,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,wCAAwC;gBACjD,aAAa,EAAE,CAAC,cAAc,CAAC;aAChC,CAAC;QAEJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,4CAA4C,EAAE,KAAc,CAAC,CAAC;YACvE,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,mDAAmD;aAC7D,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AA/GD,oFA+GC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.d.ts deleted file mode 100644 index c18d35f2..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { OrganizationStateType } from '../../../Domain/Organization/OrganizationAggregate'; -export interface UpdateOrganizationCommand { - id: string; - name?: string; - contactfname?: string; - contactlname?: string; - contactphone?: string; - contactemail?: string; - url?: string; - state?: OrganizationStateType; - userinorg?: number; - maxOrganizationalDecks?: number | null; -} -//# sourceMappingURL=UpdateOrganizationCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.d.ts.map deleted file mode 100644 index 335be16a..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateOrganizationCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/UpdateOrganizationCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAE3F,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.js b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.js deleted file mode 100644 index 020d40c7..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=UpdateOrganizationCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.js.map deleted file mode 100644 index 2c9b9cd5..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateOrganizationCommand.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/UpdateOrganizationCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.d.ts deleted file mode 100644 index c6186e23..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { UpdateOrganizationCommand } from './UpdateOrganizationCommand'; -import { ShortOrganizationDto } from '../../DTOs/OrganizationDto'; -export declare class UpdateOrganizationCommandHandler { - private readonly orgRepo; - constructor(orgRepo: IOrganizationRepository); - execute(cmd: UpdateOrganizationCommand): Promise; -} -//# sourceMappingURL=UpdateOrganizationCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.d.ts.map deleted file mode 100644 index 87f2c042..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateOrganizationCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/UpdateOrganizationCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE,qBAAa,gCAAgC;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAEvD,OAAO,CAAC,GAAG,EAAE,yBAAyB,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;CAKpF"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.js b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.js deleted file mode 100644 index 7b6b9ce8..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateOrganizationCommandHandler = void 0; -const OrganizationMapper_1 = require("../../DTOs/Mappers/OrganizationMapper"); -class UpdateOrganizationCommandHandler { - constructor(orgRepo) { - this.orgRepo = orgRepo; - } - async execute(cmd) { - const updated = await this.orgRepo.update(cmd.id, { ...cmd }); - if (!updated) - return null; - return OrganizationMapper_1.OrganizationMapper.toShortDto(updated); - } -} -exports.UpdateOrganizationCommandHandler = UpdateOrganizationCommandHandler; -//# sourceMappingURL=UpdateOrganizationCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.js.map deleted file mode 100644 index 5484c8d5..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/commands/UpdateOrganizationCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateOrganizationCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/commands/UpdateOrganizationCommandHandler.ts"],"names":[],"mappings":";;;AAIA,8EAA2E;AAE3E,MAAa,gCAAgC;IAC3C,YAA6B,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CAAC,GAA8B;QAC1C,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,GAAG,EAAE,CAAC,CAAC;QAC9D,IAAI,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC1B,OAAO,uCAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAChD,CAAC;CACF;AARD,4EAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.d.ts b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.d.ts deleted file mode 100644 index 12ac6df5..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface GetOrganizationByIdQuery { - id: string; -} -//# sourceMappingURL=GetOrganizationByIdQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.d.ts.map deleted file mode 100644 index 9afe1387..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationByIdQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationByIdQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.js b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.js deleted file mode 100644 index f79220b5..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetOrganizationByIdQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.js.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.js.map deleted file mode 100644 index 52e36dba..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationByIdQuery.js","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationByIdQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.d.ts deleted file mode 100644 index 09d73c4e..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { GetOrganizationByIdQuery } from './GetOrganizationByIdQuery'; -import { ShortOrganizationDto } from '../../DTOs/OrganizationDto'; -export declare class GetOrganizationByIdQueryHandler { - private readonly orgRepo; - constructor(orgRepo: IOrganizationRepository); - execute(query: GetOrganizationByIdQuery): Promise; -} -//# sourceMappingURL=GetOrganizationByIdQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.d.ts.map deleted file mode 100644 index 457f6a76..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationByIdQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationByIdQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE,qBAAa,+BAA+B;IAC9B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAEvD,OAAO,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;CAKrF"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.js b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.js deleted file mode 100644 index 52351000..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetOrganizationByIdQueryHandler = void 0; -const OrganizationMapper_1 = require("../../DTOs/Mappers/OrganizationMapper"); -class GetOrganizationByIdQueryHandler { - constructor(orgRepo) { - this.orgRepo = orgRepo; - } - async execute(query) { - const org = await this.orgRepo.findById(query.id); - if (!org) - return null; - return OrganizationMapper_1.OrganizationMapper.toShortDto(org); - } -} -exports.GetOrganizationByIdQueryHandler = GetOrganizationByIdQueryHandler; -//# sourceMappingURL=GetOrganizationByIdQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.js.map deleted file mode 100644 index b6903fb3..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationByIdQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationByIdQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationByIdQueryHandler.ts"],"names":[],"mappings":";;;AAIA,8EAA2E;AAE3E,MAAa,+BAA+B;IAC1C,YAA6B,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CAAC,KAA+B;QAC3C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAClD,IAAI,CAAC,GAAG;YAAE,OAAO,IAAI,CAAC;QACtB,OAAO,uCAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;CACF;AARD,0EAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.d.ts b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.d.ts deleted file mode 100644 index 33cacf49..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface GetOrganizationLoginUrlQuery { - organizationId: string; -} -//# sourceMappingURL=GetOrganizationLoginUrlQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.d.ts.map deleted file mode 100644 index b2debe96..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationLoginUrlQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationLoginUrlQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,cAAc,EAAE,MAAM,CAAC;CACxB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.js b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.js deleted file mode 100644 index f67fd300..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetOrganizationLoginUrlQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.js.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.js.map deleted file mode 100644 index 21c70a93..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationLoginUrlQuery.js","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationLoginUrlQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.d.ts deleted file mode 100644 index 0f568894..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { GetOrganizationLoginUrlQuery } from './GetOrganizationLoginUrlQuery'; -import { OrganizationLoginUrlDto } from '../../DTOs/OrganizationDto'; -export declare class GetOrganizationLoginUrlQueryHandler { - private readonly orgRepo; - constructor(orgRepo: IOrganizationRepository); - execute(query: GetOrganizationLoginUrlQuery): Promise; -} -//# sourceMappingURL=GetOrganizationLoginUrlQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.d.ts.map deleted file mode 100644 index 552684ca..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationLoginUrlQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAGrE,qBAAa,mCAAmC;IAClC,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAEvD,OAAO,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC;CA+C5F"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.js b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.js deleted file mode 100644 index 95e4fab3..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetOrganizationLoginUrlQueryHandler = void 0; -const Logger_1 = require("../../Services/Logger"); -class GetOrganizationLoginUrlQueryHandler { - constructor(orgRepo) { - this.orgRepo = orgRepo; - } - async execute(query) { - const startTime = Date.now(); - try { - (0, Logger_1.logDatabase)('Getting organization login URL', `organizationId: ${query.organizationId}`, 0, { - organizationId: query.organizationId - }); - const organization = await this.orgRepo.findById(query.organizationId); - if (!organization) { - (0, Logger_1.logWarning)('Organization not found for login URL request', { - organizationId: query.organizationId - }); - return null; - } - if (!organization.url) { - (0, Logger_1.logWarning)('Organization has no configured login URL', { - organizationId: query.organizationId, - organizationName: organization.name - }); - return null; - } - const result = { - organizationId: organization.id, - organizationName: organization.name, - loginUrl: organization.url - }; - (0, Logger_1.logDatabase)('Organization login URL retrieved successfully', `organizationId: ${query.organizationId}`, Date.now() - startTime, { - organizationId: organization.id, - organizationName: organization.name, - hasUrl: !!organization.url - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('GetOrganizationLoginUrlQueryHandler error', error); - throw new Error('Failed to retrieve organization login URL'); - } - } -} -exports.GetOrganizationLoginUrlQueryHandler = GetOrganizationLoginUrlQueryHandler; -//# sourceMappingURL=GetOrganizationLoginUrlQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.js.map deleted file mode 100644 index ae1199ee..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationLoginUrlQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationLoginUrlQueryHandler.ts"],"names":[],"mappings":";;;AAGA,kDAA0E;AAE1E,MAAa,mCAAmC;IAC9C,YAA6B,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CAAC,KAAmC;QAC/C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAE7B,IAAI,CAAC;YACH,IAAA,oBAAW,EAAC,gCAAgC,EAAE,mBAAmB,KAAK,CAAC,cAAc,EAAE,EAAE,CAAC,EAAE;gBAC1F,cAAc,EAAE,KAAK,CAAC,cAAc;aACrC,CAAC,CAAC;YAEH,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;YAEvE,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,IAAA,mBAAU,EAAC,8CAA8C,EAAE;oBACzD,cAAc,EAAE,KAAK,CAAC,cAAc;iBACrC,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;gBACtB,IAAA,mBAAU,EAAC,0CAA0C,EAAE;oBACrD,cAAc,EAAE,KAAK,CAAC,cAAc;oBACpC,gBAAgB,EAAE,YAAY,CAAC,IAAI;iBACpC,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,MAAM,GAA4B;gBACtC,cAAc,EAAE,YAAY,CAAC,EAAE;gBAC/B,gBAAgB,EAAE,YAAY,CAAC,IAAI;gBACnC,QAAQ,EAAE,YAAY,CAAC,GAAG;aAC3B,CAAC;YAEF,IAAA,oBAAW,EAAC,+CAA+C,EACzD,mBAAmB,KAAK,CAAC,cAAc,EAAE,EACzC,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,EACtB;gBACE,cAAc,EAAE,YAAY,CAAC,EAAE;gBAC/B,gBAAgB,EAAE,YAAY,CAAC,IAAI;gBACnC,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,GAAG;aAC3B,CACF,CAAC;YAEF,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,2CAA2C,EAAE,KAAc,CAAC,CAAC;YACtE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAlDD,kFAkDC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.d.ts b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.d.ts deleted file mode 100644 index 82834da5..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface GetOrganizationsByPageQuery { - from: number; - to: number; - includeDeleted?: boolean; -} -//# sourceMappingURL=GetOrganizationsByPageQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.d.ts.map deleted file mode 100644 index 52ed8682..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationsByPageQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationsByPageQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.js b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.js deleted file mode 100644 index 797f5673..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetOrganizationsByPageQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.js.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.js.map deleted file mode 100644 index ec54281b..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationsByPageQuery.js","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationsByPageQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.d.ts deleted file mode 100644 index ec28fc20..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { GetOrganizationsByPageQuery } from './GetOrganizationsByPageQuery'; -import { ShortOrganizationDto } from '../../DTOs/OrganizationDto'; -export declare class GetOrganizationsByPageQueryHandler { - private readonly orgRepo; - constructor(orgRepo: IOrganizationRepository); - execute(query: GetOrganizationsByPageQuery): Promise<{ - organizations: ShortOrganizationDto[]; - totalCount: number; - }>; -} -//# sourceMappingURL=GetOrganizationsByPageQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.d.ts.map deleted file mode 100644 index 46c016d0..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationsByPageQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationsByPageQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIlE,qBAAa,kCAAkC;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAEvD,OAAO,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,oBAAoB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CAkD1H"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.js b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.js deleted file mode 100644 index a46bcf2d..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.js +++ /dev/null @@ -1,55 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetOrganizationsByPageQueryHandler = void 0; -const OrganizationMapper_1 = require("../../DTOs/Mappers/OrganizationMapper"); -const Logger_1 = require("../../Services/Logger"); -class GetOrganizationsByPageQueryHandler { - constructor(orgRepo) { - this.orgRepo = orgRepo; - } - async execute(query) { - try { - // Validate pagination parameters - if (query.from < 0 || query.to < query.from) { - throw new Error('Invalid pagination parameters'); - } - const limit = query.to - query.from + 1; - if (limit > 100) { - throw new Error('Page size too large. Maximum 100 records per request'); - } - (0, Logger_1.logRequest)('Get organizations by page query started', undefined, undefined, { - from: query.from, - to: query.to, - includeDeleted: query.includeDeleted || false - }); - const result = query.includeDeleted - ? await this.orgRepo.findByPageIncludingDeleted(query.from, query.to) - : await this.orgRepo.findByPage(query.from, query.to); - (0, Logger_1.logRequest)('Get organizations by page query completed', undefined, undefined, { - from: query.from, - to: query.to, - returned: result.organizations.length, - totalCount: result.totalCount, - includeDeleted: query.includeDeleted || false - }); - return { - organizations: OrganizationMapper_1.OrganizationMapper.toShortDtoList(result.organizations), - totalCount: result.totalCount - }; - } - catch (error) { - (0, Logger_1.logError)('GetOrganizationsByPageQueryHandler error', error instanceof Error ? error : new Error(String(error))); - // Handle database errors - if (error instanceof Error && error.message.includes('database')) { - throw new Error('Database connection error'); - } - // Re-throw validation errors as-is - if (error instanceof Error && (error.message.includes('Invalid pagination') || error.message.includes('Page size'))) { - throw error; - } - throw new Error('Failed to retrieve organizations'); - } - } -} -exports.GetOrganizationsByPageQueryHandler = GetOrganizationsByPageQueryHandler; -//# sourceMappingURL=GetOrganizationsByPageQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.js.map b/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.js.map deleted file mode 100644 index 6b154729..00000000 --- a/SerpentRace_Backend/dist/Application/Organization/queries/GetOrganizationsByPageQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetOrganizationsByPageQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/Organization/queries/GetOrganizationsByPageQueryHandler.ts"],"names":[],"mappings":";;;AAGA,8EAA2E;AAC3E,kDAA6D;AAE7D,MAAa,kCAAkC;IAC7C,YAA6B,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CAAC,KAAkC;QAC9C,IAAI,CAAC;YACH,iCAAiC;YACjC,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;gBAC5C,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;YACnD,CAAC;YAED,MAAM,KAAK,GAAG,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;YACxC,IAAI,KAAK,GAAG,GAAG,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;YAC1E,CAAC;YAED,IAAA,mBAAU,EAAC,yCAAyC,EAAE,SAAS,EAAE,SAAS,EAAE;gBAC1E,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,EAAE,EAAE,KAAK,CAAC,EAAE;gBACZ,cAAc,EAAE,KAAK,CAAC,cAAc,IAAI,KAAK;aAC9C,CAAC,CAAC;YAEH,MAAM,MAAM,GAAG,KAAK,CAAC,cAAc;gBACjC,CAAC,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;gBACrE,CAAC,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;YAExD,IAAA,mBAAU,EAAC,2CAA2C,EAAE,SAAS,EAAE,SAAS,EAAE;gBAC5E,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,EAAE,EAAE,KAAK,CAAC,EAAE;gBACZ,QAAQ,EAAE,MAAM,CAAC,aAAa,CAAC,MAAM;gBACrC,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,cAAc,EAAE,KAAK,CAAC,cAAc,IAAI,KAAK;aAC9C,CAAC,CAAC;YAEH,OAAO;gBACL,aAAa,EAAE,uCAAkB,CAAC,cAAc,CAAC,MAAM,CAAC,aAAa,CAAC;gBACtE,UAAU,EAAE,MAAM,CAAC,UAAU;aAC9B,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,0CAA0C,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAEhH,yBAAyB;YACzB,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;gBACjE,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;YAC/C,CAAC;YAED,mCAAmC;YACnC,IAAI,KAAK,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;gBACpH,MAAM,KAAK,CAAC;YACd,CAAC;YAED,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;QACtD,CAAC;IACH,CAAC;CACF;AArDD,gFAqDC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Search/Generalsearch.d.ts b/SerpentRace_Backend/dist/Application/Search/Generalsearch.d.ts deleted file mode 100644 index 03a23433..00000000 --- a/SerpentRace_Backend/dist/Application/Search/Generalsearch.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IUserRepository } from '../../Domain/IRepository/IUserRepository'; -import { IOrganizationRepository } from '../../Domain/IRepository/IOrganizationRepository'; -import { IDeckRepository } from '../../Domain/IRepository/IDeckRepository'; -import { SearchQuery, SearchResult } from '../DTOs/SearchDto'; -import { ShortUserDto } from '../DTOs/UserDto'; -import { ShortOrganizationDto } from '../DTOs/OrganizationDto'; -import { ShortDeckDto } from '../DTOs/DeckDto'; -export type SearchType = 'users' | 'organizations' | 'decks'; -export interface IGeneralSearchService { - searchUsers(searchQuery: SearchQuery): Promise>; - searchOrganizations(searchQuery: SearchQuery): Promise>; - searchDecks(searchQuery: SearchQuery): Promise>; - searchByType(searchType: SearchType, searchQuery: SearchQuery): Promise>; -} -export declare class GeneralSearchService implements IGeneralSearchService { - private userRepo; - private organizationRepo; - private deckRepo; - constructor(userRepo: IUserRepository, organizationRepo: IOrganizationRepository, deckRepo: IDeckRepository); - static getSearchTypeFromUrl(url: string): SearchType; - searchUsers(searchQuery: SearchQuery): Promise>; - searchOrganizations(searchQuery: SearchQuery): Promise>; - searchDecks(searchQuery: SearchQuery): Promise>; - searchByType(searchType: SearchType, searchQuery: SearchQuery): Promise>; - searchFromUrl(url: string, searchQuery: SearchQuery): Promise>; -} -//# sourceMappingURL=Generalsearch.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Search/Generalsearch.d.ts.map b/SerpentRace_Backend/dist/Application/Search/Generalsearch.d.ts.map deleted file mode 100644 index b9dabc25..00000000 --- a/SerpentRace_Backend/dist/Application/Search/Generalsearch.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Generalsearch.d.ts","sourceRoot":"","sources":["../../../src/Application/Search/Generalsearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,WAAW,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AC,CAAC;IA0B1E,YAAY,CAChB,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,GACvB,OAAO,CAAC,YAAY,CAAC,YAAY,GAAG,oBAAoB,GAAG,YAAY,CAAC,CAAC;IAatE,aAAa,CACjB,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,WAAW,GACvB,OAAO,CAAC,YAAY,CAAC,YAAY,GAAG,oBAAoB,GAAG,YAAY,CAAC,CAAC;CAI7E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Search/Generalsearch.js b/SerpentRace_Backend/dist/Application/Search/Generalsearch.js deleted file mode 100644 index c21a0b15..00000000 --- a/SerpentRace_Backend/dist/Application/Search/Generalsearch.js +++ /dev/null @@ -1,114 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GeneralSearchService = void 0; -const UserMapper_1 = require("../DTOs/Mappers/UserMapper"); -const OrganizationMapper_1 = require("../DTOs/Mappers/OrganizationMapper"); -const DeckMapper_1 = require("../DTOs/Mappers/DeckMapper"); -class GeneralSearchService { - constructor(userRepo, organizationRepo, deckRepo) { - this.userRepo = userRepo; - this.organizationRepo = organizationRepo; - this.deckRepo = deckRepo; - } - static getSearchTypeFromUrl(url) { - if (url.includes('/users/') || url.includes('/api/users/')) { - return 'users'; - } - else if (url.includes('/organizations/') || url.includes('/api/organizations/')) { - return 'organizations'; - } - else if (url.includes('/decks/') || url.includes('/api/decks/')) { - return 'decks'; - } - return 'users'; - } - async searchUsers(searchQuery) { - const { query, limit = 20, offset = 0 } = searchQuery; - if (!query || query.trim().length === 0) { - return { - results: [], - totalCount: 0, - hasMore: false, - searchQuery: query, - searchType: 'users' - }; - } - try { - const { users, totalCount } = await this.userRepo.search(query.trim(), limit, offset); - const results = users.map(user => UserMapper_1.UserMapper.toShortDto(user)); - const hasMore = (offset + limit) < totalCount; - return { - results, - totalCount, - hasMore, - searchQuery: query, - searchType: 'users' - }; - } - catch (error) { - throw new Error('Failed to search users'); - } - } - async searchOrganizations(searchQuery) { - const { query, limit = 20, offset = 0 } = searchQuery; - if (!query || query.trim().length === 0) { - return { - results: [], - totalCount: 0, - hasMore: false, - searchQuery: query, - searchType: 'organizations' - }; - } - const { organizations, totalCount } = await this.organizationRepo.search(query.trim(), limit, offset); - const results = organizations.map(org => OrganizationMapper_1.OrganizationMapper.toShortDto(org)); - const hasMore = (offset + limit) < totalCount; - return { - results, - totalCount, - hasMore, - searchQuery: query, - searchType: 'organizations' - }; - } - async searchDecks(searchQuery) { - const { query, limit = 20, offset = 0 } = searchQuery; - if (!query || query.trim().length === 0) { - return { - results: [], - totalCount: 0, - hasMore: false, - searchQuery: query, - searchType: 'decks' - }; - } - const { decks, totalCount } = await this.deckRepo.search(query.trim(), limit, offset); - const results = decks.map(deck => DeckMapper_1.DeckMapper.toShortDto(deck)); - const hasMore = (offset + limit) < totalCount; - return { - results, - totalCount, - hasMore, - searchQuery: query, - searchType: 'decks' - }; - } - async searchByType(searchType, searchQuery) { - switch (searchType) { - case 'users': - return await this.searchUsers(searchQuery); - case 'organizations': - return await this.searchOrganizations(searchQuery); - case 'decks': - return await this.searchDecks(searchQuery); - default: - throw new Error(`Unsupported search type: ${searchType}`); - } - } - async searchFromUrl(url, searchQuery) { - const searchType = GeneralSearchService.getSearchTypeFromUrl(url); - return await this.searchByType(searchType, searchQuery); - } -} -exports.GeneralSearchService = GeneralSearchService; -//# sourceMappingURL=Generalsearch.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Search/Generalsearch.js.map b/SerpentRace_Backend/dist/Application/Search/Generalsearch.js.map deleted file mode 100644 index 7dfc0555..00000000 --- a/SerpentRace_Backend/dist/Application/Search/Generalsearch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Generalsearch.js","sourceRoot":"","sources":["../../../src/Application/Search/Generalsearch.ts"],"names":[],"mappings":";;;AAOA,2DAAwD;AACxD,2EAAwE;AACxE,2DAAwD;AAWxD,MAAa,oBAAoB;IAC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AAU,EAAE,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC;IAED,KAAK,CAAC,aAAa,CACjB,GAAW,EACX,WAAwB;QAExB,MAAM,UAAU,GAAG,oBAAoB,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC;QAClE,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAC1D,CAAC;CACF;AA3HD,oDA2HC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.d.ts b/SerpentRace_Backend/dist/Application/Services/AdminBypassService.d.ts deleted file mode 100644 index 5f900fd2..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { UserState } from '../../Domain/User/UserAggregate'; -import { Request, Response } from 'express'; -/** - * Admin Bypass Service - Centralized admin privilege checking and logging - */ -export declare class AdminBypassService { - /** - * Check if user has admin privileges - * @param userState - User's current state - * @returns true if user is admin - */ - static isAdmin(userState: UserState): boolean; - /** - * Check if user should bypass all restrictions - * @param userState - User's current state - * @returns true if restrictions should be bypassed - */ - static shouldBypassRestrictions(userState: UserState): boolean; - /** - * Log admin bypass action for audit trail - * @param action - Description of the action being bypassed - * @param adminUserId - ID of the admin user - * @param targetId - ID of the target resource - * @param details - Additional details about the bypass - * @param req - Optional request object for context - * @param res - Optional response object for context - */ - static logAdminBypass(action: string, adminUserId: string, targetId: string, details?: any, req?: Request, res?: Response): void; -} -/** - * Admin Audit Service - Enhanced logging for all admin actions - */ -export declare class AdminAuditService { - /** - * Log comprehensive admin action for audit trail - * @param action - Action being performed - * @param adminUserId - ID of the admin user - * @param details - Detailed information about the action - * @param req - Request object for context - * @param res - Response object for context - */ - static logAdminAction(action: string, adminUserId: string, details: { - targetType: 'user' | 'organization' | 'deck' | 'contact' | 'chat'; - targetId: string; - operation: 'create' | 'read' | 'update' | 'delete' | 'bypass' | 'export' | 'import'; - changes?: any; - sensitive?: boolean; - metadata?: any; - }, req?: Request, res?: Response): void; - /** - * Log bulk admin operations - * @param action - Bulk action being performed - * @param adminUserId - ID of the admin user - * @param affectedCount - Number of resources affected - * @param targetType - Type of resources affected - * @param req - Request object for context - * @param res - Response object for context - */ - static logBulkAdminAction(action: string, adminUserId: string, affectedCount: number, targetType: string, req?: Request, res?: Response): void; -} -//# sourceMappingURL=AdminBypassService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/AdminBypassService.d.ts.map deleted file mode 100644 index 0c01c86b..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AdminBypassService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/AdminBypassService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE5C;;GAEG;AACH,qBAAa,kBAAkB;IAC3B;;;;OAIG;IACH,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO;IAI7C;;;;OAIG;IACH,MAAM,CAAC,wBAAwB,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO;IAI9D;;;;;;;;OAQG;IACH,MAAM,CAAC,cAAc,CACjB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,GAAG,EACb,GAAG,CAAC,EAAE,OAAO,EACb,GAAG,CAAC,EAAE,QAAQ,GACf,IAAI;CASV;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC1B;;;;;;;OAOG;IACH,MAAM,CAAC,cAAc,CACjB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE;QACL,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;QAClE,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;QACpF,OAAO,CAAC,EAAE,GAAG,CAAC;QACd,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,GAAG,CAAC;KAClB,EACD,GAAG,CAAC,EAAE,OAAO,EACb,GAAG,CAAC,EAAE,QAAQ,GACf,IAAI;IA2BP;;;;;;;;OAQG;IACH,MAAM,CAAC,kBAAkB,CACrB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,GAAG,CAAC,EAAE,OAAO,EACb,GAAG,CAAC,EAAE,QAAQ,GACf,IAAI;CASV"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.js b/SerpentRace_Backend/dist/Application/Services/AdminBypassService.js deleted file mode 100644 index 82f206d1..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.js +++ /dev/null @@ -1,101 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AdminAuditService = exports.AdminBypassService = void 0; -const UserAggregate_1 = require("../../Domain/User/UserAggregate"); -const Logger_1 = require("./Logger"); -/** - * Admin Bypass Service - Centralized admin privilege checking and logging - */ -class AdminBypassService { - /** - * Check if user has admin privileges - * @param userState - User's current state - * @returns true if user is admin - */ - static isAdmin(userState) { - return userState === UserAggregate_1.UserState.ADMIN; - } - /** - * Check if user should bypass all restrictions - * @param userState - User's current state - * @returns true if restrictions should be bypassed - */ - static shouldBypassRestrictions(userState) { - return this.isAdmin(userState); - } - /** - * Log admin bypass action for audit trail - * @param action - Description of the action being bypassed - * @param adminUserId - ID of the admin user - * @param targetId - ID of the target resource - * @param details - Additional details about the bypass - * @param req - Optional request object for context - * @param res - Optional response object for context - */ - static logAdminBypass(action, adminUserId, targetId, details, req, res) { - (0, Logger_1.logAuth)(`ADMIN_BYPASS: ${action}`, adminUserId, { - targetId, - action, - bypassReason: 'Admin privileges', - timestamp: new Date().toISOString(), - ...details - }, req, res); - } -} -exports.AdminBypassService = AdminBypassService; -/** - * Admin Audit Service - Enhanced logging for all admin actions - */ -class AdminAuditService { - /** - * Log comprehensive admin action for audit trail - * @param action - Action being performed - * @param adminUserId - ID of the admin user - * @param details - Detailed information about the action - * @param req - Request object for context - * @param res - Response object for context - */ - static logAdminAction(action, adminUserId, details, req, res) { - const auditData = { - timestamp: new Date().toISOString(), - adminUserId, - action, - ...details, - ip: req?.ip, - userAgent: req?.get('User-Agent'), - endpoint: req?.path, - method: req?.method, - requestId: req?.headers['x-request-id'] || 'unknown' - }; - // Enhanced logging for admin actions - (0, Logger_1.logAuth)(`ADMIN_AUDIT: ${action}`, adminUserId, auditData, req, res); - // Additional security logging for sensitive operations - if (details.sensitive) { - (0, Logger_1.logAuth)(`ADMIN_SENSITIVE: ${action}`, adminUserId, { - ...auditData, - alertLevel: 'HIGH', - requiresReview: true - }, req, res); - } - } - /** - * Log bulk admin operations - * @param action - Bulk action being performed - * @param adminUserId - ID of the admin user - * @param affectedCount - Number of resources affected - * @param targetType - Type of resources affected - * @param req - Request object for context - * @param res - Response object for context - */ - static logBulkAdminAction(action, adminUserId, affectedCount, targetType, req, res) { - this.logAdminAction(`BULK_${action}`, adminUserId, { - targetType: targetType, - targetId: `bulk-${affectedCount}-items`, - operation: 'update', - metadata: { affectedCount }, - sensitive: affectedCount > 10 // Mark large bulk operations as sensitive - }, req, res); - } -} -exports.AdminAuditService = AdminAuditService; -//# sourceMappingURL=AdminBypassService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.js.map b/SerpentRace_Backend/dist/Application/Services/AdminBypassService.js.map deleted file mode 100644 index a39f763e..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AdminBypassService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AdminBypassService.js","sourceRoot":"","sources":["../../../src/Application/Services/AdminBypassService.ts"],"names":[],"mappings":";;;AAAA,mEAA4D;AAC5D,qCAAmC;AAGnC;;GAEG;AACH,MAAa,kBAAkB;IAC3B;;;;OAIG;IACH,MAAM,CAAC,OAAO,CAAC,SAAoB;QAC/B,OAAO,SAAS,KAAK,yBAAS,CAAC,KAAK,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,wBAAwB,CAAC,SAAoB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,cAAc,CACjB,MAAc,EACd,WAAmB,EACnB,QAAgB,EAChB,OAAa,EACb,GAAa,EACb,GAAc;QAEd,IAAA,gBAAO,EAAC,iBAAiB,MAAM,EAAE,EAAE,WAAW,EAAE;YAC5C,QAAQ;YACR,MAAM;YACN,YAAY,EAAE,kBAAkB;YAChC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,GAAG,OAAO;SACb,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IACjB,CAAC;CACJ;AA5CD,gDA4CC;AAED;;GAEG;AACH,MAAa,iBAAiB;IAC1B;;;;;;;OAOG;IACH,MAAM,CAAC,cAAc,CACjB,MAAc,EACd,WAAmB,EACnB,OAOC,EACD,GAAa,EACb,GAAc;QAGd,MAAM,SAAS,GAAG;YACd,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,WAAW;YACX,MAAM;YACN,GAAG,OAAO;YACV,EAAE,EAAE,GAAG,EAAE,EAAE;YACX,SAAS,EAAE,GAAG,EAAE,GAAG,CAAC,YAAY,CAAC;YACjC,QAAQ,EAAE,GAAG,EAAE,IAAI;YACnB,MAAM,EAAE,GAAG,EAAE,MAAM;YACnB,SAAS,EAAE,GAAG,EAAE,OAAO,CAAC,cAAc,CAAC,IAAI,SAAS;SACvD,CAAC;QAEF,qCAAqC;QACrC,IAAA,gBAAO,EAAC,gBAAgB,MAAM,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAEpE,uDAAuD;QACvD,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;YACpB,IAAA,gBAAO,EAAC,oBAAoB,MAAM,EAAE,EAAE,WAAW,EAAE;gBAC/C,GAAG,SAAS;gBACZ,UAAU,EAAE,MAAM;gBAClB,cAAc,EAAE,IAAI;aACvB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QACjB,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,kBAAkB,CACrB,MAAc,EACd,WAAmB,EACnB,aAAqB,EACrB,UAAkB,EAClB,GAAa,EACb,GAAc;QAEd,IAAI,CAAC,cAAc,CAAC,QAAQ,MAAM,EAAE,EAAE,WAAW,EAAE;YAC/C,UAAU,EAAE,UAAiB;YAC7B,QAAQ,EAAE,QAAQ,aAAa,QAAQ;YACvC,SAAS,EAAE,QAAe;YAC1B,QAAQ,EAAE,EAAE,aAAa,EAAE;YAC3B,SAAS,EAAE,aAAa,GAAG,EAAE,CAAC,0CAA0C;SAC3E,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IACjB,CAAC;CACJ;AA1ED,8CA0EC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts b/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts deleted file mode 100644 index f7dce2a8..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Request, Response, NextFunction } from 'express'; -import { JWTService } from './JWTService'; -export declare const jwtService: JWTService; -export declare function authRequired(req: Request, res: Response, next: NextFunction): Response> | undefined; -export declare function adminRequired(req: Request, res: Response, next: NextFunction): Response> | undefined; -//# sourceMappingURL=AuthMiddleware.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts.map b/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts.map deleted file mode 100644 index c2a3f7f0..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AuthMiddleware.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/AuthMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,eAAO,MAAM,UAAU,YAAmB,CAAC;AAE3C,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,kDAuB3E;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,kDAyB5E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.js b/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.js deleted file mode 100644 index 995d747d..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.jwtService = void 0; -exports.authRequired = authRequired; -exports.adminRequired = adminRequired; -const JWTService_1 = require("./JWTService"); -const Logger_1 = require("./Logger"); -exports.jwtService = new JWTService_1.JWTService(); -function authRequired(req, res, next) { - const payload = exports.jwtService.verify(req); - if (!payload) { - (0, Logger_1.logAuth)('Authentication failed - No valid token', undefined, { - ip: req.ip, - userAgent: req.get ? req.get('User-Agent') : 'unknown', - path: req.path - }, req); - return res.status(401).json({ error: 'Unauthorized' }); - } - (0, Logger_1.logAuth)('Authentication successful', payload.userId, { - authLevel: payload.authLevel, - orgId: payload.orgId - }, req); - const refreshed = exports.jwtService.refreshIfNeeded(payload, res); - if (refreshed) { - (0, Logger_1.logAuth)('Token refreshed', payload.userId, undefined, req); - } - req.user = payload; - next(); -} -function adminRequired(req, res, next) { - const payload = exports.jwtService.verify(req); - if (!payload || payload.authLevel !== 1) { - (0, Logger_1.logWarning)('Admin access denied', { - hasPayload: !!payload, - authLevel: payload?.authLevel, - userId: payload?.userId, - ip: req.ip, - path: req.path - }, req); - return res.status(403).json({ error: 'Forbidden' }); - } - (0, Logger_1.logAuth)('Admin authentication successful', payload.userId, { - authLevel: payload.authLevel, - orgId: payload.orgId - }, req); - const refreshed = exports.jwtService.refreshIfNeeded(payload, res); - if (refreshed) { - (0, Logger_1.logAuth)('Admin token refreshed', payload.userId, undefined, req); - } - req.user = payload; - next(); -} -//# sourceMappingURL=AuthMiddleware.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.js.map b/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.js.map deleted file mode 100644 index 4e66cae6..00000000 --- a/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AuthMiddleware.js","sourceRoot":"","sources":["../../../src/Application/Services/AuthMiddleware.ts"],"names":[],"mappings":";;;AAMA,oCAuBC;AAED,sCAyBC;AAvDD,6CAA0C;AAC1C,qCAA+C;AAElC,QAAA,UAAU,GAAG,IAAI,uBAAU,EAAE,CAAC;AAE3C,SAAgB,YAAY,CAAC,GAAY,EAAE,GAAa,EAAE,IAAkB;IACxE,MAAM,OAAO,GAAG,kBAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACvC,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,IAAA,gBAAO,EAAC,wCAAwC,EAAE,SAAS,EAAE;YACzD,EAAE,EAAE,GAAG,CAAC,EAAE;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AM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC;IACxD,CAAC;IAED,IAAA,gBAAO,EAAC,iCAAiC,EAAE,OAAO,CAAC,MAAM,EAAE;QACvD,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,KAAK,EAAE,OAAO,CAAC,KAAK;KACvB,EAAE,GAAG,CAAC,CAAC;IAER,MAAM,SAAS,GAAG,kBAAU,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC3D,IAAI,SAAS,EAAE,CAAC;QACZ,IAAA,gBAAO,EAAC,uBAAuB,EAAE,OAAO,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;IACrE,CAAC;IAEA,GAAW,CAAC,IAAI,GAAG,OAAO,CAAC;IAC5B,IAAI,EAAE,CAAC;AACX,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.d.ts b/SerpentRace_Backend/dist/Application/Services/ContactEmailService.d.ts deleted file mode 100644 index 984a761c..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IContactRepository } from '../../Domain/IRepository/IContactRepository'; -import { ContactType } from '../../Domain/Contact/ContactAggregate'; -export interface EmailResponseData { - to: string; - message: string; - contactId: string; - adminUserId: string; - contactName: string; - contactType: ContactType; - originalMessage: string; - language?: 'en' | 'hu' | 'de'; -} -export declare class ContactEmailService { - private readonly contactRepo; - private emailService; - constructor(contactRepo: IContactRepository); - sendResponse(responseData: EmailResponseData): Promise; - private getLocalizedContactResponseSubject; - private getContactTypeString; - private getContactTypeBadge; -} -//# sourceMappingURL=ContactEmailService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/ContactEmailService.d.ts.map deleted file mode 100644 index ef7ef956..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactEmailService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/ContactEmailService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAIpE,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC/B;AAED,qBAAa,mBAAmB;IAGlB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAFxC,OAAO,CAAC,YAAY,CAAe;gBAEN,WAAW,EAAE,kBAAkB;IAItD,YAAY,CAAC,YAAY,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAkDlE,OAAO,CAAC,kCAAkC;IAW1C,OAAO,CAAC,oBAAoB;IAgC5B,OAAO,CAAC,mBAAmB;CAgB5B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.js b/SerpentRace_Backend/dist/Application/Services/ContactEmailService.js deleted file mode 100644 index cb2d41a3..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.js +++ /dev/null @@ -1,117 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ContactEmailService = void 0; -const EmailService_1 = require("./EmailService"); -const ContactAggregate_1 = require("../../Domain/Contact/ContactAggregate"); -const Logger_1 = require("./Logger"); -const EmailTemplateHelper_1 = require("./EmailTemplateHelper"); -class ContactEmailService { - constructor(contactRepo) { - this.contactRepo = contactRepo; - this.emailService = new EmailService_1.EmailService(); - } - async sendResponse(responseData) { - try { - // First update the contact with the response - await this.contactRepo.update(responseData.contactId, { - adminResponse: responseData.message, - responseDate: new Date(), - respondedBy: responseData.adminUserId, - }); - // Determine language and template - const language = responseData.language || 'en'; - const templateName = language === 'en' ? 'contact-response' : `contact-response-${language}`; - // Prepare template data - const templateData = { - contactName: responseData.contactName, - contactTypeString: this.getContactTypeString(responseData.contactType, language), - contactTypeBadge: this.getContactTypeBadge(responseData.contactType), - originalMessage: responseData.originalMessage, - adminResponse: responseData.message, - companyName: 'SerpentRace', - supportEmail: 'support@serpentrace.com' - }; - // Send email using EmailService with template - const emailSent = await this.emailService.sendEmail({ - to: responseData.to, - subject: this.getLocalizedContactResponseSubject(language), - template: templateName, - templateData - }); - if (emailSent) { - (0, Logger_1.logOther)('Contact response email sent successfully', { - to: responseData.to, - subject: this.getLocalizedContactResponseSubject(language), - contactId: responseData.contactId, - respondedBy: responseData.adminUserId, - language - }); - } - else { - throw new Error('Email service failed to send email'); - } - } - catch (error) { - (0, Logger_1.logError)('Failed to send contact response email', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to send email response'); - } - } - getLocalizedContactResponseSubject(language) { - const subjects = { - contactResponse: { - en: 'SerpentRace - Response to Your Message', - hu: 'SerpentRace - Válasz az üzenetére', - de: 'SerpentRace - Antwort auf Ihre Nachricht' - } - }; - return EmailTemplateHelper_1.EmailTemplateHelper.getLocalizedSubject('contactResponse', subjects, language); - } - getContactTypeString(type, language = 'en') { - const translations = { - [ContactAggregate_1.ContactType.BUG]: { - en: 'Bug Report', - hu: 'Hiba bejelentés', - de: 'Fehlerbericht' - }, - [ContactAggregate_1.ContactType.PROBLEM]: { - en: 'Problem', - hu: 'Probléma', - de: 'Problem' - }, - [ContactAggregate_1.ContactType.QUESTION]: { - en: 'Question', - hu: 'Kérdés', - de: 'Frage' - }, - [ContactAggregate_1.ContactType.SALES]: { - en: 'Sales Inquiry', - hu: 'Értékesítési kérdés', - de: 'Verkaufsanfrage' - }, - [ContactAggregate_1.ContactType.OTHER]: { - en: 'General Inquiry', - hu: 'Általános kérdés', - de: 'Allgemeine Anfrage' - } - }; - return translations[type]?.[language] || translations[type]?.['en'] || 'Contact'; - } - getContactTypeBadge(type) { - switch (type) { - case ContactAggregate_1.ContactType.BUG: - return 'bug'; - case ContactAggregate_1.ContactType.PROBLEM: - return 'problem'; - case ContactAggregate_1.ContactType.QUESTION: - return 'question'; - case ContactAggregate_1.ContactType.SALES: - return 'sales'; - case ContactAggregate_1.ContactType.OTHER: - return 'other'; - default: - return 'other'; - } - } -} -exports.ContactEmailService = ContactEmailService; -//# sourceMappingURL=ContactEmailService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.js.map b/SerpentRace_Backend/dist/Application/Services/ContactEmailService.js.map deleted file mode 100644 index 49003197..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ContactEmailService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactEmailService.js","sourceRoot":"","sources":["../../../src/Application/Services/ContactEmailService.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,4EAAoE;AACpE,qCAA8C;AAC9C,+DAA+E;AAa/E,MAAa,mBAAmB;IAG9B,YAA6B,WAA+B;QAA/B,gBAAW,GAAX,WAAW,CAAoB;QAC1D,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAY,EAAE,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,YAA+B;QAChD,IAAI,CAAC;YACH,6CAA6C;YAC7C,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE;gBACpD,aAAa,EAAE,YAAY,CAAC,OAAO;gBACnC,YAAY,EAAE,IAAI,IAAI,EAAE;gBACxB,WAAW,EAAE,YAAY,CAAC,WAAW;aACtC,CAAC,CAAC;YAEH,kCAAkC;YAClC,MAAM,QAAQ,GAAG,YAAY,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,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;IACnF,CAAC;IAEO,mBAAmB,CAAC,IAAiB;QAC3C,QAAQ,IAAI,EAAE,CAAC;YACb,KAAK,8BAAW,CAAC,GAAG;gBAClB,OAAO,KAAK,CAAC;YACf,KAAK,8BAAW,CAAC,OAAO;gBACtB,OAAO,SAAS,CAAC;YACnB,KAAK,8BAAW,CAAC,QAAQ;gBACvB,OAAO,UAAU,CAAC;YACpB,KAAK,8BAAW,CAAC,KAAK;gBACpB,OAAO,OAAO,CAAC;YACjB,KAAK,8BAAW,CAAC,KAAK;gBACpB,OAAO,OAAO,CAAC;YACjB;gBACE,OAAO,OAAO,CAAC;QACnB,CAAC;IACH,CAAC;CACF;AApHD,kDAoHC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DIContainer.d.ts b/SerpentRace_Backend/dist/Application/Services/DIContainer.d.ts deleted file mode 100644 index 1e3a1aef..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DIContainer.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { IUserRepository } from '../../Domain/IRepository/IUserRepository'; -import { IChatRepository } from '../../Domain/IRepository/IChatRepository'; -import { IChatArchiveRepository } from '../../Domain/IRepository/IChatArchiveRepository'; -import { IDeckRepository } from '../../Domain/IRepository/IDeckRepository'; -import { IOrganizationRepository } from '../../Domain/IRepository/IOrganizationRepository'; -import { IContactRepository } from '../../Domain/IRepository/IContactRepository'; -import { CreateUserCommandHandler } from '../User/commands/CreateUserCommandHandler'; -import { LoginCommandHandler } from '../User/commands/LoginCommandHandler'; -import { UpdateUserCommandHandler } from '../User/commands/UpdateUserCommandHandler'; -import { DeactivateUserCommandHandler } from '../User/commands/DeactivateUserCommandHandler'; -import { DeleteUserCommandHandler } from '../User/commands/DeleteUserCommandHandler'; -import { VerifyEmailCommandHandler } from '../User/commands/VerifyEmailCommandHandler'; -import { RequestPasswordResetCommandHandler } from '../User/commands/RequestPasswordResetCommandHandler'; -import { ResetPasswordCommandHandler } from '../User/commands/ResetPasswordCommandHandler'; -import { CreateChatCommandHandler } from '../Chat/commands/CreateChatCommandHandler'; -import { SendMessageCommandHandler } from '../Chat/commands/SendMessageCommandHandler'; -import { ArchiveChatCommandHandler, RestoreChatCommandHandler } from '../Chat/commands/ChatArchiveCommandHandlers'; -import { CreateDeckCommandHandler } from '../Deck/commands/CreateDeckCommandHandler'; -import { UpdateDeckCommandHandler } from '../Deck/commands/UpdateDeckCommandHandler'; -import { DeleteDeckCommandHandler } from '../Deck/commands/DeleteDeckCommandHandler'; -import { CreateOrganizationCommandHandler } from '../Organization/commands/CreateOrganizationCommandHandler'; -import { UpdateOrganizationCommandHandler } from '../Organization/commands/UpdateOrganizationCommandHandler'; -import { DeleteOrganizationCommandHandler } from '../Organization/commands/DeleteOrganizationCommandHandler'; -import { ProcessOrgAuthCallbackCommandHandler } from '../Organization/commands/ProcessOrgAuthCallbackCommandHandler'; -import { CreateContactCommandHandler } from '../Contact/commands/CreateContactCommandHandler'; -import { UpdateContactCommandHandler } from '../Contact/commands/UpdateContactCommandHandler'; -import { DeleteContactCommandHandler } from '../Contact/commands/DeleteContactCommandHandler'; -import { GetUserByIdQueryHandler } from '../User/queries/GetUserByIdQueryHandler'; -import { GetUsersByPageQueryHandler } from '../User/queries/GetUsersByPageQueryHandler'; -import { GetUserChatsQueryHandler } from '../Chat/queries/GetUserChatsQueryHandler'; -import { GetChatHistoryQueryHandler, GetArchivedChatsQueryHandler } from '../Chat/queries/ChatHistoryQueryHandlers'; -import { GetChatsByPageQueryHandler } from '../Chat/queries/GetChatsByPageQueryHandler'; -import { GetDeckByIdQueryHandler } from '../Deck/queries/GetDeckByIdQueryHandler'; -import { GetDecksByPageQueryHandler } from '../Deck/queries/GetDecksByPageQueryHandler'; -import { GetOrganizationByIdQueryHandler } from '../Organization/queries/GetOrganizationByIdQueryHandler'; -import { GetOrganizationsByPageQueryHandler } from '../Organization/queries/GetOrganizationsByPageQueryHandler'; -import { GetOrganizationLoginUrlQueryHandler } from '../Organization/queries/GetOrganizationLoginUrlQueryHandler'; -import { GetContactByIdQueryHandler } from '../Contact/queries/GetContactByIdQueryHandler'; -import { GetContactsByPageQueryHandler } from '../Contact/queries/GetContactsByPageQueryHandler'; -import { JWTService } from './JWTService'; -import { ContactEmailService } from './ContactEmailService'; -import { DeckImportExportService } from './DeckImportExportService'; -/** - * Central Dependency Injection Container - * Manages all repositories, command handlers, and query handlers as singletons - */ -export declare class DIContainer { - private static instance; - private _userRepository; - private _chatRepository; - private _chatArchiveRepository; - private _deckRepository; - private _organizationRepository; - private _contactRepository; - private _jwtService; - private _contactEmailService; - private _deckImportExportService; - private _createUserCommandHandler; - private _loginCommandHandler; - private _updateUserCommandHandler; - private _deactivateUserCommandHandler; - private _deleteUserCommandHandler; - private _verifyEmailCommandHandler; - private _requestPasswordResetCommandHandler; - private _resetPasswordCommandHandler; - private _createChatCommandHandler; - private _sendMessageCommandHandler; - private _archiveChatCommandHandler; - private _restoreChatCommandHandler; - private _createDeckCommandHandler; - private _updateDeckCommandHandler; - private _deleteDeckCommandHandler; - private _createOrganizationCommandHandler; - private _updateOrganizationCommandHandler; - private _deleteOrganizationCommandHandler; - private _processOrgAuthCallbackCommandHandler; - private _createContactCommandHandler; - private _updateContactCommandHandler; - private _deleteContactCommandHandler; - private _getUserByIdQueryHandler; - private _getUsersByPageQueryHandler; - private _getUserChatsQueryHandler; - private _getChatHistoryQueryHandler; - private _getArchivedChatsQueryHandler; - private _getChatsByPageQueryHandler; - private _getDeckByIdQueryHandler; - private _getDecksByPageQueryHandler; - private _getOrganizationByIdQueryHandler; - private _getOrganizationsByPageQueryHandler; - private _getOrganizationLoginUrlQueryHandler; - private _getContactByIdQueryHandler; - private _getContactsByPageQueryHandler; - private constructor(); - static getInstance(): DIContainer; - get userRepository(): IUserRepository; - get chatRepository(): IChatRepository; - get chatArchiveRepository(): IChatArchiveRepository; - get deckRepository(): IDeckRepository; - get organizationRepository(): IOrganizationRepository; - get contactRepository(): IContactRepository; - get jwtService(): JWTService; - get contactEmailService(): ContactEmailService; - get deckImportExportService(): DeckImportExportService; - get createUserCommandHandler(): CreateUserCommandHandler; - get loginCommandHandler(): LoginCommandHandler; - get updateUserCommandHandler(): UpdateUserCommandHandler; - get deactivateUserCommandHandler(): DeactivateUserCommandHandler; - get deleteUserCommandHandler(): DeleteUserCommandHandler; - get verifyEmailCommandHandler(): VerifyEmailCommandHandler; - get requestPasswordResetCommandHandler(): RequestPasswordResetCommandHandler; - get resetPasswordCommandHandler(): ResetPasswordCommandHandler; - get createChatCommandHandler(): CreateChatCommandHandler; - get sendMessageCommandHandler(): SendMessageCommandHandler; - get archiveChatCommandHandler(): ArchiveChatCommandHandler; - get restoreChatCommandHandler(): RestoreChatCommandHandler; - get createDeckCommandHandler(): CreateDeckCommandHandler; - get updateDeckCommandHandler(): UpdateDeckCommandHandler; - get deleteDeckCommandHandler(): DeleteDeckCommandHandler; - get createOrganizationCommandHandler(): CreateOrganizationCommandHandler; - get updateOrganizationCommandHandler(): UpdateOrganizationCommandHandler; - get deleteOrganizationCommandHandler(): DeleteOrganizationCommandHandler; - get processOrgAuthCallbackCommandHandler(): ProcessOrgAuthCallbackCommandHandler; - get createContactCommandHandler(): CreateContactCommandHandler; - get updateContactCommandHandler(): UpdateContactCommandHandler; - get deleteContactCommandHandler(): DeleteContactCommandHandler; - get getUserByIdQueryHandler(): GetUserByIdQueryHandler; - get getUserChatsQueryHandler(): GetUserChatsQueryHandler; - get getChatHistoryQueryHandler(): GetChatHistoryQueryHandler; - get getArchivedChatsQueryHandler(): GetArchivedChatsQueryHandler; - get getDeckByIdQueryHandler(): GetDeckByIdQueryHandler; - get getOrganizationByIdQueryHandler(): GetOrganizationByIdQueryHandler; - get getOrganizationLoginUrlQueryHandler(): GetOrganizationLoginUrlQueryHandler; - get getContactByIdQueryHandler(): GetContactByIdQueryHandler; - get getContactsByPageQueryHandler(): GetContactsByPageQueryHandler; - get getUsersByPageQueryHandler(): GetUsersByPageQueryHandler; - get getDecksByPageQueryHandler(): GetDecksByPageQueryHandler; - get getOrganizationsByPageQueryHandler(): GetOrganizationsByPageQueryHandler; - get getChatsByPageQueryHandler(): GetChatsByPageQueryHandler; -} -export declare const container: DIContainer; -//# sourceMappingURL=DIContainer.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DIContainer.d.ts.map b/SerpentRace_Backend/dist/Application/Services/DIContainer.d.ts.map deleted file mode 100644 index 58fbc1bd..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DIContainer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DIContainer.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/DIContainer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAWjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,w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AM,SAAS,aAA4B,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DIContainer.js b/SerpentRace_Backend/dist/Application/Services/DIContainer.js deleted file mode 100644 index 2d838bf4..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DIContainer.js +++ /dev/null @@ -1,384 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.container = exports.DIContainer = void 0; -// Repository Implementations -const UserRepository_1 = require("../../Infrastructure/Repository/UserRepository"); -const ChatRepository_1 = require("../../Infrastructure/Repository/ChatRepository"); -const ChatArchiveRepository_1 = require("../../Infrastructure/Repository/ChatArchiveRepository"); -const DeckRepository_1 = require("../../Infrastructure/Repository/DeckRepository"); -const OrganizationRepository_1 = require("../../Infrastructure/Repository/OrganizationRepository"); -const ContactRepository_1 = require("../../Infrastructure/Repository/ContactRepository"); -// Command Handlers -const CreateUserCommandHandler_1 = require("../User/commands/CreateUserCommandHandler"); -const LoginCommandHandler_1 = require("../User/commands/LoginCommandHandler"); -const UpdateUserCommandHandler_1 = require("../User/commands/UpdateUserCommandHandler"); -const DeactivateUserCommandHandler_1 = require("../User/commands/DeactivateUserCommandHandler"); -const DeleteUserCommandHandler_1 = require("../User/commands/DeleteUserCommandHandler"); -const VerifyEmailCommandHandler_1 = require("../User/commands/VerifyEmailCommandHandler"); -const RequestPasswordResetCommandHandler_1 = require("../User/commands/RequestPasswordResetCommandHandler"); -const ResetPasswordCommandHandler_1 = require("../User/commands/ResetPasswordCommandHandler"); -const CreateChatCommandHandler_1 = require("../Chat/commands/CreateChatCommandHandler"); -const SendMessageCommandHandler_1 = require("../Chat/commands/SendMessageCommandHandler"); -const ChatArchiveCommandHandlers_1 = require("../Chat/commands/ChatArchiveCommandHandlers"); -const CreateDeckCommandHandler_1 = require("../Deck/commands/CreateDeckCommandHandler"); -const UpdateDeckCommandHandler_1 = require("../Deck/commands/UpdateDeckCommandHandler"); -const DeleteDeckCommandHandler_1 = require("../Deck/commands/DeleteDeckCommandHandler"); -const CreateOrganizationCommandHandler_1 = require("../Organization/commands/CreateOrganizationCommandHandler"); -const UpdateOrganizationCommandHandler_1 = require("../Organization/commands/UpdateOrganizationCommandHandler"); -const DeleteOrganizationCommandHandler_1 = require("../Organization/commands/DeleteOrganizationCommandHandler"); -const ProcessOrgAuthCallbackCommandHandler_1 = require("../Organization/commands/ProcessOrgAuthCallbackCommandHandler"); -const CreateContactCommandHandler_1 = require("../Contact/commands/CreateContactCommandHandler"); -const UpdateContactCommandHandler_1 = require("../Contact/commands/UpdateContactCommandHandler"); -const DeleteContactCommandHandler_1 = require("../Contact/commands/DeleteContactCommandHandler"); -// Query Handlers -const GetUserByIdQueryHandler_1 = require("../User/queries/GetUserByIdQueryHandler"); -const GetUsersByPageQueryHandler_1 = require("../User/queries/GetUsersByPageQueryHandler"); -const GetUserChatsQueryHandler_1 = require("../Chat/queries/GetUserChatsQueryHandler"); -const ChatHistoryQueryHandlers_1 = require("../Chat/queries/ChatHistoryQueryHandlers"); -const GetChatsByPageQueryHandler_1 = require("../Chat/queries/GetChatsByPageQueryHandler"); -const GetDeckByIdQueryHandler_1 = require("../Deck/queries/GetDeckByIdQueryHandler"); -const GetDecksByPageQueryHandler_1 = require("../Deck/queries/GetDecksByPageQueryHandler"); -const GetOrganizationByIdQueryHandler_1 = require("../Organization/queries/GetOrganizationByIdQueryHandler"); -const GetOrganizationsByPageQueryHandler_1 = require("../Organization/queries/GetOrganizationsByPageQueryHandler"); -const GetOrganizationLoginUrlQueryHandler_1 = require("../Organization/queries/GetOrganizationLoginUrlQueryHandler"); -const GetContactByIdQueryHandler_1 = require("../Contact/queries/GetContactByIdQueryHandler"); -const GetContactsByPageQueryHandler_1 = require("../Contact/queries/GetContactsByPageQueryHandler"); -// Services -const JWTService_1 = require("./JWTService"); -const ContactEmailService_1 = require("./ContactEmailService"); -const DeckImportExportService_1 = require("./DeckImportExportService"); -/** - * Central Dependency Injection Container - * Manages all repositories, command handlers, and query handlers as singletons - */ -class DIContainer { - constructor() { - // Repositories - Using interfaces for better abstraction - this._userRepository = null; - this._chatRepository = null; - this._chatArchiveRepository = null; - this._deckRepository = null; - this._organizationRepository = null; - this._contactRepository = null; - // Services - this._jwtService = null; - this._contactEmailService = null; - this._deckImportExportService = null; - // Command Handlers - this._createUserCommandHandler = null; - this._loginCommandHandler = null; - this._updateUserCommandHandler = null; - this._deactivateUserCommandHandler = null; - this._deleteUserCommandHandler = null; - this._verifyEmailCommandHandler = null; - this._requestPasswordResetCommandHandler = null; - this._resetPasswordCommandHandler = null; - this._createChatCommandHandler = null; - this._sendMessageCommandHandler = null; - this._archiveChatCommandHandler = null; - this._restoreChatCommandHandler = null; - this._createDeckCommandHandler = null; - this._updateDeckCommandHandler = null; - this._deleteDeckCommandHandler = null; - this._createOrganizationCommandHandler = null; - this._updateOrganizationCommandHandler = null; - this._deleteOrganizationCommandHandler = null; - this._processOrgAuthCallbackCommandHandler = null; - this._createContactCommandHandler = null; - this._updateContactCommandHandler = null; - this._deleteContactCommandHandler = null; - // Query Handlers - this._getUserByIdQueryHandler = null; - this._getUsersByPageQueryHandler = null; - this._getUserChatsQueryHandler = null; - this._getChatHistoryQueryHandler = null; - this._getArchivedChatsQueryHandler = null; - this._getChatsByPageQueryHandler = null; - this._getDeckByIdQueryHandler = null; - this._getDecksByPageQueryHandler = null; - this._getOrganizationByIdQueryHandler = null; - this._getOrganizationsByPageQueryHandler = null; - this._getOrganizationLoginUrlQueryHandler = null; - this._getContactByIdQueryHandler = null; - this._getContactsByPageQueryHandler = null; - } - static getInstance() { - if (!DIContainer.instance) { - DIContainer.instance = new DIContainer(); - } - return DIContainer.instance; - } - // Repository getters - Return interfaces for better abstraction - get userRepository() { - if (!this._userRepository) { - this._userRepository = new UserRepository_1.UserRepository(); - } - return this._userRepository; - } - get chatRepository() { - if (!this._chatRepository) { - this._chatRepository = new ChatRepository_1.ChatRepository(); - } - return this._chatRepository; - } - get chatArchiveRepository() { - if (!this._chatArchiveRepository) { - this._chatArchiveRepository = new ChatArchiveRepository_1.ChatArchiveRepository(); - } - return this._chatArchiveRepository; - } - get deckRepository() { - if (!this._deckRepository) { - this._deckRepository = new DeckRepository_1.DeckRepository(); - } - return this._deckRepository; - } - get organizationRepository() { - if (!this._organizationRepository) { - this._organizationRepository = new OrganizationRepository_1.OrganizationRepository(); - } - return this._organizationRepository; - } - get contactRepository() { - if (!this._contactRepository) { - this._contactRepository = new ContactRepository_1.ContactRepository(); - } - return this._contactRepository; - } - // Services getters - get jwtService() { - if (!this._jwtService) { - this._jwtService = new JWTService_1.JWTService(); - } - return this._jwtService; - } - get contactEmailService() { - if (!this._contactEmailService) { - this._contactEmailService = new ContactEmailService_1.ContactEmailService(this.contactRepository); - } - return this._contactEmailService; - } - get deckImportExportService() { - if (!this._deckImportExportService) { - this._deckImportExportService = new DeckImportExportService_1.DeckImportExportService(this.deckRepository); - } - return this._deckImportExportService; - } - // Command Handler getters - get createUserCommandHandler() { - if (!this._createUserCommandHandler) { - this._createUserCommandHandler = new CreateUserCommandHandler_1.CreateUserCommandHandler(this.userRepository); - } - return this._createUserCommandHandler; - } - get loginCommandHandler() { - if (!this._loginCommandHandler) { - this._loginCommandHandler = new LoginCommandHandler_1.LoginCommandHandler(this.userRepository, this.jwtService, this.organizationRepository); - } - return this._loginCommandHandler; - } - get updateUserCommandHandler() { - if (!this._updateUserCommandHandler) { - this._updateUserCommandHandler = new UpdateUserCommandHandler_1.UpdateUserCommandHandler(this.userRepository); - } - return this._updateUserCommandHandler; - } - get deactivateUserCommandHandler() { - if (!this._deactivateUserCommandHandler) { - this._deactivateUserCommandHandler = new DeactivateUserCommandHandler_1.DeactivateUserCommandHandler(this.userRepository); - } - return this._deactivateUserCommandHandler; - } - get deleteUserCommandHandler() { - if (!this._deleteUserCommandHandler) { - this._deleteUserCommandHandler = new DeleteUserCommandHandler_1.DeleteUserCommandHandler(this.userRepository); - } - return this._deleteUserCommandHandler; - } - get verifyEmailCommandHandler() { - if (!this._verifyEmailCommandHandler) { - this._verifyEmailCommandHandler = new VerifyEmailCommandHandler_1.VerifyEmailCommandHandler(this.userRepository); - } - return this._verifyEmailCommandHandler; - } - get requestPasswordResetCommandHandler() { - if (!this._requestPasswordResetCommandHandler) { - this._requestPasswordResetCommandHandler = new RequestPasswordResetCommandHandler_1.RequestPasswordResetCommandHandler(this.userRepository); - } - return this._requestPasswordResetCommandHandler; - } - get resetPasswordCommandHandler() { - if (!this._resetPasswordCommandHandler) { - this._resetPasswordCommandHandler = new ResetPasswordCommandHandler_1.ResetPasswordCommandHandler(this.userRepository); - } - return this._resetPasswordCommandHandler; - } - get createChatCommandHandler() { - if (!this._createChatCommandHandler) { - this._createChatCommandHandler = new CreateChatCommandHandler_1.CreateChatCommandHandler(this.chatRepository, this.userRepository); - } - return this._createChatCommandHandler; - } - get sendMessageCommandHandler() { - if (!this._sendMessageCommandHandler) { - this._sendMessageCommandHandler = new SendMessageCommandHandler_1.SendMessageCommandHandler(this.chatRepository); - } - return this._sendMessageCommandHandler; - } - get archiveChatCommandHandler() { - if (!this._archiveChatCommandHandler) { - this._archiveChatCommandHandler = new ChatArchiveCommandHandlers_1.ArchiveChatCommandHandler(this.chatRepository); - } - return this._archiveChatCommandHandler; - } - get restoreChatCommandHandler() { - if (!this._restoreChatCommandHandler) { - this._restoreChatCommandHandler = new ChatArchiveCommandHandlers_1.RestoreChatCommandHandler(this.chatRepository); - } - return this._restoreChatCommandHandler; - } - get createDeckCommandHandler() { - if (!this._createDeckCommandHandler) { - this._createDeckCommandHandler = new CreateDeckCommandHandler_1.CreateDeckCommandHandler(this.deckRepository, this.userRepository, this.organizationRepository); - } - return this._createDeckCommandHandler; - } - get updateDeckCommandHandler() { - if (!this._updateDeckCommandHandler) { - this._updateDeckCommandHandler = new UpdateDeckCommandHandler_1.UpdateDeckCommandHandler(this.deckRepository); - } - return this._updateDeckCommandHandler; - } - get deleteDeckCommandHandler() { - if (!this._deleteDeckCommandHandler) { - this._deleteDeckCommandHandler = new DeleteDeckCommandHandler_1.DeleteDeckCommandHandler(this.deckRepository); - } - return this._deleteDeckCommandHandler; - } - get createOrganizationCommandHandler() { - if (!this._createOrganizationCommandHandler) { - this._createOrganizationCommandHandler = new CreateOrganizationCommandHandler_1.CreateOrganizationCommandHandler(this.organizationRepository); - } - return this._createOrganizationCommandHandler; - } - get updateOrganizationCommandHandler() { - if (!this._updateOrganizationCommandHandler) { - this._updateOrganizationCommandHandler = new UpdateOrganizationCommandHandler_1.UpdateOrganizationCommandHandler(this.organizationRepository); - } - return this._updateOrganizationCommandHandler; - } - get deleteOrganizationCommandHandler() { - if (!this._deleteOrganizationCommandHandler) { - this._deleteOrganizationCommandHandler = new DeleteOrganizationCommandHandler_1.DeleteOrganizationCommandHandler(this.organizationRepository); - } - return this._deleteOrganizationCommandHandler; - } - get processOrgAuthCallbackCommandHandler() { - if (!this._processOrgAuthCallbackCommandHandler) { - this._processOrgAuthCallbackCommandHandler = new ProcessOrgAuthCallbackCommandHandler_1.ProcessOrgAuthCallbackCommandHandler(this.userRepository, this.organizationRepository); - } - return this._processOrgAuthCallbackCommandHandler; - } - get createContactCommandHandler() { - if (!this._createContactCommandHandler) { - this._createContactCommandHandler = new CreateContactCommandHandler_1.CreateContactCommandHandler(this.contactRepository); - } - return this._createContactCommandHandler; - } - get updateContactCommandHandler() { - if (!this._updateContactCommandHandler) { - this._updateContactCommandHandler = new UpdateContactCommandHandler_1.UpdateContactCommandHandler(this.contactRepository); - } - return this._updateContactCommandHandler; - } - get deleteContactCommandHandler() { - if (!this._deleteContactCommandHandler) { - this._deleteContactCommandHandler = new DeleteContactCommandHandler_1.DeleteContactCommandHandler(this.contactRepository); - } - return this._deleteContactCommandHandler; - } - // Query Handler getters - get getUserByIdQueryHandler() { - if (!this._getUserByIdQueryHandler) { - this._getUserByIdQueryHandler = new GetUserByIdQueryHandler_1.GetUserByIdQueryHandler(this.userRepository); - } - return this._getUserByIdQueryHandler; - } - get getUserChatsQueryHandler() { - if (!this._getUserChatsQueryHandler) { - this._getUserChatsQueryHandler = new GetUserChatsQueryHandler_1.GetUserChatsQueryHandler(this.chatRepository, this.chatArchiveRepository); - } - return this._getUserChatsQueryHandler; - } - get getChatHistoryQueryHandler() { - if (!this._getChatHistoryQueryHandler) { - this._getChatHistoryQueryHandler = new ChatHistoryQueryHandlers_1.GetChatHistoryQueryHandler(this.chatRepository, this.chatArchiveRepository); - } - return this._getChatHistoryQueryHandler; - } - get getArchivedChatsQueryHandler() { - if (!this._getArchivedChatsQueryHandler) { - this._getArchivedChatsQueryHandler = new ChatHistoryQueryHandlers_1.GetArchivedChatsQueryHandler(this.chatArchiveRepository); - } - return this._getArchivedChatsQueryHandler; - } - get getDeckByIdQueryHandler() { - if (!this._getDeckByIdQueryHandler) { - this._getDeckByIdQueryHandler = new GetDeckByIdQueryHandler_1.GetDeckByIdQueryHandler(this.deckRepository); - } - return this._getDeckByIdQueryHandler; - } - get getOrganizationByIdQueryHandler() { - if (!this._getOrganizationByIdQueryHandler) { - this._getOrganizationByIdQueryHandler = new GetOrganizationByIdQueryHandler_1.GetOrganizationByIdQueryHandler(this.organizationRepository); - } - return this._getOrganizationByIdQueryHandler; - } - get getOrganizationLoginUrlQueryHandler() { - if (!this._getOrganizationLoginUrlQueryHandler) { - this._getOrganizationLoginUrlQueryHandler = new GetOrganizationLoginUrlQueryHandler_1.GetOrganizationLoginUrlQueryHandler(this.organizationRepository); - } - return this._getOrganizationLoginUrlQueryHandler; - } - get getContactByIdQueryHandler() { - if (!this._getContactByIdQueryHandler) { - this._getContactByIdQueryHandler = new GetContactByIdQueryHandler_1.GetContactByIdQueryHandler(this.contactRepository); - } - return this._getContactByIdQueryHandler; - } - get getContactsByPageQueryHandler() { - if (!this._getContactsByPageQueryHandler) { - this._getContactsByPageQueryHandler = new GetContactsByPageQueryHandler_1.GetContactsByPageQueryHandler(this.contactRepository); - } - return this._getContactsByPageQueryHandler; - } - // New paginated query handlers - get getUsersByPageQueryHandler() { - if (!this._getUsersByPageQueryHandler) { - this._getUsersByPageQueryHandler = new GetUsersByPageQueryHandler_1.GetUsersByPageQueryHandler(this.userRepository); - } - return this._getUsersByPageQueryHandler; - } - get getDecksByPageQueryHandler() { - if (!this._getDecksByPageQueryHandler) { - this._getDecksByPageQueryHandler = new GetDecksByPageQueryHandler_1.GetDecksByPageQueryHandler(this.deckRepository); - } - return this._getDecksByPageQueryHandler; - } - get getOrganizationsByPageQueryHandler() { - if (!this._getOrganizationsByPageQueryHandler) { - this._getOrganizationsByPageQueryHandler = new GetOrganizationsByPageQueryHandler_1.GetOrganizationsByPageQueryHandler(this.organizationRepository); - } - return this._getOrganizationsByPageQueryHandler; - } - get getChatsByPageQueryHandler() { - if (!this._getChatsByPageQueryHandler) { - this._getChatsByPageQueryHandler = new GetChatsByPageQueryHandler_1.GetChatsByPageQueryHandler(this.chatRepository); - } - return this._getChatsByPageQueryHandler; - } -} -exports.DIContainer = DIContainer; -// Export singleton instance -exports.container = DIContainer.getInstance(); -//# sourceMappingURL=DIContainer.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DIContainer.js.map b/SerpentRace_Backend/dist/Application/Services/DIContainer.js.map deleted file mode 100644 index 1eb30976..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DIContainer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DIContainer.js","sourceRoot":"","sources":["../../../src/Application/Services/DIContainer.ts"],"names":[],"mappings":";;;AAQA,6BAA6B;AAC7B,mFAAgF;AAChF,mFAAgF;AAChF,iGAA8F;AAC9F,mFAAgF;AAChF,mGAAgG;AAChG,yFAAsF;AAEtF,mBAAmB;AACnB,wFAAqF;AACrF,8EAA2E;AAC3E,wFAAqF;AACrF,gGAA6F;AAC7F,wFAAqF;AACrF,0FAAuF;AACvF,4GAAyG;AACzG,8FAA2F;AAC3F,wFAAqF;AACrF,0FAAuF;AACvF,4FAAmH;AACnH,wFAAqF;AACrF,wFAAqF;AACrF,wFAAqF;AACrF,gHAA6G;AAC7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BAA0B;QACjC,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,CAAC;YACpC,IAAI,CAAC,2BAA2B,GAAG,IAAI,uDAA0B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC3F,CAAC;QACD,OAAO,IAAI,CAAC,2BAA2B,CAAC;IAC5C,CAAC;IAED,IAAW,kCAAkC;QACzC,IAAI,CAAC,IAAI,CAAC,mCAAmC,EAAE,CAAC;YAC5C,IAAI,CAAC,mCAAmC,GAAG,IAAI,uEAAkC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACnH,CAAC;QACD,OAAO,IAAI,CAAC,mCAAmC,CAAC;IACpD,CAAC;IAED,IAAW,0BAA0B;QACjC,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,CAAC;YACpC,IAAI,CAAC,2BAA2B,GAAG,IAAI,uDAA0B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC3F,CAAC;QACD,OAAO,IAAI,CAAC,2BAA2B,CAAC;IAC5C,CAAC;CACJ;AA5XD,kCA4XC;AAED,4BAA4B;AACf,QAAA,SAAS,GAAG,WAAW,CAAC,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.d.ts b/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.d.ts deleted file mode 100644 index 4f27a234..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { DeckAggregate } from '../../Domain/Deck/DeckAggregate'; -import { IDeckRepository } from '../../Domain/IRepository/IDeckRepository'; -export interface SprDeckData { - name: string; - type: number; - cards: any[]; - ctype: number; - exportDate: string; - version: string; -} -export interface ImportDeckCommand { - name: string; - type: number; - cards: any[]; - ctype?: number; - userid: string; -} -export declare class DeckImportExportService { - private readonly deckRepo; - private readonly encryptionKey; - private readonly algorithm; - constructor(deckRepo: IDeckRepository); - exportDeckToSpr(deckId: string, userId: string): Promise; - importDeckFromSpr(sprData: Buffer, userId: string): Promise; - importDeckFromJson(jsonData: any, userId: string): Promise; - adminImportFromJson(jsonData: any, targetUserId: string, adminUserId: string): Promise; - private encrypt; - private decrypt; - generateFilename(deckName: string): string; -} -//# sourceMappingURL=DeckImportExportService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.d.ts.map deleted file mode 100644 index 9265a7ed..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckImportExportService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/DeckImportExportService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAgB,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAG3E,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,uBAAuB;IAIpB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAHrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;gBAEd,QAAQ,EAAE,eAAe;IAQhD,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAqChE,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAmC1E,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAgCzE,mBAAmB,CAAC,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IA8B3G,OAAO,CAAC,OAAO;IAaf,OAAO,CAAC,OAAO;IAmBf,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;CAM7C"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.js b/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.js deleted file mode 100644 index 2703a50f..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.js +++ /dev/null @@ -1,195 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeckImportExportService = void 0; -const crypto = __importStar(require("crypto")); -const DeckAggregate_1 = require("../../Domain/Deck/DeckAggregate"); -const Logger_1 = require("./Logger"); -class DeckImportExportService { - constructor(deckRepo) { - this.deckRepo = deckRepo; - this.algorithm = 'aes-256-gcm'; - this.encryptionKey = process.env.DECK_ENCRYPTION_KEY || 'your-32-byte-encryption-key-here!!'; - if (this.encryptionKey.length !== 32) { - throw new Error('DECK_ENCRYPTION_KEY must be exactly 32 characters long'); - } - } - async exportDeckToSpr(deckId, userId) { - try { - const deck = await this.deckRepo.findByIdIncludingDeleted(deckId); - if (!deck) { - throw new Error('Deck not found'); - } - if (deck.userid !== userId) { - throw new Error('Unauthorized: You can only export your own decks'); - } - const deckData = { - name: deck.name, - type: deck.type, - cards: deck.cards, - ctype: deck.ctype, - exportDate: new Date().toISOString(), - version: '1.0' - }; - const jsonString = JSON.stringify(deckData); - const encrypted = this.encrypt(jsonString); - (0, Logger_1.logAuth)('Deck exported to SPR format', userId, { - deckId: deck.id, - deckName: deck.name, - cardCount: deck.cards.length - }); - return encrypted; - } - catch (error) { - (0, Logger_1.logError)('Failed to export deck to SPR', error); - throw error; - } - } - async importDeckFromSpr(sprData, userId) { - try { - const decrypted = this.decrypt(sprData); - const deckData = JSON.parse(decrypted); - // Validate required fields - if (!deckData.name || !deckData.cards || deckData.type === undefined) { - throw new Error('Invalid SPR file format: missing required fields'); - } - // Create new deck - const newDeck = new DeckAggregate_1.DeckAggregate(); - newDeck.name = deckData.name; - newDeck.type = deckData.type; - newDeck.userid = userId; - newDeck.cards = deckData.cards; - newDeck.ctype = deckData.ctype || DeckAggregate_1.CType.PUBLIC; - newDeck.state = DeckAggregate_1.State.ACTIVE; - const createdDeck = await this.deckRepo.create(newDeck); - (0, Logger_1.logAuth)('Deck imported from SPR format', userId, { - deckId: createdDeck.id, - deckName: createdDeck.name, - cardCount: createdDeck.cards.length, - originalExportDate: deckData.exportDate - }); - return createdDeck; - } - catch (error) { - (0, Logger_1.logError)('Failed to import deck from SPR', error); - throw error; - } - } - async importDeckFromJson(jsonData, userId) { - try { - // Validate required fields - if (!jsonData.name || !jsonData.cards || jsonData.type === undefined) { - throw new Error('Invalid JSON format: missing required fields (name, cards, type)'); - } - // Create new deck - const newDeck = new DeckAggregate_1.DeckAggregate(); - newDeck.name = jsonData.name; - newDeck.type = jsonData.type; - newDeck.userid = userId; - newDeck.cards = jsonData.cards; - newDeck.ctype = jsonData.ctype || DeckAggregate_1.CType.PUBLIC; - newDeck.state = DeckAggregate_1.State.ACTIVE; - const createdDeck = await this.deckRepo.create(newDeck); - (0, Logger_1.logAuth)('Deck imported from JSON format', userId, { - deckId: createdDeck.id, - deckName: createdDeck.name, - cardCount: createdDeck.cards.length - }); - return createdDeck; - } - catch (error) { - (0, Logger_1.logError)('Failed to import deck from JSON', error); - throw error; - } - } - // Admin-only function to import JSON without encryption - async adminImportFromJson(jsonData, targetUserId, adminUserId) { - try { - if (!jsonData.name || !jsonData.cards || jsonData.type === undefined) { - throw new Error('Invalid JSON format: missing required fields (name, cards, type)'); - } - const newDeck = new DeckAggregate_1.DeckAggregate(); - newDeck.name = jsonData.name; - newDeck.type = jsonData.type; - newDeck.userid = targetUserId; - newDeck.cards = jsonData.cards; - newDeck.ctype = jsonData.ctype || DeckAggregate_1.CType.PUBLIC; - newDeck.state = jsonData.state || DeckAggregate_1.State.ACTIVE; - const createdDeck = await this.deckRepo.create(newDeck); - (0, Logger_1.logAuth)('Deck imported by admin from JSON', adminUserId, { - deckId: createdDeck.id, - deckName: createdDeck.name, - cardCount: createdDeck.cards.length, - targetUserId: targetUserId - }); - return createdDeck; - } - catch (error) { - (0, Logger_1.logError)('Failed to admin import deck from JSON', error); - throw error; - } - } - encrypt(text) { - const iv = crypto.randomBytes(16); - const cipher = crypto.createCipheriv(this.algorithm, this.encryptionKey, iv); - cipher.setAAD(Buffer.from('SerpentRace-Deck', 'utf8')); - let encrypted = cipher.update(text, 'utf8'); - encrypted = Buffer.concat([encrypted, cipher.final()]); - const authTag = cipher.getAuthTag(); - return Buffer.concat([iv, authTag, encrypted]); - } - decrypt(encryptedData) { - if (encryptedData.length < 32) { - throw new Error('Invalid SPR file: file too short'); - } - const iv = encryptedData.slice(0, 16); - const authTag = encryptedData.slice(16, 32); - const encrypted = encryptedData.slice(32); - const decipher = crypto.createDecipheriv(this.algorithm, this.encryptionKey, iv); - decipher.setAAD(Buffer.from('SerpentRace-Deck', 'utf8')); - decipher.setAuthTag(authTag); - let decrypted = decipher.update(encrypted, undefined, 'utf8'); - decrypted += decipher.final('utf8'); - return decrypted; - } - generateFilename(deckName) { - // Sanitize deck name for filename - const sanitized = deckName.replace(/[^a-zA-Z0-9\-_]/g, '_'); - const timestamp = new Date().toISOString().split('T')[0]; // YYYY-MM-DD - return `${sanitized}_${timestamp}.spr`; - } -} -exports.DeckImportExportService = DeckImportExportService; -//# sourceMappingURL=DeckImportExportService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.js.map b/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.js.map deleted file mode 100644 index 88597245..00000000 --- a/SerpentRace_Backend/dist/Application/Services/DeckImportExportService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckImportExportService.js","sourceRoot":"","sources":["../../../src/Application/Services/DeckImportExportService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAEjC,mEAA8E;AAE9E,qCAA6C;AAmB7C,MAAa,uBAAuB;IAIhC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;QAFrC,cAAS,GAAG,aAAa,CAAC;QAGvC,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,oCAAoC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O,CAAC,CAAC;QAE7B,IAAI,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QAC9D,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAEpC,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,gBAAgB,CAAC,QAAgB;QAC7B,kCAAkC;QAClC,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC;QAC5D,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa;QACvE,OAAO,GAAG,SAAS,IAAI,SAAS,MAAM,CAAC;IAC3C,CAAC;CACJ;AAxLD,0DAwLC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailService.d.ts b/SerpentRace_Backend/dist/Application/Services/EmailService.d.ts deleted file mode 100644 index 26c057bd..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailService.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -export interface EmailOptions { - to: string; - subject: string; - html?: string; - text?: string; - template?: string; - templateData?: any; -} -export interface EmailConfig { - host: string; - port: number; - secure: boolean; - auth: { - user: string; - pass: string; - }; - from: string; -} -export declare class EmailService { - private transporter; - private config; - private templatesPath; - constructor(); - private initializeTransporter; - /** - * Send email with template - * @param options - Email options including template and data - */ - sendEmail(options: EmailOptions): Promise; - /** - * Send verification email to user - * @param userEmail - User's email address - * @param userName - User's name - * @param verificationToken - Verification token - * @param verificationUrl - Complete verification URL - * @param language - Language code ('en', 'hu', 'de') - */ - sendVerificationEmail(userEmail: string, userName: string, verificationToken: string, verificationUrl: string, language?: 'en' | 'hu' | 'de'): Promise; - /** - * Send password reset email - * @param userEmail - User's email address - * @param userName - User's name - * @param resetToken - Password reset token - * @param resetUrl - Complete password reset URL - * @param language - Language code ('en', 'hu', 'de') - */ - sendPasswordResetEmail(userEmail: string, userName: string, resetToken: string, resetUrl: string, language?: 'en' | 'hu' | 'de'): Promise; - /** - * Load and compile email template with language support - * @param templateName - Name of the template file (with or without language suffix) - * @param data - Data to replace placeholders in the template - */ - private loadTemplate; - /** - * Get localized verification email subject - * @param language - Language code ('en', 'hu', 'de') - */ - private getLocalizedVerificationSubject; - /** - * Get localized password reset email subject - * @param language - Language code ('en', 'hu', 'de') - */ - private getLocalizedPasswordResetSubject; -} -//# sourceMappingURL=EmailService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/EmailService.d.ts.map deleted file mode 100644 index 8e160697..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EmailService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/EmailService.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,aAAa,CAAS;;IAmB9B,OAAO,CAAC,qBAAqB;IAiB7B;;;OAGG;IACG,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;IAgCxD;;;;;;;OAOG;IACG,qBAAqB,CACzB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,QAAQ,GAAE,IAAI,GAAG,IAAI,GAAG,IAAW,GAClC,OAAO,CAAC,OAAO,CAAC;IAuBnB;;;;;;;OAOG;IACG,sBAAsB,CAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,GAAE,IAAI,GAAG,IAAI,GAAG,IAAW,GAClC,OAAO,CAAC,OAAO,CAAC;IAuBnB;;;;OAIG;YACW,YAAY;IAsD1B;;;OAGG;IACH,OAAO,CAAC,+BAA+B;IAWvC;;;OAGG;IACH,OAAO,CAAC,gCAAgC;CAUzC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailService.js b/SerpentRace_Backend/dist/Application/Services/EmailService.js deleted file mode 100644 index 679ab527..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailService.js +++ /dev/null @@ -1,249 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EmailService = void 0; -const nodemailer = __importStar(require("nodemailer")); -const fs = __importStar(require("fs")); -const path = __importStar(require("path")); -const Logger_1 = require("./Logger"); -const EmailTemplateHelper_1 = require("./EmailTemplateHelper"); -class EmailService { - constructor() { - this.templatesPath = path.join(__dirname, '../../Templates'); - this.config = { - host: process.env.EMAIL_HOST || 'smtp.gmail.com', - port: parseInt(process.env.EMAIL_PORT || '587'), - secure: process.env.EMAIL_SECURE === 'true', - auth: { - user: process.env.EMAIL_USER || '', - pass: process.env.EMAIL_PASS || '' - }, - from: process.env.EMAIL_FROM || 'noreply@serpentrace.com' - }; - this.initializeTransporter(); - } - initializeTransporter() { - try { - this.transporter = nodemailer.createTransport({ - host: this.config.host, - port: this.config.port, - secure: this.config.secure, - auth: { - user: this.config.auth.user, - pass: this.config.auth.pass - } - }); - } - catch (error) { - (0, Logger_1.logError)('EmailService initialization failed', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to initialize email service'); - } - } - /** - * Send email with template - * @param options - Email options including template and data - */ - async sendEmail(options) { - try { - let htmlContent = options.html; - let textContent = options.text; - if (options.template) { - const templateResult = await this.loadTemplate(options.template, options.templateData || {}); - htmlContent = templateResult.html; - textContent = templateResult.text; - } - const mailOptions = { - from: this.config.from, - to: options.to, - subject: options.subject, - html: htmlContent, - text: textContent - }; - const result = await this.transporter.sendMail(mailOptions); - (0, Logger_1.logAuth)('Email sent successfully', undefined, { - messageId: result.messageId, - to: options.to, - subject: options.subject - }); - return true; - } - catch (error) { - (0, Logger_1.logError)('Email sending failed', error instanceof Error ? error : new Error(String(error))); - return false; - } - } - /** - * Send verification email to user - * @param userEmail - User's email address - * @param userName - User's name - * @param verificationToken - Verification token - * @param verificationUrl - Complete verification URL - * @param language - Language code ('en', 'hu', 'de') - */ - async sendVerificationEmail(userEmail, userName, verificationToken, verificationUrl, language = 'en') { - try { - const templateName = language === 'en' ? 'verification' : `verification-${language}`; - const subject = this.getLocalizedVerificationSubject(language); - return await this.sendEmail({ - to: userEmail, - subject, - template: templateName, - templateData: { - userName, - verificationToken, - verificationUrl, - companyName: 'SerpentRace', - supportEmail: 'support@serpentrace.com' - } - }); - } - catch (error) { - (0, Logger_1.logError)('Verification email sending failed', error instanceof Error ? error : new Error(String(error))); - return false; - } - } - /** - * Send password reset email - * @param userEmail - User's email address - * @param userName - User's name - * @param resetToken - Password reset token - * @param resetUrl - Complete password reset URL - * @param language - Language code ('en', 'hu', 'de') - */ - async sendPasswordResetEmail(userEmail, userName, resetToken, resetUrl, language = 'en') { - try { - const templateName = language === 'en' ? 'password-reset' : `password-reset-${language}`; - const subject = this.getLocalizedPasswordResetSubject(language); - return await this.sendEmail({ - to: userEmail, - subject, - template: templateName, - templateData: { - userName, - resetToken, - resetUrl, - companyName: 'SerpentRace', - supportEmail: 'support@serpentrace.com' - } - }); - } - catch (error) { - (0, Logger_1.logError)('Password reset email sending failed', error instanceof Error ? error : new Error(String(error))); - return false; - } - } - /** - * Load and compile email template with language support - * @param templateName - Name of the template file (with or without language suffix) - * @param data - Data to replace placeholders in the template - */ - async loadTemplate(templateName, data) { - try { - // Try the specified template first - let htmlTemplatePath = path.join(this.templatesPath, `${templateName}.html`); - let textTemplatePath = path.join(this.templatesPath, `${templateName}.txt`); - let htmlTemplate = ''; - let textTemplate = ''; - // Load HTML template if it exists - if (fs.existsSync(htmlTemplatePath)) { - htmlTemplate = fs.readFileSync(htmlTemplatePath, 'utf8'); - } - else { - // If language-specific template doesn't exist, try fallback to English - const baseName = templateName.replace(/-[a-z]{2}$/, ''); // Remove language suffix - const fallbackHtmlPath = path.join(this.templatesPath, `${baseName}.html`); - if (fs.existsSync(fallbackHtmlPath)) { - htmlTemplate = fs.readFileSync(fallbackHtmlPath, 'utf8'); - } - } - // Load text template if it exists - if (fs.existsSync(textTemplatePath)) { - textTemplate = fs.readFileSync(textTemplatePath, 'utf8'); - } - else { - // If language-specific template doesn't exist, try fallback to English - const baseName = templateName.replace(/-[a-z]{2}$/, ''); // Remove language suffix - const fallbackTextPath = path.join(this.templatesPath, `${baseName}.txt`); - if (fs.existsSync(fallbackTextPath)) { - textTemplate = fs.readFileSync(fallbackTextPath, 'utf8'); - } - } - // If no templates found, throw error - if (!htmlTemplate && !textTemplate) { - throw new Error(`Template '${templateName}' not found`); - } - // Replace placeholders in templates - const processedTemplate = EmailTemplateHelper_1.EmailTemplateHelper.processTemplate({ html: htmlTemplate, text: textTemplate }, data); - return { - html: processedTemplate.html, - text: processedTemplate.text - }; - } - catch (error) { - (0, Logger_1.logError)('Email template loading failed', error instanceof Error ? error : new Error(String(error))); - throw new Error(`Failed to load email template: ${templateName}`); - } - } - /** - * Get localized verification email subject - * @param language - Language code ('en', 'hu', 'de') - */ - getLocalizedVerificationSubject(language) { - const subjects = { - verification: { - en: 'SerpentRace - Verify Your Account', - hu: 'SerpentRace - Fiók megerősítése', - de: 'SerpentRace - Konto verifizieren' - } - }; - return EmailTemplateHelper_1.EmailTemplateHelper.getLocalizedSubject('verification', subjects, language); - } - /** - * Get localized password reset email subject - * @param language - Language code ('en', 'hu', 'de') - */ - getLocalizedPasswordResetSubject(language) { - const subjects = { - passwordReset: { - en: 'SerpentRace - Password Reset Request', - hu: 'SerpentRace - Jelszó visszaállítás kérése', - de: 'SerpentRace - Passwort zurücksetzen' - } - }; - return EmailTemplateHelper_1.EmailTemplateHelper.getLocalizedSubject('passwordReset', subjects, language); - } -} -exports.EmailService = EmailService; -//# sourceMappingURL=EmailService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailService.js.map b/SerpentRace_Backend/dist/Application/Services/EmailService.js.map deleted file mode 100644 index ae48a3b2..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EmailService.js","sourceRoot":"","sources":["../../../src/Application/Services/EmailService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AACzC,uCAAyB;AACzB,2CAA6B;AAC7B,qCAAyD;AACzD,+DAA+E;AAsB/E,MAAa,YAAY;IAKvB;QACE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAE7D,IAAI,CAAC,MAAM,GAAG;YACZ,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,gBAAgB;YAChD,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC;YAC/C,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,MAAM;YAC3C,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,EAAE;gBAClC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,EAAE;aACnC;YACD,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,yBAAyB;SAC1D,CAAC;QAEF,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAEO,qBAAqB;QAC3B,IAAI,CAAC;YACH,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,eAAe,CAAC;gBAC5C,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI;gBACtB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI;gBACtB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,IAAI,CAAC,MAA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E,IAAI,EAAE,YAAY,EAAE,EAC1C,IAAI,CACL,CAAC;YAEF,OAAO;gBACL,IAAI,EAAE,iBAAiB,CAAC,IAAI;gBAC5B,IAAI,EAAE,iBAAiB,CAAC,IAAI;aAC7B,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,+BAA+B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACrG,MAAM,IAAI,KAAK,CAAC,kCAAkC,YAAY,EAAE,CAAC,CAAC;QACpE,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,+BAA+B,CAAC,QAA4B;QAClE,MAAM,QAAQ,GAAsB;YAClC,YAAY,EAAE;gBACZ,EAAE,EAAE,mCAAmC;gBACvC,EAAE,EAAE,iCAAiC;gBACrC,EAAE,EAAE,kCAAkC;aACvC;SACF,CAAC;QACF,OAAO,yCAAmB,CAAC,mBAAmB,CAAC,cAAc,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACrF,CAAC;IAED;;;OAGG;IACK,gCAAgC,CAAC,QAA4B;QACnE,MAAM,QAAQ,GAAsB;YAClC,aAAa,EAAE;gBACb,EAAE,EAAE,sCAAsC;gBAC1C,EAAE,EAAE,2CAA2C;gBAC/C,EAAE,EAAE,qCAAqC;aAC1C;SACF,CAAC;QACF,OAAO,yCAAmB,CAAC,mBAAmB,CAAC,eAAe,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACtF,CAAC;CACF;AA7OD,oCA6OC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.d.ts b/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.d.ts deleted file mode 100644 index 21d70724..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface LocalizedSubjects { - [key: string]: { - en: string; - hu: string; - de: string; - }; -} -export interface TemplateData { - [key: string]: any; -} -export interface EmailTemplate { - html: string; - text: string; -} -export declare class EmailTemplateHelper { - static getLocalizedSubject(subjectKey: string, subjects: LocalizedSubjects, language: 'en' | 'hu' | 'de'): string; - static replaceTemplatePlaceholders(template: string, data: TemplateData): string; - static processTemplate(templateContent: EmailTemplate, data: TemplateData): EmailTemplate; -} -//# sourceMappingURL=EmailTemplateHelper.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.d.ts.map b/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.d.ts.map deleted file mode 100644 index 3657ffce..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EmailTemplateHelper.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/EmailTemplateHelper.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;CACH;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;WAChB,mBAAmB,CAC/B,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,iBAAiB,EAC3B,QAAQ,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAC3B,MAAM;WAIK,2BAA2B,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM;WAMzE,eAAe,CAAC,eAAe,EAAE,aAAa,EAAE,IAAI,EAAE,YAAY,GAAG,aAAa;CAMjG"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.js b/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.js deleted file mode 100644 index 755d33d1..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EmailTemplateHelper = void 0; -class EmailTemplateHelper { - static getLocalizedSubject(subjectKey, subjects, language) { - return subjects[subjectKey]?.[language] || subjects[subjectKey]?.['en'] || 'SerpentRace'; - } - static replaceTemplatePlaceholders(template, data) { - return template.replace(/\{\{(\w+)\}\}/g, (match, key) => { - return data[key] !== undefined ? String(data[key]) : match; - }); - } - static processTemplate(templateContent, data) { - return { - html: this.replaceTemplatePlaceholders(templateContent.html, data), - text: this.replaceTemplatePlaceholders(templateContent.text, data) - }; - } -} -exports.EmailTemplateHelper = EmailTemplateHelper; -//# sourceMappingURL=EmailTemplateHelper.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.js.map b/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.js.map deleted file mode 100644 index dac86041..00000000 --- a/SerpentRace_Backend/dist/Application/Services/EmailTemplateHelper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EmailTemplateHelper.js","sourceRoot":"","sources":["../../../src/Application/Services/EmailTemplateHelper.ts"],"names":[],"mappings":";;;AAiBA,MAAa,mBAAmB;IACvB,MAAM,CAAC,mBAAmB,CAC/B,UAAkB,EAClB,QAA2B,EAC3B,QAA4B;QAE5B,OAAO,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC;IAC3F,CAAC;IAEM,MAAM,CAAC,2BAA2B,CAAC,QAAgB,EAAE,IAAkB;QAC5E,OAAO,QAAQ,CAAC,OAAO,CAAC,gBAAgB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YACvD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QAC7D,CAAC,CAAC,CAAC;IACL,CAAC;IAEM,MAAM,CAAC,eAAe,CAAC,eAA8B,EAAE,IAAkB;QAC9E,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,2BAA2B,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;YAClE,IAAI,EAAE,IAAI,CAAC,2BAA2B,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;SACnE,CAAC;IACJ,CAAC;CACF;AArBD,kDAqBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.d.ts b/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.d.ts deleted file mode 100644 index 55252ca6..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Response } from 'express'; -export declare class ErrorResponseService { - static sendError(res: Response, statusCode: number, message: string, details?: any): Response; - static sendInternalServerError(res: Response): Response; - static sendBadRequest(res: Response, message?: string, details?: any): Response; - static sendUnauthorized(res: Response, message?: string): Response; - static sendForbidden(res: Response, message?: string): Response; - static sendNotFound(res: Response, message?: string): Response; - static sendConflict(res: Response, message?: string): Response; -} -//# sourceMappingURL=ErrorResponseService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.d.ts.map deleted file mode 100644 index 1d9d1ff9..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ErrorResponseService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/ErrorResponseService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,QAAQ;IAQ7F,MAAM,CAAC,uBAAuB,CAAC,GAAG,EAAE,QAAQ,GAAG,QAAQ;IAIvD,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,GAAE,MAAsB,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,QAAQ;IAI9F,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,GAAE,MAAuB,GAAG,QAAQ;IAIlF,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,GAAE,MAAoB,GAAG,QAAQ;IAI5E,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,GAAE,MAAoB,GAAG,QAAQ;IAI3E,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,GAAE,MAAmB,GAAG,QAAQ;CAG3E"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.js b/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.js deleted file mode 100644 index 8428da02..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ErrorResponseService = void 0; -class ErrorResponseService { - static sendError(res, statusCode, message, details) { - const errorResponse = { error: message }; - if (details) { - errorResponse.details = details; - } - return res.status(statusCode).json(errorResponse); - } - static sendInternalServerError(res) { - return this.sendError(res, 500, 'Internal server error'); - } - static sendBadRequest(res, message = 'Bad request', details) { - return this.sendError(res, 400, message, details); - } - static sendUnauthorized(res, message = 'Unauthorized') { - return this.sendError(res, 401, message); - } - static sendForbidden(res, message = 'Forbidden') { - return this.sendError(res, 403, message); - } - static sendNotFound(res, message = 'Not found') { - return this.sendError(res, 404, message); - } - static sendConflict(res, message = 'Conflict') { - return this.sendError(res, 409, message); - } -} -exports.ErrorResponseService = ErrorResponseService; -//# sourceMappingURL=ErrorResponseService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.js.map b/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.js.map deleted file mode 100644 index 19feef9d..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ErrorResponseService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ErrorResponseService.js","sourceRoot":"","sources":["../../../src/Application/Services/ErrorResponseService.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;IAC/B,MAAM,CAAC,SAAS,CAAC,GAAa,EAAE,UAAkB,EAAE,OAAe,EAAE,OAAa;QAChF,MAAM,aAAa,GAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;QAC9C,IAAI,OAAO,EAAE,CAAC;YACZ,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAClC,CAAC;QACD,OAAO,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,CAAC,uBAAuB,CAAC,GAAa;QAC1C,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,GAAa,EAAE,UAAkB,aAAa,EAAE,OAAa;QACjF,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,GAAa,EAAE,UAAkB,cAAc;QACrE,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,GAAa,EAAE,UAAkB,WAAW;QAC/D,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,GAAa,EAAE,UAAkB,WAAW;QAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,GAAa,EAAE,UAAkB,UAAU;QAC7D,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AAhCD,oDAgCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/JWTService.d.ts b/SerpentRace_Backend/dist/Application/Services/JWTService.d.ts deleted file mode 100644 index 6915b51b..00000000 --- a/SerpentRace_Backend/dist/Application/Services/JWTService.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Request, Response } from 'express'; -import { UserState } from '../../Domain/User/UserAggregate'; -export interface TokenPayload { - userId: string; - authLevel: 0 | 1; - userStatus: UserState; - orgId: string; - iat?: number; - exp?: number; -} -export declare class JWTService { - private readonly secretKey; - private readonly tokenExpiry; - private readonly cookieName; - constructor(); - create(payload: TokenPayload, res: Response): string; - verify(req: Request): TokenPayload | null; - shouldRefreshToken(payload: TokenPayload): boolean; - refreshIfNeeded(payload: TokenPayload, res: Response): boolean; - /** - * Parse duration string to seconds (e.g., "24h", "7d", "30m") - * @param duration Duration string - * @returns Duration in seconds - */ - private parseDuration; -} -//# sourceMappingURL=JWTService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/JWTService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/JWTService.d.ts.map deleted file mode 100644 index ade9a70c..00000000 --- a/SerpentRace_Backend/dist/Application/Services/JWTService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"JWTService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/JWTService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,MAAM,WAAW,YAAY;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC;IACjB,UAAU,EAAE,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,UAAU;IACnB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;;IAqBpC,MAAM,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,QAAQ,GAAG,MAAM;IAuBpD,MAAM,CAAC,GAAG,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI;IAazC,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO;IAYlD,eAAe,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO;IAe9D;;;;OAIG;IACH,OAAO,CAAC,aAAa;CAkBxB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/JWTService.js b/SerpentRace_Backend/dist/Application/Services/JWTService.js deleted file mode 100644 index 07e6f73a..00000000 --- a/SerpentRace_Backend/dist/Application/Services/JWTService.js +++ /dev/null @@ -1,102 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.JWTService = void 0; -const jsonwebtoken_1 = __importDefault(require("jsonwebtoken")); -class JWTService { - constructor() { - this.secretKey = process.env.JWT_SECRET || 'your-secret-key'; - let expiry = 86400; - if (process.env.JWT_EXPIRY) { - expiry = parseInt(process.env.JWT_EXPIRY); - } - else if (process.env.JWT_EXPIRATION) { - expiry = this.parseDuration(process.env.JWT_EXPIRATION); - } - this.tokenExpiry = expiry; - this.cookieName = 'auth_token'; - if (process.env.NODE_ENV === 'production' && (!process.env.JWT_SECRET || process.env.JWT_SECRET === 'your-secret-key')) { - throw new Error('JWT_SECRET environment variable must be set in production'); - } - } - create(payload, res) { - const now = Math.floor(Date.now() / 1000); - const payloadWithTimestamps = { - ...payload, - iat: now, - exp: now + this.tokenExpiry - }; - // Don't use expiresIn option since we're manually setting exp in payload - const options = {}; - const token = jsonwebtoken_1.default.sign(payloadWithTimestamps, this.secretKey, options); - res.cookie(this.cookieName, token, { - httpOnly: true, - secure: process.env.NODE_ENV === 'production', - sameSite: 'strict', - maxAge: this.tokenExpiry * 1000, // Convert to milliseconds - }); - return token; - } - verify(req) { - try { - const token = req.cookies[this.cookieName]; - if (!token) - return null; - const decoded = jsonwebtoken_1.default.verify(token, this.secretKey); - return decoded; - } - catch (error) { - return null; - } - } - // Check if token needs refresh (within 25% of expiry time) - shouldRefreshToken(payload) { - if (!payload.exp || !payload.iat) - return false; - const now = Math.floor(Date.now() / 1000); - const tokenAge = now - payload.iat; - const tokenLifetime = payload.exp - payload.iat; - const refreshThreshold = tokenLifetime * 0.75; // Refresh when 75% of lifetime has passed - return tokenAge >= refreshThreshold; - } - // Conditionally refresh token only if needed - refreshIfNeeded(payload, res) { - if (this.shouldRefreshToken(payload)) { - // Create new token with fresh timestamps, but same user data - const freshPayload = { - userId: payload.userId, - authLevel: payload.authLevel, - userStatus: payload.userStatus, - orgId: payload.orgId - }; - this.create(freshPayload, res); - return true; - } - return false; - } - /** - * Parse duration string to seconds (e.g., "24h", "7d", "30m") - * @param duration Duration string - * @returns Duration in seconds - */ - parseDuration(duration) { - const match = duration.match(/^(\d+)([smhd])$/); - if (!match) { - throw new Error(`Invalid duration format: ${duration}. Use format like '24h', '7d', '30m'`); - } - const [, value, unit] = match; - const num = parseInt(value); - switch (unit) { - case 's': return num; // seconds - case 'm': return num * 60; // minutes - case 'h': return num * 60 * 60; // hours - case 'd': return num * 60 * 60 * 24; // days - default: - throw new Error(`Unsupported duration unit: ${unit}`); - } - } -} -exports.JWTService = JWTService; -//# sourceMappingURL=JWTService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/JWTService.js.map b/SerpentRace_Backend/dist/Application/Services/JWTService.js.map deleted file mode 100644 index b175daa8..00000000 --- a/SerpentRace_Backend/dist/Application/Services/JWTService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"JWTService.js","sourceRoot":"","sources":["../../../src/Application/Services/JWTService.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAgD;AAahD,MAAa,UAAU;IAKnB;QACI,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,iBAAiB,CAAC;QAE7D,IAAI,MAAM,GAAG,KAAK,CAAC;QAEnB,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC;YACzB,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QAC9C,CAAC;aAAM,IAAI,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC;YACpC,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAC5D,CAAC;QAED,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;QAC1B,IAAI,CAAC,UAAU,GAAG,YAAY,CAAC;QAE/B,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,IAAI,CAA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I,CAAC,GAAG,KAAK,CAAC;QAC9B,MAAM,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAE5B,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,GAAG,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,UAAU;YAChC,KAAK,GAAG,CAAC,CAAC,OAAO,GAAG,GAAG,EAAE,CAAC,CAAC,UAAU;YACrC,KAAK,GAAG,CAAC,CAAC,OAAO,GAAG,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ;YACxC,KAAK,GAAG,CAAC,CAAC,OAAO,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO;YAC5C;gBACI,MAAM,IAAI,KAAK,CAAC,8BAA8B,IAAI,EAAE,CAAC,CAAC;QAC9D,CAAC;IACL,CAAC;CACJ;AA9GD,gCA8GC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/Logger.d.ts b/SerpentRace_Backend/dist/Application/Services/Logger.d.ts deleted file mode 100644 index 222c7183..00000000 --- a/SerpentRace_Backend/dist/Application/Services/Logger.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LoggingService, LogLevel } from './LoggingService'; -import { Request, Response } from 'express'; -declare const logger: LoggingService; -export declare const logRequest: (message: string, req?: Request, res?: Response, metadata?: any) => void; -export declare const logError: (message: string, error?: Error, req?: Request, res?: Response) => void; -export declare const logWarning: (message: string, metadata?: any, req?: Request, res?: Response) => void; -export declare const logAuth: (message: string, userId?: string, metadata?: any, req?: Request, res?: Response) => void; -export declare const logDatabase: (message: string, query?: string, executionTime?: number, metadata?: any) => void; -export declare const logStartup: (message: string, metadata?: any) => void; -export declare const logConnection: (message: string, type: string, status: "success" | "failure" | "attempt", metadata?: any) => void; -export declare const logOther: (message: string, metadata?: any, req?: Request, res?: Response) => void; -export { LoggingService, LogLevel }; -export default logger; -//# sourceMappingURL=Logger.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/Logger.d.ts.map b/SerpentRace_Backend/dist/Application/Services/Logger.d.ts.map deleted file mode 100644 index b395bbea..00000000 --- a/SerpentRace_Backend/dist/Application/Services/Logger.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/Logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG5C,QAAA,MAAM,MAAM,gBAA+B,CAAC;AAG5C,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,EAAE,MAAM,OAAO,EAAE,MAAM,QAAQ,EAAE,WAAW,GAAG,SAExF,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,EAAE,QAAQ,KAAK,EAAE,MAAM,OAAO,EAAE,MAAM,QAAQ,SAOrF,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,EAAE,WAAW,GAAG,EAAE,MAAM,OAAO,EAAE,MAAM,QAAQ,SAExF,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,SAAS,MAAM,EAAE,SAAS,MAAM,EAAE,WAAW,GAAG,EAAE,MAAM,OAAO,EAAE,MAAM,QAAQ,SAMtG,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,EAAE,QAAQ,MAAM,EAAE,gBAAgB,MAAM,EAAE,WAAW,GAAG,SAOlG,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,EAAE,WAAW,GAAG,SAEzD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,SAAS,MAAM,EAAE,MAAM,MAAM,EAAE,QAAQ,SAAS,GAAG,SAAS,GAAG,SAAS,EAAE,WAAW,GAAG,SAOrH,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,EAAE,WAAW,GAAG,EAAE,MAAM,OAAO,EAAE,MAAM,QAAQ,SAEtF,CAAC;AAGF,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC;AACpC,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/Logger.js b/SerpentRace_Backend/dist/Application/Services/Logger.js deleted file mode 100644 index 243007e3..00000000 --- a/SerpentRace_Backend/dist/Application/Services/Logger.js +++ /dev/null @@ -1,62 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LogLevel = exports.LoggingService = exports.logOther = exports.logConnection = exports.logStartup = exports.logDatabase = exports.logAuth = exports.logWarning = exports.logError = exports.logRequest = void 0; -const LoggingService_1 = require("./LoggingService"); -Object.defineProperty(exports, "LoggingService", { enumerable: true, get: function () { return LoggingService_1.LoggingService; } }); -Object.defineProperty(exports, "LogLevel", { enumerable: true, get: function () { return LoggingService_1.LogLevel; } }); -// Singleton instance -const logger = LoggingService_1.LoggingService.getInstance(); -// Convenience functions for each log level -const logRequest = (message, req, res, metadata) => { - logger.log(LoggingService_1.LogLevel.REQUEST, message, metadata, req, res); -}; -exports.logRequest = logRequest; -const logError = (message, error, req, res) => { - const metadata = error ? { - name: error.name, - message: error.message, - stack: error.stack - } : undefined; - logger.log(LoggingService_1.LogLevel.ERROR, message, metadata, req, res); -}; -exports.logError = logError; -const logWarning = (message, metadata, req, res) => { - logger.log(LoggingService_1.LogLevel.WARNING, message, metadata, req, res); -}; -exports.logWarning = logWarning; -const logAuth = (message, userId, metadata, req, res) => { - const authMetadata = { - userId, - ...metadata - }; - logger.log(LoggingService_1.LogLevel.AUTH, message, authMetadata, req, res); -}; -exports.logAuth = logAuth; -const logDatabase = (message, query, executionTime, metadata) => { - const dbMetadata = { - query: query ? query.substring(0, 200) : undefined, - executionTime, - ...metadata - }; - logger.log(LoggingService_1.LogLevel.DATABASE, message, dbMetadata); -}; -exports.logDatabase = logDatabase; -const logStartup = (message, metadata) => { - logger.log(LoggingService_1.LogLevel.STARTUP, message, metadata); -}; -exports.logStartup = logStartup; -const logConnection = (message, type, status, metadata) => { - const connectionMetadata = { - connectionType: type, - status, - ...metadata - }; - logger.log(LoggingService_1.LogLevel.CONNECTION, message, connectionMetadata); -}; -exports.logConnection = logConnection; -const logOther = (message, metadata, req, res) => { - logger.log(LoggingService_1.LogLevel.OTHER, message, metadata, req, res); -}; -exports.logOther = logOther; -exports.default = logger; -//# sourceMappingURL=Logger.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/Logger.js.map b/SerpentRace_Backend/dist/Application/Services/Logger.js.map deleted file mode 100644 index 6055d5d9..00000000 --- a/SerpentRace_Backend/dist/Application/Services/Logger.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../../src/Application/Services/Logger.ts"],"names":[],"mappings":";;;AAAA,qDAA4D;AA2DnD,+FA3DA,+BAAc,OA2DA;AAAE,yFA3DA,yBAAQ,OA2DA;AAxDjC,qBAAqB;AACrB,MAAM,MAAM,GAAG,+BAAc,CAAC,WAAW,EAAE,CAAC;AAE5C,2CAA2C;AACpC,MAAM,UAAU,GAAG,CAAC,OAAe,EAAE,GAAa,EAAE,GAAc,EAAE,QAAc,EAAE,EAAE;IAC3F,MAAM,CAAC,GAAG,CAAC,yBAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAC5D,CAAC,CAAC;AAFW,QAAA,UAAU,cAErB;AAEK,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAE,KAAa,EAAE,GAAa,EAAE,GAAc,EAAE,EAAE;IACxF,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC;QACvB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,KAAK,EAAE,KAAK,CAAC,KAAK;KACnB,CAAC,CAAC,CAAC,SAAS,CAAC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,EAAE,QAAQ,CAAC,CAAC;AAClD,CAAC,CAAC;AAFW,QAAA,UAAU,cAErB;AAEK,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,IAAY,EAAE,MAAyC,EAAE,QAAc,EAAE,EAAE;IACxH,MAAM,kBAAkB,GAAG;QACzB,cAAc,EAAE,IAAI;QACpB,MAAM;QACN,GAAG,QAAQ;KACZ,CAAC;IACF,MAAM,CAAC,GAAG,CAAC,yBAAQ,CAAC,UAAU,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC;AAC/D,CAAC,CAAC;AAPW,QAAA,aAAa,iBAOxB;AAEK,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAE,QAAc,EAAE,GAAa,EAAE,GAAc,EAAE,EAAE;IACzF,MAAM,CAAC,GAAG,CAAC,yBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAC1D,CAAC,CAAC;AAFW,QAAA,QAAQ,YAEnB;AAIF,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/LoggingService.d.ts b/SerpentRace_Backend/dist/Application/Services/LoggingService.d.ts deleted file mode 100644 index dc1c06a3..00000000 --- a/SerpentRace_Backend/dist/Application/Services/LoggingService.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Request, Response, NextFunction } from 'express'; -export declare enum LogLevel { - REQUEST = "REQUEST", - ERROR = "ERROR", - WARNING = "WARNING", - AUTH = "AUTH", - DATABASE = "DATABASE", - STARTUP = "STARTUP", - CONNECTION = "CONNECTION", - OTHER = "OTHER" -} -export interface LogEntry { - timestamp: string; - level: LogLevel; - message: string; - metadata?: any; - requestId?: string; - userId?: string; - ip?: string; - userAgent?: string; - method?: string; - url?: string; - statusCode?: number; - responseTime?: number; -} -export declare class LoggingService { - private static instance; - private minioClient; - private logBuffer; - private currentLogFile; - private logCount; - private readonly maxLogsPerFile; - private readonly logsDir; - private readonly bucketName; - private uploadInterval; - private constructor(); - static getInstance(): LoggingService; - private initializeLogsDirectory; - private initializeMinioClient; - private ensureBucketExists; - private startPeriodicUpload; - private getMonthlyDirectory; - private getMonthlyMinioPrefix; - private createNewLogFile; - private formatLogEntry; - private writeToLocalFile; - private rotateLogFile; - private uploadToMinio; - private logToConsole; - log(level: LogLevel, message: string, metadata?: any, req?: Request, res?: Response, responseTime?: number): void; - private generateRequestId; - shutdown(): Promise; - requestLoggingMiddleware(): (req: Request, res: Response, next: NextFunction) => void; - errorLoggingMiddleware(): (error: Error, req: Request, res: Response, next: NextFunction) => void; -} -export default LoggingService; -//# sourceMappingURL=LoggingService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/LoggingService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/LoggingService.d.ts.map deleted file mode 100644 index 05374be8..00000000 --- a/SerpentRace_Backend/dist/Application/Services/LoggingService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoggingService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/LoggingService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG1D,oBAAY,QAAQ;IAClB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,QAAQ,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MA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E,MAAM,YAAY;CAcxE;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/LoggingService.js b/SerpentRace_Backend/dist/Application/Services/LoggingService.js deleted file mode 100644 index f707c6d0..00000000 --- a/SerpentRace_Backend/dist/Application/Services/LoggingService.js +++ /dev/null @@ -1,363 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LoggingService = exports.LogLevel = void 0; -const fs_1 = __importDefault(require("fs")); -const path_1 = __importDefault(require("path")); -const Minio = __importStar(require("minio")); -var LogLevel; -(function (LogLevel) { - LogLevel["REQUEST"] = "REQUEST"; - LogLevel["ERROR"] = "ERROR"; - LogLevel["WARNING"] = "WARNING"; - LogLevel["AUTH"] = "AUTH"; - LogLevel["DATABASE"] = "DATABASE"; - LogLevel["STARTUP"] = "STARTUP"; - LogLevel["CONNECTION"] = "CONNECTION"; - LogLevel["OTHER"] = "OTHER"; -})(LogLevel || (exports.LogLevel = LogLevel = {})); -class LoggingService { - constructor() { - this.minioClient = null; - this.logBuffer = []; - this.currentLogFile = null; - this.logCount = 0; - this.maxLogsPerFile = parseInt(process.env.MAX_LOGS_PER_FILE || '10000'); - this.logsDir = path_1.default.join(process.cwd(), 'logs'); - this.bucketName = process.env.MINIO_BUCKET_NAME || 'serpentrace-logs'; - this.uploadInterval = null; - this.initializeLogsDirectory(); - this.initializeMinioClient(); - this.createNewLogFile(); - if (process.env.NODE_ENV !== 'test') { - this.startPeriodicUpload(); - } - process.on('SIGTERM', () => this.shutdown()); - process.on('SIGINT', () => this.shutdown()); - process.on('beforeExit', () => this.shutdown()); - } - static getInstance() { - if (!LoggingService.instance) { - LoggingService.instance = new LoggingService(); - } - return LoggingService.instance; - } - initializeLogsDirectory() { - try { - if (!fs_1.default.existsSync(this.logsDir)) { - fs_1.default.mkdirSync(this.logsDir, { recursive: true }); - } - // Create monthly subdirectory - const monthlyDir = this.getMonthlyDirectory(); - if (!fs_1.default.existsSync(monthlyDir)) { - fs_1.default.mkdirSync(monthlyDir, { recursive: true }); - } - } - catch (error) { - console.error('Failed to initialize logs directory:', error); - } - } - initializeMinioClient() { - try { - // Check if in production or development - if (process.env.NODE_ENV === 'production') { - if (process.env.MINIO_ENDPOINT && process.env.MINIO_ACCESS_KEY && process.env.MINIO_SECRET_KEY) { - this.minioClient = new Minio.Client({ - endPoint: process.env.MINIO_ENDPOINT, - port: parseInt(process.env.MINIO_PORT || '9000'), - useSSL: process.env.MINIO_USE_SSL === 'true', - accessKey: process.env.MINIO_ACCESS_KEY, - secretKey: process.env.MINIO_SECRET_KEY - }); - this.ensureBucketExists(); - } - else { - console.warn('Minio configuration not found. Logs will only be stored locally and in console.'); - } - } - else { - // Development-specific Minio configuration - this.minioClient = new Minio.Client({ - endPoint: 'localhost', - port: 9000, - useSSL: false, - accessKey: 'serpentrace', - secretKey: 'serpentrace123!' - }); - this.ensureBucketExists(); - } - } - catch (error) { - console.error('Failed to initialize Minio client:', error); - this.minioClient = null; - } - } - async ensureBucketExists() { - if (!this.minioClient) - return; - try { - const exists = await this.minioClient.bucketExists(this.bucketName); - if (!exists) { - await this.minioClient.makeBucket(this.bucketName); - this.log(LogLevel.STARTUP, `Created Minio bucket: ${this.bucketName}`); - } - } - catch (error) { - console.error('Failed to ensure bucket exists:', error); - } - } - startPeriodicUpload() { - // Upload current log file to Minio every 2 minutes - this.uploadInterval = setInterval(async () => { - if (this.currentLogFile && this.minioClient) { - await this.uploadToMinio(this.currentLogFile); - } - }, 2 * 60 * 1000); // 2 minutes - } - getMonthlyDirectory() { - const now = new Date(); - const year = now.getFullYear(); - const month = String(now.getMonth() + 1).padStart(2, '0'); - return path_1.default.join(this.logsDir, `${year}-${month}`); - } - getMonthlyMinioPrefix() { - const now = new Date(); - const year = now.getFullYear(); - const month = String(now.getMonth() + 1).padStart(2, '0'); - return `${year}-${month}/`; - } - createNewLogFile() { - const now = new Date(); - const timestamp = now.toISOString().replace(/[:.]/g, '-'); - const fileName = `serpentrace-${timestamp}.log`; - this.currentLogFile = path_1.default.join(this.getMonthlyDirectory(), fileName); - this.logCount = 0; - // Write log file header - const header = `# SerpentRace Backend Logs\n# Started: ${now.toISOString()}\n# Max entries per file: ${this.maxLogsPerFile}\n\n`; - try { - fs_1.default.writeFileSync(this.currentLogFile, header); - } - catch (error) { - console.error('Failed to create log file:', error); - } - } - formatLogEntry(entry) { - const parts = [ - entry.timestamp, - `[${entry.level}]`, - entry.message - ]; - if (entry.requestId) - parts.push(`ReqId:${entry.requestId}`); - if (entry.userId) - parts.push(`UserId:${entry.userId}`); - if (entry.ip) - parts.push(`IP:${entry.ip}`); - if (entry.method && entry.url) - parts.push(`${entry.method} ${entry.url}`); - if (entry.statusCode) - parts.push(`Status:${entry.statusCode}`); - if (entry.responseTime) - parts.push(`Time:${entry.responseTime}ms`); - if (entry.userAgent) - parts.push(`UA:${entry.userAgent.substring(0, 50)}`); - if (entry.metadata) - parts.push(`Meta:${JSON.stringify(entry.metadata)}`); - return parts.join(' | '); - } - async writeToLocalFile(entry) { - if (!this.currentLogFile) - return; - try { - const logLine = this.formatLogEntry(entry) + '\n'; - fs_1.default.appendFileSync(this.currentLogFile, logLine); - this.logCount++; - // Check if we need to rotate the log file - if (this.logCount >= this.maxLogsPerFile) { - await this.rotateLogFile(); - } - } - catch (error) { - console.error('Failed to write to log file:', error); - } - } - async rotateLogFile() { - if (!this.currentLogFile) - return; - try { - // Upload current file to Minio before rotating - await this.uploadToMinio(this.currentLogFile); - // Create new log file - this.createNewLogFile(); - this.log(LogLevel.OTHER, 'Log file rotated due to size limit'); - } - catch (error) { - console.error('Failed to rotate log file:', error); - } - } - async uploadToMinio(filePath) { - if (!this.minioClient) { - console.warn('Minio client not initialized, skipping upload'); - return; - } - if (!fs_1.default.existsSync(filePath)) { - console.warn(`Log file does not exist: ${filePath}`); - return; - } - try { - const fileName = path_1.default.basename(filePath); - const objectName = this.getMonthlyMinioPrefix() + fileName; - console.log(`Attempting to upload log file to Minio: ${objectName}`); - await this.minioClient.fPutObject(this.bucketName, objectName, filePath); - console.log(`Successfully uploaded log file to Minio: ${objectName}`); - } - catch (error) { - console.error('Failed to upload to Minio:', error); - console.error('Minio config:', { - endpoint: this.minioClient ? 'configured' : 'not configured', - bucket: this.bucketName - }); - } - } - logToConsole(entry) { - const formattedEntry = this.formatLogEntry(entry); - switch (entry.level) { - case LogLevel.ERROR: - console.error(formattedEntry); - break; - case LogLevel.WARNING: - console.warn(formattedEntry); - break; - case LogLevel.REQUEST: - case LogLevel.AUTH: - case LogLevel.DATABASE: - case LogLevel.CONNECTION: - console.info(formattedEntry); - break; - case LogLevel.STARTUP: - console.log(formattedEntry); - break; - default: - console.log(formattedEntry); - } - } - log(level, message, metadata, req, res, responseTime) { - const entry = { - timestamp: new Date().toISOString(), - level, - message, - metadata - }; - // Add request context if available - if (req) { - entry.requestId = req.requestId || this.generateRequestId(); - entry.userId = req.user?.userId; - entry.ip = req.ip || req.socket?.remoteAddress || 'unknown'; - entry.userAgent = req.get ? req.get('User-Agent') : 'unknown'; - entry.method = req.method; - entry.url = req.originalUrl || req.url; - } - if (res) { - entry.statusCode = res.statusCode; - } - if (responseTime !== undefined) { - entry.responseTime = responseTime; - } - // Log to all three destinations - this.logToConsole(entry); - this.writeToLocalFile(entry); - // Add to buffer for potential batch processing - this.logBuffer.push(entry); - // Limit buffer size - if (this.logBuffer.length > 1000) { - this.logBuffer = this.logBuffer.slice(-500); - } - } - generateRequestId() { - return Math.random().toString(36).substr(2, 9); - } - async shutdown() { - try { - // Clear the upload interval - if (this.uploadInterval) { - clearInterval(this.uploadInterval); - this.uploadInterval = null; - } - // Upload current log file to Minio - if (this.currentLogFile) { - await this.uploadToMinio(this.currentLogFile); - } - this.log(LogLevel.STARTUP, 'Logging service shutting down gracefully'); - // Give time for final logs to be written - await new Promise(resolve => setTimeout(resolve, 1000)); - } - catch (error) { - console.error('Error during logging service shutdown:', error); - } - } - // Middleware factory methods - requestLoggingMiddleware() { - return (req, res, next) => { - const startTime = Date.now(); - // Generate request ID - req.requestId = this.generateRequestId(); - // Log request start - this.log(LogLevel.REQUEST, `Incoming request`, undefined, req); - // Override res.end to log response - const originalEnd = res.end.bind(res); - res.end = (...args) => { - const responseTime = Date.now() - startTime; - LoggingService.getInstance().log(LogLevel.REQUEST, `Request completed`, undefined, req, res, responseTime); - return originalEnd(...args); - }; - next(); - }; - } - errorLoggingMiddleware() { - return (error, req, res, next) => { - this.log(LogLevel.ERROR, `Unhandled error: ${error.message}`, { - stack: error.stack, - name: error.name - }, req, res); - next(error); - }; - } -} -exports.LoggingService = LoggingService; -exports.default = LoggingService; -//# sourceMappingURL=LoggingService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/LoggingService.js.map b/SerpentRace_Backend/dist/Application/Services/LoggingService.js.map deleted file mode 100644 index c539f993..00000000 --- a/SerpentRace_Backend/dist/Application/Services/LoggingService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoggingService.js","sourceRoot":"","sources":["../../../src/Application/Services/LoggingService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AAExB,6CAA+B;AAE/B,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,iCAAqB,CAAA;IACrB,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;AACjB,CAAC,EATW,QAAQ,wBAAR,QAAQ,QASnB;AAiBD,MAAa,cAAc;IAWzB;QATQ,gBAAW,GAAwB,IAAI,CAAC;QACxC,cAAS,GAAe,EAAE,CAAC;QAC3B,mBAAc,GAAkB,IAAI,CAAC;QACrC,aAAQ,GAAG,CAAC,CAAC;QACJ,mBAAc,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,OAAO,CAAC,CAAC;QACpE,YAAO,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,MAAM,CAAC,CAAC;QAC3C,eAAU,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,kBAAkB,CAAC;QAC1E,mBAAc,GAA0B,IAAI,CAAC;QAGnD,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAC/B,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAExB,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM,EAAE,CAAC;YACpC,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAC7B,CAAC;QAED,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAA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WAAW,EAAE,CAAC,GAAG,CAC9B,QAAQ,CAAC,OAAO,EAChB,mBAAmB,EACnB,SAAS,EACT,GAAG,EACH,GAAG,EACH,YAAY,CACb,CAAC;gBACF,OAAO,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC;YAC9B,CAAC,CAAC;YAEF,IAAI,EAAE,CAAC;QACT,CAAC,CAAC;IACJ,CAAC;IAEM,sBAAsB;QAC3B,OAAO,CAAC,KAAY,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YACvE,IAAI,CAAC,GAAG,CACN,QAAQ,CAAC,KAAK,EACd,oBAAoB,KAAK,CAAC,OAAO,EAAE,EACnC;gBACE,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,KAAK,CAAC,IAAI;aACjB,EACD,GAAG,EACH,GAAG,CACJ,CAAC;YACF,IAAI,CAAC,KAAK,CAAC,CAAC;QACd,CAAC,CAAC;IACJ,CAAC;CACF;AAxWD,wCAwWC;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/PasswordService.d.ts b/SerpentRace_Backend/dist/Application/Services/PasswordService.d.ts deleted file mode 100644 index 5ba1c1ce..00000000 --- a/SerpentRace_Backend/dist/Application/Services/PasswordService.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -export declare class PasswordService { - private static readonly SALT_ROUNDS; - /** - * Hashes a plain text password using bcrypt - * @param password - The plain text password to hash - * @returns Promise - The hashed password - */ - static hashPassword(password: string): Promise; - /** - * Verifies a plain text password against a hashed password - * @param password - The plain text password to verify - * @param hashedPassword - The hashed password to compare against - * @returns Promise - True if password matches, false otherwise - */ - static verifyPassword(password: string, hashedPassword: string): Promise; - /** - * Validates password strength requirements - * @param password - The password to validate - * @returns object - Object containing isValid boolean and error messages - */ - static validatePasswordStrength(password: string): { - isValid: boolean; - errors: string[]; - }; -} -//# sourceMappingURL=PasswordService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/PasswordService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/PasswordService.d.ts.map deleted file mode 100644 index 393448f9..00000000 --- a/SerpentRace_Backend/dist/Application/Services/PasswordService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PasswordService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/PasswordService.ts"],"names":[],"mappings":"AAGA,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAM;IAEzC;;;;OAIG;WACU,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAkB5D;;;;;OAKG;WACU,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAiBvF;;;;OAIG;IACH,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE;CAyC1F"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/PasswordService.js b/SerpentRace_Backend/dist/Application/Services/PasswordService.js deleted file mode 100644 index 09d1e849..00000000 --- a/SerpentRace_Backend/dist/Application/Services/PasswordService.js +++ /dev/null @@ -1,124 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PasswordService = void 0; -const bcrypt = __importStar(require("bcrypt")); -const Logger_1 = require("./Logger"); -class PasswordService { - /** - * Hashes a plain text password using bcrypt - * @param password - The plain text password to hash - * @returns Promise - The hashed password - */ - static async hashPassword(password) { - try { - if (!password || typeof password !== 'string') { - throw new Error('Password must be a non-empty string'); - } - return await bcrypt.hash(password, this.SALT_ROUNDS); - } - catch (error) { - (0, Logger_1.logError)('PasswordService.hashPassword error', error instanceof Error ? error : new Error(String(error))); - if (error instanceof Error && error.message === 'Password must be a non-empty string') { - throw error; // Re-throw validation errors as-is - } - throw new Error('Failed to hash password'); - } - } - /** - * Verifies a plain text password against a hashed password - * @param password - The plain text password to verify - * @param hashedPassword - The hashed password to compare against - * @returns Promise - True if password matches, false otherwise - */ - static async verifyPassword(password, hashedPassword) { - try { - if (!password || typeof password !== 'string') { - return false; // Invalid input should return false, not throw - } - if (!hashedPassword || typeof hashedPassword !== 'string') { - return false; // Invalid input should return false, not throw - } - return await bcrypt.compare(password, hashedPassword); - } - catch (error) { - (0, Logger_1.logError)('PasswordService.verifyPassword error', error instanceof Error ? error : new Error(String(error))); - return false; // Return false on error instead of throwing - } - } - /** - * Validates password strength requirements - * @param password - The password to validate - * @returns object - Object containing isValid boolean and error messages - */ - static validatePasswordStrength(password) { - try { - const errors = []; - if (!password || typeof password !== 'string') { - errors.push('Password must be provided as a string'); - return { isValid: false, errors }; - } - if (password.length < 8) { - errors.push('Password must be at least 8 characters long'); - } - if (!/[A-Z]/.test(password)) { - errors.push('Password must contain at least one uppercase letter'); - } - if (!/[a-z]/.test(password)) { - errors.push('Password must contain at least one lowercase letter'); - } - if (!/\d/.test(password)) { - errors.push('Password must contain at least one number'); - } - if (!/[!@#$%^&*(),.?":{}|<>]/.test(password)) { - errors.push('Password must contain at least one special character'); - } - return { - isValid: errors.length === 0, - errors - }; - } - catch (error) { - (0, Logger_1.logError)('PasswordService.validatePasswordStrength error', error instanceof Error ? error : new Error(String(error))); - return { - isValid: false, - errors: ['Password validation failed due to internal error'] - }; - } - } -} -exports.PasswordService = PasswordService; -PasswordService.SALT_ROUNDS = 12; -//# sourceMappingURL=PasswordService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/PasswordService.js.map b/SerpentRace_Backend/dist/Application/Services/PasswordService.js.map deleted file mode 100644 index cd4e8da4..00000000 --- a/SerpentRace_Backend/dist/Application/Services/PasswordService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PasswordService.js","sourceRoot":"","sources":["../../../src/Application/Services/PasswordService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCAAoC;AAEpC,MAAa,eAAe;IAG1B;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,QAAgB;QACxC,IAAI,CAAC;YACH,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;gBAC9C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;YACzD,CAAC;YAED,OAAO,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACvD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,oCAAoC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI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ACpC,CAAC;YAED,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACxB,MAAM,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;YAC7D,CAAC;YAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC5B,MAAM,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC;YACrE,CAAC;YAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC5B,MAAM,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC;YACrE,CAAC;YAED,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACzB,MAAM,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;YAC3D,CAAC;YAED,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7C,MAAM,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC;YACtE,CAAC;YAED,OAAO;gBACL,OAAO,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC;gBAC5B,MAAM;aACP,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,gDAAgD,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACtH,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,CAAC,kDAAkD,CAAC;aAC7D,CAAC;QACJ,CAAC;IACH,CAAC;;AA9FH,0CA+FC;AA9FyB,2BAAW,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/RedisService.d.ts b/SerpentRace_Backend/dist/Application/Services/RedisService.d.ts deleted file mode 100644 index 27acf798..00000000 --- a/SerpentRace_Backend/dist/Application/Services/RedisService.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface ActiveChatData { - chatId: string; - participants: string[]; - lastActivity: Date; - messageCount: number; - chatType: 'direct' | 'group' | 'game'; - gameId?: string; - name?: string; -} -export interface ActiveUserData { - userId: string; - activeChatIds: string[]; - lastActivity: Date; - isOnline: boolean; -} -export declare class RedisService { - private static instance; - private client; - private isConnected; - private constructor(); - static getInstance(): RedisService; - connect(): Promise; - disconnect(): Promise; - setActiveChat(chatId: string, chatData: ActiveChatData): Promise; - getActiveChat(chatId: string): Promise; - removeActiveChat(chatId: string): Promise; - getAllActiveChats(): Promise; - setActiveUser(userId: string, userData: ActiveUserData): Promise; - getActiveUser(userId: string): Promise; - removeActiveUser(userId: string): Promise; - addUserToChat(userId: string, chatId: string): Promise; - removeUserFromChat(userId: string, chatId: string): Promise; - getUserActiveChats(userId: string): Promise; - updateChatActivity(chatId: string, messageCount?: number): Promise; - getInactiveChats(inactivityMinutes: number): Promise; - cleanupInactiveChats(inactivityMinutes: number): Promise; - ping(): Promise; - isRedisConnected(): boolean; -} -//# sourceMappingURL=RedisService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/RedisService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/RedisService.d.ts.map deleted file mode 100644 index 40fe8718..00000000 --- a/SerpentRace_Backend/dist/Application/Services/RedisService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RedisService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/RedisService.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,IAAI,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CA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C;IAUrD,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAexE,gBAAgB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAc9D,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAelE,IAAI,IAAI,OAAO,CAAC,OAAO,CAAC;IAU9B,gBAAgB,IAAI,OAAO;CAGrC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/RedisService.js b/SerpentRace_Backend/dist/Application/Services/RedisService.js deleted file mode 100644 index 50747941..00000000 --- a/SerpentRace_Backend/dist/Application/Services/RedisService.js +++ /dev/null @@ -1,273 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RedisService = void 0; -const redis_1 = require("redis"); -const Logger_1 = require("./Logger"); -class RedisService { - constructor() { - this.isConnected = false; - const redisUrl = process.env.REDIS_URL || 'redis://localhost:6379'; - this.client = (0, redis_1.createClient)({ - url: redisUrl, - socket: { - reconnectStrategy: (retries) => Math.min(retries * 50, 500) - } - }); - this.client.on('error', (err) => { - (0, Logger_1.logError)('Redis connection error', err); - this.isConnected = false; - }); - this.client.on('connect', () => { - (0, Logger_1.logStartup)('Redis client connected successfully'); - this.isConnected = true; - }); - this.client.on('disconnect', () => { - (0, Logger_1.logWarning)('Redis client disconnected'); - this.isConnected = false; - }); - } - static getInstance() { - if (!RedisService.instance) { - RedisService.instance = new RedisService(); - } - return RedisService.instance; - } - async connect() { - try { - if (!this.isConnected) { - await this.client.connect(); - } - } - catch (error) { - (0, Logger_1.logError)('Failed to connect to Redis', error); - throw error; - } - } - async disconnect() { - try { - if (this.isConnected) { - await this.client.disconnect(); - } - } - catch (error) { - (0, Logger_1.logError)('Failed to disconnect from Redis', error); - } - } - async setActiveChat(chatId, chatData) { - try { - const key = `active_chat:${chatId}`; - await this.client.hSet(key, { - chatId: chatData.chatId, - participants: JSON.stringify(chatData.participants), - lastActivity: chatData.lastActivity.toISOString(), - messageCount: chatData.messageCount.toString(), - chatType: chatData.chatType, - gameId: chatData.gameId || '', - name: chatData.name || '' - }); - // Set expiration for 1 hour of inactivity - await this.client.expire(key, 3600); - } - catch (error) { - (0, Logger_1.logError)(`Failed to set active chat ${chatId}`, error); - } - } - async getActiveChat(chatId) { - try { - const key = `active_chat:${chatId}`; - const data = await this.client.hGetAll(key); - if (!data.chatId) { - return null; - } - return { - chatId: data.chatId, - participants: JSON.parse(data.participants), - lastActivity: new Date(data.lastActivity), - messageCount: parseInt(data.messageCount, 10), - chatType: data.chatType, - gameId: data.gameId || undefined, - name: data.name || undefined - }; - } - catch (error) { - (0, Logger_1.logError)(`Failed to get active chat ${chatId}`, error); - return null; - } - } - async removeActiveChat(chatId) { - try { - const key = `active_chat:${chatId}`; - await this.client.del(key); - } - catch (error) { - (0, Logger_1.logError)(`Failed to remove active chat ${chatId}`, error); - } - } - async getAllActiveChats() { - try { - const pattern = 'active_chat:*'; - const keys = await this.client.keys(pattern); - const chats = []; - for (const key of keys) { - const data = await this.client.hGetAll(key); - if (data.chatId) { - chats.push({ - chatId: data.chatId, - participants: JSON.parse(data.participants), - lastActivity: new Date(data.lastActivity), - messageCount: parseInt(data.messageCount, 10), - chatType: data.chatType, - gameId: data.gameId || undefined, - name: data.name || undefined - }); - } - } - return chats; - } - catch (error) { - (0, Logger_1.logError)('Failed to get all active chats', error); - return []; - } - } - async setActiveUser(userId, userData) { - try { - const key = `active_user:${userId}`; - await this.client.hSet(key, { - userId: userData.userId, - activeChatIds: JSON.stringify(userData.activeChatIds), - lastActivity: userData.lastActivity.toISOString(), - isOnline: userData.isOnline.toString() - }); - // Set expiration for 2 hours - await this.client.expire(key, 7200); - } - catch (error) { - (0, Logger_1.logError)(`Failed to set active user ${userId}`, error); - } - } - async getActiveUser(userId) { - try { - const key = `active_user:${userId}`; - const data = await this.client.hGetAll(key); - if (!data.userId) { - return null; - } - return { - userId: data.userId, - activeChatIds: JSON.parse(data.activeChatIds), - lastActivity: new Date(data.lastActivity), - isOnline: data.isOnline === 'true' - }; - } - catch (error) { - (0, Logger_1.logError)(`Failed to get active user ${userId}`, error); - return null; - } - } - async removeActiveUser(userId) { - try { - const key = `active_user:${userId}`; - await this.client.del(key); - } - catch (error) { - (0, Logger_1.logError)(`Failed to remove active user ${userId}`, error); - } - } - async addUserToChat(userId, chatId) { - try { - const userData = await this.getActiveUser(userId) || { - userId, - activeChatIds: [], - lastActivity: new Date(), - isOnline: true - }; - if (!userData.activeChatIds.includes(chatId)) { - userData.activeChatIds.push(chatId); - userData.lastActivity = new Date(); - await this.setActiveUser(userId, userData); - } - } - catch (error) { - (0, Logger_1.logError)(`Failed to add user ${userId} to chat ${chatId}`, error); - } - } - async removeUserFromChat(userId, chatId) { - try { - const userData = await this.getActiveUser(userId); - if (userData) { - userData.activeChatIds = userData.activeChatIds.filter(id => id !== chatId); - userData.lastActivity = new Date(); - await this.setActiveUser(userId, userData); - } - } - catch (error) { - (0, Logger_1.logError)(`Failed to remove user ${userId} from chat ${chatId}`, error); - } - } - async getUserActiveChats(userId) { - try { - const userData = await this.getActiveUser(userId); - return userData?.activeChatIds || []; - } - catch (error) { - (0, Logger_1.logError)(`Failed to get active chats for user ${userId}`, error); - return []; - } - } - async updateChatActivity(chatId, messageCount) { - try { - const chatData = await this.getActiveChat(chatId); - if (chatData) { - chatData.lastActivity = new Date(); - if (messageCount !== undefined) { - chatData.messageCount = messageCount; - } - await this.setActiveChat(chatId, chatData); - } - } - catch (error) { - (0, Logger_1.logError)(`Failed to update chat activity ${chatId}`, error); - } - } - async getInactiveChats(inactivityMinutes) { - try { - const cutoffTime = new Date(Date.now() - inactivityMinutes * 60 * 1000); - const allChats = await this.getAllActiveChats(); - return allChats - .filter(chat => chat.lastActivity < cutoffTime) - .map(chat => chat.chatId); - } - catch (error) { - (0, Logger_1.logError)('Failed to get inactive chats', error); - return []; - } - } - async cleanupInactiveChats(inactivityMinutes) { - try { - const inactiveChats = await this.getInactiveChats(inactivityMinutes); - for (const chatId of inactiveChats) { - await this.removeActiveChat(chatId); - } - return inactiveChats; - } - catch (error) { - (0, Logger_1.logError)('Failed to cleanup inactive chats', error); - return []; - } - } - async ping() { - try { - const result = await this.client.ping(); - return result === 'PONG'; - } - catch (error) { - (0, Logger_1.logError)('Redis ping failed', error); - return false; - } - } - isRedisConnected() { - return this.isConnected; - } -} -exports.RedisService = RedisService; -//# sourceMappingURL=RedisService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/RedisService.js.map b/SerpentRace_Backend/dist/Application/Services/RedisService.js.map deleted file mode 100644 index 8319ace6..00000000 --- a/SerpentRace_Backend/dist/Application/Services/RedisService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RedisService.js","sourceRoot":"","sources":["../../../src/Application/Services/RedisService.ts"],"names":[],"mappings":";;;AAAA,iCAAsD;AACtD,qCAA4D;AAmB5D,MAAa,YAAY;IAKrB;QAFQ,gBAAW,GAAY,KAAK,CAAC;QAGjC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,wBAAwB,CAAC;QACnE,IAAI,CAAC,MAAM,GAAG,IAAA,oBAAY,EAAC;YACvB,GAAG,EAAE,QAAQ;YACb,MAAM,EAAE;gBACJ,iBAAiB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,EAAE,EAAE,GAAG,CAAC;aAC9D;SACJ,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;YAC5B,IAAA,iBAAQ,EAAC,wBAAwB,EAAE,GAAG,CAAC,CAAC;YACxC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM,CAAC,E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;QACzB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,kCAAkC,EAAE,KAAc,CAAC,CAAC;YAC7D,OAAO,EAAE,CAAC;QACd,CAAC;IACL,CAAC;IAEM,KAAK,CAAC,IAAI;QACb,IAAI,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACxC,OAAO,MAAM,KAAK,MAAM,CAAC;QAC7B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,mBAAmB,EAAE,KAAc,CAAC,CAAC;YAC9C,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;IAEM,gBAAgB;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AA7RD,oCA6RC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/TokenService.d.ts b/SerpentRace_Backend/dist/Application/Services/TokenService.d.ts deleted file mode 100644 index 713225d2..00000000 --- a/SerpentRace_Backend/dist/Application/Services/TokenService.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -export interface VerificationToken { - token: string; - expiresAt: Date; - createdAt: Date; -} -export interface PasswordResetToken { - token: string; - expiresAt: Date; - createdAt: Date; -} -export declare class TokenService { - private static readonly VERIFICATION_TOKEN_EXPIRES_HOURS; - private static readonly PASSWORD_RESET_TOKEN_EXPIRES_HOURS; - private static readonly TOKEN_LENGTH; - /** - * Generate a secure random token - * @param length - Length of the token in bytes (default: 32) - * @returns Hexadecimal string token - */ - static generateSecureToken(length?: number): string; - /** - * Generate email verification token with expiration - * @returns VerificationToken object with token and expiration info - */ - static generateVerificationToken(): VerificationToken; - /** - * Generate password reset token with expiration - * @returns PasswordResetToken object with token and expiration info - */ - static generatePasswordResetToken(): PasswordResetToken; - /** - * Check if a token has expired - * @param expiresAt - Expiration date of the token - * @returns True if token has expired, false otherwise - */ - static isTokenExpired(expiresAt: Date): boolean; - /** - * Validate token format (basic validation) - * @param token - Token to validate - * @returns True if token format is valid, false otherwise - */ - static isValidTokenFormat(token: string): boolean; - /** - * Generate a verification URL with token - * @param baseUrl - Base URL of the application - * @param token - Verification token - * @returns Complete verification URL - */ - static generateVerificationUrl(baseUrl: string, token: string): string; - /** - * Generate a password reset URL with token - * @param baseUrl - Base URL of the application - * @param token - Password reset token - * @returns Complete password reset URL - */ - static generatePasswordResetUrl(baseUrl: string, token: string): string; - /** - * Hash a token for secure storage in database - * @param token - Plain text token to hash - * @returns Hashed token - */ - static hashToken(token: string): Promise; - /** - * Verify a plain text token against a hashed token - * @param plainToken - Plain text token to verify - * @param hashedToken - Hashed token to compare against - * @returns True if tokens match, false otherwise - */ - static verifyToken(plainToken: string, hashedToken: string): Promise; - /** - * Get token expiration info in human-readable format - * @param expiresAt - Expiration date - * @returns Human-readable expiration info - */ - static getExpirationInfo(expiresAt: Date): { - expired: boolean; - timeLeft: string; - }; -} -//# sourceMappingURL=TokenService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/TokenService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/TokenService.d.ts.map deleted file mode 100644 index b3db302e..00000000 --- a/SerpentRace_Backend/dist/Application/Services/TokenService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TokenService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/TokenService.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gCAAgC,CAAM;IAC9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kCAAkC,CAAK;IAC/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAM;IAE1C;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,MAAM,GAAE,MAAkC,GAAG,MAAM;IAS9E;;;OAGG;IACH,MAAM,CAAC,yBAAyB,IAAI,iBAAiB;IAiBrD;;;OAGG;IACH,MAAM,CAAC,0BAA0B,IAAI,kBAAkB;IAiBvD;;;;OAIG;IACH,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,GAAG,OAAO;IAS/C;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAiBjD;;;;;OAKG;IACH,MAAM,CAAC,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;IAWtE;;;;;OAKG;IACH,MAAM,CAAC,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;IAWvE;;;;OAIG;WACU,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAatD;;;;;OAKG;WACU,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAcnF;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,IAAI,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;CAuClF"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/TokenService.js b/SerpentRace_Backend/dist/Application/Services/TokenService.js deleted file mode 100644 index b26a3ea5..00000000 --- a/SerpentRace_Backend/dist/Application/Services/TokenService.js +++ /dev/null @@ -1,245 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TokenService = void 0; -const crypto = __importStar(require("crypto")); -const Logger_1 = require("./Logger"); -class TokenService { - /** - * Generate a secure random token - * @param length - Length of the token in bytes (default: 32) - * @returns Hexadecimal string token - */ - static generateSecureToken(length = TokenService.TOKEN_LENGTH) { - try { - return crypto.randomBytes(length).toString('hex'); - } - catch (error) { - (0, Logger_1.logError)('TokenService.generateSecureToken error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to generate secure token'); - } - } - /** - * Generate email verification token with expiration - * @returns VerificationToken object with token and expiration info - */ - static generateVerificationToken() { - try { - const token = this.generateSecureToken(); - const createdAt = new Date(); - const expiresAt = new Date(createdAt.getTime() + (this.VERIFICATION_TOKEN_EXPIRES_HOURS * 60 * 60 * 1000)); - return { - token, - createdAt, - expiresAt - }; - } - catch (error) { - (0, Logger_1.logError)('TokenService.generateVerificationToken error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to generate verification token'); - } - } - /** - * Generate password reset token with expiration - * @returns PasswordResetToken object with token and expiration info - */ - static generatePasswordResetToken() { - try { - const token = this.generateSecureToken(); - const createdAt = new Date(); - const expiresAt = new Date(createdAt.getTime() + (this.PASSWORD_RESET_TOKEN_EXPIRES_HOURS * 60 * 60 * 1000)); - return { - token, - createdAt, - expiresAt - }; - } - catch (error) { - (0, Logger_1.logError)('TokenService.generatePasswordResetToken error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to generate password reset token'); - } - } - /** - * Check if a token has expired - * @param expiresAt - Expiration date of the token - * @returns True if token has expired, false otherwise - */ - static isTokenExpired(expiresAt) { - try { - return new Date() > expiresAt; - } - catch (error) { - (0, Logger_1.logError)('TokenService.isTokenExpired error', error instanceof Error ? error : new Error(String(error))); - return true; // Assume expired on error for security - } - } - /** - * Validate token format (basic validation) - * @param token - Token to validate - * @returns True if token format is valid, false otherwise - */ - static isValidTokenFormat(token) { - try { - if (!token || typeof token !== 'string') { - return false; - } - // Check if token is hexadecimal and has expected length - const hexRegex = /^[a-f0-9]+$/i; - const expectedLength = this.TOKEN_LENGTH * 2; // Each byte becomes 2 hex characters - return hexRegex.test(token) && token.length === expectedLength; - } - catch (error) { - (0, Logger_1.logError)('TokenService.isValidTokenFormat error', error instanceof Error ? error : new Error(String(error))); - return false; - } - } - /** - * Generate a verification URL with token - * @param baseUrl - Base URL of the application - * @param token - Verification token - * @returns Complete verification URL - */ - static generateVerificationUrl(baseUrl, token) { - try { - // Remove trailing slash from baseUrl if present - const cleanBaseUrl = baseUrl.replace(/\/$/, ''); - return `${cleanBaseUrl}/api/auth/verify-email?token=${encodeURIComponent(token)}`; - } - catch (error) { - (0, Logger_1.logError)('TokenService.generateVerificationUrl error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to generate verification URL'); - } - } - /** - * Generate a password reset URL with token - * @param baseUrl - Base URL of the application - * @param token - Password reset token - * @returns Complete password reset URL - */ - static generatePasswordResetUrl(baseUrl, token) { - try { - // Remove trailing slash from baseUrl if present - const cleanBaseUrl = baseUrl.replace(/\/$/, ''); - return `${cleanBaseUrl}/api/auth/reset-password?token=${encodeURIComponent(token)}`; - } - catch (error) { - (0, Logger_1.logError)('TokenService.generatePasswordResetUrl error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to generate password reset URL'); - } - } - /** - * Hash a token for secure storage in database - * @param token - Plain text token to hash - * @returns Hashed token - */ - static async hashToken(token) { - try { - if (!token || typeof token !== 'string') { - throw new Error('Token must be a non-empty string'); - } - return crypto.createHash('sha256').update(token).digest('hex'); - } - catch (error) { - (0, Logger_1.logError)('TokenService.hashToken error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to hash token'); - } - } - /** - * Verify a plain text token against a hashed token - * @param plainToken - Plain text token to verify - * @param hashedToken - Hashed token to compare against - * @returns True if tokens match, false otherwise - */ - static async verifyToken(plainToken, hashedToken) { - try { - if (!plainToken || !hashedToken) { - return false; - } - const hashedPlainToken = await this.hashToken(plainToken); - return hashedPlainToken === hashedToken; - } - catch (error) { - (0, Logger_1.logError)('TokenService.verifyToken error', error instanceof Error ? error : new Error(String(error))); - return false; - } - } - /** - * Get token expiration info in human-readable format - * @param expiresAt - Expiration date - * @returns Human-readable expiration info - */ - static getExpirationInfo(expiresAt) { - try { - const now = new Date(); - const expired = now > expiresAt; - if (expired) { - const timeAgo = Math.floor((now.getTime() - expiresAt.getTime()) / (1000 * 60)); - return { - expired: true, - timeLeft: `Expired ${timeAgo} minute(s) ago` - }; - } - const timeLeft = Math.floor((expiresAt.getTime() - now.getTime()) / (1000 * 60)); - const hours = Math.floor(timeLeft / 60); - const minutes = timeLeft % 60; - let timeString = ''; - if (hours > 0) { - timeString = `${hours} hour(s)`; - if (minutes > 0) { - timeString += ` and ${minutes} minute(s)`; - } - } - else { - timeString = `${minutes} minute(s)`; - } - return { - expired: false, - timeLeft: `Expires in ${timeString}` - }; - } - catch (error) { - (0, Logger_1.logError)('TokenService.getExpirationInfo error', error instanceof Error ? error : new Error(String(error))); - return { - expired: true, - timeLeft: 'Unable to determine expiration' - }; - } - } -} -exports.TokenService = TokenService; -TokenService.VERIFICATION_TOKEN_EXPIRES_HOURS = 24; -TokenService.PASSWORD_RESET_TOKEN_EXPIRES_HOURS = 1; -TokenService.TOKEN_LENGTH = 32; -//# sourceMappingURL=TokenService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/TokenService.js.map b/SerpentRace_Backend/dist/Application/Services/TokenService.js.map deleted file mode 100644 index eb73ba13..00000000 --- a/SerpentRace_Backend/dist/Application/Services/TokenService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TokenService.js","sourceRoot":"","sources":["../../../src/Application/Services/TokenService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCAAoC;AAcpC,MAAa,YAAY;IAKvB;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,SAAiB,YAAY,CAAC,YAAY;QACnE,IAAI,CAAC;YACH,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,wCAAwC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC9G,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,yBAAyB;QAC9B,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;YACzC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;YAC7B,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,C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IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAC,CAAC;YACxC,MAAM,OAAO,GAAG,QAAQ,GAAG,EAAE,CAAC;YAE9B,IAAI,UAAU,GAAG,EAAE,CAAC;YACpB,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;gBACd,UAAU,GAAG,GAAG,KAAK,UAAU,CAAC;gBAChC,IAAI,OAAO,GAAG,CAAC,EAAE,CAAC;oBAChB,UAAU,IAAI,QAAQ,OAAO,YAAY,CAAC;gBAC5C,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,UAAU,GAAG,GAAG,OAAO,YAAY,CAAC;YACtC,CAAC;YAED,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,cAAc,UAAU,EAAE;aACrC,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,sCAAsC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC5G,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,gCAAgC;aAC3C,CAAC;QACJ,CAAC;IACH,CAAC;;AApNH,oCAqNC;AApNyB,6CAAgC,GAAG,EAAE,CAAC;AACtC,+CAAkC,GAAG,CAAC,CAAC;AACvC,yBAAY,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.d.ts b/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.d.ts deleted file mode 100644 index 0d89fc80..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Request, Response, NextFunction } from 'express'; -/** - * Common validation middleware functions for request validation - */ -export declare class ValidationMiddleware { - /** - * Validates required fields in request body - * @param requiredFields Array of required field names - */ - static validateRequiredFields(requiredFields: string[]): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates field types in request body - * @param fieldTypes Object mapping field names to expected types - */ - static validateFieldTypes(fieldTypes: Record): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates string field length constraints - * @param constraints Object mapping field names to min/max length - */ - static validateStringLength(constraints: Record): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates email format - * @param emailFields Array of field names that should contain valid emails - */ - static validateEmailFormat(emailFields: string[]): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates UUIDs format - * @param uuidFields Array of field names that should contain valid UUIDs - */ - static validateUUIDFormat(uuidFields: string[]): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates numeric constraints - * @param constraints Object mapping field names to min/max values - */ - static validateNumericConstraints(constraints: Record): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates that arrays are not empty - * @param arrayFields Array of field names that should contain non-empty arrays - */ - static validateNonEmptyArrays(arrayFields: string[]): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Validates allowed values for enum-like fields - * @param allowedValues Object mapping field names to arrays of allowed values - */ - static validateAllowedValues(allowedValues: Record): (req: Request, res: Response, next: NextFunction) => Response> | undefined; - /** - * Combines multiple validation middlewares - * @param validations Array of validation middleware functions - */ - static combine(validations: Array<(req: Request, res: Response, next: NextFunction) => void>): (req: Request, res: Response, next: NextFunction) => Promise; - /** - * Helper method to get nested values from request - * @param req Request object - * @param path Dot-notation path like 'body.user.id' - */ - private static getNestedValue; -} -//# sourceMappingURL=ValidationMiddleware.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.d.ts.map b/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.d.ts.map deleted file mode 100644 index 9b0c9f28..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Valid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G;IACH,MAAM,CAAC,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,IACvC,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY;IA6B3D;;;OAGG;IACH,MAAM,CAAC,qBAAqB,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,IACrD,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY;IA2B3D;;;OAGG;IACH,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC,IAC1E,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY;IA+BjE;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;CAchC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.js b/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.js deleted file mode 100644 index 5105f541..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.js +++ /dev/null @@ -1,268 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ValidationMiddleware = void 0; -const ErrorResponseService_1 = require("./ErrorResponseService"); -const Logger_1 = require("./Logger"); -/** - * Common validation middleware functions for request validation - */ -class ValidationMiddleware { - /** - * Validates required fields in request body - * @param requiredFields Array of required field names - */ - static validateRequiredFields(requiredFields) { - return (req, res, next) => { - const missingFields = []; - for (const field of requiredFields) { - if (!req.body || req.body[field] === undefined || req.body[field] === null || req.body[field] === '') { - missingFields.push(field); - } - } - if (missingFields.length > 0) { - (0, Logger_1.logWarning)('Validation failed - missing required fields', { - missingFields, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Missing required fields', { missingFields }); - } - next(); - }; - } - /** - * Validates field types in request body - * @param fieldTypes Object mapping field names to expected types - */ - static validateFieldTypes(fieldTypes) { - return (req, res, next) => { - const typeErrors = []; - for (const [field, expectedType] of Object.entries(fieldTypes)) { - if (req.body && req.body[field] !== undefined) { - const actualType = Array.isArray(req.body[field]) ? 'array' : typeof req.body[field]; - if (actualType !== expectedType) { - typeErrors.push(`Field '${field}' should be ${expectedType}, got ${actualType}`); - } - } - } - if (typeErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - invalid field types', { - typeErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Invalid field types', { errors: typeErrors }); - } - next(); - }; - } - /** - * Validates string field length constraints - * @param constraints Object mapping field names to min/max length - */ - static validateStringLength(constraints) { - return (req, res, next) => { - const lengthErrors = []; - for (const [field, constraint] of Object.entries(constraints)) { - if (req.body && typeof req.body[field] === 'string') { - const value = req.body[field]; - if (constraint.min !== undefined && value.length < constraint.min) { - lengthErrors.push(`Field '${field}' must be at least ${constraint.min} characters`); - } - if (constraint.max !== undefined && value.length > constraint.max) { - lengthErrors.push(`Field '${field}' must not exceed ${constraint.max} characters`); - } - } - } - if (lengthErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - string length constraints', { - lengthErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'String length validation failed', { errors: lengthErrors }); - } - next(); - }; - } - /** - * Validates email format - * @param emailFields Array of field names that should contain valid emails - */ - static validateEmailFormat(emailFields) { - return (req, res, next) => { - const emailErrors = []; - const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; - for (const field of emailFields) { - if (req.body && req.body[field] && typeof req.body[field] === 'string') { - if (!emailRegex.test(req.body[field])) { - emailErrors.push(`Field '${field}' must contain a valid email address`); - } - } - } - if (emailErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - invalid email format', { - emailErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Email format validation failed', { errors: emailErrors }); - } - next(); - }; - } - /** - * Validates UUIDs format - * @param uuidFields Array of field names that should contain valid UUIDs - */ - static validateUUIDFormat(uuidFields) { - return (req, res, next) => { - const uuidErrors = []; - const uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i; - for (const field of uuidFields) { - const value = field.includes('.') - ? this.getNestedValue(req, field) - : req.body?.[field] || req.params?.[field] || req.query?.[field]; - if (value && typeof value === 'string') { - if (!uuidRegex.test(value)) { - uuidErrors.push(`Field '${field}' must contain a valid UUID`); - } - } - } - if (uuidErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - invalid UUID format', { - uuidErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'UUID format validation failed', { errors: uuidErrors }); - } - next(); - }; - } - /** - * Validates numeric constraints - * @param constraints Object mapping field names to min/max values - */ - static validateNumericConstraints(constraints) { - return (req, res, next) => { - const numericErrors = []; - for (const [field, constraint] of Object.entries(constraints)) { - if (req.body && typeof req.body[field] === 'number') { - const value = req.body[field]; - if (constraint.min !== undefined && value < constraint.min) { - numericErrors.push(`Field '${field}' must be at least ${constraint.min}`); - } - if (constraint.max !== undefined && value > constraint.max) { - numericErrors.push(`Field '${field}' must not exceed ${constraint.max}`); - } - } - } - if (numericErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - numeric constraints', { - numericErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Numeric validation failed', { errors: numericErrors }); - } - next(); - }; - } - /** - * Validates that arrays are not empty - * @param arrayFields Array of field names that should contain non-empty arrays - */ - static validateNonEmptyArrays(arrayFields) { - return (req, res, next) => { - const arrayErrors = []; - for (const field of arrayFields) { - if (req.body && Array.isArray(req.body[field])) { - if (req.body[field].length === 0) { - arrayErrors.push(`Field '${field}' must not be empty`); - } - } - else if (req.body && req.body[field] !== undefined) { - arrayErrors.push(`Field '${field}' must be an array`); - } - } - if (arrayErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - empty arrays', { - arrayErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Array validation failed', { errors: arrayErrors }); - } - next(); - }; - } - /** - * Validates allowed values for enum-like fields - * @param allowedValues Object mapping field names to arrays of allowed values - */ - static validateAllowedValues(allowedValues) { - return (req, res, next) => { - const valueErrors = []; - for (const [field, allowed] of Object.entries(allowedValues)) { - if (req.body && req.body[field] !== undefined) { - if (!allowed.includes(req.body[field])) { - valueErrors.push(`Field '${field}' must be one of: ${allowed.join(', ')}`); - } - } - } - if (valueErrors.length > 0) { - (0, Logger_1.logWarning)('Validation failed - disallowed values', { - valueErrors, - endpoint: req.path - }, req, res); - return ErrorResponseService_1.ErrorResponseService.sendBadRequest(res, 'Value validation failed', { errors: valueErrors }); - } - next(); - }; - } - /** - * Combines multiple validation middlewares - * @param validations Array of validation middleware functions - */ - static combine(validations) { - return async (req, res, next) => { - let currentIndex = 0; - const runNext = (error) => { - if (error) { - return next(error); - } - if (currentIndex >= validations.length) { - return next(); - } - const currentValidation = validations[currentIndex++]; - try { - currentValidation(req, res, (err) => { - if (res.headersSent) { - return; // Response already sent, don't continue - } - runNext(err); - }); - } - catch (error) { - (0, Logger_1.logError)('Validation middleware error', error, req, res); - ErrorResponseService_1.ErrorResponseService.sendInternalServerError(res); - } - }; - runNext(); - }; - } - /** - * Helper method to get nested values from request - * @param req Request object - * @param path Dot-notation path like 'body.user.id' - */ - static getNestedValue(req, path) { - const parts = path.split('.'); - let current = req; - for (const part of parts) { - if (current && typeof current === 'object') { - current = current[part]; - } - else { - return undefined; - } - } - return current; - } -} -exports.ValidationMiddleware = ValidationMiddleware; -//# sourceMappingURL=ValidationMiddleware.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.js.map b/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.js.map deleted file mode 100644 index 33112c86..00000000 --- a/SerpentRace_Backend/dist/Application/Services/ValidationMiddleware.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ValidationMiddleware.js","sourceRoot":"","sources":["../../../src/Application/Services/ValidationMiddleware.ts"],"names":[],"mappings":";;;AACA,iEAA8D;AAC9D,qCAAgD;AAEhD;;GAEG;AACH,MAAa,oBAAoB;IAE7B;;;OAGG;IACH,MAAM,CAAC,sBAAsB,CAAC,cAAwB;QAClD,OAAO,CAAC,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YACvD,MAAM,aAAa,GAAa,EAAE,CAAC;YAEnC,KAAK,MAAM,KAAK,IAAI,cAAc,EAAE,CAAC;gBACjC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,SAAS,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC;oBACnG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC9B,CAAC;YACL,CAAC;YAED,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC3B,IAAA,mBAAU,EAAC,6CAA6C,EAAE;oBACtD,aAAa;oBACb,QAAQ,EAAE,GAAG,CAAC,IAAI;iBACrB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;gBACb,OAAO,2CAAoB,CAAC,cAAc,CACtC,GAAG,EACH,yBAAyB,EACzB,EAAE,aAAa,EAAE,CACpB,CAAC;YACN,CAAC;YAED,IAAI,EAAE,CAAC;QACX,CAAC,CAAC;IACN,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,kBAAkB,CAAC,UAAgF;QACtG,OAAO,CAAC,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YACvD,MAAM,UAAU,GAAa,EAA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,CAAC,IAAI,CAAC,CAAC;YAC5B,CAAC;iBAAM,CAAC;gBACJ,OAAO,SAAS,CAAC;YACrB,CAAC;QACL,CAAC;QAED,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ;AA7UD,oDA6UC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/WebSocketService.d.ts b/SerpentRace_Backend/dist/Application/Services/WebSocketService.d.ts deleted file mode 100644 index ecedf33c..00000000 --- a/SerpentRace_Backend/dist/Application/Services/WebSocketService.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Server as HttpServer } from 'http'; -import { ChatAggregate } from '../../Domain/Chat/ChatAggregate'; -export declare class WebSocketService { - private io; - private jwtService; - private chatRepository; - private chatArchiveRepository; - private userRepository; - private redisService; - private connectedUsers; - private chatTimeout; - private maxMessagesPerUser; - private messageCleanupWeeks; - private userMessageCounts; - constructor(httpServer: HttpServer); - private initializeRedis; - private setupSocketHandlers; - private handleConnection; - private handleJoinChat; - private handleLeaveChat; - private handleSendMessage; - private handleCreateGroup; - private handleCreateDirectChat; - private handleCreateGameChat; - private handleGetChatHistory; - private handleDeleteChat; - private handleDeleteChatArchive; - private handleDeleteMessage; - private handleDisconnection; - private calculateUnreadMessages; - private pruneMessages; - private notifyOfflineUsers; - private setupArchivingScheduler; - createGameChat(gameId: string, gameName: string, playerIds: string[]): Promise; - getConnectedUserCount(): number; - isUserConnected(userId: string): boolean; - cleanup(): Promise; - /** - * Manually trigger cleanup of old messages and chats - * This can be called by admin endpoints for maintenance - */ - triggerManualCleanup(): Promise<{ - deletedArchives: number; - deletedChats: number; - }>; - /** - * Clean up old messages from archived chats based on messageCleanupWeeks setting - */ - private cleanupOldMessages; - /** - * Check if user has exceeded message rate limit - * @param userId User ID to check - * @returns true if within limit, false if exceeded - */ - private checkMessageRateLimit; - /** - * Delete a specific message from chat history - * This can be used for moderation purposes - */ - deleteMessage(chatId: string, messageId: string, moderatorUserId: string): Promise; - /** - * Clean up old user message count entries (called periodically) - */ - private cleanupMessageCounts; -} -//# sourceMappingURL=WebSocketService.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/WebSocketService.d.ts.map b/SerpentRace_Backend/dist/Application/Services/WebSocketService.d.ts.map deleted file mode 100644 index 403b0ae8..00000000 --- a/SerpentRace_Backend/dist/Application/Services/WebSocketService.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WebSocketService.d.ts","sourceRoot":"","sources":["../../../src/Application/Services/WebSocketService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,MAAM,CAAC;AAM5C,OAAO,EAAE,aAAa,EAAmC,MAAM,iCAAiC,CAAC;AAkDjG,qBAAa,gBAAgB;IACzB,OAAO,CAAC,EAAE,CAAiB;IAC3B,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,qBAAqB,CAAwB;IACrD,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,YAAY,CAAe;IACnC,OAAO,CAAC,cAAc,CAA+C;IACrE,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,kBAAkB,CAAS;IACnC,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,iBAAiB,CAAgE;gBAE7E,UAAU,EAAE,UAAU;YA6BpB,eAAe;IAQ7B,OAAO,CAAC,mBAAmB;YA4Db,gBAAgB;YA2EhB,cAAc;YA4Cd,eAAe;YAsBf,iBAAiB;YAsEjB,iBAAiB;YAwFjB,sBAAsB;YA4EtB,oBAAoB;YAsEpB,oBAAoB;YA4CpB,gBAAgB;YA2DhB,uBAAuB;YAqCvB,mBAAmB;YA4BnB,mBAAmB;IAoBjC,OAAO,CAAC,uBAAuB;IAM/B,OAAO,CAAC,aAAa;YAgCP,kBAAkB;IAgBhC,OAAO,CAAC,uBAAuB;IA8DlB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAyC1G,qBAAqB,IAAI,MAAM;IAI/B,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIlC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAQrC;;;OAGG;IACU,oBAAoB,IAAI,OAAO,CAAC;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;IAmC/F;;OAEG;YACW,kBAAkB;IAiChC;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAwB7B;;;OAGG;IACU,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAiFxG;;OAEG;IACH,OAAO,CAAC,oBAAoB;CAU/B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/WebSocketService.js b/SerpentRace_Backend/dist/Application/Services/WebSocketService.js deleted file mode 100644 index 8d19ccfc..00000000 --- a/SerpentRace_Backend/dist/Application/Services/WebSocketService.js +++ /dev/null @@ -1,966 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.WebSocketService = void 0; -const socket_io_1 = require("socket.io"); -const JWTService_1 = require("./JWTService"); -const ChatRepository_1 = require("../../Infrastructure/Repository/ChatRepository"); -const ChatArchiveRepository_1 = require("../../Infrastructure/Repository/ChatArchiveRepository"); -const UserRepository_1 = require("../../Infrastructure/Repository/UserRepository"); -const ChatAggregate_1 = require("../../Domain/Chat/ChatAggregate"); -const UserAggregate_1 = require("../../Domain/User/UserAggregate"); -const Logger_1 = require("./Logger"); -const RedisService_1 = require("./RedisService"); -const uuid_1 = require("uuid"); -class WebSocketService { - constructor(httpServer) { - this.connectedUsers = new Map(); - this.userMessageCounts = new Map(); - this.io = new socket_io_1.Server(httpServer, { - cors: { - origin: ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:8080'], - methods: ['GET', 'POST'], - credentials: true - } - }); - this.jwtService = new JWTService_1.JWTService(); - this.chatRepository = new ChatRepository_1.ChatRepository(); - this.chatArchiveRepository = new ChatArchiveRepository_1.ChatArchiveRepository(); - this.userRepository = new UserRepository_1.UserRepository(); - this.redisService = RedisService_1.RedisService.getInstance(); - this.chatTimeout = parseInt(process.env.CHAT_INACTIVITY_TIMEOUT_MINUTES || '30'); - this.maxMessagesPerUser = parseInt(process.env.CHAT_MAX_MESSAGES_PER_USER || '100'); - this.messageCleanupWeeks = parseInt(process.env.CHAT_MESSAGE_CLEANUP_WEEKS || '4'); - // Initialize Redis connection - this.initializeRedis(); - this.setupSocketHandlers(); - this.setupArchivingScheduler(); - (0, Logger_1.logRequest)('WebSocket service initialized', undefined, undefined, { - chatTimeoutMinutes: this.chatTimeout - }); - } - async initializeRedis() { - try { - await this.redisService.connect(); - } - catch (error) { - (0, Logger_1.logError)('Failed to initialize Redis connection', error); - } - } - setupSocketHandlers() { - this.io.use(async (socket, next) => { - try { - const token = socket.handshake.auth.token || socket.handshake.headers.cookie - ?.split(';') - .find(c => c.trim().startsWith('auth_token=')) - ?.split('=')[1]; - if (!token) { - (0, Logger_1.logWarning)('WebSocket connection rejected - No token provided', { - socketId: socket.id, - ip: socket.handshake.address - }); - return next(new Error('Authentication required')); - } - // Create a mock request object for JWT verification - const mockRequest = { - headers: { - authorization: `Bearer ${token}`, - cookie: `auth_token=${token}` - }, - cookies: { - auth_token: token - } - }; - const payload = this.jwtService.verify(mockRequest); - if (!payload) { - (0, Logger_1.logWarning)('WebSocket connection rejected - Invalid token', { - socketId: socket.id, - ip: socket.handshake.address - }); - return next(new Error('Invalid token')); - } - socket.userId = payload.userId; - socket.authLevel = payload.authLevel; - socket.userStatus = payload.userStatus; - socket.orgId = payload.orgId; - (0, Logger_1.logAuth)('WebSocket connection authenticated', payload.userId, { - socketId: socket.id, - authLevel: payload.authLevel, - userStatus: payload.userStatus, - orgId: payload.orgId - }); - next(); - } - catch (error) { - (0, Logger_1.logError)('WebSocket authentication error', error); - next(new Error('Authentication failed')); - } - }); - this.io.on('connection', (socket) => { - this.handleConnection(socket); - }); - } - async handleConnection(socket) { - const userId = socket.userId; - // Store connected user - this.connectedUsers.set(userId, socket); - // Load user's active chats and join rooms - try { - const userChats = await this.chatRepository.findActiveChatsForUser(userId); - const chatIds = userChats.map(chat => chat.id); - // Join all chat rooms - chatIds.forEach(chatId => { - socket.join(chatId); - }); - // Store user's chat memberships in Redis - await this.redisService.setActiveUser(userId, { - userId, - activeChatIds: chatIds, - lastActivity: new Date(), - isOnline: true - }); - // Also store each active chat in Redis - for (const chat of userChats) { - await this.redisService.setActiveChat(chat.id, { - chatId: chat.id, - participants: chat.users, - lastActivity: chat.lastActivity || new Date(), - messageCount: chat.messages.length, - chatType: chat.type, - gameId: chat.gameId || undefined, - name: chat.name || undefined - }); - } - (0, Logger_1.logAuth)('User connected to WebSocket', userId, { - socketId: socket.id, - activeChats: chatIds.length - }); - // Send user their active chats with unread counts - const chatsWithUnread = await Promise.all(userChats.map(async (chat) => ({ - id: chat.id, - type: chat.type, - name: chat.name, - gameId: chat.gameId, - users: chat.users, - lastActivity: chat.lastActivity, - unreadCount: this.calculateUnreadMessages(chat, userId), - isArchived: false - }))); - socket.emit('chats:list', chatsWithUnread); - } - catch (error) { - (0, Logger_1.logError)('Error loading user chats on connection', error, undefined, undefined); - socket.emit('error', { message: 'Failed to load chats' }); - } - // Setup event handlers - socket.on('chat:join', (data) => this.handleJoinChat(socket, data)); - socket.on('chat:leave', (data) => this.handleLeaveChat(socket, data)); - socket.on('message:send', (data) => this.handleSendMessage(socket, data)); - socket.on('group:create', (data) => this.handleCreateGroup(socket, data)); - socket.on('chat:direct', (data) => this.handleCreateDirectChat(socket, data)); - socket.on('game:chat:create', (data) => this.handleCreateGameChat(socket, data)); - socket.on('chat:history', (data) => this.handleGetChatHistory(socket, data)); - socket.on('chat:delete', (data) => this.handleDeleteChat(socket, data)); - socket.on('chat:archive:delete', (data) => this.handleDeleteChatArchive(socket, data)); - socket.on('message:delete', (data) => this.handleDeleteMessage(socket, data)); - socket.on('disconnect', () => this.handleDisconnection(socket)); - } - async handleJoinChat(socket, data) { - try { - const userId = socket.userId; - const chat = await this.chatRepository.findById(data.chatId); - if (!chat) { - socket.emit('error', { message: 'Chat not found' }); - return; - } - // Check if user is member of this chat - if (!chat.users.includes(userId)) { - socket.emit('error', { message: 'Unauthorized to join this chat' }); - return; - } - // Join the chat room - socket.join(data.chatId); - // Add to user's active chats in Redis - await this.redisService.addUserToChat(userId, data.chatId); - // Update chat activity in Redis - await this.redisService.updateChatActivity(data.chatId); - // Update last activity in database - await this.chatRepository.update(data.chatId, { lastActivity: new Date() }); - (0, Logger_1.logAuth)('User joined chat', userId, { - chatId: data.chatId, - chatType: chat.type - }); - socket.emit('chat:joined', { - chatId: data.chatId, - messages: chat.messages.slice(-10) // Last 10 messages - }); - } - catch (error) { - (0, Logger_1.logError)('Error joining chat', error); - socket.emit('error', { message: 'Failed to join chat' }); - } - } - async handleLeaveChat(socket, data) { - try { - const userId = socket.userId; - // Leave the chat room - socket.leave(data.chatId); - // Remove from user's active chats in Redis - await this.redisService.removeUserFromChat(userId, data.chatId); - (0, Logger_1.logAuth)('User left chat', userId, { - chatId: data.chatId - }); - socket.emit('chat:left', { chatId: data.chatId }); - } - catch (error) { - (0, Logger_1.logError)('Error leaving chat', error); - socket.emit('error', { message: 'Failed to leave chat' }); - } - } - async handleSendMessage(socket, data) { - try { - const userId = socket.userId; - // Rate limiting check - if (!this.checkMessageRateLimit(userId)) { - socket.emit('error', { message: `Rate limit exceeded. Maximum ${this.maxMessagesPerUser} messages per minute allowed.` }); - return; - } - // Validate message is string and not empty - if (typeof data.message !== 'string' || !data.message.trim()) { - socket.emit('error', { message: 'Message must be a non-empty string' }); - return; - } - const chat = await this.chatRepository.findById(data.chatId); - if (!chat) { - socket.emit('error', { message: 'Chat not found' }); - return; - } - // Check if user is member of this chat - if (!chat.users.includes(userId)) { - socket.emit('error', { message: 'Unauthorized to send message to this chat' }); - return; - } - // Create message - const message = { - id: (0, uuid_1.v4)(), - date: new Date(), - userid: userId, - text: data.message.trim() - }; - // Manage message history based on chat type - let updatedMessages = [...chat.messages, message]; - updatedMessages = this.pruneMessages(updatedMessages, chat.type); - // Update chat - await this.chatRepository.update(data.chatId, { - messages: updatedMessages, - lastActivity: new Date() - }); - // Update chat activity in Redis with new message count - await this.redisService.updateChatActivity(data.chatId, updatedMessages.length); - // Broadcast to all users in the chat room - this.io.to(data.chatId).emit('message:received', { - chatId: data.chatId, - message: message - }); - // Send notifications to offline users - await this.notifyOfflineUsers(chat, message); - (0, Logger_1.logAuth)('Message sent', userId, { - chatId: data.chatId, - messageLength: data.message.length, - chatType: chat.type - }); - } - catch (error) { - (0, Logger_1.logError)('Error sending message', error); - socket.emit('error', { message: 'Failed to send message' }); - } - } - async handleCreateGroup(socket, data) { - try { - const userId = socket.userId; - // Check if user is premium (required to create groups) - const user = await this.userRepository.findById(userId); - if (!user || user.state !== UserAggregate_1.UserState.VERIFIED_PREMIUM) { - socket.emit('error', { message: 'Premium subscription required to create groups' }); - return; - } - // Validate group data - if (!data.name?.trim()) { - socket.emit('error', { message: 'Group name is required' }); - return; - } - if (!data.userIds || data.userIds.length === 0) { - socket.emit('error', { message: 'At least one member is required' }); - return; - } - // Verify all users exist - const members = await Promise.all(data.userIds.map(id => this.userRepository.findById(id))); - if (members.some(member => !member)) { - socket.emit('error', { message: 'One or more users not found' }); - return; - } - // Create group chat - const groupChat = await this.chatRepository.create({ - type: ChatAggregate_1.ChatType.GROUP, - name: data.name.trim(), - createdBy: userId, - users: [userId, ...data.userIds], // Include creator - messages: [], - lastActivity: new Date() - }); - // Add all members to the group room and store in Redis - const allMemberIds = data.userIds.concat(userId); - for (const memberId of allMemberIds) { - const memberSocket = this.connectedUsers.get(memberId); - if (memberSocket) { - memberSocket.join(groupChat.id); - } - // Update user's chat list in Redis - await this.redisService.addUserToChat(memberId, groupChat.id); - } - // Store the group chat in Redis - await this.redisService.setActiveChat(groupChat.id, { - chatId: groupChat.id, - participants: allMemberIds, - lastActivity: new Date(), - messageCount: 0, - chatType: 'group', - name: groupChat.name || undefined - }); - // Notify all members - this.io.to(groupChat.id).emit('group:created', { - chat: { - id: groupChat.id, - type: groupChat.type, - name: groupChat.name, - createdBy: groupChat.createdBy, - users: groupChat.users, - messages: [] - } - }); - (0, Logger_1.logAuth)('Group created', userId, { - groupId: groupChat.id, - groupName: data.name, - memberCount: groupChat.users.length - }); - } - catch (error) { - (0, Logger_1.logError)('Error creating group', error); - socket.emit('error', { message: 'Failed to create group' }); - } - } - async handleCreateDirectChat(socket, data) { - try { - const userId = socket.userId; - // Validate target user exists - const targetUser = await this.userRepository.findById(data.targetUserId); - if (!targetUser) { - socket.emit('error', { message: 'Target user not found' }); - return; - } - // Check if direct chat already exists - const existingChats = await this.chatRepository.findByUserId(userId); - const existingDirectChat = existingChats.find(chat => chat.type === ChatAggregate_1.ChatType.DIRECT && - chat.users.length === 2 && - chat.users.includes(data.targetUserId)); - if (existingDirectChat) { - socket.emit('chat:direct:exists', { - chatId: existingDirectChat.id - }); - return; - } - // Create direct chat - const directChat = await this.chatRepository.create({ - type: ChatAggregate_1.ChatType.DIRECT, - users: [userId, data.targetUserId], - messages: [], - lastActivity: new Date() - }); - // Add both users to the chat room if they're online and store in Redis - const memberIds = [userId, data.targetUserId]; - for (const memberId of memberIds) { - const memberSocket = this.connectedUsers.get(memberId); - if (memberSocket) { - memberSocket.join(directChat.id); - } - // Update user's chat list in Redis - await this.redisService.addUserToChat(memberId, directChat.id); - } - // Store the direct chat in Redis - await this.redisService.setActiveChat(directChat.id, { - chatId: directChat.id, - participants: memberIds, - lastActivity: new Date(), - messageCount: 0, - chatType: 'direct' - }); - // Notify both users - this.io.to(directChat.id).emit('chat:direct:created', { - chat: { - id: directChat.id, - type: directChat.type, - users: directChat.users, - messages: [] - } - }); - (0, Logger_1.logAuth)('Direct chat created', userId, { - chatId: directChat.id, - targetUserId: data.targetUserId - }); - } - catch (error) { - (0, Logger_1.logError)('Error creating direct chat', error); - socket.emit('error', { message: 'Failed to create direct chat' }); - } - } - async handleCreateGameChat(socket, data) { - try { - const userId = socket.userId; - // Check if game chat already exists - const existingGameChat = await this.chatRepository.findByGameId(data.gameId); - if (existingGameChat) { - socket.emit('game:chat:exists', { - chatId: existingGameChat.id - }); - return; - } - // Create game chat - const gameChat = await this.chatRepository.create({ - type: ChatAggregate_1.ChatType.GAME, - name: data.gameName, - gameId: data.gameId, - users: data.playerIds, - messages: [], - lastActivity: new Date() - }); - // Add all players to the game chat room if they're online and store in Redis - for (const playerId of data.playerIds) { - const playerSocket = this.connectedUsers.get(playerId); - if (playerSocket) { - playerSocket.join(gameChat.id); - } - // Update user's chat list in Redis - await this.redisService.addUserToChat(playerId, gameChat.id); - } - // Store the game chat in Redis - await this.redisService.setActiveChat(gameChat.id, { - chatId: gameChat.id, - participants: data.playerIds, - lastActivity: new Date(), - messageCount: 0, - chatType: 'game', - gameId: gameChat.gameId || undefined, - name: gameChat.name || undefined - }); - // Notify all players - this.io.to(gameChat.id).emit('game:chat:created', { - chat: { - id: gameChat.id, - type: gameChat.type, - name: gameChat.name, - gameId: gameChat.gameId, - users: gameChat.users, - messages: [] - } - }); - (0, Logger_1.logAuth)('Game chat created', userId, { - chatId: gameChat.id, - gameId: data.gameId, - gameName: data.gameName, - playerCount: data.playerIds.length - }); - } - catch (error) { - (0, Logger_1.logError)('Error creating game chat', error); - socket.emit('error', { message: 'Failed to create game chat' }); - } - } - async handleGetChatHistory(socket, data) { - try { - const userId = socket.userId; - const chat = await this.chatRepository.findById(data.chatId); - if (!chat) { - // Check if it's archived - const archived = await this.chatRepository.getArchivedChat(data.chatId); - if (archived) { - socket.emit('chat:history:archived', { - chatId: data.chatId, - messages: archived.archivedMessages, - chatType: archived.chatType, - isGameChat: archived.chatType === ChatAggregate_1.ChatType.GAME - }); - } - else { - socket.emit('error', { message: 'Chat not found' }); - } - return; - } - // Check if user has access - if (!chat.users.includes(userId)) { - socket.emit('error', { message: 'Unauthorized to view this chat' }); - return; - } - socket.emit('chat:history', { - chatId: data.chatId, - messages: chat.messages, - chatInfo: { - type: chat.type, - name: chat.name, - gameId: chat.gameId, - users: chat.users - } - }); - } - catch (error) { - (0, Logger_1.logError)('Error getting chat history', error); - socket.emit('error', { message: 'Failed to get chat history' }); - } - } - async handleDeleteChat(socket, data) { - try { - const userId = socket.userId; - const chat = await this.chatRepository.findById(data.chatId); - if (!chat) { - socket.emit('error', { message: 'Chat not found' }); - return; - } - // Check if user is member of this chat - if (!chat.users.includes(userId)) { - socket.emit('error', { message: 'Unauthorized to delete this chat' }); - return; - } - // Perform soft delete - const deletedChat = await this.chatRepository.softDelete(data.chatId); - if (!deletedChat) { - socket.emit('error', { message: 'Failed to delete chat' }); - return; - } - // Remove from Redis active chats - await this.redisService.removeActiveChat(data.chatId); - // Notify all participants that the chat has been deleted - this.io.to(data.chatId).emit('chat:deleted', { - chatId: data.chatId, - deletedBy: userId - }); - // Remove all users from the chat room - for (const participantId of chat.users) { - const participantSocket = this.connectedUsers.get(participantId); - if (participantSocket) { - participantSocket.leave(data.chatId); - } - // Remove from user's active chats in Redis - await this.redisService.removeUserFromChat(participantId, data.chatId); - } - (0, Logger_1.logAuth)('Chat deleted', userId, { - chatId: data.chatId, - chatType: chat.type, - participantCount: chat.users.length - }); - socket.emit('chat:delete:success', { - chatId: data.chatId, - message: 'Chat deleted successfully' - }); - } - catch (error) { - (0, Logger_1.logError)('Error deleting chat', error); - socket.emit('error', { message: 'Failed to delete chat' }); - } - } - async handleDeleteChatArchive(socket, data) { - try { - const userId = socket.userId; - const archive = await this.chatArchiveRepository.findById(data.archiveId); - if (!archive) { - socket.emit('error', { message: 'Chat archive not found' }); - return; - } - // Check if user was a participant in the archived chat - if (!archive.participants.includes(userId)) { - socket.emit('error', { message: 'Unauthorized to delete this chat archive' }); - return; - } - // Hard delete the archive (since it's already archived) - await this.chatArchiveRepository.delete(data.archiveId); - (0, Logger_1.logAuth)('Chat archive deleted', userId, { - archiveId: data.archiveId, - originalChatId: archive.chatId, - chatType: archive.chatType, - participantCount: archive.participants.length - }); - socket.emit('chat:archive:delete:success', { - archiveId: data.archiveId, - message: 'Chat archive deleted successfully' - }); - } - catch (error) { - (0, Logger_1.logError)('Error deleting chat archive', error); - socket.emit('error', { message: 'Failed to delete chat archive' }); - } - } - async handleDeleteMessage(socket, data) { - try { - const userId = socket.userId; - // Check if user has admin/moderator privileges - const user = await this.userRepository.findById(userId); - if (!user || user.state !== UserAggregate_1.UserState.ADMIN) { // Check if user is admin - socket.emit('error', { message: 'Insufficient permissions to delete messages' }); - return; - } - const success = await this.deleteMessage(data.chatId, data.messageId, userId); - if (success) { - socket.emit('message:delete:success', { - chatId: data.chatId, - messageId: data.messageId, - message: 'Message deleted successfully' - }); - } - else { - socket.emit('error', { message: 'Failed to delete message or message not found' }); - } - } - catch (error) { - (0, Logger_1.logError)('Error handling delete message request', error); - socket.emit('error', { message: 'Failed to delete message' }); - } - } - async handleDisconnection(socket) { - const userId = socket.userId; - if (userId) { - this.connectedUsers.delete(userId); - // Update user status in Redis - const userData = await this.redisService.getActiveUser(userId); - if (userData) { - userData.isOnline = false; - userData.lastActivity = new Date(); - await this.redisService.setActiveUser(userId, userData); - } - (0, Logger_1.logAuth)('User disconnected from WebSocket', userId, { - socketId: socket.id - }); - } - } - // Utility methods - calculateUnreadMessages(chat, userId) { - // Simple implementation - count messages after user's last seen - // In production, you'd store lastSeen timestamp per user per chat - return chat.messages.filter(msg => msg.userid !== userId).length; - } - pruneMessages(messages, chatType) { - const twoWeeksAgo = new Date(Date.now() - 14 * 24 * 60 * 60 * 1000); - // Remove messages older than 2 weeks - let prunedMessages = messages.filter(msg => new Date(msg.date) > twoWeeksAgo); - // For group chats, only apply the 2-week time limit (unlimited messages per user) - if (chatType === ChatAggregate_1.ChatType.GROUP) { - return prunedMessages.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()); - } - // For direct and game chats, apply both time limit and per-user message limit - // Group by user and keep last 10 messages per user - const messagesByUser = new Map(); - prunedMessages.forEach(msg => { - if (!messagesByUser.has(msg.userid)) { - messagesByUser.set(msg.userid, []); - } - messagesByUser.get(msg.userid).push(msg); - }); - // Keep only last 10 messages per user - const finalMessages = []; - messagesByUser.forEach((userMessages, userId) => { - const last10 = userMessages.slice(-10); - finalMessages.push(...last10); - }); - // Sort by date - return finalMessages.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()); - } - async notifyOfflineUsers(chat, message) { - // Find users who are not currently connected - const offlineUsers = chat.users.filter(userId => userId !== message.userid && !this.connectedUsers.has(userId)); - // In a real implementation, you would send push notifications or emails here - if (offlineUsers.length > 0) { - (0, Logger_1.logRequest)('Offline users to notify', undefined, undefined, { - chatId: chat.id, - offlineUserCount: offlineUsers.length, - messageFrom: message.userid - }); - } - } - setupArchivingScheduler() { - // Run every hour to check for inactive chats - setInterval(async () => { - try { - // First, cleanup inactive chats from Redis and get their IDs - const inactiveChatIds = await this.redisService.cleanupInactiveChats(this.chatTimeout); - // Archive the inactive chats in the database - for (const chatId of inactiveChatIds) { - const chat = await this.chatRepository.findById(chatId); - if (chat) { - await this.chatRepository.archiveChat(chat); - (0, Logger_1.logRequest)('Chat archived due to inactivity', undefined, undefined, { - chatId: chat.id, - chatType: chat.type, - lastActivity: chat.lastActivity, - messageCount: chat.messages.length - }); - } - } - // Also find inactive chats from database that might not be in Redis - const dbInactiveChats = await this.chatRepository.findInactiveChats(this.chatTimeout); - const additionalInactiveChats = dbInactiveChats.filter(chat => !inactiveChatIds.includes(chat.id)); - for (const chat of additionalInactiveChats) { - await this.chatRepository.archiveChat(chat); - (0, Logger_1.logRequest)('Chat archived due to inactivity (from DB)', undefined, undefined, { - chatId: chat.id, - chatType: chat.type, - lastActivity: chat.lastActivity, - messageCount: chat.messages.length - }); - } - const totalArchived = inactiveChatIds.length + additionalInactiveChats.length; - if (totalArchived > 0) { - (0, Logger_1.logRequest)('Chat archiving completed', undefined, undefined, { - archivedCount: totalArchived, - redisCleanedUp: inactiveChatIds.length, - databaseCleanedUp: additionalInactiveChats.length, - timeoutMinutes: this.chatTimeout - }); - } - // Cleanup old messages from archived chats based on messageCleanupWeeks - await this.cleanupOldMessages(); - } - catch (error) { - (0, Logger_1.logError)('Error in chat archiving scheduler', error); - } - }, 60 * 60 * 1000); // 1 hour - // Also run message count cleanup every 5 minutes - setInterval(() => { - this.cleanupMessageCounts(); - }, 5 * 60 * 1000); // 5 minutes - } - // Public methods for game integration - async createGameChat(gameId, gameName, playerIds) { - try { - const existingGameChat = await this.chatRepository.findByGameId(gameId); - if (existingGameChat) { - return existingGameChat; - } - const gameChat = await this.chatRepository.create({ - type: ChatAggregate_1.ChatType.GAME, - name: gameName, - gameId: gameId, - users: playerIds, - messages: [], - lastActivity: new Date() - }); - // Notify connected players - playerIds.forEach(playerId => { - const playerSocket = this.connectedUsers.get(playerId); - if (playerSocket) { - playerSocket.join(gameChat.id); - playerSocket.emit('game:chat:created', { - chat: { - id: gameChat.id, - type: gameChat.type, - name: gameChat.name, - gameId: gameChat.gameId, - users: gameChat.users, - messages: [] - } - }); - } - }); - return gameChat; - } - catch (error) { - (0, Logger_1.logError)('Error creating game chat programmatically', error); - return null; - } - } - getConnectedUserCount() { - return this.connectedUsers.size; - } - isUserConnected(userId) { - return this.connectedUsers.has(userId); - } - async cleanup() { - try { - await this.redisService.disconnect(); - } - catch (error) { - (0, Logger_1.logError)('Error during WebSocket service cleanup', error); - } - } - /** - * Manually trigger cleanup of old messages and chats - * This can be called by admin endpoints for maintenance - */ - async triggerManualCleanup() { - try { - const cutoffDate = new Date(); - cutoffDate.setDate(cutoffDate.getDate() - (this.messageCleanupWeeks * 7)); - // Clean up old archived messages - const deletedArchivesCount = await this.chatArchiveRepository.cleanup(this.messageCleanupWeeks * 7); - // Clean up soft-deleted chats - const softDeletedChats = await this.chatRepository.findByPageIncludingDeleted(0, 1000); - let deletedChatsCount = 0; - for (const chat of softDeletedChats.chats) { - if (chat.state === 2 && chat.updateDate < cutoffDate) { // SOFT_DELETE state = 2 - await this.chatRepository.delete(chat.id); // Hard delete - deletedChatsCount++; - } - } - (0, Logger_1.logRequest)('Manual cleanup triggered', undefined, undefined, { - cutoffDate: cutoffDate.toISOString(), - cleanupWeeks: this.messageCleanupWeeks, - deletedArchives: deletedArchivesCount, - deletedChats: deletedChatsCount, - triggeredBy: 'manual' - }); - return { deletedArchives: deletedArchivesCount, deletedChats: deletedChatsCount }; - } - catch (error) { - (0, Logger_1.logError)('Error during manual cleanup', error); - throw error; - } - } - /** - * Clean up old messages from archived chats based on messageCleanupWeeks setting - */ - async cleanupOldMessages() { - try { - const cutoffDate = new Date(); - cutoffDate.setDate(cutoffDate.getDate() - (this.messageCleanupWeeks * 7)); - // Clean up old archived messages using ChatArchiveRepository - const deletedArchivesCount = await this.chatArchiveRepository.cleanup(this.messageCleanupWeeks * 7); - // Also clean up soft-deleted chats from the main repository - // Get all soft-deleted chats that are older than the cleanup period - const softDeletedChats = await this.chatRepository.findByPageIncludingDeleted(0, 1000); - let deletedChatsCount = 0; - for (const chat of softDeletedChats.chats) { - if (chat.state === 2 && chat.updateDate < cutoffDate) { // SOFT_DELETE state = 2 - await this.chatRepository.delete(chat.id); // Hard delete - deletedChatsCount++; - } - } - (0, Logger_1.logRequest)('Old message cleanup completed', undefined, undefined, { - cutoffDate: cutoffDate.toISOString(), - cleanupWeeks: this.messageCleanupWeeks, - deletedArchives: deletedArchivesCount, - deletedChats: deletedChatsCount, - note: 'Cleanup completed using both ChatRepository and ChatArchiveRepository' - }); - } - catch (error) { - (0, Logger_1.logError)('Error cleaning up old messages', error); - } - } - /** - * Check if user has exceeded message rate limit - * @param userId User ID to check - * @returns true if within limit, false if exceeded - */ - checkMessageRateLimit(userId) { - const now = Date.now(); - const minute = 60 * 1000; // 1 minute in milliseconds - const userStats = this.userMessageCounts.get(userId) || { count: 0, lastReset: now }; - // Reset counter if more than a minute has passed - if (now - userStats.lastReset >= minute) { - userStats.count = 0; - userStats.lastReset = now; - } - // Check if user is within limits - if (userStats.count >= this.maxMessagesPerUser) { - return false; - } - // Increment counter - userStats.count++; - this.userMessageCounts.set(userId, userStats); - return true; - } - /** - * Delete a specific message from chat history - * This can be used for moderation purposes - */ - async deleteMessage(chatId, messageId, moderatorUserId) { - try { - // Get the chat - const chat = await this.chatRepository.findById(chatId); - if (!chat) { - // Check archived chats - const archivedChat = await this.chatRepository.getArchivedChat(chatId); - if (!archivedChat) { - (0, Logger_1.logWarning)('Chat not found for message deletion', { - chatId, - messageId, - moderatorUserId - }); - return false; - } - // Remove message from archived chat - const updatedMessages = archivedChat.archivedMessages.filter(msg => msg.id !== messageId); - if (updatedMessages.length === archivedChat.archivedMessages.length) { - (0, Logger_1.logWarning)('Message not found in archived chat', { - chatId, - messageId, - moderatorUserId - }); - return false; - } - // Update archived chat - await this.chatArchiveRepository.create({ - ...archivedChat, - archivedMessages: updatedMessages - }); - (0, Logger_1.logAuth)('Message deleted from archived chat', moderatorUserId, { - chatId, - messageId, - originalMessageCount: archivedChat.archivedMessages.length, - newMessageCount: updatedMessages.length - }); - return true; - } - // Remove message from active chat - const updatedMessages = chat.messages.filter(msg => msg.id !== messageId); - if (updatedMessages.length === chat.messages.length) { - (0, Logger_1.logWarning)('Message not found in active chat', { - chatId, - messageId, - moderatorUserId - }); - return false; - } - // Update active chat - await this.chatRepository.update(chatId, { - messages: updatedMessages - }); - // Notify all users in the chat about message deletion - this.io.to(chatId).emit('message:deleted', { - chatId, - messageId, - deletedBy: moderatorUserId - }); - (0, Logger_1.logAuth)('Message deleted from active chat', moderatorUserId, { - chatId, - messageId, - originalMessageCount: chat.messages.length, - newMessageCount: updatedMessages.length - }); - return true; - } - catch (error) { - (0, Logger_1.logError)('Error deleting message', error); - return false; - } - } - /** - * Clean up old user message count entries (called periodically) - */ - cleanupMessageCounts() { - const now = Date.now(); - const minute = 60 * 1000; - for (const [userId, stats] of this.userMessageCounts.entries()) { - if (now - stats.lastReset >= minute * 5) { // Keep for 5 minutes - this.userMessageCounts.delete(userId); - } - } - } -} -exports.WebSocketService = WebSocketService; -//# sourceMappingURL=WebSocketService.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/Services/WebSocketService.js.map b/SerpentRace_Backend/dist/Application/Services/WebSocketService.js.map deleted file mode 100644 index 6c38c4c1..00000000 --- a/SerpentRace_Backend/dist/Application/Services/WebSocketService.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WebSocketService.js","sourceRoot":"","sources":["../../../src/Application/Services/WebSocketService.ts"],"names":[],"mappings":";;;AACA,yCAA6D;AAC7D,6CAAwD;AACxD,mFAAgF;AAChF,iGAA8F;AAC9F,mFAAgF;AAChF,mEAAiG;AACjG,mEAA4D;AAC5D,qCAAqE;AACrE,iDAA8D;AAC9D,+BAAoC;AA8CpC,MAAa,gBAAgB;IAazB,YAAY,UAAsB;QAN1B,mBAAc,GAAqC,IAAI,GAAG,EAAE,CAAC;QAI7D,sBAAiB,GAAsD,IAAI,GAAG,EAAE,CAAC;QAGrF,IAAI,CAAC,EAAE,GAAG,IAAI,kBAAc,CAAC,UAAU,EAAE;YACrC,IAAI,EAAE;gBACF,MAAM,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,uBAAuB,CAAC;gBACnF,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;gBACxB,WAAW,EAAE,IAAI;aACpB;SACJ,CAAC,CAAC;QAEH,IAAI,CAAC,UAAU,GAAG,IAAI,uBAAU,EAAE,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC;QAC3C,IAAI,CAAC,qBAAqB,GAAG,IAAI,6CAAqB,EAAE,CAAC;QACzD,IAAI,CAAC,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,2BAAY,CA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E,IAAI,CAAC,QAAQ,CAAC,MAAM;gBAC1C,eAAe,EAAE,eAAe,CAAC,MAAM;aAC1C,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QAEhB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,wBAAwB,EAAE,KAAc,CAAC,CAAC;YACnD,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;IAED;;OAEG;IACK,oBAAoB;QACxB,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACvB,MAAM,MAAM,GAAG,EAAE,GAAG,IAAI,CAAC;QAEzB,KAAK,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,CAAC;YAC7D,IAAI,GAAG,GAAG,KAAK,CAAC,SAAS,IAAI,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,qBAAqB;gBAC5D,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAC1C,CAAC;QACL,CAAC;IACL,CAAC;CACJ;AA9lCD,4CA8lCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.d.ts deleted file mode 100644 index f4603b43..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface CreateUserCommand { - username: string; - password: string; - email: string; - fname: string; - lname: string; - code?: string; - orgid?: string; - type: string; - phone?: string; -} -//# sourceMappingURL=CreateUserCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.d.ts.map deleted file mode 100644 index 01e6f1dc..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateUserCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/CreateUserCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.js b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.js deleted file mode 100644 index 22c16988..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=CreateUserCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.js.map deleted file mode 100644 index ef4224fe..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateUserCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/CreateUserCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.d.ts deleted file mode 100644 index 159c4773..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { CreateUserCommand } from './CreateUserCommand'; -import { ShortUserDto } from '../../DTOs/UserDto'; -export declare class CreateUserCommandHandler { - private readonly userRepo; - private emailService; - constructor(userRepo: IUserRepository); - execute(cmd: CreateUserCommand): Promise; -} -//# sourceMappingURL=CreateUserCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.d.ts.map deleted file mode 100644 index 67ddda54..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateUserCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/CreateUserCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAQlD,qBAAa,wBAAwB;IAGvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAFrC,OAAO,CAAC,YAAY,CAAe;gBAEN,QAAQ,EAAE,eAAe;IAIhD,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC;CAuE7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.js deleted file mode 100644 index 67ebc941..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.js +++ /dev/null @@ -1,74 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateUserCommandHandler = void 0; -const UserAggregate_1 = require("../../../Domain/User/UserAggregate"); -const UserMapper_1 = require("../../DTOs/Mappers/UserMapper"); -const PasswordService_1 = require("../../Services/PasswordService"); -const EmailService_1 = require("../../Services/EmailService"); -const TokenService_1 = require("../../Services/TokenService"); -const Logger_1 = require("../../Services/Logger"); -class CreateUserCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - this.emailService = new EmailService_1.EmailService(); - } - async execute(cmd) { - try { - // Validate password strength - const passwordValidation = PasswordService_1.PasswordService.validatePasswordStrength(cmd.password); - if (!passwordValidation.isValid) { - throw new Error(`Password validation failed: ${passwordValidation.errors.join(', ')}`); - } - const user = new UserAggregate_1.UserAggregate(); - user.username = cmd.username; - // Hash the password before storing - user.password = await PasswordService_1.PasswordService.hashPassword(cmd.password); - // Generate verification token - const verificationTokenData = TokenService_1.TokenService.generateVerificationToken(); - user.token = await TokenService_1.TokenService.hashToken(verificationTokenData.token); - user.TokenExpires = verificationTokenData.expiresAt; - user.email = cmd.email; - user.fname = cmd.fname; - user.lname = cmd.lname; - user.orgid = cmd.orgid || null; - user.token = cmd.code || null; - user.type = cmd.type; - user.phone = cmd.phone || null; - user.state = UserAggregate_1.UserState.REGISTERED_NOT_VERIFIED; - const created = await this.userRepo.create(user); - // Send verification email - try { - const baseUrl = process.env.APP_BASE_URL || 'http://localhost:3000'; - const verificationUrl = TokenService_1.TokenService.generateVerificationUrl(baseUrl, verificationTokenData.token); - const emailSent = await this.emailService.sendVerificationEmail(created.email, `${created.fname} ${created.lname}`, verificationTokenData.token, verificationUrl); - if (!emailSent) { - (0, Logger_1.logWarning)('Failed to send verification email', { email: created.email, userId: created.id }); - // Don't throw error - user creation should still succeed even if email fails - } - else { - (0, Logger_1.logAuth)('Verification email sent successfully', created.id, { email: created.email }); - } - } - catch (emailError) { - (0, Logger_1.logError)('Error sending verification email', emailError); - // Don't throw error - user creation should still succeed even if email fails - } - return UserMapper_1.UserMapper.toShortDto(created); - } - catch (error) { - (0, Logger_1.logError)('CreateUserCommandHandler error', error); - // Re-throw validation errors as-is - if (error instanceof Error && error.message.includes('Password validation failed')) { - throw error; - } - // Handle database constraint errors - if (error instanceof Error && (error.message.includes('duplicate') || error.message.includes('unique'))) { - throw new Error('User with this username or email already exists'); - } - // Generic error for other cases - throw new Error('Failed to create user'); - } - } -} -exports.CreateUserCommandHandler = CreateUserCommandHandler; -//# sourceMappingURL=CreateUserCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.js.map deleted file mode 100644 index 77073d8b..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/CreateUserCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateUserCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/CreateUserCommandHandler.ts"],"names":[],"mappings":";;;AAGA,sEAA8E;AAC9E,8DAA2D;AAC3D,oEAAiE;AACjE,8DAA2D;AAC3D,8DAA2D;AAC3D,kDAAmF;AAEnF,MAAa,wBAAwB;IAGnC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAY,EAAE,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,GAAsB;QAClC,IAAI,CAAC;YACH,6BAA6B;YAC7B,MAAM,kBAAkB,GAAG,iCAAe,CAAC,wBAAwB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAClF,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;gBAChC,MAAM,IAAI,KAAK,CAAC,+BAA+B,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACzF,CAAC;YAED,MAAM,IAAI,GAAG,IAAI,6BAAa,EAAE,CAAC;YACjC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;YAE7B,mCAAmC;YACnC,IAAI,CAAC,QAAQ,GAAG,MAAM,iCAAe,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ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,SAAS,EAAE,CAAC;oBACf,IAAA,mBAAU,EAAC,mCAAmC,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;oBAC9F,6EAA6E;gBAC/E,CAAC;qBAAM,CAAC;oBACN,IAAA,gBAAO,EAAC,sCAAsC,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;gBACxF,CAAC;YACH,CAAC;YAAC,OAAO,UAAU,EAAE,CAAC;gBACpB,IAAA,iBAAQ,EAAC,kCAAkC,EAAE,UAAmB,CAAC,CAAC;gBAClE,6EAA6E;YAC/E,CAAC;YAED,OAAO,uBAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,gCAAgC,EAAE,KAAc,CAAC,CAAC;YAE3D,mCAAmC;YACnC,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC,EAAE,CAAC;gBACnF,MAAM,KAAK,CAAC;YACd,CAAC;YAED,oCAAoC;YACpC,IAAI,KAAK,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;gBACxG,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;YACrE,CAAC;YAED,gCAAgC;YAChC,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;CACF;AA9ED,4DA8EC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.d.ts deleted file mode 100644 index cd25211a..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface DeactivateUserCommand { - id: string; -} -//# sourceMappingURL=DeactivateUserCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.d.ts.map deleted file mode 100644 index 0fdc3524..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeactivateUserCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeactivateUserCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.js b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.js deleted file mode 100644 index 3f6302d5..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=DeactivateUserCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.js.map deleted file mode 100644 index 728a3747..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeactivateUserCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeactivateUserCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.d.ts deleted file mode 100644 index 25e0068d..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { DeactivateUserCommand } from './DeactivateUserCommand'; -export declare class DeactivateUserCommandHandler { - private readonly userRepo; - constructor(userRepo: IUserRepository); - execute(cmd: DeactivateUserCommand): Promise; -} -//# sourceMappingURL=DeactivateUserCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.d.ts.map deleted file mode 100644 index 5d7aa9f1..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeactivateUserCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeactivateUserCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBAAa,4BAA4B;IAC3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,GAAG,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC;CAI5D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.js deleted file mode 100644 index d30caa56..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeactivateUserCommandHandler = void 0; -class DeactivateUserCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(cmd) { - await this.userRepo.deactivate(cmd.id); - return true; - } -} -exports.DeactivateUserCommandHandler = DeactivateUserCommandHandler; -//# sourceMappingURL=DeactivateUserCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.js.map deleted file mode 100644 index 6c87c0c1..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeactivateUserCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeactivateUserCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeactivateUserCommandHandler.ts"],"names":[],"mappings":";;;AAIA,MAAa,4BAA4B;IACvC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,GAA0B;QACtC,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACvC,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAPD,oEAOC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.d.ts deleted file mode 100644 index 38077b8f..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface DeleteUserCommand { - id: string; - soft?: boolean; -} -//# sourceMappingURL=DeleteUserCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.d.ts.map deleted file mode 100644 index a9331a4d..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteUserCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeleteUserCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.js b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.js deleted file mode 100644 index 6d9f8c49..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=DeleteUserCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.js.map deleted file mode 100644 index 96340b7c..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteUserCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeleteUserCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.d.ts deleted file mode 100644 index e2b25754..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { DeleteUserCommand } from './DeleteUserCommand'; -export declare class DeleteUserCommandHandler { - private readonly userRepo; - constructor(userRepo: IUserRepository); - execute(cmd: DeleteUserCommand): Promise; -} -//# sourceMappingURL=DeleteUserCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.d.ts.map deleted file mode 100644 index 41b3177c..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteUserCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeleteUserCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,qBAAa,wBAAwB;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC;CAQxD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.js deleted file mode 100644 index cae8f506..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteUserCommandHandler = void 0; -class DeleteUserCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(cmd) { - if (cmd.soft) { - await this.userRepo.softDelete(cmd.id); - } - else { - await this.userRepo.delete(cmd.id); - } - return true; - } -} -exports.DeleteUserCommandHandler = DeleteUserCommandHandler; -//# sourceMappingURL=DeleteUserCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.js.map deleted file mode 100644 index a53a2f77..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/DeleteUserCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeleteUserCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/DeleteUserCommandHandler.ts"],"names":[],"mappings":";;;AAIA,MAAa,wBAAwB;IACnC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,GAAsB;QAClC,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;YACb,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACrC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAXD,4DAWC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.d.ts deleted file mode 100644 index d9120a59..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface LoginCommand { - username: string; - password: string; -} -//# sourceMappingURL=LoginCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.d.ts.map deleted file mode 100644 index 29127c59..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoginCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/LoginCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.js b/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.js deleted file mode 100644 index 1c9c929a..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=LoginCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.js.map deleted file mode 100644 index f4f29b5c..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoginCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/LoginCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.d.ts deleted file mode 100644 index ea1bf42a..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { IOrganizationRepository } from '../../../Domain/IRepository/IOrganizationRepository'; -import { LoginCommand } from './LoginCommand'; -import { ShortUserDto } from '../../DTOs/UserDto'; -import { JWTService } from '../../Services/JWTService'; -export interface LoginResponse { - user: ShortUserDto; - token: string; - requiresOrgReauth?: boolean; - orgLoginUrl?: string; - organizationName?: string; -} -export declare class LoginCommandHandler { - private readonly userRepo; - private readonly jwtService; - private readonly orgRepo; - constructor(userRepo: IUserRepository, jwtService: JWTService, orgRepo: IOrganizationRepository); - execute(cmd: LoginCommand): Promise; -} -//# sourceMappingURL=LoginCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.d.ts.map deleted file mode 100644 index f14bf5f2..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoginCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/LoginCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,qBAAa,mBAAmB;IAE5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAFP,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,uBAAuB;IAG7C,OAAO,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;CAkIhE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.js deleted file mode 100644 index ed3f89d8..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LoginCommandHandler = void 0; -const UserMapper_1 = require("../../DTOs/Mappers/UserMapper"); -const PasswordService_1 = require("../../Services/PasswordService"); -const UserAggregate_1 = require("../../../Domain/User/UserAggregate"); -const Logger_1 = require("../../Services/Logger"); -class LoginCommandHandler { - constructor(userRepo, jwtService, orgRepo) { - this.userRepo = userRepo; - this.jwtService = jwtService; - this.orgRepo = orgRepo; - } - async execute(cmd) { - const startTime = Date.now(); - try { - (0, Logger_1.logAuth)('Login attempt', undefined, { username: cmd.username }); - const user = await this.userRepo.findByUsername(cmd.username) || - await this.userRepo.findByEmail(cmd.username); - (0, Logger_1.logDatabase)('User lookup completed', undefined, Date.now() - startTime, { - found: !!user, - searchBy: cmd.username.includes('@') ? 'email' : 'username' - }); - if (!user) { - (0, Logger_1.logAuth)('Login failed - User not found', undefined, { username: cmd.username }); - return null; - } - try { - const passwordStartTime = Date.now(); - const isPasswordValid = await PasswordService_1.PasswordService.verifyPassword(cmd.password, user.password); - (0, Logger_1.logAuth)('Password verification completed', user.id, { - valid: isPasswordValid, - verificationTime: Date.now() - passwordStartTime - }); - if (!isPasswordValid) { - (0, Logger_1.logWarning)('Login failed - Invalid password', { - userId: user.id, - username: cmd.username - }); - return null; - } - } - catch (error) { - (0, Logger_1.logError)('Password verification error', error); - return null; - } - const mockRes = { - cookie: () => { } - }; - const tokenPayload = { - userId: user.id, - authLevel: (user.state === UserAggregate_1.UserState.ADMIN ? 1 : 0), - userStatus: user.state, - orgId: user.orgid || '' - }; - try { - const token = this.jwtService.create(tokenPayload, mockRes); - // Check if user belongs to an organization and needs reauthentication - let requiresOrgReauth = false; - let orgLoginUrl; - let organizationName; - if (user.orgid) { - const organization = await this.orgRepo.findById(user.orgid); - if (organization) { - organizationName = organization.name; - // Check if user has logged in to organization within the last month - const oneMonthAgo = new Date(); - oneMonthAgo.setMonth(oneMonthAgo.getMonth() - 1); - const needsReauth = !user.Orglogindate || user.Orglogindate < oneMonthAgo; - if (needsReauth && organization.url) { - requiresOrgReauth = true; - orgLoginUrl = organization.url; - (0, Logger_1.logAuth)('User requires organization reauthentication', user.id, { - organizationId: user.orgid, - organizationName: organization.name, - lastOrgLogin: user.Orglogindate?.toISOString() || 'never', - orgLoginUrl: organization.url - }); - } - } - } - (0, Logger_1.logAuth)('Login successful', user.id, { - authLevel: tokenPayload.authLevel, - userStatus: tokenPayload.userStatus, - orgId: tokenPayload.orgId, - requiresOrgReauth, - organizationName, - totalLoginTime: Date.now() - startTime - }); - const response = { - user: UserMapper_1.UserMapper.toShortDto(user), - token - }; - if (requiresOrgReauth) { - response.requiresOrgReauth = true; - response.orgLoginUrl = orgLoginUrl; - response.organizationName = organizationName; - } - return response; - } - catch (error) { - (0, Logger_1.logError)('Token creation failed during login', error); - throw new Error('Login failed due to internal error'); - } - } - catch (error) { - if (error instanceof Error) { - (0, Logger_1.logError)('Login handler error', error); - // Handle database connection errors - if (error.message.includes('database connection')) { - (0, Logger_1.logDatabase)('Database connection error during login', undefined, Date.now() - startTime); - throw new Error('Database connection error'); - } - // If it's already a properly formatted error, re-throw it - if (error.message === 'Login failed due to internal error' || - error.message === 'Database connection error') { - throw error; - } - } - // Default database error handling - (0, Logger_1.logDatabase)('Unexpected database error during login', undefined, Date.now() - startTime); - throw new Error('Database connection error'); - } - } -} -exports.LoginCommandHandler = LoginCommandHandler; -//# sourceMappingURL=LoginCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.js.map deleted file mode 100644 index f6ed5860..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/LoginCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoginCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/LoginCommandHandler.ts"],"names":[],"mappings":";;;AAIA,8DAA2D;AAC3D,oEAAiE;AAEjE,sEAA+D;AAC/D,kDAAmF;AAUnF,MAAa,mBAAmB;IAC9B,YACmB,QAAyB,EACzB,UAAsB,EACtB,OAAgC;QAFhC,aAAQ,GAAR,QAAQ,CAAiB;QACzB,eAAU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YAClB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAA,iBAAQ,EAAC,oCAAoC,EAAE,KAAc,CAAC,CAAC;gBAC/D,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;YACxD,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;gBAC3B,IAAA,iBAAQ,EAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;gBAEvC,oCAAoC;gBACpC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,CAAC;oBAClD,IAAA,oBAAW,EAAC,wCAAwC,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,CAAC;oBACzF,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;gBAC/C,CAAC;gBAED,0DAA0D;gBAC1D,IAAI,KAAK,CAAC,OAAO,KAAK,oCAAoC;oBACtD,KAAK,CAAC,OAAO,KAAK,2BAA2B,EAAE,CAAC;oBAClD,MAAM,KAAK,CAAC;gBACd,CAAC;YACH,CAAC;YACD,kCAAkC;YAClC,IAAA,oBAAW,EAAC,wCAAwC,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,CAAC;YACzF,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAzID,kDAyIC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.d.ts deleted file mode 100644 index a8ff2460..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface RequestPasswordResetCommand { - email: string; -} -//# sourceMappingURL=RequestPasswordResetCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.d.ts.map deleted file mode 100644 index 08afb3cf..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RequestPasswordResetCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/RequestPasswordResetCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;CACf"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.js b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.js deleted file mode 100644 index 619ccf0a..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=RequestPasswordResetCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.js.map deleted file mode 100644 index 47fe24dc..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RequestPasswordResetCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/RequestPasswordResetCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.d.ts deleted file mode 100644 index a1e725a9..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RequestPasswordResetCommand } from './RequestPasswordResetCommand'; -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -export declare class RequestPasswordResetCommandHandler { - private userRepo; - private emailService; - constructor(userRepo: IUserRepository); - execute(cmd: RequestPasswordResetCommand): Promise; -} -//# sourceMappingURL=RequestPasswordResetCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.d.ts.map deleted file mode 100644 index ff82f640..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RequestPasswordResetCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/RequestPasswordResetCommandHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAK9E,qBAAa,kCAAkC;IAGjC,OAAO,CAAC,QAAQ;IAF5B,OAAO,CAAC,YAAY,CAAe;gBAEf,QAAQ,EAAE,eAAe;IAIvC,OAAO,CAAC,GAAG,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC;CAsDlE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.js deleted file mode 100644 index 26090cf3..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RequestPasswordResetCommandHandler = void 0; -const EmailService_1 = require("../../Services/EmailService"); -const TokenService_1 = require("../../Services/TokenService"); -const Logger_1 = require("../../Services/Logger"); -class RequestPasswordResetCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - this.emailService = new EmailService_1.EmailService(); - } - async execute(cmd) { - try { - if (!cmd.email) { - throw new Error('Email is required'); - } - // Find user by email - const user = await this.userRepo.findByEmail(cmd.email); - if (!user) { - // Don't reveal if user exists or not for security reasons - // Still return true but don't send email - (0, Logger_1.logAuth)(`Password reset requested for non-existent email: ${cmd.email}`); - return true; - } - // Generate password reset token - const resetTokenData = TokenService_1.TokenService.generatePasswordResetToken(); - // Update user with reset token - user.token = await TokenService_1.TokenService.hashToken(resetTokenData.token); - user.TokenExpires = resetTokenData.expiresAt; - await this.userRepo.update(user.id, user); - // Send password reset email - try { - const baseUrl = process.env.APP_BASE_URL || 'http://localhost:3000'; - const resetUrl = TokenService_1.TokenService.generatePasswordResetUrl(baseUrl, resetTokenData.token); - const emailSent = await this.emailService.sendPasswordResetEmail(user.email, `${user.fname} ${user.lname}`, resetTokenData.token, resetUrl); - if (!emailSent) { - (0, Logger_1.logWarning)(`Failed to send password reset email to ${user.email}`); - // Don't throw error - request should still succeed even if email fails - } - else { - (0, Logger_1.logAuth)(`Password reset email sent successfully to ${user.email}`); - } - } - catch (emailError) { - (0, Logger_1.logError)('Error sending password reset email', emailError instanceof Error ? emailError : new Error(String(emailError))); - // Don't throw error - request should still succeed even if email fails - } - return true; - } - catch (error) { - (0, Logger_1.logError)('Password reset request error', error instanceof Error ? error : new Error(String(error))); - throw error; - } - } -} -exports.RequestPasswordResetCommandHandler = RequestPasswordResetCommandHandler; -//# sourceMappingURL=RequestPasswordResetCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.js.map deleted file mode 100644 index 53d6e839..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/RequestPasswordResetCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RequestPasswordResetCommandHandler.js","sourceRoot":"","sources":["../../../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tF,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAC9D,IAAI,CAAC,KAAK,EACV,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,EAAE,EAC7B,cAAc,CAAC,KAAK,EACpB,QAAQ,CACT,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,IAAA,mBAAU,EAAC,0CAA0C,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;oBACnE,uEAAuE;gBACzE,CAAC;qBAAM,CAAC;oBACN,IAAA,gBAAO,EAAC,6CAA6C,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;gBACrE,CAAC;YACH,CAAC;YAAC,OAAO,UAAU,EAAE,CAAC;gBACpB,IAAA,iBAAQ,EAAC,oCAAoC,EAAE,UAAU,YAAY,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;gBACzH,uEAAuE;YACzE,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,8BAA8B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACpG,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;CACF;AA7DD,gFA6DC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.d.ts deleted file mode 100644 index 9c656982..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface ResetPasswordCommand { - token: string; - newPassword: string; -} -//# sourceMappingURL=ResetPasswordCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.d.ts.map deleted file mode 100644 index e2bc2df2..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ResetPasswordCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/ResetPasswordCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.js b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.js deleted file mode 100644 index cbe6b3e7..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=ResetPasswordCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.js.map deleted file mode 100644 index e796182e..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ResetPasswordCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/ResetPasswordCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.d.ts deleted file mode 100644 index ab485d00..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ResetPasswordCommand } from './ResetPasswordCommand'; -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -export declare class ResetPasswordCommandHandler { - private userRepo; - constructor(userRepo: IUserRepository); - execute(cmd: ResetPasswordCommand): Promise; -} -//# sourceMappingURL=ResetPasswordCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.d.ts.map deleted file mode 100644 index aacae54b..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ResetPasswordCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/ResetPasswordCommandHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAK9E,qBAAa,2BAA2B;IAC1B,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEvC,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;CA+C3D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.js deleted file mode 100644 index c414e88d..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ResetPasswordCommandHandler = void 0; -const TokenService_1 = require("../../Services/TokenService"); -const PasswordService_1 = require("../../Services/PasswordService"); -const Logger_1 = require("../../Services/Logger"); -class ResetPasswordCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(cmd) { - try { - if (!cmd.token) { - throw new Error('Reset token is required'); - } - if (!cmd.newPassword) { - throw new Error('New password is required'); - } - // Validate password strength - const validation = PasswordService_1.PasswordService.validatePasswordStrength(cmd.newPassword); - if (!validation.isValid) { - throw new Error(`Password validation failed: ${validation.errors.join(', ')}`); - } - // Hash the token to compare with stored value - const hashedToken = await TokenService_1.TokenService.hashToken(cmd.token); - // Find user with this password reset token - const user = await this.userRepo.findByToken(hashedToken); - if (!user) { - throw new Error('Invalid or expired reset token'); - } - // Check if token is expired - if (user.TokenExpires && user.TokenExpires < new Date()) { - throw new Error('Reset token has expired'); - } - // Hash the new password - const hashedPassword = await PasswordService_1.PasswordService.hashPassword(cmd.newPassword); - // Update user password and clear reset token - user.password = hashedPassword; - user.token = null; - user.TokenExpires = null; - await this.userRepo.update(user.id, user); - return true; - } - catch (error) { - (0, Logger_1.logError)('Password reset error', error instanceof Error ? error : new Error(String(error))); - throw error; - } - } -} -exports.ResetPasswordCommandHandler = ResetPasswordCommandHandler; -//# sourceMappingURL=ResetPasswordCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.js.map deleted file mode 100644 index 8695d83d..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/ResetPasswordCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ResetPasswordCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/ResetPasswordCommandHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAC3D,oEAAiE;AACjE,kDAAiD;AAEjD,MAAa,2BAA2B;IACtC,YAAoB,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAEjD,KAAK,CAAC,OAAO,CAAC,GAAyB;QACrC,IAAI,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;YAC7C,CAAC;YAED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K,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,sBAAsB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC5F,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;CACF;AAlDD,kEAkDC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.d.ts deleted file mode 100644 index 36afce54..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface UpdateUserCommand { - id: string; - orgid?: string; - username?: string; - password?: string; - email?: string; - fname?: string; - lname?: string; - code?: string; - type?: string; - phone?: string; - state?: number; -} -//# sourceMappingURL=UpdateUserCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.d.ts.map deleted file mode 100644 index 9b96563f..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateUserCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/UpdateUserCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.js b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.js deleted file mode 100644 index 01fb2e59..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=UpdateUserCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.js.map deleted file mode 100644 index 526ebf6e..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateUserCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/UpdateUserCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.d.ts deleted file mode 100644 index a8becc6f..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { UpdateUserCommand } from './UpdateUserCommand'; -import { ShortUserDto } from '../../DTOs/UserDto'; -export declare class UpdateUserCommandHandler { - private readonly userRepo; - constructor(userRepo: IUserRepository); - execute(cmd: UpdateUserCommand): Promise; -} -//# sourceMappingURL=UpdateUserCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.d.ts.map deleted file mode 100644 index 68a7b0f5..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateUserCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/UpdateUserCommandHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIlD,qBAAa,wBAAwB;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;CAkBpE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.js deleted file mode 100644 index 48e89a36..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateUserCommandHandler = void 0; -const UserMapper_1 = require("../../DTOs/Mappers/UserMapper"); -const PasswordService_1 = require("../../Services/PasswordService"); -class UpdateUserCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(cmd) { - const updateData = { ...cmd }; - // Hash the password if it's being updated - if (cmd.password) { - // Validate password strength - const passwordValidation = PasswordService_1.PasswordService.validatePasswordStrength(cmd.password); - if (!passwordValidation.isValid) { - throw new Error(`Password validation failed: ${passwordValidation.errors.join(', ')}`); - } - updateData.password = await PasswordService_1.PasswordService.hashPassword(cmd.password); - } - const updated = await this.userRepo.update(cmd.id, updateData); - if (!updated) - return null; - return UserMapper_1.UserMapper.toShortDto(updated); - } -} -exports.UpdateUserCommandHandler = UpdateUserCommandHandler; -//# sourceMappingURL=UpdateUserCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.js.map deleted file mode 100644 index 908e6f9e..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/UpdateUserCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateUserCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/UpdateUserCommandHandler.ts"],"names":[],"mappings":";;;AAIA,8DAA2D;AAC3D,oEAAiE;AAEjE,MAAa,wBAAwB;IACnC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,GAAsB;QAClC,MAAM,UAAU,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC;QAE9B,0CAA0C;QAC1C,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;YACjB,6BAA6B;YAC7B,MAAM,kBAAkB,GAAG,iCAAe,CAAC,wBAAwB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAClF,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;gBAChC,MAAM,IAAI,KAAK,CAAC,+BAA+B,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACzF,CAAC;YAED,UAAU,CAAC,QAAQ,GAAG,MAAM,iCAAe,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACzE,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;QAC/D,IAAI,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC1B,OAAO,uBAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;CACF;AArBD,4DAqBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.d.ts b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.d.ts deleted file mode 100644 index cf28fa54..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface VerifyEmailCommand { - token: string; -} -//# sourceMappingURL=VerifyEmailCommand.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.d.ts.map deleted file mode 100644 index d4bf431d..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VerifyEmailCommand.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/VerifyEmailCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;CACf"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.js b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.js deleted file mode 100644 index cfd1fe4d..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=VerifyEmailCommand.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.js.map b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.js.map deleted file mode 100644 index 13e82a02..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VerifyEmailCommand.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/VerifyEmailCommand.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.d.ts b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.d.ts deleted file mode 100644 index 2cf6bce7..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { VerifyEmailCommand } from './VerifyEmailCommand'; -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -export declare class VerifyEmailCommandHandler { - private userRepo; - constructor(userRepo: IUserRepository); - execute(cmd: VerifyEmailCommand): Promise; -} -//# sourceMappingURL=VerifyEmailCommandHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.d.ts.map deleted file mode 100644 index 0d222913..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VerifyEmailCommandHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/commands/VerifyEmailCommandHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAK9E,qBAAa,yBAAyB;IACxB,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEvC,OAAO,CAAC,GAAG,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAkCzD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.js b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.js deleted file mode 100644 index 517df5a3..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.VerifyEmailCommandHandler = void 0; -const TokenService_1 = require("../../Services/TokenService"); -const UserAggregate_1 = require("../../../Domain/User/UserAggregate"); -const Logger_1 = require("../../Services/Logger"); -class VerifyEmailCommandHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(cmd) { - try { - if (!cmd.token) { - throw new Error('Verification token is required'); - } - // Hash the token to compare with stored value - const hashedToken = await TokenService_1.TokenService.hashToken(cmd.token); - // Find user with this verification token - const user = await this.userRepo.findByToken(hashedToken); - if (!user) { - throw new Error('Invalid or expired verification token'); - } - // Check if token is expired - if (user.TokenExpires && user.TokenExpires < new Date()) { - throw new Error('Verification token has expired'); - } - // Update user verification status - user.token = null; - user.TokenExpires = null; - user.state = UserAggregate_1.UserState.VERIFIED_REGULAR; - await this.userRepo.update(user.id, user); - return true; - } - catch (error) { - (0, Logger_1.logError)('Email verification error', error instanceof Error ? error : new Error(String(error))); - throw error; - } - } -} -exports.VerifyEmailCommandHandler = VerifyEmailCommandHandler; -//# sourceMappingURL=VerifyEmailCommandHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.js.map b/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.js.map deleted file mode 100644 index 9c707912..00000000 --- a/SerpentRace_Backend/dist/Application/User/commands/VerifyEmailCommandHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VerifyEmailCommandHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/commands/VerifyEmailCommandHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAC3D,sEAA+D;AAC/D,kDAAiD;AAEjD,MAAa,yBAAyB;IACpC,YAAoB,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAEjD,KAAK,CAAC,OAAO,CAAC,GAAuB;QACnC,IAAI,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;YACpD,CAAC;YAED,8CAA8C;YAC9C,MAAM,WAAW,GAAG,MAAM,2BAAY,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAE5D,yCAAyC;YACzC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;YAE1D,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;YAC3D,CAAC;YAED,4BAA4B;YAC5B,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,EAAE,CAAC;gBACxD,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;YACpD,CAAC;YAED,kCAAkC;YAClC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;YACzB,IAAI,CAAC,KAAK,GAAG,yBAAS,CAAC,gBAAgB,CAAC;YAExC,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;YAE1C,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,0BAA0B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAChG,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;CACF;AArCD,8DAqCC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.d.ts b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.d.ts deleted file mode 100644 index 5fe3756d..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface GetUserByIdQuery { - id: string; -} -//# sourceMappingURL=GetUserByIdQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.d.ts.map b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.d.ts.map deleted file mode 100644 index a72115c9..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUserByIdQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUserByIdQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;CACZ"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.js b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.js deleted file mode 100644 index 44a291f9..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetUserByIdQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.js.map b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.js.map deleted file mode 100644 index 8fc43506..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUserByIdQuery.js","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUserByIdQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.d.ts deleted file mode 100644 index 46254eed..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { GetUserByIdQuery } from './GetUserByIdQuery'; -import { ShortUserDto } from '../../DTOs/UserDto'; -export declare class GetUserByIdQueryHandler { - private readonly userRepo; - constructor(userRepo: IUserRepository); - execute(query: GetUserByIdQuery): Promise; -} -//# sourceMappingURL=GetUserByIdQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.d.ts.map deleted file mode 100644 index 53a9a43e..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUserByIdQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUserByIdQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIlD,qBAAa,uBAAuB;IACtB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;CAsBrE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.js b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.js deleted file mode 100644 index d2a157c3..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetUserByIdQueryHandler = void 0; -const UserMapper_1 = require("../../DTOs/Mappers/UserMapper"); -const Logger_1 = require("../../Services/Logger"); -class GetUserByIdQueryHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(query) { - try { - const user = await this.userRepo.findById(query.id); - if (!user) - return null; - return UserMapper_1.UserMapper.toShortDto(user); - } - catch (error) { - (0, Logger_1.logError)('GetUserByIdQueryHandler error', error instanceof Error ? error : new Error(String(error))); - // Handle invalid ID format - if (error instanceof Error && error.message.includes('invalid') && error.message.includes('uuid')) { - return null; // Treat invalid UUID as not found - } - // Handle database errors - if (error instanceof Error && error.message.includes('database')) { - throw new Error('Database connection error'); - } - // Generic error for other cases - throw new Error('Failed to retrieve user'); - } - } -} -exports.GetUserByIdQueryHandler = GetUserByIdQueryHandler; -//# sourceMappingURL=GetUserByIdQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.js.map b/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.js.map deleted file mode 100644 index 56245d68..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUserByIdQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUserByIdQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUserByIdQueryHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAC3D,kDAAiD;AAEjD,MAAa,uBAAuB;IAClC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAAC,OAAO,CAAC,KAAuB;QACnC,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACpD,IAAI,CAAC,IAAI;gBAAE,OAAO,IAAI,CAAC;YACvB,OAAO,uBAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACrC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,+BAA+B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAErG,2BAA2B;YAC3B,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClG,OAAO,IAAI,CAAC,CAAC,kCAAkC;YACjD,CAAC;YAED,yBAAyB;YACzB,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;gBACjE,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;YAC/C,CAAC;YAED,gCAAgC;YAChC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;CACF;AAzBD,0DAyBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.d.ts b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.d.ts deleted file mode 100644 index a570b1e4..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface GetUsersByPageQuery { - from: number; - to: number; - includeDeleted?: boolean; -} -//# sourceMappingURL=GetUsersByPageQuery.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.d.ts.map b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.d.ts.map deleted file mode 100644 index bf447d19..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUsersByPageQuery.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUsersByPageQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.js b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.js deleted file mode 100644 index 8672699e..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=GetUsersByPageQuery.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.js.map b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.js.map deleted file mode 100644 index 2989ee22..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQuery.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUsersByPageQuery.js","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUsersByPageQuery.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.d.ts b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.d.ts deleted file mode 100644 index f8c71d49..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IUserRepository } from '../../../Domain/IRepository/IUserRepository'; -import { GetUsersByPageQuery } from './GetUsersByPageQuery'; -import { ShortUserDto } from '../../DTOs/UserDto'; -export declare class GetUsersByPageQueryHandler { - private readonly userRepo; - constructor(userRepo: IUserRepository); - execute(query: GetUsersByPageQuery): Promise<{ - users: ShortUserDto[]; - totalCount: number; - }>; -} -//# sourceMappingURL=GetUsersByPageQueryHandler.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.d.ts.map b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.d.ts.map deleted file mode 100644 index 1ae4b293..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUsersByPageQueryHandler.d.ts","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUsersByPageQueryHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIlD,qBAAa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,eAAe;IAEhD,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,YAAY,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CAkDlG"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.js b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.js deleted file mode 100644 index 9a6aafb6..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.js +++ /dev/null @@ -1,55 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetUsersByPageQueryHandler = void 0; -const UserMapper_1 = require("../../DTOs/Mappers/UserMapper"); -const Logger_1 = require("../../Services/Logger"); -class GetUsersByPageQueryHandler { - constructor(userRepo) { - this.userRepo = userRepo; - } - async execute(query) { - try { - // Validate pagination parameters - if (query.from < 0 || query.to < query.from) { - throw new Error('Invalid pagination parameters'); - } - const limit = query.to - query.from + 1; - if (limit > 100) { - throw new Error('Page size too large. Maximum 100 records per request'); - } - (0, Logger_1.logRequest)('Get users by page query started', undefined, undefined, { - from: query.from, - to: query.to, - includeDeleted: query.includeDeleted || false - }); - const result = query.includeDeleted - ? await this.userRepo.findByPageIncludingDeleted(query.from, query.to) - : await this.userRepo.findByPage(query.from, query.to); - (0, Logger_1.logRequest)('Get users by page query completed', undefined, undefined, { - from: query.from, - to: query.to, - returned: result.users.length, - totalCount: result.totalCount, - includeDeleted: query.includeDeleted || false - }); - return { - users: UserMapper_1.UserMapper.toShortDtoList(result.users), - totalCount: result.totalCount - }; - } - catch (error) { - (0, Logger_1.logError)('GetUsersByPageQueryHandler error', error instanceof Error ? error : new Error(String(error))); - // Handle database errors - if (error instanceof Error && error.message.includes('database')) { - throw new Error('Database connection error'); - } - // Re-throw validation errors as-is - if (error instanceof Error && (error.message.includes('Invalid pagination') || error.message.includes('Page size'))) { - throw error; - } - throw new Error('Failed to retrieve users'); - } - } -} -exports.GetUsersByPageQueryHandler = GetUsersByPageQueryHandler; -//# sourceMappingURL=GetUsersByPageQueryHandler.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.js.map b/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.js.map deleted file mode 100644 index 035a1b02..00000000 --- a/SerpentRace_Backend/dist/Application/User/queries/GetUsersByPageQueryHandler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetUsersByPageQueryHandler.js","sourceRoot":"","sources":["../../../../src/Application/User/queries/GetUsersByPageQueryHandler.ts"],"names":[],"mappings":";;;AAGA,8DAA2D;AAC3D,kDAA6D;AAE7D,MAAa,0BAA0B;IACrC,YAA6B,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAAG,CAAC;IAE1D,KAAK,CAA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Ac,CAAC,MAAM,CAAC,KAAK,CAAC;gBAC9C,UAAU,EAAE,MAAM,CAAC,UAAU;aAC9B,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAA,iBAAQ,EAAC,kCAAkC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAExG,yBAAyB;YACzB,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;gBACjE,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;YAC/C,CAAC;YAED,mCAAmC;YACnC,IAAI,KAAK,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;gBACpH,MAAM,KAAK,CAAC;YACd,CAAC;YAED,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;CACF;AArDD,gEAqDC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.d.ts b/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.d.ts deleted file mode 100644 index a9f8d58e..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface Message { - id: string; - date: Date; - userid: string; - text: string; -} -export declare const ChatState: { - readonly ACTIVE: 0; - readonly ARCHIVE: 1; - readonly SOFT_DELETE: 2; -}; -export type ChatStateType = typeof ChatState[keyof typeof ChatState]; -export declare const ChatType: { - readonly DIRECT: "direct"; - readonly GROUP: "group"; - readonly GAME: "game"; -}; -export type ChatTypeType = typeof ChatType[keyof typeof ChatType]; -export declare class ChatAggregate { - id: string; - type: ChatTypeType; - name: string | null; - gameId: string | null; - createdBy: string | null; - users: string[]; - messages: Message[]; - lastActivity: Date | null; - createDate: Date; - updateDate: Date; - state: ChatStateType; - archiveDate: Date | null; -} -//# sourceMappingURL=ChatAggregate.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.d.ts.map b/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.d.ts.map deleted file mode 100644 index 1ca0f86e..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/Chat/ChatAggregate.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,SAAS,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAErE,eAAO,MAAM,QAAQ;;;;CAIX,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAElE,qBACa,aAAa;IAEtB,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,YAAY,CAAC;IAGpB,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;IAGrB,MAAM,EAAG,MAAM,GAAG,IAAI,CAAC;IAGvB,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAG1B,KAAK,EAAG,MAAM,EAAE,CAAC;IAGjB,QAAQ,EAAG,OAAO,EAAE,CAAC;IAGrB,YAAY,EAAG,IAAI,GAAG,IAAI,CAAC;IAG3B,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;IAGlB,KAAK,EAAG,aAAa,CAAC;IAItB,WAAW,EAAG,IAAI,GAAG,IAAI,CAAC;CAC7B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.js b/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.js deleted file mode 100644 index 1cf28598..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.js +++ /dev/null @@ -1,78 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatAggregate = exports.ChatType = exports.ChatState = void 0; -const typeorm_1 = require("typeorm"); -exports.ChatState = { - ACTIVE: 0, - ARCHIVE: 1, - SOFT_DELETE: 2 -}; -exports.ChatType = { - DIRECT: 'direct', - GROUP: 'group', - GAME: 'game' -}; -let ChatAggregate = class ChatAggregate { -}; -exports.ChatAggregate = ChatAggregate; -__decorate([ - (0, typeorm_1.PrimaryGeneratedColumn)('uuid'), - __metadata("design:type", String) -], ChatAggregate.prototype, "id", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 50, default: exports.ChatType.DIRECT }), - __metadata("design:type", String) -], ChatAggregate.prototype, "type", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }), - __metadata("design:type", Object) -], ChatAggregate.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', nullable: true }), - __metadata("design:type", Object) -], ChatAggregate.prototype, "gameId", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', nullable: true }), - __metadata("design:type", Object) -], ChatAggregate.prototype, "createdBy", void 0); -__decorate([ - (0, typeorm_1.Column)('uuid', { array: true }), - __metadata("design:type", Array) -], ChatAggregate.prototype, "users", void 0); -__decorate([ - (0, typeorm_1.Column)('json', { default: [] }), - __metadata("design:type", Array) -], ChatAggregate.prototype, "messages", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }), - __metadata("design:type", Object) -], ChatAggregate.prototype, "lastActivity", void 0); -__decorate([ - (0, typeorm_1.CreateDateColumn)(), - __metadata("design:type", Date) -], ChatAggregate.prototype, "createDate", void 0); -__decorate([ - (0, typeorm_1.UpdateDateColumn)(), - __metadata("design:type", Date) -], ChatAggregate.prototype, "updateDate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: exports.ChatState.ACTIVE }), - __metadata("design:type", Number) -], ChatAggregate.prototype, "state", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }), - __metadata("design:type", Object) -], ChatAggregate.prototype, "archiveDate", void 0); -exports.ChatAggregate = ChatAggregate = __decorate([ - (0, typeorm_1.Entity)('Chats') -], ChatAggregate); -//# sourceMappingURL=ChatAggregate.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.js.map b/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.js.map deleted file mode 100644 index 68ebc4be..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatAggregate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatAggregate.js","sourceRoot":"","sources":["../../../src/Domain/Chat/ChatAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAqG;AASxF,QAAA,SAAS,GAAG;IACrB,MAAM,EAAE,CAAC;IACT,OA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B;AAItB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACpB;wBApCjB,aAAa;IADzB,IAAA,gBAAM,EAAC,OAAO,CAAC;GACH,aAAa,CAqCzB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.d.ts b/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.d.ts deleted file mode 100644 index 323fe672..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Message } from './ChatAggregate'; -export declare class ChatArchiveAggregate { - id: string; - chatId: string; - archivedMessages: Message[]; - archivedAt: Date; - createDate: Date; - chatType: string; - chatName: string | null; - gameId: string | null; - participants: string[]; -} -//# sourceMappingURL=ChatArchiveAggregate.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.d.ts.map b/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.d.ts.map deleted file mode 100644 index 50c3fdf1..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatArchiveAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/Chat/ChatArchiveAggregate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,qBACa,oBAAoB;IAE7B,EAAE,EAAG,MAAM,CAAC;IAGZ,MAAM,EAAG,MAAM,CAAC;IAGhB,gBAAgB,EAAG,OAAO,EAAE,CAAC;IAG7B,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;IAIlB,QAAQ,EAAG,MAAM,CAAC;IAGlB,QAAQ,EAAG,MAAM,GAAG,IAAI,CAAC;IAGzB,MAAM,EAAG,MAAM,GAAG,IAAI,CAAC;IAGvB,YAAY,EAAG,MAAM,EAAE,CAAC;CAC3B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.js b/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.js deleted file mode 100644 index b18db602..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatArchiveAggregate = void 0; -const typeorm_1 = require("typeorm"); -let ChatArchiveAggregate = class ChatArchiveAggregate { -}; -exports.ChatArchiveAggregate = ChatArchiveAggregate; -__decorate([ - (0, typeorm_1.PrimaryGeneratedColumn)('uuid'), - __metadata("design:type", String) -], ChatArchiveAggregate.prototype, "id", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid' }), - __metadata("design:type", String) -], ChatArchiveAggregate.prototype, "chatId", void 0); -__decorate([ - (0, typeorm_1.Column)('json'), - __metadata("design:type", Array) -], ChatArchiveAggregate.prototype, "archivedMessages", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'timestamp' }), - __metadata("design:type", Date) -], ChatArchiveAggregate.prototype, "archivedAt", void 0); -__decorate([ - (0, typeorm_1.CreateDateColumn)(), - __metadata("design:type", Date) -], ChatArchiveAggregate.prototype, "createDate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 50 }), - __metadata("design:type", String) -], ChatArchiveAggregate.prototype, "chatType", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }), - __metadata("design:type", Object) -], ChatArchiveAggregate.prototype, "chatName", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', nullable: true }), - __metadata("design:type", Object) -], ChatArchiveAggregate.prototype, "gameId", void 0); -__decorate([ - (0, typeorm_1.Column)('uuid', { array: true }), - __metadata("design:type", Array) -], ChatArchiveAggregate.prototype, "participants", void 0); -exports.ChatArchiveAggregate = ChatArchiveAggregate = __decorate([ - (0, typeorm_1.Entity)('ChatArchives') -], ChatArchiveAggregate); -//# sourceMappingURL=ChatArchiveAggregate.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.js.map b/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.js.map deleted file mode 100644 index c2743308..00000000 --- a/SerpentRace_Backend/dist/Domain/Chat/ChatArchiveAggregate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatArchiveAggregate.js","sourceRoot":"","sources":["../../../src/Domain/Chat/ChatArchiveAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAmF;AAI5E,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CA4BhC,CAAA;AA5BY,oDAAoB;AAE7B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;gDACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;oDACT;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;8DACc;AAG7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACjB,IAAI;wDAAC;AAGlB;IADC,IAAA,0BAAgB,GAAE;8BACN,IAAI;wDAAC;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;sDACtB;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAChC;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAClB;AAGvB;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;0DACR;+BA3Bf,oBAAoB;IADhC,IAAA,gBAAM,EAAC,cAAc,CAAC;GACV,oBAAoB,CA4BhC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.d.ts b/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.d.ts deleted file mode 100644 index dd91d566..00000000 --- a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -export declare enum ContactType { - BUG = 0, - PROBLEM = 1, - QUESTION = 2, - SALES = 3, - OTHER = 4 -} -export declare enum ContactState { - ACTIVE = 0, - RESOLVED = 1, - SOFT_DELETE = 2 -} -export declare class ContactAggregate { - id: string; - name: string; - email: string; - userid: string | null; - type: ContactType; - txt: string; - state: ContactState; - createDate: Date; - updateDate: Date; - adminResponse: string | null; - responseDate: Date | null; - respondedBy: string | null; -} -//# sourceMappingURL=ContactAggregate.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.d.ts.map b/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.d.ts.map deleted file mode 100644 index 5babc11b..00000000 --- a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/Contact/ContactAggregate.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW;IACnB,GAAG,IAAI;IACP,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,KAAK,IAAI;IACT,KAAK,IAAI;CACZ;AAED,oBAAY,YAAY;IACpB,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,WAAW,IAAI;CAClB;AAED,qBACa,gBAAgB;IAEzB,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,KAAK,EAAG,MAAM,CAAC;IAGf,MAAM,EAAG,MAAM,GAAG,IAAI,CAAC;IAGvB,IAAI,EAAG,WAAW,CAAC;IAGnB,GAAG,EAAG,MAAM,CAAC;IAGb,KAAK,EAAG,YAAY,CAAC;IAGrB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;IAIlB,aAAa,EAAG,MAAM,GAAG,IAAI,CAAC;IAG9B,YAAY,EAAG,IAAI,GAAG,IAAI,CAAC;IAG3B,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;CAC/B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.js b/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.js deleted file mode 100644 index 6accea8d..00000000 --- a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.js +++ /dev/null @@ -1,82 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ContactAggregate = exports.ContactState = exports.ContactType = void 0; -const typeorm_1 = require("typeorm"); -var ContactType; -(function (ContactType) { - ContactType[ContactType["BUG"] = 0] = "BUG"; - ContactType[ContactType["PROBLEM"] = 1] = "PROBLEM"; - ContactType[ContactType["QUESTION"] = 2] = "QUESTION"; - ContactType[ContactType["SALES"] = 3] = "SALES"; - ContactType[ContactType["OTHER"] = 4] = "OTHER"; -})(ContactType || (exports.ContactType = ContactType = {})); -var ContactState; -(function (ContactState) { - ContactState[ContactState["ACTIVE"] = 0] = "ACTIVE"; - ContactState[ContactState["RESOLVED"] = 1] = "RESOLVED"; - ContactState[ContactState["SOFT_DELETE"] = 2] = "SOFT_DELETE"; -})(ContactState || (exports.ContactState = ContactState = {})); -let ContactAggregate = class ContactAggregate { -}; -exports.ContactAggregate = ContactAggregate; -__decorate([ - (0, typeorm_1.PrimaryGeneratedColumn)('uuid'), - __metadata("design:type", String) -], ContactAggregate.prototype, "id", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255 }), - __metadata("design:type", String) -], ContactAggregate.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255 }), - __metadata("design:type", String) -], ContactAggregate.prototype, "email", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', nullable: true }), - __metadata("design:type", Object) -], ContactAggregate.prototype, "userid", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int' }), - __metadata("design:type", Number) -], ContactAggregate.prototype, "type", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'text' }), - __metadata("design:type", String) -], ContactAggregate.prototype, "txt", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: ContactState.ACTIVE }), - __metadata("design:type", Number) -], ContactAggregate.prototype, "state", void 0); -__decorate([ - (0, typeorm_1.CreateDateColumn)(), - __metadata("design:type", Date) -], ContactAggregate.prototype, "createDate", void 0); -__decorate([ - (0, typeorm_1.UpdateDateColumn)(), - __metadata("design:type", Date) -], ContactAggregate.prototype, "updateDate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'text', nullable: true }), - __metadata("design:type", Object) -], ContactAggregate.prototype, "adminResponse", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }), - __metadata("design:type", Object) -], ContactAggregate.prototype, "responseDate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', nullable: true }), - __metadata("design:type", Object) -], ContactAggregate.prototype, "respondedBy", void 0); -exports.ContactAggregate = ContactAggregate = __decorate([ - (0, typeorm_1.Entity)('Contacts') -], ContactAggregate); -//# sourceMappingURL=ContactAggregate.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.js.map b/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.js.map deleted file mode 100644 index 31940035..00000000 --- a/SerpentRace_Backend/dist/Domain/Contact/ContactAggregate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactAggregate.js","sourceRoot":"","sources":["../../../src/Domain/Contact/ContactAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAqG;AAErG,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,2CAAO,CAAA;IACP,mDAAW,CAAA;IACX,qDAAY,CAAA;IACZ,+CAAS,CAAA;IACT,+CAAS,CAAA;AACb,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,mDAAU,CAAA;IACV,uDAAY,CAAA;IACZ,6DAAe,CAAA;AACnB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAGM,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAqC5B,CAAA;AArCY,4CAAgB;AAEzB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;8CAC3B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;+CAC1B;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAClB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;8CACL;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACZ;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,CAAC,MAAM,EAAE,CAAC;;+CACjC;AAGrB;IADC,IAAA,0BAAgB,GAAE;8BACN,IAAI;oDAAC;AAGlB;IADC,IAAA,0BAAgB,GAAE;8BACN,IAAI;oDAAC;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACX;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACnB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACb;2BApCnB,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,UAAU,CAAC;GACN,gBAAgB,CAqC5B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.d.ts b/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.d.ts deleted file mode 100644 index 89fba18d..00000000 --- a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { OrganizationAggregate } from '../Organization/OrganizationAggregate'; -export declare enum Type { - LUCK = 0, - JOKER = 1, - QUESTION = 2 -} -export declare enum CType { - PUBLIC = 0, - PRIVATE = 1, - ORGANIZATION = 2 -} -export declare enum State { - ACTIVE = 0, - SOFT_DELETE = 1 -} -export declare enum CardType { - QUIZ = 0, - SENTENCE_PAIRING = 1, - OWN_ANSWER = 2, - TRUE_FALSE = 3, - CLOSER = 4 -} -export interface Card { - text: string; - type?: CardType; - answer?: string | null; -} -export declare class DeckAggregate { - id: string; - name: string; - type: Type; - userid: string; - creationdate: Date; - cards: Card[]; - playedNumber: number; - ctype: CType; - updatedate: Date; - state: State; - organization: OrganizationAggregate | null; -} -//# sourceMappingURL=DeckAggregate.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.d.ts.map b/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.d.ts.map deleted file mode 100644 index a8624c32..00000000 --- a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/Deck/DeckAggregate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,oBAAY,IAAI;IACZ,IAAI,IAAI;IACR,KAAK,IAAI;IACT,QAAQ,IAAI;CACf;AAED,oBAAY,KAAK;IACb,MAAM,IAAI;IACV,OAAO,IAAI;IACX,YAAY,IAAI;CACnB;AAED,oBAAY,KAAK;IACb,MAAM,IAAI;IACV,WAAW,IAAI;CAClB;AAED,oBAAY,QAAQ;IAChB,IAAI,IAAI;IACR,gBAAgB,IAAI;IACpB,UAAU,IAAI;IACd,UAAU,IAAI;IACd,MAAM,IAAI;CACb;AAED,MAAM,WAAW,IAAI;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,qBACa,aAAa;IAEtB,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,IAAI,EAAG,IAAI,CAAC;IAGZ,MAAM,EAAG,MAAM,CAAC;IAGhB,YAAY,EAAG,IAAI,CAAC;IAGpB,KAAK,EAAG,IAAI,EAAE,CAAC;IAGf,YAAY,EAAG,MAAM,CAAC;IAGtB,KAAK,EAAG,KAAK,CAAC;IAGd,UAAU,EAAG,IAAI,CAAC;IAGd,KAAK,EAAG,KAAK,CAAC;IAIlB,YAAY,EAAG,qBAAqB,GAAG,IAAI,CAAC;CAC/C"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.js b/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.js deleted file mode 100644 index cbff1d3f..00000000 --- a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.js +++ /dev/null @@ -1,91 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeckAggregate = exports.CardType = exports.State = exports.CType = exports.Type = void 0; -const typeorm_1 = require("typeorm"); -const OrganizationAggregate_1 = require("../Organization/OrganizationAggregate"); -var Type; -(function (Type) { - Type[Type["LUCK"] = 0] = "LUCK"; - Type[Type["JOKER"] = 1] = "JOKER"; - Type[Type["QUESTION"] = 2] = "QUESTION"; -})(Type || (exports.Type = Type = {})); -var CType; -(function (CType) { - CType[CType["PUBLIC"] = 0] = "PUBLIC"; - CType[CType["PRIVATE"] = 1] = "PRIVATE"; - CType[CType["ORGANIZATION"] = 2] = "ORGANIZATION"; -})(CType || (exports.CType = CType = {})); -var State; -(function (State) { - State[State["ACTIVE"] = 0] = "ACTIVE"; - State[State["SOFT_DELETE"] = 1] = "SOFT_DELETE"; -})(State || (exports.State = State = {})); -var CardType; -(function (CardType) { - CardType[CardType["QUIZ"] = 0] = "QUIZ"; - CardType[CardType["SENTENCE_PAIRING"] = 1] = "SENTENCE_PAIRING"; - CardType[CardType["OWN_ANSWER"] = 2] = "OWN_ANSWER"; - CardType[CardType["TRUE_FALSE"] = 3] = "TRUE_FALSE"; - CardType[CardType["CLOSER"] = 4] = "CLOSER"; -})(CardType || (exports.CardType = CardType = {})); -let DeckAggregate = class DeckAggregate { -}; -exports.DeckAggregate = DeckAggregate; -__decorate([ - (0, typeorm_1.PrimaryGeneratedColumn)('uuid'), - __metadata("design:type", String) -], DeckAggregate.prototype, "id", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255 }), - __metadata("design:type", String) -], DeckAggregate.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int' }), - __metadata("design:type", Number) -], DeckAggregate.prototype, "type", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', name: 'user_id' }), - __metadata("design:type", String) -], DeckAggregate.prototype, "userid", void 0); -__decorate([ - (0, typeorm_1.CreateDateColumn)({ name: 'creation_date' }), - __metadata("design:type", Date) -], DeckAggregate.prototype, "creationdate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'json' }), - __metadata("design:type", Array) -], DeckAggregate.prototype, "cards", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: 0, name: 'played_number' }), - __metadata("design:type", Number) -], DeckAggregate.prototype, "playedNumber", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: CType.PUBLIC }), - __metadata("design:type", Number) -], DeckAggregate.prototype, "ctype", void 0); -__decorate([ - (0, typeorm_1.UpdateDateColumn)({ name: 'update_date' }), - __metadata("design:type", Date) -], DeckAggregate.prototype, "updatedate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: State.ACTIVE }), - __metadata("design:type", Number) -], DeckAggregate.prototype, "state", void 0); -__decorate([ - (0, typeorm_1.ManyToOne)(() => OrganizationAggregate_1.OrganizationAggregate, { nullable: true }), - (0, typeorm_1.JoinColumn)({ name: 'organization_id' }), - __metadata("design:type", Object) -], DeckAggregate.prototype, "organization", void 0); -exports.DeckAggregate = DeckAggregate = __decorate([ - (0, typeorm_1.Entity)('Decks') -], DeckAggregate); -//# sourceMappingURL=DeckAggregate.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.js.map b/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.js.map deleted file mode 100644 index 2b724067..00000000 --- a/SerpentRace_Backend/dist/Domain/Deck/DeckAggregate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckAggregate.js","sourceRoot":"","sources":["../../../src/Domain/Deck/DeckAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4H;AAC5H,iFAA8E;AAE9E,IAAY,IAIX;AAJD,WAAY,IAAI;IACZ,+BAAQ,CAAA;IACR,iCAAS,CAAA;IACT,uCAAY,CAAA;AAChB,CAAC,EAJW,IAAI,oBAAJ,IAAI,QAIf;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACb,qCAAU,CAAA;IACV,uCAAW,CAAA;IACX,iDAAgB,CAAA;AACpB,CAAC,EAJW,KAAK,qBAAL,KAAK,QAIhB;AAED,IAAY,KAGX;AAHD,WAAY,KAAK;IACb,qCAAU,CAAA;IACV,+CAAe,CAAA;AACnB,CAAC,EAHW,KAAK,qBAAL,KAAK,QAGhB;AAED,IAAY,QAMX;AAND,WAAY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EAAE,CAAC;IAC1D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;mDACI;wBAjCnC,aAAa;IADzB,IAAA,gBAAM,EAAC,OAAO,CAAC;GACH,aAAa,CAkCzB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.d.ts b/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.d.ts deleted file mode 100644 index c93c54d1..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { ChatArchiveAggregate } from '../Chat/ChatArchiveAggregate'; -export interface IChatArchiveRepository { - create(archive: Partial): Promise; - findAll(): Promise; - findById(id: string): Promise; - findByChatId(chatId: string): Promise; - findByGameId(gameId: string): Promise; - delete(id: string): Promise; - cleanup(olderThanDays: number): Promise; -} -//# sourceMappingURL=IChatArchiveRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.d.ts.map b/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.d.ts.map deleted file mode 100644 index 75de25aa..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IChatArchiveRepository.d.ts","sourceRoot":"","sources":["../../../src/Domain/IRepository/IChatArchiveRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,sBAAsB;IACnC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC9E,OAAO,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IAC3D,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAC9D,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAC9D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,OAAO,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACnD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.js b/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.js deleted file mode 100644 index 2a5ca79f..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=IChatArchiveRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.js.map b/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.js.map deleted file mode 100644 index d495499a..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatArchiveRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IChatArchiveRepository.js","sourceRoot":"","sources":["../../../src/Domain/IRepository/IChatArchiveRepository.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.d.ts b/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.d.ts deleted file mode 100644 index f35d75e9..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { ChatAggregate } from '../Chat/ChatAggregate'; -import { ChatArchiveAggregate } from '../Chat/ChatArchiveAggregate'; -export interface IChatRepository { - create(chat: Partial): Promise; - findByPage(from: number, to: number): Promise<{ - chats: ChatAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - chats: ChatAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - findByUserId(userId: string): Promise; - findByUserIdIncludingDeleted(userId: string): Promise; - findByGameId(gameId: string): Promise; - findActiveChatsForUser(userId: string): Promise; - findInactiveChats(inactivityMinutes: number): Promise; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - archiveChat(chat: ChatAggregate): Promise; - getArchivedChat(chatId: string): Promise; - restoreFromArchive(chatId: string): Promise; -} -//# sourceMappingURL=IChatRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.d.ts.map b/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.d.ts.map deleted file mode 100644 index 926836fc..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IChatRepository.d.ts","sourceRoot":"","sources":["../../../src/Domain/IRepository/IChatRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC7D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9F,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAA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Repository/IChatRepository.js deleted file mode 100644 index 1e002011..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=IChatRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.js.map b/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.js.map deleted file mode 100644 index 23b45337..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IChatRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IChatRepository.js","sourceRoot":"","sources":["../../../src/Domain/IRepository/IChatRepository.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.d.ts b/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.d.ts deleted file mode 100644 index 0b3a488f..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { ContactAggregate } from '../Contact/ContactAggregate'; -export interface IContactRepository { - create(contact: Partial): Promise; - findById(id: string): Promise; - findByPage(from: number, to: number): Promise<{ - contacts: ContactAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - contacts: ContactAggregate[]; - totalCount: number; - }>; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - search(searchTerm: string): Promise; - searchIncludingDeleted(searchTerm: string): Promise; -} -//# sourceMappingURL=IContactRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.d.ts.map b/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.d.ts.map deleted file mode 100644 index 72778a8d..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":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 No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.js b/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.js deleted file mode 100644 index df4283f8..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=IContactRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.js.map b/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.js.map deleted file mode 100644 index 4bdbecb2..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IContactRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IContactRepository.js","sourceRoot":"","sources":["../../../src/Domain/IRepository/IContactRepository.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.d.ts b/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.d.ts deleted file mode 100644 index 79418b01..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { DeckAggregate } from '../Deck/DeckAggregate'; -export interface IDeckRepository { - create(deck: Partial): Promise; - findByPage(from: number, to: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - search(query: string, limit?: number, offset?: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - countActiveByUserId(userId: string): Promise; - countOrganizationalByUserId(userId: string): Promise; - findFilteredDecks(userId: string, userOrgId?: string | null, isAdmin?: boolean, from?: number, to?: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; -} -//# sourceMappingURL=IDeckRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.d.ts.map b/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.d.ts.map deleted file mode 100644 index f3e16827..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IDeckRepository.d.ts","sourceRoot":"","sources":["../../../src/Domain/IRepository/IDeckRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC7D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9F,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9G,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACpD,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACpE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChH,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAClF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAGtD,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACrD,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7D,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxK"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.js b/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.js deleted file mode 100644 index cb1d812d..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=IDeckRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.js.map b/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.js.map deleted file mode 100644 index 0597742e..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IDeckRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IDeckRepository.js","sourceRoot":"","sources":["../../../src/Domain/IRepository/IDeckRepository.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.d.ts b/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.d.ts deleted file mode 100644 index b2670168..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { OrganizationAggregate } from '../Organization/OrganizationAggregate'; -export interface IOrganizationRepository { - create(org: Partial): Promise; - findByPage(from: number, to: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - search(query: string, limit?: number, offset?: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; -} -//# sourceMappingURL=IOrganizationRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.d.ts.map b/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.d.ts.map deleted file mode 100644 index def3f02a..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IOrganizationRepository.d.ts","sourceRoot":"","sources":["../../../src/Domain/IRepository/IO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AAG,IAAI,CAAC,CAAC;IAClG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAAC;CACjE"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.js b/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.js deleted file mode 100644 index ac3310d4..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=IOrganizationRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.js.map b/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.js.map deleted file mode 100644 index 5aa04dd0..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IOrganizationRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IOrganizationRepository.js","sourceRoot":"","sources":["../../../src/Domain/IRepository/IOrganizationRepository.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.d.ts b/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.d.ts deleted file mode 100644 index be74d19f..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { UserAggregate } from '../User/UserAggregate'; -export interface IUserRepository { - create(user: Partial): Promise; - findByPage(from: number, to: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - findByUsername(username: string): Promise; - findByEmail(email: string): Promise; - findByToken(token: string): Promise; - search(query: string, limit?: number, offset?: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - deactivate(id: string): Promise; -} -//# sourceMappingURL=IUserRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.d.ts.map b/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.d.ts.map deleted file mode 100644 index d0c46fe7..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IUserRepository.d.ts","sourceRoot":"","sources":["../../../src/Domain/IRepository/IUserRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC7D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9F,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9G,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACpD,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACpE,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAChE,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC1D,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC1D,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChH,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAClF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;CACzD"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.js b/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.js deleted file mode 100644 index 9536e110..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=IUserRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.js.map b/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.js.map deleted file mode 100644 index f6ea0182..00000000 --- a/SerpentRace_Backend/dist/Domain/IRepository/IUserRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IUserRepository.js","sourceRoot":"","sources":["../../../src/Domain/IRepository/IUserRepository.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.d.ts b/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.d.ts deleted file mode 100644 index 4ddbda3b..00000000 --- a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { UserAggregate } from '../User/UserAggregate'; -export declare const OrganizationState: { - readonly REGISTERED: 0; - readonly ACTIVE: 1; - readonly SOFT_DELETE: 2; -}; -export type OrganizationStateType = typeof OrganizationState[keyof typeof OrganizationState]; -export declare class OrganizationAggregate { - id: string; - name: string; - contactfname: string; - contactlname: string; - contactphone: string; - contactemail: string; - state: OrganizationStateType; - regdate: Date; - updatedate: Date; - url: string | null; - userinorg: number; - maxOrganizationalDecks: number | null; - users: UserAggregate[]; -} -//# sourceMappingURL=OrganizationAggregate.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.d.ts.map b/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.d.ts.map deleted file mode 100644 index 74d937e5..00000000 --- a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/Organization/OrganizationAggregate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,OAAO,iBAAiB,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7F,qBACa,qBAAqB;IAE9B,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,YAAY,EAAG,MAAM,CAAC;IAGtB,YAAY,EAAG,MAAM,CAAC;IAGtB,YAAY,EAAG,MAAM,CAAC;IAGtB,YAAY,EAAG,MAAM,CAAC;IAGtB,KAAK,EAAG,qBAAqB,CAAC;IAG9B,OAAO,EAAG,IAAI,CAAC;IAGf,UAAU,EAAG,IAAI,CAAC;IAGlB,GAAG,EAAG,MAAM,GAAG,IAAI,CAAC;IAGpB,SAAS,EAAG,MAAM,CAAC;IAGnB,sBAAsB,EAAG,MAAM,GAAG,IAAI,CAAC;IAGvC,KAAK,EAAG,aAAa,EAAE,CAAC;CACvB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.js b/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.js deleted file mode 100644 index fb171b47..00000000 --- a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.js +++ /dev/null @@ -1,78 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.OrganizationAggregate = exports.OrganizationState = void 0; -const typeorm_1 = require("typeorm"); -const UserAggregate_1 = require("../User/UserAggregate"); -exports.OrganizationState = { - REGISTERED: 0, - ACTIVE: 1, - SOFT_DELETE: 2 -}; -let OrganizationAggregate = class OrganizationAggregate { -}; -exports.OrganizationAggregate = OrganizationAggregate; -__decorate([ - (0, typeorm_1.PrimaryGeneratedColumn)('uuid'), - __metadata("design:type", String) -], OrganizationAggregate.prototype, "id", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255 }), - __metadata("design:type", String) -], OrganizationAggregate.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 100 }), - __metadata("design:type", String) -], OrganizationAggregate.prototype, "contactfname", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 100 }), - __metadata("design:type", String) -], OrganizationAggregate.prototype, "contactlname", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 20 }), - __metadata("design:type", String) -], OrganizationAggregate.prototype, "contactphone", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255 }), - __metadata("design:type", String) -], OrganizationAggregate.prototype, "contactemail", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: exports.OrganizationState.REGISTERED }), - __metadata("design:type", Number) -], OrganizationAggregate.prototype, "state", void 0); -__decorate([ - (0, typeorm_1.CreateDateColumn)(), - __metadata("design:type", Date) -], OrganizationAggregate.prototype, "regdate", void 0); -__decorate([ - (0, typeorm_1.UpdateDateColumn)(), - __metadata("design:type", Date) -], OrganizationAggregate.prototype, "updatedate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }), - __metadata("design:type", Object) -], OrganizationAggregate.prototype, "url", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', default: 0 }), - __metadata("design:type", Number) -], OrganizationAggregate.prototype, "userinorg", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'int', nullable: true }), - __metadata("design:type", Object) -], OrganizationAggregate.prototype, "maxOrganizationalDecks", void 0); -__decorate([ - (0, typeorm_1.OneToMany)(() => UserAggregate_1.UserAggregate, user => user.orgid), - __metadata("design:type", Array) -], OrganizationAggregate.prototype, "users", void 0); -exports.OrganizationAggregate = OrganizationAggregate = __decorate([ - (0, typeorm_1.Entity)('Organizations') -], OrganizationAggregate); -//# sourceMappingURL=OrganizationAggregate.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.js.map b/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.js.map deleted file mode 100644 index 2aa338e1..00000000 --- a/SerpentRace_Backend/dist/Domain/Organization/OrganizationAggregate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationAggregate.js","sourceRoot":"","sources":["../../../src/Domain/Organization/OrganizationAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgH;AAChH,yDAAsD;AAEzC,QAAA,iBAAiB,GAAG;IAC7B,UAAU,EAAE,CAAC;IACb,MAAM,EAAE,CAAC;IACT,WAAW,EAAE,CAAC;CACR,CAAC;AAKJ,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAuC7B,CAAA;AAvCQ,sDAAqB;AAE9B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;iDACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;mDAC3B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2DACnB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2DACnB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;2DAClB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2DACnB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,yBAAiB,CAAC,UAAU,EAAE,CAAC;;oDACjC;AAG9B;IADC,IAAA,0BAAgB,GAAE;8BACT,IAAI;sDAAC;AAGf;IADC,IAAA,0BAAgB,GAAE;8BACN,IAAI;yDAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACrC;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;wDACjB;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACD;AAGvC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAa,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;;oDAC3B;gCAtCf,qBAAqB;IADjC,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,qBAAqB,CAuC7B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/User/UserAggregate.d.ts b/SerpentRace_Backend/dist/Domain/User/UserAggregate.d.ts deleted file mode 100644 index 1ee37a1e..00000000 --- a/SerpentRace_Backend/dist/Domain/User/UserAggregate.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -export declare enum UserState { - REGISTERED_NOT_VERIFIED = 0, - VERIFIED_REGULAR = 1, - VERIFIED_PREMIUM = 2, - SOFT_DELETE = 3, - DEACTIVATED = 4, - ADMIN = 5 -} -export declare class UserAggregate { - id: string; - orgid: string | null; - username: string; - password: string; - email: string; - fname: string; - lname: string; - token: string | null; - TokenExpires: Date | null; - type: string; - phone: string | null; - state: UserState; - regdate: Date; - updatedate: Date; - Orglogindate: Date | null; -} -//# sourceMappingURL=UserAggregate.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/User/UserAggregate.d.ts.map b/SerpentRace_Backend/dist/Domain/User/UserAggregate.d.ts.map deleted file mode 100644 index dedef4a4..00000000 --- a/SerpentRace_Backend/dist/Domain/User/UserAggregate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/User/UserAggregate.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS;IACjB,uBAAuB,IAAI;IAC3B,gBAAgB,IAAI;IACpB,gBAAgB,IAAI;IACpB,WAAW,IAAI;IACf,WAAW,IAAI;IACf,KAAK,IAAI;CACZ;AAED,qBACa,aAAa;IAEtB,EAAE,EAAG,MAAM,CAAC;IAGZ,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAGtB,QAAQ,EAAG,MAAM,CAAC;IAGlB,QAAQ,EAAG,MAAM,CAAC;IAGlB,KAAK,EAAG,MAAM,CAAC;IAGf,KAAK,EAAG,MAAM,CAAC;IAGf,KAAK,EAAG,MAAM,CAAC;IAGf,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAGtB,YAAY,EAAG,IAAI,GAAG,IAAI,CAAC;IAG3B,IAAI,EAAG,MAAM,CAAC;IAGd,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAMtB,KAAK,EAAG,SAAS,CAAC;IAGlB,OAAO,EAAG,IAAI,CAAC;IAGf,UAAU,EAAG,IAAI,CAAC;IAGlB,YAAY,EAAG,IAAI,GAAG,IAAI,CAAC;CAC9B"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/User/UserAggregate.js b/SerpentRace_Backend/dist/Domain/User/UserAggregate.js deleted file mode 100644 index d9f65bba..00000000 --- a/SerpentRace_Backend/dist/Domain/User/UserAggregate.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UserAggregate = exports.UserState = void 0; -const typeorm_1 = require("typeorm"); -var UserState; -(function (UserState) { - UserState[UserState["REGISTERED_NOT_VERIFIED"] = 0] = "REGISTERED_NOT_VERIFIED"; - UserState[UserState["VERIFIED_REGULAR"] = 1] = "VERIFIED_REGULAR"; - UserState[UserState["VERIFIED_PREMIUM"] = 2] = "VERIFIED_PREMIUM"; - UserState[UserState["SOFT_DELETE"] = 3] = "SOFT_DELETE"; - UserState[UserState["DEACTIVATED"] = 4] = "DEACTIVATED"; - UserState[UserState["ADMIN"] = 5] = "ADMIN"; -})(UserState || (exports.UserState = UserState = {})); -let UserAggregate = class UserAggregate { -}; -exports.UserAggregate = UserAggregate; -__decorate([ - (0, typeorm_1.PrimaryGeneratedColumn)('uuid'), - __metadata("design:type", String) -], UserAggregate.prototype, "id", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'uuid', nullable: true }), - __metadata("design:type", Object) -], UserAggregate.prototype, "orgid", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 100, unique: true }), - __metadata("design:type", String) -], UserAggregate.prototype, "username", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255 }), - __metadata("design:type", String) -], UserAggregate.prototype, "password", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255, unique: true }), - __metadata("design:type", String) -], UserAggregate.prototype, "email", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 100 }), - __metadata("design:type", String) -], UserAggregate.prototype, "fname", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 100 }), - __metadata("design:type", String) -], UserAggregate.prototype, "lname", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }), - __metadata("design:type", Object) -], UserAggregate.prototype, "token", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }), - __metadata("design:type", Object) -], UserAggregate.prototype, "TokenExpires", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 50 }), - __metadata("design:type", String) -], UserAggregate.prototype, "type", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: true }), - __metadata("design:type", Object) -], UserAggregate.prototype, "phone", void 0); -__decorate([ - (0, typeorm_1.Column)({ - type: 'int', - default: UserState.REGISTERED_NOT_VERIFIED - }), - __metadata("design:type", Number) -], UserAggregate.prototype, "state", void 0); -__decorate([ - (0, typeorm_1.CreateDateColumn)(), - __metadata("design:type", Date) -], UserAggregate.prototype, "regdate", void 0); -__decorate([ - (0, typeorm_1.UpdateDateColumn)(), - __metadata("design:type", Date) -], UserAggregate.prototype, "updatedate", void 0); -__decorate([ - (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }), - __metadata("design:type", Object) -], UserAggregate.prototype, "Orglogindate", void 0); -exports.UserAggregate = UserAggregate = __decorate([ - (0, typeorm_1.Entity)('Users') -], UserAggregate); -//# sourceMappingURL=UserAggregate.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Domain/User/UserAggregate.js.map b/SerpentRace_Backend/dist/Domain/User/UserAggregate.js.map deleted file mode 100644 index 0f0b2cb4..00000000 --- a/SerpentRace_Backend/dist/Domain/User/UserAggregate.js.map +++ /dev/null @@ -1 +0,0 @@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E,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACnB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;2CAC1B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAClC;AAMtB;IAJC,IAAA,gBAAM,EAAC;QACJ,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,SAAS,CAAC,uBAAuB;KAC7C,CAAC;;4CACgB;AAGlB;IADC,IAAA,0BAAgB,GAAE;8BACT,IAAI;8CAAC;AAGf;IADC,IAAA,0BAAgB,GAAE;8BACN,IAAI;iDAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACnB;wBA/ClB,aAAa;IADzB,IAAA,gBAAM,EAAC,OAAO,CAAC;GACH,aAAa,CAgDzB"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.d.ts deleted file mode 100644 index daeeae80..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class Test1755691733404 implements MigrationInterface { - name: string; - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755691733404-test.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.d.ts.map deleted file mode 100644 index 54363f50..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755691733404-test.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755691733404-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,iBAAkB,YAAW,kBAAkB;IACxD,IAAI,SAAsB;IAEb,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.js b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.js deleted file mode 100644 index c1233c26..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Test1755691733404 = void 0; -class Test1755691733404 { - constructor() { - this.name = 'Test1755691733404'; - } - async up(queryRunner) { - await queryRunner.query(`CREATE TABLE "Users" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "orgid" uuid, "username" character varying(100) NOT NULL, "password" character varying(255) NOT NULL, "email" character varying(255) NOT NULL, "fname" character varying(100) NOT NULL, "lname" character varying(100) NOT NULL, "code" character varying(50), "type" character varying(50) NOT NULL, "phone" character varying(20), "state" integer NOT NULL DEFAULT '0', "regdate" TIMESTAMP NOT NULL DEFAULT now(), "updatedate" TIMESTAMP NOT NULL DEFAULT now(), "Orglogindate" TIMESTAMP, CONSTRAINT "UQ_ffc81a3b97dcbf8e320d5106c0d" UNIQUE ("username"), CONSTRAINT "UQ_3c3ab3f49a87e6ddb607f3c4945" UNIQUE ("email"), CONSTRAINT "PK_16d4f7d636df336db11d87413e3" PRIMARY KEY ("id"))`); - await queryRunner.query(`CREATE TABLE "Organizations" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying(255) NOT NULL, "contactfname" character varying(100) NOT NULL, "contactlname" character varying(100) NOT NULL, "contactphone" character varying(20) NOT NULL, "contactemail" character varying(255) NOT NULL, "state" integer NOT NULL DEFAULT '0', "regdate" TIMESTAMP NOT NULL DEFAULT now(), "updatedate" TIMESTAMP NOT NULL DEFAULT now(), "url" character varying(500), "userinorg" integer NOT NULL DEFAULT '0', CONSTRAINT "PK_e0690a31419f6666194423526f2" PRIMARY KEY ("id"))`); - await queryRunner.query(`CREATE TABLE "Decks" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying(255) NOT NULL, "type" integer NOT NULL, "user_id" uuid NOT NULL, "creation_date" TIMESTAMP NOT NULL DEFAULT now(), "cards" json NOT NULL, "played_number" integer NOT NULL DEFAULT '0', "ctype" integer NOT NULL DEFAULT '0', "update_date" TIMESTAMP NOT NULL DEFAULT now(), "state" integer NOT NULL DEFAULT '0', "organization_id" uuid, CONSTRAINT "PK_001f26cb3ec39c1f25269943473" PRIMARY KEY ("id"))`); - await queryRunner.query(`CREATE TABLE "Chats" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "users" uuid array NOT NULL, "messages" json NOT NULL, "updateDate" TIMESTAMP NOT NULL DEFAULT now(), "state" integer NOT NULL DEFAULT '0', CONSTRAINT "PK_64c36c2b8d86a0d5de4cf64de8d" PRIMARY KEY ("id"))`); - await queryRunner.query(`ALTER TABLE "Decks" ADD CONSTRAINT "FK_06ee28f90d68543a03b14aebe13" FOREIGN KEY ("organization_id") REFERENCES "Organizations"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`); - } - async down(queryRunner) { - await queryRunner.query(`ALTER TABLE "Decks" DROP CONSTRAINT "FK_06ee28f90d68543a03b14aebe13"`); - await queryRunner.query(`DROP TABLE "Chats"`); - await queryRunner.query(`DROP TABLE "Decks"`); - await queryRunner.query(`DROP TABLE "Organizations"`); - await queryRunner.query(`DROP TABLE "Users"`); - } -} -exports.Test1755691733404 = Test1755691733404; -//# sourceMappingURL=1755691733404-test.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.js.map deleted file mode 100644 index 35516751..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755691733404-test.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755691733404-test.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755691733404-test.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAA9B;QACI,SAAI,GAAG,mBAAmB,CAAA;IAkB9B,CAAC;IAhBU,KAAK,CAAC,EAAE,CAAC,WAAwB;QACpC,MAAM,WAAW,CAAC,KAAK,CAAC,quBAAquB,CAAC,CAAC;QAC/vB,MAAM,WAAW,CAAC,KAAK,CAAC,8jBAA8jB,CAAC,CAAC;QACxlB,MAAM,WAAW,CAAC,KAAK,CAAC,2eAA2e,CAAC,CAAC;QACrgB,MAAM,WAAW,CAAC,KAAK,CAAC,kRAAkR,CAAC,CAAC;QAC5S,MAAM,WAAW,CAAC,KAAK,CAAC,8KAA8K,CAAC,CAAC;IAC5M,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC,sEAAsE,CAAC,CAAC;QAChG,MAAM,WAAW,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC9C,MAAM,WAAW,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC9C,MAAM,WAAW,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;QACtD,MAAM,WAAW,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAClD,CAAC;CAEJ;AAnBD,8CAmBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.d.ts deleted file mode 100644 index 4610b935..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class AddEmailVerificationFields1755706019351 implements MigrationInterface { - name: string; - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755706019351-AddEmailVerificationFields.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.d.ts.map deleted file mode 100644 index d0839321..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755706019351-AddEmailVerificationFields.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,uCAAwC,YAAW,kBAAkB;IAC9E,IAAI,SAA4C;IAEnC,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAM3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAM7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.js b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.js deleted file mode 100644 index c511a32f..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddEmailVerificationFields1755706019351 = void 0; -class AddEmailVerificationFields1755706019351 { - constructor() { - this.name = 'AddEmailVerificationFields1755706019351'; - } - async up(queryRunner) { - await queryRunner.query(`ALTER TABLE "Users" DROP COLUMN "code"`); - await queryRunner.query(`ALTER TABLE "Users" ADD "token" character varying(255)`); - await queryRunner.query(`ALTER TABLE "Users" ADD "TokenExpires" TIMESTAMP`); - } - async down(queryRunner) { - await queryRunner.query(`ALTER TABLE "Users" DROP COLUMN "TokenExpires"`); - await queryRunner.query(`ALTER TABLE "Users" DROP COLUMN "token"`); - await queryRunner.query(`ALTER TABLE "Users" ADD "code" character varying(50)`); - } -} -exports.AddEmailVerificationFields1755706019351 = AddEmailVerificationFields1755706019351; -//# sourceMappingURL=1755706019351-AddEmailVerificationFields.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.js.map deleted file mode 100644 index 1f1b7cc4..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755706019351-AddEmailVerificationFields.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755706019351-AddEmailVerificationFields.ts"],"names":[],"mappings":";;;AAEA,MAAa,uCAAuC;IAApD;QACI,SAAI,GAAG,yCAAyC,CAAA;IAcpD,CAAC;IAZU,KAAK,CAAC,EAAE,CAAC,WAAwB;QACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAClE,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAC;QAClF,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAC;IAChF,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAC;QAC1E,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC;QACnE,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAC;IACpF,CAAC;CAEJ;AAfD,0FAeC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.d.ts deleted file mode 100644 index 2ab27faa..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class AddChatMessagingSystem1755817306222 implements MigrationInterface { - name: string; - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755817306222-AddChatMessagingSystem.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.d.ts.map deleted file mode 100644 index 5d713781..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755817306222-AddChatMessagingSystem.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,mCAAoC,YAAW,kBAAkB;IAC1E,IAAI,SAAwC;IAE/B,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAY3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAY7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.js b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.js deleted file mode 100644 index 511fb906..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddChatMessagingSystem1755817306222 = void 0; -class AddChatMessagingSystem1755817306222 { - constructor() { - this.name = 'AddChatMessagingSystem1755817306222'; - } - async up(queryRunner) { - await queryRunner.query(`CREATE TABLE "ChatArchives" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "chatId" uuid NOT NULL, "archivedMessages" json NOT NULL, "archivedAt" TIMESTAMP NOT NULL, "createDate" TIMESTAMP NOT NULL DEFAULT now(), "chatType" character varying(50) NOT NULL, "chatName" character varying(255), "gameId" uuid, "participants" uuid array NOT NULL, CONSTRAINT "PK_fe62979fc2061d7afe278d3f14e" PRIMARY KEY ("id"))`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "type" character varying(50) NOT NULL DEFAULT 'direct'`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "name" character varying(255)`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "gameId" uuid`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "createdBy" uuid`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "lastActivity" TIMESTAMP`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "createDate" TIMESTAMP NOT NULL DEFAULT now()`); - await queryRunner.query(`ALTER TABLE "Chats" ADD "archiveDate" TIMESTAMP`); - await queryRunner.query(`ALTER TABLE "Chats" ALTER COLUMN "messages" SET DEFAULT '[]'`); - } - async down(queryRunner) { - await queryRunner.query(`ALTER TABLE "Chats" ALTER COLUMN "messages" DROP DEFAULT`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "archiveDate"`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "createDate"`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "lastActivity"`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "createdBy"`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "gameId"`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "name"`); - await queryRunner.query(`ALTER TABLE "Chats" DROP COLUMN "type"`); - await queryRunner.query(`DROP TABLE "ChatArchives"`); - } -} -exports.AddChatMessagingSystem1755817306222 = AddChatMessagingSystem1755817306222; -//# sourceMappingURL=1755817306222-AddChatMessagingSystem.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.js.map deleted file mode 100644 index c011dcbf..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755817306222-AddChatMessagingSystem.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755817306222-AddChatMessagingSystem.ts"],"names":[],"mappings":";;;AAEA,MAAa,mCAAmC;IAAhD;QACI,SAAI,GAAG,qCAAqC,CAAA;IA0BhD,CAAC;IAxBU,KAAK,CAAC,EAAE,CAAC,WAAwB;QACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wZAAwZ,CAAC,CAAC;QAClb,MAAM,WAAW,CAAC,KAAK,CAAC,gFAAgF,CAAC,CAAC;QAC1G,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAC;QACjF,MAAM,WAAW,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC;QACjE,MAAM,WAAW,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;QACpE,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAC;QAC5E,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAC;QACjG,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC;QAC3E,MAAM,WAAW,CAAC,KAAK,CAAC,8DAA8D,CAAC,CAAC;IAC5F,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;QACpF,MAAM,WAAW,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;QACzE,MAAM,WAAW,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;QACxE,MAAM,WAAW,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAC;QAC1E,MAAM,WAAW,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACvE,MAAM,WAAW,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;QACpE,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAClE,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAClE,MAAM,WAAW,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IACzD,CAAC;CAEJ;AA3BD,kFA2BC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.d.ts deleted file mode 100644 index cbe2f1c0..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class CreateContactTable1755855028839 implements MigrationInterface { - name: string; - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755855028839-CreateContactTable.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.d.ts.map deleted file mode 100644 index 54ebe71b..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755855028839-CreateContactTable.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755855028839-CreateContactTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,+BAAgC,YAAW,kBAAkB;IACtE,IAAI,SAAoC;IAE3B,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAI7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.js b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.js deleted file mode 100644 index 4107cbb1..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateContactTable1755855028839 = void 0; -class CreateContactTable1755855028839 { - constructor() { - this.name = 'CreateContactTable1755855028839'; - } - async up(queryRunner) { - await queryRunner.query(`CREATE TABLE "Contacts" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying(255) NOT NULL, "email" character varying(255) NOT NULL, "userid" uuid, "type" integer NOT NULL, "txt" text NOT NULL, "state" integer NOT NULL DEFAULT '0', "createDate" TIMESTAMP NOT NULL DEFAULT now(), "updateDate" TIMESTAMP NOT NULL DEFAULT now(), "adminResponse" text, "responseDate" TIMESTAMP, "respondedBy" uuid, CONSTRAINT "PK_68782cec65c8eef577c62958273" PRIMARY KEY ("id"))`); - } - async down(queryRunner) { - await queryRunner.query(`DROP TABLE "Contacts"`); - } -} -exports.CreateContactTable1755855028839 = CreateContactTable1755855028839; -//# sourceMappingURL=1755855028839-CreateContactTable.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.js.map deleted file mode 100644 index 397f15a4..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755855028839-CreateContactTable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755855028839-CreateContactTable.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755855028839-CreateContactTable.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;IAA5C;QACI,SAAI,GAAG,iCAAiC,CAAA;IAU5C,CAAC;IARU,KAAK,CAAC,EAAE,CAAC,WAAwB;QACpC,MAAM,WAAW,CAAC,KAAK,CAAC,+dAA+d,CAAC,CAAC;IAC7f,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrD,CAAC;CAEJ;AAXD,0EAWC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.d.ts deleted file mode 100644 index c365cdad..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.d.ts +++ /dev/null @@ -1 +0,0 @@ -//# sourceMappingURL=1755905000000-AddStateToChatArchives.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.d.ts.map deleted file mode 100644 index 74132976..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755905000000-AddStateToChatArchives.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.js b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.js deleted file mode 100644 index b60c2dd0..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -//# sourceMappingURL=1755905000000-AddStateToChatArchives.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.js.map deleted file mode 100644 index 39610d8b..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755905000000-AddStateToChatArchives.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/1755905000000-AddStateToChatArchives.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.d.ts deleted file mode 100644 index d1891039..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MigrationInterface, QueryRunner } from 'typeorm'; -export declare class AddMaxOrganizationalDecksToOrganization1692712800000 implements MigrationInterface { - name: string; - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=AddMaxOrganizationalDecksToOrganization.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.d.ts.map deleted file mode 100644 index 6056d793..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AddMaxOrganizationalDecksToOrganization.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAe,MAAM,SAAS,CAAC;AAEvE,qBAAa,oDAAqD,YAAW,kBAAkB;IAC3F,IAAI,SAA0D;IAEjD,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAc3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.js b/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.js deleted file mode 100644 index 35e0a2f0..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddMaxOrganizationalDecksToOrganization1692712800000 = void 0; -const typeorm_1 = require("typeorm"); -class AddMaxOrganizationalDecksToOrganization1692712800000 { - constructor() { - this.name = 'AddMaxOrganizationalDecksToOrganization1692712800000'; - } - async up(queryRunner) { - // Add maxOrganizationalDecks column to Organizations table - await queryRunner.addColumn('Organizations', new typeorm_1.TableColumn({ - name: 'maxOrganizationalDecks', - type: 'int', - isNullable: true, // No default - set by admin - comment: 'Maximum number of organizational decks a premium user can create in this organization' - })); - // Add performance indexes for deck filtering queries - await queryRunner.query(`CREATE INDEX "IDX_DECK_USER_STATE_CTYPE" ON "Decks" ("user_id", "state", "ctype")`); - await queryRunner.query(`CREATE INDEX "IDX_DECK_ORG_CTYPE_STATE" ON "Decks" ("organization_id", "ctype", "state")`); - } - async down(queryRunner) { - // Drop indexes - await queryRunner.query(`DROP INDEX "IDX_DECK_ORG_CTYPE_STATE"`); - await queryRunner.query(`DROP INDEX "IDX_DECK_USER_STATE_CTYPE"`); - // Remove maxOrganizationalDecks column - await queryRunner.dropColumn('Organizations', 'maxOrganizationalDecks'); - } -} -exports.AddMaxOrganizationalDecksToOrganization1692712800000 = AddMaxOrganizationalDecksToOrganization1692712800000; -//# sourceMappingURL=AddMaxOrganizationalDecksToOrganization.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.js.map deleted file mode 100644 index e4cf7c4a..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AddMaxOrganizationalDecksToOrganization.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrations/AddMaxOrganizationalDecksToOrganization.ts"],"names":[],"mappings":";;;AAAA,qCAAuE;AAEvE,MAAa,oDAAoD;IAAjE;QACI,SAAI,GAAG,sDAAsD,CAAC;IAwBlE,CAAC;IAtBU,KAAK,CAAC,EAAE,CAAC,WAAwB;QACpC,2DAA2D;QAC3D,MAAM,WAAW,CAAC,SAAS,CAAC,eAAe,EAAE,IAAI,qBAAW,CAAC;YACzD,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,KAAK;YACX,UAAU,EAAE,IAAI,EAAE,4BAA4B;YAC9C,OAAO,EAAE,uFAAuF;SACnG,CAAC,CAAC,CAAC;QAEJ,qDAAqD;QACrD,MAAM,WAAW,CAAC,KAAK,CAAC,mFAAmF,CAAC,CAAC;QAC7G,MAAM,WAAW,CAAC,KAAK,CAAC,0FAA0F,CAAC,CAAC;IACxH,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACtC,eAAe;QACf,MAAM,WAAW,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC;QACjE,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAElE,uCAAuC;QACvC,MAAM,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,wBAAwB,CAAC,CAAC;IAC5E,CAAC;CACJ;AAzBD,oHAyBC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.d.ts deleted file mode 100644 index da0ed125..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class Test1755691732089 implements MigrationInterface { - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755691732089-test.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.d.ts.map deleted file mode 100644 index b07ad7c1..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755691732089-test.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrationsettings/1755691732089-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,iBAAkB,YAAW,kBAAkB;IAE3C,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAG3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAG7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.js b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.js deleted file mode 100644 index fee391e3..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Test1755691732089 = void 0; -class Test1755691732089 { - async up(queryRunner) { - } - async down(queryRunner) { - } -} -exports.Test1755691732089 = Test1755691732089; -//# sourceMappingURL=1755691732089-test.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.js.map deleted file mode 100644 index 2497b8a9..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755691732089-test.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755691732089-test.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrationsettings/1755691732089-test.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAEnB,KAAK,CAAC,EAAE,CAAC,WAAwB;IACxC,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;IAC1C,CAAC;CAEJ;AARD,8CAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.d.ts deleted file mode 100644 index c26bc0ca..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class AddEmailVerificationFields1755706017175 implements MigrationInterface { - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755706017175-AddEmailVerificationFields.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.d.ts.map deleted file mode 100644 index c0aebeb2..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755706017175-AddEmailVerificationFields.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,uCAAwC,YAAW,kBAAkB;IAEjE,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAG3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAG7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.js b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.js deleted file mode 100644 index 62e0548b..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddEmailVerificationFields1755706017175 = void 0; -class AddEmailVerificationFields1755706017175 { - async up(queryRunner) { - } - async down(queryRunner) { - } -} -exports.AddEmailVerificationFields1755706017175 = AddEmailVerificationFields1755706017175; -//# sourceMappingURL=1755706017175-AddEmailVerificationFields.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.js.map deleted file mode 100644 index 87bdbb9c..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755706017175-AddEmailVerificationFields.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrationsettings/1755706017175-AddEmailVerificationFields.ts"],"names":[],"mappings":";;;AAEA,MAAa,uCAAuC;IAEzC,KAAK,CAAC,EAAE,CAAC,WAAwB;IACxC,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;IAC1C,CAAC;CAEJ;AARD,0FAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.d.ts b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.d.ts deleted file mode 100644 index 2d2689a3..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; -export declare class FixEmailVerificationFields1755706055220 implements MigrationInterface { - up(queryRunner: QueryRunner): Promise; - down(queryRunner: QueryRunner): Promise; -} -//# sourceMappingURL=1755706055220-FixEmailVerificationFields.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.d.ts.map deleted file mode 100644 index b61f4377..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755706055220-FixEmailVerificationFields.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,uCAAwC,YAAW,kBAAkB;IAEjE,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAG3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAG7D"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.js b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.js deleted file mode 100644 index f2be8d40..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.FixEmailVerificationFields1755706055220 = void 0; -class FixEmailVerificationFields1755706055220 { - async up(queryRunner) { - } - async down(queryRunner) { - } -} -exports.FixEmailVerificationFields1755706055220 = FixEmailVerificationFields1755706055220; -//# sourceMappingURL=1755706055220-FixEmailVerificationFields.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.js.map b/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.js.map deleted file mode 100644 index 7afe3c49..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"1755706055220-FixEmailVerificationFields.js","sourceRoot":"","sources":["../../../src/Infrastructure/Migrationsettings/1755706055220-FixEmailVerificationFields.ts"],"names":[],"mappings":";;;AAEA,MAAa,uCAAuC;IAEzC,KAAK,CAAC,EAAE,CAAC,WAAwB;IACxC,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;IAC1C,CAAC;CAEJ;AARD,0FAQC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts deleted file mode 100644 index a400d7ed..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ChatArchiveAggregate } from '../../Domain/Chat/ChatArchiveAggregate'; -import { IChatArchiveRepository } from '../../Domain/IRepository/IChatArchiveRepository'; -export declare class ChatArchiveRepository implements IChatArchiveRepository { - private repo; - constructor(); - create(archive: Partial): Promise & ChatArchiveAggregate>; - findAll(): Promise; - findById(id: string): Promise; - findByChatId(chatId: string): Promise; - findByGameId(gameId: string): Promise; - delete(id: string): Promise; - cleanup(olderThanDays: number): Promise; -} -//# sourceMappingURL=ChatArchiveRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts.map deleted file mode 100644 index c792b29f..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatArchiveRepository.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/ChatArchiveRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAIzF,qBAAa,qBAAsB,YAAW,sBAAsB;IAChE,OAAO,CAAC,IAAI,CAAmC;;IAMzC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAgB7C,OAAO;IAcP,QAAQ,CAAC,EAAE,EAAE,MAAM;IAenB,YAAY,CAAC,MAAM,EAAE,MAAM;IAoB3B,YAAY,CAAC,MAAM,EAAE,MAAM;IAoB3B,MAAM,CAAC,EAAE,EAAE,MAAM;IAejB,OAAO,CAAC,aAAa,EAAE,MAAM;CAuBtC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.js b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.js deleted file mode 100644 index 68abaf27..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.js +++ /dev/null @@ -1,132 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatArchiveRepository = void 0; -const ormconfig_1 = require("../ormconfig"); -const ChatArchiveAggregate_1 = require("../../Domain/Chat/ChatArchiveAggregate"); -const Logger_1 = require("../../Application/Services/Logger"); -class ChatArchiveRepository { - constructor() { - this.repo = ormconfig_1.AppDataSource.getRepository(ChatArchiveAggregate_1.ChatArchiveAggregate); - } - async create(archive) { - const startTime = Date.now(); - try { - const result = await this.repo.save(archive); - (0, Logger_1.logDatabase)('Chat archive created successfully', undefined, Date.now() - startTime, { - archiveId: result.id, - chatId: result.chatId, - messageCount: result.archivedMessages?.length || 0 - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.create error', error); - throw new Error('Failed to create chat archive in database'); - } - } - async findAll() { - const startTime = Date.now(); - try { - const result = await this.repo.find(); - (0, Logger_1.logDatabase)('All chat archives retrieved', undefined, Date.now() - startTime, { - count: result.length - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.findAll error', error); - throw new Error('Failed to retrieve chat archives from database'); - } - } - async findById(id) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ id }); - (0, Logger_1.logDatabase)('Chat archive retrieved by id', `findById(${id})`, Date.now() - startTime, { - archiveId: id, - found: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.findById error', error); - throw new Error('Failed to find chat archive by id'); - } - } - async findByChatId(chatId) { - const startTime = Date.now(); - try { - const result = await this.repo - .find({ - where: { chatId }, - order: { archivedAt: 'DESC' } - }); - (0, Logger_1.logDatabase)('Chat archives retrieved by chat id', `findByChatId(${chatId})`, Date.now() - startTime, { - chatId, - count: result.length - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.findByChatId error', error); - throw new Error('Failed to find chat archives by chat id'); - } - } - async findByGameId(gameId) { - const startTime = Date.now(); - try { - const result = await this.repo - .find({ - where: { gameId }, - order: { archivedAt: 'DESC' } - }); - (0, Logger_1.logDatabase)('Chat archives retrieved by game id', `findByGameId(${gameId})`, Date.now() - startTime, { - gameId, - count: result.length - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.findByGameId error', error); - throw new Error('Failed to find chat archives by game id'); - } - } - async delete(id) { - const startTime = Date.now(); - try { - const result = await this.repo.delete(id); - (0, Logger_1.logDatabase)('Chat archive deleted', `delete(${id})`, Date.now() - startTime, { - archiveId: id, - affected: result.affected - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.delete error', error); - throw new Error('Failed to delete chat archive'); - } - } - async cleanup(olderThanDays) { - const startTime = Date.now(); - try { - const cutoffDate = new Date(Date.now() - olderThanDays * 24 * 60 * 60 * 1000); - const result = await this.repo - .createQueryBuilder() - .delete() - .where('archivedAt < :cutoffDate', { cutoffDate }) - .execute(); - (0, Logger_1.logDatabase)('Chat archive cleanup completed', `cleanup(${olderThanDays} days)`, Date.now() - startTime, { - olderThanDays, - deleted: result.affected, - cutoffDate - }); - return result.affected || 0; - } - catch (error) { - (0, Logger_1.logError)('ChatArchiveRepository.cleanup error', error); - throw new Error('Failed to cleanup old chat archives'); - } - } -} -exports.ChatArchiveRepository = ChatArchiveRepository; -//# sourceMappingURL=ChatArchiveRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.js.map b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.js.map deleted file mode 100644 index e8e74d18..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatArchiveRepository.js","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/ChatArchiveRepository.ts"],"names":[],"mappings":";;;AACA,4CAA6C;AAC7C,iFAA8E;AAE9E,8DAA0E;AAG1E,MAAa,qBAAqB;IAG9B;QACI,IAAI,CAAC,IAAI,GAAG,yBAAa,CAAC,aAAa,CAAC,2CAAoB,CAAC,CAAC;IAClE,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAsC;QAC/C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC7C,IAAA,oBAAW,EAAC,mCAAmC,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,EAAE;gBAChF,SAAS,EAAE,MAAM,CAAC,EAAE;gBACpB,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,YAAY,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,IAAI,CAAC;aACrD,CAAC,CAAC;YACH,OAAO,MAAM,CAAC;QAClB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAA,iBAAQ,EAAC,oCAAoC,EAAE,KAAc,CAAC,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QACjE,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO;QACT,MAAM,SAAS,GAAG,IAAI,CAAC,GA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KAAK,CAAC,qCAAqC,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC;CACJ;AAlID,sDAkIC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.d.ts b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.d.ts deleted file mode 100644 index a4c82c8e..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { ChatAggregate } from '../../Domain/Chat/ChatAggregate'; -import { ChatArchiveAggregate } from '../../Domain/Chat/ChatArchiveAggregate'; -import { IChatRepository } from '../../Domain/IRepository/IChatRepository'; -export declare class ChatRepository implements IChatRepository { - private repo; - private archiveRepo; - constructor(); - create(chat: Partial): Promise & ChatAggregate>; - findByPage(from: number, to: number): Promise<{ - chats: ChatAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - chats: ChatAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - findByUserId(userId: string): Promise; - findByUserIdIncludingDeleted(userId: string): Promise; - findByGameId(gameId: string): Promise; - findActiveChatsForUser(userId: string): Promise; - findInactiveChats(inactivityMinutes: number): Promise; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - archiveChat(chat: ChatAggregate): Promise; - getArchivedChat(chatId: string): Promise; - restoreFromArchive(chatId: string): Promise; -} -//# sourceMappingURL=ChatRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.d.ts.map deleted file mode 100644 index 6274573f..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatRepository.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/ChatRepository.ts"],"names":[],"mapp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astructure/Repository/ChatRepository.js b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.js deleted file mode 100644 index c782b107..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.js +++ /dev/null @@ -1,339 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatRepository = void 0; -const typeorm_1 = require("typeorm"); -const ormconfig_1 = require("../ormconfig"); -const ChatAggregate_1 = require("../../Domain/Chat/ChatAggregate"); -const ChatArchiveAggregate_1 = require("../../Domain/Chat/ChatArchiveAggregate"); -const Logger_1 = require("../../Application/Services/Logger"); -class ChatRepository { - constructor() { - this.repo = ormconfig_1.AppDataSource.getRepository(ChatAggregate_1.ChatAggregate); - this.archiveRepo = ormconfig_1.AppDataSource.getRepository(ChatArchiveAggregate_1.ChatArchiveAggregate); - } - async create(chat) { - const startTime = Date.now(); - try { - const result = await this.repo.save(chat); - (0, Logger_1.logDatabase)('Chat created successfully', undefined, Date.now() - startTime, { - chatId: result.id, - type: result.type, - participants: result.users?.length || 0 - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.create error', error); - throw new Error('Failed to create chat in database'); - } - } - async findByPage(from, to) { - const startTime = Date.now(); - try { - const skip = from; - const take = to - from + 1; - const [chats, totalCount] = await this.repo.findAndCount({ - where: { state: (0, typeorm_1.Not)(ChatAggregate_1.ChatState.SOFT_DELETE) }, - order: { createDate: 'DESC' }, - skip, - take - }); - (0, Logger_1.logDatabase)('Chats page retrieved successfully', undefined, Date.now() - startTime, { - from, - to, - returned: chats.length, - totalCount - }); - return { chats, totalCount }; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findByPage error', error); - throw new Error('Failed to retrieve chats page from database'); - } - } - async findByPageIncludingDeleted(from, to) { - const startTime = Date.now(); - try { - const skip = from; - const take = to - from + 1; - const [chats, totalCount] = await this.repo.findAndCount({ - order: { createDate: 'DESC' }, - skip, - take - }); - (0, Logger_1.logDatabase)('Chats page retrieved successfully (including deleted)', undefined, Date.now() - startTime, { - from, - to, - returned: chats.length, - totalCount - }); - return { chats, totalCount }; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findByPageIncludingDeleted error', error); - throw new Error('Failed to retrieve chats page from database'); - } - } - async findById(id) { - const startTime = Date.now(); - try { - const result = await this.repo.findOne({ - where: { - id, - state: (0, typeorm_1.Not)(ChatAggregate_1.ChatState.SOFT_DELETE) - } - }); - (0, Logger_1.logDatabase)('Chat findById query completed', undefined, Date.now() - startTime, { - found: !!result, - chatId: id - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findById error', error); - throw new Error('Failed to retrieve chat from database'); - } - } - async findByIdIncludingDeleted(id) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ id }); - (0, Logger_1.logDatabase)('Chat findByIdIncludingDeleted query completed', undefined, Date.now() - startTime, { - found: !!result, - chatId: id - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findByIdIncludingDeleted error', error); - throw new Error('Failed to retrieve chat from database'); - } - } - async findByUserId(userId) { - const startTime = Date.now(); - try { - const result = await this.repo - .createQueryBuilder('chat') - .where(':userId = ANY(chat.users)', { userId }) - .andWhere('chat.state != :softDelete', { softDelete: ChatAggregate_1.ChatState.SOFT_DELETE }) - .getMany(); - (0, Logger_1.logDatabase)('Chats retrieved by user id', `findByUserId(${userId})`, Date.now() - startTime, { - userId, - count: result.length - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findByUserId error', error); - throw new Error('Failed to find chats by user id'); - } - } - async findByUserIdIncludingDeleted(userId) { - const startTime = Date.now(); - try { - const result = await this.repo - .createQueryBuilder('chat') - .where(':userId = ANY(chat.users)', { userId }) - .getMany(); - (0, Logger_1.logDatabase)('Chats retrieved by user id (including deleted)', `findByUserIdIncludingDeleted(${userId})`, Date.now() - startTime, { - userId, - count: result.length - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findByUserIdIncludingDeleted error', error); - throw new Error('Failed to find all chats by user id'); - } - } - async findByGameId(gameId) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ - gameId, - type: ChatAggregate_1.ChatType.GAME, - state: ChatAggregate_1.ChatState.ACTIVE - }); - (0, Logger_1.logDatabase)('Chat retrieved by game id', `findByGameId(${gameId})`, Date.now() - startTime, { - gameId, - found: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findByGameId error', error); - throw new Error('Failed to find chat by game id'); - } - } - async findActiveChatsForUser(userId) { - const startTime = Date.now(); - try { - const result = await this.repo - .createQueryBuilder('chat') - .where(':userId = ANY(chat.users)', { userId }) - .andWhere('chat.state = :state', { state: ChatAggregate_1.ChatState.ACTIVE }) - .orderBy('chat.lastActivity', 'DESC') - .getMany(); - (0, Logger_1.logDatabase)('Active chats retrieved for user', `findActiveChatsForUser(${userId})`, Date.now() - startTime, { - userId, - count: result.length - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findActiveChatsForUser error', error); - throw new Error('Failed to find active chats for user'); - } - } - async findInactiveChats(inactivityMinutes) { - const startTime = Date.now(); - try { - const cutoffDate = new Date(Date.now() - inactivityMinutes * 60 * 1000); - const result = await this.repo - .createQueryBuilder('chat') - .where('chat.state = :state', { state: ChatAggregate_1.ChatState.ACTIVE }) - .andWhere('(chat.lastActivity < :cutoffDate OR chat.lastActivity IS NULL)', { cutoffDate }) - .getMany(); - (0, Logger_1.logDatabase)('Inactive chats retrieved', `findInactiveChats(${inactivityMinutes}min)`, Date.now() - startTime, { - inactivityMinutes, - count: result.length, - cutoffDate - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.findInactiveChats error', error); - throw new Error('Failed to find inactive chats'); - } - } - async update(id, update) { - const startTime = Date.now(); - try { - await this.repo.update(id, update); - const result = await this.findById(id); - (0, Logger_1.logDatabase)('Chat updated successfully', `update(${id})`, Date.now() - startTime, { - chatId: id, - updatedFields: Object.keys(update), - success: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.update error', error); - throw new Error('Failed to update chat in database'); - } - } - async delete(id) { - const startTime = Date.now(); - try { - const result = await this.repo.delete(id); - (0, Logger_1.logDatabase)('Chat deleted', `delete(${id})`, Date.now() - startTime, { - chatId: id, - affected: result.affected - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.delete error', error); - throw new Error('Failed to delete chat'); - } - } - async softDelete(id) { - const startTime = Date.now(); - try { - await this.repo.update(id, { state: ChatAggregate_1.ChatState.SOFT_DELETE }); - const result = await this.findById(id); - (0, Logger_1.logDatabase)('Chat soft deleted', `softDelete(${id})`, Date.now() - startTime, { - chatId: id, - success: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.softDelete error', error); - throw new Error('Failed to soft delete chat'); - } - } - async archiveChat(chat) { - const startTime = Date.now(); - try { - const archive = new ChatArchiveAggregate_1.ChatArchiveAggregate(); - archive.chatId = chat.id; - archive.archivedMessages = chat.messages; - archive.archivedAt = new Date(); - archive.chatType = chat.type; - archive.chatName = chat.name; - archive.gameId = chat.gameId; - archive.participants = chat.users; - const archivedResult = await this.archiveRepo.save(archive); - await this.repo.update(chat.id, { - state: ChatAggregate_1.ChatState.ARCHIVE, - messages: [], - archiveDate: new Date() - }); - (0, Logger_1.logDatabase)('Chat archived successfully', `archiveChat(${chat.id})`, Date.now() - startTime, { - chatId: chat.id, - messageCount: chat.messages.length, - archiveId: archivedResult.id - }); - return archivedResult; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.archiveChat error', error); - throw new Error('Failed to archive chat'); - } - } - async getArchivedChat(chatId) { - const startTime = Date.now(); - try { - const result = await this.archiveRepo.findOneBy({ chatId }); - (0, Logger_1.logDatabase)('Archived chat retrieved', `getArchivedChat(${chatId})`, Date.now() - startTime, { - chatId, - found: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.getArchivedChat error', error); - throw new Error('Failed to retrieve archived chat'); - } - } - async restoreFromArchive(chatId) { - const startTime = Date.now(); - try { - const archive = await this.archiveRepo.findOneBy({ chatId }); - if (!archive) { - return null; - } - // Game chats cannot be restored, only viewed - if (archive.chatType === ChatAggregate_1.ChatType.GAME) { - (0, Logger_1.logDatabase)('Game chat restore attempt blocked', `restoreFromArchive(${chatId})`, Date.now() - startTime, { - chatId, - chatType: archive.chatType, - blocked: true - }); - return null; - } - // Restore messages to the chat - await this.repo.update(chatId, { - state: ChatAggregate_1.ChatState.ACTIVE, - messages: archive.archivedMessages, - lastActivity: new Date(), - archiveDate: null - }); - const result = await this.findById(chatId); - (0, Logger_1.logDatabase)('Chat restored from archive', `restoreFromArchive(${chatId})`, Date.now() - startTime, { - chatId, - messageCount: archive.archivedMessages.length, - success: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('ChatRepository.restoreFromArchive error', error); - throw new Error('Failed to restore chat from archive'); - } - } -} -exports.ChatRepository = ChatRepository; -//# sourceMappingURL=ChatRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.js.map b/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.js.map deleted file mode 100644 index e92f51b2..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ChatRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ChatRepository.js","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/ChatRepository.ts"],"names":[],"mappings":";;;AAAA,qCAAoD;AACpD,4CAA6C;AAC7C,mEAAqF;AACrF,iFAA8E;AAE9E,8DAA0E;AAE1E,MAAa,cAAc;IAIvB;QACI,IAAI,CAAC,IAAI,GAAG,yBAAa,CAAC,aAAa,CAAC,6BAAa,CAAC,CAAC;QACvD,IAAI,CAAC,WAAW,GAAG,yBAAa,CAAC,aAAa,CAAC,2CAAoB,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAA4B;QACrC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAA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M,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC;CACJ;AA9VD,wCA8VC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.d.ts b/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.d.ts deleted file mode 100644 index 56a83a7f..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ContactAggregate } from '../../Domain/Contact/ContactAggregate'; -import { IContactRepository } from '../../Domain/IRepository/IContactRepository'; -export declare class ContactRepository implements IContactRepository { - private repo; - constructor(); - create(contact: Partial): Promise & ContactAggregate>; - findById(id: string): Promise; - findByPage(from: number, to: number): Promise<{ - contacts: ContactAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - contacts: ContactAggregate[]; - totalCount: number; - }>; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - searchIncludingDeleted(searchTerm: string): Promise; - search(searchTerm: string): Promise; -} -//# sourceMappingURL=ContactRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.d.ts.map deleted file mode 100644 index 8a92ea69..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactRepository.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/ContactRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAgB,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAGjF,qBAAa,iBAAkB,YAAW,kBAAkB;IACxD,OAAO,CAAC,IAAI,CAA+B;;IAMrC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAIzC,QAAQ,CAAC,EAAE,EAAE,MAAM;IAQnB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IAkCnG,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IA6BnH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAKpD,MAAM,CAAC,EAAE,EAAE,MAAM;IAIjB,UAAU,CAAC,EAAE,EAAE,MAAM;IAKrB,wBAAwB,CAAC,EAAE,EAAE,MAAM;IAInC,sBAAsB,CAAC,UAAU,EAAE,MAAM;IASzC,MAAM,CAAC,UAAU,EAAE,MAAM;CASlC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.js b/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.js deleted file mode 100644 index ebadaf2b..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.js +++ /dev/null @@ -1,110 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ContactRepository = void 0; -const typeorm_1 = require("typeorm"); -const ormconfig_1 = require("../ormconfig"); -const ContactAggregate_1 = require("../../Domain/Contact/ContactAggregate"); -const Logger_1 = require("../../Application/Services/Logger"); -class ContactRepository { - constructor() { - this.repo = ormconfig_1.AppDataSource.getRepository(ContactAggregate_1.ContactAggregate); - } - async create(contact) { - return this.repo.save(contact); - } - async findById(id) { - return this.repo - .createQueryBuilder('contact') - .where('contact.id = :id', { id }) - .andWhere('contact.state != :softDelete', { softDelete: ContactAggregate_1.ContactState.SOFT_DELETE }) - .getOne(); - } - async findByPage(from, to) { - const startTime = performance.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count({ - where: { - state: (0, typeorm_1.Not)(ContactAggregate_1.ContactState.SOFT_DELETE) - } - }); - // Get paginated results - const contacts = await this.repo - .createQueryBuilder('contact') - .where('contact.state != :softDelete', { softDelete: ContactAggregate_1.ContactState.SOFT_DELETE }) - .orderBy('contact.createDate', 'DESC') - .limit(limit) - .offset(offset) - .getMany(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Contact page query completed', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${contacts.length}, total: ${totalCount}, from: ${from}, to: ${to}`); - return { contacts, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Contact page query failed', `executionTime: ${Math.round(endTime - startTime)}ms, from: ${from}, to: ${to}`); - (0, Logger_1.logError)('ContactRepository.findByPage error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to get contacts page from database'); - } - } - async findByPageIncludingDeleted(from, to) { - const startTime = performance.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count(); - // Get paginated results - const contacts = await this.repo - .createQueryBuilder('contact') - .orderBy('contact.createDate', 'DESC') - .limit(limit) - .offset(offset) - .getMany(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Contact page query completed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${contacts.length}, total: ${totalCount}, from: ${from}, to: ${to}`); - return { contacts, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Contact page query failed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, from: ${from}, to: ${to}`); - (0, Logger_1.logError)('ContactRepository.findByPageIncludingDeleted error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to get contacts page from database'); - } - } - async update(id, update) { - await this.repo.update(id, update); - return this.findById(id); - } - async delete(id) { - return this.repo.delete(id); - } - async softDelete(id) { - await this.repo.update(id, { state: ContactAggregate_1.ContactState.SOFT_DELETE }); - return this.findById(id); - } - async findByIdIncludingDeleted(id) { - return this.repo.findOneBy({ id }); // Returns contact regardless of state - } - async searchIncludingDeleted(searchTerm) { - return this.repo - .createQueryBuilder('contact') - .where('contact.name ILIKE :searchTerm', { searchTerm: `%${searchTerm}%` }) - .orWhere('contact.email ILIKE :searchTerm', { searchTerm: `%${searchTerm}%` }) - .orWhere('contact.txt ILIKE :searchTerm', { searchTerm: `%${searchTerm}%` }) - .getMany(); - } - async search(searchTerm) { - return this.repo - .createQueryBuilder('contact') - .where('contact.name ILIKE :searchTerm', { searchTerm: `%${searchTerm}%` }) - .orWhere('contact.email ILIKE :searchTerm', { searchTerm: `%${searchTerm}%` }) - .orWhere('contact.txt ILIKE :searchTerm', { searchTerm: `%${searchTerm}%` }) - .andWhere('contact.state != :softDelete', { softDelete: ContactAggregate_1.ContactState.SOFT_DELETE }) - .getMany(); - } -} -exports.ContactRepository = ContactRepository; -//# sourceMappingURL=ContactRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.js.map b/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.js.map deleted file mode 100644 index 8b887878..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/ContactRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ContactRepository.js","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/ContactRepository.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAC1C,4CAA6C;AAC7C,4EAAuF;AAEvF,8DAA0E;AAE1E,MAAa,iBAAiB;IAG1B;QACI,IAAI,CAAC,IAAI,GAAG,yBAAa,CAAC,aAAa,CAAC,mCAAgB,CAAC,CAAC;IAC9D,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAkC;QAC3C,OAAO,IAAI,CAAC,IAAI,C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E,EAAE,EAAE,CAAC,CAAC,CAAC,sCAAsC;IAC9E,CAAC;IAED,KAAK,CAAC,sBAAsB,CAAC,UAAkB;QAC3C,OAAO,IAAI,CAAC,IAAI;aACX,kBAAkB,CAAC,SAAS,CAAC;aAC7B,KAAK,CAAC,gCAAgC,EAAE,EAAE,UAAU,EAAE,IAAI,UAAU,GAAG,EAAE,CAAC;aAC1E,OAAO,CAAC,iCAAiC,EAAE,EAAE,UAAU,EAAE,IAAI,UAAU,GAAG,EAAE,CAAC;aAC7E,OAAO,CAAC,+BAA+B,EAAE,EAAE,UAAU,EAAE,IAAI,UAAU,GAAG,EAAE,CAAC;aAC3E,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,UAAkB;QAC3B,OAAO,IAAI,CAAC,IAAI;aACX,kBAAkB,CAAC,SAAS,CAAC;aAC7B,KAAK,CAAC,gCAAgC,EAAE,EAAE,UAAU,EAAE,IAAI,UAAU,GAAG,EAAE,CAAC;aAC1E,OAAO,CAAC,iCAAiC,EAAE,EAAE,UAAU,EAAE,IAAI,UAAU,GAAG,EAAE,CAAC;aAC7E,OAAO,CAAC,+BAA+B,EAAE,EAAE,UAAU,EAAE,IAAI,UAAU,GAAG,EAAE,CAAC;aAC3E,QAAQ,CAAC,8BAA8B,EAAE,EAAE,UAAU,EAAE,+BAAY,CAAC,WAAW,EAAE,CAAC;aAClF,OAAO,EAAE,CAAC;IACnB,CAAC;CACJ;AAtHD,8CAsHC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.d.ts b/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.d.ts deleted file mode 100644 index 9bbd4605..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { DeckAggregate } from '../../Domain/Deck/DeckAggregate'; -import { IDeckRepository } from '../../Domain/IRepository/IDeckRepository'; -export declare class DeckRepository implements IDeckRepository { - private repo; - constructor(); - create(deck: Partial): Promise & DeckAggregate>; - findByPage(from: number, to: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - search(query: string, limit?: number, offset?: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; - /** - * Count active (non-soft-deleted) decks for a specific user - * @param userId - User ID to count decks for - * @returns Number of active decks - */ - countActiveByUserId(userId: string): Promise; - /** - * Count organizational decks for a specific user - * @param userId - User ID to count organizational decks for - * @returns Number of organizational decks - */ - countOrganizationalByUserId(userId: string): Promise; - /** - * Find decks with filtering based on user permissions and mandatory pagination - * @param userId - User ID for filtering - * @param userOrgId - User's organization ID (if any) - * @param isAdmin - Whether user is admin (bypasses filtering) - * @param from - Start index for pagination (default: 0) - * @param to - End index for pagination (default: 49) - * @returns Paginated filtered list of decks with total count - */ - findFilteredDecks(userId: string, userOrgId?: string | null, isAdmin?: boolean, from?: number, to?: number): Promise<{ - decks: DeckAggregate[]; - totalCount: number; - }>; -} -//# sourceMappingURL=DeckRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.d.ts.map deleted file mode 100644 index e9a42cea..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckRepository.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/DeckRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAgB,MAAM,iCAAiC,CAAC;A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,OAAO,CAAC,MAAM,CAAC;IAuBlE;;;;;;;;OAQG;IACG,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,GAAE,MAAU,EAAE,EAAE,GAAE,MAAW,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CAkFpL"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.js b/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.js deleted file mode 100644 index 485c5e06..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.js +++ /dev/null @@ -1,264 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeckRepository = void 0; -const typeorm_1 = require("typeorm"); -const ormconfig_1 = require("../ormconfig"); -const DeckAggregate_1 = require("../../Domain/Deck/DeckAggregate"); -const Logger_1 = require("../../Application/Services/Logger"); -const AdminBypassService_1 = require("../../Application/Services/AdminBypassService"); -class DeckRepository { - constructor() { - this.repo = ormconfig_1.AppDataSource.getRepository(DeckAggregate_1.DeckAggregate); - } - async create(deck) { - return this.repo.save(deck); - } - async findByPage(from, to) { - const startTime = performance.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count({ - where: { state: (0, typeorm_1.Not)(DeckAggregate_1.State.SOFT_DELETE) } - }); - // Get paginated results - const decks = await this.repo.find({ - where: { state: (0, typeorm_1.Not)(DeckAggregate_1.State.SOFT_DELETE) }, - order: { updatedate: 'DESC' }, - take: limit, - skip: offset - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck page query completed', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${decks.length}, total: ${totalCount}, from: ${from}, to: ${to}`); - return { decks, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck page query failed', `executionTime: ${Math.round(endTime - startTime)}ms, from: ${from}, to: ${to}`); - (0, Logger_1.logError)('DeckRepository.findByPage error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to get decks page from database'); - } - } - async findByPageIncludingDeleted(from, to) { - const startTime = performance.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count(); - // Get paginated results - const decks = await this.repo.find({ - order: { updatedate: 'DESC' }, - take: limit, - skip: offset - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck page query completed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${decks.length}, total: ${totalCount}, from: ${from}, to: ${to}`); - return { decks, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck page query failed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, from: ${from}, to: ${to}`); - (0, Logger_1.logError)('DeckRepository.findByPageIncludingDeleted error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to get decks page from database'); - } - } - async findById(id) { - return this.repo.findOne({ - where: { - id, - state: (0, typeorm_1.Not)(DeckAggregate_1.State.SOFT_DELETE) - } - }); - } - async findByIdIncludingDeleted(id) { - return this.repo.findOneBy({ id }); - } - async update(id, update) { - await this.repo.update(id, update); - return this.findById(id); - } - async delete(id) { - return this.repo.delete(id); - } - async softDelete(id) { - await this.repo.update(id, { state: DeckAggregate_1.State.SOFT_DELETE }); - return this.findById(id); - } - async search(query, limit = 20, offset = 0) { - const startTime = performance.now(); - try { - const searchPattern = `%${query.toLowerCase()}%`; - const queryBuilder = this.repo.createQueryBuilder('deck') - .where('deck.state != :softDelete', { softDelete: DeckAggregate_1.State.SOFT_DELETE }) - .andWhere('LOWER(deck.name) LIKE :pattern', { pattern: searchPattern }); - const totalCount = await queryBuilder.getCount(); - const decks = await queryBuilder - .orderBy('deck.name', 'ASC') - .limit(limit) - .offset(offset) - .getMany(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck search completed', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${decks.length}, total: ${totalCount}, searchTerm: "${query}", limit: ${limit}, offset: ${offset}`); - return { decks, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck search failed', `executionTime: ${Math.round(endTime - startTime)}ms, searchTerm: "${query}"`); - (0, Logger_1.logError)('DeckRepository.search error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to search decks in database'); - } - } - async searchIncludingDeleted(query, limit = 20, offset = 0) { - const startTime = performance.now(); - try { - const searchPattern = `%${query.toLowerCase()}%`; - const queryBuilder = this.repo.createQueryBuilder('deck') - .where('LOWER(deck.name) LIKE :pattern', { pattern: searchPattern }); - const totalCount = await queryBuilder.getCount(); - const decks = await queryBuilder - .orderBy('deck.name', 'ASC') - .limit(limit) - .offset(offset) - .getMany(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck search completed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${decks.length}, total: ${totalCount}, searchTerm: "${query}", limit: ${limit}, offset: ${offset}`); - return { decks, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Deck search failed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, searchTerm: "${query}"`); - (0, Logger_1.logError)('DeckRepository.searchIncludingDeleted error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to search all decks in database'); - } - } - /** - * Count active (non-soft-deleted) decks for a specific user - * @param userId - User ID to count decks for - * @returns Number of active decks - */ - async countActiveByUserId(userId) { - const startTime = performance.now(); - try { - const count = await this.repo.count({ - where: { - userid: userId, - state: (0, typeorm_1.Not)(DeckAggregate_1.State.SOFT_DELETE) - } - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('User active deck count completed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}, count: ${count}`); - return count; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('User active deck count failed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}`); - (0, Logger_1.logError)('DeckRepository.countActiveByUserId error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to count active decks for user'); - } - } - /** - * Count organizational decks for a specific user - * @param userId - User ID to count organizational decks for - * @returns Number of organizational decks - */ - async countOrganizationalByUserId(userId) { - const startTime = performance.now(); - try { - const count = await this.repo.count({ - where: { - userid: userId, - ctype: DeckAggregate_1.CType.ORGANIZATION, - state: (0, typeorm_1.Not)(DeckAggregate_1.State.SOFT_DELETE) - } - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('User organizational deck count completed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}, count: ${count}`); - return count; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('User organizational deck count failed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}`); - (0, Logger_1.logError)('DeckRepository.countOrganizationalByUserId error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to count organizational decks for user'); - } - } - /** - * Find decks with filtering based on user permissions and mandatory pagination - * @param userId - User ID for filtering - * @param userOrgId - User's organization ID (if any) - * @param isAdmin - Whether user is admin (bypasses filtering) - * @param from - Start index for pagination (default: 0) - * @param to - End index for pagination (default: 49) - * @returns Paginated filtered list of decks with total count - */ - async findFilteredDecks(userId, userOrgId, isAdmin, from = 0, to = 49) { - const startTime = performance.now(); - try { - // Validate pagination parameters - if (from < 0 || to < from) { - throw new Error('Invalid pagination parameters'); - } - const limit = to - from + 1; - if (limit > 100) { - throw new Error('Page size too large. Maximum 100 records per request'); - } - const skip = from; - const take = limit; - // Admin gets ALL decks with pagination - if (isAdmin) { - AdminBypassService_1.AdminBypassService.logAdminBypass('FIND_FILTERED_DECKS_BYPASS', userId, 'all-decks-filtered', { - bypassType: 'admin-all-decks-filtered', - userOrgId, - from, - to, - operation: 'read' - }); - const [decks, totalCount] = await this.repo.findAndCount({ - where: { state: (0, typeorm_1.Not)(DeckAggregate_1.State.SOFT_DELETE) }, - relations: ['organization'], - order: { creationdate: 'DESC' }, - skip, - take - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Admin filtered deck query completed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}, found: ${decks.length}, totalCount: ${totalCount}, isAdmin: true`); - return { decks, totalCount }; - } - // Regular user complex filtering - const queryBuilder = this.repo.createQueryBuilder('deck') - .leftJoinAndSelect('deck.organization', 'org') - .where('deck.state != :deletedState', { deletedState: DeckAggregate_1.State.SOFT_DELETE }); - queryBuilder.andWhere('(' + - // User's private decks - '(deck.userid = :userId AND deck.ctype = :privateType) OR ' + - // All public decks - '(deck.ctype = :publicType)' + - // Organization decks from same org (if user has org) - (userOrgId ? ' OR (deck.ctype = :orgType AND org.id = :orgId)' : '') + - ')', { - userId, - privateType: DeckAggregate_1.CType.PRIVATE, - publicType: DeckAggregate_1.CType.PUBLIC, - ...(userOrgId && { orgType: DeckAggregate_1.CType.ORGANIZATION, orgId: userOrgId }) - }); - queryBuilder - .orderBy('deck.creationdate', 'DESC') - .skip(skip) - .take(take); - const [decks, totalCount] = await queryBuilder.getManyAndCount(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('User filtered deck query completed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}, userOrgId: ${userOrgId}, found: ${decks.length}, totalCount: ${totalCount}, isAdmin: false`); - return { decks, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Filtered deck query failed', `executionTime: ${Math.round(endTime - startTime)}ms, userId: ${userId}, isAdmin: ${isAdmin}`); - (0, Logger_1.logError)('DeckRepository.findFilteredDecks error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to find filtered decks'); - } - } -} -exports.DeckRepository = DeckRepository; -//# sourceMappingURL=DeckRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.js.map b/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.js.map deleted file mode 100644 index d17a0a4f..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/DeckRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeckRepository.js","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/DeckRepository.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAC1C,4CAA6C;AAC7C,mEAA8E;AAE9E,8DAA0E;AAC1E,sFAAmF;AAEnF,MAAa,cAAc;IAEvB;QACI,IAAI,CAAC,IAAI,GAAG,yBAAa,CAAC,aAAa,CAAC,6BAAa,CAAC,CAAC;IAC3D,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAA4B;QACrC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,IAAY,EAAE,EAAU;QACrC,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QACpC,IAAI,CAAC;YACD,MAAM,KAAK,GAAG,EAAE,GAAG,IAAI,GAAG,CAAC,CAAC;YAC5B,MAAM,MAAM,GAAG,IAAI,CAAC;YAEpB,iCAAiC;YACjC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;gBACrC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAA,aAAG,EAAC,qBAAK,CAAC,WAAW,CAAC,EAAE;aAC3C,CAAC,CAAC;YAEH,wBAAwB;YACxB,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC/B,KAAK,EAAE,EAAE,KAAK,EAAE,IAAA,aAAG,EAAC,qBAAK,CAAC,WAAW,CAAC,EAAE;gBACxC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;gBAC7B,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,MAAM;aACf,CAAC,CAAC;YAEH,MAAM,OAAO,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EAAE,UAAU,CAAC,GAAG,MAAM,YAAY,CAAC,eAAe,EAAE,CAAC;YAEjE,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;YAClC,IAAA,oBAAW,EAAC,oCAAoC,EAAE,kBAAkB,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,eAAe,MAAM,gBAAgB,SAAS,YAAY,KAAK,CAAC,MAAM,iBAAiB,UAAU,kBAAkB,CAAC,CAAC;YAExN,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;QACjC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;YAClC,IAAA,oBAAW,EAAC,4BAA4B,EAAE,kBAAkB,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,eAAe,MAAM,cAAc,OAAO,EAAE,CAAC,CAAC;YACzI,IAAA,iBAAQ,EAAC,wCAAwC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC9G,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACrD,CAAC;IACL,CAAC;CACJ;AA3SD,wCA2SC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.d.ts b/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.d.ts deleted file mode 100644 index 7d3c6e6d..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { OrganizationAggregate } from '../../Domain/Organization/OrganizationAggregate'; -import { IOrganizationRepository } from '../../Domain/IRepository/IOrganizationRepository'; -export declare class OrganizationRepository implements IOrganizationRepository { - private repo; - constructor(); - create(org: Partial): Promise & OrganizationAggregate>; - findByPage(from: number, to: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - search(query: string, limit?: number, offset?: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; - searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ - organizations: OrganizationAggregate[]; - totalCount: number; - }>; -} -//# sourceMappingURL=OrganizationRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.d.ts.map deleted file mode 100644 index 4d6ce71d..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationRepository.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/OrganizationRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAqB,MAAM,iDAAiD,CAAC;AAC3G,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAG3F,qBAAa,sBAAuB,YAAW,uBAAuB;IAClE,OAAO,CAAC,IAAI,CAAoC;;IAK1C,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAI1C,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,qBAAqB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IA+B7G,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,qBAAqB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IA4B7H,QAAQ,CAAC,EAAE,EAAE,MAAM;IASnB,wBAAwB,CAAC,EAAE,EAAE,MAAM;IAInC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAKzD,MAAM,CAAC,EAAE,EAAE,MAAM;IAIjB,UAAU,CAAC,EAAE,EAAE,MAAM;IAKrB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,EAAE,MAAM,GAAE,MAAU,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,qBAAqB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IA6BtI,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,EAAE,MAAM,GAAE,MAAU,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,qBAAqB,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CAgC/J"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.js b/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.js deleted file mode 100644 index a6b35663..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.js +++ /dev/null @@ -1,141 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.OrganizationRepository = void 0; -const typeorm_1 = require("typeorm"); -const ormconfig_1 = require("../ormconfig"); -const OrganizationAggregate_1 = require("../../Domain/Organization/OrganizationAggregate"); -const Logger_1 = require("../../Application/Services/Logger"); -class OrganizationRepository { - constructor() { - this.repo = ormconfig_1.AppDataSource.getRepository(OrganizationAggregate_1.OrganizationAggregate); - } - async create(org) { - return this.repo.save(org); - } - async findByPage(from, to) { - const startTime = performance.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count({ - where: { state: (0, typeorm_1.Not)(OrganizationAggregate_1.OrganizationState.SOFT_DELETE) } - }); - // Get paginated results - const organizations = await this.repo.find({ - where: { state: (0, typeorm_1.Not)(OrganizationAggregate_1.OrganizationState.SOFT_DELETE) }, - order: { name: 'ASC' }, - take: limit, - skip: offset - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization page query completed', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${organizations.length}, total: ${totalCount}, from: ${from}, to: ${to}`); - return { organizations, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization page query failed', `executionTime: ${Math.round(endTime - startTime)}ms, from: ${from}, to: ${to}`); - (0, Logger_1.logError)('OrganizationRepository.findByPage error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to get organizations page from database'); - } - } - async findByPageIncludingDeleted(from, to) { - const startTime = performance.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count(); - // Get paginated results - const organizations = await this.repo.find({ - order: { name: 'ASC' }, - take: limit, - skip: offset - }); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization page query completed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${organizations.length}, total: ${totalCount}, from: ${from}, to: ${to}`); - return { organizations, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization page query failed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, from: ${from}, to: ${to}`); - (0, Logger_1.logError)('OrganizationRepository.findByPageIncludingDeleted error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to get organizations page from database'); - } - } - async findById(id) { - return this.repo.findOne({ - where: { - id, - state: (0, typeorm_1.Not)(OrganizationAggregate_1.OrganizationState.SOFT_DELETE) - } - }); - } - async findByIdIncludingDeleted(id) { - return this.repo.findOneBy({ id }); - } - async update(id, update) { - await this.repo.update(id, update); - return this.findById(id); - } - async delete(id) { - return this.repo.delete(id); - } - async softDelete(id) { - await this.repo.update(id, { state: OrganizationAggregate_1.OrganizationState.SOFT_DELETE }); - return this.findById(id); - } - async search(query, limit = 20, offset = 0) { - const startTime = performance.now(); - try { - const searchPattern = `%${query.toLowerCase()}%`; - const queryBuilder = this.repo.createQueryBuilder('org') - .where('org.state != :softDelete', { softDelete: OrganizationAggregate_1.OrganizationState.SOFT_DELETE }) - .andWhere('(LOWER(org.name) LIKE :pattern OR LOWER(org.contactfname) LIKE :pattern OR LOWER(org.contactlname) LIKE :pattern OR LOWER(org.contactemail) LIKE :pattern OR LOWER(CONCAT(org.contactfname, \' \', org.contactlname)) LIKE :pattern)', { pattern: searchPattern }); - const totalCount = await queryBuilder.getCount(); - const organizations = await queryBuilder - .orderBy('org.name', 'ASC') - .limit(limit) - .offset(offset) - .getMany(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization search completed', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${organizations.length}, total: ${totalCount}, searchTerm: "${query}", limit: ${limit}, offset: ${offset}`); - return { organizations, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization search failed', `executionTime: ${Math.round(endTime - startTime)}ms, searchTerm: "${query}"`); - (0, Logger_1.logError)('OrganizationRepository.search error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to search organizations in database'); - } - } - async searchIncludingDeleted(query, limit = 20, offset = 0) { - const startTime = performance.now(); - try { - const searchPattern = `%${query.toLowerCase()}%`; - const queryBuilder = this.repo.createQueryBuilder('org') - .where('LOWER(org.name) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(org.contactfname) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(org.contactlname) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(org.contactemail) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(CONCAT(org.contactfname, \' \', org.contactlname)) LIKE :pattern', { pattern: searchPattern }); - const totalCount = await queryBuilder.getCount(); - const organizations = await queryBuilder - .orderBy('org.name', 'ASC') - .limit(limit) - .offset(offset) - .getMany(); - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization search completed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, found: ${organizations.length}, total: ${totalCount}, searchTerm: "${query}", limit: ${limit}, offset: ${offset}`); - return { organizations, totalCount }; - } - catch (error) { - const endTime = performance.now(); - (0, Logger_1.logDatabase)('Organization search failed (including deleted)', `executionTime: ${Math.round(endTime - startTime)}ms, searchTerm: "${query}"`); - (0, Logger_1.logError)('OrganizationRepository.searchIncludingDeleted error', error instanceof Error ? error : new Error(String(error))); - throw new Error('Failed to search all organizations in database'); - } - } -} -exports.OrganizationRepository = OrganizationRepository; -//# sourceMappingURL=OrganizationRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.js.map b/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.js.map deleted file mode 100644 index afef42a8..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/OrganizationRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrganizationRepository.js","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/OrganizationRepository.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAC1C,4CAA6C;AAC7C,2FAA2G;AAE3G,8DAA0E;AAE1E,MAAa,sBAAsB;IAE/B;QACI,IAAI,CAAC,IAAI,GAAG,yBAAa,CAAC,aAAa,CAAC,6CAAqB,CAAC,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,GAAmC;QAC5C,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,IAAY,EAAE,EAAU;QACrC,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QACpC,IAAI,CAAC;YACD,MAAM,KAAK,GAAG,EAAE,GAAG,IAAI,GAAG,CAAC,CAAC;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AAS,CAAC,oBAAoB,KAAK,GAAG,CAAC,CAAC;YAC7I,IAAA,iBAAQ,EAAC,qDAAqD,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC3H,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;QACtE,CAAC;IACL,CAAC;CAEJ;AA7JD,wDA6JC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.d.ts b/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.d.ts deleted file mode 100644 index 029a4b6f..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { UserAggregate } from '../../Domain/User/UserAggregate'; -import { IUserRepository } from '../../Domain/IRepository/IUserRepository'; -export declare class UserRepository implements IUserRepository { - private repo; - constructor(); - create(user: Partial): Promise & UserAggregate>; - findByPage(from: number, to: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - findByPageIncludingDeleted(from: number, to: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - findById(id: string): Promise; - findByIdIncludingDeleted(id: string): Promise; - findByUsername(username: string): Promise; - findByEmail(email: string): Promise; - findByToken(token: string): Promise; - update(id: string, update: Partial): Promise; - delete(id: string): Promise; - softDelete(id: string): Promise; - deactivate(id: string): Promise; - search(query: string, limit?: number, offset?: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; - searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ - users: UserAggregate[]; - totalCount: number; - }>; -} -//# sourceMappingURL=UserRepository.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.d.ts.map deleted file mode 100644 index 1d34747e..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserRepository.d.ts","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/UserRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAa,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAG3E,qBAAa,cAAe,YAAW,eAAe;IAClD,OAAO,CAAC,IAAI,CAA4B;;IAKlC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC;IAsBnC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IA+B7F,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IA4B7G,QAAQ,CAAC,EAAE,EAAE,MAAM;IAyBnB,wBAAwB,CAAC,EAAE,EAAE,MAAM;IAoBnC,cAAc,CAAC,QAAQ,EAAE,MAAM;IAe/B,WAAW,CAAC,KAAK,EAAE,MAAM;IAezB,WAAW,CAAC,KAAK,EAAE,MAAM;IAezB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC;IA4BjD,MAAM,CAAC,EAAE,EAAE,MAAM;IAqBjB,UAAU,CAAC,EAAE,EAAE,MAAM;IAsBrB,UAAU,CAAC,EAAE,EAAE,MAAM;IAsBrB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,EAAE,MAAM,GAAE,MAAU,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IAkCtH,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,EAAE,MAAM,GAAE,MAAU,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,EAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;CAsC/I"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.js b/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.js deleted file mode 100644 index 78e34135..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.js +++ /dev/null @@ -1,312 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UserRepository = void 0; -const typeorm_1 = require("typeorm"); -const ormconfig_1 = require("../ormconfig"); -const UserAggregate_1 = require("../../Domain/User/UserAggregate"); -const Logger_1 = require("../../Application/Services/Logger"); -class UserRepository { - constructor() { - this.repo = ormconfig_1.AppDataSource.getRepository(UserAggregate_1.UserAggregate); - } - async create(user) { - const startTime = Date.now(); - try { - const result = await this.repo.save(user); - (0, Logger_1.logDatabase)('User created successfully', undefined, Date.now() - startTime, { - userId: result.id, - username: user.username, - email: user.email - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.create error', error); - // Handle unique constraint violations - if (error instanceof Error && (error.message.includes('duplicate') || error.message.includes('unique'))) { - throw new Error('User with this username or email already exists'); - } - throw new Error('Failed to create user in database'); - } - } - async findByPage(from, to) { - const startTime = Date.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count({ - where: { state: (0, typeorm_1.Not)(UserAggregate_1.UserState.SOFT_DELETE) } - }); - // Get paginated results - const users = await this.repo.find({ - where: { state: (0, typeorm_1.Not)(UserAggregate_1.UserState.SOFT_DELETE) }, - order: { regdate: 'DESC' }, - take: limit, - skip: offset - }); - (0, Logger_1.logDatabase)('User page query completed', `from: ${from}, to: ${to}`, Date.now() - startTime, { - found: users.length, - total: totalCount - }); - return { users, totalCount }; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findByPage error', error); - throw new Error('Failed to get users page from database'); - } - } - async findByPageIncludingDeleted(from, to) { - const startTime = Date.now(); - try { - const limit = to - from + 1; - const offset = from; - // Get total count for pagination - const totalCount = await this.repo.count(); - // Get paginated results - const users = await this.repo.find({ - order: { regdate: 'DESC' }, - take: limit, - skip: offset - }); - (0, Logger_1.logDatabase)('User page query completed (including deleted)', `from: ${from}, to: ${to}`, Date.now() - startTime, { - found: users.length, - total: totalCount - }); - return { users, totalCount }; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findByPageIncludingDeleted error', error); - throw new Error('Failed to get users page from database'); - } - } - async findById(id) { - const startTime = Date.now(); - try { - const result = await this.repo.findOne({ - where: { - id, - state: (0, typeorm_1.Not)(UserAggregate_1.UserState.SOFT_DELETE) - } - }); - (0, Logger_1.logDatabase)('User findById query completed', `findOneBy({ id: ${id} })`, Date.now() - startTime, { - found: !!result, - userId: id - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findById error', error); - if (error instanceof Error && error.message.includes('invalid input syntax for type uuid')) { - return null; - } - throw new Error('Failed to retrieve user from database'); - } - } - async findByIdIncludingDeleted(id) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ id }); - (0, Logger_1.logDatabase)('User findByIdIncludingDeleted query completed', `findOneBy({ id: ${id} })`, Date.now() - startTime, { - found: !!result, - userId: id - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findByIdIncludingDeleted error', error); - if (error instanceof Error && error.message.includes('invalid input syntax for type uuid')) { - return null; - } - throw new Error('Failed to retrieve user from database'); - } - } - async findByUsername(username) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ username }); - (0, Logger_1.logDatabase)('User findByUsername query completed', `findOneBy({ username: ${username} })`, Date.now() - startTime, { - found: !!result, - username - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findByUsername error', error); - throw new Error('Failed to retrieve user by username from database'); - } - } - async findByEmail(email) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ email }); - (0, Logger_1.logDatabase)('User findByEmail query completed', `findOneBy({ email: ${email} })`, Date.now() - startTime, { - found: !!result, - email - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findByEmail error', error); - throw new Error('Failed to retrieve user by email from database'); - } - } - async findByToken(token) { - const startTime = Date.now(); - try { - const result = await this.repo.findOneBy({ token: token }); - (0, Logger_1.logDatabase)('User findByToken query completed', `findOneBy({ token })`, Date.now() - startTime, { - found: !!result, - tokenPrefix: token.substring(0, 8) + '...' - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.findByToken error', error); - throw new Error('Failed to retrieve user by token from database'); - } - } - async update(id, update) { - const startTime = Date.now(); - try { - await this.repo.update(id, update); - const result = await this.findById(id); - (0, Logger_1.logDatabase)('User updated successfully', `update(${id})`, Date.now() - startTime, { - userId: id, - updatedFields: Object.keys(update), - success: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.update error', error); - // Handle unique constraint violations - if (error instanceof Error && (error.message.includes('duplicate') || error.message.includes('unique'))) { - throw new Error('Username or email already exists'); - } - // Handle invalid UUID format - if (error instanceof Error && error.message.includes('invalid input syntax for type uuid')) { - throw new Error('Invalid user ID format'); - } - throw new Error('Failed to update user in database'); - } - } - async delete(id) { - const startTime = Date.now(); - try { - const result = await this.repo.delete(id); - (0, Logger_1.logDatabase)('User deleted successfully', `delete(${id})`, Date.now() - startTime, { - userId: id, - affected: result.affected - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.delete error', error); - // Handle invalid UUID format - if (error instanceof Error && error.message.includes('invalid input syntax for type uuid')) { - throw new Error('Invalid user ID format'); - } - throw new Error('Failed to delete user from database'); - } - } - async softDelete(id) { - const startTime = Date.now(); - try { - await this.repo.update(id, { state: UserAggregate_1.UserState.SOFT_DELETE }); - const result = await this.findById(id); - (0, Logger_1.logDatabase)('User soft deleted successfully', `update(${id}, { state: SOFT_DELETE })`, Date.now() - startTime, { - userId: id, - success: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.softDelete error', error); - // Handle invalid UUID format - if (error instanceof Error && error.message.includes('invalid input syntax for type uuid')) { - throw new Error('Invalid user ID format'); - } - throw new Error('Failed to soft delete user in database'); - } - } - async deactivate(id) { - const startTime = Date.now(); - try { - await this.repo.update(id, { state: UserAggregate_1.UserState.DEACTIVATED }); - const result = await this.findById(id); - (0, Logger_1.logDatabase)('User deactivated successfully', `update(${id}, { state: DEACTIVATED })`, Date.now() - startTime, { - userId: id, - success: !!result - }); - return result; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.deactivate error', error); - // Handle invalid UUID format - if (error instanceof Error && error.message.includes('invalid input syntax for type uuid')) { - throw new Error('Invalid user ID format'); - } - throw new Error('Failed to deactivate user in database'); - } - } - async search(query, limit = 20, offset = 0) { - const startTime = Date.now(); - try { - const searchPattern = `%${query.toLowerCase()}%`; - const queryBuilder = this.repo.createQueryBuilder('user') - .where('user.state != :softDelete', { softDelete: UserAggregate_1.UserState.SOFT_DELETE }) - .andWhere('(LOWER(user.username) LIKE :pattern OR LOWER(user.email) LIKE :pattern OR LOWER(user.fname) LIKE :pattern OR LOWER(user.lname) LIKE :pattern OR LOWER(CONCAT(user.fname, \' \', user.lname)) LIKE :pattern)', { pattern: searchPattern }); - const totalCount = await queryBuilder.getCount(); - const users = await queryBuilder - .orderBy('user.username', 'ASC') - .limit(limit) - .offset(offset) - .getMany(); - (0, Logger_1.logDatabase)('User search completed', `search query: ${query.substring(0, 50)}...`, Date.now() - startTime, { - query, - limit, - offset, - totalCount, - returnedCount: users.length - }); - return { users, totalCount }; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.search error', error); - throw new Error('Failed to search users in database'); - } - } - async searchIncludingDeleted(query, limit = 20, offset = 0) { - const startTime = Date.now(); - try { - const searchPattern = `%${query.toLowerCase()}%`; - const queryBuilder = this.repo.createQueryBuilder('user') - .where('LOWER(user.username) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(user.email) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(user.fname) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(user.lname) LIKE :pattern', { pattern: searchPattern }) - .orWhere('LOWER(CONCAT(user.fname, \' \', user.lname)) LIKE :pattern', { pattern: searchPattern }); - const totalCount = await queryBuilder.getCount(); - const users = await queryBuilder - .orderBy('user.username', 'ASC') - .limit(limit) - .offset(offset) - .getMany(); - (0, Logger_1.logDatabase)('User search completed (including deleted)', `search query: ${query.substring(0, 50)}...`, Date.now() - startTime, { - query, - limit, - offset, - totalCount, - returnedCount: users.length - }); - return { users, totalCount }; - } - catch (error) { - (0, Logger_1.logError)('UserRepository.searchIncludingDeleted error', error); - throw new Error('Failed to search all users in database'); - } - } -} -exports.UserRepository = UserRepository; -//# sourceMappingURL=UserRepository.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.js.map b/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.js.map deleted file mode 100644 index 83e8bbf4..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/Repository/UserRepository.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UserRepository.js","sourceRoot":"","sources":["../../../src/Infrastructure/Repository/UserRepository.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAC1C,4CAA6C;AAC7C,mEAA2E;AAE3E,8DAA0E;AAE1E,MAAa,cAAc;IAEvB;QACI,IAAI,CAAC,IAAI,GAAG,yBAAa,CAAC,aAAa,CAAC,6BAAa,CAAC,CAAC;IAC3D,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAA4B;QACrC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,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Race_Backend/dist/Infrastructure/ormconfig.d.ts deleted file mode 100644 index 7c7f09c4..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/ormconfig.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { DataSource } from 'typeorm'; -export declare const AppDataSource: DataSource; -//# sourceMappingURL=ormconfig.d.ts.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/ormconfig.d.ts.map b/SerpentRace_Backend/dist/Infrastructure/ormconfig.d.ts.map deleted file mode 100644 index 45726959..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/ormconfig.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ormconfig.d.ts","sourceRoot":"","sources":["../../src/Infrastructure/ormconfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,eAAO,MAAM,aAAa,YAaxB,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/ormconfig.js b/SerpentRace_Backend/dist/Infrastructure/ormconfig.js deleted file mode 100644 index 0d6d1378..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/ormconfig.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AppDataSource = void 0; -const typeorm_1 = require("typeorm"); -const path_1 = require("path"); -exports.AppDataSource = new typeorm_1.DataSource({ - type: 'postgres', - host: process.env.DB_HOST || 'localhost', - port: parseInt(process.env.DB_PORT || '5432'), - username: process.env.DB_USERNAME || 'postgres', - password: process.env.DB_PASSWORD || 'password', - database: process.env.DB_NAME || 'serpentrace', - synchronize: false, // Set to false when using migrations - logging: process.env.NODE_ENV === 'development', - entities: [(0, path_1.join)(__dirname, '../Domain/**/*Aggregate.ts')], - migrations: [(0, path_1.join)(__dirname, './Migrations/*.ts')], - migrationsTableName: 'migrations', - migrationsRun: false // Let migrations run manually -}); -//# sourceMappingURL=ormconfig.js.map \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Infrastructure/ormconfig.js.map b/SerpentRace_Backend/dist/Infrastructure/ormconfig.js.map deleted file mode 100644 index e07ae8a5..00000000 --- a/SerpentRace_Backend/dist/Infrastructure/ormconfig.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ormconfig.js","sourceRoot":"","sources":["../../src/Infrastructure/ormconfig.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AACrC,+BAA4B;AAEf,QAAA,aAAa,GAAG,IAAI,oBAAU,CAAC;IACxC,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,WAAW;IACxC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC;IAC7C,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,UAAU;IAC/C,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,UAAU;IAC/C,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,aAAa;IAC9C,WAAW,EAAE,KAAK,EAAE,qCAAqC;IACzD,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa;IAC/C,QAAQ,EAAE,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,4BAA4B,CAAC,CAAC;IACzD,UAAU,EAAE,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC;IAClD,mBAAmB,EAAE,YAAY;IACjC,aAAa,EAAE,KAAK,CAAC,8BAA8B;CACtD,CAAC,CAAC"} \ No newline at end of file diff --git a/SerpentRace_Backend/dist/Templates/contact-response-de.html b/SerpentRace_Backend/dist/Templates/contact-response-de.html deleted file mode 100644 index bb5c8d03..00000000 --- a/SerpentRace_Backend/dist/Templates/contact-response-de.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - {{companyName}} - Antwort auf Ihre {{contactTypeString}} - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/contact-response-hu.html b/SerpentRace_Backend/dist/Templates/contact-response-hu.html deleted file mode 100644 index aeac09c3..00000000 --- a/SerpentRace_Backend/dist/Templates/contact-response-hu.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - {{companyName}} - Válasz az Ön {{contactTypeString}} üzenetére - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/contact-response.html b/SerpentRace_Backend/dist/Templates/contact-response.html deleted file mode 100644 index 4c928510..00000000 --- a/SerpentRace_Backend/dist/Templates/contact-response.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - {{companyName}} - Response to Your {{contactTypeString}} - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/password-reset-de.html b/SerpentRace_Backend/dist/Templates/password-reset-de.html deleted file mode 100644 index cba82184..00000000 --- a/SerpentRace_Backend/dist/Templates/password-reset-de.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - SerpentRace - Passwort zurücksetzen - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/password-reset-hu.html b/SerpentRace_Backend/dist/Templates/password-reset-hu.html deleted file mode 100644 index 5ac57bbd..00000000 --- a/SerpentRace_Backend/dist/Templates/password-reset-hu.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - SerpentRace - Jelszó visszaállítás kérése - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/password-reset.html b/SerpentRace_Backend/dist/Templates/password-reset.html deleted file mode 100644 index 9fbf46e4..00000000 --- a/SerpentRace_Backend/dist/Templates/password-reset.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - SerpentRace - Password Reset Request - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/verification-de.html b/SerpentRace_Backend/dist/Templates/verification-de.html deleted file mode 100644 index 068c35b0..00000000 --- a/SerpentRace_Backend/dist/Templates/verification-de.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - SerpentRace - Konto verifizieren - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/verification-hu.html b/SerpentRace_Backend/dist/Templates/verification-hu.html deleted file mode 100644 index ec8e6dc4..00000000 --- a/SerpentRace_Backend/dist/Templates/verification-hu.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - SerpentRace - Fiók megerősítése - - - - - - diff --git a/SerpentRace_Backend/dist/Templates/verification.html b/SerpentRace_Backend/dist/Templates/verification.html deleted file mode 100644 index 24dd5bc8..00000000 --- a/SerpentRace_Backend/dist/Templates/verification.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - SerpentRace - Verify Your Account - - - - - - diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-11T19-46-55-317Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-11T19-46-55-317Z.log new file mode 100644 index 00000000..01df8eab --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-11T19-46-55-317Z.log @@ -0,0 +1,13 @@ +# SerpentRace Backend Logs +# Started: 2025-09-11T19:46:55.317Z +# Max entries per file: 10000 + +2025-09-11T19:47:01.847Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-11T19:47:01.860Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-11T19:47:01.860Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-11T19:47:03.007Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-11T19:47:03.029Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-11T19:47:03.031Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-11T19:47:03.036Z | [STARTUP] | Redis client connected successfully +2025-09-11T19:50:33.982Z | [STARTUP] | Received SIGTERM. Shutting down gracefully... +2025-09-11T19:50:33.984Z | [STARTUP] | HTTP server closed +2025-09-11T19:50:33.986Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T17-53-43-765Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T17-53-43-765Z.log new file mode 100644 index 00000000..a34a0796 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T17-53-43-765Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T17:53:43.765Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-17-37-847Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-17-37-847Z.log new file mode 100644 index 00000000..b9fe2cd2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-17-37-847Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:17:37.847Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-18-23-927Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-18-23-927Z.log new file mode 100644 index 00000000..ca10414d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-18-23-927Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:18:23.927Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-18-34-439Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-18-34-439Z.log new file mode 100644 index 00000000..5f456f38 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-18-34-439Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:18:34.439Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-19-23-569Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-19-23-569Z.log new file mode 100644 index 00000000..d91ef9f5 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-19-23-569Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:19:23.569Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-20-04-021Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-20-04-021Z.log new file mode 100644 index 00000000..e2e74687 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-20-04-021Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:20:04.021Z +# Max entries per file: 10000 + +2025-09-14T19:20:10.462Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:20:10.481Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:20:10.481Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:20:11.517Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:20:11.540Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:20:11.542Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:20:11.544Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-21-14-683Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-21-14-683Z.log new file mode 100644 index 00000000..cd00780e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-21-14-683Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:21:14.683Z +# Max entries per file: 10000 + +2025-09-14T19:21:20.986Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:21:21.000Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:21:21.000Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:21:22.043Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:21:22.066Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:21:22.068Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:21:22.071Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-21-36-572Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-21-36-572Z.log new file mode 100644 index 00000000..e49ce23d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-21-36-572Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:21:36.572Z +# Max entries per file: 10000 + +2025-09-14T19:21:42.689Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:21:42.701Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:21:42.701Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:21:43.715Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:21:43.736Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:21:43.737Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:21:43.742Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-33-778Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-33-778Z.log new file mode 100644 index 00000000..9d24e1d7 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-33-778Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:22:33.778Z +# Max entries per file: 10000 + +2025-09-14T19:22:40.482Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:22:40.492Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:22:40.492Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-43-932Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-43-932Z.log new file mode 100644 index 00000000..49c6b475 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-43-932Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:22:43.932Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-48-065Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-48-065Z.log new file mode 100644 index 00000000..298b743a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-22-48-065Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:22:48.065Z +# Max entries per file: 10000 + +2025-09-14T19:22:54.939Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:22:54.950Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:22:54.950Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:22:56.146Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:22:56.166Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:22:56.168Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:22:56.173Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-25-44-004Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-25-44-004Z.log new file mode 100644 index 00000000..25386ca3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-25-44-004Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:25:44.004Z +# Max entries per file: 10000 + +2025-09-14T19:25:50.938Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:25:50.951Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:25:50.951Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:25:52.304Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:25:52.327Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:25:52.329Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:25:52.331Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-25-59-718Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-25-59-718Z.log new file mode 100644 index 00000000..a113ab44 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-25-59-718Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:25:59.718Z +# Max entries per file: 10000 + +2025-09-14T19:26:06.302Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:26:06.313Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:26:06.313Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:26:07.503Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:26:07.523Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:26:07.525Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:26:07.530Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-28-40-447Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-28-40-447Z.log new file mode 100644 index 00000000..b3551b53 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-28-40-447Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:28:40.447Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-28-44-247Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-28-44-247Z.log new file mode 100644 index 00000000..8d036622 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-28-44-247Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:28:44.247Z +# Max entries per file: 10000 + +2025-09-14T19:28:50.571Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:28:50.583Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:28:50.583Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:28:51.978Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:28:52.002Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:28:52.004Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:28:52.006Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-29-20-730Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-29-20-730Z.log new file mode 100644 index 00000000..50e812b9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-29-20-730Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:29:20.730Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-29-24-137Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-29-24-137Z.log new file mode 100644 index 00000000..b1a47de8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-29-24-137Z.log @@ -0,0 +1,34 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:29:24.137Z +# Max entries per file: 10000 + +2025-09-14T19:29:30.670Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:29:30.683Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:29:30.683Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:29:32.101Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:29:32.122Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:29:32.124Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:29:32.126Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:29:53.164Z | [REQUEST] | Incoming request | ReqId:amhtws2j0 | IP:::ffff:172.20.0.1 | GET / | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:53.168Z | [REQUEST] | GET / | ReqId:amhtws2j0 | IP:::ffff:172.20.0.1 | GET / | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:53.170Z | [REQUEST] | Request completed | ReqId:amhtws2j0 | IP:::ffff:172.20.0.1 | GET / | Status:200 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:53.204Z | [REQUEST] | Incoming request | ReqId:enbi7wzsd | IP:::ffff:172.20.0.1 | GET /favicon.ico | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:53.206Z | [REQUEST] | GET /favicon.ico | ReqId:enbi7wzsd | IP:::ffff:172.20.0.1 | GET /favicon.ico | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:53.209Z | [REQUEST] | Request completed | ReqId:enbi7wzsd | IP:::ffff:172.20.0.1 | GET /favicon.ico | Status:404 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.233Z | [REQUEST] | Incoming request | ReqId:8gdk52ggd | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.235Z | [REQUEST] | GET /api-docs/ | ReqId:8gdk52ggd | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.238Z | [REQUEST] | Request completed | ReqId:8gdk52ggd | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.257Z | [REQUEST] | Incoming request | ReqId:5qhaikidc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.260Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:5qhaikidc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.264Z | [REQUEST] | Incoming request | ReqId:ajms6z1qt | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.265Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:ajms6z1qt | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.268Z | [REQUEST] | Incoming request | ReqId:u5j5akkaa | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.270Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:u5j5akkaa | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.271Z | [REQUEST] | Request completed | ReqId:u5j5akkaa | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.274Z | [REQUEST] | Incoming request | ReqId:ensevj1ln | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.275Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:ensevj1ln | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.277Z | [REQUEST] | Request completed | ReqId:5qhaikidc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | Time:20ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.283Z | [REQUEST] | Request completed | ReqId:ensevj1ln | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.290Z | [REQUEST] | Request completed | ReqId:ajms6z1qt | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | Time:26ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.402Z | [REQUEST] | Incoming request | ReqId:y8brzkde5 | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.404Z | [REQUEST] | GET /api-docs/favicon-16x16.png | ReqId:y8brzkde5 | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:29:58.407Z | [REQUEST] | Request completed | ReqId:y8brzkde5 | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | Status:200 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-31-16-080Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-31-16-080Z.log new file mode 100644 index 00000000..d792dcdc --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-31-16-080Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:31:16.080Z +# Max entries per file: 10000 + +2025-09-14T19:31:22.883Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:31:22.895Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:31:22.895Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:31:24.314Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:31:24.340Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:31:24.342Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:31:24.344Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-05-539Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-05-539Z.log new file mode 100644 index 00000000..ba52383b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-05-539Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:35:05.539Z +# Max entries per file: 10000 + +2025-09-14T19:35:10.729Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:35:10.744Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-49-977Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-49-977Z.log new file mode 100644 index 00000000..f0e6eee9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-49-977Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:35:49.977Z +# Max entries per file: 10000 + +2025-09-14T19:35:55.314Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:35:55.326Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-50-418Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-50-418Z.log new file mode 100644 index 00000000..f46b44c8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-35-50-418Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:35:50.418Z +# Max entries per file: 10000 + +2025-09-14T19:35:57.577Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:35:57.588Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:35:57.588Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:35:59.015Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:35:59.036Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:35:59.038Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:35:59.043Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-36-04-541Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-36-04-541Z.log new file mode 100644 index 00000000..db823fe9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-36-04-541Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:36:04.541Z +# Max entries per file: 10000 + +2025-09-14T19:36:11.577Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:36:11.588Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:36:11.588Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:36:13.015Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:36:13.037Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:36:13.039Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:36:13.041Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-36-05-386Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-36-05-386Z.log new file mode 100644 index 00000000..d90d1536 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-36-05-386Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:36:05.386Z +# Max entries per file: 10000 + +2025-09-14T19:36:10.463Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:36:10.476Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-31-110Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-31-110Z.log new file mode 100644 index 00000000..233ab0e9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-31-110Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:37:31.110Z +# Max entries per file: 10000 + +2025-09-14T19:37:35.672Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:37:35.680Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:37:35.680Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:37:36.067Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T19:37:36.088Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:37:36.088Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:37:36.090Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-47-755Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-47-755Z.log new file mode 100644 index 00000000..360c7777 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-47-755Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:37:47.755Z +# Max entries per file: 10000 + +2025-09-14T19:37:55.839Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:37:55.851Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:37:55.851Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:37:57.364Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:37:57.385Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:37:57.387Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:37:57.392Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-48-912Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-48-912Z.log new file mode 100644 index 00000000..81aca9f7 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-48-912Z.log @@ -0,0 +1,13 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:37:48.912Z +# Max entries per file: 10000 + +2025-09-14T19:37:54.930Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:37:54.940Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:37:54.940Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:37:55.356Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T19:37:55.373Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:37:55.374Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:37:55.380Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:39:02.452Z | [STARTUP] | Received SIGINT. Shutting down gracefully... +2025-09-14T19:39:02.453Z | [STARTUP] | HTTP server closed +2025-09-14T19:39:02.454Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-48-947Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-48-947Z.log new file mode 100644 index 00000000..f9fa4e7a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-37-48-947Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:37:48.947Z +# Max entries per file: 10000 + +2025-09-14T19:37:54.942Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:37:54.959Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-18-891Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-18-891Z.log new file mode 100644 index 00000000..a0946fa2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-18-891Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:39:18.891Z +# Max entries per file: 10000 + +2025-09-14T19:39:24.194Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:39:24.210Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-19-312Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-19-312Z.log new file mode 100644 index 00000000..c384b369 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-19-312Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:39:19.312Z +# Max entries per file: 10000 + +2025-09-14T19:39:26.428Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:39:26.440Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:39:26.440Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:39:27.891Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:39:27.913Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:39:27.914Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:39:27.919Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-36-793Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-36-793Z.log new file mode 100644 index 00000000..209638cc --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-39-36-793Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:39:36.793Z +# Max entries per file: 10000 + +2025-09-14T19:39:41.380Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:39:41.388Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:39:41.388Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:39:41.765Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T19:39:41.780Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:39:41.781Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:39:41.787Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:39:48.418Z | [REQUEST] | Incoming request | ReqId:1hgroipe4 | IP:::1 | GET /api-docs?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757878788411 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:39:48.420Z | [REQUEST] | Request completed | ReqId:1hgroipe4 | IP:::1 | GET /api-docs?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757878788411 | Status:301 | Time:2ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:39:48.426Z | [REQUEST] | Incoming request | ReqId:btkm4sg8l | IP:::1 | GET /api-docs/?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757878788411 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:39:48.427Z | [REQUEST] | Request completed | ReqId:btkm4sg8l | IP:::1 | GET /api-docs/?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757878788411 | Status:200 | Time:1ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:39:52.847Z | [REQUEST] | Incoming request | ReqId:37e5xhtd2 | IP:::1 | GET /?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757878792844 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:39:52.848Z | [REQUEST] | Request completed | ReqId:37e5xhtd2 | IP:::1 | GET /?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757878792844 | Status:200 | Time:1ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-01-700Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-01-700Z.log new file mode 100644 index 00000000..6218cbc6 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-01-700Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:40:01.700Z +# Max entries per file: 10000 + +2025-09-14T19:40:07.768Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:40:07.784Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-02-248Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-02-248Z.log new file mode 100644 index 00000000..65c6cb98 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-02-248Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:40:02.248Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-03-219Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-03-219Z.log new file mode 100644 index 00000000..6686764e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-03-219Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:40:03.219Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-09-601Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-09-601Z.log new file mode 100644 index 00000000..e586cd4c --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-09-601Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:40:09.601Z +# Max entries per file: 10000 + +2025-09-14T19:40:17.332Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:40:17.342Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:40:17.342Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:40:18.750Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:40:18.770Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:40:18.772Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:40:18.776Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-11-053Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-11-053Z.log new file mode 100644 index 00000000..92493eed --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-11-053Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:40:11.053Z +# Max entries per file: 10000 + +2025-09-14T19:40:16.718Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:40:16.735Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-11-179Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-11-179Z.log new file mode 100644 index 00000000..a5338d63 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-40-11-179Z.log @@ -0,0 +1,13 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:40:11.179Z +# Max entries per file: 10000 + +2025-09-14T19:40:16.831Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:40:16.841Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:40:16.841Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:40:17.228Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T19:40:17.245Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:40:17.245Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:40:17.250Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:40:26.170Z | [STARTUP] | Received SIGINT. Shutting down gracefully... +2025-09-14T19:40:26.171Z | [STARTUP] | HTTP server closed +2025-09-14T19:40:26.173Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-41-36-857Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-41-36-857Z.log new file mode 100644 index 00000000..90e7ce29 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-41-36-857Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:41:36.857Z +# Max entries per file: 10000 + +2025-09-14T19:41:43.272Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:41:43.282Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:41:43.282Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:41:44.665Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:41:44.686Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:41:44.688Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:41:44.690Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:48:38.950Z | [REQUEST] | Incoming request | ReqId:myhi4uo4t | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.952Z | [REQUEST] | GET /api-docs/ | ReqId:myhi4uo4t | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.956Z | [REQUEST] | Request completed | ReqId:myhi4uo4t | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.970Z | [REQUEST] | Incoming request | ReqId:0pgu57zsi | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.972Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:0pgu57zsi | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.975Z | [REQUEST] | Request completed | ReqId:0pgu57zsi | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.977Z | [REQUEST] | Incoming request | ReqId:ee2btiljk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.978Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:ee2btiljk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.980Z | [REQUEST] | Request completed | ReqId:ee2btiljk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.982Z | [REQUEST] | Incoming request | ReqId:z1kr03fdf | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.984Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:z1kr03fdf | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.986Z | [REQUEST] | Request completed | ReqId:z1kr03fdf | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.988Z | [REQUEST] | Incoming request | ReqId:mh5mkf7ga | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.989Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:mh5mkf7ga | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:48:38.991Z | [REQUEST] | Request completed | ReqId:mh5mkf7ga | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-41-37-744Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-41-37-744Z.log new file mode 100644 index 00000000..3ea61936 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-41-37-744Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:41:37.744Z +# Max entries per file: 10000 + +2025-09-14T19:41:42.344Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:41:42.360Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-50-53-106Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-50-53-106Z.log new file mode 100644 index 00000000..fff39a19 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-50-53-106Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:50:53.106Z +# Max entries per file: 10000 + +2025-09-14T19:50:58.355Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:50:58.370Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-50-54-167Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-50-54-167Z.log new file mode 100644 index 00000000..818342e5 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-50-54-167Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:50:54.167Z +# Max entries per file: 10000 + +2025-09-14T19:51:01.518Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:51:01.530Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:51:01.530Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:51:03.004Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:51:03.027Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:51:03.029Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:51:03.031Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-28-025Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-28-025Z.log new file mode 100644 index 00000000..05045b8c --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-28-025Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:51:28.025Z +# Max entries per file: 10000 + +2025-09-14T19:51:33.189Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:51:33.201Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-28-672Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-28-672Z.log new file mode 100644 index 00000000..83c43786 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-28-672Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:51:28.672Z +# Max entries per file: 10000 + +2025-09-14T19:51:35.449Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:51:35.459Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:51:35.459Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:51:36.922Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:51:36.943Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:51:36.946Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:51:36.950Z | [REQUEST] | Incoming request | ReqId:3lihqtdzl | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.952Z | [REQUEST] | GET /api-docs/ | ReqId:3lihqtdzl | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.956Z | [REQUEST] | Request completed | ReqId:3lihqtdzl | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.963Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:51:36.974Z | [REQUEST] | Incoming request | ReqId:21npbeg4l | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.977Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:21npbeg4l | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.980Z | [REQUEST] | Request completed | ReqId:21npbeg4l | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.982Z | [REQUEST] | Incoming request | ReqId:6jxci6n95 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.984Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:6jxci6n95 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.987Z | [REQUEST] | Request completed | ReqId:6jxci6n95 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.989Z | [REQUEST] | Incoming request | ReqId:29kaglz53 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.991Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:29kaglz53 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.993Z | [REQUEST] | Request completed | ReqId:29kaglz53 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.996Z | [REQUEST] | Incoming request | ReqId:su6wy0x4z | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:36.998Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:su6wy0x4z | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:51:37.001Z | [REQUEST] | Request completed | ReqId:su6wy0x4z | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-59-846Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-59-846Z.log new file mode 100644 index 00000000..0d4a0793 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-51-59-846Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:51:59.846Z +# Max entries per file: 10000 + +2025-09-14T19:52:05.713Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:52:05.729Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-52-00-530Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-52-00-530Z.log new file mode 100644 index 00000000..e6dd0474 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-52-00-530Z.log @@ -0,0 +1,70 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:52:00.530Z +# Max entries per file: 10000 + +2025-09-14T19:52:08.107Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:52:08.123Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:52:08.122Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:52:09.707Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:52:09.732Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:52:09.734Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:52:09.737Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:52:09.743Z | [REQUEST] | Incoming request | ReqId:xblab1m4b | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.745Z | [REQUEST] | GET /api-docs/ | ReqId:xblab1m4b | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.750Z | [REQUEST] | Request completed | ReqId:xblab1m4b | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.765Z | [REQUEST] | Incoming request | ReqId:2f5zww6ej | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.768Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:2f5zww6ej | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.771Z | [REQUEST] | Request completed | ReqId:2f5zww6ej | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.774Z | [REQUEST] | Incoming request | ReqId:y2ewanme8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.777Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:y2ewanme8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.779Z | [REQUEST] | Request completed | ReqId:y2ewanme8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.783Z | [REQUEST] | Incoming request | ReqId:uqp4qjj7q | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.785Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:uqp4qjj7q | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.788Z | [REQUEST] | Request completed | ReqId:uqp4qjj7q | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.791Z | [REQUEST] | Incoming request | ReqId:2dzf4n56g | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.793Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:2dzf4n56g | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:09.797Z | [REQUEST] | Request completed | ReqId:2dzf4n56g | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.669Z | [REQUEST] | Incoming request | ReqId:3x978ob6y | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.671Z | [REQUEST] | GET /api-docs/ | ReqId:3x978ob6y | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.673Z | [REQUEST] | Request completed | ReqId:3x978ob6y | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.684Z | [REQUEST] | Incoming request | ReqId:o8aezb5hh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.686Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:o8aezb5hh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.689Z | [REQUEST] | Request completed | ReqId:o8aezb5hh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.691Z | [REQUEST] | Incoming request | ReqId:wzfo6i6tm | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.693Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:wzfo6i6tm | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.695Z | [REQUEST] | Request completed | ReqId:wzfo6i6tm | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.697Z | [REQUEST] | Incoming request | ReqId:g7gi3kzu3 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.699Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:g7gi3kzu3 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.702Z | [REQUEST] | Request completed | ReqId:g7gi3kzu3 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.706Z | [REQUEST] | Incoming request | ReqId:6i04zrypc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.708Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:6i04zrypc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:23.709Z | [REQUEST] | Request completed | ReqId:6i04zrypc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.220Z | [REQUEST] | Incoming request | ReqId:euixru5in | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.222Z | [REQUEST] | GET /api-docs/ | ReqId:euixru5in | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.224Z | [REQUEST] | Request completed | ReqId:euixru5in | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.235Z | [REQUEST] | Incoming request | ReqId:xo8c32efn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.237Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:xo8c32efn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.240Z | [REQUEST] | Incoming request | ReqId:wblxyid7w | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.241Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:wblxyid7w | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.243Z | [REQUEST] | Incoming request | ReqId:b78198q08 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.245Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:b78198q08 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.248Z | [REQUEST] | Incoming request | ReqId:2oom9qei9 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.250Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:2oom9qei9 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.251Z | [REQUEST] | Request completed | ReqId:2oom9qei9 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.253Z | [REQUEST] | Request completed | ReqId:xo8c32efn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:18ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.255Z | [REQUEST] | Request completed | ReqId:wblxyid7w | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:15ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.258Z | [REQUEST] | Request completed | ReqId:b78198q08 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:15ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.415Z | [REQUEST] | Incoming request | ReqId:ch3fux52a | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.418Z | [REQUEST] | GET /api-docs/ | ReqId:ch3fux52a | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.434Z | [REQUEST] | Request completed | ReqId:ch3fux52a | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:19ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.445Z | [REQUEST] | Incoming request | ReqId:q9e0hnwxo | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.447Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:q9e0hnwxo | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.449Z | [REQUEST] | Incoming request | ReqId:ab06uc7dn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.451Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:ab06uc7dn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.453Z | [REQUEST] | Incoming request | ReqId:v0kdcpmlr | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.455Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:v0kdcpmlr | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.457Z | [REQUEST] | Incoming request | ReqId:y7u3oubro | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.459Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:y7u3oubro | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.460Z | [REQUEST] | Request completed | ReqId:y7u3oubro | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.462Z | [REQUEST] | Request completed | ReqId:q9e0hnwxo | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:17ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.465Z | [REQUEST] | Request completed | ReqId:ab06uc7dn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:16ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:52:24.467Z | [REQUEST] | Request completed | ReqId:v0kdcpmlr | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:14ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-12-706Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-12-706Z.log new file mode 100644 index 00000000..33a0ebf3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-12-706Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:12.706Z +# Max entries per file: 10000 + +2025-09-14T19:55:18.053Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:55:18.068Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-13-224Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-13-224Z.log new file mode 100644 index 00000000..ccef5435 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-13-224Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:13.224Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-20-859Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-20-859Z.log new file mode 100644 index 00000000..6a10da24 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-20-859Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:20.859Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-21-256Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-21-256Z.log new file mode 100644 index 00000000..9cf6ce24 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-21-256Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:21.256Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-26-756Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-26-756Z.log new file mode 100644 index 00000000..1219f420 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-26-756Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:26.756Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-27-530Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-27-530Z.log new file mode 100644 index 00000000..f8da676b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-27-530Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:27.530Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-34-308Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-34-308Z.log new file mode 100644 index 00000000..c69d75ed --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-34-308Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:34.308Z +# Max entries per file: 10000 + +2025-09-14T19:55:41.033Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:55:41.045Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:55:41.045Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:55:42.437Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:55:42.460Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:55:42.462Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:55:42.464Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-35-273Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-35-273Z.log new file mode 100644 index 00000000..b6146484 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-35-273Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:35.273Z +# Max entries per file: 10000 + +2025-09-14T19:55:40.119Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:55:40.132Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-46-899Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-46-899Z.log new file mode 100644 index 00000000..98812978 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-55-46-899Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:55:46.899Z +# Max entries per file: 10000 + +2025-09-14T19:55:51.808Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:55:51.818Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:55:51.818Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:55:52.208Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T19:55:52.226Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:55:52.226Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:55:52.236Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-22-131Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-22-131Z.log new file mode 100644 index 00000000..2cb209ac --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-22-131Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:22.131Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-22-663Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-22-663Z.log new file mode 100644 index 00000000..352181cb --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-22-663Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:22.663Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-23-727Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-23-727Z.log new file mode 100644 index 00000000..922fc7f7 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-23-727Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:23.727Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-28-658Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-28-658Z.log new file mode 100644 index 00000000..8329300d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-28-658Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:28.658Z +# Max entries per file: 10000 + +2025-09-14T19:56:36.291Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:56:36.303Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:56:36.303Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:56:37.750Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:56:37.776Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:56:37.777Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:56:37.779Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-30-047Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-30-047Z.log new file mode 100644 index 00000000..27d8f5d6 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-30-047Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:30.047Z +# Max entries per file: 10000 + +2025-09-14T19:56:35.724Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:56:35.740Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-30-264Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-30-264Z.log new file mode 100644 index 00000000..e3577c93 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-30-264Z.log @@ -0,0 +1,8 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:30.264Z +# Max entries per file: 10000 + +2025-09-14T19:56:35.940Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:56:35.949Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:56:35.949Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:56:35.955Z | [STARTUP] | Received SIGINT. Shutting down gracefully... +2025-09-14T19:56:35.956Z | [STARTUP] | HTTP server closed diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-50-987Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-50-987Z.log new file mode 100644 index 00000000..eb164ff8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-50-987Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:50.987Z +# Max entries per file: 10000 + +2025-09-14T19:56:56.338Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:56:56.350Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-51-714Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-51-714Z.log new file mode 100644 index 00000000..5c487d80 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-56-51-714Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:56:51.714Z +# Max entries per file: 10000 + +2025-09-14T19:56:58.570Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:56:58.586Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:56:58.586Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:57:00.050Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:57:00.075Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:57:00.077Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:57:00.084Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-22-310Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-22-310Z.log new file mode 100644 index 00000000..b24c5c03 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-22-310Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:57:22.310Z +# Max entries per file: 10000 + +2025-09-14T19:57:29.394Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:57:29.405Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:57:29.405Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:57:30.897Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:57:30.929Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:57:30.931Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:57:30.934Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-23-216Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-23-216Z.log new file mode 100644 index 00000000..46acfef6 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-23-216Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:57:23.216Z +# Max entries per file: 10000 + +2025-09-14T19:57:28.407Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:57:28.421Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-34-124Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-34-124Z.log new file mode 100644 index 00000000..57dc327b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-34-124Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:57:34.124Z +# Max entries per file: 10000 + +2025-09-14T19:57:39.760Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:57:39.777Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-34-793Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-34-793Z.log new file mode 100644 index 00000000..5293787a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-34-793Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:57:34.793Z +# Max entries per file: 10000 + +2025-09-14T19:57:42.264Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T19:57:42.278Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T19:57:42.278Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:57:43.916Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T19:57:43.942Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:57:43.944Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:57:43.952Z | [REQUEST] | Incoming request | ReqId:0me8zlf48 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.954Z | [REQUEST] | GET /api-docs/ | ReqId:0me8zlf48 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.962Z | [REQUEST] | Request completed | ReqId:0me8zlf48 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:10ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.966Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:57:43.976Z | [REQUEST] | Incoming request | ReqId:sq278yirw | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.978Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:sq278yirw | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.982Z | [REQUEST] | Request completed | ReqId:sq278yirw | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.985Z | [REQUEST] | Incoming request | ReqId:fqkahr9at | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.986Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:fqkahr9at | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.989Z | [REQUEST] | Request completed | ReqId:fqkahr9at | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.993Z | [REQUEST] | Incoming request | ReqId:utojci4dv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:43.998Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:utojci4dv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:44.002Z | [REQUEST] | Request completed | ReqId:utojci4dv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:44.006Z | [REQUEST] | Incoming request | ReqId:grl6mvhv4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:44.009Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:grl6mvhv4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T19:57:44.011Z | [REQUEST] | Request completed | ReqId:grl6mvhv4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-46-327Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-46-327Z.log new file mode 100644 index 00000000..0f52b639 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T19-57-46-327Z.log @@ -0,0 +1,14 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T19:57:46.327Z +# Max entries per file: 10000 + +2025-09-14T19:57:51.157Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T19:57:51.166Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T19:57:51.166Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T19:57:51.571Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T19:57:51.589Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T19:57:51.590Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T19:57:51.596Z | [STARTUP] | Redis client connected successfully +2025-09-14T19:58:02.604Z | [REQUEST] | Incoming request | ReqId:khxdq2w4r | IP:::1 | GET /api-docs?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757879882599 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:58:02.606Z | [REQUEST] | Request completed | ReqId:khxdq2w4r | IP:::1 | GET /api-docs?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757879882599 | Status:301 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:58:02.610Z | [REQUEST] | Incoming request | ReqId:063om7yyi | IP:::1 | GET /api-docs/?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757879882599 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb +2025-09-14T19:58:02.612Z | [REQUEST] | Request completed | ReqId:063om7yyi | IP:::1 | GET /api-docs/?id=71580eb7-92cd-4e84-8d20-de8a86ab1458&vscodeBrowserReqId=1757879882599 | Status:200 | Time:2ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-38-171Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-38-171Z.log new file mode 100644 index 00000000..3c1c82a1 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-38-171Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:02:38.171Z +# Max entries per file: 10000 + +2025-09-14T20:02:44.163Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:02:44.177Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-38-740Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-38-740Z.log new file mode 100644 index 00000000..64e79e26 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-38-740Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:02:38.740Z +# Max entries per file: 10000 + +2025-09-14T20:02:46.546Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:02:46.558Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:02:46.558Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:02:48.059Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:02:48.082Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:02:48.084Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:02:48.086Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-39-778Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-39-778Z.log new file mode 100644 index 00000000..6729c6ff --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-02-39-778Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:02:39.778Z +# Max entries per file: 10000 + +2025-09-14T20:02:45.618Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:02:45.627Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T20:02:45.627Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:02:46.043Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T20:02:46.059Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:02:46.059Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:02:46.065Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-24-544Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-24-544Z.log new file mode 100644 index 00000000..e459927f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-24-544Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:03:24.544Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-26-103Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-26-103Z.log new file mode 100644 index 00000000..61acd9a9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-26-103Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:03:26.103Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-26-308Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-26-308Z.log new file mode 100644 index 00000000..bbc43d04 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-26-308Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:03:26.308Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-36-394Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-36-394Z.log new file mode 100644 index 00000000..984737e0 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-36-394Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:03:36.394Z +# Max entries per file: 10000 + +2025-09-14T20:03:44.301Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:03:44.314Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:03:44.314Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:03:45.750Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:03:45.773Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:03:45.775Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:03:45.777Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-37-940Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-37-940Z.log new file mode 100644 index 00000000..fe43f6ba --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-37-940Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:03:37.940Z +# Max entries per file: 10000 + +2025-09-14T20:03:43.872Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3001","nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:03:43.881Z | [STARTUP] | Server started successfully | Meta:{"port":"3001","environment":"development","timestamp":"2025-09-14T20:03:43.881Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:03:44.307Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"localhost","database":"serpentrace"} +2025-09-14T20:03:44.325Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:03:44.326Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:03:44.333Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-37-988Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-37-988Z.log new file mode 100644 index 00000000..299ca0bd --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-03-37-988Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:03:37.988Z +# Max entries per file: 10000 + +2025-09-14T20:03:43.936Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:03:43.949Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-06-995Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-06-995Z.log new file mode 100644 index 00000000..7059eb3d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-06-995Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:04:06.995Z +# Max entries per file: 10000 + +2025-09-14T20:04:12.310Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:04:12.323Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-07-608Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-07-608Z.log new file mode 100644 index 00000000..2cd90562 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-07-608Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:04:07.608Z +# Max entries per file: 10000 + +2025-09-14T20:04:14.471Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:04:14.483Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:04:14.483Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:04:15.932Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:04:15.958Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:04:15.960Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:04:15.962Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-34-581Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-34-581Z.log new file mode 100644 index 00000000..f6f185d2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-34-581Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:04:34.581Z +# Max entries per file: 10000 + +2025-09-14T20:04:39.469Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:04:39.482Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-35-057Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-35-057Z.log new file mode 100644 index 00000000..adb2035b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-04-35-057Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:04:35.057Z +# Max entries per file: 10000 + +2025-09-14T20:04:41.474Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:04:41.485Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:04:41.485Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:04:42.847Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:04:42.872Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:04:42.874Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:04:42.876Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:04:46.110Z | [REQUEST] | Incoming request | ReqId:1yyn1q5t6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.112Z | [REQUEST] | GET /api-docs/ | ReqId:1yyn1q5t6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.116Z | [REQUEST] | Request completed | ReqId:1yyn1q5t6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.134Z | [REQUEST] | Incoming request | ReqId:ksodbmdxj | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.136Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:ksodbmdxj | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.139Z | [REQUEST] | Request completed | ReqId:ksodbmdxj | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.141Z | [REQUEST] | Incoming request | ReqId:q5z3qqwtn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.142Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:q5z3qqwtn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.145Z | [REQUEST] | Request completed | ReqId:q5z3qqwtn | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.147Z | [REQUEST] | Incoming request | ReqId:wa3dtpx9u | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.149Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:wa3dtpx9u | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.153Z | [REQUEST] | Request completed | ReqId:wa3dtpx9u | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.156Z | [REQUEST] | Incoming request | ReqId:hpp8km4ph | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.158Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:hpp8km4ph | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:04:46.160Z | [REQUEST] | Request completed | ReqId:hpp8km4ph | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-53-162Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-53-162Z.log new file mode 100644 index 00000000..498ed1c3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-53-162Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:05:53.162Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-53-638Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-53-638Z.log new file mode 100644 index 00000000..65d817bc --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-53-638Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:05:53.638Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-59-981Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-59-981Z.log new file mode 100644 index 00000000..7c60bb1a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-05-59-981Z.log @@ -0,0 +1,91 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:05:59.981Z +# Max entries per file: 10000 + +2025-09-14T20:06:06.865Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:06:06.878Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:06:06.878Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:06:08.423Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:06:08.457Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:06:08.459Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:06:08.465Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:06:25.226Z | [REQUEST] | Incoming request | ReqId:am94kk6mw | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.228Z | [REQUEST] | GET /api-docs/ | ReqId:am94kk6mw | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.233Z | [REQUEST] | Request completed | ReqId:am94kk6mw | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.245Z | [REQUEST] | Incoming request | ReqId:ym563icb4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.247Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:ym563icb4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.250Z | [REQUEST] | Request completed | ReqId:ym563icb4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.252Z | [REQUEST] | Incoming request | ReqId:ry1k9aw66 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.254Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:ry1k9aw66 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.256Z | [REQUEST] | Request completed | ReqId:ry1k9aw66 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.258Z | [REQUEST] | Incoming request | ReqId:g0svs24ty | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.260Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:g0svs24ty | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.263Z | [REQUEST] | Request completed | ReqId:g0svs24ty | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.266Z | [REQUEST] | Incoming request | ReqId:v5g6qkrjt | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.268Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:v5g6qkrjt | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:25.282Z | [REQUEST] | Request completed | ReqId:v5g6qkrjt | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:16ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.495Z | [REQUEST] | Incoming request | ReqId:u20sx1lyq | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.498Z | [REQUEST] | GET /api-docs/ | ReqId:u20sx1lyq | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.500Z | [REQUEST] | Request completed | ReqId:u20sx1lyq | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.511Z | [REQUEST] | Incoming request | ReqId:uf1mmdj9r | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.513Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:uf1mmdj9r | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.516Z | [REQUEST] | Incoming request | ReqId:jtr47plur | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.517Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:jtr47plur | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.520Z | [REQUEST] | Incoming request | ReqId:q337vnr8t | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.521Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:q337vnr8t | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.523Z | [REQUEST] | Incoming request | ReqId:alliw3ju5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.525Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:alliw3ju5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.526Z | [REQUEST] | Request completed | ReqId:alliw3ju5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.528Z | [REQUEST] | Request completed | ReqId:uf1mmdj9r | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:17ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.530Z | [REQUEST] | Request completed | ReqId:jtr47plur | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:14ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.532Z | [REQUEST] | Request completed | ReqId:q337vnr8t | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:13ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.838Z | [REQUEST] | Incoming request | ReqId:rzbm2n2d6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.840Z | [REQUEST] | GET /api-docs/ | ReqId:rzbm2n2d6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.842Z | [REQUEST] | Request completed | ReqId:rzbm2n2d6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.854Z | [REQUEST] | Incoming request | ReqId:x417iclxa | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.856Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:x417iclxa | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.858Z | [REQUEST] | Incoming request | ReqId:a10yltzew | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.860Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:a10yltzew | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.862Z | [REQUEST] | Incoming request | ReqId:53hgiewt7 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.864Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:53hgiewt7 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.866Z | [REQUEST] | Incoming request | ReqId:v4dvuj5ec | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.867Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:v4dvuj5ec | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.869Z | [REQUEST] | Request completed | ReqId:v4dvuj5ec | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.872Z | [REQUEST] | Request completed | ReqId:x417iclxa | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:18ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.874Z | [REQUEST] | Request completed | ReqId:a10yltzew | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:16ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:26.876Z | [REQUEST] | Request completed | ReqId:53hgiewt7 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:14ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.969Z | [REQUEST] | Incoming request | ReqId:5b9tk7htx | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.971Z | [REQUEST] | GET /api-docs/ | ReqId:5b9tk7htx | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.974Z | [REQUEST] | Request completed | ReqId:5b9tk7htx | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.988Z | [REQUEST] | Incoming request | ReqId:ciuyk74zw | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.990Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:ciuyk74zw | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.992Z | [REQUEST] | Incoming request | ReqId:7su3rk26l | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.994Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:7su3rk26l | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.995Z | [REQUEST] | Request completed | ReqId:7su3rk26l | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.997Z | [REQUEST] | Incoming request | ReqId:fc9jgpgy0 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:28.999Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:fc9jgpgy0 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:29.001Z | [REQUEST] | Incoming request | ReqId:hpjzyp6q4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:29.002Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:hpjzyp6q4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:29.004Z | [REQUEST] | Request completed | ReqId:ciuyk74zw | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:16ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:29.006Z | [REQUEST] | Request completed | ReqId:fc9jgpgy0 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:29.008Z | [REQUEST] | Request completed | ReqId:hpjzyp6q4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.296Z | [REQUEST] | Incoming request | ReqId:b0fy5z668 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.298Z | [REQUEST] | GET /api-docs/ | ReqId:b0fy5z668 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.300Z | [REQUEST] | Request completed | ReqId:b0fy5z668 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.311Z | [REQUEST] | Incoming request | ReqId:iqxhi9r4z | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.313Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:iqxhi9r4z | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.319Z | [REQUEST] | Incoming request | ReqId:klimkepb2 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.320Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:klimkepb2 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.323Z | [REQUEST] | Incoming request | ReqId:5e6xamgv6 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.324Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:5e6xamgv6 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.327Z | [REQUEST] | Incoming request | ReqId:u00i5vmjk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.328Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:u00i5vmjk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.330Z | [REQUEST] | Request completed | ReqId:u00i5vmjk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.332Z | [REQUEST] | Request completed | ReqId:iqxhi9r4z | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | Time:21ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.337Z | [REQUEST] | Request completed | ReqId:5e6xamgv6 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | Time:14ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.344Z | [REQUEST] | Request completed | ReqId:klimkepb2 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | Time:25ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.447Z | [REQUEST] | Incoming request | ReqId:njo7qe6h2 | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.449Z | [REQUEST] | GET /api-docs/favicon-16x16.png | ReqId:njo7qe6h2 | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:31.452Z | [REQUEST] | Request completed | ReqId:njo7qe6h2 | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | Status:200 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:06:38.747Z | [STARTUP] | Received SIGTERM. Shutting down gracefully... +2025-09-14T20:06:38.749Z | [STARTUP] | HTTP server closed +2025-09-14T20:06:38.750Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-06-01-139Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-06-01-139Z.log new file mode 100644 index 00000000..e30b328d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-06-01-139Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:06:01.139Z +# Max entries per file: 10000 + +2025-09-14T20:06:05.936Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:06:05.951Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-07-02-912Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-07-02-912Z.log new file mode 100644 index 00000000..3844d87a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-07-02-912Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:07:02.912Z +# Max entries per file: 10000 + +2025-09-14T20:07:09.099Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:07:09.117Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:07:09.116Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:07:09.517Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:07:09.538Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:07:09.540Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:07:09.549Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:07:11.349Z | [REQUEST] | Incoming request | ReqId:cryjoxei6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.351Z | [REQUEST] | GET /api-docs/ | ReqId:cryjoxei6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.355Z | [REQUEST] | Request completed | ReqId:cryjoxei6 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.373Z | [REQUEST] | Incoming request | ReqId:jinfpn5ty | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.375Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:jinfpn5ty | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.378Z | [REQUEST] | Request completed | ReqId:jinfpn5ty | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.381Z | [REQUEST] | Incoming request | ReqId:b9k3wztje | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.382Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:b9k3wztje | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.384Z | [REQUEST] | Request completed | ReqId:b9k3wztje | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.386Z | [REQUEST] | Incoming request | ReqId:ijjrg0hv4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.388Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:ijjrg0hv4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.390Z | [REQUEST] | Request completed | ReqId:ijjrg0hv4 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.394Z | [REQUEST] | Incoming request | ReqId:a87yylovk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.396Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:a87yylovk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:07:11.398Z | [REQUEST] | Request completed | ReqId:a87yylovk | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-00-227Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-00-227Z.log new file mode 100644 index 00000000..eb31e65a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-00-227Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:08:00.227Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-00-798Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-00-798Z.log new file mode 100644 index 00000000..a2d4b6af --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-00-798Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:08:00.798Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-07-227Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-07-227Z.log new file mode 100644 index 00000000..d7962a1e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-07-227Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:08:07.227Z +# Max entries per file: 10000 + +2025-09-14T20:08:14.471Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:08:14.483Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:08:14.483Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:08:14.869Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:08:14.901Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:08:14.903Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:08:14.912Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-07-983Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-07-983Z.log new file mode 100644 index 00000000..8d1222e9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-08-07-983Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:08:07.983Z +# Max entries per file: 10000 + +2025-09-14T20:08:13.360Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:08:13.377Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-39-137Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-39-137Z.log new file mode 100644 index 00000000..5cb6b130 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-39-137Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:09:39.137Z +# Max entries per file: 10000 + +2025-09-14T20:09:45.937Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:09:45.950Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:09:45.950Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:09:46.340Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:09:46.372Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:09:46.374Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:09:46.384Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-39-957Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-39-957Z.log new file mode 100644 index 00000000..34e8065d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-39-957Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:09:39.957Z +# Max entries per file: 10000 + +2025-09-14T20:09:45.006Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:09:45.018Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-48-920Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-48-920Z.log new file mode 100644 index 00000000..449d4d33 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-48-920Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:09:48.920Z +# Max entries per file: 10000 + +2025-09-14T20:09:54.298Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:09:54.312Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-49-547Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-49-547Z.log new file mode 100644 index 00000000..044113c8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-49-547Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:09:49.547Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-58-049Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-58-049Z.log new file mode 100644 index 00000000..ff3607f3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-58-049Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:09:58.049Z +# Max entries per file: 10000 + +2025-09-14T20:10:03.082Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:10:03.096Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-58-619Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-58-619Z.log new file mode 100644 index 00000000..c3c75803 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-09-58-619Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:09:58.619Z +# Max entries per file: 10000 + +2025-09-14T20:10:05.346Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:10:05.358Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:10:05.358Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:10:05.779Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:10:05.802Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:10:05.804Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:10:05.823Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:10:49.221Z | [REQUEST] | Incoming request | ReqId:cymen6mtp | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.224Z | [REQUEST] | GET /api-docs/ | ReqId:cymen6mtp | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.228Z | [REQUEST] | Request completed | ReqId:cymen6mtp | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.250Z | [REQUEST] | Incoming request | ReqId:77bal0bui | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.253Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:77bal0bui | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.257Z | [REQUEST] | Request completed | ReqId:77bal0bui | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.260Z | [REQUEST] | Incoming request | ReqId:2u3nxw1vs | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.262Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:2u3nxw1vs | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.265Z | [REQUEST] | Request completed | ReqId:2u3nxw1vs | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.269Z | [REQUEST] | Incoming request | ReqId:brdg5c91e | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.272Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:brdg5c91e | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.275Z | [REQUEST] | Request completed | ReqId:brdg5c91e | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.278Z | [REQUEST] | Incoming request | ReqId:3unaqja0j | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.280Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:3unaqja0j | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:10:49.282Z | [REQUEST] | Request completed | ReqId:3unaqja0j | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-10-47-240Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-10-47-240Z.log new file mode 100644 index 00000000..36806c8f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-10-47-240Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:10:47.240Z +# Max entries per file: 10000 + +2025-09-14T20:10:52.507Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:10:52.520Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-11-03-972Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-11-03-972Z.log new file mode 100644 index 00000000..79dea904 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-11-03-972Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:11:03.972Z +# Max entries per file: 10000 + +2025-09-14T20:11:10.326Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:11:10.338Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:11:10.338Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:11:10.727Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:11:10.750Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:11:10.752Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:11:10.773Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-11-55-344Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-11-55-344Z.log new file mode 100644 index 00000000..70e91025 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-11-55-344Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:11:55.344Z +# Max entries per file: 10000 + +2025-09-14T20:12:01.808Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:12:01.821Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:12:01.821Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:12:02.222Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:12:02.245Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:12:02.247Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:12:02.269Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-05-216Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-05-216Z.log new file mode 100644 index 00000000..9605a65a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-05-216Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:12:05.216Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-10-978Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-10-978Z.log new file mode 100644 index 00000000..a17c569f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-10-978Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:12:10.978Z +# Max entries per file: 10000 + +2025-09-14T20:12:17.617Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:12:17.632Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:12:17.632Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:12:18.063Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:12:18.104Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:12:18.108Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:12:18.118Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-22-724Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-22-724Z.log new file mode 100644 index 00000000..d57c44ee --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-22-724Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:12:22.724Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-27-642Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-27-642Z.log new file mode 100644 index 00000000..26a28f95 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-27-642Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:12:27.642Z +# Max entries per file: 10000 + +2025-09-14T20:12:33.901Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:12:33.912Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:12:33.912Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:12:34.292Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:12:34.325Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:12:34.327Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:12:34.335Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-40-587Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-40-587Z.log new file mode 100644 index 00000000..4be18a53 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-12-40-587Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:12:40.587Z +# Max entries per file: 10000 + +2025-09-14T20:12:46.791Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:12:46.802Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:12:46.802Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:12:47.170Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:12:47.192Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:12:47.193Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:12:47.210Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:12:47.233Z | [REQUEST] | Incoming request | ReqId:kkv72ie1q | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.235Z | [REQUEST] | GET /api-docs/ | ReqId:kkv72ie1q | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.240Z | [REQUEST] | Request completed | ReqId:kkv72ie1q | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.262Z | [REQUEST] | Incoming request | ReqId:8onq1yhwd | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.264Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:8onq1yhwd | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.267Z | [REQUEST] | Request completed | ReqId:8onq1yhwd | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.279Z | [REQUEST] | Incoming request | ReqId:lqy3wbx07 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.282Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:lqy3wbx07 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.284Z | [REQUEST] | Request completed | ReqId:lqy3wbx07 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.286Z | [REQUEST] | Incoming request | ReqId:tbk28cbpz | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.289Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:tbk28cbpz | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.291Z | [REQUEST] | Request completed | ReqId:tbk28cbpz | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.294Z | [REQUEST] | Incoming request | ReqId:y4hu9r8s8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.295Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:y4hu9r8s8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:12:47.297Z | [REQUEST] | Request completed | ReqId:y4hu9r8s8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-00-379Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-00-379Z.log new file mode 100644 index 00000000..eb626f0e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-00-379Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:13:00.379Z +# Max entries per file: 10000 + +2025-09-14T20:13:06.910Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:13:06.922Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:13:06.922Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:13:07.333Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:13:07.362Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:13:07.364Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:13:07.386Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-15-653Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-15-653Z.log new file mode 100644 index 00000000..00617a93 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-15-653Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:13:15.653Z +# Max entries per file: 10000 + +2025-09-14T20:13:21.986Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:13:21.998Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:13:21.998Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:13:22.407Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:13:22.437Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:13:22.439Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:13:22.447Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:13:24.171Z | [REQUEST] | Incoming request | ReqId:cymkg9nvg | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.173Z | [REQUEST] | GET /api-docs/ | ReqId:cymkg9nvg | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.177Z | [REQUEST] | Request completed | ReqId:cymkg9nvg | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.191Z | [REQUEST] | Incoming request | ReqId:1w5odnf0k | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.193Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:1w5odnf0k | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.196Z | [REQUEST] | Request completed | ReqId:1w5odnf0k | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.199Z | [REQUEST] | Incoming request | ReqId:18hfakfg5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.200Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:18hfakfg5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.202Z | [REQUEST] | Request completed | ReqId:18hfakfg5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:3ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.204Z | [REQUEST] | Incoming request | ReqId:x9q7c26c6 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.206Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:x9q7c26c6 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.208Z | [REQUEST] | Request completed | ReqId:x9q7c26c6 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.213Z | [REQUEST] | Incoming request | ReqId:q43h8m5zl | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.215Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:q43h8m5zl | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:24.217Z | [REQUEST] | Request completed | ReqId:q43h8m5zl | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-43-268Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-43-268Z.log new file mode 100644 index 00000000..83cede0f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-13-43-268Z.log @@ -0,0 +1,25 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:13:43.268Z +# Max entries per file: 10000 + +2025-09-14T20:13:49.367Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:13:49.378Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:13:49.378Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:13:49.773Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:13:49.795Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:13:49.797Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:13:49.800Z | [REQUEST] | Incoming request | ReqId:62wqvzyx9 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.802Z | [REQUEST] | GET /api-docs/ | ReqId:62wqvzyx9 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.807Z | [REQUEST] | Request completed | ReqId:62wqvzyx9 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.836Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:13:49.842Z | [REQUEST] | Incoming request | ReqId:byythpo6r | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.844Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:byythpo6r | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.847Z | [REQUEST] | Request completed | ReqId:byythpo6r | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.849Z | [REQUEST] | Incoming request | ReqId:2p7zzx3j5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.851Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:2p7zzx3j5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.853Z | [REQUEST] | Request completed | ReqId:2p7zzx3j5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.856Z | [REQUEST] | Incoming request | ReqId:0xpvjdlnf | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.858Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:0xpvjdlnf | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.860Z | [REQUEST] | Request completed | ReqId:0xpvjdlnf | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.863Z | [REQUEST] | Incoming request | ReqId:h5uden8u8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.865Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:h5uden8u8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:13:49.867Z | [REQUEST] | Request completed | ReqId:h5uden8u8 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-14-38-501Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-14-38-501Z.log new file mode 100644 index 00000000..61bd9a49 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-14-38-501Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:14:38.501Z +# Max entries per file: 10000 + +2025-09-14T20:14:44.798Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:14:44.811Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:14:44.811Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:14:45.190Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:14:45.222Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:14:45.224Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:14:45.232Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-15-32-215Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-15-32-215Z.log new file mode 100644 index 00000000..0561e0a9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-15-32-215Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:15:32.215Z +# Max entries per file: 10000 + +2025-09-14T20:15:38.507Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:15:38.519Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:15:38.519Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:15:38.889Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:15:38.920Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:15:38.922Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:15:38.930Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-15-44-576Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-15-44-576Z.log new file mode 100644 index 00000000..c852f506 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-15-44-576Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:15:44.576Z +# Max entries per file: 10000 + +2025-09-14T20:15:50.873Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:15:50.886Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:15:50.886Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:15:51.279Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:15:51.311Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:15:51.313Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:15:51.322Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-00-949Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-00-949Z.log new file mode 100644 index 00000000..0cb2f9ed --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-00-949Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:16:00.949Z +# Max entries per file: 10000 + +2025-09-14T20:16:07.314Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:16:07.327Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:16:07.327Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:16:07.707Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:16:07.728Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:16:07.730Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:16:07.747Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-15-740Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-15-740Z.log new file mode 100644 index 00000000..03f8e2b3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-15-740Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:16:15.740Z +# Max entries per file: 10000 + +2025-09-14T20:16:22.160Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:16:22.173Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:16:22.173Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:16:22.555Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:16:22.588Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:16:22.590Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:16:22.599Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-28-104Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-28-104Z.log new file mode 100644 index 00000000..fa692f0b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-28-104Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:16:28.104Z +# Max entries per file: 10000 + +2025-09-14T20:16:34.549Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:16:34.560Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:16:34.560Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:16:34.941Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:16:34.974Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:16:34.976Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:16:34.985Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-46-081Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-46-081Z.log new file mode 100644 index 00000000..d671a95f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-16-46-081Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:16:46.081Z +# Max entries per file: 10000 + +2025-09-14T20:16:52.700Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:16:52.713Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:16:52.713Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:16:53.106Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:16:53.129Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:16:53.131Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:16:53.151Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-17-42-278Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-17-42-278Z.log new file mode 100644 index 00000000..15429b28 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-17-42-278Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:17:42.278Z +# Max entries per file: 10000 + +2025-09-14T20:17:48.580Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:17:48.592Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:17:48.592Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:17:49.004Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:17:49.027Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:17:49.029Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:17:49.047Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-04-287Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-04-287Z.log new file mode 100644 index 00000000..aaf8e292 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-04-287Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:18:04.287Z +# Max entries per file: 10000 + +2025-09-14T20:18:10.588Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:18:10.601Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:18:10.601Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:18:10.997Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:18:11.020Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:18:11.022Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:18:11.043Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-25-348Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-25-348Z.log new file mode 100644 index 00000000..09fd39e1 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-25-348Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:18:25.348Z +# Max entries per file: 10000 + +2025-09-14T20:18:31.556Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:18:31.568Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:18:31.568Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:18:31.950Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:18:31.982Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:18:31.984Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:18:31.992Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-44-491Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-44-491Z.log new file mode 100644 index 00000000..7b05e8ee --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-18-44-491Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:18:44.491Z +# Max entries per file: 10000 + +2025-09-14T20:18:50.746Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:18:50.759Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:18:50.759Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:18:51.158Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:18:51.190Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:18:51.192Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:18:51.201Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-04-397Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-04-397Z.log new file mode 100644 index 00000000..25d8dac5 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-04-397Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:19:04.397Z +# Max entries per file: 10000 + +2025-09-14T20:19:10.741Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:19:10.754Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:19:10.754Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:19:11.136Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:19:11.167Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:19:11.168Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:19:11.177Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-36-569Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-36-569Z.log new file mode 100644 index 00000000..bd5b4309 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-36-569Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:19:36.569Z +# Max entries per file: 10000 + +2025-09-14T20:19:42.965Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:19:42.977Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:19:42.977Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:19:43.342Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:19:43.373Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:19:43.375Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:19:43.383Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-57-030Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-57-030Z.log new file mode 100644 index 00000000..eba68041 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-19-57-030Z.log @@ -0,0 +1,88 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:19:57.030Z +# Max entries per file: 10000 + +2025-09-14T20:20:03.240Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-14T20:20:03.252Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-14T20:20:03.252Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-14T20:20:03.612Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-14T20:20:03.643Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-14T20:20:03.645Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-14T20:20:03.653Z | [STARTUP] | Redis client connected successfully +2025-09-14T20:24:43.086Z | [REQUEST] | Incoming request | ReqId:sff45gu0i | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.088Z | [REQUEST] | GET /api-docs/ | ReqId:sff45gu0i | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.092Z | [REQUEST] | Request completed | ReqId:sff45gu0i | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.107Z | [REQUEST] | Incoming request | ReqId:cy0j894z1 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.109Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:cy0j894z1 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.112Z | [REQUEST] | Request completed | ReqId:cy0j894z1 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:5ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.114Z | [REQUEST] | Incoming request | ReqId:id69vfyzc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.116Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:id69vfyzc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.118Z | [REQUEST] | Request completed | ReqId:id69vfyzc | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.120Z | [REQUEST] | Incoming request | ReqId:z0rbpuuec | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.121Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:z0rbpuuec | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.124Z | [REQUEST] | Request completed | ReqId:z0rbpuuec | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.126Z | [REQUEST] | Incoming request | ReqId:f4xi5iou9 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.128Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:f4xi5iou9 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T20:24:43.130Z | [REQUEST] | Request completed | ReqId:f4xi5iou9 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-14T21:20:03.585Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":31,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-14T20:50:03.554Z"} +2025-09-14T21:20:03.590Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":3,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-17T21:20:03.587Z"} +2025-09-14T21:20:03.595Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":4,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-14T21:20:03.597Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-17T21:20:03.587Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-14T22:20:03.472Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":9,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-14T21:50:03.463Z"} +2025-09-14T22:20:03.475Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":2,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-17T22:20:03.473Z"} +2025-09-14T22:20:03.477Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":1,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-14T22:20:03.479Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-17T22:20:03.473Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-14T23:20:03.380Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":10,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-14T22:50:03.370Z"} +2025-09-14T23:20:03.382Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-17T23:20:03.381Z"} +2025-09-14T23:20:03.385Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-14T23:20:03.386Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-17T23:20:03.381Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T00:20:03.299Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":8,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-14T23:50:03.291Z"} +2025-09-15T00:20:03.302Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T00:20:03.301Z"} +2025-09-15T00:20:03.305Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T00:20:03.306Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T00:20:03.301Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T01:20:03.222Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":8,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T00:50:03.214Z"} +2025-09-15T01:20:03.225Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T01:20:03.224Z"} +2025-09-15T01:20:03.228Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T01:20:03.229Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T01:20:03.224Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T02:20:03.144Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":8,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T01:50:03.136Z"} +2025-09-15T02:20:03.146Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T02:20:03.145Z"} +2025-09-15T02:20:03.149Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":1,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T02:20:03.150Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T02:20:03.145Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T03:20:02.030Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":7,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T02:50:02.023Z"} +2025-09-15T03:20:02.033Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T03:20:02.032Z"} +2025-09-15T03:20:02.036Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T03:20:02.037Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T03:20:02.032Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T04:20:01.931Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":8,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T03:50:01.923Z"} +2025-09-15T04:20:01.934Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T04:20:01.933Z"} +2025-09-15T04:20:01.937Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T04:20:01.938Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T04:20:01.933Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T05:20:01.854Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":8,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T04:50:01.846Z"} +2025-09-15T05:20:01.857Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T05:20:01.856Z"} +2025-09-15T05:20:01.860Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T05:20:01.861Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T05:20:01.856Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T06:20:01.787Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":10,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T05:50:01.777Z"} +2025-09-15T06:20:01.789Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T06:20:01.788Z"} +2025-09-15T06:20:01.792Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":1,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T06:20:01.794Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T06:20:01.788Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T07:20:01.722Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":21,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T06:50:01.701Z"} +2025-09-15T07:20:01.727Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":3,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T07:20:01.724Z"} +2025-09-15T07:20:01.731Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":3,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T07:20:01.733Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T07:20:01.724Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T08:20:01.625Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":12,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T07:50:01.613Z"} +2025-09-15T08:20:01.628Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T08:20:01.627Z"} +2025-09-15T08:20:01.631Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":1,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T08:20:01.633Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T08:20:01.627Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T09:20:01.533Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":10,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T08:50:01.523Z"} +2025-09-15T09:20:01.536Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":2,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T09:20:01.534Z"} +2025-09-15T09:20:01.539Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T09:20:01.540Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T09:20:01.534Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T10:20:01.470Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":30,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T09:50:01.440Z"} +2025-09-15T10:20:01.474Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":2,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T10:20:01.472Z"} +2025-09-15T10:20:01.479Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":3,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T10:20:01.481Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T10:20:01.472Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T11:20:01.381Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":8,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T10:50:01.373Z"} +2025-09-15T11:20:01.385Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":1,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T11:20:01.384Z"} +2025-09-15T11:20:01.388Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":2,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T11:20:01.389Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T11:20:01.383Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T11:45:18.409Z | [STARTUP] | Received SIGTERM. Shutting down gracefully... +2025-09-15T11:45:18.474Z | [STARTUP] | HTTP server closed +2025-09-15T11:45:18.813Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-23-38-787Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-23-38-787Z.log new file mode 100644 index 00000000..588cd354 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-14T20-23-38-787Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-14T20:23:38.787Z +# Max entries per file: 10000 + +2025-09-14T20:23:43.504Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":3000,"nodeVersion":"v22.9.0","chatInactivityTimeout":"30"} +2025-09-14T20:23:43.522Z | [ERROR] | Uncaught Exception - Server will shut down | Meta:{"name":"Error","message":"listen EADDRINUSE: address already in use :::3000","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (node:net:1908:16)\n at listenInCluster (node:net:1965:12)\n at Server.listen (node:net:2067:7)\n at Object. (D:\\munka\\SzeSnake\\SerpentRace_Backend\\src\\Api\\index.ts:193:27)\n at Module._compile (node:internal/modules/cjs/loader:1546:14)\n at Module.m._compile (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1618:23)\n at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)\n at Object.require.extensions. [as .ts] (D:\\munka\\SzeSnake\\SerpentRace_Backend\\node_modules\\ts-node\\src\\index.ts:1621:12)\n at Module.load (node:internal/modules/cjs/loader:1317:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1127:12)"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-19-26-585Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-19-26-585Z.log new file mode 100644 index 00000000..9cbeff53 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-19-26-585Z.log @@ -0,0 +1,41 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:19:26.585Z +# Max entries per file: 10000 + +2025-09-15T12:19:32.866Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:19:32.878Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:19:32.878Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:19:33.263Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:19:33.284Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:19:33.286Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:19:33.298Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:28:28.318Z | [REQUEST] | Incoming request | ReqId:q9xumji83 | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.320Z | [REQUEST] | GET /api-docs/ | ReqId:q9xumji83 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.324Z | [REQUEST] | Request completed | ReqId:q9xumji83 | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.357Z | [REQUEST] | Incoming request | ReqId:qb1ye19jh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.359Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:qb1ye19jh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.361Z | [REQUEST] | Request completed | ReqId:qb1ye19jh | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | Time:4ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.364Z | [REQUEST] | Incoming request | ReqId:exdgz9dua | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.367Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:exdgz9dua | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.373Z | [REQUEST] | Request completed | ReqId:exdgz9dua | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.400Z | [REQUEST] | Incoming request | ReqId:eijtywrju | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.402Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:eijtywrju | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.405Z | [REQUEST] | Incoming request | ReqId:tjtedvicv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.406Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:tjtedvicv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.409Z | [REQUEST] | Request completed | ReqId:eijtywrju | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.411Z | [REQUEST] | Request completed | ReqId:tjtedvicv | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.464Z | [REQUEST] | Incoming request | ReqId:ywvfo1bxm | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:28:28.466Z | [REQUEST] | GET /api-docs/favicon-16x16.png | ReqId:ywvfo1bxm | IP:::ffff:172.20.0.1 | GET /api-docs/favicon-16x16.png | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T12:32:07.748Z | [REQUEST] | Incoming request | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:32:07.750Z | [REQUEST] | POST /api/users/create | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:32:07.752Z | [REQUEST] | Create user endpoint accessed | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"user@example.com"} +2025-09-15T12:32:07.979Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"null value in column \"type\" of relation \"Users\" violates not-null constraint","stack":"QueryFailedError: null value in column \"type\" of relation \"Users\" violates not-null constraint\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:32:07.981Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"Failed to create user in database","stack":"Error: Failed to create user in database\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:31:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:32:07.983Z | [ERROR] | Create user endpoint error | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:86:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:32:07.985Z | [REQUEST] | Request completed | ReqId:593am1m2y | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:237ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:33:00.449Z | [REQUEST] | Incoming request | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:33:00.451Z | [REQUEST] | POST /api/users/create | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:33:00.453Z | [REQUEST] | Create user endpoint accessed | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"user@example.com"} +2025-09-15T12:33:00.620Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"null value in column \"type\" of relation \"Users\" violates not-null constraint","stack":"QueryFailedError: null value in column \"type\" of relation \"Users\" violates not-null constraint\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:33:00.622Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"Failed to create user in database","stack":"Error: Failed to create user in database\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:31:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:46:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:33:00.624Z | [ERROR] | Create user endpoint error | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:86:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:33:00.625Z | [REQUEST] | Request completed | ReqId:mslolhmks | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:176ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-10-378Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-10-378Z.log new file mode 100644 index 00000000..3dcbe9a9 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-10-378Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:35:10.378Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-16-712Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-16-712Z.log new file mode 100644 index 00000000..45a65313 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-16-712Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:35:16.712Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-26-845Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-26-845Z.log new file mode 100644 index 00000000..0bc19e32 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-26-845Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:35:26.845Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-35-873Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-35-873Z.log new file mode 100644 index 00000000..e81fd9b0 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-35-35-873Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:35:35.873Z +# Max entries per file: 10000 + +2025-09-15T12:35:42.719Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:35:42.732Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:35:42.732Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:35:43.115Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:35:43.147Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:35:43.149Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:35:43.156Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-05-704Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-05-704Z.log new file mode 100644 index 00000000..606664c4 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-05-704Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:36:05.704Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-08-997Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-08-997Z.log new file mode 100644 index 00000000..edc9ba2a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-08-997Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:36:08.997Z +# Max entries per file: 10000 + +2025-09-15T12:36:15.436Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:36:15.449Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:36:15.449Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:36:15.975Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:36:16.015Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:36:16.017Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:36:16.031Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-58-728Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-58-728Z.log new file mode 100644 index 00000000..b94ddd59 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-36-58-728Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:36:58.728Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-37-01-627Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-37-01-627Z.log new file mode 100644 index 00000000..53751b13 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-37-01-627Z.log @@ -0,0 +1,18 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:37:01.627Z +# Max entries per file: 10000 + +2025-09-15T12:37:08.011Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:37:08.032Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:37:08.032Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:37:08.842Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:37:08.861Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:37:08.863Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:37:08.868Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:37:42.174Z | [REQUEST] | Incoming request | ReqId:glvtze4j4 | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:37:42.176Z | [REQUEST] | POST /api/users/create | ReqId:glvtze4j4 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:37:42.179Z | [REQUEST] | Create user endpoint accessed | ReqId:glvtze4j4 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"user@example.com"} +2025-09-15T12:37:42.359Z | [DATABASE] | User created successfully | Meta:{"executionTime":25,"userId":"e560f2c5-055e-4911-90ba-44890e6fe661","username":"TesztUser","email":"user@example.com"} +2025-09-15T12:37:42.625Z | [ERROR] | Email sending failed | Meta:{"name":"Error","message":"Missing credentials for \"PLAIN\"","stack":"Error: Missing credentials for \"PLAIN\"\n at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)\n at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:454:38)\n at /app/node_modules/nodemailer/lib/smtp-transport/index.js:272:32\n at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:215:17)\n at Object.onceWrapper (node:events:638:28)\n at SMTPConnection.emit (node:events:524:28)\n at SMTPConnection.emit (node:domain:489:12)\n at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1371:14)\n at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:993:20)\n at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:14)"} +2025-09-15T12:37:42.627Z | [WARNING] | Failed to send verification email | Meta:{"email":"user@example.com","userId":"e560f2c5-055e-4911-90ba-44890e6fe661"} +2025-09-15T12:37:42.629Z | [REQUEST] | User created successfully | ReqId:glvtze4j4 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"e560f2c5-055e-4911-90ba-44890e6fe661","username":"TesztUser"} +2025-09-15T12:37:42.632Z | [REQUEST] | Request completed | ReqId:glvtze4j4 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:201 | Time:458ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-39-44-241Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-39-44-241Z.log new file mode 100644 index 00000000..e9e81cf3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-39-44-241Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:39:44.241Z +# Max entries per file: 10000 + +2025-09-15T12:39:50.587Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:39:50.600Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:39:50.600Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:39:51.449Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:39:51.470Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:39:51.471Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:39:51.477Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-40-00-507Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-40-00-507Z.log new file mode 100644 index 00000000..9af13397 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-40-00-507Z.log @@ -0,0 +1,31 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:40:00.507Z +# Max entries per file: 10000 + +2025-09-15T12:40:06.929Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:40:06.942Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:40:06.942Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:40:07.745Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:40:07.765Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:40:07.767Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:40:07.772Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:40:22.594Z | [REQUEST] | Incoming request | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:40:22.596Z | [REQUEST] | POST /api/users/create | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:40:22.599Z | [REQUEST] | Create user endpoint accessed | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"user@example.com"} +2025-09-15T12:40:22.775Z | [DATABASE] | User created successfully | Meta:{"executionTime":20,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser","email":"user@example.com"} +2025-09-15T12:40:23.015Z | [ERROR] | Email sending failed | Meta:{"name":"Error","message":"Missing credentials for \"PLAIN\"","stack":"Error: Missing credentials for \"PLAIN\"\n at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)\n at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:454:38)\n at /app/node_modules/nodemailer/lib/smtp-transport/index.js:272:32\n at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:215:17)\n at Object.onceWrapper (node:events:638:28)\n at SMTPConnection.emit (node:events:524:28)\n at SMTPConnection.emit (node:domain:489:12)\n at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1371:14)\n at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:993:20)\n at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:14)"} +2025-09-15T12:40:23.017Z | [WARNING] | Failed to send verification email | Meta:{"email":"user@example.com","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:40:23.019Z | [REQUEST] | User created successfully | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"} +2025-09-15T12:40:23.021Z | [REQUEST] | Request completed | ReqId:s1v0fji91 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:201 | Time:427ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:41:32.394Z | [REQUEST] | Incoming request | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T12:41:32.396Z | [REQUEST] | POST /api/users/login | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:41:32.398Z | [REQUEST] | Login endpoint accessed | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T12:41:32.400Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T12:41:32.417Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":15,"found":true,"username":"TesztUser"} +2025-09-15T12:41:32.419Z | [DATABASE] | User lookup completed | Meta:{"executionTime":19,"found":true,"searchBy":"username"} +2025-09-15T12:41:32.570Z | [AUTH] | Password verification completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","valid":true,"verificationTime":150} +2025-09-15T12:41:32.574Z | [AUTH] | Login successful | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":"","requiresOrgReauth":false,"totalLoginTime":174} +2025-09-15T12:41:32.576Z | [AUTH] | User login successful | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"} +2025-09-15T12:41:32.578Z | [REQUEST] | Request completed | ReqId:vz85w21ja | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:184ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:41:48.986Z | [REQUEST] | Incoming request | ReqId:amumwt25s | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 +2025-09-15T12:41:48.988Z | [REQUEST] | POST /api/users/logout | ReqId:amumwt25s | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:41:48.990Z | [REQUEST] | Request completed | ReqId:amumwt25s | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:404 | Time:4ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-48-47-841Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-48-47-841Z.log new file mode 100644 index 00000000..02d4d91c --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-48-47-841Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:48:47.841Z +# Max entries per file: 10000 + +2025-09-15T12:48:49.684Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:48:49.698Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:48:49.698Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:48:50.561Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:48:50.565Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:48:50.567Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:48:50.569Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-49-09-893Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-49-09-893Z.log new file mode 100644 index 00000000..be0f518a --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-49-09-893Z.log @@ -0,0 +1,43 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:49:09.893Z +# Max entries per file: 10000 + +2025-09-15T12:49:11.651Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:49:11.664Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:49:11.664Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:49:12.488Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:49:12.492Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:49:12.493Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:49:12.495Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:49:18.910Z | [REQUEST] | Incoming request | ReqId:x9twrmood | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 +2025-09-15T12:49:18.913Z | [REQUEST] | POST /api/users/logout | ReqId:x9twrmood | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:49:18.918Z | [AUTH] | Authentication successful | ReqId:x9twrmood | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:49:18.920Z | [AUTH] | Logout process started | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.925Z | [AUTH] | JWT token blacklisted | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","tokenExpiry":85934} +2025-09-15T12:49:18.927Z | [AUTH] | User removed from active sessions | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.942Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":5,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.943Z | [DATABASE] | User updated successfully | Meta:{"query":"update(ffa31617-2cf9-403e-ab9d-87eeec85ce58)","executionTime":14,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updatedFields":["updatedate"],"success":true} +2025-09-15T12:49:18.945Z | [AUTH] | User last logout timestamp updated | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.948Z | [AUTH] | User cache cleared | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.949Z | [AUTH] | User logout completed successfully | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.951Z | [REQUEST] | User logged out successfully | ReqId:x9twrmood | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:49:18.953Z | [REQUEST] | Request completed | ReqId:x9twrmood | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | Time:43ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:49:28.379Z | [REQUEST] | Incoming request | ReqId:t8vc1878y | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T12:49:28.381Z | [REQUEST] | POST /api/users/login | ReqId:t8vc1878y | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:49:28.383Z | [REQUEST] | Login endpoint accessed | ReqId:t8vc1878y | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T12:49:28.385Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T12:49:28.390Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":3,"found":true,"username":"TesztUser"} +2025-09-15T12:49:28.392Z | [DATABASE] | User lookup completed | Meta:{"executionTime":7,"found":true,"searchBy":"username"} +2025-09-15T12:49:28.543Z | [AUTH] | Password verification completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","valid":true,"verificationTime":150} +2025-09-15T12:49:28.547Z | [AUTH] | Login successful | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":"","requiresOrgReauth":false,"totalLoginTime":162} +2025-09-15T12:49:28.549Z | [AUTH] | User login successful | ReqId:t8vc1878y | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"} +2025-09-15T12:49:28.551Z | [REQUEST] | Request completed | ReqId:t8vc1878y | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:172ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:50:26.136Z | [REQUEST] | Incoming request | ReqId:wrt3pu1i2 | IP:::ffff:172.20.0.1 | POST /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:50:26.138Z | [REQUEST] | POST /api/users/profile | ReqId:wrt3pu1i2 | IP:::ffff:172.20.0.1 | POST /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:50:26.141Z | [REQUEST] | Request completed | ReqId:wrt3pu1i2 | IP:::ffff:172.20.0.1 | POST /api/users/profile | Status:404 | Time:5ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:50:40.248Z | [REQUEST] | Incoming request | ReqId:mdj6td86j | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:50:40.250Z | [REQUEST] | GET /api/users/profile | ReqId:mdj6td86j | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:50:40.254Z | [AUTH] | Authentication successful | ReqId:mdj6td86j | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:50:40.255Z | [REQUEST] | Get user profile endpoint accessed | ReqId:mdj6td86j | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:50:40.270Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":13,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:50:40.272Z | [REQUEST] | User profile retrieved successfully | ReqId:mdj6td86j | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"} +2025-09-15T12:50:40.273Z | [REQUEST] | Request completed | ReqId:mdj6td86j | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | Time:25ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-52-01-020Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-52-01-020Z.log new file mode 100644 index 00000000..4d09b780 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-52-01-020Z.log @@ -0,0 +1,116 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:52:01.020Z +# Max entries per file: 10000 + +2025-09-15T12:52:02.736Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:52:02.751Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:52:02.751Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:52:03.631Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:52:03.636Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:52:03.637Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:52:03.639Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:52:09.917Z | [REQUEST] | Incoming request | ReqId:4t001uku2 | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:52:09.919Z | [REQUEST] | GET /api/users/profile | ReqId:4t001uku2 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:52:09.924Z | [AUTH] | Authentication successful | ReqId:4t001uku2 | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:52:09.926Z | [REQUEST] | Get user profile endpoint accessed | ReqId:4t001uku2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:09.936Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":9,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:09.937Z | [REQUEST] | User profile retrieved successfully | ReqId:4t001uku2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"} +2025-09-15T12:52:09.940Z | [REQUEST] | Request completed | ReqId:4t001uku2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | Time:23ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:52:31.743Z | [REQUEST] | Incoming request | ReqId:h9zwe89hh | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 +2025-09-15T12:52:31.746Z | [REQUEST] | POST /api/users/logout | ReqId:h9zwe89hh | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:52:31.749Z | [AUTH] | Authentication successful | ReqId:h9zwe89hh | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:52:31.751Z | [AUTH] | Logout process started | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.754Z | [AUTH] | JWT token blacklisted | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","tokenExpiry":86217} +2025-09-15T12:52:31.757Z | [AUTH] | User removed from active sessions | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.773Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":2,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.775Z | [DATABASE] | User updated successfully | Meta:{"query":"update(ffa31617-2cf9-403e-ab9d-87eeec85ce58)","executionTime":17,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updatedFields":["updatedate"],"success":true} +2025-09-15T12:52:31.776Z | [AUTH] | User last logout timestamp updated | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.778Z | [AUTH] | User cache cleared | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.780Z | [AUTH] | User logout completed successfully | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.781Z | [REQUEST] | User logged out successfully | ReqId:h9zwe89hh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:52:31.783Z | [REQUEST] | Request completed | ReqId:h9zwe89hh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | Time:40ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:53:25.323Z | [REQUEST] | Incoming request | ReqId:o2fg2oi9u | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:53:25.325Z | [REQUEST] | GET /api/users/profile | ReqId:o2fg2oi9u | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:53:25.328Z | [AUTH] | Authentication failed - Token blacklisted | ReqId:o2fg2oi9u | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"ip":"::ffff:172.20.0.1","userAgent":"PostmanRuntime/7.45.0","path":"/profile"} +2025-09-15T12:53:25.330Z | [REQUEST] | Request completed | ReqId:o2fg2oi9u | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:401 | Time:7ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:53:41.156Z | [REQUEST] | Incoming request | ReqId:q4u7qdspw | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T12:53:41.158Z | [REQUEST] | POST /api/users/login | ReqId:q4u7qdspw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:53:41.160Z | [REQUEST] | Login endpoint accessed | ReqId:q4u7qdspw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T12:53:41.163Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T12:53:41.174Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":10,"found":true,"username":"TesztUser"} +2025-09-15T12:53:41.176Z | [DATABASE] | User lookup completed | Meta:{"executionTime":13,"found":true,"searchBy":"username"} +2025-09-15T12:53:41.327Z | [AUTH] | Password verification completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","valid":true,"verificationTime":149} +2025-09-15T12:53:41.331Z | [AUTH] | Login successful | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":"","requiresOrgReauth":false,"totalLoginTime":168} +2025-09-15T12:53:41.333Z | [AUTH] | User login successful | ReqId:q4u7qdspw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztUser"} +2025-09-15T12:53:41.335Z | [REQUEST] | Request completed | ReqId:q4u7qdspw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:179ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:09.875Z | [REQUEST] | Incoming request | ReqId:djcuh0yw5 | IP:::ffff:172.20.0.1 | PATCH /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:09.877Z | [REQUEST] | PATCH /api/users/profile | ReqId:djcuh0yw5 | IP:::ffff:172.20.0.1 | PATCH /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:09.880Z | [AUTH] | Authentication successful | ReqId:djcuh0yw5 | IP:::ffff:172.20.0.1 | PATCH /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:54:09.882Z | [REQUEST] | Update user profile endpoint accessed | ReqId:djcuh0yw5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","fieldsToUpdate":["username","password"]} +2025-09-15T12:54:10.046Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":3,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:10.048Z | [DATABASE] | User updated successfully | Meta:{"query":"update(ffa31617-2cf9-403e-ab9d-87eeec85ce58)","executionTime":15,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updatedFields":["id","username","password"],"success":true} +2025-09-15T12:54:10.050Z | [REQUEST] | User profile updated successfully | ReqId:djcuh0yw5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztAdmin"} +2025-09-15T12:54:10.052Z | [REQUEST] | Request completed | ReqId:djcuh0yw5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/users/profile | Status:200 | Time:177ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:18.420Z | [REQUEST] | Incoming request | ReqId:qoj2pmsic | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:18.422Z | [REQUEST] | GET /api/users/profile | ReqId:qoj2pmsic | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:18.425Z | [AUTH] | Authentication successful | ReqId:qoj2pmsic | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:54:18.426Z | [REQUEST] | Get user profile endpoint accessed | ReqId:qoj2pmsic | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:18.430Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":2,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:18.432Z | [REQUEST] | User profile retrieved successfully | ReqId:qoj2pmsic | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztAdmin"} +2025-09-15T12:54:18.433Z | [REQUEST] | Request completed | ReqId:qoj2pmsic | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | Time:13ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:38.465Z | [REQUEST] | Incoming request | ReqId:vrd0xj5h8 | IP:::ffff:172.20.0.1 | DELETE /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:38.467Z | [REQUEST] | DELETE /api/users/profile | ReqId:vrd0xj5h8 | IP:::ffff:172.20.0.1 | DELETE /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:38.469Z | [AUTH] | Authentication successful | ReqId:vrd0xj5h8 | IP:::ffff:172.20.0.1 | DELETE /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:54:38.484Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":3,"found":false,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:38.486Z | [DATABASE] | User soft deleted successfully | Meta:{"query":"update(ffa31617-2cf9-403e-ab9d-87eeec85ce58, { state: SOFT_DELETE })","executionTime":15,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","success":false} +2025-09-15T12:54:38.487Z | [REQUEST] | User soft deleted successfully | ReqId:vrd0xj5h8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:38.489Z | [REQUEST] | Request completed | ReqId:vrd0xj5h8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/users/profile | Status:200 | Time:24ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:43.815Z | [REQUEST] | Incoming request | ReqId:yii54vgus | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:43.817Z | [REQUEST] | GET /api/users/profile | ReqId:yii54vgus | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:43.819Z | [AUTH] | Authentication successful | ReqId:yii54vgus | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:54:43.821Z | [REQUEST] | Get user profile endpoint accessed | ReqId:yii54vgus | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:43.824Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":2,"found":false,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:43.826Z | [WARNING] | User profile not found | ReqId:yii54vgus | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:43.827Z | [REQUEST] | Request completed | ReqId:yii54vgus | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:404 | Time:12ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:50.178Z | [REQUEST] | Incoming request | ReqId:jgp1r1dec | IP:::ffff:172.20.0.1 | GET /api/users/logout | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:50.180Z | [REQUEST] | GET /api/users/logout | ReqId:jgp1r1dec | IP:::ffff:172.20.0.1 | GET /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:50.182Z | [REQUEST] | Request completed | ReqId:jgp1r1dec | IP:::ffff:172.20.0.1 | GET /api/users/logout | Status:404 | Time:4ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:57.930Z | [REQUEST] | Incoming request | ReqId:w78a7912l | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:57.932Z | [REQUEST] | POST /api/users/logout | ReqId:w78a7912l | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:54:57.935Z | [AUTH] | Authentication successful | ReqId:w78a7912l | IP:::ffff:172.20.0.1 | POST /api/users/logout | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T12:54:57.937Z | [AUTH] | Logout process started | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:57.940Z | [AUTH] | JWT token blacklisted | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","tokenExpiry":86324} +2025-09-15T12:54:57.942Z | [AUTH] | User removed from active sessions | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:57.954Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":1,"found":false,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:57.956Z | [DATABASE] | User updated successfully | Meta:{"query":"update(ffa31617-2cf9-403e-ab9d-87eeec85ce58)","executionTime":12,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updatedFields":["updatedate"],"success":false} +2025-09-15T12:54:57.958Z | [AUTH] | User cache cleared | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:57.960Z | [AUTH] | User logout completed successfully | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:57.961Z | [REQUEST] | User logged out successfully | ReqId:w78a7912l | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T12:54:57.963Z | [REQUEST] | Request completed | ReqId:w78a7912l | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/users/logout | Status:200 | Time:33ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:22.864Z | [REQUEST] | Incoming request | ReqId:mclmp1qlh | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:22.866Z | [REQUEST] | POST /api/users/create | ReqId:mclmp1qlh | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:22.868Z | [REQUEST] | Create user endpoint accessed | ReqId:mclmp1qlh | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"} +2025-09-15T12:55:23.066Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:23.068Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:23.070Z | [ERROR] | Create user endpoint error | ReqId:mclmp1qlh | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:23.072Z | [REQUEST] | Request completed | ReqId:mclmp1qlh | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:208ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:31.890Z | [REQUEST] | Incoming request | ReqId:fjhc85an2 | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:31.892Z | [REQUEST] | POST /api/users/create | ReqId:fjhc85an2 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:31.894Z | [REQUEST] | Create user endpoint accessed | ReqId:fjhc85an2 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"} +2025-09-15T12:55:32.050Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:32.052Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:32.054Z | [ERROR] | Create user endpoint error | ReqId:fjhc85an2 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:32.056Z | [REQUEST] | Request completed | ReqId:fjhc85an2 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:166ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:58.720Z | [REQUEST] | Incoming request | ReqId:8z2pt6wls | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:58.723Z | [REQUEST] | POST /api/users/create | ReqId:8z2pt6wls | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:55:58.728Z | [REQUEST] | Create user endpoint accessed | ReqId:8z2pt6wls | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"} +2025-09-15T12:55:58.903Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:58.906Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:58.909Z | [ERROR] | Create user endpoint error | ReqId:8z2pt6wls | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:55:58.911Z | [REQUEST] | Request completed | ReqId:8z2pt6wls | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:191ms | UA:PostmanRuntime/7.45.0 +2025-09-15T12:56:02.539Z | [REQUEST] | Incoming request | ReqId:xarq833pk | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:56:02.541Z | [REQUEST] | POST /api/users/create | ReqId:xarq833pk | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:56:02.543Z | [REQUEST] | Create user endpoint accessed | ReqId:xarq833pk | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin1","email":"user@example.com"} +2025-09-15T12:56:02.700Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_3c3ab3f49a87e6ddb607f3c4945\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_3c3ab3f49a87e6ddb607f3c4945\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:56:02.702Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:56:02.704Z | [ERROR] | Create user endpoint error | ReqId:xarq833pk | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:56:02.706Z | [REQUEST] | Request completed | ReqId:xarq833pk | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:167ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-57-09-147Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-57-09-147Z.log new file mode 100644 index 00000000..e81fc689 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-57-09-147Z.log @@ -0,0 +1,18 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:57:09.147Z +# Max entries per file: 10000 + +2025-09-15T12:57:10.909Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:57:10.923Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:57:10.923Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:57:11.797Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:57:11.802Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:57:11.803Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:57:11.805Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:57:16.179Z | [REQUEST] | Incoming request | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:57:16.181Z | [REQUEST] | POST /api/users/create | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:57:16.184Z | [REQUEST] | Create user endpoint accessed | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"} +2025-09-15T12:57:16.371Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:57:16.373Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:57:16.375Z | [ERROR] | Create user endpoint error | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:57:16.377Z | [ERROR] | Create user endpoint error | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:57:16.380Z | [REQUEST] | Request completed | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:201ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-59-13-517Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-59-13-517Z.log new file mode 100644 index 00000000..7fe31dd2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-59-13-517Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:59:13.517Z +# Max entries per file: 10000 + +2025-09-15T12:59:15.303Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:59:15.316Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:59:15.316Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:59:16.334Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:59:16.339Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:59:16.341Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:59:16.343Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-59-33-039Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-59-33-039Z.log new file mode 100644 index 00000000..933e6457 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T12-59-33-039Z.log @@ -0,0 +1,17 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T12:59:33.039Z +# Max entries per file: 10000 + +2025-09-15T12:59:34.745Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T12:59:34.758Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:59:34.758Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T12:59:35.583Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T12:59:35.587Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T12:59:35.590Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T12:59:35.592Z | [STARTUP] | Redis client connected successfully +2025-09-15T12:59:40.637Z | [REQUEST] | Incoming request | ReqId:pb09cnqv0 | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T12:59:40.639Z | [REQUEST] | POST /api/users/create | ReqId:pb09cnqv0 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T12:59:40.643Z | [REQUEST] | Create user endpoint accessed | ReqId:pb09cnqv0 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"} +2025-09-15T12:59:40.827Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:59:40.829Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:59:40.831Z | [ERROR] | Create user endpoint error | ReqId:pb09cnqv0 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T12:59:40.834Z | [REQUEST] | Request completed | ReqId:pb09cnqv0 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:197ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-01-39-531Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-01-39-531Z.log new file mode 100644 index 00000000..77f1e597 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-01-39-531Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:01:39.531Z +# Max entries per file: 10000 + +2025-09-15T13:01:41.391Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:01:41.404Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:01:41.404Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:01:42.306Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:01:42.311Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:01:42.312Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:01:42.314Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-04-05-024Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-04-05-024Z.log new file mode 100644 index 00000000..3d98c7bd --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-04-05-024Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:04:05.024Z +# Max entries per file: 10000 + +2025-09-15T13:04:06.799Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:04:06.813Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:04:06.813Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:04:07.767Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:04:07.772Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:04:07.774Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:04:07.777Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-04-16-511Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-04-16-511Z.log new file mode 100644 index 00000000..c7b80ea4 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-04-16-511Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:04:16.511Z +# Max entries per file: 10000 + +2025-09-15T13:04:18.361Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:04:18.375Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:04:18.375Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:04:19.274Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:04:19.279Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:04:19.280Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:04:19.282Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-05-05-594Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-05-05-594Z.log new file mode 100644 index 00000000..60c76467 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-05-05-594Z.log @@ -0,0 +1,48 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:05:05.594Z +# Max entries per file: 10000 + +2025-09-15T13:05:07.337Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:05:07.351Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:05:07.351Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:05:08.342Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:05:08.347Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:05:08.349Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:05:08.350Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:05:16.809Z | [REQUEST] | Incoming request | ReqId:1f3eifswo | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T13:05:16.812Z | [REQUEST] | POST /api/users/create | ReqId:1f3eifswo | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:05:16.816Z | [REQUEST] | Create user endpoint accessed | ReqId:1f3eifswo | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"} +2025-09-15T13:05:17.010Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"} +2025-09-15T13:05:17.014Z | [REQUEST] | Request completed | ReqId:1f3eifswo | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:409 | Time:205ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:06:06.365Z | [REQUEST] | Incoming request | ReqId:faaxhg3i1 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T13:06:06.367Z | [REQUEST] | POST /api/users/login | ReqId:faaxhg3i1 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:06:06.369Z | [REQUEST] | Login endpoint accessed | ReqId:faaxhg3i1 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin"} +2025-09-15T13:06:06.371Z | [AUTH] | Login attempt | Meta:{"username":"TesztAdmin"} +2025-09-15T13:06:06.394Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztAdmin })","executionTime":20,"found":true,"username":"TesztAdmin"} +2025-09-15T13:06:06.396Z | [DATABASE] | User lookup completed | Meta:{"executionTime":25,"found":true,"searchBy":"username"} +2025-09-15T13:06:06.550Z | [AUTH] | Password verification completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","valid":true,"verificationTime":151} +2025-09-15T13:06:06.556Z | [AUTH] | Login successful | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":"","requiresOrgReauth":false,"totalLoginTime":185} +2025-09-15T13:06:06.558Z | [AUTH] | User login successful | ReqId:faaxhg3i1 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztAdmin"} +2025-09-15T13:06:06.560Z | [REQUEST] | Request completed | ReqId:faaxhg3i1 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:195ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:07:03.023Z | [REQUEST] | Incoming request | ReqId:148mhu0kz | IP:::ffff:172.20.0.1 | GET /api-docs/ | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.025Z | [REQUEST] | GET /api-docs/ | ReqId:148mhu0kz | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.031Z | [REQUEST] | Request completed | ReqId:148mhu0kz | IP:::ffff:172.20.0.1 | GET /api-docs/ | Status:304 | Time:8ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.056Z | [REQUEST] | Incoming request | ReqId:cr24npsy5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.059Z | [REQUEST] | GET /api-docs/swagger-ui.css | ReqId:cr24npsy5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.061Z | [REQUEST] | Incoming request | ReqId:qmgartctm | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.063Z | [REQUEST] | GET /api-docs/swagger-ui-bundle.js | ReqId:qmgartctm | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.066Z | [REQUEST] | Request completed | ReqId:cr24npsy5 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui.css | Status:304 | Time:10ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.068Z | [REQUEST] | Request completed | ReqId:qmgartctm | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-bundle.js | Status:304 | Time:7ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.072Z | [REQUEST] | Incoming request | ReqId:qm5m8ga8e | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.074Z | [REQUEST] | GET /api-docs/swagger-ui-standalone-preset.js | ReqId:qm5m8ga8e | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.078Z | [REQUEST] | Request completed | ReqId:qm5m8ga8e | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-standalone-preset.js | Status:304 | Time:6ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.080Z | [REQUEST] | Incoming request | ReqId:hbywdbqe2 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.085Z | [REQUEST] | GET /api-docs/swagger-ui-init.js | ReqId:hbywdbqe2 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:200 | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:07:03.089Z | [REQUEST] | Request completed | ReqId:hbywdbqe2 | IP:::ffff:172.20.0.1 | GET /api-docs/swagger-ui-init.js | Status:304 | Time:9ms | UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0 +2025-09-15T13:21:56.108Z | [REQUEST] | Incoming request | ReqId:dyxy3fe8v | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 +2025-09-15T13:21:56.110Z | [REQUEST] | POST /api/decks/ | ReqId:dyxy3fe8v | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:21:56.115Z | [AUTH] | Authentication successful | ReqId:dyxy3fe8v | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:21:56.117Z | [REQUEST] | Create deck endpoint accessed | ReqId:dyxy3fe8v | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"TestLuckCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:21:56.128Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: undefined })","executionTime":9,"found":true} +2025-09-15T13:21:56.130Z | [AUTH] | ADMIN_BYPASS: CREATE_DECK_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"new-deck","action":"CREATE_DECK_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:21:56.130Z","deckName":"TestLuckCard","deckType":2,"cardCount":3} +2025-09-15T13:21:56.145Z | [ERROR] | Create deck endpoint error | ReqId:dyxy3fe8v | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"QueryFailedError","message":"null value in column \"user_id\" of relation \"Decks\" violates not-null constraint","stack":"QueryFailedError: null value in column \"user_id\" of relation \"Decks\" violates not-null constraint\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async CreateDeckCommandHandler.createDeck (/app/src/Application/Deck/commands/CreateDeckCommandHandler.ts:112:21)\n at async /app/src/Api/routers/deckRouter.ts:64:18"} +2025-09-15T13:21:56.148Z | [REQUEST] | Request completed | ReqId:dyxy3fe8v | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:500 | Time:40ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-23-41-490Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-23-41-490Z.log new file mode 100644 index 00000000..62d354e2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-23-41-490Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:23:41.490Z +# Max entries per file: 10000 + +2025-09-15T13:23:43.323Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:23:43.340Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:23:43.340Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:23:44.199Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:23:44.204Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:23:44.206Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:23:44.208Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-24-35-940Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-24-35-940Z.log new file mode 100644 index 00000000..72891e7d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-24-35-940Z.log @@ -0,0 +1,19 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:24:35.940Z +# Max entries per file: 10000 + +2025-09-15T13:24:37.729Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:24:37.742Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:24:37.742Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:24:38.621Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:24:38.625Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:24:38.626Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:24:38.628Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:24:41.226Z | [REQUEST] | Incoming request | ReqId:vf0yd6b4i | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 +2025-09-15T13:24:41.228Z | [REQUEST] | POST /api/decks/ | ReqId:vf0yd6b4i | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:24:41.233Z | [AUTH] | Authentication successful | ReqId:vf0yd6b4i | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:24:41.235Z | [REQUEST] | Create deck endpoint accessed | ReqId:vf0yd6b4i | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"TestLuckCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:24:41.244Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":8,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:24:41.246Z | [AUTH] | ADMIN_BYPASS: CREATE_DECK_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"new-deck","action":"CREATE_DECK_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:24:41.246Z","deckName":"TestLuckCard","deckType":2,"cardCount":3} +2025-09-15T13:24:41.259Z | [REQUEST] | Deck created successfully | Meta:{"deckId":"2fd99236-7748-4662-af37-2c8d17af4313","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","deckName":"TestLuckCard","deckType":2,"cardCount":3} +2025-09-15T13:24:41.260Z | [REQUEST] | Deck created successfully | ReqId:vf0yd6b4i | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"2fd99236-7748-4662-af37-2c8d17af4313","name":"TestLuckCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:24:41.263Z | [REQUEST] | Request completed | ReqId:vf0yd6b4i | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | Time:37ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-26-42-347Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-26-42-347Z.log new file mode 100644 index 00000000..0fbfb7b7 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-26-42-347Z.log @@ -0,0 +1,45 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:26:42.347Z +# Max entries per file: 10000 + +2025-09-15T13:26:44.028Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:26:44.041Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:26:44.041Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:26:44.859Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:26:44.863Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:26:44.865Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:26:44.867Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:27:30.496Z | [REQUEST] | Incoming request | ReqId:qybe4z9r3 | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 +2025-09-15T13:27:30.498Z | [REQUEST] | POST /api/decks/ | ReqId:qybe4z9r3 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:27:30.504Z | [AUTH] | Authentication successful | ReqId:qybe4z9r3 | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:27:30.506Z | [REQUEST] | Create deck endpoint accessed | ReqId:qybe4z9r3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"TestJOKERCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:27:30.522Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":14,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:27:30.524Z | [AUTH] | ADMIN_BYPASS: CREATE_DECK_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"new-deck","action":"CREATE_DECK_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:27:30.524Z","deckName":"TestJOKERCard","deckType":1,"cardCount":1} +2025-09-15T13:27:30.536Z | [REQUEST] | Deck created successfully | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","deckName":"TestJOKERCard","deckType":1,"cardCount":1} +2025-09-15T13:27:30.538Z | [REQUEST] | Deck created successfully | ReqId:qybe4z9r3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","name":"TestJOKERCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:27:30.541Z | [REQUEST] | Request completed | ReqId:qybe4z9r3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | Time:45ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:08.994Z | [REQUEST] | Incoming request | ReqId:5qs85uahx | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:08.996Z | [REQUEST] | POST /api/decks/ | ReqId:5qs85uahx | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:09.000Z | [AUTH] | Authentication successful | ReqId:5qs85uahx | IP:::ffff:172.20.0.1 | POST /api/decks/ | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:28:09.002Z | [REQUEST] | Create deck endpoint accessed | ReqId:5qs85uahx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"TestQUESTIONCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:28:09.015Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":12,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:28:09.017Z | [AUTH] | ADMIN_BYPASS: CREATE_DECK_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"new-deck","action":"CREATE_DECK_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:28:09.017Z","deckName":"TestQUESTIONCard","deckType":2,"cardCount":1} +2025-09-15T13:28:09.023Z | [REQUEST] | Deck created successfully | Meta:{"deckId":"c6336b46-a80c-467a-a329-9ad51bdbba6c","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","deckName":"TestQUESTIONCard","deckType":2,"cardCount":1} +2025-09-15T13:28:09.025Z | [REQUEST] | Deck created successfully | ReqId:5qs85uahx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"c6336b46-a80c-467a-a329-9ad51bdbba6c","name":"TestQUESTIONCard","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:28:09.027Z | [REQUEST] | Request completed | ReqId:5qs85uahx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/decks/ | Status:200 | Time:33ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:34.166Z | [REQUEST] | Incoming request | ReqId:mz6qkai4y | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:34.167Z | [REQUEST] | GET /api/decks/page/0/50 | ReqId:mz6qkai4y | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:34.171Z | [AUTH] | Authentication successful | ReqId:mz6qkai4y | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:28:34.173Z | [REQUEST] | Get decks by page endpoint accessed | ReqId:mz6qkai4y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":0,"to":50} +2025-09-15T13:28:34.175Z | [AUTH] | ADMIN_BYPASS: GET_DECKS_PAGE_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"paginated-decks","action":"GET_DECKS_PAGE_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:28:34.175Z","from":0,"to":50,"includesDeleted":false,"operation":"read"} +2025-09-15T13:28:34.176Z | [REQUEST] | Get decks by page query started | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":0,"to":50,"includeDeleted":false} +2025-09-15T13:28:34.178Z | [AUTH] | ADMIN_BYPASS: FIND_FILTERED_DECKS_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"all-decks-filtered","action":"FIND_FILTERED_DECKS_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:28:34.178Z","bypassType":"admin-all-decks-filtered","userOrgId":"","from":0,"to":50,"operation":"read"} +2025-09-15T13:28:34.197Z | [DATABASE] | Admin filtered deck query completed | Meta:{"query":"executionTime: 19ms, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58, found: 3, totalCount: 3, isAdmin: true"} +2025-09-15T13:28:34.199Z | [REQUEST] | Get decks by page query completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":0,"to":50,"returned":3,"totalCount":3,"includeDeleted":false} +2025-09-15T13:28:34.201Z | [REQUEST] | Get decks page completed successfully | ReqId:mz6qkai4y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","from":0,"to":50,"returnedCount":3,"totalCount":3} +2025-09-15T13:28:34.203Z | [REQUEST] | Request completed | ReqId:mz6qkai4y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | Time:37ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:44.002Z | [REQUEST] | Incoming request | ReqId:ntr1851wr | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:44.004Z | [REQUEST] | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | ReqId:ntr1851wr | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:28:44.007Z | [AUTH] | Authentication successful | ReqId:ntr1851wr | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:28:44.009Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:ntr1851wr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"c6336b46-a80c-467a-a329-9ad51bdbba6c"} +2025-09-15T13:28:44.013Z | [REQUEST] | Deck retrieved successfully | ReqId:ntr1851wr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"c6336b46-a80c-467a-a329-9ad51bdbba6c"} +2025-09-15T13:28:44.015Z | [REQUEST] | Request completed | ReqId:ntr1851wr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | Time:12ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-29-34-706Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-29-34-706Z.log new file mode 100644 index 00000000..169ca1f5 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-29-34-706Z.log @@ -0,0 +1,80 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:29:34.706Z +# Max entries per file: 10000 + +2025-09-15T13:29:36.573Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:29:36.588Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:29:36.588Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:29:37.535Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:29:37.540Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:29:37.541Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:29:37.543Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:29:38.521Z | [REQUEST] | Incoming request | ReqId:up9owkuzg | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | UA:PostmanRuntime/7.45.0 +2025-09-15T13:29:38.523Z | [REQUEST] | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | ReqId:up9owkuzg | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:29:38.528Z | [AUTH] | Authentication successful | ReqId:up9owkuzg | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:29:38.530Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:up9owkuzg | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"c6336b46-a80c-467a-a329-9ad51bdbba6c"} +2025-09-15T13:29:38.540Z | [REQUEST] | Deck retrieved successfully | ReqId:up9owkuzg | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"c6336b46-a80c-467a-a329-9ad51bdbba6c"} +2025-09-15T13:29:38.543Z | [REQUEST] | Request completed | ReqId:up9owkuzg | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/c6336b46-a80c-467a-a329-9ad51bdbba6c | Status:200 | Time:22ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:05.712Z | [REQUEST] | Incoming request | ReqId:p5hb1mr6q | IP:::ffff:172.20.0.1 | GET /api/decks/page/1/50 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:05.714Z | [REQUEST] | GET /api/decks/page/1/50 | ReqId:p5hb1mr6q | IP:::ffff:172.20.0.1 | GET /api/decks/page/1/50 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:05.718Z | [AUTH] | Authentication successful | ReqId:p5hb1mr6q | IP:::ffff:172.20.0.1 | GET /api/decks/page/1/50 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:30:05.720Z | [REQUEST] | Get decks by page endpoint accessed | ReqId:p5hb1mr6q | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/1/50 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":1,"to":50} +2025-09-15T13:30:05.722Z | [AUTH] | ADMIN_BYPASS: GET_DECKS_PAGE_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"paginated-decks","action":"GET_DECKS_PAGE_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:30:05.722Z","from":1,"to":50,"includesDeleted":false,"operation":"read"} +2025-09-15T13:30:05.724Z | [REQUEST] | Get decks by page query started | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":1,"to":50,"includeDeleted":false} +2025-09-15T13:30:05.726Z | [AUTH] | ADMIN_BYPASS: FIND_FILTERED_DECKS_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"all-decks-filtered","action":"FIND_FILTERED_DECKS_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:30:05.726Z","bypassType":"admin-all-decks-filtered","userOrgId":"","from":1,"to":50,"operation":"read"} +2025-09-15T13:30:05.751Z | [DATABASE] | Admin filtered deck query completed | Meta:{"query":"executionTime: 26ms, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58, found: 2, totalCount: 3, isAdmin: true"} +2025-09-15T13:30:05.753Z | [REQUEST] | Get decks by page query completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":1,"to":50,"returned":2,"totalCount":3,"includeDeleted":false} +2025-09-15T13:30:05.756Z | [REQUEST] | Get decks page completed successfully | ReqId:p5hb1mr6q | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/1/50 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","from":1,"to":50,"returnedCount":2,"totalCount":3} +2025-09-15T13:30:05.758Z | [REQUEST] | Request completed | ReqId:p5hb1mr6q | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/1/50 | Status:200 | Time:46ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:11.696Z | [REQUEST] | Incoming request | ReqId:dd51xu5s3 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:11.698Z | [REQUEST] | GET /api/decks/page/0/50 | ReqId:dd51xu5s3 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:11.701Z | [AUTH] | Authentication successful | ReqId:dd51xu5s3 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:30:11.703Z | [REQUEST] | Get decks by page endpoint accessed | ReqId:dd51xu5s3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":0,"to":50} +2025-09-15T13:30:11.705Z | [AUTH] | ADMIN_BYPASS: GET_DECKS_PAGE_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"paginated-decks","action":"GET_DECKS_PAGE_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:30:11.705Z","from":0,"to":50,"includesDeleted":false,"operation":"read"} +2025-09-15T13:30:11.706Z | [REQUEST] | Get decks by page query started | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":0,"to":50,"includeDeleted":false} +2025-09-15T13:30:11.708Z | [AUTH] | ADMIN_BYPASS: FIND_FILTERED_DECKS_BYPASS | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","targetId":"all-decks-filtered","action":"FIND_FILTERED_DECKS_BYPASS","bypassReason":"Admin privileges","timestamp":"2025-09-15T13:30:11.708Z","bypassType":"admin-all-decks-filtered","userOrgId":"","from":0,"to":50,"operation":"read"} +2025-09-15T13:30:11.716Z | [DATABASE] | Admin filtered deck query completed | Meta:{"query":"executionTime: 8ms, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58, found: 3, totalCount: 3, isAdmin: true"} +2025-09-15T13:30:11.719Z | [REQUEST] | Get decks by page query completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","userOrgId":"","isAdmin":true,"from":0,"to":50,"returned":3,"totalCount":3,"includeDeleted":false} +2025-09-15T13:30:11.720Z | [REQUEST] | Get decks page completed successfully | ReqId:dd51xu5s3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","from":0,"to":50,"returnedCount":3,"totalCount":3} +2025-09-15T13:30:11.722Z | [REQUEST] | Request completed | ReqId:dd51xu5s3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/page/0/50 | Status:200 | Time:26ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:20.336Z | [REQUEST] | Incoming request | ReqId:hjwse88um | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:20.338Z | [REQUEST] | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:hjwse88um | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:20.341Z | [AUTH] | Authentication successful | ReqId:hjwse88um | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:30:20.343Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:hjwse88um | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T13:30:20.347Z | [REQUEST] | Deck retrieved successfully | ReqId:hjwse88um | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T13:30:20.349Z | [REQUEST] | Request completed | ReqId:hjwse88um | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:13ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:39.509Z | [REQUEST] | Incoming request | ReqId:kque0rc26 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:39.511Z | [REQUEST] | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:kque0rc26 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:39.515Z | [AUTH] | Authentication successful | ReqId:kque0rc26 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:30:39.516Z | [REQUEST] | Soft delete deck endpoint accessed | ReqId:kque0rc26 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:30:39.532Z | [REQUEST] | Deck soft delete successful | ReqId:kque0rc26 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","success":true} +2025-09-15T13:30:39.534Z | [REQUEST] | Request completed | ReqId:kque0rc26 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:25ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:46.563Z | [REQUEST] | Incoming request | ReqId:mu36xi6e8 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:46.565Z | [REQUEST] | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:mu36xi6e8 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:30:46.568Z | [AUTH] | Authentication successful | ReqId:mu36xi6e8 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:30:46.570Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:mu36xi6e8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T13:30:46.573Z | [WARNING] | Deck not found | ReqId:mu36xi6e8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T13:30:46.575Z | [REQUEST] | Request completed | ReqId:mu36xi6e8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:12ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:17.680Z | [REQUEST] | Incoming request | ReqId:7gmo2fhko | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:17.682Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:7gmo2fhko | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:17.687Z | [AUTH] | Admin authentication successful | ReqId:7gmo2fhko | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:31:17.690Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:7gmo2fhko | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:31:17.702Z | [WARNING] | Deck not found | ReqId:7gmo2fhko | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:31:17.705Z | [REQUEST] | Request completed | ReqId:7gmo2fhko | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:25ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:42.235Z | [REQUEST] | Incoming request | ReqId:g67b01cdw | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:42.237Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:g67b01cdw | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:42.240Z | [AUTH] | Admin authentication successful | ReqId:g67b01cdw | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:31:42.242Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:g67b01cdw | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:31:42.253Z | [WARNING] | Deck not found | ReqId:g67b01cdw | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:31:42.255Z | [REQUEST] | Request completed | ReqId:g67b01cdw | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:20ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:50.204Z | [REQUEST] | Incoming request | ReqId:0lzne8ot8 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:50.207Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:0lzne8ot8 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:31:50.210Z | [AUTH] | Admin authentication successful | ReqId:0lzne8ot8 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:31:50.212Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:0lzne8ot8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:31:50.215Z | [WARNING] | Deck not found | ReqId:0lzne8ot8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:31:50.216Z | [REQUEST] | Request completed | ReqId:0lzne8ot8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:12ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:32:21.452Z | [REQUEST] | Incoming request | ReqId:g6rb1d954 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 +2025-09-15T13:32:21.454Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:g6rb1d954 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:32:21.458Z | [AUTH] | Admin authentication successful | ReqId:g6rb1d954 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:32:21.460Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:g6rb1d954 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":true} +2025-09-15T13:32:21.471Z | [REQUEST] | Admin deck retrieved successfully | ReqId:g6rb1d954 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":true} +2025-09-15T13:32:21.473Z | [REQUEST] | Request completed | ReqId:g6rb1d954 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | Time:21ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-33-47-071Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-33-47-071Z.log new file mode 100644 index 00000000..2b73943b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-33-47-071Z.log @@ -0,0 +1,22 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:33:47.071Z +# Max entries per file: 10000 + +2025-09-15T13:33:48.872Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:33:48.886Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:33:48.886Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:33:49.727Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:33:49.731Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:33:49.733Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:33:49.735Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:34:05.538Z | [REQUEST] | Incoming request | ReqId:ycymyqimc | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:34:05.540Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:ycymyqimc | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:34:05.546Z | [AUTH] | Admin authentication successful | ReqId:ycymyqimc | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:34:05.548Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:ycymyqimc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:34:05.569Z | [REQUEST] | Deck updated successfully by admin | ReqId:ycymyqimc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:34:05.572Z | [REQUEST] | Request completed | ReqId:ycymyqimc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:34ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:34:20.127Z | [REQUEST] | Incoming request | ReqId:gkyyo5yvb | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:34:20.129Z | [REQUEST] | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:gkyyo5yvb | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:34:20.133Z | [AUTH] | Authentication successful | ReqId:gkyyo5yvb | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:34:20.135Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:gkyyo5yvb | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T13:34:20.148Z | [REQUEST] | Deck retrieved successfully | ReqId:gkyyo5yvb | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T13:34:20.151Z | [REQUEST] | Request completed | ReqId:gkyyo5yvb | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:24ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-35-57-280Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-35-57-280Z.log new file mode 100644 index 00000000..0fbdae83 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-35-57-280Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:35:57.280Z +# Max entries per file: 10000 + +2025-09-15T13:35:59.213Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:35:59.236Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:35:59.236Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:36:00.116Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:36:00.120Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:36:00.121Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:36:00.123Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-36-43-572Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-36-43-572Z.log new file mode 100644 index 00000000..18826ddc --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-36-43-572Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:36:43.572Z +# Max entries per file: 10000 + +2025-09-15T13:36:45.317Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:36:45.340Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:36:45.340Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:36:46.218Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:36:46.223Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:36:46.225Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:36:46.227Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-37-16-542Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-37-16-542Z.log new file mode 100644 index 00000000..c99b51d5 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-37-16-542Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:37:16.542Z +# Max entries per file: 10000 + +2025-09-15T13:37:18.339Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:37:18.356Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:37:18.356Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:37:19.242Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:37:19.246Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:37:19.248Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:37:19.250Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-37-32-547Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-37-32-547Z.log new file mode 100644 index 00000000..3ec28a99 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-37-32-547Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:37:32.547Z +# Max entries per file: 10000 + +2025-09-15T13:37:34.359Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:37:34.374Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:37:34.374Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:37:35.317Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:37:35.322Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:37:35.324Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:37:35.326Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:37:42.627Z | [REQUEST] | Incoming request | ReqId:i89tfam1y | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:37:42.630Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:i89tfam1y | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:37:42.638Z | [AUTH] | Authentication successful | ReqId:i89tfam1y | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:37:42.640Z | [REQUEST] | Update deck endpoint accessed | ReqId:i89tfam1y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:37:42.650Z | [ERROR] | Update deck endpoint error | ReqId:i89tfam1y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only Admin users can change deck state","stack":"Error: Only Admin users can change deck state\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:11:15)\n at /app/src/Api/routers/deckRouter.ts:149:59\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T13:37:42.653Z | [REQUEST] | Request completed | ReqId:i89tfam1y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:26ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-38-27-484Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-38-27-484Z.log new file mode 100644 index 00000000..27f2262e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-38-27-484Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:38:27.484Z +# Max entries per file: 10000 + +2025-09-15T13:38:29.204Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:38:29.219Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:38:29.219Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:38:30.102Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:38:30.106Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:38:30.108Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:38:30.109Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:38:33.406Z | [REQUEST] | Incoming request | ReqId:8cx4pvnqf | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:38:33.409Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:8cx4pvnqf | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:38:33.414Z | [AUTH] | Authentication successful | ReqId:8cx4pvnqf | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:38:33.416Z | [REQUEST] | Update deck endpoint accessed | ReqId:8cx4pvnqf | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:38:33.421Z | [ERROR] | Update deck endpoint error | ReqId:8cx4pvnqf | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only Admin users can change deck state","stack":"Error: Only Admin users can change deck state\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:11:15)\n at /app/src/Api/routers/deckRouter.ts:149:59\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T13:38:33.424Z | [REQUEST] | Request completed | ReqId:8cx4pvnqf | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:18ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-38-50-543Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-38-50-543Z.log new file mode 100644 index 00000000..b3d080c3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-38-50-543Z.log @@ -0,0 +1,28 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:38:50.543Z +# Max entries per file: 10000 + +2025-09-15T13:38:52.204Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:38:52.225Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:38:52.225Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:38:53.077Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:38:53.082Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:38:53.084Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:38:53.085Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:39:02.934Z | [REQUEST] | Incoming request | ReqId:25s3ninsz | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:02.936Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:25s3ninsz | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:02.941Z | [AUTH] | Authentication successful | ReqId:25s3ninsz | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:39:02.942Z | [REQUEST] | Update deck endpoint accessed | ReqId:25s3ninsz | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:39:02.948Z | [ERROR] | Update deck endpoint error | ReqId:25s3ninsz | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only admin users can change deck state","stack":"Error: Only admin users can change deck state\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:11:15)\n at /app/src/Api/routers/deckRouter.ts:149:59\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T13:39:02.951Z | [REQUEST] | Request completed | ReqId:25s3ninsz | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:403 | Time:17ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:14.176Z | [REQUEST] | Incoming request | ReqId:u2mn4na5w | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:14.178Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:u2mn4na5w | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:14.182Z | [AUTH] | Admin authentication successful | ReqId:u2mn4na5w | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:39:14.183Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:u2mn4na5w | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:39:14.196Z | [ERROR] | Admin update deck endpoint error | ReqId:u2mn4na5w | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"EntityPropertyNotFoundError","message":"Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.","stack":"EntityPropertyNotFoundError: Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.\n at /app/node_modules/src/query-builder/UpdateQueryBuilder.ts:500:31\n at Array.forEach ()\n at UpdateQueryBuilder.createUpdateExpression (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:493:68)\n at UpdateQueryBuilder.getQuery (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:53:21)\n at UpdateQueryBuilder.getQueryAndParameters (/app/node_modules/src/query-builder/QueryBuilder.ts:495:28)\n at UpdateQueryBuilder.execute (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:142:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DeckRepository.update (/app/src/Infrastructure/Repository/DeckRepository.ts:91:9)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:21)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:39:14.198Z | [REQUEST] | Request completed | ReqId:u2mn4na5w | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:22ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:46.956Z | [REQUEST] | Incoming request | ReqId:9pokgr876 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:46.958Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:9pokgr876 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:39:46.962Z | [AUTH] | Admin authentication successful | ReqId:9pokgr876 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:39:46.964Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:9pokgr876 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:39:46.967Z | [ERROR] | Admin update deck endpoint error | ReqId:9pokgr876 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"EntityPropertyNotFoundError","message":"Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.","stack":"EntityPropertyNotFoundError: Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.\n at /app/node_modules/src/query-builder/UpdateQueryBuilder.ts:500:31\n at Array.forEach ()\n at UpdateQueryBuilder.createUpdateExpression (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:493:68)\n at UpdateQueryBuilder.getQuery (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:53:21)\n at UpdateQueryBuilder.getQueryAndParameters (/app/node_modules/src/query-builder/QueryBuilder.ts:495:28)\n at UpdateQueryBuilder.execute (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:142:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DeckRepository.update (/app/src/Infrastructure/Repository/DeckRepository.ts:91:9)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:21)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:39:46.968Z | [REQUEST] | Request completed | ReqId:9pokgr876 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:12ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-40-06-108Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-40-06-108Z.log new file mode 100644 index 00000000..5ee9f3fd --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-40-06-108Z.log @@ -0,0 +1,6 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:40:06.108Z +# Max entries per file: 10000 + +2025-09-15T13:40:08.010Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:40:08.028Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:40:08.028Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-40-23-157Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-40-23-157Z.log new file mode 100644 index 00000000..23c067e8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-40-23-157Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:40:23.157Z +# Max entries per file: 10000 + +2025-09-15T13:40:24.906Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:40:24.919Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:40:24.919Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:40:25.790Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:40:25.795Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:40:25.797Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:40:25.799Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:40:29.157Z | [REQUEST] | Incoming request | ReqId:nbyi7hf4b | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:40:29.159Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:nbyi7hf4b | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:40:29.164Z | [AUTH] | Admin authentication successful | ReqId:nbyi7hf4b | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:40:29.166Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:nbyi7hf4b | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:40:29.178Z | [ERROR] | Admin update deck endpoint error | ReqId:nbyi7hf4b | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"EntityPropertyNotFoundError","message":"Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.","stack":"EntityPropertyNotFoundError: Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.\n at /app/node_modules/src/query-builder/UpdateQueryBuilder.ts:500:31\n at Array.forEach ()\n at UpdateQueryBuilder.createUpdateExpression (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:493:68)\n at UpdateQueryBuilder.getQuery (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:53:21)\n at UpdateQueryBuilder.getQueryAndParameters (/app/node_modules/src/query-builder/QueryBuilder.ts:495:28)\n at UpdateQueryBuilder.execute (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:142:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DeckRepository.update (/app/src/Infrastructure/Repository/DeckRepository.ts:91:9)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:21)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:40:29.181Z | [REQUEST] | Request completed | ReqId:nbyi7hf4b | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:24ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-41-20-719Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-41-20-719Z.log new file mode 100644 index 00000000..fab51ca5 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-41-20-719Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:41:20.719Z +# Max entries per file: 10000 + +2025-09-15T13:41:22.434Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:41:22.447Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:41:22.447Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:41:23.335Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:41:23.341Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:41:23.343Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:41:23.345Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:41:36.092Z | [REQUEST] | Incoming request | ReqId:fjofmv6l7 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:41:36.095Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:fjofmv6l7 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:41:36.101Z | [AUTH] | Admin authentication successful | ReqId:fjofmv6l7 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:41:36.103Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:fjofmv6l7 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:41:36.118Z | [ERROR] | Admin update deck endpoint error | ReqId:fjofmv6l7 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"EntityPropertyNotFoundError","message":"Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.","stack":"EntityPropertyNotFoundError: Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.\n at /app/node_modules/src/query-builder/UpdateQueryBuilder.ts:500:31\n at Array.forEach ()\n at UpdateQueryBuilder.createUpdateExpression (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:493:68)\n at UpdateQueryBuilder.getQuery (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:53:21)\n at UpdateQueryBuilder.getQueryAndParameters (/app/node_modules/src/query-builder/QueryBuilder.ts:495:28)\n at UpdateQueryBuilder.execute (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:142:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DeckRepository.update (/app/src/Infrastructure/Repository/DeckRepository.ts:91:9)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:21)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:41:36.121Z | [REQUEST] | Request completed | ReqId:fjofmv6l7 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:29ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-42-13-170Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-42-13-170Z.log new file mode 100644 index 00000000..472e77e2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-42-13-170Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:42:13.170Z +# Max entries per file: 10000 + +2025-09-15T13:42:15.156Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:42:15.172Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:42:15.172Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:42:16.074Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:42:16.078Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:42:16.080Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:42:16.082Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-42-25-322Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-42-25-322Z.log new file mode 100644 index 00000000..d67cac7d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-42-25-322Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:42:25.322Z +# Max entries per file: 10000 + +2025-09-15T13:42:27.252Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:42:27.266Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:42:27.266Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:42:28.267Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:42:28.274Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:42:28.277Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:42:28.279Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-43-30-066Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-43-30-066Z.log new file mode 100644 index 00000000..0a618693 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-43-30-066Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:43:30.066Z +# Max entries per file: 10000 + +2025-09-15T13:43:31.768Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:43:31.781Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:43:31.781Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:43:32.780Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:43:32.788Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:43:32.791Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:43:32.793Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:44:15.844Z | [REQUEST] | Incoming request | ReqId:19eou213r | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:44:15.846Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:19eou213r | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:44:15.852Z | [AUTH] | Admin authentication successful | ReqId:19eou213r | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:44:15.854Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:19eou213r | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:44:15.885Z | [ERROR] | Admin update deck endpoint error | ReqId:19eou213r | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"EntityPropertyNotFoundError","message":"Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.","stack":"EntityPropertyNotFoundError: Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.\n at /app/node_modules/src/query-builder/UpdateQueryBuilder.ts:500:31\n at Array.forEach ()\n at UpdateQueryBuilder.createUpdateExpression (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:493:68)\n at UpdateQueryBuilder.getQuery (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:53:21)\n at UpdateQueryBuilder.getQueryAndParameters (/app/node_modules/src/query-builder/QueryBuilder.ts:495:28)\n at UpdateQueryBuilder.execute (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:142:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DeckRepository.update (/app/src/Infrastructure/Repository/DeckRepository.ts:91:9)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:21)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:44:15.890Z | [REQUEST] | Request completed | ReqId:19eou213r | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:46ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-46-10-832Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-46-10-832Z.log new file mode 100644 index 00000000..dd2db47e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-46-10-832Z.log @@ -0,0 +1,28 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:46:10.832Z +# Max entries per file: 10000 + +2025-09-15T13:46:12.467Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:46:12.488Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:46:12.488Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:46:13.329Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:46:13.333Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:46:13.335Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:46:13.337Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:46:14.480Z | [REQUEST] | Incoming request | ReqId:824qa6tun | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:14.482Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:824qa6tun | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:14.488Z | [AUTH] | Admin authentication successful | ReqId:824qa6tun | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:46:14.490Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:824qa6tun | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:46:14.500Z | [REQUEST] | Deck updated successfully by admin | ReqId:824qa6tun | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:46:14.503Z | [REQUEST] | Request completed | ReqId:824qa6tun | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:23ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:24.088Z | [REQUEST] | Incoming request | ReqId:7692alx1r | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:24.090Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:7692alx1r | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:24.093Z | [AUTH] | Admin authentication successful | ReqId:7692alx1r | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:46:24.095Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:7692alx1r | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:46:24.099Z | [REQUEST] | Admin deck retrieved successfully | ReqId:7692alx1r | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T13:46:24.101Z | [REQUEST] | Request completed | ReqId:7692alx1r | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:13ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:31.366Z | [REQUEST] | Incoming request | ReqId:c8cxyi5g1 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:31.369Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:c8cxyi5g1 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:46:31.372Z | [AUTH] | Admin authentication successful | ReqId:c8cxyi5g1 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:46:31.374Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:c8cxyi5g1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:46:31.382Z | [REQUEST] | Deck updated successfully by admin | ReqId:c8cxyi5g1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T13:46:31.384Z | [REQUEST] | Request completed | ReqId:c8cxyi5g1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:18ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-47-09-198Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-47-09-198Z.log new file mode 100644 index 00000000..a10eeb7f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-47-09-198Z.log @@ -0,0 +1,16 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:47:09.198Z +# Max entries per file: 10000 + +2025-09-15T13:47:10.972Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:47:10.985Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:47:10.985Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:47:11.830Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:47:11.835Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:47:11.836Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:47:11.838Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:47:19.528Z | [REQUEST] | Incoming request | ReqId:2796zm2nk | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:47:19.530Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:2796zm2nk | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:47:19.536Z | [AUTH] | Admin authentication successful | ReqId:2796zm2nk | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:47:19.538Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:2796zm2nk | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:47:19.554Z | [ERROR] | Admin update deck endpoint error | ReqId:2796zm2nk | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"EntityPropertyNotFoundError","message":"Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.","stack":"EntityPropertyNotFoundError: Property \"userstate\" was not found in \"DeckAggregate\". Make sure your query is correct.\n at /app/node_modules/src/query-builder/UpdateQueryBuilder.ts:500:31\n at Array.forEach ()\n at UpdateQueryBuilder.createUpdateExpression (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:493:68)\n at UpdateQueryBuilder.getQuery (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:53:21)\n at UpdateQueryBuilder.getQueryAndParameters (/app/node_modules/src/query-builder/QueryBuilder.ts:495:28)\n at UpdateQueryBuilder.execute (/app/node_modules/src/query-builder/UpdateQueryBuilder.ts:142:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DeckRepository.update (/app/src/Infrastructure/Repository/DeckRepository.ts:91:9)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:14:22)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:47:19.558Z | [REQUEST] | Request completed | ReqId:2796zm2nk | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:30ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-52-36-580Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-52-36-580Z.log new file mode 100644 index 00000000..f03c041e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-52-36-580Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:52:36.580Z +# Max entries per file: 10000 + +2025-09-15T13:52:38.386Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:52:38.405Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:52:38.405Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:52:39.350Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:52:39.356Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:52:39.358Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:52:39.361Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-53-08-111Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-53-08-111Z.log new file mode 100644 index 00000000..7a6d62d0 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-53-08-111Z.log @@ -0,0 +1,40 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:53:08.111Z +# Max entries per file: 10000 + +2025-09-15T13:53:09.775Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:53:09.789Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:53:09.789Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:53:10.592Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:53:10.597Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:53:10.599Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:53:10.600Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:53:15.284Z | [REQUEST] | Incoming request | ReqId:pkn3kcox4 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:15.286Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:pkn3kcox4 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:15.292Z | [AUTH] | Admin authentication successful | ReqId:pkn3kcox4 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:53:15.294Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:pkn3kcox4 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:53:15.313Z | [ERROR] | Admin update deck endpoint error | ReqId:pkn3kcox4 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:25:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:53:15.318Z | [REQUEST] | Request completed | ReqId:pkn3kcox4 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:34ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:17.396Z | [REQUEST] | Incoming request | ReqId:bvfgp2wa8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:17.399Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:bvfgp2wa8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:17.402Z | [AUTH] | Admin authentication successful | ReqId:bvfgp2wa8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:53:17.404Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:bvfgp2wa8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:53:17.410Z | [ERROR] | Admin update deck endpoint error | ReqId:bvfgp2wa8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:25:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:53:17.412Z | [REQUEST] | Request completed | ReqId:bvfgp2wa8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:16ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:21.269Z | [REQUEST] | Incoming request | ReqId:ry801ym1c | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:21.271Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:ry801ym1c | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:21.274Z | [AUTH] | Admin authentication successful | ReqId:ry801ym1c | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:53:21.276Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:ry801ym1c | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:53:21.283Z | [ERROR] | Admin update deck endpoint error | ReqId:ry801ym1c | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:25:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T13:53:21.285Z | [REQUEST] | Request completed | ReqId:ry801ym1c | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:16ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:32.751Z | [REQUEST] | Incoming request | ReqId:nw3221p2p | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:32.753Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:nw3221p2p | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:53:32.757Z | [AUTH] | Authentication successful | ReqId:nw3221p2p | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:53:32.759Z | [REQUEST] | Update deck endpoint accessed | ReqId:nw3221p2p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T13:53:32.762Z | [ERROR] | Update deck endpoint error | ReqId:nw3221p2p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only admin users can change deck state","stack":"Error: Only admin users can change deck state\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:12:15)\n at /app/src/Api/routers/deckRouter.ts:149:59\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T13:53:32.764Z | [REQUEST] | Request completed | ReqId:nw3221p2p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:403 | Time:13ms | UA:PostmanRuntime/7.45.0 +2025-09-15T13:54:02.097Z | [REQUEST] | Incoming request | ReqId:a4m6eeo8u | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:54:02.099Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:a4m6eeo8u | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:54:02.106Z | [AUTH] | Authentication successful | ReqId:a4m6eeo8u | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:54:02.108Z | [REQUEST] | Update deck endpoint accessed | ReqId:a4m6eeo8u | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T13:54:02.125Z | [ERROR] | Update deck endpoint error | ReqId:a4m6eeo8u | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:25:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T13:54:02.128Z | [REQUEST] | Request completed | ReqId:a4m6eeo8u | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:31ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-55-34-710Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-55-34-710Z.log new file mode 100644 index 00000000..fe55b317 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-55-34-710Z.log @@ -0,0 +1,18 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:55:34.710Z +# Max entries per file: 10000 + +2025-09-15T13:55:36.542Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:55:36.554Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:55:36.554Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:55:37.371Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:55:37.375Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:55:37.377Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:55:37.379Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:55:41.549Z | [REQUEST] | Incoming request | ReqId:jydpdfy8s | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:55:41.552Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:jydpdfy8s | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:55:41.558Z | [AUTH] | Authentication successful | ReqId:jydpdfy8s | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:55:41.561Z | [REQUEST] | Update deck endpoint accessed | ReqId:jydpdfy8s | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T13:55:41.575Z | [ERROR] | Deck not found for update: 956870b1-c437-4591-98b3-0742dd63b77d +2025-09-15T13:55:41.583Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:27:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T13:55:41.585Z | [ERROR] | Update deck endpoint error | ReqId:jydpdfy8s | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:27:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T13:55:41.587Z | [REQUEST] | Request completed | ReqId:jydpdfy8s | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:38ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-57-30-059Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-57-30-059Z.log new file mode 100644 index 00000000..44a01e24 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-57-30-059Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:57:30.059Z +# Max entries per file: 10000 + +2025-09-15T13:57:31.929Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:57:31.954Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:57:31.954Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:57:32.926Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:57:32.932Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:57:32.934Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:57:32.937Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-58-15-430Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-58-15-430Z.log new file mode 100644 index 00000000..028c97ca --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-58-15-430Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:58:15.430Z +# Max entries per file: 10000 + +2025-09-15T13:58:17.294Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:58:17.308Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:58:17.308Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:58:18.172Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:58:18.177Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:58:18.179Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:58:18.182Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-58-29-102Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-58-29-102Z.log new file mode 100644 index 00000000..c532dc5f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-58-29-102Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:58:29.102Z +# Max entries per file: 10000 + +2025-09-15T13:58:31.213Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:58:31.229Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:58:31.229Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:58:32.122Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:58:32.127Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:58:32.129Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:58:32.132Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-59-00-196Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-59-00-196Z.log new file mode 100644 index 00000000..f4ce9cdd --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T13-59-00-196Z.log @@ -0,0 +1,18 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T13:59:00.196Z +# Max entries per file: 10000 + +2025-09-15T13:59:01.866Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T13:59:01.880Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:59:01.880Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T13:59:02.699Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T13:59:02.704Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T13:59:02.706Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T13:59:02.709Z | [STARTUP] | Redis client connected successfully +2025-09-15T13:59:13.315Z | [REQUEST] | Incoming request | ReqId:7t55k5c5a | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T13:59:13.318Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:7t55k5c5a | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T13:59:13.326Z | [AUTH] | Authentication successful | ReqId:7t55k5c5a | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T13:59:13.328Z | [REQUEST] | Update deck endpoint accessed | ReqId:7t55k5c5a | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T13:59:13.347Z | [ERROR] | Deck not found with ID: 956870b1-c437-4591-98b3-0742dd63b77d +2025-09-15T13:59:13.354Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T13:59:13.356Z | [ERROR] | Update deck endpoint error | ReqId:7t55k5c5a | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T13:59:13.360Z | [REQUEST] | Request completed | ReqId:7t55k5c5a | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:45ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-00-25-368Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-00-25-368Z.log new file mode 100644 index 00000000..c0f0da92 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-00-25-368Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:00:25.368Z +# Max entries per file: 10000 + +2025-09-15T14:00:27.376Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:00:27.390Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:00:27.390Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:00:28.257Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:00:28.262Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:00:28.264Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:00:28.266Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-00-50-228Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-00-50-228Z.log new file mode 100644 index 00000000..8528777d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-00-50-228Z.log @@ -0,0 +1,84 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:00:50.228Z +# Max entries per file: 10000 + +2025-09-15T14:00:52.016Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:00:52.038Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:00:52.038Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:00:52.919Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:00:52.924Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:00:52.926Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:00:52.935Z | [REQUEST] | Incoming request | ReqId:uwpdhqsrh | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:00:52.938Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:uwpdhqsrh | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:00:52.941Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:00:52.947Z | [AUTH] | Authentication successful | ReqId:uwpdhqsrh | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:00:52.949Z | [REQUEST] | Update deck endpoint accessed | ReqId:uwpdhqsrh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:00:52.966Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null. +2025-09-15T14:00:52.972Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:38:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:00:52.974Z | [ERROR] | Update deck endpoint error | ReqId:uwpdhqsrh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:38:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:00:52.976Z | [REQUEST] | Request completed | ReqId:uwpdhqsrh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:41ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:13.948Z | [REQUEST] | Incoming request | ReqId:6v41uuwjh | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:13.951Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:6v41uuwjh | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:13.955Z | [AUTH] | Admin authentication successful | ReqId:6v41uuwjh | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:01:13.957Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:6v41uuwjh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T14:01:13.983Z | [REQUEST] | Deck updated successfully by admin | ReqId:6v41uuwjh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:01:13.986Z | [REQUEST] | Request completed | ReqId:6v41uuwjh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:38ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:19.371Z | [REQUEST] | Incoming request | ReqId:d0w54y49d | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:19.373Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:d0w54y49d | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:19.376Z | [AUTH] | Admin authentication successful | ReqId:d0w54y49d | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:01:19.378Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:d0w54y49d | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T14:01:19.389Z | [REQUEST] | Deck updated successfully by admin | ReqId:d0w54y49d | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:01:19.392Z | [REQUEST] | Request completed | ReqId:d0w54y49d | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:21ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:25.642Z | [REQUEST] | Incoming request | ReqId:vo2kzhgxr | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:25.644Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:vo2kzhgxr | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:25.647Z | [AUTH] | Authentication successful | ReqId:vo2kzhgxr | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:01:25.649Z | [REQUEST] | Update deck endpoint accessed | ReqId:vo2kzhgxr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T14:01:25.653Z | [ERROR] | Update deck endpoint error | ReqId:vo2kzhgxr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only admin users can change deck state","stack":"Error: Only admin users can change deck state\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:15)\n at /app/src/Api/routers/deckRouter.ts:149:59\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T14:01:25.655Z | [REQUEST] | Request completed | ReqId:vo2kzhgxr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:403 | Time:13ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:29.183Z | [REQUEST] | Incoming request | ReqId:9cdvwk747 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:29.186Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:9cdvwk747 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:29.189Z | [AUTH] | Authentication successful | ReqId:9cdvwk747 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:01:29.191Z | [REQUEST] | Update deck endpoint accessed | ReqId:9cdvwk747 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T14:01:29.193Z | [ERROR] | Update deck endpoint error | ReqId:9cdvwk747 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only admin users can change deck state","stack":"Error: Only admin users can change deck state\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:13:15)\n at /app/src/Api/routers/deckRouter.ts:149:59\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T14:01:29.195Z | [REQUEST] | Request completed | ReqId:9cdvwk747 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:403 | Time:12ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:35.418Z | [REQUEST] | Incoming request | ReqId:3bmz0pm86 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:35.420Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:3bmz0pm86 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:35.424Z | [AUTH] | Admin authentication successful | ReqId:3bmz0pm86 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:01:35.425Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:3bmz0pm86 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T14:01:35.442Z | [REQUEST] | Deck updated successfully by admin | ReqId:3bmz0pm86 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:01:35.444Z | [REQUEST] | Request completed | ReqId:3bmz0pm86 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:26ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:52.908Z | [REQUEST] | Incoming request | ReqId:3r824evf5 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:52.909Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:3r824evf5 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:01:52.913Z | [AUTH] | Admin authentication successful | ReqId:3r824evf5 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:01:52.914Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:3r824evf5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:01:52.929Z | [REQUEST] | Deck updated successfully by admin | ReqId:3r824evf5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:01:52.931Z | [REQUEST] | Request completed | ReqId:3r824evf5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:23ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:03.386Z | [REQUEST] | Incoming request | ReqId:dxhgpyi2j | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:03.388Z | [REQUEST] | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:dxhgpyi2j | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:03.391Z | [AUTH] | Authentication successful | ReqId:dxhgpyi2j | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:02:03.393Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:dxhgpyi2j | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T14:02:03.405Z | [REQUEST] | Deck retrieved successfully | ReqId:dxhgpyi2j | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T14:02:03.407Z | [REQUEST] | Request completed | ReqId:dxhgpyi2j | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:21ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:08.569Z | [REQUEST] | Incoming request | ReqId:qojfsuzvf | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:08.571Z | [REQUEST] | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:qojfsuzvf | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:08.575Z | [AUTH] | Authentication successful | ReqId:qojfsuzvf | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:02:08.577Z | [REQUEST] | Soft delete deck endpoint accessed | ReqId:qojfsuzvf | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:02:08.583Z | [REQUEST] | Deck soft delete successful | ReqId:qojfsuzvf | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","success":true} +2025-09-15T14:02:08.585Z | [REQUEST] | Request completed | ReqId:qojfsuzvf | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | DELETE /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:16ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:13.668Z | [REQUEST] | Incoming request | ReqId:3f4xjqhu7 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:13.671Z | [REQUEST] | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:3f4xjqhu7 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:13.674Z | [AUTH] | Authentication successful | ReqId:3f4xjqhu7 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:02:13.676Z | [REQUEST] | Get deck by id endpoint accessed | ReqId:3f4xjqhu7 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T14:02:13.680Z | [WARNING] | Deck not found | ReqId:3f4xjqhu7 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d"} +2025-09-15T14:02:13.682Z | [REQUEST] | Request completed | ReqId:3f4xjqhu7 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:14ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:20.042Z | [REQUEST] | Incoming request | ReqId:duqed9hz5 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:20.044Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:duqed9hz5 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:20.047Z | [AUTH] | Admin authentication successful | ReqId:duqed9hz5 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:02:20.049Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:duqed9hz5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T14:02:20.052Z | [WARNING] | Deck not found | ReqId:duqed9hz5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":false} +2025-09-15T14:02:20.054Z | [REQUEST] | Request completed | ReqId:duqed9hz5 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:12ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:24.423Z | [REQUEST] | Incoming request | ReqId:lchgi1z85 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:24.425Z | [REQUEST] | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:lchgi1z85 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:02:24.429Z | [AUTH] | Admin authentication successful | ReqId:lchgi1z85 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:02:24.430Z | [REQUEST] | Admin get deck by id endpoint accessed | ReqId:lchgi1z85 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":true} +2025-09-15T14:02:24.434Z | [REQUEST] | Admin deck retrieved successfully | ReqId:lchgi1z85 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","includeDeleted":true} +2025-09-15T14:02:24.436Z | [REQUEST] | Request completed | ReqId:lchgi1z85 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | Time:13ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-04-00-322Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-04-00-322Z.log new file mode 100644 index 00000000..9b23cd0c --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-04-00-322Z.log @@ -0,0 +1,50 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:04:00.322Z +# Max entries per file: 10000 + +2025-09-15T14:04:02.233Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:04:02.253Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:04:02.253Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:04:03.091Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:04:03.095Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:04:03.097Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:04:03.099Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:04:05.323Z | [REQUEST] | Incoming request | ReqId:bqa20veh2 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:05.326Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:bqa20veh2 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:05.331Z | [AUTH] | Authentication successful | ReqId:bqa20veh2 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:04:05.333Z | [REQUEST] | Update deck endpoint accessed | ReqId:bqa20veh2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:04:05.341Z | [ERROR] | Deck not found with ID: 956870b1-c437-4591-98b3-0742dd63b77d +2025-09-15T14:04:05.347Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:24:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:04:05.348Z | [ERROR] | Update deck endpoint error | ReqId:bqa20veh2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:24:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:04:05.351Z | [REQUEST] | Request completed | ReqId:bqa20veh2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:404 | Time:28ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:15.756Z | [REQUEST] | Incoming request | ReqId:iz3c4zkv8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:15.758Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:iz3c4zkv8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:15.761Z | [AUTH] | Admin authentication successful | ReqId:iz3c4zkv8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:04:15.763Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:iz3c4zkv8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:04:15.780Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null. +2025-09-15T14:04:15.783Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:04:15.784Z | [ERROR] | Admin update deck endpoint error | ReqId:iz3c4zkv8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:04:15.786Z | [REQUEST] | Request completed | ReqId:iz3c4zkv8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:500 | Time:30ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:21.722Z | [REQUEST] | Incoming request | ReqId:cjfulch9p | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:21.724Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:cjfulch9p | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:21.728Z | [AUTH] | Admin authentication successful | ReqId:cjfulch9p | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:04:21.730Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:cjfulch9p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:04:21.738Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null. +2025-09-15T14:04:21.740Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:04:21.742Z | [ERROR] | Admin update deck endpoint error | ReqId:cjfulch9p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:04:21.744Z | [REQUEST] | Request completed | ReqId:cjfulch9p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:22ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:55.777Z | [REQUEST] | Incoming request | ReqId:c0joko691 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:55.779Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:c0joko691 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:04:55.783Z | [AUTH] | Admin authentication successful | ReqId:c0joko691 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:04:55.785Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:c0joko691 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:04:55.807Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null. +2025-09-15T14:04:55.810Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:04:55.811Z | [ERROR] | Admin update deck endpoint error | ReqId:c0joko691 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:04:55.813Z | [REQUEST] | Request completed | ReqId:c0joko691 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:36ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:05:37.508Z | [REQUEST] | Incoming request | ReqId:lc4uixrb0 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:05:37.510Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:lc4uixrb0 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:05:37.513Z | [AUTH] | Admin authentication successful | ReqId:lc4uixrb0 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:05:37.515Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:lc4uixrb0 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:05:37.529Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null. +2025-09-15T14:05:37.532Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:05:37.533Z | [ERROR] | Admin update deck endpoint error | ReqId:lc4uixrb0 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"} +2025-09-15T14:05:37.535Z | [REQUEST] | Request completed | ReqId:lc4uixrb0 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:27ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-07-17-372Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-07-17-372Z.log new file mode 100644 index 00000000..06fa03b8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-07-17-372Z.log @@ -0,0 +1,62 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:07:17.372Z +# Max entries per file: 10000 + +2025-09-15T14:07:19.126Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:07:19.141Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:07:19.140Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:07:20.119Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:07:20.124Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:07:20.126Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:07:20.129Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:07:23.712Z | [REQUEST] | Incoming request | ReqId:oml0ssvgu | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:23.714Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:oml0ssvgu | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:23.720Z | [AUTH] | Admin authentication successful | ReqId:oml0ssvgu | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:07:23.722Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:oml0ssvgu | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:07:23.738Z | [REQUEST] | Deck updated successfully by admin | ReqId:oml0ssvgu | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:07:23.742Z | [REQUEST] | Request completed | ReqId:oml0ssvgu | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:30ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:29.084Z | [REQUEST] | Incoming request | ReqId:644rrks7q | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:29.087Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:644rrks7q | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:29.090Z | [AUTH] | Admin authentication successful | ReqId:644rrks7q | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:07:29.092Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:644rrks7q | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:07:29.099Z | [REQUEST] | Deck updated successfully by admin | ReqId:644rrks7q | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:07:29.101Z | [REQUEST] | Request completed | ReqId:644rrks7q | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:17ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:38.036Z | [REQUEST] | Incoming request | ReqId:w3whhnig1 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:38.038Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:w3whhnig1 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:38.042Z | [AUTH] | Authentication successful | ReqId:w3whhnig1 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:07:38.043Z | [REQUEST] | Update deck endpoint accessed | ReqId:w3whhnig1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:07:38.047Z | [ERROR] | Deck not found with ID: 956870b1-c437-4591-98b3-0742dd63b77d +2025-09-15T14:07:38.053Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:24:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:07:38.055Z | [ERROR] | Update deck endpoint error | ReqId:w3whhnig1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:24:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:07:38.057Z | [REQUEST] | Request completed | ReqId:w3whhnig1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:21ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:53.707Z | [REQUEST] | Incoming request | ReqId:mn141hd3l | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:53.710Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:mn141hd3l | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:07:53.715Z | [AUTH] | Admin authentication successful | ReqId:mn141hd3l | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:07:53.718Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:mn141hd3l | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["state"]} +2025-09-15T14:07:53.742Z | [REQUEST] | Deck updated successfully by admin | ReqId:mn141hd3l | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:07:53.745Z | [REQUEST] | Request completed | ReqId:mn141hd3l | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:38ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:08:09.622Z | [REQUEST] | Incoming request | ReqId:ukwwyliqj | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:08:09.624Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:ukwwyliqj | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:08:09.628Z | [AUTH] | Authentication successful | ReqId:ukwwyliqj | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:08:09.629Z | [REQUEST] | Update deck endpoint accessed | ReqId:ukwwyliqj | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:08:09.646Z | [REQUEST] | Deck updated successfully | ReqId:ukwwyliqj | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:08:09.648Z | [REQUEST] | Request completed | ReqId:ukwwyliqj | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:26ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:08:13.912Z | [REQUEST] | Incoming request | ReqId:dyi0jfwzx | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 +2025-09-15T14:08:13.914Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:dyi0jfwzx | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:08:13.918Z | [AUTH] | Authentication successful | ReqId:dyi0jfwzx | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:08:13.920Z | [REQUEST] | Update deck endpoint accessed | ReqId:dyi0jfwzx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:08:13.927Z | [REQUEST] | Deck updated successfully | ReqId:dyi0jfwzx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:08:13.930Z | [REQUEST] | Request completed | ReqId:dyi0jfwzx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | Time:18ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:09:42.709Z | [REQUEST] | Incoming request | ReqId:bc8j44uc1 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | UA:PostmanRuntime/7.45.0 +2025-09-15T14:09:42.711Z | [REQUEST] | PATCH /api/decks/search | ReqId:bc8j44uc1 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:09:42.714Z | [AUTH] | Authentication successful | ReqId:bc8j44uc1 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:09:42.716Z | [REQUEST] | Update deck endpoint accessed | ReqId:bc8j44uc1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"search","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:09:42.755Z | [ERROR] | Error updating deck: search | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:09:42.757Z | [ERROR] | Update deck endpoint error | ReqId:bc8j44uc1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:09:42.761Z | [REQUEST] | Request completed | ReqId:bc8j44uc1 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:500 | Time:52ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:10:17.370Z | [REQUEST] | Incoming request | ReqId:8tsocbx8x | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | UA:PostmanRuntime/7.45.0 +2025-09-15T14:10:17.372Z | [REQUEST] | PATCH /api/decks/search | ReqId:8tsocbx8x | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:10:17.375Z | [AUTH] | Authentication successful | ReqId:8tsocbx8x | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:10:17.376Z | [REQUEST] | Update deck endpoint accessed | ReqId:8tsocbx8x | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"search","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:10:17.388Z | [ERROR] | Error updating deck: search | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:10:17.390Z | [ERROR] | Update deck endpoint error | ReqId:8tsocbx8x | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:10:17.391Z | [REQUEST] | Request completed | ReqId:8tsocbx8x | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search | Status:500 | Time:21ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-10-55-000Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-10-55-000Z.log new file mode 100644 index 00000000..895d0541 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-10-55-000Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:10:55.000Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-11-12-385Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-11-12-385Z.log new file mode 100644 index 00000000..25196349 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-11-12-385Z.log @@ -0,0 +1,24 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:11:12.385Z +# Max entries per file: 10000 + +2025-09-15T14:11:14.064Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:11:14.078Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:11:14.078Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:11:14.915Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:11:14.919Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:11:14.921Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:11:14.923Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:13:35.446Z | [REQUEST] | Incoming request | ReqId:n5sgzj0gd | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:13:35.448Z | [REQUEST] | PATCH /api/decks/search | ReqId:n5sgzj0gd | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:13:35.455Z | [AUTH] | Authentication successful | ReqId:n5sgzj0gd | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:13:35.457Z | [REQUEST] | Update deck endpoint accessed | ReqId:n5sgzj0gd | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"search","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:13:35.510Z | [ERROR] | Error updating deck: search | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:13:35.513Z | [ERROR] | Update deck endpoint error | ReqId:n5sgzj0gd | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:13:35.516Z | [REQUEST] | Request completed | ReqId:n5sgzj0gd | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:500 | Time:70ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:15:43.337Z | [REQUEST] | Incoming request | ReqId:qrky9dlab | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:15:43.339Z | [REQUEST] | PATCH /api/decks/search | ReqId:qrky9dlab | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:15:43.342Z | [AUTH] | Authentication successful | ReqId:qrky9dlab | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:15:43.343Z | [REQUEST] | Update deck endpoint accessed | ReqId:qrky9dlab | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"search","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} +2025-09-15T14:15:43.353Z | [ERROR] | Error updating deck: search | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:15:43.355Z | [ERROR] | Update deck endpoint error | ReqId:qrky9dlab | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"QueryFailedError","message":"invalid input syntax for type uuid: \"search\"","stack":"QueryFailedError: invalid input syntax for type uuid: \"search\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SelectQueryBuilder.loadRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3863:25)\n at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:3609:26)\n at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1671:29)\n at async SelectQueryBuilder.getOne (/app/node_modules/src/query-builder/SelectQueryBuilder.ts:1698:25)\n at async UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:28)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} +2025-09-15T14:15:43.357Z | [REQUEST] | Request completed | ReqId:qrky9dlab | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=0&offset=0 | Status:500 | Time:20ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-16-20-713Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-16-20-713Z.log new file mode 100644 index 00000000..9be07e05 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-16-20-713Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:16:20.713Z +# Max entries per file: 10000 + +2025-09-15T14:16:22.529Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:16:22.542Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:16:22.542Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:16:23.475Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:16:23.480Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:16:23.482Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:16:23.484Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-16-32-534Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-16-32-534Z.log new file mode 100644 index 00000000..167e1a96 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-16-32-534Z.log @@ -0,0 +1,5861 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:16:32.534Z +# Max entries per file: 10000 + +2025-09-15T14:16:34.286Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:16:34.299Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:16:34.299Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:16:35.366Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:16:35.370Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:16:35.372Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:16:35.374Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:16:42.793Z | [REQUEST] | Incoming request | ReqId:ju9erlg4y | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=2&offset=0 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:16:42.795Z | [REQUEST] | GET /api/decks/search | ReqId:ju9erlg4y | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=2&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:16:42.800Z | [AUTH] | Authentication successful | ReqId:ju9erlg4y | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=2&offset=0 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:16:42.802Z | [REQUEST] | Search decks endpoint accessed | ReqId:ju9erlg4y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=2&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"query":"Card","limit":"2","offset":"0"} +2025-09-15T14:16:42.816Z | [DATABASE] | Deck search completed | Meta:{"query":"executionTime: 12ms, found: 2, total: 3, searchTerm: \"Card\", limit: 2, offset: 0"} +2025-09-15T14:16:42.818Z | [REQUEST] | Deck search completed successfully | ReqId:ju9erlg4y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=2&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"query":"Card","resultCount":0} +2025-09-15T14:16:42.820Z | [REQUEST] | Request completed | ReqId:ju9erlg4y | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=2&offset=0 | Status:200 | Time:27ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:16:50.057Z | [REQUEST] | Incoming request | ReqId:usmkumjuc | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:16:50.060Z | [REQUEST] | GET /api/decks/search | ReqId:usmkumjuc | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:16:50.063Z | [AUTH] | Authentication successful | ReqId:usmkumjuc | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:16:50.064Z | [REQUEST] | Search decks endpoint accessed | ReqId:usmkumjuc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"query":"Card","limit":"3","offset":"0"} +2025-09-15T14:16:50.069Z | [DATABASE] | Deck search completed | Meta:{"query":"executionTime: 3ms, found: 3, total: 3, searchTerm: \"Card\", limit: 3, offset: 0"} +2025-09-15T14:16:50.070Z | [REQUEST] | Deck search completed successfully | ReqId:usmkumjuc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"query":"Card","resultCount":0} +2025-09-15T14:16:50.072Z | [REQUEST] | Request completed | ReqId:usmkumjuc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | Time:15ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:17:34.422Z | [REQUEST] | Incoming request | ReqId:ztoywwga9 | IP:::ffff:172.20.0.1 | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:17:34.425Z | [REQUEST] | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | ReqId:ztoywwga9 | IP:::ffff:172.20.0.1 | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:17:34.429Z | [AUTH] | Authentication successful | ReqId:ztoywwga9 | IP:::ffff:172.20.0.1 | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:17:34.431Z | [REQUEST] | Update deck endpoint accessed | ReqId:ztoywwga9 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"2fd99236-7748-4662-af37-2c8d17af4313","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["type"]} +2025-09-15T14:17:34.453Z | [REQUEST] | Deck updated successfully | ReqId:ztoywwga9 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"2fd99236-7748-4662-af37-2c8d17af4313","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:17:34.455Z | [REQUEST] | Request completed | ReqId:ztoywwga9 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/2fd99236-7748-4662-af37-2c8d17af4313 | Status:200 | Time:33ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:18:07.733Z | [REQUEST] | Incoming request | ReqId:6ddmhvc7b | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=3&offset=0 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:18:07.735Z | [REQUEST] | PATCH /api/decks/search | ReqId:6ddmhvc7b | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:18:07.738Z | [AUTH] | Authentication successful | ReqId:6ddmhvc7b | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=3&offset=0 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:18:07.745Z | [ERROR] | Update deck endpoint error | ReqId:6ddmhvc7b | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"TypeError","message":"Cannot convert undefined or null to object","stack":"TypeError: Cannot convert undefined or null to object\n at Function.keys ()\n at /app/src/Api/routers/deckRouter.ts:147:96\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T14:18:07.749Z | [REQUEST] | Request completed | ReqId:6ddmhvc7b | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/search?query=Card&limit=3&offset=0 | Status:500 | Time:16ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:18:18.854Z | [REQUEST] | Incoming request | ReqId:h34z3irlr | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:18:18.856Z | [REQUEST] | GET /api/decks/search | ReqId:h34z3irlr | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:18:18.859Z | [AUTH] | Authentication successful | ReqId:h34z3irlr | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:18:18.861Z | [REQUEST] | Search decks endpoint accessed | ReqId:h34z3irlr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"query":"Card","limit":"3","offset":"0"} +2025-09-15T14:18:18.875Z | [DATABASE] | Deck search completed | Meta:{"query":"executionTime: 13ms, found: 3, total: 3, searchTerm: \"Card\", limit: 3, offset: 0"} +2025-09-15T14:18:18.877Z | [REQUEST] | Deck search completed successfully | ReqId:h34z3irlr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"query":"Card","resultCount":0} +2025-09-15T14:18:18.881Z | [REQUEST] | Request completed | ReqId:h34z3irlr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | GET /api/decks/search?query=Card&limit=3&offset=0 | Status:200 | Time:27ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:23.961Z | [REQUEST] | Incoming request | ReqId:2k5rrod2v | IP:::ffff:172.20.0.1 | GET /api/games/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:23.963Z | [REQUEST] | GET /api/games/start | ReqId:2k5rrod2v | IP:::ffff:172.20.0.1 | GET /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:23.965Z | [REQUEST] | Request completed | ReqId:2k5rrod2v | IP:::ffff:172.20.0.1 | GET /api/games/start | Status:404 | Time:4ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:31.022Z | [REQUEST] | Incoming request | ReqId:8gzkh7jfd | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:31.023Z | [REQUEST] | POST /api/games/start | ReqId:8gzkh7jfd | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:31.027Z | [AUTH] | Authentication successful | ReqId:8gzkh7jfd | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:20:31.029Z | [REQUEST] | Start game endpoint accessed | ReqId:8gzkh7jfd | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":"","deckCount":3,"maxplayers":1,"logintype":0} +2025-09-15T14:20:31.031Z | [OTHER] | GameService.startGame called | Meta:{"deckCount":3,"maxplayers":1,"logintype":0,"userid":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgid":""} +2025-09-15T14:20:31.036Z | [ERROR] | GameService.startGame failed | Meta:{"name":"Error","message":"Maximum players must be at least 2","stack":"Error: Maximum players must be at least 2\n at GameService.validateStartGameInput (/app/src/Application/Game/GameService.ts:250:19)\n at GameService.startGame (/app/src/Application/Game/GameService.ts:48:18)\n at /app/src/Api/routers/gameRouter.ts:40:50\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T14:20:31.038Z | [OTHER] | Game start failed | Meta:{"executionTime":2,"error":"Maximum players must be at least 2"} +2025-09-15T14:20:31.041Z | [ERROR] | Start game endpoint error | ReqId:8gzkh7jfd | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Maximum players must be at least 2","stack":"Error: Maximum players must be at least 2\n at GameService.validateStartGameInput (/app/src/Application/Game/GameService.ts:250:19)\n at GameService.startGame (/app/src/Application/Game/GameService.ts:48:18)\n at /app/src/Api/routers/gameRouter.ts:40:50\n at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)\n at next (/app/node_modules/router/lib/route.js:157:13)\n at authRequired (/app/src/Application/Services/AuthMiddleware.ts:88:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T14:20:31.043Z | [REQUEST] | Request completed | ReqId:8gzkh7jfd | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:400 | Time:21ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:36.481Z | [REQUEST] | Incoming request | ReqId:jtvdevyrj | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:36.483Z | [REQUEST] | POST /api/games/start | ReqId:jtvdevyrj | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:36.486Z | [AUTH] | Authentication successful | ReqId:jtvdevyrj | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:20:36.488Z | [REQUEST] | Start game endpoint accessed | ReqId:jtvdevyrj | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":"","deckCount":3,"maxplayers":2,"logintype":0} +2025-09-15T14:20:36.490Z | [OTHER] | GameService.startGame called | Meta:{"deckCount":3,"maxplayers":2,"logintype":0,"userid":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgid":""} +2025-09-15T14:20:36.491Z | [OTHER] | Start game input validation passed | Meta:{"deckCount":3,"maxplayers":2,"logintype":0} +2025-09-15T14:20:36.493Z | [OTHER] | Starting game creation | Meta:"deckCount: 3, maxPlayers: 2, loginType: 0" +2025-09-15T14:20:36.508Z | [OTHER] | Deck types validation passed | Meta:"foundTypes: [1, 0, 2]" +2025-09-15T14:20:36.510Z | [OTHER] | Created shuffled game deck | Meta:"type: 1, cardCount: 1, sourceDecks: 1" +2025-09-15T14:20:36.512Z | [OTHER] | Created shuffled game deck | Meta:"type: 0, cardCount: 3, sourceDecks: 1" +2025-09-15T14:20:36.513Z | [OTHER] | Created shuffled game deck | Meta:"type: 2, cardCount: 1, sourceDecks: 1" +2025-09-15T14:20:36.528Z | [DATABASE] | Game created | Meta:{"query":"executionTime: 13ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, gameCode: 6BDKNI"} +2025-09-15T14:20:36.532Z | [OTHER] | Game created in Redis | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","hostId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","websocketRoom":"game_6BDKNI","redisKey":"game:9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:20:36.534Z | [OTHER] | Triggering async board generation for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"positiveFieldCount":40,"negativeFieldCount":16,"luckFieldCount":10,"totalSpecialFields":66} +2025-09-15T14:20:36.536Z | [OTHER] | Starting board generation for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 +2025-09-15T14:20:36.540Z | [OTHER] | Attempt 1: Error rate 54.92% (target: 15%) +2025-09-15T14:20:36.543Z | [OTHER] | Attempt 2: Error rate 53.13% (target: 15%) +2025-09-15T14:20:36.546Z | [OTHER] | Attempt 3: Error rate 50.39% (target: 15%) +2025-09-15T14:20:36.548Z | [OTHER] | Attempt 4: Error rate 54.17% (target: 15%) +2025-09-15T14:20:36.550Z | [OTHER] | Attempt 5: Error rate 53.66% (target: 15%) +2025-09-15T14:20:36.553Z | [OTHER] | Attempt 6: Error rate 57.25% (target: 15%) +2025-09-15T14:20:36.556Z | [OTHER] | Attempt 7: Error rate 50% (target: 15%) +2025-09-15T14:20:36.558Z | [OTHER] | Attempt 8: Error rate 54.55% (target: 15%) +2025-09-15T14:20:36.560Z | [OTHER] | Attempt 9: Error rate 55.28% (target: 15%) +2025-09-15T14:20:36.562Z | [OTHER] | Attempt 10: Error rate 51.39% (target: 15%) +2025-09-15T14:20:36.564Z | [OTHER] | Attempt 11: Error rate 51.09% (target: 15%) +2025-09-15T14:20:36.567Z | [OTHER] | Attempt 12: Error rate 48.11% (target: 15%) +2025-09-15T14:20:36.570Z | [OTHER] | Attempt 13: Error rate 50.35% (target: 15%) +2025-09-15T14:20:36.572Z | [OTHER] | Attempt 14: Error rate 47.04% (target: 15%) +2025-09-15T14:20:36.573Z | [OTHER] | Attempt 15: Error rate 44.44% (target: 15%) +2025-09-15T14:20:36.575Z | [OTHER] | Attempt 16: Error rate 50.69% (target: 15%) +2025-09-15T14:20:36.577Z | [OTHER] | Attempt 17: Error rate 53.03% (target: 15%) +2025-09-15T14:20:36.579Z | [OTHER] | Attempt 18: Error rate 53.97% (target: 15%) +2025-09-15T14:20:36.580Z | [OTHER] | Attempt 19: Error rate 55.95% (target: 15%) +2025-09-15T14:20:36.582Z | [OTHER] | Attempt 20: Error rate 55.3% (target: 15%) +2025-09-15T14:20:36.585Z | [OTHER] | Attempt 21: Error rate 50.76% (target: 15%) +2025-09-15T14:20:36.587Z | [OTHER] | Attempt 22: Error rate 51.55% (target: 15%) +2025-09-15T14:20:36.588Z | [OTHER] | Attempt 23: Error rate 47.96% (target: 15%) +2025-09-15T14:20:36.590Z | [OTHER] | Attempt 24: Error rate 52.96% (target: 15%) +2025-09-15T14:20:36.592Z | [OTHER] | Attempt 25: Error rate 46.25% (target: 15%) +2025-09-15T14:20:36.594Z | [OTHER] | Attempt 26: Error rate 55.32% (target: 15%) +2025-09-15T14:20:36.595Z | [OTHER] | Attempt 27: Error rate 60.76% (target: 15%) +2025-09-15T14:20:36.597Z | [OTHER] | Attempt 28: Error rate 49.21% (target: 15%) +2025-09-15T14:20:36.599Z | [OTHER] | Attempt 29: Error rate 51.48% (target: 15%) +2025-09-15T14:20:36.601Z | [OTHER] | Attempt 30: Error rate 47.1% (target: 15%) +2025-09-15T14:20:36.603Z | [OTHER] | Attempt 31: Error rate 49.61% (target: 15%) +2025-09-15T14:20:36.604Z | [OTHER] | Attempt 32: Error rate 49.32% (target: 15%) +2025-09-15T14:20:36.606Z | [OTHER] | Attempt 33: Error rate 60.23% (target: 15%) +2025-09-15T14:20:36.608Z | [OTHER] | Attempt 34: Error rate 52.9% (target: 15%) +2025-09-15T14:20:36.609Z | [OTHER] | Attempt 35: Error rate 52.85% (target: 15%) +2025-09-15T14:20:36.611Z | [OTHER] | Attempt 36: Error rate 54.7% (target: 15%) +2025-09-15T14:20:36.612Z | [OTHER] | Attempt 37: Error rate 44.3% (target: 15%) +2025-09-15T14:20:36.614Z | [OTHER] | Attempt 38: Error rate 51.39% (target: 15%) +2025-09-15T14:20:36.617Z | [OTHER] | Attempt 39: Error rate 46.38% (target: 15%) +2025-09-15T14:20:36.618Z | [OTHER] | Attempt 40: Error rate 49.65% (target: 15%) +2025-09-15T14:20:36.620Z | [OTHER] | Attempt 41: Error rate 55.81% (target: 15%) +2025-09-15T14:20:36.622Z | [OTHER] | Attempt 42: Error rate 54.55% (target: 15%) +2025-09-15T14:20:36.623Z | [OTHER] | Attempt 43: Error rate 52.33% (target: 15%) +2025-09-15T14:20:36.625Z | [OTHER] | Attempt 44: Error rate 48.15% (target: 15%) +2025-09-15T14:20:36.626Z | [OTHER] | Attempt 45: Error rate 59.47% (target: 15%) +2025-09-15T14:20:36.628Z | [OTHER] | Attempt 46: Error rate 53.66% (target: 15%) +2025-09-15T14:20:36.630Z | [OTHER] | Attempt 47: Error rate 53.25% (target: 15%) +2025-09-15T14:20:36.631Z | [OTHER] | Attempt 48: Error rate 60.85% (target: 15%) +2025-09-15T14:20:36.634Z | [OTHER] | Attempt 49: Error rate 50% (target: 15%) +2025-09-15T14:20:36.635Z | [OTHER] | Attempt 50: Error rate 54.92% (target: 15%) +2025-09-15T14:20:36.637Z | [OTHER] | Attempt 51: Error rate 60.37% (target: 15%) +2025-09-15T14:20:36.639Z | [OTHER] | Attempt 52: Error rate 53.13% (target: 15%) +2025-09-15T14:20:36.646Z | [OTHER] | Attempt 53: Error rate 52.71% (target: 15%) +2025-09-15T14:20:36.647Z | [OTHER] | Attempt 54: Error rate 45.24% (target: 15%) +2025-09-15T14:20:36.649Z | [OTHER] | Attempt 55: Error rate 52.03% (target: 15%) +2025-09-15T14:20:36.651Z | [OTHER] | Attempt 56: Error rate 54.55% (target: 15%) +2025-09-15T14:20:36.652Z | [OTHER] | Attempt 57: Error rate 45.65% (target: 15%) +2025-09-15T14:20:36.654Z | [OTHER] | Attempt 58: Error rate 58.15% (target: 15%) +2025-09-15T14:20:36.657Z | [OTHER] | Attempt 59: Error rate 52.9% (target: 15%) +2025-09-15T14:20:36.659Z | [OTHER] | Attempt 60: Error rate 61.96% (target: 15%) +2025-09-15T14:20:36.660Z | [OTHER] | Attempt 61: Error rate 46.45% (target: 15%) +2025-09-15T14:20:36.662Z | [OTHER] | Attempt 62: Error rate 50.37% (target: 15%) +2025-09-15T14:20:36.663Z | [OTHER] | Attempt 63: Error rate 56.16% (target: 15%) +2025-09-15T14:20:36.665Z | [OTHER] | Attempt 64: Error rate 54.26% (target: 15%) +2025-09-15T14:20:36.666Z | [OTHER] | Attempt 65: Error rate 48.45% (target: 15%) +2025-09-15T14:20:36.668Z | [OTHER] | Attempt 66: Error rate 57.26% (target: 15%) +2025-09-15T14:20:36.670Z | [OTHER] | Attempt 67: Error rate 51.52% (target: 15%) +2025-09-15T14:20:36.671Z | [OTHER] | Attempt 68: Error rate 50.79% (target: 15%) +2025-09-15T14:20:36.674Z | [OTHER] | Attempt 69: Error rate 57.36% (target: 15%) +2025-09-15T14:20:36.676Z | [OTHER] | Attempt 70: Error rate 60.42% (target: 15%) +2025-09-15T14:20:36.677Z | [OTHER] | Attempt 71: Error rate 55.28% (target: 15%) +2025-09-15T14:20:36.679Z | [OTHER] | Attempt 72: Error rate 59.69% (target: 15%) +2025-09-15T14:20:36.680Z | [OTHER] | Attempt 73: Error rate 58.13% (target: 15%) +2025-09-15T14:20:36.682Z | [OTHER] | Attempt 74: Error rate 43.7% (target: 15%) +2025-09-15T14:20:36.683Z | [OTHER] | Attempt 75: Error rate 58.12% (target: 15%) +2025-09-15T14:20:36.685Z | [OTHER] | Attempt 76: Error rate 48.72% (target: 15%) +2025-09-15T14:20:36.686Z | [OTHER] | Attempt 77: Error rate 54.96% (target: 15%) +2025-09-15T14:20:36.688Z | [OTHER] | Attempt 78: Error rate 58.89% (target: 15%) +2025-09-15T14:20:36.690Z | [OTHER] | Attempt 79: Error rate 52.14% (target: 15%) +2025-09-15T14:20:36.692Z | [OTHER] | Attempt 80: Error rate 55.69% (target: 15%) +2025-09-15T14:20:36.694Z | [OTHER] | Attempt 81: Error rate 41.09% (target: 15%) +2025-09-15T14:20:36.695Z | [OTHER] | Attempt 82: Error rate 50.79% (target: 15%) +2025-09-15T14:20:36.697Z | [OTHER] | Attempt 83: Error rate 53.62% (target: 15%) +2025-09-15T14:20:36.698Z | [OTHER] | Attempt 84: Error rate 58.73% (target: 15%) +2025-09-15T14:20:36.700Z | [OTHER] | Attempt 85: Error rate 51.81% (target: 15%) +2025-09-15T14:20:36.701Z | [OTHER] | Attempt 86: Error rate 54.47% (target: 15%) +2025-09-15T14:20:36.703Z | [OTHER] | Attempt 87: Error rate 58.73% (target: 15%) +2025-09-15T14:20:36.704Z | [OTHER] | Attempt 88: Error rate 51.77% (target: 15%) +2025-09-15T14:20:36.706Z | [OTHER] | Attempt 89: Error rate 54.07% (target: 15%) +2025-09-15T14:20:36.708Z | [OTHER] | Attempt 90: Error rate 53.55% (target: 15%) +2025-09-15T14:20:36.709Z | [OTHER] | Attempt 91: Error rate 58.33% (target: 15%) +2025-09-15T14:20:36.711Z | [OTHER] | Attempt 92: Error rate 46.51% (target: 15%) +2025-09-15T14:20:36.712Z | [OTHER] | Attempt 93: Error rate 62.68% (target: 15%) +2025-09-15T14:20:36.714Z | [OTHER] | Attempt 94: Error rate 49.26% (target: 15%) +2025-09-15T14:20:36.715Z | [OTHER] | Attempt 95: Error rate 57.04% (target: 15%) +2025-09-15T14:20:36.717Z | [OTHER] | Attempt 96: Error rate 57.54% (target: 15%) +2025-09-15T14:20:36.718Z | [OTHER] | Attempt 97: Error rate 49.63% (target: 15%) +2025-09-15T14:20:36.720Z | [OTHER] | Attempt 98: Error rate 51.14% (target: 15%) +2025-09-15T14:20:36.722Z | [OTHER] | Attempt 99: Error rate 56.2% (target: 15%) +2025-09-15T14:20:36.724Z | [OTHER] | Attempt 100: Error rate 54.07% (target: 15%) +2025-09-15T14:20:36.726Z | [OTHER] | Attempt 101: Error rate 53.1% (target: 15%) +2025-09-15T14:20:36.727Z | [OTHER] | Attempt 102: Error rate 57.32% (target: 15%) +2025-09-15T14:20:36.729Z | [OTHER] | Attempt 103: Error rate 50.76% (target: 15%) +2025-09-15T14:20:36.730Z | [OTHER] | Attempt 104: Error rate 52.13% (target: 15%) +2025-09-15T14:20:36.732Z | [OTHER] | Attempt 105: Error rate 53.41% (target: 15%) +2025-09-15T14:20:36.733Z | [OTHER] | Attempt 106: Error rate 46.01% (target: 15%) +2025-09-15T14:20:36.735Z | [OTHER] | Attempt 107: Error rate 52.27% (target: 15%) +2025-09-15T14:20:36.736Z | [OTHER] | Attempt 108: Error rate 43.48% (target: 15%) +2025-09-15T14:20:36.738Z | [OTHER] | Attempt 109: Error rate 55.3% (target: 15%) +2025-09-15T14:20:36.739Z | [OTHER] | Attempt 110: Error rate 50% (target: 15%) +2025-09-15T14:20:36.741Z | [OTHER] | Attempt 111: Error rate 54.07% (target: 15%) +2025-09-15T14:20:36.742Z | [OTHER] | Attempt 112: Error rate 51.55% (target: 15%) +2025-09-15T14:20:36.744Z | [OTHER] | Attempt 113: Error rate 53.19% (target: 15%) +2025-09-15T14:20:36.746Z | [OTHER] | Attempt 114: Error rate 54.81% (target: 15%) +2025-09-15T14:20:36.748Z | [OTHER] | Attempt 115: Error rate 62.08% (target: 15%) +2025-09-15T14:20:36.749Z | [OTHER] | Attempt 116: Error rate 48.41% (target: 15%) +2025-09-15T14:20:36.751Z | [OTHER] | Attempt 117: Error rate 51.89% (target: 15%) +2025-09-15T14:20:36.752Z | [OTHER] | Attempt 118: Error rate 50.4% (target: 15%) +2025-09-15T14:20:36.754Z | [OTHER] | Attempt 119: Error rate 51.98% (target: 15%) +2025-09-15T14:20:36.756Z | [OTHER] | Attempt 120: Error rate 55.07% (target: 15%) +2025-09-15T14:20:36.758Z | [OTHER] | Attempt 121: Error rate 54.35% (target: 15%) +2025-09-15T14:20:36.759Z | [OTHER] | Attempt 122: Error rate 54.17% (target: 15%) +2025-09-15T14:20:36.761Z | [OTHER] | Attempt 123: Error rate 56.44% (target: 15%) +2025-09-15T14:20:36.762Z | [OTHER] | Attempt 124: Error rate 49.62% (target: 15%) +2025-09-15T14:20:36.764Z | [OTHER] | Attempt 125: Error rate 54.92% (target: 15%) +2025-09-15T14:20:36.765Z | [OTHER] | Attempt 126: Error rate 52.19% (target: 15%) +2025-09-15T14:20:36.767Z | [OTHER] | Attempt 127: Error rate 50.74% (target: 15%) +2025-09-15T14:20:36.769Z | [OTHER] | Attempt 128: Error rate 51.96% (target: 15%) +2025-09-15T14:20:36.770Z | [OTHER] | Attempt 129: Error rate 52.27% (target: 15%) +2025-09-15T14:20:36.772Z | [OTHER] | Attempt 130: Error rate 49.63% (target: 15%) +2025-09-15T14:20:36.773Z | [OTHER] | Attempt 131: Error rate 49.59% (target: 15%) +2025-09-15T14:20:36.775Z | [OTHER] | Attempt 132: Error rate 48.91% (target: 15%) +2025-09-15T14:20:36.776Z | [OTHER] | Attempt 133: Error rate 59.13% (target: 15%) +2025-09-15T14:20:36.778Z | [OTHER] | Attempt 134: Error rate 50% (target: 15%) +2025-09-15T14:20:36.780Z | [OTHER] | Attempt 135: Error rate 58.97% (target: 15%) +2025-09-15T14:20:36.781Z | [OTHER] | Attempt 136: Error rate 54.17% (target: 15%) +2025-09-15T14:20:36.783Z | [OTHER] | Attempt 137: Error rate 53.17% (target: 15%) +2025-09-15T14:20:36.784Z | [OTHER] | Attempt 138: Error rate 45.63% (target: 15%) +2025-09-15T14:20:36.786Z | [OTHER] | Attempt 139: Error rate 55.43% (target: 15%) +2025-09-15T14:20:36.788Z | [OTHER] | Attempt 140: Error rate 42.8% (target: 15%) +2025-09-15T14:20:36.790Z | [OTHER] | Attempt 141: Error rate 52.9% (target: 15%) +2025-09-15T14:20:36.792Z | [OTHER] | Attempt 142: Error rate 59.17% (target: 15%) +2025-09-15T14:20:36.793Z | [OTHER] | Attempt 143: Error rate 51.45% (target: 15%) +2025-09-15T14:20:36.795Z | [OTHER] | Attempt 144: Error rate 56.82% (target: 15%) +2025-09-15T14:20:36.796Z | [OTHER] | Attempt 145: Error rate 50.83% (target: 15%) +2025-09-15T14:20:36.798Z | [OTHER] | Attempt 146: Error rate 44.14% (target: 15%) +2025-09-15T14:20:36.800Z | [OTHER] | Attempt 147: Error rate 55.56% (target: 15%) +2025-09-15T14:20:36.801Z | [OTHER] | Attempt 148: Error rate 49.29% (target: 15%) +2025-09-15T14:20:36.803Z | [OTHER] | Attempt 149: Error rate 53.41% (target: 15%) +2025-09-15T14:20:36.805Z | [OTHER] | Attempt 150: Error rate 59.52% (target: 15%) +2025-09-15T14:20:36.807Z | [OTHER] | Attempt 151: Error rate 53.97% (target: 15%) +2025-09-15T14:20:36.808Z | [OTHER] | Attempt 152: Error rate 52.03% (target: 15%) +2025-09-15T14:20:36.810Z | [OTHER] | Attempt 153: Error rate 52.48% (target: 15%) +2025-09-15T14:20:36.812Z | [OTHER] | Attempt 154: Error rate 53.66% (target: 15%) +2025-09-15T14:20:36.813Z | [OTHER] | Attempt 155: Error rate 49.58% (target: 15%) +2025-09-15T14:20:36.815Z | [OTHER] | Attempt 156: Error rate 60.87% (target: 15%) +2025-09-15T14:20:36.817Z | [OTHER] | Attempt 157: Error rate 59.85% (target: 15%) +2025-09-15T14:20:36.818Z | [OTHER] | Attempt 158: Error rate 55.04% (target: 15%) +2025-09-15T14:20:36.820Z | [OTHER] | Attempt 159: Error rate 48.19% (target: 15%) +2025-09-15T14:20:36.821Z | [OTHER] | Attempt 160: Error rate 53.26% (target: 15%) +2025-09-15T14:20:36.824Z | [OTHER] | Attempt 161: Error rate 52.71% (target: 15%) +2025-09-15T14:20:36.825Z | [OTHER] | Attempt 162: Error rate 48.06% (target: 15%) +2025-09-15T14:20:36.827Z | [OTHER] | Attempt 163: Error rate 51.22% (target: 15%) +2025-09-15T14:20:36.829Z | [OTHER] | Attempt 164: Error rate 57.14% (target: 15%) +2025-09-15T14:20:36.830Z | [OTHER] | Attempt 165: Error rate 59.09% (target: 15%) +2025-09-15T14:20:36.832Z | [OTHER] | Attempt 166: Error rate 54.37% (target: 15%) +2025-09-15T14:20:36.833Z | [OTHER] | Attempt 167: Error rate 51.14% (target: 15%) +2025-09-15T14:20:36.835Z | [OTHER] | Attempt 168: Error rate 52.78% (target: 15%) +2025-09-15T14:20:36.836Z | [OTHER] | Attempt 169: Error rate 45.65% (target: 15%) +2025-09-15T14:20:36.838Z | [OTHER] | Attempt 170: Error rate 51.89% (target: 15%) +2025-09-15T14:20:36.840Z | [OTHER] | Attempt 171: Error rate 52.54% (target: 15%) +2025-09-15T14:20:36.842Z | [OTHER] | Attempt 172: Error rate 51.89% (target: 15%) +2025-09-15T14:20:36.843Z | [OTHER] | Attempt 173: Error rate 58.94% (target: 15%) +2025-09-15T14:20:36.845Z | [OTHER] | Attempt 174: Error rate 46.67% (target: 15%) +2025-09-15T14:20:36.846Z | [OTHER] | Attempt 175: Error rate 62.5% (target: 15%) +2025-09-15T14:20:36.848Z | [OTHER] | Attempt 176: Error rate 51.52% (target: 15%) +2025-09-15T14:20:36.849Z | [OTHER] | Attempt 177: Error rate 52.44% (target: 15%) +2025-09-15T14:20:36.851Z | [OTHER] | Attempt 178: Error rate 50% (target: 15%) +2025-09-15T14:20:36.853Z | [OTHER] | Attempt 179: Error rate 58.15% (target: 15%) +2025-09-15T14:20:36.854Z | [OTHER] | Attempt 180: Error rate 47.56% (target: 15%) +2025-09-15T14:20:36.857Z | [OTHER] | Attempt 181: Error rate 49.62% (target: 15%) +2025-09-15T14:20:36.858Z | [OTHER] | Attempt 182: Error rate 48.84% (target: 15%) +2025-09-15T14:20:36.860Z | [OTHER] | Attempt 183: Error rate 54.17% (target: 15%) +2025-09-15T14:20:36.861Z | [OTHER] | Attempt 184: Error rate 45.35% (target: 15%) +2025-09-15T14:20:36.863Z | [OTHER] | Attempt 185: Error rate 60.32% (target: 15%) +2025-09-15T14:20:36.864Z | [OTHER] | Attempt 186: Error rate 49.12% (target: 15%) +2025-09-15T14:20:36.866Z | [OTHER] | Attempt 187: Error rate 54.37% (target: 15%) +2025-09-15T14:20:36.867Z | [OTHER] | Attempt 188: Error rate 54.58% (target: 15%) +2025-09-15T14:20:36.869Z | [OTHER] | Attempt 189: Error rate 51.74% (target: 15%) +2025-09-15T14:20:36.871Z | [OTHER] | Attempt 190: Error rate 51.85% (target: 15%) +2025-09-15T14:20:36.872Z | [OTHER] | Attempt 191: Error rate 52.43% (target: 15%) +2025-09-15T14:20:36.874Z | [OTHER] | Attempt 192: Error rate 58.33% (target: 15%) +2025-09-15T14:20:36.875Z | [OTHER] | Attempt 193: Error rate 50.39% (target: 15%) +2025-09-15T14:20:36.877Z | [OTHER] | Attempt 194: Error rate 47.04% (target: 15%) +2025-09-15T14:20:36.879Z | [OTHER] | Attempt 195: Error rate 57.14% (target: 15%) +2025-09-15T14:20:36.880Z | [OTHER] | Attempt 196: Error rate 51.11% (target: 15%) +2025-09-15T14:20:36.882Z | [OTHER] | Attempt 197: Error rate 50.36% (target: 15%) +2025-09-15T14:20:36.883Z | [OTHER] | Attempt 198: Error rate 53.19% (target: 15%) +2025-09-15T14:20:36.885Z | [OTHER] | Attempt 199: Error rate 57.29% (target: 15%) +2025-09-15T14:20:36.886Z | [OTHER] | Attempt 200: Error rate 55.43% (target: 15%) +2025-09-15T14:20:36.889Z | [OTHER] | Attempt 201: Error rate 51.94% (target: 15%) +2025-09-15T14:20:36.890Z | [OTHER] | Attempt 202: Error rate 50% (target: 15%) +2025-09-15T14:20:36.892Z | [OTHER] | Attempt 203: Error rate 50% (target: 15%) +2025-09-15T14:20:36.894Z | [OTHER] | Attempt 204: Error rate 50% (target: 15%) +2025-09-15T14:20:36.895Z | [OTHER] | Attempt 205: Error rate 44.9% (target: 15%) +2025-09-15T14:20:36.897Z | [OTHER] | Attempt 206: Error rate 53.67% (target: 15%) +2025-09-15T14:20:36.898Z | [OTHER] | Attempt 207: Error rate 55.43% (target: 15%) +2025-09-15T14:20:36.900Z | [OTHER] | Attempt 208: Error rate 51.59% (target: 15%) +2025-09-15T14:20:36.902Z | [OTHER] | Attempt 209: Error rate 55.9% (target: 15%) +2025-09-15T14:20:36.903Z | [OTHER] | Attempt 210: Error rate 53.85% (target: 15%) +2025-09-15T14:20:36.905Z | [OTHER] | Attempt 211: Error rate 52.84% (target: 15%) +2025-09-15T14:20:36.907Z | [OTHER] | Attempt 212: Error rate 53.88% (target: 15%) +2025-09-15T14:20:36.909Z | [OTHER] | Attempt 213: Error rate 49.66% (target: 15%) +2025-09-15T14:20:36.910Z | [OTHER] | Attempt 214: Error rate 51.85% (target: 15%) +2025-09-15T14:20:36.912Z | [OTHER] | Attempt 215: Error rate 50.38% (target: 15%) +2025-09-15T14:20:36.914Z | [OTHER] | Attempt 216: Error rate 50.71% (target: 15%) +2025-09-15T14:20:36.915Z | [OTHER] | Attempt 217: Error rate 55.04% (target: 15%) +2025-09-15T14:20:36.917Z | [OTHER] | Attempt 218: Error rate 53.33% (target: 15%) +2025-09-15T14:20:36.918Z | [OTHER] | Attempt 219: Error rate 45.65% (target: 15%) +2025-09-15T14:20:36.920Z | [OTHER] | Attempt 220: Error rate 52.08% (target: 15%) +2025-09-15T14:20:36.923Z | [OTHER] | Attempt 221: Error rate 53.03% (target: 15%) +2025-09-15T14:20:36.924Z | [OTHER] | Attempt 222: Error rate 57.45% (target: 15%) +2025-09-15T14:20:36.926Z | [OTHER] | Attempt 223: Error rate 50% (target: 15%) +2025-09-15T14:20:36.927Z | [OTHER] | Attempt 224: Error rate 52.14% (target: 15%) +2025-09-15T14:20:36.929Z | [OTHER] | Attempt 225: Error rate 53.66% (target: 15%) +2025-09-15T14:20:36.931Z | [OTHER] | Attempt 226: Error rate 45.93% (target: 15%) +2025-09-15T14:20:36.933Z | [OTHER] | Attempt 227: Error rate 61.9% (target: 15%) +2025-09-15T14:20:36.937Z | [OTHER] | Attempt 228: Error rate 46.9% (target: 15%) +2025-09-15T14:20:36.939Z | [OTHER] | Attempt 229: Error rate 57.54% (target: 15%) +2025-09-15T14:20:36.942Z | [OTHER] | Attempt 230: Error rate 41.84% (target: 15%) +2025-09-15T14:20:36.944Z | [OTHER] | Attempt 231: Error rate 50.78% (target: 15%) +2025-09-15T14:20:36.946Z | [OTHER] | Attempt 232: Error rate 45.53% (target: 15%) +2025-09-15T14:20:36.949Z | [OTHER] | Attempt 233: Error rate 54.81% (target: 15%) +2025-09-15T14:20:36.951Z | [OTHER] | Attempt 234: Error rate 49.61% (target: 15%) +2025-09-15T14:20:36.954Z | [OTHER] | Attempt 235: Error rate 57.33% (target: 15%) +2025-09-15T14:20:36.956Z | [OTHER] | Attempt 236: Error rate 47.73% (target: 15%) +2025-09-15T14:20:36.958Z | [OTHER] | Attempt 237: Error rate 51.36% (target: 15%) +2025-09-15T14:20:36.960Z | [OTHER] | Attempt 238: Error rate 51.94% (target: 15%) +2025-09-15T14:20:36.963Z | [OTHER] | Attempt 239: Error rate 57.04% (target: 15%) +2025-09-15T14:20:36.965Z | [OTHER] | Attempt 240: Error rate 46.38% (target: 15%) +2025-09-15T14:20:36.970Z | [OTHER] | Attempt 241: Error rate 53.1% (target: 15%) +2025-09-15T14:20:36.973Z | [OTHER] | Attempt 242: Error rate 50.72% (target: 15%) +2025-09-15T14:20:36.975Z | [OTHER] | Attempt 243: Error rate 47.29% (target: 15%) +2025-09-15T14:20:36.977Z | [OTHER] | Attempt 244: Error rate 52.03% (target: 15%) +2025-09-15T14:20:36.979Z | [OTHER] | Attempt 245: Error rate 47.78% (target: 15%) +2025-09-15T14:20:36.981Z | [OTHER] | Attempt 246: Error rate 54.58% (target: 15%) +2025-09-15T14:20:36.982Z | [OTHER] | Attempt 247: Error rate 48.94% (target: 15%) +2025-09-15T14:20:36.985Z | [OTHER] | Attempt 248: Error rate 48.45% (target: 15%) +2025-09-15T14:20:36.986Z | [OTHER] | Attempt 249: Error rate 55.81% (target: 15%) +2025-09-15T14:20:36.988Z | [OTHER] | Attempt 250: Error rate 51.94% (target: 15%) +2025-09-15T14:20:36.990Z | [OTHER] | Attempt 251: Error rate 56.3% (target: 15%) +2025-09-15T14:20:36.992Z | [OTHER] | Attempt 252: Error rate 54.17% (target: 15%) +2025-09-15T14:20:36.994Z | [OTHER] | Attempt 253: Error rate 50.43% (target: 15%) +2025-09-15T14:20:36.995Z | [OTHER] | Attempt 254: Error rate 52.78% (target: 15%) +2025-09-15T14:20:36.997Z | [OTHER] | Attempt 255: Error rate 54.55% (target: 15%) +2025-09-15T14:20:36.999Z | [OTHER] | Attempt 256: Error rate 53.19% (target: 15%) +2025-09-15T14:20:37.000Z | [OTHER] | Attempt 257: Error rate 52.13% (target: 15%) +2025-09-15T14:20:37.002Z | [OTHER] | Attempt 258: Error rate 54.47% (target: 15%) +2025-09-15T14:20:37.004Z | [OTHER] | Attempt 259: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.005Z | [OTHER] | Attempt 260: Error rate 52.59% (target: 15%) +2025-09-15T14:20:37.007Z | [OTHER] | Attempt 261: Error rate 54.7% (target: 15%) +2025-09-15T14:20:37.009Z | [OTHER] | Attempt 262: Error rate 41.06% (target: 15%) +2025-09-15T14:20:37.011Z | [OTHER] | Attempt 263: Error rate 43.26% (target: 15%) +2025-09-15T14:20:37.013Z | [OTHER] | Attempt 264: Error rate 59.47% (target: 15%) +2025-09-15T14:20:37.014Z | [OTHER] | Attempt 265: Error rate 51.85% (target: 15%) +2025-09-15T14:20:37.016Z | [OTHER] | Attempt 266: Error rate 46.97% (target: 15%) +2025-09-15T14:20:37.017Z | [OTHER] | Attempt 267: Error rate 51.16% (target: 15%) +2025-09-15T14:20:37.019Z | [OTHER] | Attempt 268: Error rate 50.72% (target: 15%) +2025-09-15T14:20:37.021Z | [OTHER] | Attempt 269: Error rate 54.07% (target: 15%) +2025-09-15T14:20:37.022Z | [OTHER] | Attempt 270: Error rate 47.78% (target: 15%) +2025-09-15T14:20:37.024Z | [OTHER] | Attempt 271: Error rate 52.38% (target: 15%) +2025-09-15T14:20:37.025Z | [OTHER] | Attempt 272: Error rate 54.37% (target: 15%) +2025-09-15T14:20:37.027Z | [OTHER] | Attempt 273: Error rate 58.54% (target: 15%) +2025-09-15T14:20:37.028Z | [OTHER] | Attempt 274: Error rate 51.98% (target: 15%) +2025-09-15T14:20:37.030Z | [OTHER] | Attempt 275: Error rate 40.7% (target: 15%) +2025-09-15T14:20:37.031Z | [OTHER] | Attempt 276: Error rate 49.29% (target: 15%) +2025-09-15T14:20:37.033Z | [OTHER] | Attempt 277: Error rate 38.37% (target: 15%) +2025-09-15T14:20:37.034Z | [OTHER] | Attempt 278: Error rate 55.56% (target: 15%) +2025-09-15T14:20:37.036Z | [OTHER] | Attempt 279: Error rate 55.68% (target: 15%) +2025-09-15T14:20:37.038Z | [OTHER] | Attempt 280: Error rate 56.16% (target: 15%) +2025-09-15T14:20:37.040Z | [OTHER] | Attempt 281: Error rate 51.06% (target: 15%) +2025-09-15T14:20:37.042Z | [OTHER] | Attempt 282: Error rate 57.95% (target: 15%) +2025-09-15T14:20:37.044Z | [OTHER] | Attempt 283: Error rate 56.25% (target: 15%) +2025-09-15T14:20:37.046Z | [OTHER] | Attempt 284: Error rate 57.54% (target: 15%) +2025-09-15T14:20:37.047Z | [OTHER] | Attempt 285: Error rate 54.55% (target: 15%) +2025-09-15T14:20:37.049Z | [OTHER] | Attempt 286: Error rate 57.33% (target: 15%) +2025-09-15T14:20:37.050Z | [OTHER] | Attempt 287: Error rate 50.38% (target: 15%) +2025-09-15T14:20:37.052Z | [OTHER] | Attempt 288: Error rate 54.88% (target: 15%) +2025-09-15T14:20:37.053Z | [OTHER] | Attempt 289: Error rate 53.97% (target: 15%) +2025-09-15T14:20:37.055Z | [OTHER] | Attempt 290: Error rate 60.61% (target: 15%) +2025-09-15T14:20:37.056Z | [OTHER] | Attempt 291: Error rate 47.29% (target: 15%) +2025-09-15T14:20:37.058Z | [OTHER] | Attempt 292: Error rate 51.09% (target: 15%) +2025-09-15T14:20:37.059Z | [OTHER] | Attempt 293: Error rate 52.59% (target: 15%) +2025-09-15T14:20:37.061Z | [OTHER] | Attempt 294: Error rate 49.29% (target: 15%) +2025-09-15T14:20:37.062Z | [OTHER] | Attempt 295: Error rate 64.63% (target: 15%) +2025-09-15T14:20:37.064Z | [OTHER] | Attempt 296: Error rate 54.47% (target: 15%) +2025-09-15T14:20:37.066Z | [OTHER] | Attempt 297: Error rate 53.33% (target: 15%) +2025-09-15T14:20:37.067Z | [OTHER] | Attempt 298: Error rate 50% (target: 15%) +2025-09-15T14:20:37.069Z | [OTHER] | Attempt 299: Error rate 46.01% (target: 15%) +2025-09-15T14:20:37.070Z | [OTHER] | Attempt 300: Error rate 49.22% (target: 15%) +2025-09-15T14:20:37.072Z | [OTHER] | Attempt 301: Error rate 52.65% (target: 15%) +2025-09-15T14:20:37.074Z | [OTHER] | Attempt 302: Error rate 52.96% (target: 15%) +2025-09-15T14:20:37.076Z | [OTHER] | Attempt 303: Error rate 61.24% (target: 15%) +2025-09-15T14:20:37.077Z | [OTHER] | Attempt 304: Error rate 47.46% (target: 15%) +2025-09-15T14:20:37.079Z | [OTHER] | Attempt 305: Error rate 53% (target: 15%) +2025-09-15T14:20:37.080Z | [OTHER] | Attempt 306: Error rate 55.19% (target: 15%) +2025-09-15T14:20:37.082Z | [OTHER] | Attempt 307: Error rate 46.88% (target: 15%) +2025-09-15T14:20:37.084Z | [OTHER] | Attempt 308: Error rate 47.73% (target: 15%) +2025-09-15T14:20:37.085Z | [OTHER] | Attempt 309: Error rate 51.94% (target: 15%) +2025-09-15T14:20:37.087Z | [OTHER] | Attempt 310: Error rate 52.33% (target: 15%) +2025-09-15T14:20:37.088Z | [OTHER] | Attempt 311: Error rate 58.33% (target: 15%) +2025-09-15T14:20:37.090Z | [OTHER] | Attempt 312: Error rate 50.76% (target: 15%) +2025-09-15T14:20:37.091Z | [OTHER] | Attempt 313: Error rate 52.17% (target: 15%) +2025-09-15T14:20:37.092Z | [OTHER] | Attempt 314: Error rate 47.35% (target: 15%) +2025-09-15T14:20:37.094Z | [OTHER] | Attempt 315: Error rate 54.26% (target: 15%) +2025-09-15T14:20:37.096Z | [OTHER] | Attempt 316: Error rate 47.29% (target: 15%) +2025-09-15T14:20:37.097Z | [OTHER] | Attempt 317: Error rate 51.71% (target: 15%) +2025-09-15T14:20:37.099Z | [OTHER] | Attempt 318: Error rate 58.33% (target: 15%) +2025-09-15T14:20:37.100Z | [OTHER] | Attempt 319: Error rate 48.58% (target: 15%) +2025-09-15T14:20:37.102Z | [OTHER] | Attempt 320: Error rate 54.51% (target: 15%) +2025-09-15T14:20:37.103Z | [OTHER] | Attempt 321: Error rate 51.77% (target: 15%) +2025-09-15T14:20:37.106Z | [OTHER] | Attempt 322: Error rate 47.62% (target: 15%) +2025-09-15T14:20:37.107Z | [OTHER] | Attempt 323: Error rate 50.36% (target: 15%) +2025-09-15T14:20:37.109Z | [OTHER] | Attempt 324: Error rate 54.92% (target: 15%) +2025-09-15T14:20:37.110Z | [OTHER] | Attempt 325: Error rate 53.42% (target: 15%) +2025-09-15T14:20:37.112Z | [OTHER] | Attempt 326: Error rate 48.02% (target: 15%) +2025-09-15T14:20:37.113Z | [OTHER] | Attempt 327: Error rate 54.71% (target: 15%) +2025-09-15T14:20:37.115Z | [OTHER] | Attempt 328: Error rate 46.75% (target: 15%) +2025-09-15T14:20:37.116Z | [OTHER] | Attempt 329: Error rate 57.2% (target: 15%) +2025-09-15T14:20:37.118Z | [OTHER] | Attempt 330: Error rate 46.38% (target: 15%) +2025-09-15T14:20:37.119Z | [OTHER] | Attempt 331: Error rate 53.62% (target: 15%) +2025-09-15T14:20:37.121Z | [OTHER] | Attempt 332: Error rate 53.07% (target: 15%) +2025-09-15T14:20:37.122Z | [OTHER] | Attempt 333: Error rate 53.55% (target: 15%) +2025-09-15T14:20:37.124Z | [OTHER] | Attempt 334: Error rate 57.41% (target: 15%) +2025-09-15T14:20:37.125Z | [OTHER] | Attempt 335: Error rate 55.8% (target: 15%) +2025-09-15T14:20:37.127Z | [OTHER] | Attempt 336: Error rate 48.86% (target: 15%) +2025-09-15T14:20:37.129Z | [OTHER] | Attempt 337: Error rate 62.15% (target: 15%) +2025-09-15T14:20:37.130Z | [OTHER] | Attempt 338: Error rate 52.92% (target: 15%) +2025-09-15T14:20:37.132Z | [OTHER] | Attempt 339: Error rate 50% (target: 15%) +2025-09-15T14:20:37.133Z | [OTHER] | Attempt 340: Error rate 50.38% (target: 15%) +2025-09-15T14:20:37.135Z | [OTHER] | Attempt 341: Error rate 51.85% (target: 15%) +2025-09-15T14:20:37.138Z | [OTHER] | Attempt 342: Error rate 57.09% (target: 15%) +2025-09-15T14:20:37.141Z | [OTHER] | Attempt 343: Error rate 50% (target: 15%) +2025-09-15T14:20:37.143Z | [OTHER] | Attempt 344: Error rate 51.09% (target: 15%) +2025-09-15T14:20:37.146Z | [OTHER] | Attempt 345: Error rate 50% (target: 15%) +2025-09-15T14:20:37.147Z | [OTHER] | Attempt 346: Error rate 55.19% (target: 15%) +2025-09-15T14:20:37.149Z | [OTHER] | Attempt 347: Error rate 56.38% (target: 15%) +2025-09-15T14:20:37.151Z | [OTHER] | Attempt 348: Error rate 45.24% (target: 15%) +2025-09-15T14:20:37.152Z | [OTHER] | Attempt 349: Error rate 53.62% (target: 15%) +2025-09-15T14:20:37.154Z | [OTHER] | Attempt 350: Error rate 57.8% (target: 15%) +2025-09-15T14:20:37.156Z | [OTHER] | Attempt 351: Error rate 49.24% (target: 15%) +2025-09-15T14:20:37.157Z | [OTHER] | Attempt 352: Error rate 61.46% (target: 15%) +2025-09-15T14:20:37.159Z | [OTHER] | Attempt 353: Error rate 52.22% (target: 15%) +2025-09-15T14:20:37.160Z | [OTHER] | Attempt 354: Error rate 56.75% (target: 15%) +2025-09-15T14:20:37.162Z | [OTHER] | Attempt 355: Error rate 50.38% (target: 15%) +2025-09-15T14:20:37.163Z | [OTHER] | Attempt 356: Error rate 50.35% (target: 15%) +2025-09-15T14:20:37.165Z | [OTHER] | Attempt 357: Error rate 52.72% (target: 15%) +2025-09-15T14:20:37.167Z | [OTHER] | Attempt 358: Error rate 51.59% (target: 15%) +2025-09-15T14:20:37.169Z | [OTHER] | Attempt 359: Error rate 55.19% (target: 15%) +2025-09-15T14:20:37.171Z | [OTHER] | Attempt 360: Error rate 50.36% (target: 15%) +2025-09-15T14:20:37.172Z | [OTHER] | Attempt 361: Error rate 50.74% (target: 15%) +2025-09-15T14:20:37.175Z | [OTHER] | Attempt 362: Error rate 55.56% (target: 15%) +2025-09-15T14:20:37.176Z | [OTHER] | Attempt 363: Error rate 55.3% (target: 15%) +2025-09-15T14:20:37.178Z | [OTHER] | Attempt 364: Error rate 46.83% (target: 15%) +2025-09-15T14:20:37.180Z | [OTHER] | Attempt 365: Error rate 53.99% (target: 15%) +2025-09-15T14:20:37.181Z | [OTHER] | Attempt 366: Error rate 53.55% (target: 15%) +2025-09-15T14:20:37.182Z | [OTHER] | Attempt 367: Error rate 41.09% (target: 15%) +2025-09-15T14:20:37.184Z | [OTHER] | Attempt 368: Error rate 58.7% (target: 15%) +2025-09-15T14:20:37.186Z | [OTHER] | Attempt 369: Error rate 57.48% (target: 15%) +2025-09-15T14:20:37.188Z | [OTHER] | Attempt 370: Error rate 53.26% (target: 15%) +2025-09-15T14:20:37.189Z | [OTHER] | Attempt 371: Error rate 56.3% (target: 15%) +2025-09-15T14:20:37.191Z | [OTHER] | Attempt 372: Error rate 52.44% (target: 15%) +2025-09-15T14:20:37.193Z | [OTHER] | Attempt 373: Error rate 43.33% (target: 15%) +2025-09-15T14:20:37.194Z | [OTHER] | Attempt 374: Error rate 56.44% (target: 15%) +2025-09-15T14:20:37.195Z | [OTHER] | Attempt 375: Error rate 50.71% (target: 15%) +2025-09-15T14:20:37.197Z | [OTHER] | Attempt 376: Error rate 56.12% (target: 15%) +2025-09-15T14:20:37.199Z | [OTHER] | Attempt 377: Error rate 43.75% (target: 15%) +2025-09-15T14:20:37.200Z | [OTHER] | Attempt 378: Error rate 51.98% (target: 15%) +2025-09-15T14:20:37.202Z | [OTHER] | Attempt 379: Error rate 59.03% (target: 15%) +2025-09-15T14:20:37.204Z | [OTHER] | Attempt 380: Error rate 55.19% (target: 15%) +2025-09-15T14:20:37.205Z | [OTHER] | Attempt 381: Error rate 62.2% (target: 15%) +2025-09-15T14:20:37.208Z | [OTHER] | Attempt 382: Error rate 54.55% (target: 15%) +2025-09-15T14:20:37.209Z | [OTHER] | Attempt 383: Error rate 53.33% (target: 15%) +2025-09-15T14:20:37.211Z | [OTHER] | Attempt 384: Error rate 53.97% (target: 15%) +2025-09-15T14:20:37.212Z | [OTHER] | Attempt 385: Error rate 54.81% (target: 15%) +2025-09-15T14:20:37.214Z | [OTHER] | Attempt 386: Error rate 50.9% (target: 15%) +2025-09-15T14:20:37.215Z | [OTHER] | Attempt 387: Error rate 52.85% (target: 15%) +2025-09-15T14:20:37.217Z | [OTHER] | Attempt 388: Error rate 52.85% (target: 15%) +2025-09-15T14:20:37.218Z | [OTHER] | Attempt 389: Error rate 51.94% (target: 15%) +2025-09-15T14:20:37.220Z | [OTHER] | Attempt 390: Error rate 50.36% (target: 15%) +2025-09-15T14:20:37.221Z | [OTHER] | Attempt 391: Error rate 53.47% (target: 15%) +2025-09-15T14:20:37.223Z | [OTHER] | Attempt 392: Error rate 54.58% (target: 15%) +2025-09-15T14:20:37.224Z | [OTHER] | Attempt 393: Error rate 57.78% (target: 15%) +2025-09-15T14:20:37.226Z | [OTHER] | Attempt 394: Error rate 52.27% (target: 15%) +2025-09-15T14:20:37.227Z | [OTHER] | Attempt 395: Error rate 49.24% (target: 15%) +2025-09-15T14:20:37.229Z | [OTHER] | Attempt 396: Error rate 52.27% (target: 15%) +2025-09-15T14:20:37.230Z | [OTHER] | Attempt 397: Error rate 57.94% (target: 15%) +2025-09-15T14:20:37.232Z | [OTHER] | Attempt 398: Error rate 50% (target: 15%) +2025-09-15T14:20:37.238Z | [OTHER] | Attempt 399: Error rate 47.86% (target: 15%) +2025-09-15T14:20:37.241Z | [OTHER] | Attempt 400: Error rate 52.92% (target: 15%) +2025-09-15T14:20:37.243Z | [OTHER] | Attempt 401: Error rate 45.83% (target: 15%) +2025-09-15T14:20:37.248Z | [OTHER] | Attempt 402: Error rate 49.59% (target: 15%) +2025-09-15T14:20:37.252Z | [OTHER] | Attempt 403: Error rate 56.59% (target: 15%) +2025-09-15T14:20:37.254Z | [OTHER] | Attempt 404: Error rate 52.9% (target: 15%) +2025-09-15T14:20:37.256Z | [OTHER] | Attempt 405: Error rate 56.67% (target: 15%) +2025-09-15T14:20:37.259Z | [OTHER] | Attempt 406: Error rate 56.14% (target: 15%) +2025-09-15T14:20:37.261Z | [OTHER] | Attempt 407: Error rate 49.63% (target: 15%) +2025-09-15T14:20:37.263Z | [OTHER] | Attempt 408: Error rate 49.58% (target: 15%) +2025-09-15T14:20:37.265Z | [OTHER] | Attempt 409: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.267Z | [OTHER] | Attempt 410: Error rate 48.84% (target: 15%) +2025-09-15T14:20:37.269Z | [OTHER] | Attempt 411: Error rate 49.19% (target: 15%) +2025-09-15T14:20:37.272Z | [OTHER] | Attempt 412: Error rate 52.25% (target: 15%) +2025-09-15T14:20:37.274Z | [OTHER] | Attempt 413: Error rate 50% (target: 15%) +2025-09-15T14:20:37.277Z | [OTHER] | Attempt 414: Error rate 54.61% (target: 15%) +2025-09-15T14:20:37.279Z | [OTHER] | Attempt 415: Error rate 49.1% (target: 15%) +2025-09-15T14:20:37.281Z | [OTHER] | Attempt 416: Error rate 47% (target: 15%) +2025-09-15T14:20:37.284Z | [OTHER] | Attempt 417: Error rate 45.12% (target: 15%) +2025-09-15T14:20:37.286Z | [OTHER] | Attempt 418: Error rate 55.8% (target: 15%) +2025-09-15T14:20:37.287Z | [OTHER] | Attempt 419: Error rate 53.66% (target: 15%) +2025-09-15T14:20:37.289Z | [OTHER] | Attempt 420: Error rate 51.48% (target: 15%) +2025-09-15T14:20:37.291Z | [OTHER] | Attempt 421: Error rate 50% (target: 15%) +2025-09-15T14:20:37.293Z | [OTHER] | Attempt 422: Error rate 52.22% (target: 15%) +2025-09-15T14:20:37.296Z | [OTHER] | Attempt 423: Error rate 51.59% (target: 15%) +2025-09-15T14:20:37.298Z | [OTHER] | Attempt 424: Error rate 39.74% (target: 15%) +2025-09-15T14:20:37.301Z | [OTHER] | Attempt 425: Error rate 52.71% (target: 15%) +2025-09-15T14:20:37.303Z | [OTHER] | Attempt 426: Error rate 50.78% (target: 15%) +2025-09-15T14:20:37.305Z | [OTHER] | Attempt 427: Error rate 45.12% (target: 15%) +2025-09-15T14:20:37.308Z | [OTHER] | Attempt 428: Error rate 55.3% (target: 15%) +2025-09-15T14:20:37.313Z | [OTHER] | Attempt 429: Error rate 48.81% (target: 15%) +2025-09-15T14:20:37.314Z | [OTHER] | Attempt 430: Error rate 52.48% (target: 15%) +2025-09-15T14:20:37.316Z | [OTHER] | Attempt 431: Error rate 48.29% (target: 15%) +2025-09-15T14:20:37.317Z | [OTHER] | Attempt 432: Error rate 53.88% (target: 15%) +2025-09-15T14:20:37.319Z | [OTHER] | Attempt 433: Error rate 50.4% (target: 15%) +2025-09-15T14:20:37.321Z | [OTHER] | Attempt 434: Error rate 55.8% (target: 15%) +2025-09-15T14:20:37.322Z | [OTHER] | Attempt 435: Error rate 53.67% (target: 15%) +2025-09-15T14:20:37.324Z | [OTHER] | Attempt 436: Error rate 50.83% (target: 15%) +2025-09-15T14:20:37.326Z | [OTHER] | Attempt 437: Error rate 53.57% (target: 15%) +2025-09-15T14:20:37.327Z | [OTHER] | Attempt 438: Error rate 54.71% (target: 15%) +2025-09-15T14:20:37.329Z | [OTHER] | Attempt 439: Error rate 57.36% (target: 15%) +2025-09-15T14:20:37.331Z | [OTHER] | Attempt 440: Error rate 54.81% (target: 15%) +2025-09-15T14:20:37.332Z | [OTHER] | Attempt 441: Error rate 47.73% (target: 15%) +2025-09-15T14:20:37.334Z | [OTHER] | Attempt 442: Error rate 51.74% (target: 15%) +2025-09-15T14:20:37.335Z | [OTHER] | Attempt 443: Error rate 57.58% (target: 15%) +2025-09-15T14:20:37.338Z | [OTHER] | Attempt 444: Error rate 53.97% (target: 15%) +2025-09-15T14:20:37.339Z | [OTHER] | Attempt 445: Error rate 58.14% (target: 15%) +2025-09-15T14:20:37.341Z | [OTHER] | Attempt 446: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.343Z | [OTHER] | Attempt 447: Error rate 49.24% (target: 15%) +2025-09-15T14:20:37.344Z | [OTHER] | Attempt 448: Error rate 53.33% (target: 15%) +2025-09-15T14:20:37.348Z | [OTHER] | Attempt 449: Error rate 41.67% (target: 15%) +2025-09-15T14:20:37.349Z | [OTHER] | Attempt 450: Error rate 45.73% (target: 15%) +2025-09-15T14:20:37.351Z | [OTHER] | Attempt 451: Error rate 54.7% (target: 15%) +2025-09-15T14:20:37.353Z | [OTHER] | Attempt 452: Error rate 58.14% (target: 15%) +2025-09-15T14:20:37.355Z | [OTHER] | Attempt 453: Error rate 52.38% (target: 15%) +2025-09-15T14:20:37.356Z | [OTHER] | Attempt 454: Error rate 48.61% (target: 15%) +2025-09-15T14:20:37.358Z | [OTHER] | Attempt 455: Error rate 48.15% (target: 15%) +2025-09-15T14:20:37.359Z | [OTHER] | Attempt 456: Error rate 55.56% (target: 15%) +2025-09-15T14:20:37.361Z | [OTHER] | Attempt 457: Error rate 48.15% (target: 15%) +2025-09-15T14:20:37.363Z | [OTHER] | Attempt 458: Error rate 59.92% (target: 15%) +2025-09-15T14:20:37.364Z | [OTHER] | Attempt 459: Error rate 52.38% (target: 15%) +2025-09-15T14:20:37.366Z | [OTHER] | Attempt 460: Error rate 49.65% (target: 15%) +2025-09-15T14:20:37.368Z | [OTHER] | Attempt 461: Error rate 56.12% (target: 15%) +2025-09-15T14:20:37.369Z | [OTHER] | Attempt 462: Error rate 48.26% (target: 15%) +2025-09-15T14:20:37.371Z | [OTHER] | Attempt 463: Error rate 54.81% (target: 15%) +2025-09-15T14:20:37.373Z | [OTHER] | Attempt 464: Error rate 54.37% (target: 15%) +2025-09-15T14:20:37.375Z | [OTHER] | Attempt 465: Error rate 52.13% (target: 15%) +2025-09-15T14:20:37.377Z | [OTHER] | Attempt 466: Error rate 54.76% (target: 15%) +2025-09-15T14:20:37.378Z | [OTHER] | Attempt 467: Error rate 53.79% (target: 15%) +2025-09-15T14:20:37.380Z | [OTHER] | Attempt 468: Error rate 57.54% (target: 15%) +2025-09-15T14:20:37.382Z | [OTHER] | Attempt 469: Error rate 56.3% (target: 15%) +2025-09-15T14:20:37.383Z | [OTHER] | Attempt 470: Error rate 47.04% (target: 15%) +2025-09-15T14:20:37.387Z | [OTHER] | Attempt 471: Error rate 47.87% (target: 15%) +2025-09-15T14:20:37.388Z | [OTHER] | Attempt 472: Error rate 53.41% (target: 15%) +2025-09-15T14:20:37.390Z | [OTHER] | Attempt 473: Error rate 50.39% (target: 15%) +2025-09-15T14:20:37.391Z | [OTHER] | Attempt 474: Error rate 49.69% (target: 15%) +2025-09-15T14:20:37.393Z | [OTHER] | Attempt 475: Error rate 47.62% (target: 15%) +2025-09-15T14:20:37.394Z | [OTHER] | Attempt 476: Error rate 55.93% (target: 15%) +2025-09-15T14:20:37.396Z | [OTHER] | Attempt 477: Error rate 49.62% (target: 15%) +2025-09-15T14:20:37.398Z | [OTHER] | Attempt 478: Error rate 50% (target: 15%) +2025-09-15T14:20:37.400Z | [OTHER] | Attempt 479: Error rate 46.81% (target: 15%) +2025-09-15T14:20:37.401Z | [OTHER] | Attempt 480: Error rate 53.4% (target: 15%) +2025-09-15T14:20:37.403Z | [OTHER] | Attempt 481: Error rate 53.41% (target: 15%) +2025-09-15T14:20:37.405Z | [OTHER] | Attempt 482: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.406Z | [OTHER] | Attempt 483: Error rate 56.2% (target: 15%) +2025-09-15T14:20:37.409Z | [OTHER] | Attempt 484: Error rate 55.81% (target: 15%) +2025-09-15T14:20:37.411Z | [OTHER] | Attempt 485: Error rate 54.9% (target: 15%) +2025-09-15T14:20:37.412Z | [OTHER] | Attempt 486: Error rate 55.16% (target: 15%) +2025-09-15T14:20:37.414Z | [OTHER] | Attempt 487: Error rate 57.14% (target: 15%) +2025-09-15T14:20:37.416Z | [OTHER] | Attempt 488: Error rate 47.22% (target: 15%) +2025-09-15T14:20:37.417Z | [OTHER] | Attempt 489: Error rate 47.97% (target: 15%) +2025-09-15T14:20:37.419Z | [OTHER] | Attempt 490: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.422Z | [OTHER] | Attempt 491: Error rate 56.2% (target: 15%) +2025-09-15T14:20:37.424Z | [OTHER] | Attempt 492: Error rate 53.79% (target: 15%) +2025-09-15T14:20:37.425Z | [OTHER] | Attempt 493: Error rate 55.16% (target: 15%) +2025-09-15T14:20:37.427Z | [OTHER] | Attempt 494: Error rate 52.5% (target: 15%) +2025-09-15T14:20:37.428Z | [OTHER] | Attempt 495: Error rate 53.57% (target: 15%) +2025-09-15T14:20:37.430Z | [OTHER] | Attempt 496: Error rate 48.84% (target: 15%) +2025-09-15T14:20:37.432Z | [OTHER] | Attempt 497: Error rate 41.29% (target: 15%) +2025-09-15T14:20:37.433Z | [OTHER] | Attempt 498: Error rate 52.17% (target: 15%) +2025-09-15T14:20:37.435Z | [OTHER] | Attempt 499: Error rate 58.14% (target: 15%) +2025-09-15T14:20:37.437Z | [OTHER] | Attempt 500: Error rate 51.42% (target: 15%) +2025-09-15T14:20:37.438Z | [OTHER] | Attempt 501: Error rate 47.08% (target: 15%) +2025-09-15T14:20:37.440Z | [OTHER] | Attempt 502: Error rate 39.26% (target: 15%) +2025-09-15T14:20:37.441Z | [OTHER] | Attempt 503: Error rate 46.12% (target: 15%) +2025-09-15T14:20:37.444Z | [OTHER] | Attempt 504: Error rate 51.81% (target: 15%) +2025-09-15T14:20:37.447Z | [OTHER] | Attempt 505: Error rate 51.14% (target: 15%) +2025-09-15T14:20:37.448Z | [OTHER] | Attempt 506: Error rate 59.78% (target: 15%) +2025-09-15T14:20:37.450Z | [OTHER] | Attempt 507: Error rate 52.85% (target: 15%) +2025-09-15T14:20:37.452Z | [OTHER] | Attempt 508: Error rate 58.75% (target: 15%) +2025-09-15T14:20:37.453Z | [OTHER] | Attempt 509: Error rate 55.28% (target: 15%) +2025-09-15T14:20:37.455Z | [OTHER] | Attempt 510: Error rate 51.28% (target: 15%) +2025-09-15T14:20:37.456Z | [OTHER] | Attempt 511: Error rate 46.74% (target: 15%) +2025-09-15T14:20:37.458Z | [OTHER] | Attempt 512: Error rate 51.14% (target: 15%) +2025-09-15T14:20:37.459Z | [OTHER] | Attempt 513: Error rate 57.95% (target: 15%) +2025-09-15T14:20:37.461Z | [OTHER] | Attempt 514: Error rate 52.27% (target: 15%) +2025-09-15T14:20:37.463Z | [OTHER] | Attempt 515: Error rate 54.86% (target: 15%) +2025-09-15T14:20:37.464Z | [OTHER] | Attempt 516: Error rate 53.07% (target: 15%) +2025-09-15T14:20:37.466Z | [OTHER] | Attempt 517: Error rate 48.89% (target: 15%) +2025-09-15T14:20:37.467Z | [OTHER] | Attempt 518: Error rate 55.9% (target: 15%) +2025-09-15T14:20:37.469Z | [OTHER] | Attempt 519: Error rate 58.94% (target: 15%) +2025-09-15T14:20:37.471Z | [OTHER] | Attempt 520: Error rate 50.35% (target: 15%) +2025-09-15T14:20:37.472Z | [OTHER] | Attempt 521: Error rate 44.57% (target: 15%) +2025-09-15T14:20:37.474Z | [OTHER] | Attempt 522: Error rate 48.84% (target: 15%) +2025-09-15T14:20:37.476Z | [OTHER] | Attempt 523: Error rate 51.67% (target: 15%) +2025-09-15T14:20:37.479Z | [OTHER] | Attempt 524: Error rate 51.45% (target: 15%) +2025-09-15T14:20:37.480Z | [OTHER] | Attempt 525: Error rate 51.02% (target: 15%) +2025-09-15T14:20:37.482Z | [OTHER] | Attempt 526: Error rate 55.13% (target: 15%) +2025-09-15T14:20:37.484Z | [OTHER] | Attempt 527: Error rate 51.67% (target: 15%) +2025-09-15T14:20:37.485Z | [OTHER] | Attempt 528: Error rate 52.17% (target: 15%) +2025-09-15T14:20:37.486Z | [OTHER] | Attempt 529: Error rate 52.22% (target: 15%) +2025-09-15T14:20:37.488Z | [OTHER] | Attempt 530: Error rate 50% (target: 15%) +2025-09-15T14:20:37.490Z | [OTHER] | Attempt 531: Error rate 53.99% (target: 15%) +2025-09-15T14:20:37.491Z | [OTHER] | Attempt 532: Error rate 52.25% (target: 15%) +2025-09-15T14:20:37.493Z | [OTHER] | Attempt 533: Error rate 47.22% (target: 15%) +2025-09-15T14:20:37.494Z | [OTHER] | Attempt 534: Error rate 50% (target: 15%) +2025-09-15T14:20:37.496Z | [OTHER] | Attempt 535: Error rate 47.41% (target: 15%) +2025-09-15T14:20:37.497Z | [OTHER] | Attempt 536: Error rate 50% (target: 15%) +2025-09-15T14:20:37.499Z | [OTHER] | Attempt 537: Error rate 57.94% (target: 15%) +2025-09-15T14:20:37.501Z | [OTHER] | Attempt 538: Error rate 58.54% (target: 15%) +2025-09-15T14:20:37.502Z | [OTHER] | Attempt 539: Error rate 54.55% (target: 15%) +2025-09-15T14:20:37.504Z | [OTHER] | Attempt 540: Error rate 47.33% (target: 15%) +2025-09-15T14:20:37.506Z | [OTHER] | Attempt 541: Error rate 59.06% (target: 15%) +2025-09-15T14:20:37.508Z | [OTHER] | Attempt 542: Error rate 59.06% (target: 15%) +2025-09-15T14:20:37.509Z | [OTHER] | Attempt 543: Error rate 53.97% (target: 15%) +2025-09-15T14:20:37.511Z | [OTHER] | Attempt 544: Error rate 50% (target: 15%) +2025-09-15T14:20:37.513Z | [OTHER] | Attempt 545: Error rate 51.11% (target: 15%) +2025-09-15T14:20:37.515Z | [OTHER] | Attempt 546: Error rate 57.78% (target: 15%) +2025-09-15T14:20:37.516Z | [OTHER] | Attempt 547: Error rate 50.36% (target: 15%) +2025-09-15T14:20:37.517Z | [OTHER] | Attempt 548: Error rate 45.42% (target: 15%) +2025-09-15T14:20:37.519Z | [OTHER] | Attempt 549: Error rate 48.58% (target: 15%) +2025-09-15T14:20:37.520Z | [OTHER] | Attempt 550: Error rate 50% (target: 15%) +2025-09-15T14:20:37.522Z | [OTHER] | Attempt 551: Error rate 47.22% (target: 15%) +2025-09-15T14:20:37.523Z | [OTHER] | Attempt 552: Error rate 53.03% (target: 15%) +2025-09-15T14:20:37.525Z | [OTHER] | Attempt 553: Error rate 48.91% (target: 15%) +2025-09-15T14:20:37.527Z | [OTHER] | Attempt 554: Error rate 51.74% (target: 15%) +2025-09-15T14:20:37.528Z | [OTHER] | Attempt 555: Error rate 57.09% (target: 15%) +2025-09-15T14:20:37.530Z | [OTHER] | Attempt 556: Error rate 57.94% (target: 15%) +2025-09-15T14:20:37.531Z | [OTHER] | Attempt 557: Error rate 51.02% (target: 15%) +2025-09-15T14:20:37.532Z | [OTHER] | Attempt 558: Error rate 46.3% (target: 15%) +2025-09-15T14:20:37.534Z | [OTHER] | Attempt 559: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.535Z | [OTHER] | Attempt 560: Error rate 52.9% (target: 15%) +2025-09-15T14:20:37.537Z | [OTHER] | Attempt 561: Error rate 54.92% (target: 15%) +2025-09-15T14:20:37.539Z | [OTHER] | Attempt 562: Error rate 57.36% (target: 15%) +2025-09-15T14:20:37.540Z | [OTHER] | Attempt 563: Error rate 52.44% (target: 15%) +2025-09-15T14:20:37.542Z | [OTHER] | Attempt 564: Error rate 48.84% (target: 15%) +2025-09-15T14:20:37.544Z | [OTHER] | Attempt 565: Error rate 52.59% (target: 15%) +2025-09-15T14:20:37.545Z | [OTHER] | Attempt 566: Error rate 46.67% (target: 15%) +2025-09-15T14:20:37.547Z | [OTHER] | Attempt 567: Error rate 50% (target: 15%) +2025-09-15T14:20:37.548Z | [OTHER] | Attempt 568: Error rate 46.83% (target: 15%) +2025-09-15T14:20:37.550Z | [OTHER] | Attempt 569: Error rate 50.4% (target: 15%) +2025-09-15T14:20:37.551Z | [OTHER] | Attempt 570: Error rate 56.91% (target: 15%) +2025-09-15T14:20:37.553Z | [OTHER] | Attempt 571: Error rate 47.62% (target: 15%) +2025-09-15T14:20:37.554Z | [OTHER] | Attempt 572: Error rate 51.89% (target: 15%) +2025-09-15T14:20:37.556Z | [OTHER] | Attempt 573: Error rate 57.45% (target: 15%) +2025-09-15T14:20:37.557Z | [OTHER] | Attempt 574: Error rate 53.17% (target: 15%) +2025-09-15T14:20:37.559Z | [OTHER] | Attempt 575: Error rate 44.7% (target: 15%) +2025-09-15T14:20:37.560Z | [OTHER] | Attempt 576: Error rate 45.93% (target: 15%) +2025-09-15T14:20:37.562Z | [OTHER] | Attempt 577: Error rate 53.41% (target: 15%) +2025-09-15T14:20:37.563Z | [OTHER] | Attempt 578: Error rate 47.08% (target: 15%) +2025-09-15T14:20:37.565Z | [OTHER] | Attempt 579: Error rate 56.75% (target: 15%) +2025-09-15T14:20:37.567Z | [OTHER] | Attempt 580: Error rate 45.35% (target: 15%) +2025-09-15T14:20:37.568Z | [OTHER] | Attempt 581: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.570Z | [OTHER] | Attempt 582: Error rate 50.83% (target: 15%) +2025-09-15T14:20:37.572Z | [OTHER] | Attempt 583: Error rate 56.16% (target: 15%) +2025-09-15T14:20:37.573Z | [OTHER] | Attempt 584: Error rate 42.86% (target: 15%) +2025-09-15T14:20:37.575Z | [OTHER] | Attempt 585: Error rate 52.9% (target: 15%) +2025-09-15T14:20:37.577Z | [OTHER] | Attempt 586: Error rate 54.7% (target: 15%) +2025-09-15T14:20:37.579Z | [OTHER] | Attempt 587: Error rate 53.55% (target: 15%) +2025-09-15T14:20:37.580Z | [OTHER] | Attempt 588: Error rate 51.48% (target: 15%) +2025-09-15T14:20:37.582Z | [OTHER] | Attempt 589: Error rate 49.19% (target: 15%) +2025-09-15T14:20:37.584Z | [OTHER] | Attempt 590: Error rate 51.59% (target: 15%) +2025-09-15T14:20:37.586Z | [OTHER] | Attempt 591: Error rate 48.37% (target: 15%) +2025-09-15T14:20:37.587Z | [OTHER] | Attempt 592: Error rate 54% (target: 15%) +2025-09-15T14:20:37.589Z | [OTHER] | Attempt 593: Error rate 49.58% (target: 15%) +2025-09-15T14:20:37.590Z | [OTHER] | Attempt 594: Error rate 57.04% (target: 15%) +2025-09-15T14:20:37.592Z | [OTHER] | Attempt 595: Error rate 57.72% (target: 15%) +2025-09-15T14:20:37.593Z | [OTHER] | Attempt 596: Error rate 51.42% (target: 15%) +2025-09-15T14:20:37.595Z | [OTHER] | Attempt 597: Error rate 51.19% (target: 15%) +2025-09-15T14:20:37.596Z | [OTHER] | Attempt 598: Error rate 40.94% (target: 15%) +2025-09-15T14:20:37.598Z | [OTHER] | Attempt 599: Error rate 42.31% (target: 15%) +2025-09-15T14:20:37.599Z | [OTHER] | Attempt 600: Error rate 53.74% (target: 15%) +2025-09-15T14:20:37.601Z | [OTHER] | Attempt 601: Error rate 50.37% (target: 15%) +2025-09-15T14:20:37.602Z | [OTHER] | Attempt 602: Error rate 55.04% (target: 15%) +2025-09-15T14:20:37.604Z | [OTHER] | Attempt 603: Error rate 49.64% (target: 15%) +2025-09-15T14:20:37.605Z | [OTHER] | Attempt 604: Error rate 54.07% (target: 15%) +2025-09-15T14:20:37.606Z | [OTHER] | Attempt 605: Error rate 50.78% (target: 15%) +2025-09-15T14:20:37.609Z | [OTHER] | Attempt 606: Error rate 50% (target: 15%) +2025-09-15T14:20:37.611Z | [OTHER] | Attempt 607: Error rate 51.06% (target: 15%) +2025-09-15T14:20:37.612Z | [OTHER] | Attempt 608: Error rate 47.29% (target: 15%) +2025-09-15T14:20:37.613Z | [OTHER] | Attempt 609: Error rate 53.1% (target: 15%) +2025-09-15T14:20:37.615Z | [OTHER] | Attempt 610: Error rate 54.58% (target: 15%) +2025-09-15T14:20:37.617Z | [OTHER] | Attempt 611: Error rate 51.63% (target: 15%) +2025-09-15T14:20:37.618Z | [OTHER] | Attempt 612: Error rate 57.78% (target: 15%) +2025-09-15T14:20:37.620Z | [OTHER] | Attempt 613: Error rate 57.97% (target: 15%) +2025-09-15T14:20:37.621Z | [OTHER] | Attempt 614: Error rate 56.3% (target: 15%) +2025-09-15T14:20:37.623Z | [OTHER] | Attempt 615: Error rate 52.33% (target: 15%) +2025-09-15T14:20:37.624Z | [OTHER] | Attempt 616: Error rate 51.81% (target: 15%) +2025-09-15T14:20:37.626Z | [OTHER] | Attempt 617: Error rate 54.37% (target: 15%) +2025-09-15T14:20:37.627Z | [OTHER] | Attempt 618: Error rate 52.56% (target: 15%) +2025-09-15T14:20:37.629Z | [OTHER] | Attempt 619: Error rate 45.73% (target: 15%) +2025-09-15T14:20:37.630Z | [OTHER] | Attempt 620: Error rate 48.55% (target: 15%) +2025-09-15T14:20:37.632Z | [OTHER] | Attempt 621: Error rate 50.35% (target: 15%) +2025-09-15T14:20:37.633Z | [OTHER] | Attempt 622: Error rate 52.33% (target: 15%) +2025-09-15T14:20:37.635Z | [OTHER] | Attempt 623: Error rate 50.35% (target: 15%) +2025-09-15T14:20:37.636Z | [OTHER] | Attempt 624: Error rate 54.81% (target: 15%) +2025-09-15T14:20:37.638Z | [OTHER] | Attempt 625: Error rate 48.58% (target: 15%) +2025-09-15T14:20:37.640Z | [OTHER] | Attempt 626: Error rate 54.07% (target: 15%) +2025-09-15T14:20:37.642Z | [OTHER] | Attempt 627: Error rate 54.44% (target: 15%) +2025-09-15T14:20:37.643Z | [OTHER] | Attempt 628: Error rate 60.74% (target: 15%) +2025-09-15T14:20:37.645Z | [OTHER] | Attempt 629: Error rate 57.99% (target: 15%) +2025-09-15T14:20:37.646Z | [OTHER] | Attempt 630: Error rate 52.33% (target: 15%) +2025-09-15T14:20:37.648Z | [OTHER] | Attempt 631: Error rate 53.79% (target: 15%) +2025-09-15T14:20:37.649Z | [OTHER] | Attempt 632: Error rate 46.9% (target: 15%) +2025-09-15T14:20:37.651Z | [OTHER] | Attempt 633: Error rate 47.87% (target: 15%) +2025-09-15T14:20:37.652Z | [OTHER] | Attempt 634: Error rate 48.58% (target: 15%) +2025-09-15T14:20:37.654Z | [OTHER] | Attempt 635: Error rate 52.38% (target: 15%) +2025-09-15T14:20:37.655Z | [OTHER] | Attempt 636: Error rate 51.22% (target: 15%) +2025-09-15T14:20:37.657Z | [OTHER] | Attempt 637: Error rate 55.07% (target: 15%) +2025-09-15T14:20:37.658Z | [OTHER] | Attempt 638: Error rate 46.51% (target: 15%) +2025-09-15T14:20:37.660Z | [OTHER] | Attempt 639: Error rate 53.88% (target: 15%) +2025-09-15T14:20:37.661Z | [OTHER] | Attempt 640: Error rate 57.25% (target: 15%) +2025-09-15T14:20:37.663Z | [OTHER] | Attempt 641: Error rate 49.6% (target: 15%) +2025-09-15T14:20:37.664Z | [OTHER] | Attempt 642: Error rate 55.19% (target: 15%) +2025-09-15T14:20:37.666Z | [OTHER] | Attempt 643: Error rate 52.96% (target: 15%) +2025-09-15T14:20:37.668Z | [OTHER] | Attempt 644: Error rate 45.18% (target: 15%) +2025-09-15T14:20:37.669Z | [OTHER] | Attempt 645: Error rate 52.33% (target: 15%) +2025-09-15T14:20:37.672Z | [OTHER] | Attempt 646: Error rate 51.74% (target: 15%) +2025-09-15T14:20:37.673Z | [OTHER] | Attempt 647: Error rate 50% (target: 15%) +2025-09-15T14:20:37.675Z | [OTHER] | Attempt 648: Error rate 54.65% (target: 15%) +2025-09-15T14:20:37.677Z | [OTHER] | Attempt 649: Error rate 55.69% (target: 15%) +2025-09-15T14:20:37.678Z | [OTHER] | Attempt 650: Error rate 51.81% (target: 15%) +2025-09-15T14:20:37.680Z | [OTHER] | Attempt 651: Error rate 57.2% (target: 15%) +2025-09-15T14:20:37.681Z | [OTHER] | Attempt 652: Error rate 50.81% (target: 15%) +2025-09-15T14:20:37.683Z | [OTHER] | Attempt 653: Error rate 47.83% (target: 15%) +2025-09-15T14:20:37.684Z | [OTHER] | Attempt 654: Error rate 60.71% (target: 15%) +2025-09-15T14:20:37.685Z | [OTHER] | Attempt 655: Error rate 54.07% (target: 15%) +2025-09-15T14:20:37.687Z | [OTHER] | Attempt 656: Error rate 58.91% (target: 15%) +2025-09-15T14:20:37.689Z | [OTHER] | Attempt 657: Error rate 51.22% (target: 15%) +2025-09-15T14:20:37.690Z | [OTHER] | Attempt 658: Error rate 48.06% (target: 15%) +2025-09-15T14:20:37.691Z | [OTHER] | Attempt 659: Error rate 39.43% (target: 15%) +2025-09-15T14:20:37.693Z | [OTHER] | Attempt 660: Error rate 55.43% (target: 15%) +2025-09-15T14:20:37.695Z | [OTHER] | Attempt 661: Error rate 48.48% (target: 15%) +2025-09-15T14:20:37.696Z | [OTHER] | Attempt 662: Error rate 49.6% (target: 15%) +2025-09-15T14:20:37.697Z | [OTHER] | Attempt 663: Error rate 55.3% (target: 15%) +2025-09-15T14:20:37.699Z | [OTHER] | Attempt 664: Error rate 53.06% (target: 15%) +2025-09-15T14:20:37.701Z | [OTHER] | Attempt 665: Error rate 46.97% (target: 15%) +2025-09-15T14:20:37.702Z | [OTHER] | Attempt 666: Error rate 53.49% (target: 15%) +2025-09-15T14:20:37.705Z | [OTHER] | Attempt 667: Error rate 55.83% (target: 15%) +2025-09-15T14:20:37.706Z | [OTHER] | Attempt 668: Error rate 44.44% (target: 15%) +2025-09-15T14:20:37.708Z | [OTHER] | Attempt 669: Error rate 49.33% (target: 15%) +2025-09-15T14:20:37.709Z | [OTHER] | Attempt 670: Error rate 56.03% (target: 15%) +2025-09-15T14:20:37.711Z | [OTHER] | Attempt 671: Error rate 57.2% (target: 15%) +2025-09-15T14:20:37.713Z | [OTHER] | Attempt 672: Error rate 43.09% (target: 15%) +2025-09-15T14:20:37.714Z | [OTHER] | Attempt 673: Error rate 48.19% (target: 15%) +2025-09-15T14:20:37.715Z | [OTHER] | Attempt 674: Error rate 43.25% (target: 15%) +2025-09-15T14:20:37.717Z | [OTHER] | Attempt 675: Error rate 53.1% (target: 15%) +2025-09-15T14:20:37.719Z | [OTHER] | Attempt 676: Error rate 55.56% (target: 15%) +2025-09-15T14:20:37.720Z | [OTHER] | Attempt 677: Error rate 53.03% (target: 15%) +2025-09-15T14:20:37.722Z | [OTHER] | Attempt 678: Error rate 54.17% (target: 15%) +2025-09-15T14:20:37.723Z | [OTHER] | Attempt 679: Error rate 58.94% (target: 15%) +2025-09-15T14:20:37.725Z | [OTHER] | Attempt 680: Error rate 57.2% (target: 15%) +2025-09-15T14:20:37.726Z | [OTHER] | Attempt 681: Error rate 46.67% (target: 15%) +2025-09-15T14:20:37.728Z | [OTHER] | Attempt 682: Error rate 51.06% (target: 15%) +2025-09-15T14:20:37.729Z | [OTHER] | Attempt 683: Error rate 51.89% (target: 15%) +2025-09-15T14:20:37.731Z | [OTHER] | Attempt 684: Error rate 51.89% (target: 15%) +2025-09-15T14:20:37.732Z | [OTHER] | Attempt 685: Error rate 53.19% (target: 15%) +2025-09-15T14:20:37.734Z | [OTHER] | Attempt 686: Error rate 55.21% (target: 15%) +2025-09-15T14:20:37.737Z | [OTHER] | Attempt 687: Error rate 55.8% (target: 15%) +2025-09-15T14:20:37.738Z | [OTHER] | Attempt 688: Error rate 51.45% (target: 15%) +2025-09-15T14:20:37.740Z | [OTHER] | Attempt 689: Error rate 48.55% (target: 15%) +2025-09-15T14:20:37.741Z | [OTHER] | Attempt 690: Error rate 46.58% (target: 15%) +2025-09-15T14:20:37.743Z | [OTHER] | Attempt 691: Error rate 53.41% (target: 15%) +2025-09-15T14:20:37.744Z | [OTHER] | Attempt 692: Error rate 52.04% (target: 15%) +2025-09-15T14:20:37.746Z | [OTHER] | Attempt 693: Error rate 50% (target: 15%) +2025-09-15T14:20:37.747Z | [OTHER] | Attempt 694: Error rate 45.74% (target: 15%) +2025-09-15T14:20:37.749Z | [OTHER] | Attempt 695: Error rate 55.8% (target: 15%) +2025-09-15T14:20:37.751Z | [OTHER] | Attempt 696: Error rate 52.44% (target: 15%) +2025-09-15T14:20:37.752Z | [OTHER] | Attempt 697: Error rate 53.17% (target: 15%) +2025-09-15T14:20:37.754Z | [OTHER] | Attempt 698: Error rate 55.26% (target: 15%) +2025-09-15T14:20:37.755Z | [OTHER] | Attempt 699: Error rate 45.83% (target: 15%) +2025-09-15T14:20:37.757Z | [OTHER] | Attempt 700: Error rate 44.33% (target: 15%) +2025-09-15T14:20:37.758Z | [OTHER] | Attempt 701: Error rate 50.83% (target: 15%) +2025-09-15T14:20:37.760Z | [OTHER] | Attempt 702: Error rate 49.59% (target: 15%) +2025-09-15T14:20:37.761Z | [OTHER] | Attempt 703: Error rate 47.5% (target: 15%) +2025-09-15T14:20:37.763Z | [OTHER] | Attempt 704: Error rate 51.11% (target: 15%) +2025-09-15T14:20:37.764Z | [OTHER] | Attempt 705: Error rate 53.57% (target: 15%) +2025-09-15T14:20:37.766Z | [OTHER] | Attempt 706: Error rate 53.47% (target: 15%) +2025-09-15T14:20:37.769Z | [OTHER] | Attempt 707: Error rate 52.71% (target: 15%) +2025-09-15T14:20:37.770Z | [OTHER] | Attempt 708: Error rate 63.68% (target: 15%) +2025-09-15T14:20:37.772Z | [OTHER] | Attempt 709: Error rate 51.74% (target: 15%) +2025-09-15T14:20:37.773Z | [OTHER] | Attempt 710: Error rate 54.61% (target: 15%) +2025-09-15T14:20:37.775Z | [OTHER] | Attempt 711: Error rate 47.08% (target: 15%) +2025-09-15T14:20:37.776Z | [OTHER] | Attempt 712: Error rate 61.25% (target: 15%) +2025-09-15T14:20:37.778Z | [OTHER] | Attempt 713: Error rate 48.45% (target: 15%) +2025-09-15T14:20:37.780Z | [OTHER] | Attempt 714: Error rate 55.19% (target: 15%) +2025-09-15T14:20:37.781Z | [OTHER] | Attempt 715: Error rate 48.15% (target: 15%) +2025-09-15T14:20:37.783Z | [OTHER] | Attempt 716: Error rate 46.9% (target: 15%) +2025-09-15T14:20:37.784Z | [OTHER] | Attempt 717: Error rate 50.71% (target: 15%) +2025-09-15T14:20:37.786Z | [OTHER] | Attempt 718: Error rate 58.16% (target: 15%) +2025-09-15T14:20:37.787Z | [OTHER] | Attempt 719: Error rate 58.13% (target: 15%) +2025-09-15T14:20:37.789Z | [OTHER] | Attempt 720: Error rate 43.97% (target: 15%) +2025-09-15T14:20:37.790Z | [OTHER] | Attempt 721: Error rate 51.52% (target: 15%) +2025-09-15T14:20:37.792Z | [OTHER] | Attempt 722: Error rate 59.3% (target: 15%) +2025-09-15T14:20:37.793Z | [OTHER] | Attempt 723: Error rate 52.92% (target: 15%) +2025-09-15T14:20:37.795Z | [OTHER] | Attempt 724: Error rate 51.55% (target: 15%) +2025-09-15T14:20:37.797Z | [OTHER] | Attempt 725: Error rate 51.14% (target: 15%) +2025-09-15T14:20:37.798Z | [OTHER] | Attempt 726: Error rate 54.47% (target: 15%) +2025-09-15T14:20:37.800Z | [OTHER] | Attempt 727: Error rate 57.95% (target: 15%) +2025-09-15T14:20:37.802Z | [OTHER] | Attempt 728: Error rate 50.36% (target: 15%) +2025-09-15T14:20:37.804Z | [OTHER] | Attempt 729: Error rate 42.36% (target: 15%) +2025-09-15T14:20:37.805Z | [OTHER] | Attempt 730: Error rate 54.51% (target: 15%) +2025-09-15T14:20:37.807Z | [OTHER] | Attempt 731: Error rate 57.2% (target: 15%) +2025-09-15T14:20:37.809Z | [OTHER] | Attempt 732: Error rate 51.48% (target: 15%) +2025-09-15T14:20:37.810Z | [OTHER] | Attempt 733: Error rate 52.48% (target: 15%) +2025-09-15T14:20:37.812Z | [OTHER] | Attempt 734: Error rate 48.26% (target: 15%) +2025-09-15T14:20:37.813Z | [OTHER] | Attempt 735: Error rate 52.22% (target: 15%) +2025-09-15T14:20:37.815Z | [OTHER] | Attempt 736: Error rate 46.21% (target: 15%) +2025-09-15T14:20:37.817Z | [OTHER] | Attempt 737: Error rate 51.77% (target: 15%) +2025-09-15T14:20:37.818Z | [OTHER] | Attempt 738: Error rate 45.35% (target: 15%) +2025-09-15T14:20:37.820Z | [OTHER] | Attempt 739: Error rate 47.87% (target: 15%) +2025-09-15T14:20:37.821Z | [OTHER] | Attempt 740: Error rate 51.55% (target: 15%) +2025-09-15T14:20:37.823Z | [OTHER] | Attempt 741: Error rate 48.06% (target: 15%) +2025-09-15T14:20:37.824Z | [OTHER] | Attempt 742: Error rate 54.39% (target: 15%) +2025-09-15T14:20:37.826Z | [OTHER] | Attempt 743: Error rate 62.12% (target: 15%) +2025-09-15T14:20:37.827Z | [OTHER] | Attempt 744: Error rate 48.94% (target: 15%) +2025-09-15T14:20:37.829Z | [OTHER] | Attempt 745: Error rate 54.96% (target: 15%) +2025-09-15T14:20:37.830Z | [OTHER] | Attempt 746: Error rate 49.63% (target: 15%) +2025-09-15T14:20:37.832Z | [OTHER] | Attempt 747: Error rate 48.84% (target: 15%) +2025-09-15T14:20:37.835Z | [OTHER] | Attempt 748: Error rate 48.78% (target: 15%) +2025-09-15T14:20:37.836Z | [OTHER] | Attempt 749: Error rate 49.59% (target: 15%) +2025-09-15T14:20:37.837Z | [OTHER] | Attempt 750: Error rate 43.65% (target: 15%) +2025-09-15T14:20:37.839Z | [OTHER] | Attempt 751: Error rate 53.26% (target: 15%) +2025-09-15T14:20:37.841Z | [OTHER] | Attempt 752: Error rate 58.16% (target: 15%) +2025-09-15T14:20:37.842Z | [OTHER] | Attempt 753: Error rate 51.19% (target: 15%) +2025-09-15T14:20:37.844Z | [OTHER] | Attempt 754: Error rate 50.39% (target: 15%) +2025-09-15T14:20:37.846Z | [OTHER] | Attempt 755: Error rate 48.11% (target: 15%) +2025-09-15T14:20:37.847Z | [OTHER] | Attempt 756: Error rate 45.04% (target: 15%) +2025-09-15T14:20:37.849Z | [OTHER] | Attempt 757: Error rate 49.15% (target: 15%) +2025-09-15T14:20:37.851Z | [OTHER] | Attempt 758: Error rate 52.59% (target: 15%) +2025-09-15T14:20:37.852Z | [OTHER] | Attempt 759: Error rate 56.6% (target: 15%) +2025-09-15T14:20:37.854Z | [OTHER] | Attempt 760: Error rate 45.53% (target: 15%) +2025-09-15T14:20:37.855Z | [OTHER] | Attempt 761: Error rate 54.26% (target: 15%) +2025-09-15T14:20:37.857Z | [OTHER] | Attempt 762: Error rate 56.82% (target: 15%) +2025-09-15T14:20:37.858Z | [OTHER] | Attempt 763: Error rate 50.78% (target: 15%) +2025-09-15T14:20:37.860Z | [OTHER] | Attempt 764: Error rate 53.9% (target: 15%) +2025-09-15T14:20:37.861Z | [OTHER] | Attempt 765: Error rate 51.59% (target: 15%) +2025-09-15T14:20:37.863Z | [OTHER] | Attempt 766: Error rate 53.03% (target: 15%) +2025-09-15T14:20:37.865Z | [OTHER] | Attempt 767: Error rate 49.6% (target: 15%) +2025-09-15T14:20:37.867Z | [OTHER] | Attempt 768: Error rate 53.42% (target: 15%) +2025-09-15T14:20:37.869Z | [OTHER] | Attempt 769: Error rate 56.84% (target: 15%) +2025-09-15T14:20:37.870Z | [OTHER] | Attempt 770: Error rate 52.48% (target: 15%) +2025-09-15T14:20:37.872Z | [OTHER] | Attempt 771: Error rate 56.46% (target: 15%) +2025-09-15T14:20:37.874Z | [OTHER] | Attempt 772: Error rate 51.04% (target: 15%) +2025-09-15T14:20:37.876Z | [OTHER] | Attempt 773: Error rate 46.34% (target: 15%) +2025-09-15T14:20:37.877Z | [OTHER] | Attempt 774: Error rate 54.37% (target: 15%) +2025-09-15T14:20:37.879Z | [OTHER] | Attempt 775: Error rate 49.59% (target: 15%) +2025-09-15T14:20:37.880Z | [OTHER] | Attempt 776: Error rate 53.99% (target: 15%) +2025-09-15T14:20:37.882Z | [OTHER] | Attempt 777: Error rate 57.29% (target: 15%) +2025-09-15T14:20:37.883Z | [OTHER] | Attempt 778: Error rate 59.33% (target: 15%) +2025-09-15T14:20:37.885Z | [OTHER] | Attempt 779: Error rate 43.02% (target: 15%) +2025-09-15T14:20:37.887Z | [OTHER] | Attempt 780: Error rate 50.79% (target: 15%) +2025-09-15T14:20:37.888Z | [OTHER] | Attempt 781: Error rate 47.41% (target: 15%) +2025-09-15T14:20:37.890Z | [OTHER] | Attempt 782: Error rate 58.53% (target: 15%) +2025-09-15T14:20:37.891Z | [OTHER] | Attempt 783: Error rate 49.22% (target: 15%) +2025-09-15T14:20:37.893Z | [OTHER] | Attempt 784: Error rate 55.3% (target: 15%) +2025-09-15T14:20:37.895Z | [OTHER] | Attempt 785: Error rate 44.44% (target: 15%) +2025-09-15T14:20:37.896Z | [OTHER] | Attempt 786: Error rate 55.07% (target: 15%) +2025-09-15T14:20:37.898Z | [OTHER] | Attempt 787: Error rate 60.71% (target: 15%) +2025-09-15T14:20:37.900Z | [OTHER] | Attempt 788: Error rate 49.6% (target: 15%) +2025-09-15T14:20:37.902Z | [OTHER] | Attempt 789: Error rate 54.92% (target: 15%) +2025-09-15T14:20:37.904Z | [OTHER] | Attempt 790: Error rate 50.74% (target: 15%) +2025-09-15T14:20:37.905Z | [OTHER] | Attempt 791: Error rate 43.41% (target: 15%) +2025-09-15T14:20:37.907Z | [OTHER] | Attempt 792: Error rate 48.48% (target: 15%) +2025-09-15T14:20:37.909Z | [OTHER] | Attempt 793: Error rate 46.97% (target: 15%) +2025-09-15T14:20:37.910Z | [OTHER] | Attempt 794: Error rate 56.67% (target: 15%) +2025-09-15T14:20:37.912Z | [OTHER] | Attempt 795: Error rate 53.41% (target: 15%) +2025-09-15T14:20:37.914Z | [OTHER] | Attempt 796: Error rate 55.43% (target: 15%) +2025-09-15T14:20:37.915Z | [OTHER] | Attempt 797: Error rate 44.57% (target: 15%) +2025-09-15T14:20:37.917Z | [OTHER] | Attempt 798: Error rate 53.26% (target: 15%) +2025-09-15T14:20:37.919Z | [OTHER] | Attempt 799: Error rate 54.92% (target: 15%) +2025-09-15T14:20:37.921Z | [OTHER] | Attempt 800: Error rate 48.15% (target: 15%) +2025-09-15T14:20:37.922Z | [OTHER] | Attempt 801: Error rate 59.93% (target: 15%) +2025-09-15T14:20:37.924Z | [OTHER] | Attempt 802: Error rate 50% (target: 15%) +2025-09-15T14:20:37.925Z | [OTHER] | Attempt 803: Error rate 42.96% (target: 15%) +2025-09-15T14:20:37.927Z | [OTHER] | Attempt 804: Error rate 51.19% (target: 15%) +2025-09-15T14:20:37.928Z | [OTHER] | Attempt 805: Error rate 43.18% (target: 15%) +2025-09-15T14:20:37.930Z | [OTHER] | Attempt 806: Error rate 51.52% (target: 15%) +2025-09-15T14:20:37.932Z | [OTHER] | Attempt 807: Error rate 60.14% (target: 15%) +2025-09-15T14:20:37.934Z | [OTHER] | Attempt 808: Error rate 38.74% (target: 15%) +2025-09-15T14:20:37.936Z | [OTHER] | Attempt 809: Error rate 57.54% (target: 15%) +2025-09-15T14:20:37.938Z | [OTHER] | Attempt 810: Error rate 57.04% (target: 15%) +2025-09-15T14:20:37.944Z | [OTHER] | Attempt 811: Error rate 53.66% (target: 15%) +2025-09-15T14:20:37.946Z | [OTHER] | Attempt 812: Error rate 44.87% (target: 15%) +2025-09-15T14:20:37.950Z | [OTHER] | Attempt 813: Error rate 63.6% (target: 15%) +2025-09-15T14:20:37.952Z | [OTHER] | Attempt 814: Error rate 51.14% (target: 15%) +2025-09-15T14:20:37.955Z | [OTHER] | Attempt 815: Error rate 53.82% (target: 15%) +2025-09-15T14:20:37.957Z | [OTHER] | Attempt 816: Error rate 54.35% (target: 15%) +2025-09-15T14:20:37.960Z | [OTHER] | Attempt 817: Error rate 51.48% (target: 15%) +2025-09-15T14:20:37.962Z | [OTHER] | Attempt 818: Error rate 54.61% (target: 15%) +2025-09-15T14:20:37.971Z | [OTHER] | Attempt 819: Error rate 51.89% (target: 15%) +2025-09-15T14:20:37.977Z | [OTHER] | Attempt 820: Error rate 60.32% (target: 15%) +2025-09-15T14:20:37.981Z | [OTHER] | Attempt 821: Error rate 50.72% (target: 15%) +2025-09-15T14:20:37.989Z | [OTHER] | Attempt 822: Error rate 50.33% (target: 15%) +2025-09-15T14:20:37.993Z | [OTHER] | Attempt 823: Error rate 48.45% (target: 15%) +2025-09-15T14:20:37.997Z | [OTHER] | Attempt 824: Error rate 49.65% (target: 15%) +2025-09-15T14:20:38.001Z | [OTHER] | Attempt 825: Error rate 47.57% (target: 15%) +2025-09-15T14:20:38.006Z | [OTHER] | Attempt 826: Error rate 52.19% (target: 15%) +2025-09-15T14:20:38.011Z | [OTHER] | Attempt 827: Error rate 52.59% (target: 15%) +2025-09-15T14:20:38.013Z | [OTHER] | Attempt 828: Error rate 55.1% (target: 15%) +2025-09-15T14:20:38.018Z | [OTHER] | Attempt 829: Error rate 65.22% (target: 15%) +2025-09-15T14:20:38.020Z | [OTHER] | Attempt 830: Error rate 43.41% (target: 15%) +2025-09-15T14:20:38.022Z | [OTHER] | Attempt 831: Error rate 54.07% (target: 15%) +2025-09-15T14:20:38.024Z | [OTHER] | Attempt 832: Error rate 55.3% (target: 15%) +2025-09-15T14:20:38.025Z | [OTHER] | Attempt 833: Error rate 46.18% (target: 15%) +2025-09-15T14:20:38.027Z | [OTHER] | Attempt 834: Error rate 54.55% (target: 15%) +2025-09-15T14:20:38.029Z | [OTHER] | Attempt 835: Error rate 59.03% (target: 15%) +2025-09-15T14:20:38.031Z | [OTHER] | Attempt 836: Error rate 51.11% (target: 15%) +2025-09-15T14:20:38.033Z | [OTHER] | Attempt 837: Error rate 45.83% (target: 15%) +2025-09-15T14:20:38.036Z | [OTHER] | Attempt 838: Error rate 44.93% (target: 15%) +2025-09-15T14:20:38.039Z | [OTHER] | Attempt 839: Error rate 52.59% (target: 15%) +2025-09-15T14:20:38.042Z | [OTHER] | Attempt 840: Error rate 51.14% (target: 15%) +2025-09-15T14:20:38.044Z | [OTHER] | Attempt 841: Error rate 51.36% (target: 15%) +2025-09-15T14:20:38.046Z | [OTHER] | Attempt 842: Error rate 44.31% (target: 15%) +2025-09-15T14:20:38.048Z | [OTHER] | Attempt 843: Error rate 50.39% (target: 15%) +2025-09-15T14:20:38.049Z | [OTHER] | Attempt 844: Error rate 44.57% (target: 15%) +2025-09-15T14:20:38.051Z | [OTHER] | Attempt 845: Error rate 52.92% (target: 15%) +2025-09-15T14:20:38.053Z | [OTHER] | Attempt 846: Error rate 55.43% (target: 15%) +2025-09-15T14:20:38.055Z | [OTHER] | Attempt 847: Error rate 54.17% (target: 15%) +2025-09-15T14:20:38.056Z | [OTHER] | Attempt 848: Error rate 44.32% (target: 15%) +2025-09-15T14:20:38.059Z | [OTHER] | Attempt 849: Error rate 51.81% (target: 15%) +2025-09-15T14:20:38.060Z | [OTHER] | Attempt 850: Error rate 52.48% (target: 15%) +2025-09-15T14:20:38.062Z | [OTHER] | Attempt 851: Error rate 52.22% (target: 15%) +2025-09-15T14:20:38.064Z | [OTHER] | Attempt 852: Error rate 47.52% (target: 15%) +2025-09-15T14:20:38.066Z | [OTHER] | Attempt 853: Error rate 56.2% (target: 15%) +2025-09-15T14:20:38.067Z | [OTHER] | Attempt 854: Error rate 52.22% (target: 15%) +2025-09-15T14:20:38.069Z | [OTHER] | Attempt 855: Error rate 43.02% (target: 15%) +2025-09-15T14:20:38.071Z | [OTHER] | Attempt 856: Error rate 43.7% (target: 15%) +2025-09-15T14:20:38.073Z | [OTHER] | Attempt 857: Error rate 51.11% (target: 15%) +2025-09-15T14:20:38.075Z | [OTHER] | Attempt 858: Error rate 40.24% (target: 15%) +2025-09-15T14:20:38.077Z | [OTHER] | Attempt 859: Error rate 59.93% (target: 15%) +2025-09-15T14:20:38.078Z | [OTHER] | Attempt 860: Error rate 54.33% (target: 15%) +2025-09-15T14:20:38.080Z | [OTHER] | Attempt 861: Error rate 53.7% (target: 15%) +2025-09-15T14:20:38.081Z | [OTHER] | Attempt 862: Error rate 53.66% (target: 15%) +2025-09-15T14:20:38.083Z | [OTHER] | Attempt 863: Error rate 52.71% (target: 15%) +2025-09-15T14:20:38.085Z | [OTHER] | Attempt 864: Error rate 45.29% (target: 15%) +2025-09-15T14:20:38.086Z | [OTHER] | Attempt 865: Error rate 53.06% (target: 15%) +2025-09-15T14:20:38.088Z | [OTHER] | Attempt 866: Error rate 57.54% (target: 15%) +2025-09-15T14:20:38.090Z | [OTHER] | Attempt 867: Error rate 54.47% (target: 15%) +2025-09-15T14:20:38.091Z | [OTHER] | Attempt 868: Error rate 48.11% (target: 15%) +2025-09-15T14:20:38.094Z | [OTHER] | Attempt 869: Error rate 53.17% (target: 15%) +2025-09-15T14:20:38.096Z | [OTHER] | Attempt 870: Error rate 58.53% (target: 15%) +2025-09-15T14:20:38.097Z | [OTHER] | Attempt 871: Error rate 53.7% (target: 15%) +2025-09-15T14:20:38.099Z | [OTHER] | Attempt 872: Error rate 58.73% (target: 15%) +2025-09-15T14:20:38.101Z | [OTHER] | Attempt 873: Error rate 57.94% (target: 15%) +2025-09-15T14:20:38.102Z | [OTHER] | Attempt 874: Error rate 43.33% (target: 15%) +2025-09-15T14:20:38.104Z | [OTHER] | Attempt 875: Error rate 46.6% (target: 15%) +2025-09-15T14:20:38.106Z | [OTHER] | Attempt 876: Error rate 48.89% (target: 15%) +2025-09-15T14:20:38.107Z | [OTHER] | Attempt 877: Error rate 59.52% (target: 15%) +2025-09-15T14:20:38.109Z | [OTHER] | Attempt 878: Error rate 56.75% (target: 15%) +2025-09-15T14:20:38.110Z | [OTHER] | Attempt 879: Error rate 42.18% (target: 15%) +2025-09-15T14:20:38.112Z | [OTHER] | Attempt 880: Error rate 51.59% (target: 15%) +2025-09-15T14:20:38.114Z | [OTHER] | Attempt 881: Error rate 52.92% (target: 15%) +2025-09-15T14:20:38.115Z | [OTHER] | Attempt 882: Error rate 47.46% (target: 15%) +2025-09-15T14:20:38.117Z | [OTHER] | Attempt 883: Error rate 49.24% (target: 15%) +2025-09-15T14:20:38.119Z | [OTHER] | Attempt 884: Error rate 49.31% (target: 15%) +2025-09-15T14:20:38.120Z | [OTHER] | Attempt 885: Error rate 52.27% (target: 15%) +2025-09-15T14:20:38.122Z | [OTHER] | Attempt 886: Error rate 54.51% (target: 15%) +2025-09-15T14:20:38.123Z | [OTHER] | Attempt 887: Error rate 60.23% (target: 15%) +2025-09-15T14:20:38.125Z | [OTHER] | Attempt 888: Error rate 46.43% (target: 15%) +2025-09-15T14:20:38.127Z | [OTHER] | Attempt 889: Error rate 58.33% (target: 15%) +2025-09-15T14:20:38.129Z | [OTHER] | Attempt 890: Error rate 54.26% (target: 15%) +2025-09-15T14:20:38.131Z | [OTHER] | Attempt 891: Error rate 43.09% (target: 15%) +2025-09-15T14:20:38.132Z | [OTHER] | Attempt 892: Error rate 58.15% (target: 15%) +2025-09-15T14:20:38.134Z | [OTHER] | Attempt 893: Error rate 49.64% (target: 15%) +2025-09-15T14:20:38.135Z | [OTHER] | Attempt 894: Error rate 59.26% (target: 15%) +2025-09-15T14:20:38.137Z | [OTHER] | Attempt 895: Error rate 62.02% (target: 15%) +2025-09-15T14:20:38.139Z | [OTHER] | Attempt 896: Error rate 50.72% (target: 15%) +2025-09-15T14:20:38.140Z | [OTHER] | Attempt 897: Error rate 59.3% (target: 15%) +2025-09-15T14:20:38.142Z | [OTHER] | Attempt 898: Error rate 54.37% (target: 15%) +2025-09-15T14:20:38.144Z | [OTHER] | Attempt 899: Error rate 58.71% (target: 15%) +2025-09-15T14:20:38.146Z | [OTHER] | Attempt 900: Error rate 48.81% (target: 15%) +2025-09-15T14:20:38.147Z | [OTHER] | Attempt 901: Error rate 60.74% (target: 15%) +2025-09-15T14:20:38.149Z | [OTHER] | Attempt 902: Error rate 50.83% (target: 15%) +2025-09-15T14:20:38.151Z | [OTHER] | Attempt 903: Error rate 48.15% (target: 15%) +2025-09-15T14:20:38.153Z | [OTHER] | Attempt 904: Error rate 50.74% (target: 15%) +2025-09-15T14:20:38.155Z | [OTHER] | Attempt 905: Error rate 56.67% (target: 15%) +2025-09-15T14:20:38.156Z | [OTHER] | Attempt 906: Error rate 48.91% (target: 15%) +2025-09-15T14:20:38.158Z | [OTHER] | Attempt 907: Error rate 52.78% (target: 15%) +2025-09-15T14:20:38.160Z | [OTHER] | Attempt 908: Error rate 62.3% (target: 15%) +2025-09-15T14:20:38.163Z | [OTHER] | Attempt 909: Error rate 60.74% (target: 15%) +2025-09-15T14:20:38.164Z | [OTHER] | Attempt 910: Error rate 50% (target: 15%) +2025-09-15T14:20:38.166Z | [OTHER] | Attempt 911: Error rate 56.35% (target: 15%) +2025-09-15T14:20:38.168Z | [OTHER] | Attempt 912: Error rate 56.1% (target: 15%) +2025-09-15T14:20:38.170Z | [OTHER] | Attempt 913: Error rate 52.27% (target: 15%) +2025-09-15T14:20:38.171Z | [OTHER] | Attempt 914: Error rate 46.33% (target: 15%) +2025-09-15T14:20:38.173Z | [OTHER] | Attempt 915: Error rate 50% (target: 15%) +2025-09-15T14:20:38.175Z | [OTHER] | Attempt 916: Error rate 55.68% (target: 15%) +2025-09-15T14:20:38.177Z | [OTHER] | Attempt 917: Error rate 56.3% (target: 15%) +2025-09-15T14:20:38.179Z | [OTHER] | Attempt 918: Error rate 44.1% (target: 15%) +2025-09-15T14:20:38.180Z | [OTHER] | Attempt 919: Error rate 46.15% (target: 15%) +2025-09-15T14:20:38.182Z | [OTHER] | Attempt 920: Error rate 61.9% (target: 15%) +2025-09-15T14:20:38.184Z | [OTHER] | Attempt 921: Error rate 54.26% (target: 15%) +2025-09-15T14:20:38.186Z | [OTHER] | Attempt 922: Error rate 49.22% (target: 15%) +2025-09-15T14:20:38.187Z | [OTHER] | Attempt 923: Error rate 52.48% (target: 15%) +2025-09-15T14:20:38.189Z | [OTHER] | Attempt 924: Error rate 52.5% (target: 15%) +2025-09-15T14:20:38.191Z | [OTHER] | Attempt 925: Error rate 55.67% (target: 15%) +2025-09-15T14:20:38.192Z | [OTHER] | Attempt 926: Error rate 55.16% (target: 15%) +2025-09-15T14:20:38.194Z | [OTHER] | Attempt 927: Error rate 58.73% (target: 15%) +2025-09-15T14:20:38.195Z | [OTHER] | Attempt 928: Error rate 51.06% (target: 15%) +2025-09-15T14:20:38.197Z | [OTHER] | Attempt 929: Error rate 55.98% (target: 15%) +2025-09-15T14:20:38.199Z | [OTHER] | Attempt 930: Error rate 48.06% (target: 15%) +2025-09-15T14:20:38.200Z | [OTHER] | Attempt 931: Error rate 54.96% (target: 15%) +2025-09-15T14:20:38.202Z | [OTHER] | Attempt 932: Error rate 53.17% (target: 15%) +2025-09-15T14:20:38.204Z | [OTHER] | Attempt 933: Error rate 49.22% (target: 15%) +2025-09-15T14:20:38.205Z | [OTHER] | Attempt 934: Error rate 63.12% (target: 15%) +2025-09-15T14:20:38.207Z | [OTHER] | Attempt 935: Error rate 54.81% (target: 15%) +2025-09-15T14:20:38.209Z | [OTHER] | Attempt 936: Error rate 49.19% (target: 15%) +2025-09-15T14:20:38.211Z | [OTHER] | Attempt 937: Error rate 59.92% (target: 15%) +2025-09-15T14:20:38.212Z | [OTHER] | Attempt 938: Error rate 55.04% (target: 15%) +2025-09-15T14:20:38.214Z | [OTHER] | Attempt 939: Error rate 51.52% (target: 15%) +2025-09-15T14:20:38.216Z | [OTHER] | Attempt 940: Error rate 51.19% (target: 15%) +2025-09-15T14:20:38.217Z | [OTHER] | Attempt 941: Error rate 47.41% (target: 15%) +2025-09-15T14:20:38.219Z | [OTHER] | Attempt 942: Error rate 44.96% (target: 15%) +2025-09-15T14:20:38.221Z | [OTHER] | Attempt 943: Error rate 46.1% (target: 15%) +2025-09-15T14:20:38.222Z | [OTHER] | Attempt 944: Error rate 47.83% (target: 15%) +2025-09-15T14:20:38.224Z | [OTHER] | Attempt 945: Error rate 54.37% (target: 15%) +2025-09-15T14:20:38.226Z | [OTHER] | Attempt 946: Error rate 54.07% (target: 15%) +2025-09-15T14:20:38.228Z | [OTHER] | Attempt 947: Error rate 51.16% (target: 15%) +2025-09-15T14:20:38.230Z | [OTHER] | Attempt 948: Error rate 54.35% (target: 15%) +2025-09-15T14:20:38.231Z | [OTHER] | Attempt 949: Error rate 52.33% (target: 15%) +2025-09-15T14:20:38.234Z | [OTHER] | Attempt 950: Error rate 49.26% (target: 15%) +2025-09-15T14:20:38.236Z | [OTHER] | Attempt 951: Error rate 53.26% (target: 15%) +2025-09-15T14:20:38.237Z | [OTHER] | Attempt 952: Error rate 46.85% (target: 15%) +2025-09-15T14:20:38.240Z | [OTHER] | Attempt 953: Error rate 43.84% (target: 15%) +2025-09-15T14:20:38.242Z | [OTHER] | Attempt 954: Error rate 47.87% (target: 15%) +2025-09-15T14:20:38.243Z | [OTHER] | Attempt 955: Error rate 43.84% (target: 15%) +2025-09-15T14:20:38.245Z | [OTHER] | Attempt 956: Error rate 55.81% (target: 15%) +2025-09-15T14:20:38.247Z | [OTHER] | Attempt 957: Error rate 49.65% (target: 15%) +2025-09-15T14:20:38.249Z | [OTHER] | Attempt 958: Error rate 47.29% (target: 15%) +2025-09-15T14:20:38.250Z | [OTHER] | Attempt 959: Error rate 54.7% (target: 15%) +2025-09-15T14:20:38.252Z | [OTHER] | Attempt 960: Error rate 47.15% (target: 15%) +2025-09-15T14:20:38.254Z | [OTHER] | Attempt 961: Error rate 49.28% (target: 15%) +2025-09-15T14:20:38.255Z | [OTHER] | Attempt 962: Error rate 51.19% (target: 15%) +2025-09-15T14:20:38.257Z | [OTHER] | Attempt 963: Error rate 52.65% (target: 15%) +2025-09-15T14:20:38.259Z | [OTHER] | Attempt 964: Error rate 54.51% (target: 15%) +2025-09-15T14:20:38.260Z | [OTHER] | Attempt 965: Error rate 56.91% (target: 15%) +2025-09-15T14:20:38.262Z | [OTHER] | Attempt 966: Error rate 50.34% (target: 15%) +2025-09-15T14:20:38.264Z | [OTHER] | Attempt 967: Error rate 58.7% (target: 15%) +2025-09-15T14:20:38.266Z | [OTHER] | Attempt 968: Error rate 59.63% (target: 15%) +2025-09-15T14:20:38.267Z | [OTHER] | Attempt 969: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.269Z | [OTHER] | Attempt 970: Error rate 57.41% (target: 15%) +2025-09-15T14:20:38.271Z | [OTHER] | Attempt 971: Error rate 50.43% (target: 15%) +2025-09-15T14:20:38.273Z | [OTHER] | Attempt 972: Error rate 48.81% (target: 15%) +2025-09-15T14:20:38.274Z | [OTHER] | Attempt 973: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.276Z | [OTHER] | Attempt 974: Error rate 56.75% (target: 15%) +2025-09-15T14:20:38.278Z | [OTHER] | Attempt 975: Error rate 52.84% (target: 15%) +2025-09-15T14:20:38.279Z | [OTHER] | Attempt 976: Error rate 56.35% (target: 15%) +2025-09-15T14:20:38.281Z | [OTHER] | Attempt 977: Error rate 48.15% (target: 15%) +2025-09-15T14:20:38.283Z | [OTHER] | Attempt 978: Error rate 52.59% (target: 15%) +2025-09-15T14:20:38.285Z | [OTHER] | Attempt 979: Error rate 57.61% (target: 15%) +2025-09-15T14:20:38.286Z | [OTHER] | Attempt 980: Error rate 57.54% (target: 15%) +2025-09-15T14:20:38.288Z | [OTHER] | Attempt 981: Error rate 49.66% (target: 15%) +2025-09-15T14:20:38.290Z | [OTHER] | Attempt 982: Error rate 54.37% (target: 15%) +2025-09-15T14:20:38.292Z | [OTHER] | Attempt 983: Error rate 47.22% (target: 15%) +2025-09-15T14:20:38.294Z | [OTHER] | Attempt 984: Error rate 45.65% (target: 15%) +2025-09-15T14:20:38.295Z | [OTHER] | Attempt 985: Error rate 56.1% (target: 15%) +2025-09-15T14:20:38.297Z | [OTHER] | Attempt 986: Error rate 53.03% (target: 15%) +2025-09-15T14:20:38.299Z | [OTHER] | Attempt 987: Error rate 44.93% (target: 15%) +2025-09-15T14:20:38.301Z | [OTHER] | Attempt 988: Error rate 48.52% (target: 15%) +2025-09-15T14:20:38.303Z | [OTHER] | Attempt 989: Error rate 55.43% (target: 15%) +2025-09-15T14:20:38.305Z | [OTHER] | Attempt 990: Error rate 54.26% (target: 15%) +2025-09-15T14:20:38.306Z | [OTHER] | Attempt 991: Error rate 55.04% (target: 15%) +2025-09-15T14:20:38.309Z | [OTHER] | Attempt 992: Error rate 45.93% (target: 15%) +2025-09-15T14:20:38.310Z | [OTHER] | Attempt 993: Error rate 52.43% (target: 15%) +2025-09-15T14:20:38.312Z | [OTHER] | Attempt 994: Error rate 60.14% (target: 15%) +2025-09-15T14:20:38.314Z | [OTHER] | Attempt 995: Error rate 49.12% (target: 15%) +2025-09-15T14:20:38.316Z | [OTHER] | Attempt 996: Error rate 50.4% (target: 15%) +2025-09-15T14:20:38.317Z | [OTHER] | Attempt 997: Error rate 51.63% (target: 15%) +2025-09-15T14:20:38.319Z | [OTHER] | Attempt 998: Error rate 57.21% (target: 15%) +2025-09-15T14:20:38.321Z | [OTHER] | Attempt 999: Error rate 41.29% (target: 15%) +2025-09-15T14:20:38.323Z | [OTHER] | Attempt 1000: Error rate 48.86% (target: 15%) +2025-09-15T14:20:38.325Z | [OTHER] | Attempt 1001: Error rate 51.19% (target: 15%) +2025-09-15T14:20:38.327Z | [OTHER] | Attempt 1002: Error rate 51.67% (target: 15%) +2025-09-15T14:20:38.328Z | [OTHER] | Attempt 1003: Error rate 50.37% (target: 15%) +2025-09-15T14:20:38.330Z | [OTHER] | Attempt 1004: Error rate 48.15% (target: 15%) +2025-09-15T14:20:38.332Z | [OTHER] | Attempt 1005: Error rate 58.8% (target: 15%) +2025-09-15T14:20:38.334Z | [OTHER] | Attempt 1006: Error rate 49.21% (target: 15%) +2025-09-15T14:20:38.336Z | [OTHER] | Attempt 1007: Error rate 53.75% (target: 15%) +2025-09-15T14:20:38.338Z | [OTHER] | Attempt 1008: Error rate 61.11% (target: 15%) +2025-09-15T14:20:38.340Z | [OTHER] | Attempt 1009: Error rate 47.29% (target: 15%) +2025-09-15T14:20:38.341Z | [OTHER] | Attempt 1010: Error rate 51.14% (target: 15%) +2025-09-15T14:20:38.343Z | [OTHER] | Attempt 1011: Error rate 51.19% (target: 15%) +2025-09-15T14:20:38.345Z | [OTHER] | Attempt 1012: Error rate 52.59% (target: 15%) +2025-09-15T14:20:38.347Z | [OTHER] | Attempt 1013: Error rate 50.38% (target: 15%) +2025-09-15T14:20:38.349Z | [OTHER] | Attempt 1014: Error rate 49.32% (target: 15%) +2025-09-15T14:20:38.350Z | [OTHER] | Attempt 1015: Error rate 50% (target: 15%) +2025-09-15T14:20:38.352Z | [OTHER] | Attempt 1016: Error rate 47.78% (target: 15%) +2025-09-15T14:20:38.354Z | [OTHER] | Attempt 1017: Error rate 52.65% (target: 15%) +2025-09-15T14:20:38.356Z | [OTHER] | Attempt 1018: Error rate 52.13% (target: 15%) +2025-09-15T14:20:38.359Z | [OTHER] | Attempt 1019: Error rate 59.06% (target: 15%) +2025-09-15T14:20:38.361Z | [OTHER] | Attempt 1020: Error rate 51.19% (target: 15%) +2025-09-15T14:20:38.362Z | [OTHER] | Attempt 1021: Error rate 42.05% (target: 15%) +2025-09-15T14:20:38.364Z | [OTHER] | Attempt 1022: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.366Z | [OTHER] | Attempt 1023: Error rate 50% (target: 15%) +2025-09-15T14:20:38.368Z | [OTHER] | Attempt 1024: Error rate 55.56% (target: 15%) +2025-09-15T14:20:38.369Z | [OTHER] | Attempt 1025: Error rate 49.63% (target: 15%) +2025-09-15T14:20:38.371Z | [OTHER] | Attempt 1026: Error rate 43.9% (target: 15%) +2025-09-15T14:20:38.373Z | [OTHER] | Attempt 1027: Error rate 54.7% (target: 15%) +2025-09-15T14:20:38.375Z | [OTHER] | Attempt 1028: Error rate 56.58% (target: 15%) +2025-09-15T14:20:38.377Z | [OTHER] | Attempt 1029: Error rate 36.39% (target: 15%) +2025-09-15T14:20:38.378Z | [OTHER] | Attempt 1030: Error rate 48.89% (target: 15%) +2025-09-15T14:20:38.380Z | [OTHER] | Attempt 1031: Error rate 54.65% (target: 15%) +2025-09-15T14:20:38.382Z | [OTHER] | Attempt 1032: Error rate 54.96% (target: 15%) +2025-09-15T14:20:38.384Z | [OTHER] | Attempt 1033: Error rate 44.72% (target: 15%) +2025-09-15T14:20:38.387Z | [OTHER] | Attempt 1034: Error rate 55.56% (target: 15%) +2025-09-15T14:20:38.388Z | [OTHER] | Attempt 1035: Error rate 54.7% (target: 15%) +2025-09-15T14:20:38.391Z | [OTHER] | Attempt 1036: Error rate 48.94% (target: 15%) +2025-09-15T14:20:38.392Z | [OTHER] | Attempt 1037: Error rate 51.42% (target: 15%) +2025-09-15T14:20:38.394Z | [OTHER] | Attempt 1038: Error rate 44.44% (target: 15%) +2025-09-15T14:20:38.396Z | [OTHER] | Attempt 1039: Error rate 53.57% (target: 15%) +2025-09-15T14:20:38.398Z | [OTHER] | Attempt 1040: Error rate 45.83% (target: 15%) +2025-09-15T14:20:38.399Z | [OTHER] | Attempt 1041: Error rate 50.83% (target: 15%) +2025-09-15T14:20:38.401Z | [OTHER] | Attempt 1042: Error rate 59.63% (target: 15%) +2025-09-15T14:20:38.403Z | [OTHER] | Attempt 1043: Error rate 59.21% (target: 15%) +2025-09-15T14:20:38.404Z | [OTHER] | Attempt 1044: Error rate 53.49% (target: 15%) +2025-09-15T14:20:38.406Z | [OTHER] | Attempt 1045: Error rate 57.54% (target: 15%) +2025-09-15T14:20:38.408Z | [OTHER] | Attempt 1046: Error rate 55.81% (target: 15%) +2025-09-15T14:20:38.410Z | [OTHER] | Attempt 1047: Error rate 57.08% (target: 15%) +2025-09-15T14:20:38.412Z | [OTHER] | Attempt 1048: Error rate 53.88% (target: 15%) +2025-09-15T14:20:38.413Z | [OTHER] | Attempt 1049: Error rate 57.58% (target: 15%) +2025-09-15T14:20:38.416Z | [OTHER] | Attempt 1050: Error rate 48.89% (target: 15%) +2025-09-15T14:20:38.418Z | [OTHER] | Attempt 1051: Error rate 57.8% (target: 15%) +2025-09-15T14:20:38.420Z | [OTHER] | Attempt 1052: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.422Z | [OTHER] | Attempt 1053: Error rate 51.45% (target: 15%) +2025-09-15T14:20:38.424Z | [OTHER] | Attempt 1054: Error rate 55.67% (target: 15%) +2025-09-15T14:20:38.426Z | [OTHER] | Attempt 1055: Error rate 67.86% (target: 15%) +2025-09-15T14:20:38.428Z | [OTHER] | Attempt 1056: Error rate 56.03% (target: 15%) +2025-09-15T14:20:38.430Z | [OTHER] | Attempt 1057: Error rate 42.75% (target: 15%) +2025-09-15T14:20:38.432Z | [OTHER] | Attempt 1058: Error rate 52.17% (target: 15%) +2025-09-15T14:20:38.434Z | [OTHER] | Attempt 1059: Error rate 53.82% (target: 15%) +2025-09-15T14:20:38.436Z | [OTHER] | Attempt 1060: Error rate 40.48% (target: 15%) +2025-09-15T14:20:38.438Z | [OTHER] | Attempt 1061: Error rate 48.25% (target: 15%) +2025-09-15T14:20:38.440Z | [OTHER] | Attempt 1062: Error rate 47.22% (target: 15%) +2025-09-15T14:20:38.442Z | [OTHER] | Attempt 1063: Error rate 49.17% (target: 15%) +2025-09-15T14:20:38.443Z | [OTHER] | Attempt 1064: Error rate 51.67% (target: 15%) +2025-09-15T14:20:38.445Z | [OTHER] | Attempt 1065: Error rate 43.84% (target: 15%) +2025-09-15T14:20:38.447Z | [OTHER] | Attempt 1066: Error rate 53.55% (target: 15%) +2025-09-15T14:20:38.449Z | [OTHER] | Attempt 1067: Error rate 55.19% (target: 15%) +2025-09-15T14:20:38.451Z | [OTHER] | Attempt 1068: Error rate 57.25% (target: 15%) +2025-09-15T14:20:38.452Z | [OTHER] | Attempt 1069: Error rate 53.26% (target: 15%) +2025-09-15T14:20:38.454Z | [OTHER] | Attempt 1070: Error rate 47.83% (target: 15%) +2025-09-15T14:20:38.456Z | [OTHER] | Attempt 1071: Error rate 56.25% (target: 15%) +2025-09-15T14:20:38.458Z | [OTHER] | Attempt 1072: Error rate 53.42% (target: 15%) +2025-09-15T14:20:38.459Z | [OTHER] | Attempt 1073: Error rate 50% (target: 15%) +2025-09-15T14:20:38.461Z | [OTHER] | Attempt 1074: Error rate 51.32% (target: 15%) +2025-09-15T14:20:38.464Z | [OTHER] | Attempt 1075: Error rate 53.57% (target: 15%) +2025-09-15T14:20:38.465Z | [OTHER] | Attempt 1076: Error rate 55.56% (target: 15%) +2025-09-15T14:20:38.467Z | [OTHER] | Attempt 1077: Error rate 53.25% (target: 15%) +2025-09-15T14:20:38.469Z | [OTHER] | Attempt 1078: Error rate 57.95% (target: 15%) +2025-09-15T14:20:38.471Z | [OTHER] | Attempt 1079: Error rate 56.98% (target: 15%) +2025-09-15T14:20:38.472Z | [OTHER] | Attempt 1080: Error rate 56.44% (target: 15%) +2025-09-15T14:20:38.474Z | [OTHER] | Attempt 1081: Error rate 55.9% (target: 15%) +2025-09-15T14:20:38.476Z | [OTHER] | Attempt 1082: Error rate 56.52% (target: 15%) +2025-09-15T14:20:38.478Z | [OTHER] | Attempt 1083: Error rate 41.5% (target: 15%) +2025-09-15T14:20:38.479Z | [OTHER] | Attempt 1084: Error rate 43.24% (target: 15%) +2025-09-15T14:20:38.482Z | [OTHER] | Attempt 1085: Error rate 54.17% (target: 15%) +2025-09-15T14:20:38.484Z | [OTHER] | Attempt 1086: Error rate 47.97% (target: 15%) +2025-09-15T14:20:38.486Z | [OTHER] | Attempt 1087: Error rate 43.86% (target: 15%) +2025-09-15T14:20:38.488Z | [OTHER] | Attempt 1088: Error rate 54.17% (target: 15%) +2025-09-15T14:20:38.490Z | [OTHER] | Attempt 1089: Error rate 47.04% (target: 15%) +2025-09-15T14:20:38.491Z | [OTHER] | Attempt 1090: Error rate 53.7% (target: 15%) +2025-09-15T14:20:38.494Z | [OTHER] | Attempt 1091: Error rate 54.86% (target: 15%) +2025-09-15T14:20:38.495Z | [OTHER] | Attempt 1092: Error rate 48.45% (target: 15%) +2025-09-15T14:20:38.497Z | [OTHER] | Attempt 1093: Error rate 52.85% (target: 15%) +2025-09-15T14:20:38.499Z | [OTHER] | Attempt 1094: Error rate 58.54% (target: 15%) +2025-09-15T14:20:38.501Z | [OTHER] | Attempt 1095: Error rate 53.25% (target: 15%) +2025-09-15T14:20:38.502Z | [OTHER] | Attempt 1096: Error rate 51.55% (target: 15%) +2025-09-15T14:20:38.504Z | [OTHER] | Attempt 1097: Error rate 57.41% (target: 15%) +2025-09-15T14:20:38.506Z | [OTHER] | Attempt 1098: Error rate 53.49% (target: 15%) +2025-09-15T14:20:38.508Z | [OTHER] | Attempt 1099: Error rate 50% (target: 15%) +2025-09-15T14:20:38.510Z | [OTHER] | Attempt 1100: Error rate 49.64% (target: 15%) +2025-09-15T14:20:38.512Z | [OTHER] | Attempt 1101: Error rate 54.55% (target: 15%) +2025-09-15T14:20:38.514Z | [OTHER] | Attempt 1102: Error rate 42.5% (target: 15%) +2025-09-15T14:20:38.515Z | [OTHER] | Attempt 1103: Error rate 50.81% (target: 15%) +2025-09-15T14:20:38.517Z | [OTHER] | Attempt 1104: Error rate 53.79% (target: 15%) +2025-09-15T14:20:38.519Z | [OTHER] | Attempt 1105: Error rate 52.22% (target: 15%) +2025-09-15T14:20:38.521Z | [OTHER] | Attempt 1106: Error rate 44.44% (target: 15%) +2025-09-15T14:20:38.523Z | [OTHER] | Attempt 1107: Error rate 45.18% (target: 15%) +2025-09-15T14:20:38.525Z | [OTHER] | Attempt 1108: Error rate 49.12% (target: 15%) +2025-09-15T14:20:38.527Z | [OTHER] | Attempt 1109: Error rate 56.74% (target: 15%) +2025-09-15T14:20:38.528Z | [OTHER] | Attempt 1110: Error rate 59.42% (target: 15%) +2025-09-15T14:20:38.531Z | [OTHER] | Attempt 1111: Error rate 40% (target: 15%) +2025-09-15T14:20:38.532Z | [OTHER] | Attempt 1112: Error rate 46.43% (target: 15%) +2025-09-15T14:20:38.534Z | [OTHER] | Attempt 1113: Error rate 65.38% (target: 15%) +2025-09-15T14:20:38.536Z | [OTHER] | Attempt 1114: Error rate 49.62% (target: 15%) +2025-09-15T14:20:38.538Z | [OTHER] | Attempt 1115: Error rate 56.52% (target: 15%) +2025-09-15T14:20:38.540Z | [OTHER] | Attempt 1116: Error rate 57.36% (target: 15%) +2025-09-15T14:20:38.541Z | [OTHER] | Attempt 1117: Error rate 57.54% (target: 15%) +2025-09-15T14:20:38.545Z | [OTHER] | Attempt 1118: Error rate 53.57% (target: 15%) +2025-09-15T14:20:38.546Z | [OTHER] | Attempt 1119: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.548Z | [OTHER] | Attempt 1120: Error rate 50.76% (target: 15%) +2025-09-15T14:20:38.550Z | [OTHER] | Attempt 1121: Error rate 49.28% (target: 15%) +2025-09-15T14:20:38.552Z | [OTHER] | Attempt 1122: Error rate 51.11% (target: 15%) +2025-09-15T14:20:38.554Z | [OTHER] | Attempt 1123: Error rate 54.44% (target: 15%) +2025-09-15T14:20:38.556Z | [OTHER] | Attempt 1124: Error rate 49.65% (target: 15%) +2025-09-15T14:20:38.558Z | [OTHER] | Attempt 1125: Error rate 49.22% (target: 15%) +2025-09-15T14:20:38.560Z | [OTHER] | Attempt 1126: Error rate 45.19% (target: 15%) +2025-09-15T14:20:38.562Z | [OTHER] | Attempt 1127: Error rate 55.56% (target: 15%) +2025-09-15T14:20:38.564Z | [OTHER] | Attempt 1128: Error rate 59.13% (target: 15%) +2025-09-15T14:20:38.565Z | [OTHER] | Attempt 1129: Error rate 50.72% (target: 15%) +2025-09-15T14:20:38.568Z | [OTHER] | Attempt 1130: Error rate 51.77% (target: 15%) +2025-09-15T14:20:38.569Z | [OTHER] | Attempt 1131: Error rate 47.37% (target: 15%) +2025-09-15T14:20:38.571Z | [OTHER] | Attempt 1132: Error rate 43.8% (target: 15%) +2025-09-15T14:20:38.574Z | [OTHER] | Attempt 1133: Error rate 55.68% (target: 15%) +2025-09-15T14:20:38.576Z | [OTHER] | Attempt 1134: Error rate 54.26% (target: 15%) +2025-09-15T14:20:38.577Z | [OTHER] | Attempt 1135: Error rate 50% (target: 15%) +2025-09-15T14:20:38.580Z | [OTHER] | Attempt 1136: Error rate 56.38% (target: 15%) +2025-09-15T14:20:38.581Z | [OTHER] | Attempt 1137: Error rate 48.84% (target: 15%) +2025-09-15T14:20:38.583Z | [OTHER] | Attempt 1138: Error rate 49.29% (target: 15%) +2025-09-15T14:20:38.585Z | [OTHER] | Attempt 1139: Error rate 51.06% (target: 15%) +2025-09-15T14:20:38.587Z | [OTHER] | Attempt 1140: Error rate 47.22% (target: 15%) +2025-09-15T14:20:38.588Z | [OTHER] | Attempt 1141: Error rate 42.22% (target: 15%) +2025-09-15T14:20:38.591Z | [OTHER] | Attempt 1142: Error rate 50.43% (target: 15%) +2025-09-15T14:20:38.592Z | [OTHER] | Attempt 1143: Error rate 56.03% (target: 15%) +2025-09-15T14:20:38.594Z | [OTHER] | Attempt 1144: Error rate 52.17% (target: 15%) +2025-09-15T14:20:38.596Z | [OTHER] | Attempt 1145: Error rate 54.17% (target: 15%) +2025-09-15T14:20:38.598Z | [OTHER] | Attempt 1146: Error rate 54.92% (target: 15%) +2025-09-15T14:20:38.599Z | [OTHER] | Attempt 1147: Error rate 55.13% (target: 15%) +2025-09-15T14:20:38.601Z | [OTHER] | Attempt 1148: Error rate 54.55% (target: 15%) +2025-09-15T14:20:38.603Z | [OTHER] | Attempt 1149: Error rate 45.83% (target: 15%) +2025-09-15T14:20:38.605Z | [OTHER] | Attempt 1150: Error rate 54.76% (target: 15%) +2025-09-15T14:20:38.607Z | [OTHER] | Attempt 1151: Error rate 48.78% (target: 15%) +2025-09-15T14:20:38.609Z | [OTHER] | Attempt 1152: Error rate 50% (target: 15%) +2025-09-15T14:20:38.611Z | [OTHER] | Attempt 1153: Error rate 51.52% (target: 15%) +2025-09-15T14:20:38.612Z | [OTHER] | Attempt 1154: Error rate 48.23% (target: 15%) +2025-09-15T14:20:38.615Z | [OTHER] | Attempt 1155: Error rate 56.16% (target: 15%) +2025-09-15T14:20:38.617Z | [OTHER] | Attempt 1156: Error rate 50% (target: 15%) +2025-09-15T14:20:38.618Z | [OTHER] | Attempt 1157: Error rate 53.03% (target: 15%) +2025-09-15T14:20:38.620Z | [OTHER] | Attempt 1158: Error rate 49.64% (target: 15%) +2025-09-15T14:20:38.623Z | [OTHER] | Attempt 1159: Error rate 60.08% (target: 15%) +2025-09-15T14:20:38.625Z | [OTHER] | Attempt 1160: Error rate 47.1% (target: 15%) +2025-09-15T14:20:38.627Z | [OTHER] | Attempt 1161: Error rate 53.03% (target: 15%) +2025-09-15T14:20:38.629Z | [OTHER] | Attempt 1162: Error rate 49.24% (target: 15%) +2025-09-15T14:20:38.630Z | [OTHER] | Attempt 1163: Error rate 53.4% (target: 15%) +2025-09-15T14:20:38.632Z | [OTHER] | Attempt 1164: Error rate 55.56% (target: 15%) +2025-09-15T14:20:38.634Z | [OTHER] | Attempt 1165: Error rate 56.67% (target: 15%) +2025-09-15T14:20:38.636Z | [OTHER] | Attempt 1166: Error rate 54.71% (target: 15%) +2025-09-15T14:20:38.638Z | [OTHER] | Attempt 1167: Error rate 47.92% (target: 15%) +2025-09-15T14:20:38.640Z | [OTHER] | Attempt 1168: Error rate 51.16% (target: 15%) +2025-09-15T14:20:38.642Z | [OTHER] | Attempt 1169: Error rate 49.58% (target: 15%) +2025-09-15T14:20:38.643Z | [OTHER] | Attempt 1170: Error rate 62.22% (target: 15%) +2025-09-15T14:20:38.645Z | [OTHER] | Attempt 1171: Error rate 50.36% (target: 15%) +2025-09-15T14:20:38.647Z | [OTHER] | Attempt 1172: Error rate 55.07% (target: 15%) +2025-09-15T14:20:38.649Z | [OTHER] | Attempt 1173: Error rate 56.16% (target: 15%) +2025-09-15T14:20:38.651Z | [OTHER] | Attempt 1174: Error rate 56.52% (target: 15%) +2025-09-15T14:20:38.653Z | [OTHER] | Attempt 1175: Error rate 55.67% (target: 15%) +2025-09-15T14:20:38.655Z | [OTHER] | Attempt 1176: Error rate 52.7% (target: 15%) +2025-09-15T14:20:38.657Z | [OTHER] | Attempt 1177: Error rate 48.84% (target: 15%) +2025-09-15T14:20:38.659Z | [OTHER] | Attempt 1178: Error rate 52.71% (target: 15%) +2025-09-15T14:20:38.661Z | [OTHER] | Attempt 1179: Error rate 50.38% (target: 15%) +2025-09-15T14:20:38.663Z | [OTHER] | Attempt 1180: Error rate 43.94% (target: 15%) +2025-09-15T14:20:38.665Z | [OTHER] | Attempt 1181: Error rate 59.46% (target: 15%) +2025-09-15T14:20:38.667Z | [OTHER] | Attempt 1182: Error rate 45.83% (target: 15%) +2025-09-15T14:20:38.669Z | [OTHER] | Attempt 1183: Error rate 46.59% (target: 15%) +2025-09-15T14:20:38.672Z | [OTHER] | Attempt 1184: Error rate 53.88% (target: 15%) +2025-09-15T14:20:38.673Z | [OTHER] | Attempt 1185: Error rate 54.07% (target: 15%) +2025-09-15T14:20:38.675Z | [OTHER] | Attempt 1186: Error rate 48.48% (target: 15%) +2025-09-15T14:20:38.677Z | [OTHER] | Attempt 1187: Error rate 59.38% (target: 15%) +2025-09-15T14:20:38.679Z | [OTHER] | Attempt 1188: Error rate 55.28% (target: 15%) +2025-09-15T14:20:38.681Z | [OTHER] | Attempt 1189: Error rate 48.91% (target: 15%) +2025-09-15T14:20:38.683Z | [OTHER] | Attempt 1190: Error rate 55.9% (target: 15%) +2025-09-15T14:20:38.685Z | [OTHER] | Attempt 1191: Error rate 44.05% (target: 15%) +2025-09-15T14:20:38.687Z | [OTHER] | Attempt 1192: Error rate 54.65% (target: 15%) +2025-09-15T14:20:38.689Z | [OTHER] | Attempt 1193: Error rate 59.06% (target: 15%) +2025-09-15T14:20:38.691Z | [OTHER] | Attempt 1194: Error rate 51.85% (target: 15%) +2025-09-15T14:20:38.693Z | [OTHER] | Attempt 1195: Error rate 51.14% (target: 15%) +2025-09-15T14:20:38.695Z | [OTHER] | Attempt 1196: Error rate 55.83% (target: 15%) +2025-09-15T14:20:38.697Z | [OTHER] | Attempt 1197: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.698Z | [OTHER] | Attempt 1198: Error rate 45.35% (target: 15%) +2025-09-15T14:20:38.701Z | [OTHER] | Attempt 1199: Error rate 52.99% (target: 15%) +2025-09-15T14:20:38.703Z | [OTHER] | Attempt 1200: Error rate 51.14% (target: 15%) +2025-09-15T14:20:38.705Z | [OTHER] | Attempt 1201: Error rate 47.67% (target: 15%) +2025-09-15T14:20:38.707Z | [OTHER] | Attempt 1202: Error rate 60.47% (target: 15%) +2025-09-15T14:20:38.709Z | [OTHER] | Attempt 1203: Error rate 58.16% (target: 15%) +2025-09-15T14:20:38.711Z | [OTHER] | Attempt 1204: Error rate 57.36% (target: 15%) +2025-09-15T14:20:38.713Z | [OTHER] | Attempt 1205: Error rate 51.71% (target: 15%) +2025-09-15T14:20:38.714Z | [OTHER] | Attempt 1206: Error rate 53.55% (target: 15%) +2025-09-15T14:20:38.716Z | [OTHER] | Attempt 1207: Error rate 57.94% (target: 15%) +2025-09-15T14:20:38.718Z | [OTHER] | Attempt 1208: Error rate 50.35% (target: 15%) +2025-09-15T14:20:38.720Z | [OTHER] | Attempt 1209: Error rate 46.51% (target: 15%) +2025-09-15T14:20:38.722Z | [OTHER] | Attempt 1210: Error rate 50.68% (target: 15%) +2025-09-15T14:20:38.724Z | [OTHER] | Attempt 1211: Error rate 47.73% (target: 15%) +2025-09-15T14:20:38.726Z | [OTHER] | Attempt 1212: Error rate 52.38% (target: 15%) +2025-09-15T14:20:38.728Z | [OTHER] | Attempt 1213: Error rate 61.11% (target: 15%) +2025-09-15T14:20:38.729Z | [OTHER] | Attempt 1214: Error rate 54.17% (target: 15%) +2025-09-15T14:20:38.731Z | [OTHER] | Attempt 1215: Error rate 48.98% (target: 15%) +2025-09-15T14:20:38.733Z | [OTHER] | Attempt 1216: Error rate 52.08% (target: 15%) +2025-09-15T14:20:38.735Z | [OTHER] | Attempt 1217: Error rate 60.14% (target: 15%) +2025-09-15T14:20:38.737Z | [OTHER] | Attempt 1218: Error rate 50% (target: 15%) +2025-09-15T14:20:38.738Z | [OTHER] | Attempt 1219: Error rate 55.81% (target: 15%) +2025-09-15T14:20:38.740Z | [OTHER] | Attempt 1220: Error rate 60.42% (target: 15%) +2025-09-15T14:20:38.743Z | [OTHER] | Attempt 1221: Error rate 56.67% (target: 15%) +2025-09-15T14:20:38.745Z | [OTHER] | Attempt 1222: Error rate 56.98% (target: 15%) +2025-09-15T14:20:38.747Z | [OTHER] | Attempt 1223: Error rate 51.98% (target: 15%) +2025-09-15T14:20:38.749Z | [OTHER] | Attempt 1224: Error rate 40.37% (target: 15%) +2025-09-15T14:20:38.750Z | [OTHER] | Attempt 1225: Error rate 51.81% (target: 15%) +2025-09-15T14:20:38.753Z | [OTHER] | Attempt 1226: Error rate 52.44% (target: 15%) +2025-09-15T14:20:38.761Z | [OTHER] | Attempt 1227: Error rate 48.86% (target: 15%) +2025-09-15T14:20:38.765Z | [OTHER] | Attempt 1228: Error rate 50% (target: 15%) +2025-09-15T14:20:38.768Z | [OTHER] | Attempt 1229: Error rate 55.9% (target: 15%) +2025-09-15T14:20:38.772Z | [OTHER] | Attempt 1230: Error rate 54.44% (target: 15%) +2025-09-15T14:20:38.777Z | [OTHER] | Attempt 1231: Error rate 51.74% (target: 15%) +2025-09-15T14:20:38.782Z | [OTHER] | Attempt 1232: Error rate 51.81% (target: 15%) +2025-09-15T14:20:38.787Z | [OTHER] | Attempt 1233: Error rate 45.42% (target: 15%) +2025-09-15T14:20:38.790Z | [OTHER] | Attempt 1234: Error rate 45.08% (target: 15%) +2025-09-15T14:20:38.793Z | [OTHER] | Attempt 1235: Error rate 49.26% (target: 15%) +2025-09-15T14:20:38.795Z | [OTHER] | Attempt 1236: Error rate 49.19% (target: 15%) +2025-09-15T14:20:38.798Z | [OTHER] | Attempt 1237: Error rate 53.17% (target: 15%) +2025-09-15T14:20:38.800Z | [OTHER] | Attempt 1238: Error rate 58.33% (target: 15%) +2025-09-15T14:20:38.803Z | [OTHER] | Attempt 1239: Error rate 48.06% (target: 15%) +2025-09-15T14:20:38.805Z | [OTHER] | Attempt 1240: Error rate 45.83% (target: 15%) +2025-09-15T14:20:38.807Z | [OTHER] | Attempt 1241: Error rate 54.65% (target: 15%) +2025-09-15T14:20:38.810Z | [OTHER] | Attempt 1242: Error rate 50% (target: 15%) +2025-09-15T14:20:38.812Z | [OTHER] | Attempt 1243: Error rate 57.61% (target: 15%) +2025-09-15T14:20:38.814Z | [OTHER] | Attempt 1244: Error rate 60.08% (target: 15%) +2025-09-15T14:20:38.816Z | [OTHER] | Attempt 1245: Error rate 51.14% (target: 15%) +2025-09-15T14:20:38.818Z | [OTHER] | Attempt 1246: Error rate 50.4% (target: 15%) +2025-09-15T14:20:38.820Z | [OTHER] | Attempt 1247: Error rate 54.55% (target: 15%) +2025-09-15T14:20:38.822Z | [OTHER] | Attempt 1248: Error rate 51.39% (target: 15%) +2025-09-15T14:20:38.824Z | [OTHER] | Attempt 1249: Error rate 51.85% (target: 15%) +2025-09-15T14:20:38.825Z | [OTHER] | Attempt 1250: Error rate 54.17% (target: 15%) +2025-09-15T14:20:38.828Z | [OTHER] | Attempt 1251: Error rate 50.79% (target: 15%) +2025-09-15T14:20:38.829Z | [OTHER] | Attempt 1252: Error rate 50.79% (target: 15%) +2025-09-15T14:20:38.831Z | [OTHER] | Attempt 1253: Error rate 55.95% (target: 15%) +2025-09-15T14:20:38.834Z | [OTHER] | Attempt 1254: Error rate 57.78% (target: 15%) +2025-09-15T14:20:38.835Z | [OTHER] | Attempt 1255: Error rate 52.22% (target: 15%) +2025-09-15T14:20:38.837Z | [OTHER] | Attempt 1256: Error rate 51.42% (target: 15%) +2025-09-15T14:20:38.840Z | [OTHER] | Attempt 1257: Error rate 50.79% (target: 15%) +2025-09-15T14:20:38.842Z | [OTHER] | Attempt 1258: Error rate 53.03% (target: 15%) +2025-09-15T14:20:38.843Z | [OTHER] | Attempt 1259: Error rate 44.32% (target: 15%) +2025-09-15T14:20:38.846Z | [OTHER] | Attempt 1260: Error rate 49.58% (target: 15%) +2025-09-15T14:20:38.848Z | [OTHER] | Attempt 1261: Error rate 56.3% (target: 15%) +2025-09-15T14:20:38.850Z | [OTHER] | Attempt 1262: Error rate 49.63% (target: 15%) +2025-09-15T14:20:38.852Z | [OTHER] | Attempt 1263: Error rate 54.81% (target: 15%) +2025-09-15T14:20:38.854Z | [OTHER] | Attempt 1264: Error rate 57.99% (target: 15%) +2025-09-15T14:20:38.856Z | [OTHER] | Attempt 1265: Error rate 60.61% (target: 15%) +2025-09-15T14:20:38.858Z | [OTHER] | Attempt 1266: Error rate 55.04% (target: 15%) +2025-09-15T14:20:38.860Z | [OTHER] | Attempt 1267: Error rate 48.37% (target: 15%) +2025-09-15T14:20:38.862Z | [OTHER] | Attempt 1268: Error rate 47.5% (target: 15%) +2025-09-15T14:20:38.864Z | [OTHER] | Attempt 1269: Error rate 55.93% (target: 15%) +2025-09-15T14:20:38.865Z | [OTHER] | Attempt 1270: Error rate 59.63% (target: 15%) +2025-09-15T14:20:38.867Z | [OTHER] | Attempt 1271: Error rate 56.1% (target: 15%) +2025-09-15T14:20:38.869Z | [OTHER] | Attempt 1272: Error rate 50.85% (target: 15%) +2025-09-15T14:20:38.871Z | [OTHER] | Attempt 1273: Error rate 49.61% (target: 15%) +2025-09-15T14:20:38.873Z | [OTHER] | Attempt 1274: Error rate 47.5% (target: 15%) +2025-09-15T14:20:38.875Z | [OTHER] | Attempt 1275: Error rate 47.67% (target: 15%) +2025-09-15T14:20:38.877Z | [OTHER] | Attempt 1276: Error rate 47.35% (target: 15%) +2025-09-15T14:20:38.879Z | [OTHER] | Attempt 1277: Error rate 57.09% (target: 15%) +2025-09-15T14:20:38.881Z | [OTHER] | Attempt 1278: Error rate 50.44% (target: 15%) +2025-09-15T14:20:38.883Z | [OTHER] | Attempt 1279: Error rate 53.25% (target: 15%) +2025-09-15T14:20:38.885Z | [OTHER] | Attempt 1280: Error rate 49.26% (target: 15%) +2025-09-15T14:20:38.887Z | [OTHER] | Attempt 1281: Error rate 57.72% (target: 15%) +2025-09-15T14:20:38.889Z | [OTHER] | Attempt 1282: Error rate 58.87% (target: 15%) +2025-09-15T14:20:38.892Z | [OTHER] | Attempt 1283: Error rate 50.39% (target: 15%) +2025-09-15T14:20:38.894Z | [OTHER] | Attempt 1284: Error rate 51.14% (target: 15%) +2025-09-15T14:20:38.896Z | [OTHER] | Attempt 1285: Error rate 47.86% (target: 15%) +2025-09-15T14:20:38.898Z | [OTHER] | Attempt 1286: Error rate 56.91% (target: 15%) +2025-09-15T14:20:38.900Z | [OTHER] | Attempt 1287: Error rate 55.95% (target: 15%) +2025-09-15T14:20:38.902Z | [OTHER] | Attempt 1288: Error rate 48.37% (target: 15%) +2025-09-15T14:20:38.904Z | [OTHER] | Attempt 1289: Error rate 56.35% (target: 15%) +2025-09-15T14:20:38.906Z | [OTHER] | Attempt 1290: Error rate 55.07% (target: 15%) +2025-09-15T14:20:38.908Z | [OTHER] | Attempt 1291: Error rate 55.68% (target: 15%) +2025-09-15T14:20:38.910Z | [OTHER] | Attempt 1292: Error rate 47.29% (target: 15%) +2025-09-15T14:20:38.911Z | [OTHER] | Attempt 1293: Error rate 52.96% (target: 15%) +2025-09-15T14:20:38.914Z | [OTHER] | Attempt 1294: Error rate 49.64% (target: 15%) +2025-09-15T14:20:38.915Z | [OTHER] | Attempt 1295: Error rate 53.79% (target: 15%) +2025-09-15T14:20:38.917Z | [OTHER] | Attempt 1296: Error rate 52.44% (target: 15%) +2025-09-15T14:20:38.920Z | [OTHER] | Attempt 1297: Error rate 52.78% (target: 15%) +2025-09-15T14:20:38.922Z | [OTHER] | Attempt 1298: Error rate 58.55% (target: 15%) +2025-09-15T14:20:38.924Z | [OTHER] | Attempt 1299: Error rate 57.09% (target: 15%) +2025-09-15T14:20:38.926Z | [OTHER] | Attempt 1300: Error rate 53.42% (target: 15%) +2025-09-15T14:20:38.928Z | [OTHER] | Attempt 1301: Error rate 46.67% (target: 15%) +2025-09-15T14:20:38.930Z | [OTHER] | Attempt 1302: Error rate 49.58% (target: 15%) +2025-09-15T14:20:38.932Z | [OTHER] | Attempt 1303: Error rate 50% (target: 15%) +2025-09-15T14:20:38.934Z | [OTHER] | Attempt 1304: Error rate 59.06% (target: 15%) +2025-09-15T14:20:38.936Z | [OTHER] | Attempt 1305: Error rate 49.59% (target: 15%) +2025-09-15T14:20:38.938Z | [OTHER] | Attempt 1306: Error rate 53.62% (target: 15%) +2025-09-15T14:20:38.940Z | [OTHER] | Attempt 1307: Error rate 60.23% (target: 15%) +2025-09-15T14:20:38.943Z | [OTHER] | Attempt 1308: Error rate 58.33% (target: 15%) +2025-09-15T14:20:38.945Z | [OTHER] | Attempt 1309: Error rate 54.96% (target: 15%) +2025-09-15T14:20:38.947Z | [OTHER] | Attempt 1310: Error rate 46.45% (target: 15%) +2025-09-15T14:20:38.949Z | [OTHER] | Attempt 1311: Error rate 52.27% (target: 15%) +2025-09-15T14:20:38.951Z | [OTHER] | Attempt 1312: Error rate 51.55% (target: 15%) +2025-09-15T14:20:38.953Z | [OTHER] | Attempt 1313: Error rate 55% (target: 15%) +2025-09-15T14:20:38.955Z | [OTHER] | Attempt 1314: Error rate 52.33% (target: 15%) +2025-09-15T14:20:38.957Z | [OTHER] | Attempt 1315: Error rate 50.83% (target: 15%) +2025-09-15T14:20:38.959Z | [OTHER] | Attempt 1316: Error rate 45.93% (target: 15%) +2025-09-15T14:20:38.962Z | [OTHER] | Attempt 1317: Error rate 54.71% (target: 15%) +2025-09-15T14:20:38.963Z | [OTHER] | Attempt 1318: Error rate 48.98% (target: 15%) +2025-09-15T14:20:38.966Z | [OTHER] | Attempt 1319: Error rate 50.39% (target: 15%) +2025-09-15T14:20:38.968Z | [OTHER] | Attempt 1320: Error rate 51.98% (target: 15%) +2025-09-15T14:20:38.970Z | [OTHER] | Attempt 1321: Error rate 54.37% (target: 15%) +2025-09-15T14:20:38.973Z | [OTHER] | Attempt 1322: Error rate 48.86% (target: 15%) +2025-09-15T14:20:38.975Z | [OTHER] | Attempt 1323: Error rate 52.59% (target: 15%) +2025-09-15T14:20:38.977Z | [OTHER] | Attempt 1324: Error rate 49.64% (target: 15%) +2025-09-15T14:20:38.980Z | [OTHER] | Attempt 1325: Error rate 45.56% (target: 15%) +2025-09-15T14:20:38.981Z | [OTHER] | Attempt 1326: Error rate 44.1% (target: 15%) +2025-09-15T14:20:38.983Z | [OTHER] | Attempt 1327: Error rate 53.33% (target: 15%) +2025-09-15T14:20:38.986Z | [OTHER] | Attempt 1328: Error rate 52.33% (target: 15%) +2025-09-15T14:20:38.987Z | [OTHER] | Attempt 1329: Error rate 50.81% (target: 15%) +2025-09-15T14:20:38.989Z | [OTHER] | Attempt 1330: Error rate 50% (target: 15%) +2025-09-15T14:20:38.992Z | [OTHER] | Attempt 1331: Error rate 55.81% (target: 15%) +2025-09-15T14:20:38.994Z | [OTHER] | Attempt 1332: Error rate 36.99% (target: 15%) +2025-09-15T14:20:38.996Z | [OTHER] | Attempt 1333: Error rate 56.1% (target: 15%) +2025-09-15T14:20:38.998Z | [OTHER] | Attempt 1334: Error rate 50.39% (target: 15%) +2025-09-15T14:20:39.000Z | [OTHER] | Attempt 1335: Error rate 50.41% (target: 15%) +2025-09-15T14:20:39.002Z | [OTHER] | Attempt 1336: Error rate 54.71% (target: 15%) +2025-09-15T14:20:39.004Z | [OTHER] | Attempt 1337: Error rate 51.48% (target: 15%) +2025-09-15T14:20:39.006Z | [OTHER] | Attempt 1338: Error rate 50.38% (target: 15%) +2025-09-15T14:20:39.008Z | [OTHER] | Attempt 1339: Error rate 47.71% (target: 15%) +2025-09-15T14:20:39.010Z | [OTHER] | Attempt 1340: Error rate 50.35% (target: 15%) +2025-09-15T14:20:39.012Z | [OTHER] | Attempt 1341: Error rate 49.64% (target: 15%) +2025-09-15T14:20:39.014Z | [OTHER] | Attempt 1342: Error rate 46.45% (target: 15%) +2025-09-15T14:20:39.016Z | [OTHER] | Attempt 1343: Error rate 53.47% (target: 15%) +2025-09-15T14:20:39.018Z | [OTHER] | Attempt 1344: Error rate 49.6% (target: 15%) +2025-09-15T14:20:39.020Z | [OTHER] | Attempt 1345: Error rate 53.88% (target: 15%) +2025-09-15T14:20:39.023Z | [OTHER] | Attempt 1346: Error rate 47.22% (target: 15%) +2025-09-15T14:20:39.025Z | [OTHER] | Attempt 1347: Error rate 48.84% (target: 15%) +2025-09-15T14:20:39.027Z | [OTHER] | Attempt 1348: Error rate 45.24% (target: 15%) +2025-09-15T14:20:39.029Z | [OTHER] | Attempt 1349: Error rate 51.45% (target: 15%) +2025-09-15T14:20:39.031Z | [OTHER] | Attempt 1350: Error rate 49.61% (target: 15%) +2025-09-15T14:20:39.033Z | [OTHER] | Attempt 1351: Error rate 50% (target: 15%) +2025-09-15T14:20:39.035Z | [OTHER] | Attempt 1352: Error rate 54.92% (target: 15%) +2025-09-15T14:20:39.037Z | [OTHER] | Attempt 1353: Error rate 55.69% (target: 15%) +2025-09-15T14:20:39.040Z | [OTHER] | Attempt 1354: Error rate 62.88% (target: 15%) +2025-09-15T14:20:39.042Z | [OTHER] | Attempt 1355: Error rate 46.81% (target: 15%) +2025-09-15T14:20:39.044Z | [OTHER] | Attempt 1356: Error rate 61.54% (target: 15%) +2025-09-15T14:20:39.046Z | [OTHER] | Attempt 1357: Error rate 46.83% (target: 15%) +2025-09-15T14:20:39.048Z | [OTHER] | Attempt 1358: Error rate 51.55% (target: 15%) +2025-09-15T14:20:39.050Z | [OTHER] | Attempt 1359: Error rate 58.33% (target: 15%) +2025-09-15T14:20:39.052Z | [OTHER] | Attempt 1360: Error rate 53.25% (target: 15%) +2025-09-15T14:20:39.054Z | [OTHER] | Attempt 1361: Error rate 56.25% (target: 15%) +2025-09-15T14:20:39.056Z | [OTHER] | Attempt 1362: Error rate 52.38% (target: 15%) +2025-09-15T14:20:39.058Z | [OTHER] | Attempt 1363: Error rate 55.16% (target: 15%) +2025-09-15T14:20:39.060Z | [OTHER] | Attempt 1364: Error rate 52.22% (target: 15%) +2025-09-15T14:20:39.062Z | [OTHER] | Attempt 1365: Error rate 44.57% (target: 15%) +2025-09-15T14:20:39.064Z | [OTHER] | Attempt 1366: Error rate 56.59% (target: 15%) +2025-09-15T14:20:39.067Z | [OTHER] | Attempt 1367: Error rate 50.78% (target: 15%) +2025-09-15T14:20:39.068Z | [OTHER] | Attempt 1368: Error rate 52.9% (target: 15%) +2025-09-15T14:20:39.071Z | [OTHER] | Attempt 1369: Error rate 57.26% (target: 15%) +2025-09-15T14:20:39.072Z | [OTHER] | Attempt 1370: Error rate 52.78% (target: 15%) +2025-09-15T14:20:39.075Z | [OTHER] | Attempt 1371: Error rate 45.93% (target: 15%) +2025-09-15T14:20:39.077Z | [OTHER] | Attempt 1372: Error rate 52.38% (target: 15%) +2025-09-15T14:20:39.079Z | [OTHER] | Attempt 1373: Error rate 59.09% (target: 15%) +2025-09-15T14:20:39.082Z | [OTHER] | Attempt 1374: Error rate 53.4% (target: 15%) +2025-09-15T14:20:39.084Z | [OTHER] | Attempt 1375: Error rate 51.42% (target: 15%) +2025-09-15T14:20:39.086Z | [OTHER] | Attempt 1376: Error rate 43.86% (target: 15%) +2025-09-15T14:20:39.088Z | [OTHER] | Attempt 1377: Error rate 53.25% (target: 15%) +2025-09-15T14:20:39.090Z | [OTHER] | Attempt 1378: Error rate 54.26% (target: 15%) +2025-09-15T14:20:39.092Z | [OTHER] | Attempt 1379: Error rate 42.71% (target: 15%) +2025-09-15T14:20:39.094Z | [OTHER] | Attempt 1380: Error rate 60.88% (target: 15%) +2025-09-15T14:20:39.096Z | [OTHER] | Attempt 1381: Error rate 59.85% (target: 15%) +2025-09-15T14:20:39.098Z | [OTHER] | Attempt 1382: Error rate 53.15% (target: 15%) +2025-09-15T14:20:39.101Z | [OTHER] | Attempt 1383: Error rate 56.82% (target: 15%) +2025-09-15T14:20:39.103Z | [OTHER] | Attempt 1384: Error rate 46.21% (target: 15%) +2025-09-15T14:20:39.105Z | [OTHER] | Attempt 1385: Error rate 57.95% (target: 15%) +2025-09-15T14:20:39.107Z | [OTHER] | Attempt 1386: Error rate 55.56% (target: 15%) +2025-09-15T14:20:39.109Z | [OTHER] | Attempt 1387: Error rate 55.43% (target: 15%) +2025-09-15T14:20:39.111Z | [OTHER] | Attempt 1388: Error rate 56.03% (target: 15%) +2025-09-15T14:20:39.113Z | [OTHER] | Attempt 1389: Error rate 59.09% (target: 15%) +2025-09-15T14:20:39.115Z | [OTHER] | Attempt 1390: Error rate 57.61% (target: 15%) +2025-09-15T14:20:39.117Z | [OTHER] | Attempt 1391: Error rate 48.52% (target: 15%) +2025-09-15T14:20:39.120Z | [OTHER] | Attempt 1392: Error rate 51.11% (target: 15%) +2025-09-15T14:20:39.121Z | [OTHER] | Attempt 1393: Error rate 54.71% (target: 15%) +2025-09-15T14:20:39.123Z | [OTHER] | Attempt 1394: Error rate 56.16% (target: 15%) +2025-09-15T14:20:39.126Z | [OTHER] | Attempt 1395: Error rate 50.4% (target: 15%) +2025-09-15T14:20:39.127Z | [OTHER] | Attempt 1396: Error rate 52.96% (target: 15%) +2025-09-15T14:20:39.130Z | [OTHER] | Attempt 1397: Error rate 54.55% (target: 15%) +2025-09-15T14:20:39.132Z | [OTHER] | Attempt 1398: Error rate 46.03% (target: 15%) +2025-09-15T14:20:39.134Z | [OTHER] | Attempt 1399: Error rate 43.59% (target: 15%) +2025-09-15T14:20:39.136Z | [OTHER] | Attempt 1400: Error rate 54.76% (target: 15%) +2025-09-15T14:20:39.138Z | [OTHER] | Attempt 1401: Error rate 51.11% (target: 15%) +2025-09-15T14:20:39.140Z | [OTHER] | Attempt 1402: Error rate 56.44% (target: 15%) +2025-09-15T14:20:39.142Z | [OTHER] | Attempt 1403: Error rate 46.38% (target: 15%) +2025-09-15T14:20:39.144Z | [OTHER] | Attempt 1404: Error rate 51.06% (target: 15%) +2025-09-15T14:20:39.146Z | [OTHER] | Attempt 1405: Error rate 55.3% (target: 15%) +2025-09-15T14:20:39.148Z | [OTHER] | Attempt 1406: Error rate 56.88% (target: 15%) +2025-09-15T14:20:39.150Z | [OTHER] | Attempt 1407: Error rate 54.47% (target: 15%) +2025-09-15T14:20:39.152Z | [OTHER] | Attempt 1408: Error rate 48.89% (target: 15%) +2025-09-15T14:20:39.156Z | [OTHER] | Attempt 1409: Error rate 51.09% (target: 15%) +2025-09-15T14:20:39.157Z | [OTHER] | Attempt 1410: Error rate 52.04% (target: 15%) +2025-09-15T14:20:39.159Z | [OTHER] | Attempt 1411: Error rate 49.28% (target: 15%) +2025-09-15T14:20:39.161Z | [OTHER] | Attempt 1412: Error rate 49.6% (target: 15%) +2025-09-15T14:20:39.163Z | [OTHER] | Attempt 1413: Error rate 48.98% (target: 15%) +2025-09-15T14:20:39.166Z | [OTHER] | Attempt 1414: Error rate 53.57% (target: 15%) +2025-09-15T14:20:39.168Z | [OTHER] | Attempt 1415: Error rate 52.38% (target: 15%) +2025-09-15T14:20:39.170Z | [OTHER] | Attempt 1416: Error rate 55.28% (target: 15%) +2025-09-15T14:20:39.172Z | [OTHER] | Attempt 1417: Error rate 58.16% (target: 15%) +2025-09-15T14:20:39.174Z | [OTHER] | Attempt 1418: Error rate 53.03% (target: 15%) +2025-09-15T14:20:39.176Z | [OTHER] | Attempt 1419: Error rate 52.78% (target: 15%) +2025-09-15T14:20:39.178Z | [OTHER] | Attempt 1420: Error rate 53.4% (target: 15%) +2025-09-15T14:20:39.180Z | [OTHER] | Attempt 1421: Error rate 55.21% (target: 15%) +2025-09-15T14:20:39.182Z | [OTHER] | Attempt 1422: Error rate 46.26% (target: 15%) +2025-09-15T14:20:39.185Z | [OTHER] | Attempt 1423: Error rate 51.16% (target: 15%) +2025-09-15T14:20:39.187Z | [OTHER] | Attempt 1424: Error rate 54.17% (target: 15%) +2025-09-15T14:20:39.189Z | [OTHER] | Attempt 1425: Error rate 54.55% (target: 15%) +2025-09-15T14:20:39.191Z | [OTHER] | Attempt 1426: Error rate 51.77% (target: 15%) +2025-09-15T14:20:39.193Z | [OTHER] | Attempt 1427: Error rate 54.44% (target: 15%) +2025-09-15T14:20:39.195Z | [OTHER] | Attempt 1428: Error rate 49.17% (target: 15%) +2025-09-15T14:20:39.197Z | [OTHER] | Attempt 1429: Error rate 55% (target: 15%) +2025-09-15T14:20:39.199Z | [OTHER] | Attempt 1430: Error rate 46.88% (target: 15%) +2025-09-15T14:20:39.201Z | [OTHER] | Attempt 1431: Error rate 48.81% (target: 15%) +2025-09-15T14:20:39.204Z | [OTHER] | Attempt 1432: Error rate 56.44% (target: 15%) +2025-09-15T14:20:39.206Z | [OTHER] | Attempt 1433: Error rate 48.06% (target: 15%) +2025-09-15T14:20:39.207Z | [OTHER] | Attempt 1434: Error rate 54.88% (target: 15%) +2025-09-15T14:20:39.210Z | [OTHER] | Attempt 1435: Error rate 52.59% (target: 15%) +2025-09-15T14:20:39.212Z | [OTHER] | Attempt 1436: Error rate 53.66% (target: 15%) +2025-09-15T14:20:39.214Z | [OTHER] | Attempt 1437: Error rate 55.21% (target: 15%) +2025-09-15T14:20:39.216Z | [OTHER] | Attempt 1438: Error rate 52.33% (target: 15%) +2025-09-15T14:20:39.218Z | [OTHER] | Attempt 1439: Error rate 54.33% (target: 15%) +2025-09-15T14:20:39.221Z | [OTHER] | Attempt 1440: Error rate 51.77% (target: 15%) +2025-09-15T14:20:39.225Z | [OTHER] | Attempt 1441: Error rate 47.46% (target: 15%) +2025-09-15T14:20:39.227Z | [OTHER] | Attempt 1442: Error rate 51.48% (target: 15%) +2025-09-15T14:20:39.232Z | [OTHER] | Attempt 1443: Error rate 52.78% (target: 15%) +2025-09-15T14:20:39.235Z | [OTHER] | Attempt 1444: Error rate 50% (target: 15%) +2025-09-15T14:20:39.237Z | [OTHER] | Attempt 1445: Error rate 54.07% (target: 15%) +2025-09-15T14:20:39.240Z | [OTHER] | Attempt 1446: Error rate 44.7% (target: 15%) +2025-09-15T14:20:39.242Z | [OTHER] | Attempt 1447: Error rate 54.71% (target: 15%) +2025-09-15T14:20:39.244Z | [OTHER] | Attempt 1448: Error rate 54.17% (target: 15%) +2025-09-15T14:20:39.247Z | [OTHER] | Attempt 1449: Error rate 41.46% (target: 15%) +2025-09-15T14:20:39.251Z | [OTHER] | Attempt 1450: Error rate 48.11% (target: 15%) +2025-09-15T14:20:39.253Z | [OTHER] | Attempt 1451: Error rate 47.73% (target: 15%) +2025-09-15T14:20:39.255Z | [OTHER] | Attempt 1452: Error rate 50.38% (target: 15%) +2025-09-15T14:20:39.258Z | [OTHER] | Attempt 1453: Error rate 59.3% (target: 15%) +2025-09-15T14:20:39.260Z | [OTHER] | Attempt 1454: Error rate 49.21% (target: 15%) +2025-09-15T14:20:39.262Z | [OTHER] | Attempt 1455: Error rate 55.19% (target: 15%) +2025-09-15T14:20:39.265Z | [OTHER] | Attempt 1456: Error rate 46.3% (target: 15%) +2025-09-15T14:20:39.267Z | [OTHER] | Attempt 1457: Error rate 57.41% (target: 15%) +2025-09-15T14:20:39.270Z | [OTHER] | Attempt 1458: Error rate 53.7% (target: 15%) +2025-09-15T14:20:39.272Z | [OTHER] | Attempt 1459: Error rate 42.75% (target: 15%) +2025-09-15T14:20:39.274Z | [OTHER] | Attempt 1460: Error rate 42.22% (target: 15%) +2025-09-15T14:20:39.277Z | [OTHER] | Attempt 1461: Error rate 55.68% (target: 15%) +2025-09-15T14:20:39.279Z | [OTHER] | Attempt 1462: Error rate 55.67% (target: 15%) +2025-09-15T14:20:39.281Z | [OTHER] | Attempt 1463: Error rate 47.15% (target: 15%) +2025-09-15T14:20:39.284Z | [OTHER] | Attempt 1464: Error rate 53.88% (target: 15%) +2025-09-15T14:20:39.286Z | [OTHER] | Attempt 1465: Error rate 50.76% (target: 15%) +2025-09-15T14:20:39.289Z | [OTHER] | Attempt 1466: Error rate 46.67% (target: 15%) +2025-09-15T14:20:39.291Z | [OTHER] | Attempt 1467: Error rate 46.67% (target: 15%) +2025-09-15T14:20:39.294Z | [OTHER] | Attempt 1468: Error rate 48.45% (target: 15%) +2025-09-15T14:20:39.296Z | [OTHER] | Attempt 1469: Error rate 48.52% (target: 15%) +2025-09-15T14:20:39.298Z | [OTHER] | Attempt 1470: Error rate 54.26% (target: 15%) +2025-09-15T14:20:39.300Z | [OTHER] | Attempt 1471: Error rate 47.67% (target: 15%) +2025-09-15T14:20:39.302Z | [OTHER] | Attempt 1472: Error rate 48.19% (target: 15%) +2025-09-15T14:20:39.304Z | [OTHER] | Attempt 1473: Error rate 53.57% (target: 15%) +2025-09-15T14:20:39.306Z | [OTHER] | Attempt 1474: Error rate 51.14% (target: 15%) +2025-09-15T14:20:39.308Z | [OTHER] | Attempt 1475: Error rate 54.71% (target: 15%) +2025-09-15T14:20:39.310Z | [OTHER] | Attempt 1476: Error rate 47.29% (target: 15%) +2025-09-15T14:20:39.313Z | [OTHER] | Attempt 1477: Error rate 52.22% (target: 15%) +2025-09-15T14:20:39.315Z | [OTHER] | Attempt 1478: Error rate 56.5% (target: 15%) +2025-09-15T14:20:39.317Z | [OTHER] | Attempt 1479: Error rate 48.19% (target: 15%) +2025-09-15T14:20:39.320Z | [OTHER] | Attempt 1480: Error rate 58.14% (target: 15%) +2025-09-15T14:20:39.322Z | [OTHER] | Attempt 1481: Error rate 55.81% (target: 15%) +2025-09-15T14:20:39.324Z | [OTHER] | Attempt 1482: Error rate 51.63% (target: 15%) +2025-09-15T14:20:39.326Z | [OTHER] | Attempt 1483: Error rate 53.33% (target: 15%) +2025-09-15T14:20:39.328Z | [OTHER] | Attempt 1484: Error rate 53.17% (target: 15%) +2025-09-15T14:20:39.331Z | [OTHER] | Attempt 1485: Error rate 56.6% (target: 15%) +2025-09-15T14:20:39.333Z | [OTHER] | Attempt 1486: Error rate 58.91% (target: 15%) +2025-09-15T14:20:39.335Z | [OTHER] | Attempt 1487: Error rate 60.32% (target: 15%) +2025-09-15T14:20:39.337Z | [OTHER] | Attempt 1488: Error rate 57.61% (target: 15%) +2025-09-15T14:20:39.339Z | [OTHER] | Attempt 1489: Error rate 52.63% (target: 15%) +2025-09-15T14:20:39.341Z | [OTHER] | Attempt 1490: Error rate 43.84% (target: 15%) +2025-09-15T14:20:39.345Z | [OTHER] | Attempt 1491: Error rate 46.3% (target: 15%) +2025-09-15T14:20:39.346Z | [OTHER] | Attempt 1492: Error rate 57.25% (target: 15%) +2025-09-15T14:20:39.348Z | [OTHER] | Attempt 1493: Error rate 48.45% (target: 15%) +2025-09-15T14:20:39.351Z | [OTHER] | Attempt 1494: Error rate 48.02% (target: 15%) +2025-09-15T14:20:39.353Z | [OTHER] | Attempt 1495: Error rate 56.67% (target: 15%) +2025-09-15T14:20:39.355Z | [OTHER] | Attempt 1496: Error rate 51.98% (target: 15%) +2025-09-15T14:20:39.357Z | [OTHER] | Attempt 1497: Error rate 49.28% (target: 15%) +2025-09-15T14:20:39.359Z | [OTHER] | Attempt 1498: Error rate 56.82% (target: 15%) +2025-09-15T14:20:39.361Z | [OTHER] | Attempt 1499: Error rate 47.56% (target: 15%) +2025-09-15T14:20:39.364Z | [OTHER] | Attempt 1500: Error rate 51.06% (target: 15%) +2025-09-15T14:20:39.366Z | [OTHER] | Attempt 1501: Error rate 48.15% (target: 15%) +2025-09-15T14:20:39.368Z | [OTHER] | Attempt 1502: Error rate 50% (target: 15%) +2025-09-15T14:20:39.370Z | [OTHER] | Attempt 1503: Error rate 54.37% (target: 15%) +2025-09-15T14:20:39.373Z | [OTHER] | Attempt 1504: Error rate 47.29% (target: 15%) +2025-09-15T14:20:39.375Z | [OTHER] | Attempt 1505: Error rate 54.26% (target: 15%) +2025-09-15T14:20:39.377Z | [OTHER] | Attempt 1506: Error rate 56.44% (target: 15%) +2025-09-15T14:20:39.379Z | [OTHER] | Attempt 1507: Error rate 57.04% (target: 15%) +2025-09-15T14:20:39.382Z | [OTHER] | Attempt 1508: Error rate 44.57% (target: 15%) +2025-09-15T14:20:39.384Z | [OTHER] | Attempt 1509: Error rate 55.3% (target: 15%) +2025-09-15T14:20:39.387Z | [OTHER] | Attempt 1510: Error rate 57.52% (target: 15%) +2025-09-15T14:20:39.389Z | [OTHER] | Attempt 1511: Error rate 45.19% (target: 15%) +2025-09-15T14:20:39.391Z | [OTHER] | Attempt 1512: Error rate 58.51% (target: 15%) +2025-09-15T14:20:39.394Z | [OTHER] | Attempt 1513: Error rate 39.77% (target: 15%) +2025-09-15T14:20:39.396Z | [OTHER] | Attempt 1514: Error rate 51.74% (target: 15%) +2025-09-15T14:20:39.399Z | [OTHER] | Attempt 1515: Error rate 53.33% (target: 15%) +2025-09-15T14:20:39.401Z | [OTHER] | Attempt 1516: Error rate 53.79% (target: 15%) +2025-09-15T14:20:39.403Z | [OTHER] | Attempt 1517: Error rate 53.97% (target: 15%) +2025-09-15T14:20:39.405Z | [OTHER] | Attempt 1518: Error rate 44.05% (target: 15%) +2025-09-15T14:20:39.407Z | [OTHER] | Attempt 1519: Error rate 50% (target: 15%) +2025-09-15T14:20:39.410Z | [OTHER] | Attempt 1520: Error rate 55.43% (target: 15%) +2025-09-15T14:20:39.412Z | [OTHER] | Attempt 1521: Error rate 50.35% (target: 15%) +2025-09-15T14:20:39.414Z | [OTHER] | Attempt 1522: Error rate 51.25% (target: 15%) +2025-09-15T14:20:39.416Z | [OTHER] | Attempt 1523: Error rate 51.16% (target: 15%) +2025-09-15T14:20:39.418Z | [OTHER] | Attempt 1524: Error rate 46.51% (target: 15%) +2025-09-15T14:20:39.420Z | [OTHER] | Attempt 1525: Error rate 46.38% (target: 15%) +2025-09-15T14:20:39.422Z | [OTHER] | Attempt 1526: Error rate 52.31% (target: 15%) +2025-09-15T14:20:39.424Z | [OTHER] | Attempt 1527: Error rate 62.79% (target: 15%) +2025-09-15T14:20:39.427Z | [OTHER] | Attempt 1528: Error rate 42.96% (target: 15%) +2025-09-15T14:20:39.430Z | [OTHER] | Attempt 1529: Error rate 52.03% (target: 15%) +2025-09-15T14:20:39.434Z | [OTHER] | Attempt 1530: Error rate 55.05% (target: 15%) +2025-09-15T14:20:39.437Z | [OTHER] | Attempt 1531: Error rate 53.55% (target: 15%) +2025-09-15T14:20:39.441Z | [OTHER] | Attempt 1532: Error rate 52.96% (target: 15%) +2025-09-15T14:20:39.442Z | [OTHER] | Attempt 1533: Error rate 44.72% (target: 15%) +2025-09-15T14:20:39.445Z | [OTHER] | Attempt 1534: Error rate 59.03% (target: 15%) +2025-09-15T14:20:39.447Z | [OTHER] | Attempt 1535: Error rate 50% (target: 15%) +2025-09-15T14:20:39.449Z | [OTHER] | Attempt 1536: Error rate 51.55% (target: 15%) +2025-09-15T14:20:39.451Z | [OTHER] | Attempt 1537: Error rate 57.54% (target: 15%) +2025-09-15T14:20:39.454Z | [OTHER] | Attempt 1538: Error rate 41.67% (target: 15%) +2025-09-15T14:20:39.456Z | [OTHER] | Attempt 1539: Error rate 52.85% (target: 15%) +2025-09-15T14:20:39.459Z | [OTHER] | Attempt 1540: Error rate 50.42% (target: 15%) +2025-09-15T14:20:39.461Z | [OTHER] | Attempt 1541: Error rate 50.35% (target: 15%) +2025-09-15T14:20:39.463Z | [OTHER] | Attempt 1542: Error rate 48.25% (target: 15%) +2025-09-15T14:20:39.465Z | [OTHER] | Attempt 1543: Error rate 55.67% (target: 15%) +2025-09-15T14:20:39.467Z | [OTHER] | Attempt 1544: Error rate 44.84% (target: 15%) +2025-09-15T14:20:39.470Z | [OTHER] | Attempt 1545: Error rate 49.57% (target: 15%) +2025-09-15T14:20:39.472Z | [OTHER] | Attempt 1546: Error rate 50% (target: 15%) +2025-09-15T14:20:39.474Z | [OTHER] | Attempt 1547: Error rate 47.83% (target: 15%) +2025-09-15T14:20:39.477Z | [OTHER] | Attempt 1548: Error rate 47.78% (target: 15%) +2025-09-15T14:20:39.479Z | [OTHER] | Attempt 1549: Error rate 46.38% (target: 15%) +2025-09-15T14:20:39.481Z | [OTHER] | Attempt 1550: Error rate 51.42% (target: 15%) +2025-09-15T14:20:39.483Z | [OTHER] | Attempt 1551: Error rate 48.72% (target: 15%) +2025-09-15T14:20:39.485Z | [OTHER] | Attempt 1552: Error rate 51.52% (target: 15%) +2025-09-15T14:20:39.488Z | [OTHER] | Attempt 1553: Error rate 44.1% (target: 15%) +2025-09-15T14:20:39.490Z | [OTHER] | Attempt 1554: Error rate 54.81% (target: 15%) +2025-09-15T14:20:39.492Z | [OTHER] | Attempt 1555: Error rate 52.85% (target: 15%) +2025-09-15T14:20:39.494Z | [OTHER] | Attempt 1556: Error rate 50% (target: 15%) +2025-09-15T14:20:39.497Z | [OTHER] | Attempt 1557: Error rate 47.97% (target: 15%) +2025-09-15T14:20:39.499Z | [OTHER] | Attempt 1558: Error rate 54.81% (target: 15%) +2025-09-15T14:20:39.502Z | [OTHER] | Attempt 1559: Error rate 51.85% (target: 15%) +2025-09-15T14:20:39.504Z | [OTHER] | Attempt 1560: Error rate 48.45% (target: 15%) +2025-09-15T14:20:39.507Z | [OTHER] | Attempt 1561: Error rate 44.2% (target: 15%) +2025-09-15T14:20:39.509Z | [OTHER] | Attempt 1562: Error rate 55.68% (target: 15%) +2025-09-15T14:20:39.511Z | [OTHER] | Attempt 1563: Error rate 50% (target: 15%) +2025-09-15T14:20:39.513Z | [OTHER] | Attempt 1564: Error rate 49.29% (target: 15%) +2025-09-15T14:20:39.515Z | [OTHER] | Attempt 1565: Error rate 50.37% (target: 15%) +2025-09-15T14:20:39.518Z | [OTHER] | Attempt 1566: Error rate 52.44% (target: 15%) +2025-09-15T14:20:39.520Z | [OTHER] | Attempt 1567: Error rate 56.14% (target: 15%) +2025-09-15T14:20:39.522Z | [OTHER] | Attempt 1568: Error rate 53.25% (target: 15%) +2025-09-15T14:20:39.525Z | [OTHER] | Attempt 1569: Error rate 58.91% (target: 15%) +2025-09-15T14:20:39.527Z | [OTHER] | Attempt 1570: Error rate 49.26% (target: 15%) +2025-09-15T14:20:39.529Z | [OTHER] | Attempt 1571: Error rate 52.22% (target: 15%) +2025-09-15T14:20:39.532Z | [OTHER] | Attempt 1572: Error rate 55.19% (target: 15%) +2025-09-15T14:20:39.534Z | [OTHER] | Attempt 1573: Error rate 54.44% (target: 15%) +2025-09-15T14:20:39.537Z | [OTHER] | Attempt 1574: Error rate 59.78% (target: 15%) +2025-09-15T14:20:39.539Z | [OTHER] | Attempt 1575: Error rate 51.85% (target: 15%) +2025-09-15T14:20:39.541Z | [OTHER] | Attempt 1576: Error rate 50.79% (target: 15%) +2025-09-15T14:20:39.543Z | [OTHER] | Attempt 1577: Error rate 49.61% (target: 15%) +2025-09-15T14:20:39.545Z | [OTHER] | Attempt 1578: Error rate 47.41% (target: 15%) +2025-09-15T14:20:39.548Z | [OTHER] | Attempt 1579: Error rate 45.63% (target: 15%) +2025-09-15T14:20:39.550Z | [OTHER] | Attempt 1580: Error rate 48.45% (target: 15%) +2025-09-15T14:20:39.552Z | [OTHER] | Attempt 1581: Error rate 56.44% (target: 15%) +2025-09-15T14:20:39.554Z | [OTHER] | Attempt 1582: Error rate 54.92% (target: 15%) +2025-09-15T14:20:39.556Z | [OTHER] | Attempt 1583: Error rate 57.46% (target: 15%) +2025-09-15T14:20:39.558Z | [OTHER] | Attempt 1584: Error rate 46.76% (target: 15%) +2025-09-15T14:20:39.561Z | [OTHER] | Attempt 1585: Error rate 53.33% (target: 15%) +2025-09-15T14:20:39.563Z | [OTHER] | Attempt 1586: Error rate 62.79% (target: 15%) +2025-09-15T14:20:39.565Z | [OTHER] | Attempt 1587: Error rate 52.65% (target: 15%) +2025-09-15T14:20:39.568Z | [OTHER] | Attempt 1588: Error rate 49.29% (target: 15%) +2025-09-15T14:20:39.570Z | [OTHER] | Attempt 1589: Error rate 49.29% (target: 15%) +2025-09-15T14:20:39.572Z | [OTHER] | Attempt 1590: Error rate 47.78% (target: 15%) +2025-09-15T14:20:39.575Z | [OTHER] | Attempt 1591: Error rate 53.88% (target: 15%) +2025-09-15T14:20:39.577Z | [OTHER] | Attempt 1592: Error rate 54.55% (target: 15%) +2025-09-15T14:20:39.580Z | [OTHER] | Attempt 1593: Error rate 59.06% (target: 15%) +2025-09-15T14:20:39.582Z | [OTHER] | Attempt 1594: Error rate 56.74% (target: 15%) +2025-09-15T14:20:39.584Z | [OTHER] | Attempt 1595: Error rate 53.79% (target: 15%) +2025-09-15T14:20:39.586Z | [OTHER] | Attempt 1596: Error rate 50.35% (target: 15%) +2025-09-15T14:20:39.588Z | [OTHER] | Attempt 1597: Error rate 53.17% (target: 15%) +2025-09-15T14:20:39.591Z | [OTHER] | Attempt 1598: Error rate 44.7% (target: 15%) +2025-09-15T14:20:39.593Z | [OTHER] | Attempt 1599: Error rate 45.74% (target: 15%) +2025-09-15T14:20:39.595Z | [OTHER] | Attempt 1600: Error rate 55.43% (target: 15%) +2025-09-15T14:20:39.598Z | [OTHER] | Attempt 1601: Error rate 47.52% (target: 15%) +2025-09-15T14:20:39.600Z | [OTHER] | Attempt 1602: Error rate 50% (target: 15%) +2025-09-15T14:20:39.602Z | [OTHER] | Attempt 1603: Error rate 54.17% (target: 15%) +2025-09-15T14:20:39.605Z | [OTHER] | Attempt 1604: Error rate 47.46% (target: 15%) +2025-09-15T14:20:39.607Z | [OTHER] | Attempt 1605: Error rate 52.99% (target: 15%) +2025-09-15T14:20:39.609Z | [OTHER] | Attempt 1606: Error rate 48.81% (target: 15%) +2025-09-15T14:20:39.611Z | [OTHER] | Attempt 1607: Error rate 44.57% (target: 15%) +2025-09-15T14:20:39.613Z | [OTHER] | Attempt 1608: Error rate 52.03% (target: 15%) +2025-09-15T14:20:39.616Z | [OTHER] | Attempt 1609: Error rate 53.79% (target: 15%) +2025-09-15T14:20:39.618Z | [OTHER] | Attempt 1610: Error rate 52.96% (target: 15%) +2025-09-15T14:20:39.621Z | [OTHER] | Attempt 1611: Error rate 44.81% (target: 15%) +2025-09-15T14:20:39.623Z | [OTHER] | Attempt 1612: Error rate 49.62% (target: 15%) +2025-09-15T14:20:39.625Z | [OTHER] | Attempt 1613: Error rate 51.16% (target: 15%) +2025-09-15T14:20:39.628Z | [OTHER] | Attempt 1614: Error rate 54.71% (target: 15%) +2025-09-15T14:20:39.630Z | [OTHER] | Attempt 1615: Error rate 52.33% (target: 15%) +2025-09-15T14:20:39.633Z | [OTHER] | Attempt 1616: Error rate 53.49% (target: 15%) +2025-09-15T14:20:39.635Z | [OTHER] | Attempt 1617: Error rate 51.94% (target: 15%) +2025-09-15T14:20:39.637Z | [OTHER] | Attempt 1618: Error rate 55.19% (target: 15%) +2025-09-15T14:20:39.640Z | [OTHER] | Attempt 1619: Error rate 53.41% (target: 15%) +2025-09-15T14:20:39.642Z | [OTHER] | Attempt 1620: Error rate 42.59% (target: 15%) +2025-09-15T14:20:39.644Z | [OTHER] | Attempt 1621: Error rate 51.94% (target: 15%) +2025-09-15T14:20:39.647Z | [OTHER] | Attempt 1622: Error rate 40.74% (target: 15%) +2025-09-15T14:20:39.649Z | [OTHER] | Attempt 1623: Error rate 52.85% (target: 15%) +2025-09-15T14:20:39.651Z | [OTHER] | Attempt 1624: Error rate 45.19% (target: 15%) +2025-09-15T14:20:39.654Z | [OTHER] | Attempt 1625: Error rate 54.26% (target: 15%) +2025-09-15T14:20:39.656Z | [OTHER] | Attempt 1626: Error rate 53.49% (target: 15%) +2025-09-15T14:20:39.659Z | [OTHER] | Attempt 1627: Error rate 54.17% (target: 15%) +2025-09-15T14:20:39.661Z | [OTHER] | Attempt 1628: Error rate 50.83% (target: 15%) +2025-09-15T14:20:39.663Z | [OTHER] | Attempt 1629: Error rate 55.16% (target: 15%) +2025-09-15T14:20:39.666Z | [OTHER] | Attempt 1630: Error rate 57.04% (target: 15%) +2025-09-15T14:20:39.668Z | [OTHER] | Attempt 1631: Error rate 55.56% (target: 15%) +2025-09-15T14:20:39.671Z | [OTHER] | Attempt 1632: Error rate 58.54% (target: 15%) +2025-09-15T14:20:39.678Z | [OTHER] | Attempt 1633: Error rate 50% (target: 15%) +2025-09-15T14:20:39.681Z | [OTHER] | Attempt 1634: Error rate 45.24% (target: 15%) +2025-09-15T14:20:39.684Z | [OTHER] | Attempt 1635: Error rate 59.09% (target: 15%) +2025-09-15T14:20:39.686Z | [OTHER] | Attempt 1636: Error rate 53.79% (target: 15%) +2025-09-15T14:20:39.689Z | [OTHER] | Attempt 1637: Error rate 49.17% (target: 15%) +2025-09-15T14:20:39.691Z | [OTHER] | Attempt 1638: Error rate 50.37% (target: 15%) +2025-09-15T14:20:39.693Z | [OTHER] | Attempt 1639: Error rate 52.22% (target: 15%) +2025-09-15T14:20:39.696Z | [OTHER] | Attempt 1640: Error rate 48.19% (target: 15%) +2025-09-15T14:20:39.698Z | [OTHER] | Attempt 1641: Error rate 59.78% (target: 15%) +2025-09-15T14:20:39.700Z | [OTHER] | Attempt 1642: Error rate 54.71% (target: 15%) +2025-09-15T14:20:39.703Z | [OTHER] | Attempt 1643: Error rate 53.79% (target: 15%) +2025-09-15T14:20:39.705Z | [OTHER] | Attempt 1644: Error rate 61.9% (target: 15%) +2025-09-15T14:20:39.707Z | [OTHER] | Attempt 1645: Error rate 59.13% (target: 15%) +2025-09-15T14:20:39.709Z | [OTHER] | Attempt 1646: Error rate 54.17% (target: 15%) +2025-09-15T14:20:39.712Z | [OTHER] | Attempt 1647: Error rate 56.35% (target: 15%) +2025-09-15T14:20:39.714Z | [OTHER] | Attempt 1648: Error rate 42.86% (target: 15%) +2025-09-15T14:20:39.716Z | [OTHER] | Attempt 1649: Error rate 47.41% (target: 15%) +2025-09-15T14:20:39.718Z | [OTHER] | Attempt 1650: Error rate 57.2% (target: 15%) +2025-09-15T14:20:39.721Z | [OTHER] | Attempt 1651: Error rate 51.55% (target: 15%) +2025-09-15T14:20:39.723Z | [OTHER] | Attempt 1652: Error rate 52.54% (target: 15%) +2025-09-15T14:20:39.726Z | [OTHER] | Attempt 1653: Error rate 54.47% (target: 15%) +2025-09-15T14:20:39.728Z | [OTHER] | Attempt 1654: Error rate 49.12% (target: 15%) +2025-09-15T14:20:39.730Z | [OTHER] | Attempt 1655: Error rate 57.58% (target: 15%) +2025-09-15T14:20:39.732Z | [OTHER] | Attempt 1656: Error rate 59.67% (target: 15%) +2025-09-15T14:20:39.734Z | [OTHER] | Attempt 1657: Error rate 52.27% (target: 15%) +2025-09-15T14:20:39.738Z | [OTHER] | Attempt 1658: Error rate 46.38% (target: 15%) +2025-09-15T14:20:39.739Z | [OTHER] | Attempt 1659: Error rate 61.9% (target: 15%) +2025-09-15T14:20:39.741Z | [OTHER] | Attempt 1660: Error rate 54.76% (target: 15%) +2025-09-15T14:20:39.744Z | [OTHER] | Attempt 1661: Error rate 52.22% (target: 15%) +2025-09-15T14:20:39.746Z | [OTHER] | Attempt 1662: Error rate 54.92% (target: 15%) +2025-09-15T14:20:39.749Z | [OTHER] | Attempt 1663: Error rate 56.35% (target: 15%) +2025-09-15T14:20:39.751Z | [OTHER] | Attempt 1664: Error rate 53.97% (target: 15%) +2025-09-15T14:20:39.753Z | [OTHER] | Attempt 1665: Error rate 52.71% (target: 15%) +2025-09-15T14:20:39.756Z | [OTHER] | Attempt 1666: Error rate 45.93% (target: 15%) +2025-09-15T14:20:39.758Z | [OTHER] | Attempt 1667: Error rate 56.52% (target: 15%) +2025-09-15T14:20:39.760Z | [OTHER] | Attempt 1668: Error rate 50% (target: 15%) +2025-09-15T14:20:39.763Z | [OTHER] | Attempt 1669: Error rate 57.41% (target: 15%) +2025-09-15T14:20:39.765Z | [OTHER] | Attempt 1670: Error rate 60.64% (target: 15%) +2025-09-15T14:20:39.767Z | [OTHER] | Attempt 1671: Error rate 51.22% (target: 15%) +2025-09-15T14:20:39.769Z | [OTHER] | Attempt 1672: Error rate 53.41% (target: 15%) +2025-09-15T14:20:39.772Z | [OTHER] | Attempt 1673: Error rate 49.22% (target: 15%) +2025-09-15T14:20:39.775Z | [OTHER] | Attempt 1674: Error rate 51.89% (target: 15%) +2025-09-15T14:20:39.777Z | [OTHER] | Attempt 1675: Error rate 57.54% (target: 15%) +2025-09-15T14:20:39.780Z | [OTHER] | Attempt 1676: Error rate 43.16% (target: 15%) +2025-09-15T14:20:39.782Z | [OTHER] | Attempt 1677: Error rate 47.22% (target: 15%) +2025-09-15T14:20:39.784Z | [OTHER] | Attempt 1678: Error rate 52.56% (target: 15%) +2025-09-15T14:20:39.787Z | [OTHER] | Attempt 1679: Error rate 43.33% (target: 15%) +2025-09-15T14:20:39.789Z | [OTHER] | Attempt 1680: Error rate 51.45% (target: 15%) +2025-09-15T14:20:39.791Z | [OTHER] | Attempt 1681: Error rate 62.59% (target: 15%) +2025-09-15T14:20:39.794Z | [OTHER] | Attempt 1682: Error rate 53.9% (target: 15%) +2025-09-15T14:20:39.796Z | [OTHER] | Attempt 1683: Error rate 54.17% (target: 15%) +2025-09-15T14:20:39.798Z | [OTHER] | Attempt 1684: Error rate 53.1% (target: 15%) +2025-09-15T14:20:39.800Z | [OTHER] | Attempt 1685: Error rate 53.7% (target: 15%) +2025-09-15T14:20:39.803Z | [OTHER] | Attempt 1686: Error rate 46.21% (target: 15%) +2025-09-15T14:20:39.806Z | [OTHER] | Attempt 1687: Error rate 49.21% (target: 15%) +2025-09-15T14:20:39.808Z | [OTHER] | Attempt 1688: Error rate 49.33% (target: 15%) +2025-09-15T14:20:39.811Z | [OTHER] | Attempt 1689: Error rate 54.42% (target: 15%) +2025-09-15T14:20:39.813Z | [OTHER] | Attempt 1690: Error rate 47.67% (target: 15%) +2025-09-15T14:20:39.815Z | [OTHER] | Attempt 1691: Error rate 59.26% (target: 15%) +2025-09-15T14:20:39.818Z | [OTHER] | Attempt 1692: Error rate 54.81% (target: 15%) +2025-09-15T14:20:39.820Z | [OTHER] | Attempt 1693: Error rate 54.76% (target: 15%) +2025-09-15T14:20:39.823Z | [OTHER] | Attempt 1694: Error rate 53.25% (target: 15%) +2025-09-15T14:20:39.825Z | [OTHER] | Attempt 1695: Error rate 50% (target: 15%) +2025-09-15T14:20:39.828Z | [OTHER] | Attempt 1696: Error rate 55.93% (target: 15%) +2025-09-15T14:20:39.830Z | [OTHER] | Attempt 1697: Error rate 48.52% (target: 15%) +2025-09-15T14:20:39.832Z | [OTHER] | Attempt 1698: Error rate 56.2% (target: 15%) +2025-09-15T14:20:39.834Z | [OTHER] | Attempt 1699: Error rate 55.78% (target: 15%) +2025-09-15T14:20:39.838Z | [OTHER] | Attempt 1700: Error rate 51.14% (target: 15%) +2025-09-15T14:20:39.840Z | [OTHER] | Attempt 1701: Error rate 56.06% (target: 15%) +2025-09-15T14:20:39.842Z | [OTHER] | Attempt 1702: Error rate 55.43% (target: 15%) +2025-09-15T14:20:39.844Z | [OTHER] | Attempt 1703: Error rate 56.16% (target: 15%) +2025-09-15T14:20:39.846Z | [OTHER] | Attempt 1704: Error rate 60.57% (target: 15%) +2025-09-15T14:20:39.849Z | [OTHER] | Attempt 1705: Error rate 52.54% (target: 15%) +2025-09-15T14:20:39.852Z | [OTHER] | Attempt 1706: Error rate 51.11% (target: 15%) +2025-09-15T14:20:39.854Z | [OTHER] | Attempt 1707: Error rate 57.72% (target: 15%) +2025-09-15T14:20:39.856Z | [OTHER] | Attempt 1708: Error rate 55.78% (target: 15%) +2025-09-15T14:20:39.859Z | [OTHER] | Attempt 1709: Error rate 49.58% (target: 15%) +2025-09-15T14:20:39.861Z | [OTHER] | Attempt 1710: Error rate 62.12% (target: 15%) +2025-09-15T14:20:39.864Z | [OTHER] | Attempt 1711: Error rate 48.61% (target: 15%) +2025-09-15T14:20:39.866Z | [OTHER] | Attempt 1712: Error rate 53.88% (target: 15%) +2025-09-15T14:20:39.868Z | [OTHER] | Attempt 1713: Error rate 50.85% (target: 15%) +2025-09-15T14:20:39.871Z | [OTHER] | Attempt 1714: Error rate 44.93% (target: 15%) +2025-09-15T14:20:39.873Z | [OTHER] | Attempt 1715: Error rate 55.07% (target: 15%) +2025-09-15T14:20:39.875Z | [OTHER] | Attempt 1716: Error rate 55.56% (target: 15%) +2025-09-15T14:20:39.878Z | [OTHER] | Attempt 1717: Error rate 52.27% (target: 15%) +2025-09-15T14:20:39.880Z | [OTHER] | Attempt 1718: Error rate 47.29% (target: 15%) +2025-09-15T14:20:39.883Z | [OTHER] | Attempt 1719: Error rate 52.71% (target: 15%) +2025-09-15T14:20:39.885Z | [OTHER] | Attempt 1720: Error rate 41.86% (target: 15%) +2025-09-15T14:20:39.887Z | [OTHER] | Attempt 1721: Error rate 51.55% (target: 15%) +2025-09-15T14:20:39.890Z | [OTHER] | Attempt 1722: Error rate 55.67% (target: 15%) +2025-09-15T14:20:39.892Z | [OTHER] | Attempt 1723: Error rate 45.53% (target: 15%) +2025-09-15T14:20:39.894Z | [OTHER] | Attempt 1724: Error rate 56.5% (target: 15%) +2025-09-15T14:20:39.897Z | [OTHER] | Attempt 1725: Error rate 44.02% (target: 15%) +2025-09-15T14:20:39.899Z | [OTHER] | Attempt 1726: Error rate 55.56% (target: 15%) +2025-09-15T14:20:39.902Z | [OTHER] | Attempt 1727: Error rate 53.66% (target: 15%) +2025-09-15T14:20:39.904Z | [OTHER] | Attempt 1728: Error rate 57.5% (target: 15%) +2025-09-15T14:20:39.906Z | [OTHER] | Attempt 1729: Error rate 47.87% (target: 15%) +2025-09-15T14:20:39.908Z | [OTHER] | Attempt 1730: Error rate 46.83% (target: 15%) +2025-09-15T14:20:39.911Z | [OTHER] | Attempt 1731: Error rate 54.07% (target: 15%) +2025-09-15T14:20:39.913Z | [OTHER] | Attempt 1732: Error rate 50% (target: 15%) +2025-09-15T14:20:39.915Z | [OTHER] | Attempt 1733: Error rate 53.41% (target: 15%) +2025-09-15T14:20:39.918Z | [OTHER] | Attempt 1734: Error rate 51.52% (target: 15%) +2025-09-15T14:20:39.920Z | [OTHER] | Attempt 1735: Error rate 39.53% (target: 15%) +2025-09-15T14:20:39.922Z | [OTHER] | Attempt 1736: Error rate 55.56% (target: 15%) +2025-09-15T14:20:39.925Z | [OTHER] | Attempt 1737: Error rate 47.83% (target: 15%) +2025-09-15T14:20:39.927Z | [OTHER] | Attempt 1738: Error rate 54.07% (target: 15%) +2025-09-15T14:20:39.929Z | [OTHER] | Attempt 1739: Error rate 56.38% (target: 15%) +2025-09-15T14:20:39.932Z | [OTHER] | Attempt 1740: Error rate 60% (target: 15%) +2025-09-15T14:20:39.934Z | [OTHER] | Attempt 1741: Error rate 53.1% (target: 15%) +2025-09-15T14:20:39.937Z | [OTHER] | Attempt 1742: Error rate 47.1% (target: 15%) +2025-09-15T14:20:39.939Z | [OTHER] | Attempt 1743: Error rate 59.3% (target: 15%) +2025-09-15T14:20:39.942Z | [OTHER] | Attempt 1744: Error rate 50.76% (target: 15%) +2025-09-15T14:20:39.945Z | [OTHER] | Attempt 1745: Error rate 52.84% (target: 15%) +2025-09-15T14:20:39.948Z | [OTHER] | Attempt 1746: Error rate 57.14% (target: 15%) +2025-09-15T14:20:39.950Z | [OTHER] | Attempt 1747: Error rate 49.65% (target: 15%) +2025-09-15T14:20:39.953Z | [OTHER] | Attempt 1748: Error rate 53.17% (target: 15%) +2025-09-15T14:20:39.956Z | [OTHER] | Attempt 1749: Error rate 57.32% (target: 15%) +2025-09-15T14:20:39.959Z | [OTHER] | Attempt 1750: Error rate 56.98% (target: 15%) +2025-09-15T14:20:39.963Z | [OTHER] | Attempt 1751: Error rate 59.33% (target: 15%) +2025-09-15T14:20:39.966Z | [OTHER] | Attempt 1752: Error rate 50% (target: 15%) +2025-09-15T14:20:39.969Z | [OTHER] | Attempt 1753: Error rate 56.38% (target: 15%) +2025-09-15T14:20:39.972Z | [OTHER] | Attempt 1754: Error rate 51.11% (target: 15%) +2025-09-15T14:20:39.974Z | [OTHER] | Attempt 1755: Error rate 62.4% (target: 15%) +2025-09-15T14:20:39.977Z | [OTHER] | Attempt 1756: Error rate 43.18% (target: 15%) +2025-09-15T14:20:39.979Z | [OTHER] | Attempt 1757: Error rate 45.18% (target: 15%) +2025-09-15T14:20:39.981Z | [OTHER] | Attempt 1758: Error rate 47.62% (target: 15%) +2025-09-15T14:20:39.984Z | [OTHER] | Attempt 1759: Error rate 51.89% (target: 15%) +2025-09-15T14:20:39.987Z | [OTHER] | Attempt 1760: Error rate 47.57% (target: 15%) +2025-09-15T14:20:39.989Z | [OTHER] | Attempt 1761: Error rate 52.92% (target: 15%) +2025-09-15T14:20:39.992Z | [OTHER] | Attempt 1762: Error rate 61.51% (target: 15%) +2025-09-15T14:20:39.995Z | [OTHER] | Attempt 1763: Error rate 50.79% (target: 15%) +2025-09-15T14:20:39.998Z | [OTHER] | Attempt 1764: Error rate 58.71% (target: 15%) +2025-09-15T14:20:40.000Z | [OTHER] | Attempt 1765: Error rate 58.55% (target: 15%) +2025-09-15T14:20:40.003Z | [OTHER] | Attempt 1766: Error rate 55.32% (target: 15%) +2025-09-15T14:20:40.006Z | [OTHER] | Attempt 1767: Error rate 55.43% (target: 15%) +2025-09-15T14:20:40.010Z | [OTHER] | Attempt 1768: Error rate 52.84% (target: 15%) +2025-09-15T14:20:40.013Z | [OTHER] | Attempt 1769: Error rate 53.55% (target: 15%) +2025-09-15T14:20:40.016Z | [OTHER] | Attempt 1770: Error rate 43.7% (target: 15%) +2025-09-15T14:20:40.019Z | [OTHER] | Attempt 1771: Error rate 51.59% (target: 15%) +2025-09-15T14:20:40.022Z | [OTHER] | Attempt 1772: Error rate 53.41% (target: 15%) +2025-09-15T14:20:40.025Z | [OTHER] | Attempt 1773: Error rate 54.7% (target: 15%) +2025-09-15T14:20:40.028Z | [OTHER] | Attempt 1774: Error rate 52.04% (target: 15%) +2025-09-15T14:20:40.030Z | [OTHER] | Attempt 1775: Error rate 45.83% (target: 15%) +2025-09-15T14:20:40.033Z | [OTHER] | Attempt 1776: Error rate 49.64% (target: 15%) +2025-09-15T14:20:40.036Z | [OTHER] | Attempt 1777: Error rate 45.19% (target: 15%) +2025-09-15T14:20:40.039Z | [OTHER] | Attempt 1778: Error rate 56.67% (target: 15%) +2025-09-15T14:20:40.041Z | [OTHER] | Attempt 1779: Error rate 57.58% (target: 15%) +2025-09-15T14:20:40.044Z | [OTHER] | Attempt 1780: Error rate 51.89% (target: 15%) +2025-09-15T14:20:40.047Z | [OTHER] | Attempt 1781: Error rate 52.17% (target: 15%) +2025-09-15T14:20:40.050Z | [OTHER] | Attempt 1782: Error rate 53.33% (target: 15%) +2025-09-15T14:20:40.054Z | [OTHER] | Attempt 1783: Error rate 46.88% (target: 15%) +2025-09-15T14:20:40.056Z | [OTHER] | Attempt 1784: Error rate 53.57% (target: 15%) +2025-09-15T14:20:40.058Z | [OTHER] | Attempt 1785: Error rate 55.56% (target: 15%) +2025-09-15T14:20:40.061Z | [OTHER] | Attempt 1786: Error rate 55.43% (target: 15%) +2025-09-15T14:20:40.064Z | [OTHER] | Attempt 1787: Error rate 50.36% (target: 15%) +2025-09-15T14:20:40.067Z | [OTHER] | Attempt 1788: Error rate 52.27% (target: 15%) +2025-09-15T14:20:40.070Z | [OTHER] | Attempt 1789: Error rate 58.33% (target: 15%) +2025-09-15T14:20:40.072Z | [OTHER] | Attempt 1790: Error rate 49.21% (target: 15%) +2025-09-15T14:20:40.075Z | [OTHER] | Attempt 1791: Error rate 57.2% (target: 15%) +2025-09-15T14:20:40.078Z | [OTHER] | Attempt 1792: Error rate 50.78% (target: 15%) +2025-09-15T14:20:40.080Z | [OTHER] | Attempt 1793: Error rate 52.22% (target: 15%) +2025-09-15T14:20:40.083Z | [OTHER] | Attempt 1794: Error rate 51.85% (target: 15%) +2025-09-15T14:20:40.085Z | [OTHER] | Attempt 1795: Error rate 62.68% (target: 15%) +2025-09-15T14:20:40.087Z | [OTHER] | Attempt 1796: Error rate 48.11% (target: 15%) +2025-09-15T14:20:40.090Z | [OTHER] | Attempt 1797: Error rate 50.78% (target: 15%) +2025-09-15T14:20:40.092Z | [OTHER] | Attempt 1798: Error rate 55.8% (target: 15%) +2025-09-15T14:20:40.095Z | [OTHER] | Attempt 1799: Error rate 45.29% (target: 15%) +2025-09-15T14:20:40.097Z | [OTHER] | Attempt 1800: Error rate 46.43% (target: 15%) +2025-09-15T14:20:40.099Z | [OTHER] | Attempt 1801: Error rate 47.78% (target: 15%) +2025-09-15T14:20:40.102Z | [OTHER] | Attempt 1802: Error rate 46.38% (target: 15%) +2025-09-15T14:20:40.104Z | [OTHER] | Attempt 1803: Error rate 49.58% (target: 15%) +2025-09-15T14:20:40.106Z | [OTHER] | Attempt 1804: Error rate 47.35% (target: 15%) +2025-09-15T14:20:40.109Z | [OTHER] | Attempt 1805: Error rate 52.5% (target: 15%) +2025-09-15T14:20:40.112Z | [OTHER] | Attempt 1806: Error rate 47.35% (target: 15%) +2025-09-15T14:20:40.114Z | [OTHER] | Attempt 1807: Error rate 52.78% (target: 15%) +2025-09-15T14:20:40.116Z | [OTHER] | Attempt 1808: Error rate 49.63% (target: 15%) +2025-09-15T14:20:40.119Z | [OTHER] | Attempt 1809: Error rate 53.75% (target: 15%) +2025-09-15T14:20:40.121Z | [OTHER] | Attempt 1810: Error rate 61.36% (target: 15%) +2025-09-15T14:20:40.124Z | [OTHER] | Attempt 1811: Error rate 50.81% (target: 15%) +2025-09-15T14:20:40.126Z | [OTHER] | Attempt 1812: Error rate 50.43% (target: 15%) +2025-09-15T14:20:40.128Z | [OTHER] | Attempt 1813: Error rate 46.05% (target: 15%) +2025-09-15T14:20:40.131Z | [OTHER] | Attempt 1814: Error rate 53.41% (target: 15%) +2025-09-15T14:20:40.133Z | [OTHER] | Attempt 1815: Error rate 56.2% (target: 15%) +2025-09-15T14:20:40.136Z | [OTHER] | Attempt 1816: Error rate 57.36% (target: 15%) +2025-09-15T14:20:40.138Z | [OTHER] | Attempt 1817: Error rate 53.26% (target: 15%) +2025-09-15T14:20:40.140Z | [OTHER] | Attempt 1818: Error rate 47.08% (target: 15%) +2025-09-15T14:20:40.143Z | [OTHER] | Attempt 1819: Error rate 57.14% (target: 15%) +2025-09-15T14:20:40.145Z | [OTHER] | Attempt 1820: Error rate 52.17% (target: 15%) +2025-09-15T14:20:40.148Z | [OTHER] | Attempt 1821: Error rate 47.78% (target: 15%) +2025-09-15T14:20:40.150Z | [OTHER] | Attempt 1822: Error rate 61.51% (target: 15%) +2025-09-15T14:20:40.153Z | [OTHER] | Attempt 1823: Error rate 52.14% (target: 15%) +2025-09-15T14:20:40.155Z | [OTHER] | Attempt 1824: Error rate 51.85% (target: 15%) +2025-09-15T14:20:40.159Z | [OTHER] | Attempt 1825: Error rate 46.21% (target: 15%) +2025-09-15T14:20:40.160Z | [OTHER] | Attempt 1826: Error rate 52.9% (target: 15%) +2025-09-15T14:20:40.163Z | [OTHER] | Attempt 1827: Error rate 53.62% (target: 15%) +2025-09-15T14:20:40.165Z | [OTHER] | Attempt 1828: Error rate 54.61% (target: 15%) +2025-09-15T14:20:40.168Z | [OTHER] | Attempt 1829: Error rate 52.22% (target: 15%) +2025-09-15T14:20:40.170Z | [OTHER] | Attempt 1830: Error rate 51.59% (target: 15%) +2025-09-15T14:20:40.172Z | [OTHER] | Attempt 1831: Error rate 51.67% (target: 15%) +2025-09-15T14:20:40.175Z | [OTHER] | Attempt 1832: Error rate 48.58% (target: 15%) +2025-09-15T14:20:40.177Z | [OTHER] | Attempt 1833: Error rate 52.84% (target: 15%) +2025-09-15T14:20:40.180Z | [OTHER] | Attempt 1834: Error rate 54.07% (target: 15%) +2025-09-15T14:20:40.182Z | [OTHER] | Attempt 1835: Error rate 52.17% (target: 15%) +2025-09-15T14:20:40.185Z | [OTHER] | Attempt 1836: Error rate 45.65% (target: 15%) +2025-09-15T14:20:40.187Z | [OTHER] | Attempt 1837: Error rate 53.17% (target: 15%) +2025-09-15T14:20:40.190Z | [OTHER] | Attempt 1838: Error rate 58.33% (target: 15%) +2025-09-15T14:20:40.193Z | [OTHER] | Attempt 1839: Error rate 51.98% (target: 15%) +2025-09-15T14:20:40.195Z | [OTHER] | Attempt 1840: Error rate 42.03% (target: 15%) +2025-09-15T14:20:40.198Z | [OTHER] | Attempt 1841: Error rate 49.28% (target: 15%) +2025-09-15T14:20:40.200Z | [OTHER] | Attempt 1842: Error rate 55.67% (target: 15%) +2025-09-15T14:20:40.203Z | [OTHER] | Attempt 1843: Error rate 56.88% (target: 15%) +2025-09-15T14:20:40.205Z | [OTHER] | Attempt 1844: Error rate 45.74% (target: 15%) +2025-09-15T14:20:40.208Z | [OTHER] | Attempt 1845: Error rate 53.88% (target: 15%) +2025-09-15T14:20:40.210Z | [OTHER] | Attempt 1846: Error rate 48.15% (target: 15%) +2025-09-15T14:20:40.213Z | [OTHER] | Attempt 1847: Error rate 50% (target: 15%) +2025-09-15T14:20:40.215Z | [OTHER] | Attempt 1848: Error rate 45.08% (target: 15%) +2025-09-15T14:20:40.218Z | [OTHER] | Attempt 1849: Error rate 51.89% (target: 15%) +2025-09-15T14:20:40.220Z | [OTHER] | Attempt 1850: Error rate 49.22% (target: 15%) +2025-09-15T14:20:40.223Z | [OTHER] | Attempt 1851: Error rate 48.84% (target: 15%) +2025-09-15T14:20:40.225Z | [OTHER] | Attempt 1852: Error rate 48% (target: 15%) +2025-09-15T14:20:40.228Z | [OTHER] | Attempt 1853: Error rate 53.49% (target: 15%) +2025-09-15T14:20:40.230Z | [OTHER] | Attempt 1854: Error rate 49.28% (target: 15%) +2025-09-15T14:20:40.233Z | [OTHER] | Attempt 1855: Error rate 58.13% (target: 15%) +2025-09-15T14:20:40.235Z | [OTHER] | Attempt 1856: Error rate 58.15% (target: 15%) +2025-09-15T14:20:40.237Z | [OTHER] | Attempt 1857: Error rate 50.74% (target: 15%) +2025-09-15T14:20:40.240Z | [OTHER] | Attempt 1858: Error rate 56.35% (target: 15%) +2025-09-15T14:20:40.242Z | [OTHER] | Attempt 1859: Error rate 46.83% (target: 15%) +2025-09-15T14:20:40.245Z | [OTHER] | Attempt 1860: Error rate 51.11% (target: 15%) +2025-09-15T14:20:40.247Z | [OTHER] | Attempt 1861: Error rate 47.87% (target: 15%) +2025-09-15T14:20:40.249Z | [OTHER] | Attempt 1862: Error rate 55.68% (target: 15%) +2025-09-15T14:20:40.252Z | [OTHER] | Attempt 1863: Error rate 51.55% (target: 15%) +2025-09-15T14:20:40.254Z | [OTHER] | Attempt 1864: Error rate 50.35% (target: 15%) +2025-09-15T14:20:40.257Z | [OTHER] | Attempt 1865: Error rate 55.16% (target: 15%) +2025-09-15T14:20:40.260Z | [OTHER] | Attempt 1866: Error rate 58.5% (target: 15%) +2025-09-15T14:20:40.262Z | [OTHER] | Attempt 1867: Error rate 52.17% (target: 15%) +2025-09-15T14:20:40.264Z | [OTHER] | Attempt 1868: Error rate 41.47% (target: 15%) +2025-09-15T14:20:40.267Z | [OTHER] | Attempt 1869: Error rate 51.52% (target: 15%) +2025-09-15T14:20:40.269Z | [OTHER] | Attempt 1870: Error rate 58.33% (target: 15%) +2025-09-15T14:20:40.272Z | [OTHER] | Attempt 1871: Error rate 51.11% (target: 15%) +2025-09-15T14:20:40.274Z | [OTHER] | Attempt 1872: Error rate 48.52% (target: 15%) +2025-09-15T14:20:40.278Z | [OTHER] | Attempt 1873: Error rate 45.56% (target: 15%) +2025-09-15T14:20:40.280Z | [OTHER] | Attempt 1874: Error rate 49.63% (target: 15%) +2025-09-15T14:20:40.283Z | [OTHER] | Attempt 1875: Error rate 46.34% (target: 15%) +2025-09-15T14:20:40.285Z | [OTHER] | Attempt 1876: Error rate 51.55% (target: 15%) +2025-09-15T14:20:40.288Z | [OTHER] | Attempt 1877: Error rate 53.57% (target: 15%) +2025-09-15T14:20:40.290Z | [OTHER] | Attempt 1878: Error rate 52.14% (target: 15%) +2025-09-15T14:20:40.293Z | [OTHER] | Attempt 1879: Error rate 48.45% (target: 15%) +2025-09-15T14:20:40.295Z | [OTHER] | Attempt 1880: Error rate 49.57% (target: 15%) +2025-09-15T14:20:40.298Z | [OTHER] | Attempt 1881: Error rate 45.83% (target: 15%) +2025-09-15T14:20:40.300Z | [OTHER] | Attempt 1882: Error rate 51.67% (target: 15%) +2025-09-15T14:20:40.303Z | [OTHER] | Attempt 1883: Error rate 53.06% (target: 15%) +2025-09-15T14:20:40.306Z | [OTHER] | Attempt 1884: Error rate 51.42% (target: 15%) +2025-09-15T14:20:40.308Z | [OTHER] | Attempt 1885: Error rate 56.44% (target: 15%) +2025-09-15T14:20:40.310Z | [OTHER] | Attempt 1886: Error rate 52.54% (target: 15%) +2025-09-15T14:20:40.313Z | [OTHER] | Attempt 1887: Error rate 46.67% (target: 15%) +2025-09-15T14:20:40.316Z | [OTHER] | Attempt 1888: Error rate 59.47% (target: 15%) +2025-09-15T14:20:40.318Z | [OTHER] | Attempt 1889: Error rate 50.67% (target: 15%) +2025-09-15T14:20:40.321Z | [OTHER] | Attempt 1890: Error rate 56.35% (target: 15%) +2025-09-15T14:20:40.323Z | [OTHER] | Attempt 1891: Error rate 59.13% (target: 15%) +2025-09-15T14:20:40.326Z | [OTHER] | Attempt 1892: Error rate 52.44% (target: 15%) +2025-09-15T14:20:40.328Z | [OTHER] | Attempt 1893: Error rate 56.06% (target: 15%) +2025-09-15T14:20:40.330Z | [OTHER] | Attempt 1894: Error rate 58.15% (target: 15%) +2025-09-15T14:20:40.333Z | [OTHER] | Attempt 1895: Error rate 47.22% (target: 15%) +2025-09-15T14:20:40.335Z | [OTHER] | Attempt 1896: Error rate 59.63% (target: 15%) +2025-09-15T14:20:40.338Z | [OTHER] | Attempt 1897: Error rate 50.39% (target: 15%) +2025-09-15T14:20:40.340Z | [OTHER] | Attempt 1898: Error rate 47.35% (target: 15%) +2025-09-15T14:20:40.343Z | [OTHER] | Attempt 1899: Error rate 41.48% (target: 15%) +2025-09-15T14:20:40.346Z | [OTHER] | Attempt 1900: Error rate 46.74% (target: 15%) +2025-09-15T14:20:40.348Z | [OTHER] | Attempt 1901: Error rate 54.92% (target: 15%) +2025-09-15T14:20:40.350Z | [OTHER] | Attempt 1902: Error rate 55.69% (target: 15%) +2025-09-15T14:20:40.353Z | [OTHER] | Attempt 1903: Error rate 48.15% (target: 15%) +2025-09-15T14:20:40.356Z | [OTHER] | Attempt 1904: Error rate 55.04% (target: 15%) +2025-09-15T14:20:40.358Z | [OTHER] | Attempt 1905: Error rate 60.71% (target: 15%) +2025-09-15T14:20:40.361Z | [OTHER] | Attempt 1906: Error rate 50.83% (target: 15%) +2025-09-15T14:20:40.363Z | [OTHER] | Attempt 1907: Error rate 51.59% (target: 15%) +2025-09-15T14:20:40.367Z | [OTHER] | Attempt 1908: Error rate 60.99% (target: 15%) +2025-09-15T14:20:40.368Z | [OTHER] | Attempt 1909: Error rate 43.02% (target: 15%) +2025-09-15T14:20:40.371Z | [OTHER] | Attempt 1910: Error rate 44.96% (target: 15%) +2025-09-15T14:20:40.373Z | [OTHER] | Attempt 1911: Error rate 53.49% (target: 15%) +2025-09-15T14:20:40.376Z | [OTHER] | Attempt 1912: Error rate 54.81% (target: 15%) +2025-09-15T14:20:40.378Z | [OTHER] | Attempt 1913: Error rate 56.06% (target: 15%) +2025-09-15T14:20:40.381Z | [OTHER] | Attempt 1914: Error rate 54.65% (target: 15%) +2025-09-15T14:20:40.383Z | [OTHER] | Attempt 1915: Error rate 47.96% (target: 15%) +2025-09-15T14:20:40.386Z | [OTHER] | Attempt 1916: Error rate 55.3% (target: 15%) +2025-09-15T14:20:40.388Z | [OTHER] | Attempt 1917: Error rate 43.8% (target: 15%) +2025-09-15T14:20:40.390Z | [OTHER] | Attempt 1918: Error rate 58.33% (target: 15%) +2025-09-15T14:20:40.393Z | [OTHER] | Attempt 1919: Error rate 45.19% (target: 15%) +2025-09-15T14:20:40.395Z | [OTHER] | Attempt 1920: Error rate 57.95% (target: 15%) +2025-09-15T14:20:40.398Z | [OTHER] | Attempt 1921: Error rate 54.96% (target: 15%) +2025-09-15T14:20:40.400Z | [OTHER] | Attempt 1922: Error rate 50.36% (target: 15%) +2025-09-15T14:20:40.402Z | [OTHER] | Attempt 1923: Error rate 47.14% (target: 15%) +2025-09-15T14:20:40.405Z | [OTHER] | Attempt 1924: Error rate 46.83% (target: 15%) +2025-09-15T14:20:40.408Z | [OTHER] | Attempt 1925: Error rate 40.94% (target: 15%) +2025-09-15T14:20:40.410Z | [OTHER] | Attempt 1926: Error rate 51.89% (target: 15%) +2025-09-15T14:20:40.413Z | [OTHER] | Attempt 1927: Error rate 56.3% (target: 15%) +2025-09-15T14:20:40.415Z | [OTHER] | Attempt 1928: Error rate 57.75% (target: 15%) +2025-09-15T14:20:40.418Z | [OTHER] | Attempt 1929: Error rate 50% (target: 15%) +2025-09-15T14:20:40.420Z | [OTHER] | Attempt 1930: Error rate 51.06% (target: 15%) +2025-09-15T14:20:40.423Z | [OTHER] | Attempt 1931: Error rate 55.81% (target: 15%) +2025-09-15T14:20:40.425Z | [OTHER] | Attempt 1932: Error rate 48.26% (target: 15%) +2025-09-15T14:20:40.428Z | [OTHER] | Attempt 1933: Error rate 54.07% (target: 15%) +2025-09-15T14:20:40.430Z | [OTHER] | Attempt 1934: Error rate 49.28% (target: 15%) +2025-09-15T14:20:40.433Z | [OTHER] | Attempt 1935: Error rate 54.26% (target: 15%) +2025-09-15T14:20:40.436Z | [OTHER] | Attempt 1936: Error rate 59.92% (target: 15%) +2025-09-15T14:20:40.438Z | [OTHER] | Attempt 1937: Error rate 56.16% (target: 15%) +2025-09-15T14:20:40.441Z | [OTHER] | Attempt 1938: Error rate 43% (target: 15%) +2025-09-15T14:20:40.443Z | [OTHER] | Attempt 1939: Error rate 52.59% (target: 15%) +2025-09-15T14:20:40.446Z | [OTHER] | Attempt 1940: Error rate 52.27% (target: 15%) +2025-09-15T14:20:40.448Z | [OTHER] | Attempt 1941: Error rate 55.56% (target: 15%) +2025-09-15T14:20:40.451Z | [OTHER] | Attempt 1942: Error rate 52.59% (target: 15%) +2025-09-15T14:20:40.453Z | [OTHER] | Attempt 1943: Error rate 48.48% (target: 15%) +2025-09-15T14:20:40.455Z | [OTHER] | Attempt 1944: Error rate 52.96% (target: 15%) +2025-09-15T14:20:40.458Z | [OTHER] | Attempt 1945: Error rate 56.38% (target: 15%) +2025-09-15T14:20:40.461Z | [OTHER] | Attempt 1946: Error rate 55.93% (target: 15%) +2025-09-15T14:20:40.463Z | [OTHER] | Attempt 1947: Error rate 51.52% (target: 15%) +2025-09-15T14:20:40.465Z | [OTHER] | Attempt 1948: Error rate 57.69% (target: 15%) +2025-09-15T14:20:40.469Z | [OTHER] | Attempt 1949: Error rate 54.61% (target: 15%) +2025-09-15T14:20:40.471Z | [OTHER] | Attempt 1950: Error rate 50.81% (target: 15%) +2025-09-15T14:20:40.473Z | [OTHER] | Attempt 1951: Error rate 43.4% (target: 15%) +2025-09-15T14:20:40.476Z | [OTHER] | Attempt 1952: Error rate 42.22% (target: 15%) +2025-09-15T14:20:40.478Z | [OTHER] | Attempt 1953: Error rate 46.03% (target: 15%) +2025-09-15T14:20:40.481Z | [OTHER] | Attempt 1954: Error rate 50.42% (target: 15%) +2025-09-15T14:20:40.484Z | [OTHER] | Attempt 1955: Error rate 51.25% (target: 15%) +2025-09-15T14:20:40.486Z | [OTHER] | Attempt 1956: Error rate 49.65% (target: 15%) +2025-09-15T14:20:40.489Z | [OTHER] | Attempt 1957: Error rate 52.27% (target: 15%) +2025-09-15T14:20:40.491Z | [OTHER] | Attempt 1958: Error rate 50.43% (target: 15%) +2025-09-15T14:20:40.493Z | [OTHER] | Attempt 1959: Error rate 49.15% (target: 15%) +2025-09-15T14:20:40.496Z | [OTHER] | Attempt 1960: Error rate 48.11% (target: 15%) +2025-09-15T14:20:40.498Z | [OTHER] | Attempt 1961: Error rate 44.44% (target: 15%) +2025-09-15T14:20:40.501Z | [OTHER] | Attempt 1962: Error rate 59.92% (target: 15%) +2025-09-15T14:20:40.503Z | [OTHER] | Attempt 1963: Error rate 52.33% (target: 15%) +2025-09-15T14:20:40.506Z | [OTHER] | Attempt 1964: Error rate 44.2% (target: 15%) +2025-09-15T14:20:40.508Z | [OTHER] | Attempt 1965: Error rate 47.62% (target: 15%) +2025-09-15T14:20:40.510Z | [OTHER] | Attempt 1966: Error rate 50.39% (target: 15%) +2025-09-15T14:20:40.514Z | [OTHER] | Attempt 1967: Error rate 55.8% (target: 15%) +2025-09-15T14:20:40.516Z | [OTHER] | Attempt 1968: Error rate 51.45% (target: 15%) +2025-09-15T14:20:40.519Z | [OTHER] | Attempt 1969: Error rate 47.62% (target: 15%) +2025-09-15T14:20:40.521Z | [OTHER] | Attempt 1970: Error rate 57.94% (target: 15%) +2025-09-15T14:20:40.524Z | [OTHER] | Attempt 1971: Error rate 55.07% (target: 15%) +2025-09-15T14:20:40.526Z | [OTHER] | Attempt 1972: Error rate 57.36% (target: 15%) +2025-09-15T14:20:40.529Z | [OTHER] | Attempt 1973: Error rate 54.96% (target: 15%) +2025-09-15T14:20:40.531Z | [OTHER] | Attempt 1974: Error rate 51.67% (target: 15%) +2025-09-15T14:20:40.534Z | [OTHER] | Attempt 1975: Error rate 59.92% (target: 15%) +2025-09-15T14:20:40.536Z | [OTHER] | Attempt 1976: Error rate 55.28% (target: 15%) +2025-09-15T14:20:40.539Z | [OTHER] | Attempt 1977: Error rate 50.36% (target: 15%) +2025-09-15T14:20:40.542Z | [OTHER] | Attempt 1978: Error rate 50.36% (target: 15%) +2025-09-15T14:20:40.545Z | [OTHER] | Attempt 1979: Error rate 49.62% (target: 15%) +2025-09-15T14:20:40.548Z | [OTHER] | Attempt 1980: Error rate 47.87% (target: 15%) +2025-09-15T14:20:40.551Z | [OTHER] | Attempt 1981: Error rate 53.74% (target: 15%) +2025-09-15T14:20:40.553Z | [OTHER] | Attempt 1982: Error rate 57.09% (target: 15%) +2025-09-15T14:20:40.556Z | [OTHER] | Attempt 1983: Error rate 55.43% (target: 15%) +2025-09-15T14:20:40.559Z | [OTHER] | Attempt 1984: Error rate 49.26% (target: 15%) +2025-09-15T14:20:40.563Z | [OTHER] | Attempt 1985: Error rate 55.93% (target: 15%) +2025-09-15T14:20:40.565Z | [OTHER] | Attempt 1986: Error rate 52.13% (target: 15%) +2025-09-15T14:20:40.568Z | [OTHER] | Attempt 1987: Error rate 45.83% (target: 15%) +2025-09-15T14:20:40.571Z | [OTHER] | Attempt 1988: Error rate 54.37% (target: 15%) +2025-09-15T14:20:40.574Z | [OTHER] | Attempt 1989: Error rate 49.63% (target: 15%) +2025-09-15T14:20:40.577Z | [OTHER] | Attempt 1990: Error rate 55.04% (target: 15%) +2025-09-15T14:20:40.580Z | [OTHER] | Attempt 1991: Error rate 51.55% (target: 15%) +2025-09-15T14:20:40.582Z | [OTHER] | Attempt 1992: Error rate 50% (target: 15%) +2025-09-15T14:20:40.585Z | [OTHER] | Attempt 1993: Error rate 50.74% (target: 15%) +2025-09-15T14:20:40.587Z | [OTHER] | Attempt 1994: Error rate 53.62% (target: 15%) +2025-09-15T14:20:40.589Z | [OTHER] | Attempt 1995: Error rate 52.96% (target: 15%) +2025-09-15T14:20:40.592Z | [OTHER] | Attempt 1996: Error rate 58.7% (target: 15%) +2025-09-15T14:20:40.595Z | [OTHER] | Attempt 1997: Error rate 51.11% (target: 15%) +2025-09-15T14:20:40.597Z | [OTHER] | Attempt 1998: Error rate 48.06% (target: 15%) +2025-09-15T14:20:40.600Z | [OTHER] | Attempt 1999: Error rate 55.56% (target: 15%) +2025-09-15T14:20:40.602Z | [OTHER] | Attempt 2000: Error rate 55.04% (target: 15%) +2025-09-15T14:20:40.605Z | [OTHER] | Attempt 2001: Error rate 55.83% (target: 15%) +2025-09-15T14:20:40.607Z | [OTHER] | Attempt 2002: Error rate 54.07% (target: 15%) +2025-09-15T14:20:40.610Z | [OTHER] | Attempt 2003: Error rate 55.98% (target: 15%) +2025-09-15T14:20:40.613Z | [OTHER] | Attempt 2004: Error rate 54.7% (target: 15%) +2025-09-15T14:20:40.615Z | [OTHER] | Attempt 2005: Error rate 56.2% (target: 15%) +2025-09-15T14:20:40.618Z | [OTHER] | Attempt 2006: Error rate 56.52% (target: 15%) +2025-09-15T14:20:40.620Z | [OTHER] | Attempt 2007: Error rate 51.22% (target: 15%) +2025-09-15T14:20:40.623Z | [OTHER] | Attempt 2008: Error rate 53.26% (target: 15%) +2025-09-15T14:20:40.626Z | [OTHER] | Attempt 2009: Error rate 51.45% (target: 15%) +2025-09-15T14:20:40.628Z | [OTHER] | Attempt 2010: Error rate 47.04% (target: 15%) +2025-09-15T14:20:40.631Z | [OTHER] | Attempt 2011: Error rate 37.6% (target: 15%) +2025-09-15T14:20:40.634Z | [OTHER] | Attempt 2012: Error rate 53.17% (target: 15%) +2025-09-15T14:20:40.636Z | [OTHER] | Attempt 2013: Error rate 50.37% (target: 15%) +2025-09-15T14:20:40.639Z | [OTHER] | Attempt 2014: Error rate 51.48% (target: 15%) +2025-09-15T14:20:40.642Z | [OTHER] | Attempt 2015: Error rate 43.56% (target: 15%) +2025-09-15T14:20:40.644Z | [OTHER] | Attempt 2016: Error rate 55.93% (target: 15%) +2025-09-15T14:20:40.647Z | [OTHER] | Attempt 2017: Error rate 49.64% (target: 15%) +2025-09-15T14:20:40.650Z | [OTHER] | Attempt 2018: Error rate 51.45% (target: 15%) +2025-09-15T14:20:40.652Z | [OTHER] | Attempt 2019: Error rate 55.07% (target: 15%) +2025-09-15T14:20:40.655Z | [OTHER] | Attempt 2020: Error rate 55.93% (target: 15%) +2025-09-15T14:20:40.658Z | [OTHER] | Attempt 2021: Error rate 60.74% (target: 15%) +2025-09-15T14:20:40.660Z | [OTHER] | Attempt 2022: Error rate 53.33% (target: 15%) +2025-09-15T14:20:40.662Z | [OTHER] | Attempt 2023: Error rate 50% (target: 15%) +2025-09-15T14:20:40.665Z | [OTHER] | Attempt 2024: Error rate 58.33% (target: 15%) +2025-09-15T14:20:40.668Z | [OTHER] | Attempt 2025: Error rate 46.9% (target: 15%) +2025-09-15T14:20:40.671Z | [OTHER] | Attempt 2026: Error rate 51.32% (target: 15%) +2025-09-15T14:20:40.673Z | [OTHER] | Attempt 2027: Error rate 54.07% (target: 15%) +2025-09-15T14:20:40.676Z | [OTHER] | Attempt 2028: Error rate 45.73% (target: 15%) +2025-09-15T14:20:40.678Z | [OTHER] | Attempt 2029: Error rate 46.97% (target: 15%) +2025-09-15T14:20:40.681Z | [OTHER] | Attempt 2030: Error rate 49.6% (target: 15%) +2025-09-15T14:20:40.684Z | [OTHER] | Attempt 2031: Error rate 47.83% (target: 15%) +2025-09-15T14:20:40.686Z | [OTHER] | Attempt 2032: Error rate 50.38% (target: 15%) +2025-09-15T14:20:40.690Z | [OTHER] | Attempt 2033: Error rate 57.72% (target: 15%) +2025-09-15T14:20:40.691Z | [OTHER] | Attempt 2034: Error rate 51.98% (target: 15%) +2025-09-15T14:20:40.694Z | [OTHER] | Attempt 2035: Error rate 55% (target: 15%) +2025-09-15T14:20:40.697Z | [OTHER] | Attempt 2036: Error rate 57.94% (target: 15%) +2025-09-15T14:20:40.699Z | [OTHER] | Attempt 2037: Error rate 53.17% (target: 15%) +2025-09-15T14:20:40.702Z | [OTHER] | Attempt 2038: Error rate 46.58% (target: 15%) +2025-09-15T14:20:40.705Z | [OTHER] | Attempt 2039: Error rate 54.26% (target: 15%) +2025-09-15T14:20:40.708Z | [OTHER] | Attempt 2040: Error rate 49.55% (target: 15%) +2025-09-15T14:20:40.710Z | [OTHER] | Attempt 2041: Error rate 52.9% (target: 15%) +2025-09-15T14:20:40.713Z | [OTHER] | Attempt 2042: Error rate 60.23% (target: 15%) +2025-09-15T14:20:40.716Z | [OTHER] | Attempt 2043: Error rate 47.56% (target: 15%) +2025-09-15T14:20:40.718Z | [OTHER] | Attempt 2044: Error rate 54.35% (target: 15%) +2025-09-15T14:20:40.721Z | [OTHER] | Attempt 2045: Error rate 53.33% (target: 15%) +2025-09-15T14:20:40.724Z | [OTHER] | Attempt 2046: Error rate 57.32% (target: 15%) +2025-09-15T14:20:40.726Z | [OTHER] | Attempt 2047: Error rate 50.35% (target: 15%) +2025-09-15T14:20:40.729Z | [OTHER] | Attempt 2048: Error rate 50.38% (target: 15%) +2025-09-15T14:20:40.731Z | [OTHER] | Attempt 2049: Error rate 60.47% (target: 15%) +2025-09-15T14:20:40.734Z | [OTHER] | Attempt 2050: Error rate 54.44% (target: 15%) +2025-09-15T14:20:40.737Z | [OTHER] | Attempt 2051: Error rate 55.28% (target: 15%) +2025-09-15T14:20:40.739Z | [OTHER] | Attempt 2052: Error rate 50.72% (target: 15%) +2025-09-15T14:20:40.742Z | [OTHER] | Attempt 2053: Error rate 54.26% (target: 15%) +2025-09-15T14:20:40.744Z | [OTHER] | Attempt 2054: Error rate 52.03% (target: 15%) +2025-09-15T14:20:40.747Z | [OTHER] | Attempt 2055: Error rate 56.74% (target: 15%) +2025-09-15T14:20:40.749Z | [OTHER] | Attempt 2056: Error rate 45.14% (target: 15%) +2025-09-15T14:20:40.752Z | [OTHER] | Attempt 2057: Error rate 52.9% (target: 15%) +2025-09-15T14:20:40.755Z | [OTHER] | Attempt 2058: Error rate 56.3% (target: 15%) +2025-09-15T14:20:40.757Z | [OTHER] | Attempt 2059: Error rate 47.78% (target: 15%) +2025-09-15T14:20:40.760Z | [OTHER] | Attempt 2060: Error rate 51.89% (target: 15%) +2025-09-15T14:20:40.762Z | [OTHER] | Attempt 2061: Error rate 58.14% (target: 15%) +2025-09-15T14:20:40.765Z | [OTHER] | Attempt 2062: Error rate 56.52% (target: 15%) +2025-09-15T14:20:40.767Z | [OTHER] | Attempt 2063: Error rate 56.38% (target: 15%) +2025-09-15T14:20:40.770Z | [OTHER] | Attempt 2064: Error rate 51.94% (target: 15%) +2025-09-15T14:20:40.773Z | [OTHER] | Attempt 2065: Error rate 61.11% (target: 15%) +2025-09-15T14:20:40.775Z | [OTHER] | Attempt 2066: Error rate 57.78% (target: 15%) +2025-09-15T14:20:40.778Z | [OTHER] | Attempt 2067: Error rate 59.42% (target: 15%) +2025-09-15T14:20:40.781Z | [OTHER] | Attempt 2068: Error rate 39.13% (target: 15%) +2025-09-15T14:20:40.784Z | [OTHER] | Attempt 2069: Error rate 50.36% (target: 15%) +2025-09-15T14:20:40.789Z | [OTHER] | Attempt 2070: Error rate 51.09% (target: 15%) +2025-09-15T14:20:40.792Z | [OTHER] | Attempt 2071: Error rate 45.93% (target: 15%) +2025-09-15T14:20:40.795Z | [OTHER] | Attempt 2072: Error rate 51.45% (target: 15%) +2025-09-15T14:20:40.798Z | [OTHER] | Attempt 2073: Error rate 51.67% (target: 15%) +2025-09-15T14:20:40.800Z | [OTHER] | Attempt 2074: Error rate 57.45% (target: 15%) +2025-09-15T14:20:40.805Z | [OTHER] | Attempt 2075: Error rate 57.48% (target: 15%) +2025-09-15T14:20:40.806Z | [OTHER] | Attempt 2076: Error rate 52.78% (target: 15%) +2025-09-15T14:20:40.809Z | [OTHER] | Attempt 2077: Error rate 49.21% (target: 15%) +2025-09-15T14:20:40.812Z | [OTHER] | Attempt 2078: Error rate 54.67% (target: 15%) +2025-09-15T14:20:40.815Z | [OTHER] | Attempt 2079: Error rate 50.4% (target: 15%) +2025-09-15T14:20:40.817Z | [OTHER] | Attempt 2080: Error rate 49.63% (target: 15%) +2025-09-15T14:20:40.820Z | [OTHER] | Attempt 2081: Error rate 59.13% (target: 15%) +2025-09-15T14:20:40.823Z | [OTHER] | Attempt 2082: Error rate 47.1% (target: 15%) +2025-09-15T14:20:40.825Z | [OTHER] | Attempt 2083: Error rate 53.74% (target: 15%) +2025-09-15T14:20:40.828Z | [OTHER] | Attempt 2084: Error rate 56.52% (target: 15%) +2025-09-15T14:20:40.831Z | [OTHER] | Attempt 2085: Error rate 55.3% (target: 15%) +2025-09-15T14:20:40.834Z | [OTHER] | Attempt 2086: Error rate 54.76% (target: 15%) +2025-09-15T14:20:40.836Z | [OTHER] | Attempt 2087: Error rate 60.85% (target: 15%) +2025-09-15T14:20:40.839Z | [OTHER] | Attempt 2088: Error rate 48.29% (target: 15%) +2025-09-15T14:20:40.842Z | [OTHER] | Attempt 2089: Error rate 55.04% (target: 15%) +2025-09-15T14:20:40.844Z | [OTHER] | Attempt 2090: Error rate 46.51% (target: 15%) +2025-09-15T14:20:40.847Z | [OTHER] | Attempt 2091: Error rate 51.48% (target: 15%) +2025-09-15T14:20:40.849Z | [OTHER] | Attempt 2092: Error rate 45.83% (target: 15%) +2025-09-15T14:20:40.852Z | [OTHER] | Attempt 2093: Error rate 56.1% (target: 15%) +2025-09-15T14:20:40.855Z | [OTHER] | Attempt 2094: Error rate 50% (target: 15%) +2025-09-15T14:20:40.857Z | [OTHER] | Attempt 2095: Error rate 53.66% (target: 15%) +2025-09-15T14:20:40.860Z | [OTHER] | Attempt 2096: Error rate 60.71% (target: 15%) +2025-09-15T14:20:40.863Z | [OTHER] | Attempt 2097: Error rate 53.33% (target: 15%) +2025-09-15T14:20:40.865Z | [OTHER] | Attempt 2098: Error rate 50.37% (target: 15%) +2025-09-15T14:20:40.868Z | [OTHER] | Attempt 2099: Error rate 44.31% (target: 15%) +2025-09-15T14:20:40.871Z | [OTHER] | Attempt 2100: Error rate 55.43% (target: 15%) +2025-09-15T14:20:40.873Z | [OTHER] | Attempt 2101: Error rate 52.38% (target: 15%) +2025-09-15T14:20:40.876Z | [OTHER] | Attempt 2102: Error rate 50.78% (target: 15%) +2025-09-15T14:20:40.879Z | [OTHER] | Attempt 2103: Error rate 51.14% (target: 15%) +2025-09-15T14:20:40.882Z | [OTHER] | Attempt 2104: Error rate 56.5% (target: 15%) +2025-09-15T14:20:40.884Z | [OTHER] | Attempt 2105: Error rate 47.73% (target: 15%) +2025-09-15T14:20:40.887Z | [OTHER] | Attempt 2106: Error rate 51.48% (target: 15%) +2025-09-15T14:20:40.890Z | [OTHER] | Attempt 2107: Error rate 47.67% (target: 15%) +2025-09-15T14:20:40.892Z | [OTHER] | Attempt 2108: Error rate 59.57% (target: 15%) +2025-09-15T14:20:40.895Z | [OTHER] | Attempt 2109: Error rate 53.41% (target: 15%) +2025-09-15T14:20:40.897Z | [OTHER] | Attempt 2110: Error rate 56.38% (target: 15%) +2025-09-15T14:20:40.900Z | [OTHER] | Attempt 2111: Error rate 48.04% (target: 15%) +2025-09-15T14:20:40.903Z | [OTHER] | Attempt 2112: Error rate 53.97% (target: 15%) +2025-09-15T14:20:40.906Z | [OTHER] | Attempt 2113: Error rate 45.56% (target: 15%) +2025-09-15T14:20:40.908Z | [OTHER] | Attempt 2114: Error rate 47.73% (target: 15%) +2025-09-15T14:20:40.911Z | [OTHER] | Attempt 2115: Error rate 53.03% (target: 15%) +2025-09-15T14:20:40.914Z | [OTHER] | Attempt 2116: Error rate 54.07% (target: 15%) +2025-09-15T14:20:40.918Z | [OTHER] | Attempt 2117: Error rate 43.42% (target: 15%) +2025-09-15T14:20:40.920Z | [OTHER] | Attempt 2118: Error rate 53.7% (target: 15%) +2025-09-15T14:20:40.922Z | [OTHER] | Attempt 2119: Error rate 55.68% (target: 15%) +2025-09-15T14:20:40.925Z | [OTHER] | Attempt 2120: Error rate 50.71% (target: 15%) +2025-09-15T14:20:40.928Z | [OTHER] | Attempt 2121: Error rate 55.3% (target: 15%) +2025-09-15T14:20:40.931Z | [OTHER] | Attempt 2122: Error rate 57.78% (target: 15%) +2025-09-15T14:20:40.933Z | [OTHER] | Attempt 2123: Error rate 53.03% (target: 15%) +2025-09-15T14:20:40.936Z | [OTHER] | Attempt 2124: Error rate 43.94% (target: 15%) +2025-09-15T14:20:40.939Z | [OTHER] | Attempt 2125: Error rate 51.55% (target: 15%) +2025-09-15T14:20:40.941Z | [OTHER] | Attempt 2126: Error rate 44.93% (target: 15%) +2025-09-15T14:20:40.944Z | [OTHER] | Attempt 2127: Error rate 55.44% (target: 15%) +2025-09-15T14:20:40.946Z | [OTHER] | Attempt 2128: Error rate 48.26% (target: 15%) +2025-09-15T14:20:40.949Z | [OTHER] | Attempt 2129: Error rate 51.11% (target: 15%) +2025-09-15T14:20:40.951Z | [OTHER] | Attempt 2130: Error rate 45.63% (target: 15%) +2025-09-15T14:20:40.954Z | [OTHER] | Attempt 2131: Error rate 45% (target: 15%) +2025-09-15T14:20:40.957Z | [OTHER] | Attempt 2132: Error rate 58.91% (target: 15%) +2025-09-15T14:20:40.960Z | [OTHER] | Attempt 2133: Error rate 56.88% (target: 15%) +2025-09-15T14:20:40.963Z | [OTHER] | Attempt 2134: Error rate 58.33% (target: 15%) +2025-09-15T14:20:40.966Z | [OTHER] | Attempt 2135: Error rate 55.93% (target: 15%) +2025-09-15T14:20:40.969Z | [OTHER] | Attempt 2136: Error rate 52.65% (target: 15%) +2025-09-15T14:20:40.972Z | [OTHER] | Attempt 2137: Error rate 52.65% (target: 15%) +2025-09-15T14:20:40.975Z | [OTHER] | Attempt 2138: Error rate 49.65% (target: 15%) +2025-09-15T14:20:40.977Z | [OTHER] | Attempt 2139: Error rate 45.61% (target: 15%) +2025-09-15T14:20:40.980Z | [OTHER] | Attempt 2140: Error rate 54.88% (target: 15%) +2025-09-15T14:20:40.983Z | [OTHER] | Attempt 2141: Error rate 57.94% (target: 15%) +2025-09-15T14:20:40.986Z | [OTHER] | Attempt 2142: Error rate 44.33% (target: 15%) +2025-09-15T14:20:40.989Z | [OTHER] | Attempt 2143: Error rate 57.5% (target: 15%) +2025-09-15T14:20:40.991Z | [OTHER] | Attempt 2144: Error rate 53.26% (target: 15%) +2025-09-15T14:20:40.994Z | [OTHER] | Attempt 2145: Error rate 55.3% (target: 15%) +2025-09-15T14:20:40.997Z | [OTHER] | Attempt 2146: Error rate 52.27% (target: 15%) +2025-09-15T14:20:40.999Z | [OTHER] | Attempt 2147: Error rate 49.62% (target: 15%) +2025-09-15T14:20:41.002Z | [OTHER] | Attempt 2148: Error rate 56.98% (target: 15%) +2025-09-15T14:20:41.005Z | [OTHER] | Attempt 2149: Error rate 57.97% (target: 15%) +2025-09-15T14:20:41.007Z | [OTHER] | Attempt 2150: Error rate 53.42% (target: 15%) +2025-09-15T14:20:41.010Z | [OTHER] | Attempt 2151: Error rate 46.9% (target: 15%) +2025-09-15T14:20:41.012Z | [OTHER] | Attempt 2152: Error rate 60.98% (target: 15%) +2025-09-15T14:20:41.016Z | [OTHER] | Attempt 2153: Error rate 49.28% (target: 15%) +2025-09-15T14:20:41.018Z | [OTHER] | Attempt 2154: Error rate 55.3% (target: 15%) +2025-09-15T14:20:41.022Z | [OTHER] | Attempt 2155: Error rate 54.65% (target: 15%) +2025-09-15T14:20:41.024Z | [OTHER] | Attempt 2156: Error rate 51.48% (target: 15%) +2025-09-15T14:20:41.027Z | [OTHER] | Attempt 2157: Error rate 52.27% (target: 15%) +2025-09-15T14:20:41.029Z | [OTHER] | Attempt 2158: Error rate 51.42% (target: 15%) +2025-09-15T14:20:41.033Z | [OTHER] | Attempt 2159: Error rate 52.59% (target: 15%) +2025-09-15T14:20:41.035Z | [OTHER] | Attempt 2160: Error rate 50.76% (target: 15%) +2025-09-15T14:20:41.038Z | [OTHER] | Attempt 2161: Error rate 52.71% (target: 15%) +2025-09-15T14:20:41.041Z | [OTHER] | Attempt 2162: Error rate 51.81% (target: 15%) +2025-09-15T14:20:41.043Z | [OTHER] | Attempt 2163: Error rate 54.07% (target: 15%) +2025-09-15T14:20:41.046Z | [OTHER] | Attempt 2164: Error rate 47.08% (target: 15%) +2025-09-15T14:20:41.050Z | [OTHER] | Attempt 2165: Error rate 57.61% (target: 15%) +2025-09-15T14:20:41.054Z | [OTHER] | Attempt 2166: Error rate 48.89% (target: 15%) +2025-09-15T14:20:41.056Z | [OTHER] | Attempt 2167: Error rate 58.89% (target: 15%) +2025-09-15T14:20:41.059Z | [OTHER] | Attempt 2168: Error rate 56.67% (target: 15%) +2025-09-15T14:20:41.062Z | [OTHER] | Attempt 2169: Error rate 48.91% (target: 15%) +2025-09-15T14:20:41.065Z | [OTHER] | Attempt 2170: Error rate 54.61% (target: 15%) +2025-09-15T14:20:41.067Z | [OTHER] | Attempt 2171: Error rate 53.55% (target: 15%) +2025-09-15T14:20:41.070Z | [OTHER] | Attempt 2172: Error rate 44.81% (target: 15%) +2025-09-15T14:20:41.073Z | [OTHER] | Attempt 2173: Error rate 47.22% (target: 15%) +2025-09-15T14:20:41.076Z | [OTHER] | Attempt 2174: Error rate 54.76% (target: 15%) +2025-09-15T14:20:41.079Z | [OTHER] | Attempt 2175: Error rate 52.71% (target: 15%) +2025-09-15T14:20:41.081Z | [OTHER] | Attempt 2176: Error rate 50% (target: 15%) +2025-09-15T14:20:41.084Z | [OTHER] | Attempt 2177: Error rate 61.48% (target: 15%) +2025-09-15T14:20:41.086Z | [OTHER] | Attempt 2178: Error rate 52.54% (target: 15%) +2025-09-15T14:20:41.090Z | [OTHER] | Attempt 2179: Error rate 56.75% (target: 15%) +2025-09-15T14:20:41.092Z | [OTHER] | Attempt 2180: Error rate 44.32% (target: 15%) +2025-09-15T14:20:41.095Z | [OTHER] | Attempt 2181: Error rate 56.06% (target: 15%) +2025-09-15T14:20:41.098Z | [OTHER] | Attempt 2182: Error rate 53.13% (target: 15%) +2025-09-15T14:20:41.101Z | [OTHER] | Attempt 2183: Error rate 52.78% (target: 15%) +2025-09-15T14:20:41.104Z | [OTHER] | Attempt 2184: Error rate 58.33% (target: 15%) +2025-09-15T14:20:41.107Z | [OTHER] | Attempt 2185: Error rate 55.04% (target: 15%) +2025-09-15T14:20:41.109Z | [OTHER] | Attempt 2186: Error rate 50.33% (target: 15%) +2025-09-15T14:20:41.112Z | [OTHER] | Attempt 2187: Error rate 47.62% (target: 15%) +2025-09-15T14:20:41.115Z | [OTHER] | Attempt 2188: Error rate 51.71% (target: 15%) +2025-09-15T14:20:41.118Z | [OTHER] | Attempt 2189: Error rate 56.38% (target: 15%) +2025-09-15T14:20:41.120Z | [OTHER] | Attempt 2190: Error rate 49.58% (target: 15%) +2025-09-15T14:20:41.124Z | [OTHER] | Attempt 2191: Error rate 58.7% (target: 15%) +2025-09-15T14:20:41.127Z | [OTHER] | Attempt 2192: Error rate 44.68% (target: 15%) +2025-09-15T14:20:41.130Z | [OTHER] | Attempt 2193: Error rate 54.44% (target: 15%) +2025-09-15T14:20:41.133Z | [OTHER] | Attempt 2194: Error rate 47.83% (target: 15%) +2025-09-15T14:20:41.135Z | [OTHER] | Attempt 2195: Error rate 51.19% (target: 15%) +2025-09-15T14:20:41.138Z | [OTHER] | Attempt 2196: Error rate 50.36% (target: 15%) +2025-09-15T14:20:41.141Z | [OTHER] | Attempt 2197: Error rate 60% (target: 15%) +2025-09-15T14:20:41.144Z | [OTHER] | Attempt 2198: Error rate 56.59% (target: 15%) +2025-09-15T14:20:41.146Z | [OTHER] | Attempt 2199: Error rate 46.97% (target: 15%) +2025-09-15T14:20:41.150Z | [OTHER] | Attempt 2200: Error rate 51.94% (target: 15%) +2025-09-15T14:20:41.152Z | [OTHER] | Attempt 2201: Error rate 54.61% (target: 15%) +2025-09-15T14:20:41.154Z | [OTHER] | Attempt 2202: Error rate 47.97% (target: 15%) +2025-09-15T14:20:41.157Z | [OTHER] | Attempt 2203: Error rate 53.47% (target: 15%) +2025-09-15T14:20:41.160Z | [OTHER] | Attempt 2204: Error rate 51.48% (target: 15%) +2025-09-15T14:20:41.163Z | [OTHER] | Attempt 2205: Error rate 51.06% (target: 15%) +2025-09-15T14:20:41.165Z | [OTHER] | Attempt 2206: Error rate 47.56% (target: 15%) +2025-09-15T14:20:41.168Z | [OTHER] | Attempt 2207: Error rate 47.92% (target: 15%) +2025-09-15T14:20:41.171Z | [OTHER] | Attempt 2208: Error rate 53.17% (target: 15%) +2025-09-15T14:20:41.174Z | [OTHER] | Attempt 2209: Error rate 53.57% (target: 15%) +2025-09-15T14:20:41.176Z | [OTHER] | Attempt 2210: Error rate 50.38% (target: 15%) +2025-09-15T14:20:41.179Z | [OTHER] | Attempt 2211: Error rate 46.26% (target: 15%) +2025-09-15T14:20:41.182Z | [OTHER] | Attempt 2212: Error rate 57.8% (target: 15%) +2025-09-15T14:20:41.185Z | [OTHER] | Attempt 2213: Error rate 55.56% (target: 15%) +2025-09-15T14:20:41.188Z | [OTHER] | Attempt 2214: Error rate 51.14% (target: 15%) +2025-09-15T14:20:41.190Z | [OTHER] | Attempt 2215: Error rate 50.76% (target: 15%) +2025-09-15T14:20:41.193Z | [OTHER] | Attempt 2216: Error rate 57.75% (target: 15%) +2025-09-15T14:20:41.196Z | [OTHER] | Attempt 2217: Error rate 52.71% (target: 15%) +2025-09-15T14:20:41.199Z | [OTHER] | Attempt 2218: Error rate 62.39% (target: 15%) +2025-09-15T14:20:41.202Z | [OTHER] | Attempt 2219: Error rate 55.3% (target: 15%) +2025-09-15T14:20:41.205Z | [OTHER] | Attempt 2220: Error rate 49.17% (target: 15%) +2025-09-15T14:20:41.208Z | [OTHER] | Attempt 2221: Error rate 46.59% (target: 15%) +2025-09-15T14:20:41.211Z | [OTHER] | Attempt 2222: Error rate 44.05% (target: 15%) +2025-09-15T14:20:41.214Z | [OTHER] | Attempt 2223: Error rate 48.15% (target: 15%) +2025-09-15T14:20:41.216Z | [OTHER] | Attempt 2224: Error rate 53.17% (target: 15%) +2025-09-15T14:20:41.219Z | [OTHER] | Attempt 2225: Error rate 58.11% (target: 15%) +2025-09-15T14:20:41.222Z | [OTHER] | Attempt 2226: Error rate 52.67% (target: 15%) +2025-09-15T14:20:41.225Z | [OTHER] | Attempt 2227: Error rate 46.59% (target: 15%) +2025-09-15T14:20:41.228Z | [OTHER] | Attempt 2228: Error rate 56.44% (target: 15%) +2025-09-15T14:20:41.231Z | [OTHER] | Attempt 2229: Error rate 53.49% (target: 15%) +2025-09-15T14:20:41.233Z | [OTHER] | Attempt 2230: Error rate 52.85% (target: 15%) +2025-09-15T14:20:41.236Z | [OTHER] | Attempt 2231: Error rate 52.38% (target: 15%) +2025-09-15T14:20:41.239Z | [OTHER] | Attempt 2232: Error rate 54.17% (target: 15%) +2025-09-15T14:20:41.241Z | [OTHER] | Attempt 2233: Error rate 52.03% (target: 15%) +2025-09-15T14:20:41.244Z | [OTHER] | Attempt 2234: Error rate 52.85% (target: 15%) +2025-09-15T14:20:41.247Z | [OTHER] | Attempt 2235: Error rate 53.88% (target: 15%) +2025-09-15T14:20:41.250Z | [OTHER] | Attempt 2236: Error rate 51.39% (target: 15%) +2025-09-15T14:20:41.253Z | [OTHER] | Attempt 2237: Error rate 55.68% (target: 15%) +2025-09-15T14:20:41.255Z | [OTHER] | Attempt 2238: Error rate 45.58% (target: 15%) +2025-09-15T14:20:41.258Z | [OTHER] | Attempt 2239: Error rate 54.58% (target: 15%) +2025-09-15T14:20:41.261Z | [OTHER] | Attempt 2240: Error rate 56.44% (target: 15%) +2025-09-15T14:20:41.264Z | [OTHER] | Attempt 2241: Error rate 55.56% (target: 15%) +2025-09-15T14:20:41.267Z | [OTHER] | Attempt 2242: Error rate 50.79% (target: 15%) +2025-09-15T14:20:41.269Z | [OTHER] | Attempt 2243: Error rate 50.37% (target: 15%) +2025-09-15T14:20:41.272Z | [OTHER] | Attempt 2244: Error rate 65.89% (target: 15%) +2025-09-15T14:20:41.275Z | [OTHER] | Attempt 2245: Error rate 49.22% (target: 15%) +2025-09-15T14:20:41.278Z | [OTHER] | Attempt 2246: Error rate 56.98% (target: 15%) +2025-09-15T14:20:41.280Z | [OTHER] | Attempt 2247: Error rate 53.7% (target: 15%) +2025-09-15T14:20:41.283Z | [OTHER] | Attempt 2248: Error rate 51.14% (target: 15%) +2025-09-15T14:20:41.286Z | [OTHER] | Attempt 2249: Error rate 52.54% (target: 15%) +2025-09-15T14:20:41.289Z | [OTHER] | Attempt 2250: Error rate 49.61% (target: 15%) +2025-09-15T14:20:41.291Z | [OTHER] | Attempt 2251: Error rate 50% (target: 15%) +2025-09-15T14:20:41.295Z | [OTHER] | Attempt 2252: Error rate 47.78% (target: 15%) +2025-09-15T14:20:41.298Z | [OTHER] | Attempt 2253: Error rate 50.39% (target: 15%) +2025-09-15T14:20:41.304Z | [OTHER] | Attempt 2254: Error rate 57.09% (target: 15%) +2025-09-15T14:20:41.308Z | [OTHER] | Attempt 2255: Error rate 60.85% (target: 15%) +2025-09-15T14:20:41.313Z | [OTHER] | Attempt 2256: Error rate 51.89% (target: 15%) +2025-09-15T14:20:41.316Z | [OTHER] | Attempt 2257: Error rate 51.98% (target: 15%) +2025-09-15T14:20:41.319Z | [OTHER] | Attempt 2258: Error rate 52.38% (target: 15%) +2025-09-15T14:20:41.322Z | [OTHER] | Attempt 2259: Error rate 56.59% (target: 15%) +2025-09-15T14:20:41.325Z | [OTHER] | Attempt 2260: Error rate 51.52% (target: 15%) +2025-09-15T14:20:41.327Z | [OTHER] | Attempt 2261: Error rate 51.98% (target: 15%) +2025-09-15T14:20:41.331Z | [OTHER] | Attempt 2262: Error rate 56.88% (target: 15%) +2025-09-15T14:20:41.334Z | [OTHER] | Attempt 2263: Error rate 55.68% (target: 15%) +2025-09-15T14:20:41.337Z | [OTHER] | Attempt 2264: Error rate 55.68% (target: 15%) +2025-09-15T14:20:41.340Z | [OTHER] | Attempt 2265: Error rate 55.07% (target: 15%) +2025-09-15T14:20:41.343Z | [OTHER] | Attempt 2266: Error rate 54.71% (target: 15%) +2025-09-15T14:20:41.345Z | [OTHER] | Attempt 2267: Error rate 52.78% (target: 15%) +2025-09-15T14:20:41.348Z | [OTHER] | Attempt 2268: Error rate 53.26% (target: 15%) +2025-09-15T14:20:41.352Z | [OTHER] | Attempt 2269: Error rate 51.14% (target: 15%) +2025-09-15T14:20:41.355Z | [OTHER] | Attempt 2270: Error rate 55.8% (target: 15%) +2025-09-15T14:20:41.358Z | [OTHER] | Attempt 2271: Error rate 50.93% (target: 15%) +2025-09-15T14:20:41.361Z | [OTHER] | Attempt 2272: Error rate 54.07% (target: 15%) +2025-09-15T14:20:41.364Z | [OTHER] | Attempt 2273: Error rate 48.91% (target: 15%) +2025-09-15T14:20:41.368Z | [OTHER] | Attempt 2274: Error rate 59.3% (target: 15%) +2025-09-15T14:20:41.371Z | [OTHER] | Attempt 2275: Error rate 51.59% (target: 15%) +2025-09-15T14:20:41.374Z | [OTHER] | Attempt 2276: Error rate 53.51% (target: 15%) +2025-09-15T14:20:41.377Z | [OTHER] | Attempt 2277: Error rate 47.35% (target: 15%) +2025-09-15T14:20:41.380Z | [OTHER] | Attempt 2278: Error rate 55.86% (target: 15%) +2025-09-15T14:20:41.383Z | [OTHER] | Attempt 2279: Error rate 50% (target: 15%) +2025-09-15T14:20:41.385Z | [OTHER] | Attempt 2280: Error rate 50.79% (target: 15%) +2025-09-15T14:20:41.388Z | [OTHER] | Attempt 2281: Error rate 50.36% (target: 15%) +2025-09-15T14:20:41.391Z | [OTHER] | Attempt 2282: Error rate 51.63% (target: 15%) +2025-09-15T14:20:41.394Z | [OTHER] | Attempt 2283: Error rate 50% (target: 15%) +2025-09-15T14:20:41.397Z | [OTHER] | Attempt 2284: Error rate 52.85% (target: 15%) +2025-09-15T14:20:41.400Z | [OTHER] | Attempt 2285: Error rate 56.91% (target: 15%) +2025-09-15T14:20:41.403Z | [OTHER] | Attempt 2286: Error rate 56.88% (target: 15%) +2025-09-15T14:20:41.405Z | [OTHER] | Attempt 2287: Error rate 51.02% (target: 15%) +2025-09-15T14:20:41.408Z | [OTHER] | Attempt 2288: Error rate 55.21% (target: 15%) +2025-09-15T14:20:41.411Z | [OTHER] | Attempt 2289: Error rate 55.56% (target: 15%) +2025-09-15T14:20:41.414Z | [OTHER] | Attempt 2290: Error rate 53.19% (target: 15%) +2025-09-15T14:20:41.417Z | [OTHER] | Attempt 2291: Error rate 55.1% (target: 15%) +2025-09-15T14:20:41.420Z | [OTHER] | Attempt 2292: Error rate 47.86% (target: 15%) +2025-09-15T14:20:41.423Z | [OTHER] | Attempt 2293: Error rate 51.14% (target: 15%) +2025-09-15T14:20:41.426Z | [OTHER] | Attempt 2294: Error rate 52.08% (target: 15%) +2025-09-15T14:20:41.429Z | [OTHER] | Attempt 2295: Error rate 56.44% (target: 15%) +2025-09-15T14:20:41.431Z | [OTHER] | Attempt 2296: Error rate 54.76% (target: 15%) +2025-09-15T14:20:41.434Z | [OTHER] | Attempt 2297: Error rate 47.04% (target: 15%) +2025-09-15T14:20:41.437Z | [OTHER] | Attempt 2298: Error rate 55.07% (target: 15%) +2025-09-15T14:20:41.439Z | [OTHER] | Attempt 2299: Error rate 50.36% (target: 15%) +2025-09-15T14:20:41.442Z | [OTHER] | Attempt 2300: Error rate 51.63% (target: 15%) +2025-09-15T14:20:41.445Z | [OTHER] | Attempt 2301: Error rate 52.85% (target: 15%) +2025-09-15T14:20:41.448Z | [OTHER] | Attempt 2302: Error rate 50.35% (target: 15%) +2025-09-15T14:20:41.451Z | [OTHER] | Attempt 2303: Error rate 56.44% (target: 15%) +2025-09-15T14:20:41.454Z | [OTHER] | Attempt 2304: Error rate 52.38% (target: 15%) +2025-09-15T14:20:41.457Z | [OTHER] | Attempt 2305: Error rate 50.78% (target: 15%) +2025-09-15T14:20:41.461Z | [OTHER] | Attempt 2306: Error rate 58.89% (target: 15%) +2025-09-15T14:20:41.463Z | [OTHER] | Attempt 2307: Error rate 55.13% (target: 15%) +2025-09-15T14:20:41.466Z | [OTHER] | Attempt 2308: Error rate 52.78% (target: 15%) +2025-09-15T14:20:41.469Z | [OTHER] | Attempt 2309: Error rate 48.91% (target: 15%) +2025-09-15T14:20:41.472Z | [OTHER] | Attempt 2310: Error rate 44.96% (target: 15%) +2025-09-15T14:20:41.474Z | [OTHER] | Attempt 2311: Error rate 50.35% (target: 15%) +2025-09-15T14:20:41.478Z | [OTHER] | Attempt 2312: Error rate 56.44% (target: 15%) +2025-09-15T14:20:41.480Z | [OTHER] | Attempt 2313: Error rate 55.81% (target: 15%) +2025-09-15T14:20:41.483Z | [OTHER] | Attempt 2314: Error rate 48.15% (target: 15%) +2025-09-15T14:20:41.486Z | [OTHER] | Attempt 2315: Error rate 57.75% (target: 15%) +2025-09-15T14:20:41.489Z | [OTHER] | Attempt 2316: Error rate 52.03% (target: 15%) +2025-09-15T14:20:41.491Z | [OTHER] | Attempt 2317: Error rate 58.75% (target: 15%) +2025-09-15T14:20:41.494Z | [OTHER] | Attempt 2318: Error rate 50% (target: 15%) +2025-09-15T14:20:41.497Z | [OTHER] | Attempt 2319: Error rate 46.21% (target: 15%) +2025-09-15T14:20:41.500Z | [OTHER] | Attempt 2320: Error rate 58.89% (target: 15%) +2025-09-15T14:20:41.503Z | [OTHER] | Attempt 2321: Error rate 48.52% (target: 15%) +2025-09-15T14:20:41.505Z | [OTHER] | Attempt 2322: Error rate 51.19% (target: 15%) +2025-09-15T14:20:41.508Z | [OTHER] | Attempt 2323: Error rate 48.64% (target: 15%) +2025-09-15T14:20:41.511Z | [OTHER] | Attempt 2324: Error rate 58.33% (target: 15%) +2025-09-15T14:20:41.515Z | [OTHER] | Attempt 2325: Error rate 53.49% (target: 15%) +2025-09-15T14:20:41.517Z | [OTHER] | Attempt 2326: Error rate 51.11% (target: 15%) +2025-09-15T14:20:41.520Z | [OTHER] | Attempt 2327: Error rate 59.85% (target: 15%) +2025-09-15T14:20:41.522Z | [OTHER] | Attempt 2328: Error rate 47.78% (target: 15%) +2025-09-15T14:20:41.525Z | [OTHER] | Attempt 2329: Error rate 59.57% (target: 15%) +2025-09-15T14:20:41.528Z | [OTHER] | Attempt 2330: Error rate 55% (target: 15%) +2025-09-15T14:20:41.531Z | [OTHER] | Attempt 2331: Error rate 50.81% (target: 15%) +2025-09-15T14:20:41.533Z | [OTHER] | Attempt 2332: Error rate 55.93% (target: 15%) +2025-09-15T14:20:41.537Z | [OTHER] | Attempt 2333: Error rate 48.84% (target: 15%) +2025-09-15T14:20:41.539Z | [OTHER] | Attempt 2334: Error rate 55.3% (target: 15%) +2025-09-15T14:20:41.542Z | [OTHER] | Attempt 2335: Error rate 47.29% (target: 15%) +2025-09-15T14:20:41.545Z | [OTHER] | Attempt 2336: Error rate 50.69% (target: 15%) +2025-09-15T14:20:41.548Z | [OTHER] | Attempt 2337: Error rate 54.88% (target: 15%) +2025-09-15T14:20:41.551Z | [OTHER] | Attempt 2338: Error rate 49.22% (target: 15%) +2025-09-15T14:20:41.554Z | [OTHER] | Attempt 2339: Error rate 51.16% (target: 15%) +2025-09-15T14:20:41.557Z | [OTHER] | Attempt 2340: Error rate 43.33% (target: 15%) +2025-09-15T14:20:41.560Z | [OTHER] | Attempt 2341: Error rate 54.37% (target: 15%) +2025-09-15T14:20:41.563Z | [OTHER] | Attempt 2342: Error rate 51.14% (target: 15%) +2025-09-15T14:20:41.567Z | [OTHER] | Attempt 2343: Error rate 49.61% (target: 15%) +2025-09-15T14:20:41.569Z | [OTHER] | Attempt 2344: Error rate 51.67% (target: 15%) +2025-09-15T14:20:41.573Z | [OTHER] | Attempt 2345: Error rate 51.22% (target: 15%) +2025-09-15T14:20:41.576Z | [OTHER] | Attempt 2346: Error rate 46.21% (target: 15%) +2025-09-15T14:20:41.579Z | [OTHER] | Attempt 2347: Error rate 48.06% (target: 15%) +2025-09-15T14:20:41.582Z | [OTHER] | Attempt 2348: Error rate 55.8% (target: 15%) +2025-09-15T14:20:41.585Z | [OTHER] | Attempt 2349: Error rate 53.33% (target: 15%) +2025-09-15T14:20:41.588Z | [OTHER] | Attempt 2350: Error rate 49.26% (target: 15%) +2025-09-15T14:20:41.591Z | [OTHER] | Attempt 2351: Error rate 56.12% (target: 15%) +2025-09-15T14:20:41.594Z | [OTHER] | Attempt 2352: Error rate 49.6% (target: 15%) +2025-09-15T14:20:41.597Z | [OTHER] | Attempt 2353: Error rate 57.2% (target: 15%) +2025-09-15T14:20:41.600Z | [OTHER] | Attempt 2354: Error rate 52.22% (target: 15%) +2025-09-15T14:20:41.602Z | [OTHER] | Attempt 2355: Error rate 51.16% (target: 15%) +2025-09-15T14:20:41.605Z | [OTHER] | Attempt 2356: Error rate 57.78% (target: 15%) +2025-09-15T14:20:41.608Z | [OTHER] | Attempt 2357: Error rate 48.64% (target: 15%) +2025-09-15T14:20:41.611Z | [OTHER] | Attempt 2358: Error rate 48.19% (target: 15%) +2025-09-15T14:20:41.614Z | [OTHER] | Attempt 2359: Error rate 43.97% (target: 15%) +2025-09-15T14:20:41.617Z | [OTHER] | Attempt 2360: Error rate 55.28% (target: 15%) +2025-09-15T14:20:41.619Z | [OTHER] | Attempt 2361: Error rate 56.35% (target: 15%) +2025-09-15T14:20:41.622Z | [OTHER] | Attempt 2362: Error rate 55.19% (target: 15%) +2025-09-15T14:20:41.625Z | [OTHER] | Attempt 2363: Error rate 50.76% (target: 15%) +2025-09-15T14:20:41.628Z | [OTHER] | Attempt 2364: Error rate 56.82% (target: 15%) +2025-09-15T14:20:41.631Z | [OTHER] | Attempt 2365: Error rate 44.72% (target: 15%) +2025-09-15T14:20:41.634Z | [OTHER] | Attempt 2366: Error rate 50.81% (target: 15%) +2025-09-15T14:20:41.638Z | [OTHER] | Attempt 2367: Error rate 58.89% (target: 15%) +2025-09-15T14:20:41.640Z | [OTHER] | Attempt 2368: Error rate 48.91% (target: 15%) +2025-09-15T14:20:41.643Z | [OTHER] | Attempt 2369: Error rate 54.26% (target: 15%) +2025-09-15T14:20:41.646Z | [OTHER] | Attempt 2370: Error rate 55.56% (target: 15%) +2025-09-15T14:20:41.648Z | [OTHER] | Attempt 2371: Error rate 54.44% (target: 15%) +2025-09-15T14:20:41.651Z | [OTHER] | Attempt 2372: Error rate 53.33% (target: 15%) +2025-09-15T14:20:41.654Z | [OTHER] | Attempt 2373: Error rate 48.89% (target: 15%) +2025-09-15T14:20:41.657Z | [OTHER] | Attempt 2374: Error rate 52.33% (target: 15%) +2025-09-15T14:20:41.660Z | [OTHER] | Attempt 2375: Error rate 47.92% (target: 15%) +2025-09-15T14:20:41.663Z | [OTHER] | Attempt 2376: Error rate 47.29% (target: 15%) +2025-09-15T14:20:41.666Z | [OTHER] | Attempt 2377: Error rate 55.56% (target: 15%) +2025-09-15T14:20:41.669Z | [OTHER] | Attempt 2378: Error rate 45.93% (target: 15%) +2025-09-15T14:20:41.672Z | [OTHER] | Attempt 2379: Error rate 57.58% (target: 15%) +2025-09-15T14:20:41.674Z | [OTHER] | Attempt 2380: Error rate 52.14% (target: 15%) +2025-09-15T14:20:41.677Z | [OTHER] | Attempt 2381: Error rate 55.19% (target: 15%) +2025-09-15T14:20:41.680Z | [OTHER] | Attempt 2382: Error rate 44.32% (target: 15%) +2025-09-15T14:20:41.683Z | [OTHER] | Attempt 2383: Error rate 47.73% (target: 15%) +2025-09-15T14:20:41.686Z | [OTHER] | Attempt 2384: Error rate 48.02% (target: 15%) +2025-09-15T14:20:41.689Z | [OTHER] | Attempt 2385: Error rate 48% (target: 15%) +2025-09-15T14:20:41.692Z | [OTHER] | Attempt 2386: Error rate 52.84% (target: 15%) +2025-09-15T14:20:41.694Z | [OTHER] | Attempt 2387: Error rate 43.02% (target: 15%) +2025-09-15T14:20:41.697Z | [OTHER] | Attempt 2388: Error rate 49.64% (target: 15%) +2025-09-15T14:20:41.700Z | [OTHER] | Attempt 2389: Error rate 57.75% (target: 15%) +2025-09-15T14:20:41.703Z | [OTHER] | Attempt 2390: Error rate 51.63% (target: 15%) +2025-09-15T14:20:41.706Z | [OTHER] | Attempt 2391: Error rate 46.3% (target: 15%) +2025-09-15T14:20:41.709Z | [OTHER] | Attempt 2392: Error rate 55.13% (target: 15%) +2025-09-15T14:20:41.712Z | [OTHER] | Attempt 2393: Error rate 46.53% (target: 15%) +2025-09-15T14:20:41.715Z | [OTHER] | Attempt 2394: Error rate 47.67% (target: 15%) +2025-09-15T14:20:41.717Z | [OTHER] | Attempt 2395: Error rate 58.53% (target: 15%) +2025-09-15T14:20:41.720Z | [OTHER] | Attempt 2396: Error rate 56.91% (target: 15%) +2025-09-15T14:20:41.723Z | [OTHER] | Attempt 2397: Error rate 47.1% (target: 15%) +2025-09-15T14:20:41.726Z | [OTHER] | Attempt 2398: Error rate 48.84% (target: 15%) +2025-09-15T14:20:41.729Z | [OTHER] | Attempt 2399: Error rate 52.33% (target: 15%) +2025-09-15T14:20:41.732Z | [OTHER] | Attempt 2400: Error rate 50.88% (target: 15%) +2025-09-15T14:20:41.734Z | [OTHER] | Attempt 2401: Error rate 50.35% (target: 15%) +2025-09-15T14:20:41.737Z | [OTHER] | Attempt 2402: Error rate 48.2% (target: 15%) +2025-09-15T14:20:41.740Z | [OTHER] | Attempt 2403: Error rate 58.75% (target: 15%) +2025-09-15T14:20:41.743Z | [OTHER] | Attempt 2404: Error rate 47.67% (target: 15%) +2025-09-15T14:20:41.745Z | [OTHER] | Attempt 2405: Error rate 48.94% (target: 15%) +2025-09-15T14:20:41.749Z | [OTHER] | Attempt 2406: Error rate 51.67% (target: 15%) +2025-09-15T14:20:41.751Z | [OTHER] | Attempt 2407: Error rate 44.72% (target: 15%) +2025-09-15T14:20:41.754Z | [OTHER] | Attempt 2408: Error rate 57.29% (target: 15%) +2025-09-15T14:20:41.758Z | [OTHER] | Attempt 2409: Error rate 52.48% (target: 15%) +2025-09-15T14:20:41.761Z | [OTHER] | Attempt 2410: Error rate 50.85% (target: 15%) +2025-09-15T14:20:41.763Z | [OTHER] | Attempt 2411: Error rate 50.83% (target: 15%) +2025-09-15T14:20:41.767Z | [OTHER] | Attempt 2412: Error rate 48.91% (target: 15%) +2025-09-15T14:20:41.769Z | [OTHER] | Attempt 2413: Error rate 57.41% (target: 15%) +2025-09-15T14:20:41.772Z | [OTHER] | Attempt 2414: Error rate 47.46% (target: 15%) +2025-09-15T14:20:41.775Z | [OTHER] | Attempt 2415: Error rate 46.74% (target: 15%) +2025-09-15T14:20:41.778Z | [OTHER] | Attempt 2416: Error rate 52.03% (target: 15%) +2025-09-15T14:20:41.781Z | [OTHER] | Attempt 2417: Error rate 54.76% (target: 15%) +2025-09-15T14:20:41.784Z | [OTHER] | Attempt 2418: Error rate 49.61% (target: 15%) +2025-09-15T14:20:41.787Z | [OTHER] | Attempt 2419: Error rate 44.93% (target: 15%) +2025-09-15T14:20:41.790Z | [OTHER] | Attempt 2420: Error rate 43.25% (target: 15%) +2025-09-15T14:20:41.793Z | [OTHER] | Attempt 2421: Error rate 53.03% (target: 15%) +2025-09-15T14:20:41.796Z | [OTHER] | Attempt 2422: Error rate 55.3% (target: 15%) +2025-09-15T14:20:41.800Z | [OTHER] | Attempt 2423: Error rate 53.33% (target: 15%) +2025-09-15T14:20:41.803Z | [OTHER] | Attempt 2424: Error rate 54.96% (target: 15%) +2025-09-15T14:20:41.806Z | [OTHER] | Attempt 2425: Error rate 43.48% (target: 15%) +2025-09-15T14:20:41.808Z | [OTHER] | Attempt 2426: Error rate 46.83% (target: 15%) +2025-09-15T14:20:41.812Z | [OTHER] | Attempt 2427: Error rate 50% (target: 15%) +2025-09-15T14:20:41.814Z | [OTHER] | Attempt 2428: Error rate 58.51% (target: 15%) +2025-09-15T14:20:41.817Z | [OTHER] | Attempt 2429: Error rate 55.83% (target: 15%) +2025-09-15T14:20:41.820Z | [OTHER] | Attempt 2430: Error rate 55.95% (target: 15%) +2025-09-15T14:20:41.823Z | [OTHER] | Attempt 2431: Error rate 49.6% (target: 15%) +2025-09-15T14:20:41.826Z | [OTHER] | Attempt 2432: Error rate 47.35% (target: 15%) +2025-09-15T14:20:41.829Z | [OTHER] | Attempt 2433: Error rate 54.76% (target: 15%) +2025-09-15T14:20:41.832Z | [OTHER] | Attempt 2434: Error rate 53.62% (target: 15%) +2025-09-15T14:20:41.835Z | [OTHER] | Attempt 2435: Error rate 48.58% (target: 15%) +2025-09-15T14:20:41.838Z | [OTHER] | Attempt 2436: Error rate 44.44% (target: 15%) +2025-09-15T14:20:41.841Z | [OTHER] | Attempt 2437: Error rate 57.97% (target: 15%) +2025-09-15T14:20:41.844Z | [OTHER] | Attempt 2438: Error rate 53.99% (target: 15%) +2025-09-15T14:20:41.847Z | [OTHER] | Attempt 2439: Error rate 49.59% (target: 15%) +2025-09-15T14:20:41.849Z | [OTHER] | Attempt 2440: Error rate 57.69% (target: 15%) +2025-09-15T14:20:41.853Z | [OTHER] | Attempt 2441: Error rate 54.37% (target: 15%) +2025-09-15T14:20:41.855Z | [OTHER] | Attempt 2442: Error rate 52.9% (target: 15%) +2025-09-15T14:20:41.859Z | [OTHER] | Attempt 2443: Error rate 53.47% (target: 15%) +2025-09-15T14:20:41.861Z | [OTHER] | Attempt 2444: Error rate 43.18% (target: 15%) +2025-09-15T14:20:41.864Z | [OTHER] | Attempt 2445: Error rate 55.42% (target: 15%) +2025-09-15T14:20:41.867Z | [OTHER] | Attempt 2446: Error rate 56.67% (target: 15%) +2025-09-15T14:20:41.870Z | [OTHER] | Attempt 2447: Error rate 54.26% (target: 15%) +2025-09-15T14:20:41.873Z | [OTHER] | Attempt 2448: Error rate 52.08% (target: 15%) +2025-09-15T14:20:41.875Z | [OTHER] | Attempt 2449: Error rate 58.71% (target: 15%) +2025-09-15T14:20:41.879Z | [OTHER] | Attempt 2450: Error rate 54.44% (target: 15%) +2025-09-15T14:20:41.881Z | [OTHER] | Attempt 2451: Error rate 54% (target: 15%) +2025-09-15T14:20:41.884Z | [OTHER] | Attempt 2452: Error rate 46.12% (target: 15%) +2025-09-15T14:20:41.887Z | [OTHER] | Attempt 2453: Error rate 59.69% (target: 15%) +2025-09-15T14:20:41.890Z | [OTHER] | Attempt 2454: Error rate 51.75% (target: 15%) +2025-09-15T14:20:41.893Z | [OTHER] | Attempt 2455: Error rate 50% (target: 15%) +2025-09-15T14:20:41.896Z | [OTHER] | Attempt 2456: Error rate 48.37% (target: 15%) +2025-09-15T14:20:41.899Z | [OTHER] | Attempt 2457: Error rate 49.24% (target: 15%) +2025-09-15T14:20:41.902Z | [OTHER] | Attempt 2458: Error rate 49.63% (target: 15%) +2025-09-15T14:20:41.905Z | [OTHER] | Attempt 2459: Error rate 54.17% (target: 15%) +2025-09-15T14:20:41.908Z | [OTHER] | Attempt 2460: Error rate 47.83% (target: 15%) +2025-09-15T14:20:41.911Z | [OTHER] | Attempt 2461: Error rate 53.1% (target: 15%) +2025-09-15T14:20:41.914Z | [OTHER] | Attempt 2462: Error rate 54.96% (target: 15%) +2025-09-15T14:20:41.916Z | [OTHER] | Attempt 2463: Error rate 45.83% (target: 15%) +2025-09-15T14:20:41.919Z | [OTHER] | Attempt 2464: Error rate 54.07% (target: 15%) +2025-09-15T14:20:41.922Z | [OTHER] | Attempt 2465: Error rate 46.34% (target: 15%) +2025-09-15T14:20:41.925Z | [OTHER] | Attempt 2466: Error rate 59.33% (target: 15%) +2025-09-15T14:20:41.928Z | [OTHER] | Attempt 2467: Error rate 47.62% (target: 15%) +2025-09-15T14:20:41.931Z | [OTHER] | Attempt 2468: Error rate 57.78% (target: 15%) +2025-09-15T14:20:41.934Z | [OTHER] | Attempt 2469: Error rate 56.46% (target: 15%) +2025-09-15T14:20:41.937Z | [OTHER] | Attempt 2470: Error rate 50.85% (target: 15%) +2025-09-15T14:20:41.940Z | [OTHER] | Attempt 2471: Error rate 49.29% (target: 15%) +2025-09-15T14:20:41.944Z | [OTHER] | Attempt 2472: Error rate 52.44% (target: 15%) +2025-09-15T14:20:41.946Z | [OTHER] | Attempt 2473: Error rate 50.41% (target: 15%) +2025-09-15T14:20:41.949Z | [OTHER] | Attempt 2474: Error rate 55.83% (target: 15%) +2025-09-15T14:20:41.952Z | [OTHER] | Attempt 2475: Error rate 45.04% (target: 15%) +2025-09-15T14:20:41.955Z | [OTHER] | Attempt 2476: Error rate 54.7% (target: 15%) +2025-09-15T14:20:41.958Z | [OTHER] | Attempt 2477: Error rate 52.71% (target: 15%) +2025-09-15T14:20:41.961Z | [OTHER] | Attempt 2478: Error rate 40.54% (target: 15%) +2025-09-15T14:20:41.964Z | [OTHER] | Attempt 2479: Error rate 42.36% (target: 15%) +2025-09-15T14:20:41.967Z | [OTHER] | Attempt 2480: Error rate 58.67% (target: 15%) +2025-09-15T14:20:41.970Z | [OTHER] | Attempt 2481: Error rate 55.68% (target: 15%) +2025-09-15T14:20:41.974Z | [OTHER] | Attempt 2482: Error rate 52.5% (target: 15%) +2025-09-15T14:20:41.977Z | [OTHER] | Attempt 2483: Error rate 61.48% (target: 15%) +2025-09-15T14:20:41.980Z | [OTHER] | Attempt 2484: Error rate 47.46% (target: 15%) +2025-09-15T14:20:41.982Z | [OTHER] | Attempt 2485: Error rate 46.21% (target: 15%) +2025-09-15T14:20:41.985Z | [OTHER] | Attempt 2486: Error rate 52.33% (target: 15%) +2025-09-15T14:20:41.989Z | [OTHER] | Attempt 2487: Error rate 51.94% (target: 15%) +2025-09-15T14:20:41.992Z | [OTHER] | Attempt 2488: Error rate 50% (target: 15%) +2025-09-15T14:20:41.994Z | [OTHER] | Attempt 2489: Error rate 49.58% (target: 15%) +2025-09-15T14:20:41.998Z | [OTHER] | Attempt 2490: Error rate 55.19% (target: 15%) +2025-09-15T14:20:42.000Z | [OTHER] | Attempt 2491: Error rate 59.21% (target: 15%) +2025-09-15T14:20:42.005Z | [OTHER] | Attempt 2492: Error rate 47.78% (target: 15%) +2025-09-15T14:20:42.006Z | [OTHER] | Attempt 2493: Error rate 53.25% (target: 15%) +2025-09-15T14:20:42.010Z | [OTHER] | Attempt 2494: Error rate 55.21% (target: 15%) +2025-09-15T14:20:42.013Z | [OTHER] | Attempt 2495: Error rate 49.28% (target: 15%) +2025-09-15T14:20:42.015Z | [OTHER] | Attempt 2496: Error rate 54.26% (target: 15%) +2025-09-15T14:20:42.018Z | [OTHER] | Attempt 2497: Error rate 50.38% (target: 15%) +2025-09-15T14:20:42.021Z | [OTHER] | Attempt 2498: Error rate 48.84% (target: 15%) +2025-09-15T14:20:42.024Z | [OTHER] | Attempt 2499: Error rate 48.11% (target: 15%) +2025-09-15T14:20:42.027Z | [OTHER] | Attempt 2500: Error rate 53.03% (target: 15%) +2025-09-15T14:20:42.030Z | [OTHER] | Attempt 2501: Error rate 53.88% (target: 15%) +2025-09-15T14:20:42.033Z | [OTHER] | Attempt 2502: Error rate 54.76% (target: 15%) +2025-09-15T14:20:42.036Z | [OTHER] | Attempt 2503: Error rate 54.27% (target: 15%) +2025-09-15T14:20:42.039Z | [OTHER] | Attempt 2504: Error rate 48.58% (target: 15%) +2025-09-15T14:20:42.042Z | [OTHER] | Attempt 2505: Error rate 52.78% (target: 15%) +2025-09-15T14:20:42.045Z | [OTHER] | Attempt 2506: Error rate 52.56% (target: 15%) +2025-09-15T14:20:42.048Z | [OTHER] | Attempt 2507: Error rate 46.3% (target: 15%) +2025-09-15T14:20:42.051Z | [OTHER] | Attempt 2508: Error rate 55.16% (target: 15%) +2025-09-15T14:20:42.054Z | [OTHER] | Attempt 2509: Error rate 55.04% (target: 15%) +2025-09-15T14:20:42.057Z | [OTHER] | Attempt 2510: Error rate 50% (target: 15%) +2025-09-15T14:20:42.060Z | [OTHER] | Attempt 2511: Error rate 53.47% (target: 15%) +2025-09-15T14:20:42.063Z | [OTHER] | Attempt 2512: Error rate 58.73% (target: 15%) +2025-09-15T14:20:42.066Z | [OTHER] | Attempt 2513: Error rate 55.04% (target: 15%) +2025-09-15T14:20:42.069Z | [OTHER] | Attempt 2514: Error rate 46.01% (target: 15%) +2025-09-15T14:20:42.072Z | [OTHER] | Attempt 2515: Error rate 53.33% (target: 15%) +2025-09-15T14:20:42.075Z | [OTHER] | Attempt 2516: Error rate 50.78% (target: 15%) +2025-09-15T14:20:42.078Z | [OTHER] | Attempt 2517: Error rate 49.65% (target: 15%) +2025-09-15T14:20:42.081Z | [OTHER] | Attempt 2518: Error rate 54.86% (target: 15%) +2025-09-15T14:20:42.085Z | [OTHER] | Attempt 2519: Error rate 59.78% (target: 15%) +2025-09-15T14:20:42.088Z | [OTHER] | Attempt 2520: Error rate 54.26% (target: 15%) +2025-09-15T14:20:42.091Z | [OTHER] | Attempt 2521: Error rate 51.25% (target: 15%) +2025-09-15T14:20:42.094Z | [OTHER] | Attempt 2522: Error rate 53.19% (target: 15%) +2025-09-15T14:20:42.097Z | [OTHER] | Attempt 2523: Error rate 53.97% (target: 15%) +2025-09-15T14:20:42.100Z | [OTHER] | Attempt 2524: Error rate 50.69% (target: 15%) +2025-09-15T14:20:42.103Z | [OTHER] | Attempt 2525: Error rate 53.97% (target: 15%) +2025-09-15T14:20:42.106Z | [OTHER] | Attempt 2526: Error rate 51.42% (target: 15%) +2025-09-15T14:20:42.109Z | [OTHER] | Attempt 2527: Error rate 50.37% (target: 15%) +2025-09-15T14:20:42.112Z | [OTHER] | Attempt 2528: Error rate 54.08% (target: 15%) +2025-09-15T14:20:42.115Z | [OTHER] | Attempt 2529: Error rate 58.73% (target: 15%) +2025-09-15T14:20:42.118Z | [OTHER] | Attempt 2530: Error rate 52.19% (target: 15%) +2025-09-15T14:20:42.121Z | [OTHER] | Attempt 2531: Error rate 53.97% (target: 15%) +2025-09-15T14:20:42.124Z | [OTHER] | Attempt 2532: Error rate 51.85% (target: 15%) +2025-09-15T14:20:42.127Z | [OTHER] | Attempt 2533: Error rate 52.9% (target: 15%) +2025-09-15T14:20:42.131Z | [OTHER] | Attempt 2534: Error rate 56.98% (target: 15%) +2025-09-15T14:20:42.134Z | [OTHER] | Attempt 2535: Error rate 48.45% (target: 15%) +2025-09-15T14:20:42.137Z | [OTHER] | Attempt 2536: Error rate 49.6% (target: 15%) +2025-09-15T14:20:42.140Z | [OTHER] | Attempt 2537: Error rate 62.15% (target: 15%) +2025-09-15T14:20:42.144Z | [OTHER] | Attempt 2538: Error rate 48.11% (target: 15%) +2025-09-15T14:20:42.147Z | [OTHER] | Attempt 2539: Error rate 51.48% (target: 15%) +2025-09-15T14:20:42.150Z | [OTHER] | Attempt 2540: Error rate 51.52% (target: 15%) +2025-09-15T14:20:42.153Z | [OTHER] | Attempt 2541: Error rate 45.18% (target: 15%) +2025-09-15T14:20:42.157Z | [OTHER] | Attempt 2542: Error rate 50% (target: 15%) +2025-09-15T14:20:42.160Z | [OTHER] | Attempt 2543: Error rate 48.61% (target: 15%) +2025-09-15T14:20:42.163Z | [OTHER] | Attempt 2544: Error rate 47.67% (target: 15%) +2025-09-15T14:20:42.166Z | [OTHER] | Attempt 2545: Error rate 53.49% (target: 15%) +2025-09-15T14:20:42.169Z | [OTHER] | Attempt 2546: Error rate 56.06% (target: 15%) +2025-09-15T14:20:42.173Z | [OTHER] | Attempt 2547: Error rate 54.35% (target: 15%) +2025-09-15T14:20:42.176Z | [OTHER] | Attempt 2548: Error rate 59.38% (target: 15%) +2025-09-15T14:20:42.179Z | [OTHER] | Attempt 2549: Error rate 48.48% (target: 15%) +2025-09-15T14:20:42.182Z | [OTHER] | Attempt 2550: Error rate 51.11% (target: 15%) +2025-09-15T14:20:42.185Z | [OTHER] | Attempt 2551: Error rate 54.17% (target: 15%) +2025-09-15T14:20:42.188Z | [OTHER] | Attempt 2552: Error rate 55.43% (target: 15%) +2025-09-15T14:20:42.191Z | [OTHER] | Attempt 2553: Error rate 47.29% (target: 15%) +2025-09-15T14:20:42.194Z | [OTHER] | Attempt 2554: Error rate 54.17% (target: 15%) +2025-09-15T14:20:42.197Z | [OTHER] | Attempt 2555: Error rate 49.6% (target: 15%) +2025-09-15T14:20:42.200Z | [OTHER] | Attempt 2556: Error rate 54.88% (target: 15%) +2025-09-15T14:20:42.203Z | [OTHER] | Attempt 2557: Error rate 53.49% (target: 15%) +2025-09-15T14:20:42.206Z | [OTHER] | Attempt 2558: Error rate 56.67% (target: 15%) +2025-09-15T14:20:42.209Z | [OTHER] | Attempt 2559: Error rate 59.83% (target: 15%) +2025-09-15T14:20:42.212Z | [OTHER] | Attempt 2560: Error rate 48.02% (target: 15%) +2025-09-15T14:20:42.215Z | [OTHER] | Attempt 2561: Error rate 55.95% (target: 15%) +2025-09-15T14:20:42.218Z | [OTHER] | Attempt 2562: Error rate 57.78% (target: 15%) +2025-09-15T14:20:42.222Z | [OTHER] | Attempt 2563: Error rate 59.52% (target: 15%) +2025-09-15T14:20:42.225Z | [OTHER] | Attempt 2564: Error rate 54.61% (target: 15%) +2025-09-15T14:20:42.228Z | [OTHER] | Attempt 2565: Error rate 56.98% (target: 15%) +2025-09-15T14:20:42.231Z | [OTHER] | Attempt 2566: Error rate 51.89% (target: 15%) +2025-09-15T14:20:42.234Z | [OTHER] | Attempt 2567: Error rate 55.28% (target: 15%) +2025-09-15T14:20:42.236Z | [OTHER] | Attempt 2568: Error rate 52.54% (target: 15%) +2025-09-15T14:20:42.240Z | [OTHER] | Attempt 2569: Error rate 52.65% (target: 15%) +2025-09-15T14:20:42.243Z | [OTHER] | Attempt 2570: Error rate 58.52% (target: 15%) +2025-09-15T14:20:42.246Z | [OTHER] | Attempt 2571: Error rate 55.07% (target: 15%) +2025-09-15T14:20:42.249Z | [OTHER] | Attempt 2572: Error rate 41.87% (target: 15%) +2025-09-15T14:20:42.252Z | [OTHER] | Attempt 2573: Error rate 57.97% (target: 15%) +2025-09-15T14:20:42.255Z | [OTHER] | Attempt 2574: Error rate 50% (target: 15%) +2025-09-15T14:20:42.258Z | [OTHER] | Attempt 2575: Error rate 52.84% (target: 15%) +2025-09-15T14:20:42.262Z | [OTHER] | Attempt 2576: Error rate 53.41% (target: 15%) +2025-09-15T14:20:42.264Z | [OTHER] | Attempt 2577: Error rate 58.33% (target: 15%) +2025-09-15T14:20:42.267Z | [OTHER] | Attempt 2578: Error rate 58.91% (target: 15%) +2025-09-15T14:20:42.270Z | [OTHER] | Attempt 2579: Error rate 58.75% (target: 15%) +2025-09-15T14:20:42.273Z | [OTHER] | Attempt 2580: Error rate 54.55% (target: 15%) +2025-09-15T14:20:42.276Z | [OTHER] | Attempt 2581: Error rate 55.81% (target: 15%) +2025-09-15T14:20:42.279Z | [OTHER] | Attempt 2582: Error rate 52.13% (target: 15%) +2025-09-15T14:20:42.282Z | [OTHER] | Attempt 2583: Error rate 51.55% (target: 15%) +2025-09-15T14:20:42.285Z | [OTHER] | Attempt 2584: Error rate 54.07% (target: 15%) +2025-09-15T14:20:42.288Z | [OTHER] | Attempt 2585: Error rate 48.52% (target: 15%) +2025-09-15T14:20:42.291Z | [OTHER] | Attempt 2586: Error rate 53.7% (target: 15%) +2025-09-15T14:20:42.294Z | [OTHER] | Attempt 2587: Error rate 58.53% (target: 15%) +2025-09-15T14:20:42.297Z | [OTHER] | Attempt 2588: Error rate 43.56% (target: 15%) +2025-09-15T14:20:42.301Z | [OTHER] | Attempt 2589: Error rate 48.89% (target: 15%) +2025-09-15T14:20:42.304Z | [OTHER] | Attempt 2590: Error rate 51.42% (target: 15%) +2025-09-15T14:20:42.307Z | [OTHER] | Attempt 2591: Error rate 55.3% (target: 15%) +2025-09-15T14:20:42.310Z | [OTHER] | Attempt 2592: Error rate 56.75% (target: 15%) +2025-09-15T14:20:42.314Z | [OTHER] | Attempt 2593: Error rate 50.81% (target: 15%) +2025-09-15T14:20:42.317Z | [OTHER] | Attempt 2594: Error rate 53.62% (target: 15%) +2025-09-15T14:20:42.320Z | [OTHER] | Attempt 2595: Error rate 52.59% (target: 15%) +2025-09-15T14:20:42.323Z | [OTHER] | Attempt 2596: Error rate 56.91% (target: 15%) +2025-09-15T14:20:42.326Z | [OTHER] | Attempt 2597: Error rate 51.81% (target: 15%) +2025-09-15T14:20:42.329Z | [OTHER] | Attempt 2598: Error rate 49.26% (target: 15%) +2025-09-15T14:20:42.333Z | [OTHER] | Attempt 2599: Error rate 51.16% (target: 15%) +2025-09-15T14:20:42.336Z | [OTHER] | Attempt 2600: Error rate 57.2% (target: 15%) +2025-09-15T14:20:42.339Z | [OTHER] | Attempt 2601: Error rate 53.9% (target: 15%) +2025-09-15T14:20:42.342Z | [OTHER] | Attempt 2602: Error rate 50.74% (target: 15%) +2025-09-15T14:20:42.345Z | [OTHER] | Attempt 2603: Error rate 52.08% (target: 15%) +2025-09-15T14:20:42.348Z | [OTHER] | Attempt 2604: Error rate 42.31% (target: 15%) +2025-09-15T14:20:42.351Z | [OTHER] | Attempt 2605: Error rate 54.07% (target: 15%) +2025-09-15T14:20:42.354Z | [OTHER] | Attempt 2606: Error rate 47.15% (target: 15%) +2025-09-15T14:20:42.357Z | [OTHER] | Attempt 2607: Error rate 52.44% (target: 15%) +2025-09-15T14:20:42.360Z | [OTHER] | Attempt 2608: Error rate 51.16% (target: 15%) +2025-09-15T14:20:42.363Z | [OTHER] | Attempt 2609: Error rate 52.54% (target: 15%) +2025-09-15T14:20:42.366Z | [OTHER] | Attempt 2610: Error rate 52.04% (target: 15%) +2025-09-15T14:20:42.369Z | [OTHER] | Attempt 2611: Error rate 50% (target: 15%) +2025-09-15T14:20:42.372Z | [OTHER] | Attempt 2612: Error rate 56% (target: 15%) +2025-09-15T14:20:42.375Z | [OTHER] | Attempt 2613: Error rate 59.92% (target: 15%) +2025-09-15T14:20:42.378Z | [OTHER] | Attempt 2614: Error rate 50.4% (target: 15%) +2025-09-15T14:20:42.381Z | [OTHER] | Attempt 2615: Error rate 53.1% (target: 15%) +2025-09-15T14:20:42.385Z | [OTHER] | Attempt 2616: Error rate 57.04% (target: 15%) +2025-09-15T14:20:42.389Z | [OTHER] | Attempt 2617: Error rate 49.64% (target: 15%) +2025-09-15T14:20:42.391Z | [OTHER] | Attempt 2618: Error rate 53.07% (target: 15%) +2025-09-15T14:20:42.394Z | [OTHER] | Attempt 2619: Error rate 50% (target: 15%) +2025-09-15T14:20:42.398Z | [OTHER] | Attempt 2620: Error rate 52.85% (target: 15%) +2025-09-15T14:20:42.401Z | [OTHER] | Attempt 2621: Error rate 55.56% (target: 15%) +2025-09-15T14:20:42.404Z | [OTHER] | Attempt 2622: Error rate 56.52% (target: 15%) +2025-09-15T14:20:42.407Z | [OTHER] | Attempt 2623: Error rate 47.46% (target: 15%) +2025-09-15T14:20:42.410Z | [OTHER] | Attempt 2624: Error rate 62.4% (target: 15%) +2025-09-15T14:20:42.413Z | [OTHER] | Attempt 2625: Error rate 53.42% (target: 15%) +2025-09-15T14:20:42.417Z | [OTHER] | Attempt 2626: Error rate 55.67% (target: 15%) +2025-09-15T14:20:42.420Z | [OTHER] | Attempt 2627: Error rate 50.85% (target: 15%) +2025-09-15T14:20:42.423Z | [OTHER] | Attempt 2628: Error rate 59.17% (target: 15%) +2025-09-15T14:20:42.426Z | [OTHER] | Attempt 2629: Error rate 51.98% (target: 15%) +2025-09-15T14:20:42.429Z | [OTHER] | Attempt 2630: Error rate 51.39% (target: 15%) +2025-09-15T14:20:42.432Z | [OTHER] | Attempt 2631: Error rate 53.03% (target: 15%) +2025-09-15T14:20:42.435Z | [OTHER] | Attempt 2632: Error rate 53.82% (target: 15%) +2025-09-15T14:20:42.438Z | [OTHER] | Attempt 2633: Error rate 55.19% (target: 15%) +2025-09-15T14:20:42.442Z | [OTHER] | Attempt 2634: Error rate 45.08% (target: 15%) +2025-09-15T14:20:42.445Z | [OTHER] | Attempt 2635: Error rate 45.45% (target: 15%) +2025-09-15T14:20:42.448Z | [OTHER] | Attempt 2636: Error rate 57.2% (target: 15%) +2025-09-15T14:20:42.451Z | [OTHER] | Attempt 2637: Error rate 53.26% (target: 15%) +2025-09-15T14:20:42.454Z | [OTHER] | Attempt 2638: Error rate 50.81% (target: 15%) +2025-09-15T14:20:42.457Z | [OTHER] | Attempt 2639: Error rate 58.53% (target: 15%) +2025-09-15T14:20:42.460Z | [OTHER] | Attempt 2640: Error rate 56.67% (target: 15%) +2025-09-15T14:20:42.463Z | [OTHER] | Attempt 2641: Error rate 55.68% (target: 15%) +2025-09-15T14:20:42.467Z | [OTHER] | Attempt 2642: Error rate 50.4% (target: 15%) +2025-09-15T14:20:42.472Z | [OTHER] | Attempt 2643: Error rate 50.78% (target: 15%) +2025-09-15T14:20:42.476Z | [OTHER] | Attempt 2644: Error rate 50.69% (target: 15%) +2025-09-15T14:20:42.479Z | [OTHER] | Attempt 2645: Error rate 57.09% (target: 15%) +2025-09-15T14:20:42.482Z | [OTHER] | Attempt 2646: Error rate 58.33% (target: 15%) +2025-09-15T14:20:42.486Z | [OTHER] | Attempt 2647: Error rate 46.38% (target: 15%) +2025-09-15T14:20:42.489Z | [OTHER] | Attempt 2648: Error rate 52.84% (target: 15%) +2025-09-15T14:20:42.492Z | [OTHER] | Attempt 2649: Error rate 47.04% (target: 15%) +2025-09-15T14:20:42.496Z | [OTHER] | Attempt 2650: Error rate 42.42% (target: 15%) +2025-09-15T14:20:42.499Z | [OTHER] | Attempt 2651: Error rate 48.3% (target: 15%) +2025-09-15T14:20:42.503Z | [OTHER] | Attempt 2652: Error rate 53.97% (target: 15%) +2025-09-15T14:20:42.506Z | [OTHER] | Attempt 2653: Error rate 52.38% (target: 15%) +2025-09-15T14:20:42.509Z | [OTHER] | Attempt 2654: Error rate 49.64% (target: 15%) +2025-09-15T14:20:42.512Z | [OTHER] | Attempt 2655: Error rate 48.78% (target: 15%) +2025-09-15T14:20:42.515Z | [OTHER] | Attempt 2656: Error rate 56.52% (target: 15%) +2025-09-15T14:20:42.519Z | [OTHER] | Attempt 2657: Error rate 49.58% (target: 15%) +2025-09-15T14:20:42.522Z | [OTHER] | Attempt 2658: Error rate 46.43% (target: 15%) +2025-09-15T14:20:42.526Z | [OTHER] | Attempt 2659: Error rate 51.85% (target: 15%) +2025-09-15T14:20:42.528Z | [OTHER] | Attempt 2660: Error rate 53.88% (target: 15%) +2025-09-15T14:20:42.531Z | [OTHER] | Attempt 2661: Error rate 53.03% (target: 15%) +2025-09-15T14:20:42.534Z | [OTHER] | Attempt 2662: Error rate 50.39% (target: 15%) +2025-09-15T14:20:42.537Z | [OTHER] | Attempt 2663: Error rate 49.63% (target: 15%) +2025-09-15T14:20:42.540Z | [OTHER] | Attempt 2664: Error rate 54.35% (target: 15%) +2025-09-15T14:20:42.544Z | [OTHER] | Attempt 2665: Error rate 55.3% (target: 15%) +2025-09-15T14:20:42.547Z | [OTHER] | Attempt 2666: Error rate 50.37% (target: 15%) +2025-09-15T14:20:42.550Z | [OTHER] | Attempt 2667: Error rate 51.28% (target: 15%) +2025-09-15T14:20:42.555Z | [OTHER] | Attempt 2668: Error rate 47.81% (target: 15%) +2025-09-15T14:20:42.558Z | [OTHER] | Attempt 2669: Error rate 45.65% (target: 15%) +2025-09-15T14:20:42.561Z | [OTHER] | Attempt 2670: Error rate 53.49% (target: 15%) +2025-09-15T14:20:42.564Z | [OTHER] | Attempt 2671: Error rate 52.5% (target: 15%) +2025-09-15T14:20:42.568Z | [OTHER] | Attempt 2672: Error rate 53.41% (target: 15%) +2025-09-15T14:20:42.571Z | [OTHER] | Attempt 2673: Error rate 53.7% (target: 15%) +2025-09-15T14:20:42.574Z | [OTHER] | Attempt 2674: Error rate 47.41% (target: 15%) +2025-09-15T14:20:42.577Z | [OTHER] | Attempt 2675: Error rate 58.75% (target: 15%) +2025-09-15T14:20:42.581Z | [OTHER] | Attempt 2676: Error rate 50.81% (target: 15%) +2025-09-15T14:20:42.584Z | [OTHER] | Attempt 2677: Error rate 47.1% (target: 15%) +2025-09-15T14:20:42.587Z | [OTHER] | Attempt 2678: Error rate 48.15% (target: 15%) +2025-09-15T14:20:42.590Z | [OTHER] | Attempt 2679: Error rate 48.61% (target: 15%) +2025-09-15T14:20:42.594Z | [OTHER] | Attempt 2680: Error rate 48.23% (target: 15%) +2025-09-15T14:20:42.598Z | [OTHER] | Attempt 2681: Error rate 48.29% (target: 15%) +2025-09-15T14:20:42.601Z | [OTHER] | Attempt 2682: Error rate 46.97% (target: 15%) +2025-09-15T14:20:42.604Z | [OTHER] | Attempt 2683: Error rate 45.56% (target: 15%) +2025-09-15T14:20:42.607Z | [OTHER] | Attempt 2684: Error rate 45.56% (target: 15%) +2025-09-15T14:20:42.611Z | [OTHER] | Attempt 2685: Error rate 53.19% (target: 15%) +2025-09-15T14:20:42.614Z | [OTHER] | Attempt 2686: Error rate 53.75% (target: 15%) +2025-09-15T14:20:42.617Z | [OTHER] | Attempt 2687: Error rate 52.71% (target: 15%) +2025-09-15T14:20:42.621Z | [OTHER] | Attempt 2688: Error rate 53.7% (target: 15%) +2025-09-15T14:20:42.624Z | [OTHER] | Attempt 2689: Error rate 49.21% (target: 15%) +2025-09-15T14:20:42.627Z | [OTHER] | Attempt 2690: Error rate 50.4% (target: 15%) +2025-09-15T14:20:42.631Z | [OTHER] | Attempt 2691: Error rate 50% (target: 15%) +2025-09-15T14:20:42.634Z | [OTHER] | Attempt 2692: Error rate 57.36% (target: 15%) +2025-09-15T14:20:42.637Z | [OTHER] | Attempt 2693: Error rate 51.52% (target: 15%) +2025-09-15T14:20:42.640Z | [OTHER] | Attempt 2694: Error rate 50.83% (target: 15%) +2025-09-15T14:20:42.643Z | [OTHER] | Attempt 2695: Error rate 53.41% (target: 15%) +2025-09-15T14:20:42.646Z | [OTHER] | Attempt 2696: Error rate 53.95% (target: 15%) +2025-09-15T14:20:42.649Z | [OTHER] | Attempt 2697: Error rate 50.42% (target: 15%) +2025-09-15T14:20:42.652Z | [OTHER] | Attempt 2698: Error rate 54.96% (target: 15%) +2025-09-15T14:20:42.655Z | [OTHER] | Attempt 2699: Error rate 42.06% (target: 15%) +2025-09-15T14:20:42.658Z | [OTHER] | Attempt 2700: Error rate 52.13% (target: 15%) +2025-09-15T14:20:42.662Z | [OTHER] | Attempt 2701: Error rate 48.52% (target: 15%) +2025-09-15T14:20:42.665Z | [OTHER] | Attempt 2702: Error rate 54.96% (target: 15%) +2025-09-15T14:20:42.668Z | [OTHER] | Attempt 2703: Error rate 52.65% (target: 15%) +2025-09-15T14:20:42.672Z | [OTHER] | Attempt 2704: Error rate 57.36% (target: 15%) +2025-09-15T14:20:42.675Z | [OTHER] | Attempt 2705: Error rate 59.57% (target: 15%) +2025-09-15T14:20:42.678Z | [OTHER] | Attempt 2706: Error rate 58.91% (target: 15%) +2025-09-15T14:20:42.681Z | [OTHER] | Attempt 2707: Error rate 47.22% (target: 15%) +2025-09-15T14:20:42.684Z | [OTHER] | Attempt 2708: Error rate 55.43% (target: 15%) +2025-09-15T14:20:42.687Z | [OTHER] | Attempt 2709: Error rate 47.16% (target: 15%) +2025-09-15T14:20:42.690Z | [OTHER] | Attempt 2710: Error rate 48.41% (target: 15%) +2025-09-15T14:20:42.694Z | [OTHER] | Attempt 2711: Error rate 47.44% (target: 15%) +2025-09-15T14:20:42.697Z | [OTHER] | Attempt 2712: Error rate 60% (target: 15%) +2025-09-15T14:20:42.700Z | [OTHER] | Attempt 2713: Error rate 50.76% (target: 15%) +2025-09-15T14:20:42.703Z | [OTHER] | Attempt 2714: Error rate 48.86% (target: 15%) +2025-09-15T14:20:42.707Z | [OTHER] | Attempt 2715: Error rate 58.52% (target: 15%) +2025-09-15T14:20:42.710Z | [OTHER] | Attempt 2716: Error rate 56.2% (target: 15%) +2025-09-15T14:20:42.713Z | [OTHER] | Attempt 2717: Error rate 46.59% (target: 15%) +2025-09-15T14:20:42.716Z | [OTHER] | Attempt 2718: Error rate 52.5% (target: 15%) +2025-09-15T14:20:42.721Z | [OTHER] | Attempt 2719: Error rate 50.37% (target: 15%) +2025-09-15T14:20:42.724Z | [OTHER] | Attempt 2720: Error rate 54.17% (target: 15%) +2025-09-15T14:20:42.728Z | [OTHER] | Attempt 2721: Error rate 54.86% (target: 15%) +2025-09-15T14:20:42.731Z | [OTHER] | Attempt 2722: Error rate 50% (target: 15%) +2025-09-15T14:20:42.735Z | [OTHER] | Attempt 2723: Error rate 55.81% (target: 15%) +2025-09-15T14:20:42.739Z | [OTHER] | Attempt 2724: Error rate 53.97% (target: 15%) +2025-09-15T14:20:42.743Z | [OTHER] | Attempt 2725: Error rate 45.56% (target: 15%) +2025-09-15T14:20:42.746Z | [OTHER] | Attempt 2726: Error rate 58.53% (target: 15%) +2025-09-15T14:20:42.750Z | [OTHER] | Attempt 2727: Error rate 46.83% (target: 15%) +2025-09-15T14:20:42.754Z | [OTHER] | Attempt 2728: Error rate 55.81% (target: 15%) +2025-09-15T14:20:42.757Z | [OTHER] | Attempt 2729: Error rate 51.14% (target: 15%) +2025-09-15T14:20:42.761Z | [OTHER] | Attempt 2730: Error rate 50.39% (target: 15%) +2025-09-15T14:20:42.764Z | [OTHER] | Attempt 2731: Error rate 54.61% (target: 15%) +2025-09-15T14:20:42.768Z | [OTHER] | Attempt 2732: Error rate 45.56% (target: 15%) +2025-09-15T14:20:42.771Z | [OTHER] | Attempt 2733: Error rate 52.08% (target: 15%) +2025-09-15T14:20:42.777Z | [OTHER] | Attempt 2734: Error rate 48.02% (target: 15%) +2025-09-15T14:20:42.785Z | [OTHER] | Attempt 2735: Error rate 51.14% (target: 15%) +2025-09-15T14:20:42.791Z | [OTHER] | Attempt 2736: Error rate 46.97% (target: 15%) +2025-09-15T14:20:42.798Z | [OTHER] | Attempt 2737: Error rate 43.41% (target: 15%) +2025-09-15T14:20:42.805Z | [OTHER] | Attempt 2738: Error rate 48.58% (target: 15%) +2025-09-15T14:20:42.812Z | [OTHER] | Attempt 2739: Error rate 56.91% (target: 15%) +2025-09-15T14:20:42.818Z | [OTHER] | Attempt 2740: Error rate 45.19% (target: 15%) +2025-09-15T14:20:42.821Z | [OTHER] | Attempt 2741: Error rate 53.33% (target: 15%) +2025-09-15T14:20:42.826Z | [OTHER] | Attempt 2742: Error rate 53.49% (target: 15%) +2025-09-15T14:20:42.831Z | [OTHER] | Attempt 2743: Error rate 54.96% (target: 15%) +2025-09-15T14:20:42.838Z | [OTHER] | Attempt 2744: Error rate 55.93% (target: 15%) +2025-09-15T14:20:42.843Z | [OTHER] | Attempt 2745: Error rate 53.49% (target: 15%) +2025-09-15T14:20:42.847Z | [OTHER] | Attempt 2746: Error rate 58.14% (target: 15%) +2025-09-15T14:20:42.851Z | [OTHER] | Attempt 2747: Error rate 49.24% (target: 15%) +2025-09-15T14:20:42.855Z | [OTHER] | Attempt 2748: Error rate 49.63% (target: 15%) +2025-09-15T14:20:42.859Z | [OTHER] | Attempt 2749: Error rate 49.19% (target: 15%) +2025-09-15T14:20:42.862Z | [OTHER] | Attempt 2750: Error rate 54.55% (target: 15%) +2025-09-15T14:20:42.866Z | [OTHER] | Attempt 2751: Error rate 53.41% (target: 15%) +2025-09-15T14:20:42.870Z | [OTHER] | Attempt 2752: Error rate 60.64% (target: 15%) +2025-09-15T14:20:42.873Z | [OTHER] | Attempt 2753: Error rate 54.61% (target: 15%) +2025-09-15T14:20:42.876Z | [OTHER] | Attempt 2754: Error rate 56.52% (target: 15%) +2025-09-15T14:20:42.880Z | [OTHER] | Attempt 2755: Error rate 55.56% (target: 15%) +2025-09-15T14:20:42.883Z | [OTHER] | Attempt 2756: Error rate 54.17% (target: 15%) +2025-09-15T14:20:42.887Z | [OTHER] | Attempt 2757: Error rate 50.4% (target: 15%) +2025-09-15T14:20:42.890Z | [OTHER] | Attempt 2758: Error rate 46.97% (target: 15%) +2025-09-15T14:20:42.895Z | [OTHER] | Attempt 2759: Error rate 57.61% (target: 15%) +2025-09-15T14:20:42.899Z | [OTHER] | Attempt 2760: Error rate 46.51% (target: 15%) +2025-09-15T14:20:42.903Z | [OTHER] | Attempt 2761: Error rate 43.12% (target: 15%) +2025-09-15T14:20:42.906Z | [OTHER] | Attempt 2762: Error rate 53.03% (target: 15%) +2025-09-15T14:20:42.909Z | [OTHER] | Attempt 2763: Error rate 58.16% (target: 15%) +2025-09-15T14:20:42.912Z | [OTHER] | Attempt 2764: Error rate 49.28% (target: 15%) +2025-09-15T14:20:42.916Z | [OTHER] | Attempt 2765: Error rate 49.61% (target: 15%) +2025-09-15T14:20:42.919Z | [OTHER] | Attempt 2766: Error rate 51.39% (target: 15%) +2025-09-15T14:20:42.923Z | [OTHER] | Attempt 2767: Error rate 48.89% (target: 15%) +2025-09-15T14:20:42.926Z | [OTHER] | Attempt 2768: Error rate 50.78% (target: 15%) +2025-09-15T14:20:42.930Z | [OTHER] | Attempt 2769: Error rate 53.57% (target: 15%) +2025-09-15T14:20:42.933Z | [OTHER] | Attempt 2770: Error rate 52.92% (target: 15%) +2025-09-15T14:20:42.937Z | [OTHER] | Attempt 2771: Error rate 50.79% (target: 15%) +2025-09-15T14:20:42.941Z | [OTHER] | Attempt 2772: Error rate 49.31% (target: 15%) +2025-09-15T14:20:42.944Z | [OTHER] | Attempt 2773: Error rate 48.15% (target: 15%) +2025-09-15T14:20:42.948Z | [OTHER] | Attempt 2774: Error rate 51.14% (target: 15%) +2025-09-15T14:20:42.952Z | [OTHER] | Attempt 2775: Error rate 43.09% (target: 15%) +2025-09-15T14:20:42.956Z | [OTHER] | Attempt 2776: Error rate 56.1% (target: 15%) +2025-09-15T14:20:42.959Z | [OTHER] | Attempt 2777: Error rate 45.24% (target: 15%) +2025-09-15T14:20:42.963Z | [OTHER] | Attempt 2778: Error rate 49.24% (target: 15%) +2025-09-15T14:20:42.967Z | [OTHER] | Attempt 2779: Error rate 46.75% (target: 15%) +2025-09-15T14:20:42.970Z | [OTHER] | Attempt 2780: Error rate 46.3% (target: 15%) +2025-09-15T14:20:42.974Z | [OTHER] | Attempt 2781: Error rate 47.15% (target: 15%) +2025-09-15T14:20:42.978Z | [OTHER] | Attempt 2782: Error rate 53.19% (target: 15%) +2025-09-15T14:20:42.982Z | [OTHER] | Attempt 2783: Error rate 46.97% (target: 15%) +2025-09-15T14:20:42.986Z | [OTHER] | Attempt 2784: Error rate 53.49% (target: 15%) +2025-09-15T14:20:42.989Z | [OTHER] | Attempt 2785: Error rate 54.07% (target: 15%) +2025-09-15T14:20:42.993Z | [OTHER] | Attempt 2786: Error rate 59.63% (target: 15%) +2025-09-15T14:20:42.996Z | [OTHER] | Attempt 2787: Error rate 42.75% (target: 15%) +2025-09-15T14:20:42.999Z | [OTHER] | Attempt 2788: Error rate 47.22% (target: 15%) +2025-09-15T14:20:43.003Z | [OTHER] | Attempt 2789: Error rate 56.25% (target: 15%) +2025-09-15T14:20:43.006Z | [OTHER] | Attempt 2790: Error rate 48.58% (target: 15%) +2025-09-15T14:20:43.009Z | [OTHER] | Attempt 2791: Error rate 45.56% (target: 15%) +2025-09-15T14:20:43.012Z | [OTHER] | Attempt 2792: Error rate 51.11% (target: 15%) +2025-09-15T14:20:43.016Z | [OTHER] | Attempt 2793: Error rate 53.17% (target: 15%) +2025-09-15T14:20:43.019Z | [OTHER] | Attempt 2794: Error rate 55.44% (target: 15%) +2025-09-15T14:20:43.022Z | [OTHER] | Attempt 2795: Error rate 52.27% (target: 15%) +2025-09-15T14:20:43.025Z | [OTHER] | Attempt 2796: Error rate 59.13% (target: 15%) +2025-09-15T14:20:43.029Z | [OTHER] | Attempt 2797: Error rate 53.33% (target: 15%) +2025-09-15T14:20:43.032Z | [OTHER] | Attempt 2798: Error rate 51.04% (target: 15%) +2025-09-15T14:20:43.035Z | [OTHER] | Attempt 2799: Error rate 46.01% (target: 15%) +2025-09-15T14:20:43.038Z | [OTHER] | Attempt 2800: Error rate 51.85% (target: 15%) +2025-09-15T14:20:43.042Z | [OTHER] | Attempt 2801: Error rate 53.79% (target: 15%) +2025-09-15T14:20:43.045Z | [OTHER] | Attempt 2802: Error rate 48.58% (target: 15%) +2025-09-15T14:20:43.048Z | [OTHER] | Attempt 2803: Error rate 57.78% (target: 15%) +2025-09-15T14:20:43.051Z | [OTHER] | Attempt 2804: Error rate 53.85% (target: 15%) +2025-09-15T14:20:43.055Z | [OTHER] | Attempt 2805: Error rate 46.88% (target: 15%) +2025-09-15T14:20:43.058Z | [OTHER] | Attempt 2806: Error rate 52.33% (target: 15%) +2025-09-15T14:20:43.061Z | [OTHER] | Attempt 2807: Error rate 50.39% (target: 15%) +2025-09-15T14:20:43.065Z | [OTHER] | Attempt 2808: Error rate 53.7% (target: 15%) +2025-09-15T14:20:43.068Z | [OTHER] | Attempt 2809: Error rate 50.4% (target: 15%) +2025-09-15T14:20:43.071Z | [OTHER] | Attempt 2810: Error rate 48.58% (target: 15%) +2025-09-15T14:20:43.074Z | [OTHER] | Attempt 2811: Error rate 51.16% (target: 15%) +2025-09-15T14:20:43.077Z | [OTHER] | Attempt 2812: Error rate 48.89% (target: 15%) +2025-09-15T14:20:43.080Z | [OTHER] | Attempt 2813: Error rate 57.94% (target: 15%) +2025-09-15T14:20:43.084Z | [OTHER] | Attempt 2814: Error rate 56.16% (target: 15%) +2025-09-15T14:20:43.087Z | [OTHER] | Attempt 2815: Error rate 56.67% (target: 15%) +2025-09-15T14:20:43.090Z | [OTHER] | Attempt 2816: Error rate 51.14% (target: 15%) +2025-09-15T14:20:43.094Z | [OTHER] | Attempt 2817: Error rate 49.19% (target: 15%) +2025-09-15T14:20:43.097Z | [OTHER] | Attempt 2818: Error rate 55% (target: 15%) +2025-09-15T14:20:43.101Z | [OTHER] | Attempt 2819: Error rate 60.74% (target: 15%) +2025-09-15T14:20:43.104Z | [OTHER] | Attempt 2820: Error rate 48.45% (target: 15%) +2025-09-15T14:20:43.107Z | [OTHER] | Attempt 2821: Error rate 55.07% (target: 15%) +2025-09-15T14:20:43.111Z | [OTHER] | Attempt 2822: Error rate 53.33% (target: 15%) +2025-09-15T14:20:43.114Z | [OTHER] | Attempt 2823: Error rate 50.78% (target: 15%) +2025-09-15T14:20:43.117Z | [OTHER] | Attempt 2824: Error rate 55.43% (target: 15%) +2025-09-15T14:20:43.120Z | [OTHER] | Attempt 2825: Error rate 59.3% (target: 15%) +2025-09-15T14:20:43.125Z | [OTHER] | Attempt 2826: Error rate 51.04% (target: 15%) +2025-09-15T14:20:43.127Z | [OTHER] | Attempt 2827: Error rate 54.51% (target: 15%) +2025-09-15T14:20:43.131Z | [OTHER] | Attempt 2828: Error rate 47.67% (target: 15%) +2025-09-15T14:20:43.134Z | [OTHER] | Attempt 2829: Error rate 53.79% (target: 15%) +2025-09-15T14:20:43.137Z | [OTHER] | Attempt 2830: Error rate 60.53% (target: 15%) +2025-09-15T14:20:43.140Z | [OTHER] | Attempt 2831: Error rate 48.41% (target: 15%) +2025-09-15T14:20:43.144Z | [OTHER] | Attempt 2832: Error rate 44.81% (target: 15%) +2025-09-15T14:20:43.147Z | [OTHER] | Attempt 2833: Error rate 51.81% (target: 15%) +2025-09-15T14:20:43.151Z | [OTHER] | Attempt 2834: Error rate 50% (target: 15%) +2025-09-15T14:20:43.154Z | [OTHER] | Attempt 2835: Error rate 42.46% (target: 15%) +2025-09-15T14:20:43.158Z | [OTHER] | Attempt 2836: Error rate 59.57% (target: 15%) +2025-09-15T14:20:43.162Z | [OTHER] | Attempt 2837: Error rate 50% (target: 15%) +2025-09-15T14:20:43.166Z | [OTHER] | Attempt 2838: Error rate 51.06% (target: 15%) +2025-09-15T14:20:43.169Z | [OTHER] | Attempt 2839: Error rate 53.33% (target: 15%) +2025-09-15T14:20:43.173Z | [OTHER] | Attempt 2840: Error rate 59.78% (target: 15%) +2025-09-15T14:20:43.176Z | [OTHER] | Attempt 2841: Error rate 56.06% (target: 15%) +2025-09-15T14:20:43.179Z | [OTHER] | Attempt 2842: Error rate 50% (target: 15%) +2025-09-15T14:20:43.182Z | [OTHER] | Attempt 2843: Error rate 49.63% (target: 15%) +2025-09-15T14:20:43.186Z | [OTHER] | Attempt 2844: Error rate 59.42% (target: 15%) +2025-09-15T14:20:43.189Z | [OTHER] | Attempt 2845: Error rate 51.48% (target: 15%) +2025-09-15T14:20:43.192Z | [OTHER] | Attempt 2846: Error rate 54.81% (target: 15%) +2025-09-15T14:20:43.195Z | [OTHER] | Attempt 2847: Error rate 54.82% (target: 15%) +2025-09-15T14:20:43.199Z | [OTHER] | Attempt 2848: Error rate 55.32% (target: 15%) +2025-09-15T14:20:43.202Z | [OTHER] | Attempt 2849: Error rate 51.94% (target: 15%) +2025-09-15T14:20:43.205Z | [OTHER] | Attempt 2850: Error rate 48.26% (target: 15%) +2025-09-15T14:20:43.208Z | [OTHER] | Attempt 2851: Error rate 59.52% (target: 15%) +2025-09-15T14:20:43.211Z | [OTHER] | Attempt 2852: Error rate 48.84% (target: 15%) +2025-09-15T14:20:43.214Z | [OTHER] | Attempt 2853: Error rate 53.9% (target: 15%) +2025-09-15T14:20:43.218Z | [OTHER] | Attempt 2854: Error rate 53.03% (target: 15%) +2025-09-15T14:20:43.221Z | [OTHER] | Attempt 2855: Error rate 56.98% (target: 15%) +2025-09-15T14:20:43.224Z | [OTHER] | Attempt 2856: Error rate 57.75% (target: 15%) +2025-09-15T14:20:43.227Z | [OTHER] | Attempt 2857: Error rate 53.75% (target: 15%) +2025-09-15T14:20:43.230Z | [OTHER] | Attempt 2858: Error rate 55.13% (target: 15%) +2025-09-15T14:20:43.234Z | [OTHER] | Attempt 2859: Error rate 47.67% (target: 15%) +2025-09-15T14:20:43.237Z | [OTHER] | Attempt 2860: Error rate 50.39% (target: 15%) +2025-09-15T14:20:43.241Z | [OTHER] | Attempt 2861: Error rate 51.22% (target: 15%) +2025-09-15T14:20:43.244Z | [OTHER] | Attempt 2862: Error rate 53.97% (target: 15%) +2025-09-15T14:20:43.247Z | [OTHER] | Attempt 2863: Error rate 56.82% (target: 15%) +2025-09-15T14:20:43.250Z | [OTHER] | Attempt 2864: Error rate 43.84% (target: 15%) +2025-09-15T14:20:43.254Z | [OTHER] | Attempt 2865: Error rate 45.63% (target: 15%) +2025-09-15T14:20:43.257Z | [OTHER] | Attempt 2866: Error rate 51.94% (target: 15%) +2025-09-15T14:20:43.261Z | [OTHER] | Attempt 2867: Error rate 49.6% (target: 15%) +2025-09-15T14:20:43.264Z | [OTHER] | Attempt 2868: Error rate 48.06% (target: 15%) +2025-09-15T14:20:43.267Z | [OTHER] | Attempt 2869: Error rate 53.88% (target: 15%) +2025-09-15T14:20:43.270Z | [OTHER] | Attempt 2870: Error rate 57.41% (target: 15%) +2025-09-15T14:20:43.273Z | [OTHER] | Attempt 2871: Error rate 59.4% (target: 15%) +2025-09-15T14:20:43.277Z | [OTHER] | Attempt 2872: Error rate 46.43% (target: 15%) +2025-09-15T14:20:43.280Z | [OTHER] | Attempt 2873: Error rate 53.47% (target: 15%) +2025-09-15T14:20:43.284Z | [OTHER] | Attempt 2874: Error rate 48.86% (target: 15%) +2025-09-15T14:20:43.287Z | [OTHER] | Attempt 2875: Error rate 55.04% (target: 15%) +2025-09-15T14:20:43.290Z | [OTHER] | Attempt 2876: Error rate 51.11% (target: 15%) +2025-09-15T14:20:43.294Z | [OTHER] | Attempt 2877: Error rate 44.07% (target: 15%) +2025-09-15T14:20:43.297Z | [OTHER] | Attempt 2878: Error rate 53.33% (target: 15%) +2025-09-15T14:20:43.300Z | [OTHER] | Attempt 2879: Error rate 41.25% (target: 15%) +2025-09-15T14:20:43.303Z | [OTHER] | Attempt 2880: Error rate 54.07% (target: 15%) +2025-09-15T14:20:43.307Z | [OTHER] | Attempt 2881: Error rate 48.48% (target: 15%) +2025-09-15T14:20:43.310Z | [OTHER] | Attempt 2882: Error rate 52.38% (target: 15%) +2025-09-15T14:20:43.314Z | [OTHER] | Attempt 2883: Error rate 52.61% (target: 15%) +2025-09-15T14:20:43.317Z | [OTHER] | Attempt 2884: Error rate 51.52% (target: 15%) +2025-09-15T14:20:43.320Z | [OTHER] | Attempt 2885: Error rate 41.85% (target: 15%) +2025-09-15T14:20:43.323Z | [OTHER] | Attempt 2886: Error rate 53.1% (target: 15%) +2025-09-15T14:20:43.327Z | [OTHER] | Attempt 2887: Error rate 55.1% (target: 15%) +2025-09-15T14:20:43.330Z | [OTHER] | Attempt 2888: Error rate 63.57% (target: 15%) +2025-09-15T14:20:43.334Z | [OTHER] | Attempt 2889: Error rate 51.11% (target: 15%) +2025-09-15T14:20:43.338Z | [OTHER] | Attempt 2890: Error rate 53.49% (target: 15%) +2025-09-15T14:20:43.341Z | [OTHER] | Attempt 2891: Error rate 54.55% (target: 15%) +2025-09-15T14:20:43.345Z | [OTHER] | Attempt 2892: Error rate 52.92% (target: 15%) +2025-09-15T14:20:43.349Z | [OTHER] | Attempt 2893: Error rate 46.25% (target: 15%) +2025-09-15T14:20:43.352Z | [OTHER] | Attempt 2894: Error rate 50.39% (target: 15%) +2025-09-15T14:20:43.356Z | [OTHER] | Attempt 2895: Error rate 39.77% (target: 15%) +2025-09-15T14:20:43.359Z | [OTHER] | Attempt 2896: Error rate 48.02% (target: 15%) +2025-09-15T14:20:43.363Z | [OTHER] | Attempt 2897: Error rate 52.71% (target: 15%) +2025-09-15T14:20:43.366Z | [OTHER] | Attempt 2898: Error rate 57.04% (target: 15%) +2025-09-15T14:20:43.370Z | [OTHER] | Attempt 2899: Error rate 51.28% (target: 15%) +2025-09-15T14:20:43.374Z | [OTHER] | Attempt 2900: Error rate 58.52% (target: 15%) +2025-09-15T14:20:43.377Z | [OTHER] | Attempt 2901: Error rate 56.98% (target: 15%) +2025-09-15T14:20:43.382Z | [OTHER] | Attempt 2902: Error rate 49.28% (target: 15%) +2025-09-15T14:20:43.385Z | [OTHER] | Attempt 2903: Error rate 52.59% (target: 15%) +2025-09-15T14:20:43.390Z | [OTHER] | Attempt 2904: Error rate 56.82% (target: 15%) +2025-09-15T14:20:43.394Z | [OTHER] | Attempt 2905: Error rate 48.33% (target: 15%) +2025-09-15T14:20:43.398Z | [OTHER] | Attempt 2906: Error rate 46.97% (target: 15%) +2025-09-15T14:20:43.402Z | [OTHER] | Attempt 2907: Error rate 55.8% (target: 15%) +2025-09-15T14:20:43.406Z | [OTHER] | Attempt 2908: Error rate 50.79% (target: 15%) +2025-09-15T14:20:43.410Z | [OTHER] | Attempt 2909: Error rate 40.74% (target: 15%) +2025-09-15T14:20:43.414Z | [OTHER] | Attempt 2910: Error rate 44.44% (target: 15%) +2025-09-15T14:20:43.417Z | [OTHER] | Attempt 2911: Error rate 51.45% (target: 15%) +2025-09-15T14:20:43.420Z | [OTHER] | Attempt 2912: Error rate 53.79% (target: 15%) +2025-09-15T14:20:43.424Z | [OTHER] | Attempt 2913: Error rate 55.3% (target: 15%) +2025-09-15T14:20:43.427Z | [OTHER] | Attempt 2914: Error rate 46.83% (target: 15%) +2025-09-15T14:20:43.431Z | [OTHER] | Attempt 2915: Error rate 54.76% (target: 15%) +2025-09-15T14:20:43.435Z | [OTHER] | Attempt 2916: Error rate 45.14% (target: 15%) +2025-09-15T14:20:43.438Z | [OTHER] | Attempt 2917: Error rate 59.52% (target: 15%) +2025-09-15T14:20:43.442Z | [OTHER] | Attempt 2918: Error rate 53.47% (target: 15%) +2025-09-15T14:20:43.445Z | [OTHER] | Attempt 2919: Error rate 53.03% (target: 15%) +2025-09-15T14:20:43.449Z | [OTHER] | Attempt 2920: Error rate 49.63% (target: 15%) +2025-09-15T14:20:43.452Z | [OTHER] | Attempt 2921: Error rate 59.18% (target: 15%) +2025-09-15T14:20:43.455Z | [OTHER] | Attempt 2922: Error rate 50% (target: 15%) +2025-09-15T14:20:43.459Z | [OTHER] | Attempt 2923: Error rate 38.62% (target: 15%) +2025-09-15T14:20:43.462Z | [OTHER] | Attempt 2924: Error rate 52.43% (target: 15%) +2025-09-15T14:20:43.466Z | [OTHER] | Attempt 2925: Error rate 46.03% (target: 15%) +2025-09-15T14:20:43.469Z | [OTHER] | Attempt 2926: Error rate 53% (target: 15%) +2025-09-15T14:20:43.473Z | [OTHER] | Attempt 2927: Error rate 56.2% (target: 15%) +2025-09-15T14:20:43.476Z | [OTHER] | Attempt 2928: Error rate 51.55% (target: 15%) +2025-09-15T14:20:43.479Z | [OTHER] | Attempt 2929: Error rate 56.12% (target: 15%) +2025-09-15T14:20:43.483Z | [OTHER] | Attempt 2930: Error rate 52.9% (target: 15%) +2025-09-15T14:20:43.486Z | [OTHER] | Attempt 2931: Error rate 53.26% (target: 15%) +2025-09-15T14:20:43.490Z | [OTHER] | Attempt 2932: Error rate 57.25% (target: 15%) +2025-09-15T14:20:43.493Z | [OTHER] | Attempt 2933: Error rate 54.37% (target: 15%) +2025-09-15T14:20:43.496Z | [OTHER] | Attempt 2934: Error rate 51.04% (target: 15%) +2025-09-15T14:20:43.500Z | [OTHER] | Attempt 2935: Error rate 52.44% (target: 15%) +2025-09-15T14:20:43.503Z | [OTHER] | Attempt 2936: Error rate 53.57% (target: 15%) +2025-09-15T14:20:43.507Z | [OTHER] | Attempt 2937: Error rate 49.63% (target: 15%) +2025-09-15T14:20:43.510Z | [OTHER] | Attempt 2938: Error rate 54.47% (target: 15%) +2025-09-15T14:20:43.513Z | [OTHER] | Attempt 2939: Error rate 34.47% (target: 15%) +2025-09-15T14:20:43.517Z | [OTHER] | Attempt 2940: Error rate 47.04% (target: 15%) +2025-09-15T14:20:43.520Z | [OTHER] | Attempt 2941: Error rate 54.61% (target: 15%) +2025-09-15T14:20:43.523Z | [OTHER] | Attempt 2942: Error rate 51.89% (target: 15%) +2025-09-15T14:20:43.527Z | [OTHER] | Attempt 2943: Error rate 47.35% (target: 15%) +2025-09-15T14:20:43.530Z | [OTHER] | Attempt 2944: Error rate 50.81% (target: 15%) +2025-09-15T14:20:43.533Z | [OTHER] | Attempt 2945: Error rate 50% (target: 15%) +2025-09-15T14:20:43.537Z | [OTHER] | Attempt 2946: Error rate 53.55% (target: 15%) +2025-09-15T14:20:43.540Z | [OTHER] | Attempt 2947: Error rate 50.43% (target: 15%) +2025-09-15T14:20:43.543Z | [OTHER] | Attempt 2948: Error rate 54.44% (target: 15%) +2025-09-15T14:20:43.546Z | [OTHER] | Attempt 2949: Error rate 54.17% (target: 15%) +2025-09-15T14:20:43.550Z | [OTHER] | Attempt 2950: Error rate 57.78% (target: 15%) +2025-09-15T14:20:43.554Z | [OTHER] | Attempt 2951: Error rate 44.96% (target: 15%) +2025-09-15T14:20:43.557Z | [OTHER] | Attempt 2952: Error rate 49.59% (target: 15%) +2025-09-15T14:20:43.561Z | [OTHER] | Attempt 2953: Error rate 46.45% (target: 15%) +2025-09-15T14:20:43.566Z | [OTHER] | Attempt 2954: Error rate 55.68% (target: 15%) +2025-09-15T14:20:43.570Z | [OTHER] | Attempt 2955: Error rate 55.3% (target: 15%) +2025-09-15T14:20:43.573Z | [OTHER] | Attempt 2956: Error rate 52.96% (target: 15%) +2025-09-15T14:20:43.576Z | [OTHER] | Attempt 2957: Error rate 55.43% (target: 15%) +2025-09-15T14:20:43.580Z | [OTHER] | Attempt 2958: Error rate 51.59% (target: 15%) +2025-09-15T14:20:43.583Z | [OTHER] | Attempt 2959: Error rate 57.25% (target: 15%) +2025-09-15T14:20:43.587Z | [OTHER] | Attempt 2960: Error rate 55.69% (target: 15%) +2025-09-15T14:20:43.590Z | [OTHER] | Attempt 2961: Error rate 55.28% (target: 15%) +2025-09-15T14:20:43.593Z | [OTHER] | Attempt 2962: Error rate 52.78% (target: 15%) +2025-09-15T14:20:43.597Z | [OTHER] | Attempt 2963: Error rate 45.35% (target: 15%) +2025-09-15T14:20:43.600Z | [OTHER] | Attempt 2964: Error rate 59.69% (target: 15%) +2025-09-15T14:20:43.604Z | [OTHER] | Attempt 2965: Error rate 45.24% (target: 15%) +2025-09-15T14:20:43.607Z | [OTHER] | Attempt 2966: Error rate 57.36% (target: 15%) +2025-09-15T14:20:43.611Z | [OTHER] | Attempt 2967: Error rate 57.14% (target: 15%) +2025-09-15T14:20:43.614Z | [OTHER] | Attempt 2968: Error rate 50.35% (target: 15%) +2025-09-15T14:20:43.617Z | [OTHER] | Attempt 2969: Error rate 52.17% (target: 15%) +2025-09-15T14:20:43.621Z | [OTHER] | Attempt 2970: Error rate 55.21% (target: 15%) +2025-09-15T14:20:43.624Z | [OTHER] | Attempt 2971: Error rate 43.84% (target: 15%) +2025-09-15T14:20:43.628Z | [OTHER] | Attempt 2972: Error rate 53.62% (target: 15%) +2025-09-15T14:20:43.631Z | [OTHER] | Attempt 2973: Error rate 55.81% (target: 15%) +2025-09-15T14:20:43.635Z | [OTHER] | Attempt 2974: Error rate 51.94% (target: 15%) +2025-09-15T14:20:43.638Z | [OTHER] | Attempt 2975: Error rate 51.28% (target: 15%) +2025-09-15T14:20:43.641Z | [OTHER] | Attempt 2976: Error rate 57.48% (target: 15%) +2025-09-15T14:20:43.644Z | [OTHER] | Attempt 2977: Error rate 53.25% (target: 15%) +2025-09-15T14:20:43.648Z | [OTHER] | Attempt 2978: Error rate 57.54% (target: 15%) +2025-09-15T14:20:43.651Z | [OTHER] | Attempt 2979: Error rate 50.42% (target: 15%) +2025-09-15T14:20:43.654Z | [OTHER] | Attempt 2980: Error rate 47.35% (target: 15%) +2025-09-15T14:20:43.658Z | [OTHER] | Attempt 2981: Error rate 52.92% (target: 15%) +2025-09-15T14:20:43.661Z | [OTHER] | Attempt 2982: Error rate 52.78% (target: 15%) +2025-09-15T14:20:43.664Z | [OTHER] | Attempt 2983: Error rate 50.35% (target: 15%) +2025-09-15T14:20:43.668Z | [OTHER] | Attempt 2984: Error rate 43.8% (target: 15%) +2025-09-15T14:20:43.671Z | [OTHER] | Attempt 2985: Error rate 50.36% (target: 15%) +2025-09-15T14:20:43.675Z | [OTHER] | Attempt 2986: Error rate 53% (target: 15%) +2025-09-15T14:20:43.678Z | [OTHER] | Attempt 2987: Error rate 48.91% (target: 15%) +2025-09-15T14:20:43.682Z | [OTHER] | Attempt 2988: Error rate 52.84% (target: 15%) +2025-09-15T14:20:43.685Z | [OTHER] | Attempt 2989: Error rate 45.93% (target: 15%) +2025-09-15T14:20:43.689Z | [OTHER] | Attempt 2990: Error rate 48.26% (target: 15%) +2025-09-15T14:20:43.692Z | [OTHER] | Attempt 2991: Error rate 54.76% (target: 15%) +2025-09-15T14:20:43.696Z | [OTHER] | Attempt 2992: Error rate 53.1% (target: 15%) +2025-09-15T14:20:43.700Z | [OTHER] | Attempt 2993: Error rate 48.48% (target: 15%) +2025-09-15T14:20:43.703Z | [OTHER] | Attempt 2994: Error rate 47.73% (target: 15%) +2025-09-15T14:20:43.706Z | [OTHER] | Attempt 2995: Error rate 55.43% (target: 15%) +2025-09-15T14:20:43.710Z | [OTHER] | Attempt 2996: Error rate 51.67% (target: 15%) +2025-09-15T14:20:43.713Z | [OTHER] | Attempt 2997: Error rate 52.59% (target: 15%) +2025-09-15T14:20:43.716Z | [OTHER] | Attempt 2998: Error rate 47.46% (target: 15%) +2025-09-15T14:20:43.720Z | [OTHER] | Attempt 2999: Error rate 47.78% (target: 15%) +2025-09-15T14:20:43.723Z | [OTHER] | Attempt 3000: Error rate 55.3% (target: 15%) +2025-09-15T14:20:43.727Z | [OTHER] | Attempt 3001: Error rate 50.39% (target: 15%) +2025-09-15T14:20:43.730Z | [OTHER] | Attempt 3002: Error rate 55.19% (target: 15%) +2025-09-15T14:20:43.734Z | [OTHER] | Attempt 3003: Error rate 51.52% (target: 15%) +2025-09-15T14:20:43.738Z | [OTHER] | Attempt 3004: Error rate 51.48% (target: 15%) +2025-09-15T14:20:43.741Z | [OTHER] | Attempt 3005: Error rate 50.42% (target: 15%) +2025-09-15T14:20:43.745Z | [OTHER] | Attempt 3006: Error rate 48.81% (target: 15%) +2025-09-15T14:20:43.748Z | [OTHER] | Attempt 3007: Error rate 46.67% (target: 15%) +2025-09-15T14:20:43.752Z | [OTHER] | Attempt 3008: Error rate 48.91% (target: 15%) +2025-09-15T14:20:43.755Z | [OTHER] | Attempt 3009: Error rate 50.78% (target: 15%) +2025-09-15T14:20:43.759Z | [OTHER] | Attempt 3010: Error rate 49.59% (target: 15%) +2025-09-15T14:20:43.762Z | [OTHER] | Attempt 3011: Error rate 53.13% (target: 15%) +2025-09-15T14:20:43.765Z | [OTHER] | Attempt 3012: Error rate 63.01% (target: 15%) +2025-09-15T14:20:43.769Z | [OTHER] | Attempt 3013: Error rate 50.72% (target: 15%) +2025-09-15T14:20:43.772Z | [OTHER] | Attempt 3014: Error rate 50.37% (target: 15%) +2025-09-15T14:20:43.775Z | [OTHER] | Attempt 3015: Error rate 49.22% (target: 15%) +2025-09-15T14:20:43.779Z | [OTHER] | Attempt 3016: Error rate 55.56% (target: 15%) +2025-09-15T14:20:43.783Z | [OTHER] | Attempt 3017: Error rate 56.44% (target: 15%) +2025-09-15T14:20:43.786Z | [OTHER] | Attempt 3018: Error rate 46.88% (target: 15%) +2025-09-15T14:20:43.789Z | [OTHER] | Attempt 3019: Error rate 49.22% (target: 15%) +2025-09-15T14:20:43.793Z | [OTHER] | Attempt 3020: Error rate 49.6% (target: 15%) +2025-09-15T14:20:43.796Z | [OTHER] | Attempt 3021: Error rate 59.18% (target: 15%) +2025-09-15T14:20:43.800Z | [OTHER] | Attempt 3022: Error rate 58.94% (target: 15%) +2025-09-15T14:20:43.804Z | [OTHER] | Attempt 3023: Error rate 46.59% (target: 15%) +2025-09-15T14:20:43.807Z | [OTHER] | Attempt 3024: Error rate 57.97% (target: 15%) +2025-09-15T14:20:43.811Z | [OTHER] | Attempt 3025: Error rate 52.08% (target: 15%) +2025-09-15T14:20:43.814Z | [OTHER] | Attempt 3026: Error rate 45.56% (target: 15%) +2025-09-15T14:20:43.818Z | [OTHER] | Attempt 3027: Error rate 47.04% (target: 15%) +2025-09-15T14:20:43.821Z | [OTHER] | Attempt 3028: Error rate 54.71% (target: 15%) +2025-09-15T14:20:43.825Z | [OTHER] | Attempt 3029: Error rate 51.22% (target: 15%) +2025-09-15T14:20:43.828Z | [OTHER] | Attempt 3030: Error rate 51.55% (target: 15%) +2025-09-15T14:20:43.831Z | [OTHER] | Attempt 3031: Error rate 59.78% (target: 15%) +2025-09-15T14:20:43.835Z | [OTHER] | Attempt 3032: Error rate 54.76% (target: 15%) +2025-09-15T14:20:43.838Z | [OTHER] | Attempt 3033: Error rate 57.67% (target: 15%) +2025-09-15T14:20:43.843Z | [OTHER] | Attempt 3034: Error rate 59.18% (target: 15%) +2025-09-15T14:20:43.846Z | [OTHER] | Attempt 3035: Error rate 48.86% (target: 15%) +2025-09-15T14:20:43.849Z | [OTHER] | Attempt 3036: Error rate 57.78% (target: 15%) +2025-09-15T14:20:43.852Z | [OTHER] | Attempt 3037: Error rate 52.9% (target: 15%) +2025-09-15T14:20:43.856Z | [OTHER] | Attempt 3038: Error rate 57.41% (target: 15%) +2025-09-15T14:20:43.860Z | [OTHER] | Attempt 3039: Error rate 50.76% (target: 15%) +2025-09-15T14:20:43.863Z | [OTHER] | Attempt 3040: Error rate 60.87% (target: 15%) +2025-09-15T14:20:43.866Z | [OTHER] | Attempt 3041: Error rate 49.28% (target: 15%) +2025-09-15T14:20:43.870Z | [OTHER] | Attempt 3042: Error rate 48.78% (target: 15%) +2025-09-15T14:20:43.873Z | [OTHER] | Attempt 3043: Error rate 51.94% (target: 15%) +2025-09-15T14:20:43.877Z | [OTHER] | Attempt 3044: Error rate 52.63% (target: 15%) +2025-09-15T14:20:43.880Z | [OTHER] | Attempt 3045: Error rate 53.06% (target: 15%) +2025-09-15T14:20:43.884Z | [OTHER] | Attempt 3046: Error rate 53.03% (target: 15%) +2025-09-15T14:20:43.887Z | [OTHER] | Attempt 3047: Error rate 45.24% (target: 15%) +2025-09-15T14:20:43.890Z | [OTHER] | Attempt 3048: Error rate 59.09% (target: 15%) +2025-09-15T14:20:43.894Z | [OTHER] | Attempt 3049: Error rate 46.34% (target: 15%) +2025-09-15T14:20:43.897Z | [OTHER] | Attempt 3050: Error rate 51.63% (target: 15%) +2025-09-15T14:20:43.901Z | [OTHER] | Attempt 3051: Error rate 55.93% (target: 15%) +2025-09-15T14:20:43.904Z | [OTHER] | Attempt 3052: Error rate 50.78% (target: 15%) +2025-09-15T14:20:43.908Z | [OTHER] | Attempt 3053: Error rate 52.44% (target: 15%) +2025-09-15T14:20:43.911Z | [OTHER] | Attempt 3054: Error rate 59.85% (target: 15%) +2025-09-15T14:20:43.915Z | [OTHER] | Attempt 3055: Error rate 51.48% (target: 15%) +2025-09-15T14:20:43.918Z | [OTHER] | Attempt 3056: Error rate 56.06% (target: 15%) +2025-09-15T14:20:43.921Z | [OTHER] | Attempt 3057: Error rate 55.83% (target: 15%) +2025-09-15T14:20:43.925Z | [OTHER] | Attempt 3058: Error rate 49.19% (target: 15%) +2025-09-15T14:20:43.928Z | [OTHER] | Attempt 3059: Error rate 57.95% (target: 15%) +2025-09-15T14:20:43.932Z | [OTHER] | Attempt 3060: Error rate 51.14% (target: 15%) +2025-09-15T14:20:43.935Z | [OTHER] | Attempt 3061: Error rate 47.15% (target: 15%) +2025-09-15T14:20:43.939Z | [OTHER] | Attempt 3062: Error rate 56.67% (target: 15%) +2025-09-15T14:20:43.942Z | [OTHER] | Attempt 3063: Error rate 44.07% (target: 15%) +2025-09-15T14:20:43.948Z | [OTHER] | Attempt 3064: Error rate 52.27% (target: 15%) +2025-09-15T14:20:43.954Z | [OTHER] | Attempt 3065: Error rate 58.13% (target: 15%) +2025-09-15T14:20:43.959Z | [OTHER] | Attempt 3066: Error rate 45.93% (target: 15%) +2025-09-15T14:20:43.966Z | [OTHER] | Attempt 3067: Error rate 53.75% (target: 15%) +2025-09-15T14:20:43.971Z | [OTHER] | Attempt 3068: Error rate 46.1% (target: 15%) +2025-09-15T14:20:43.976Z | [OTHER] | Attempt 3069: Error rate 55.07% (target: 15%) +2025-09-15T14:20:43.980Z | [OTHER] | Attempt 3070: Error rate 52.44% (target: 15%) +2025-09-15T14:20:43.985Z | [OTHER] | Attempt 3071: Error rate 53.13% (target: 15%) +2025-09-15T14:20:43.989Z | [OTHER] | Attempt 3072: Error rate 48.75% (target: 15%) +2025-09-15T14:20:43.993Z | [OTHER] | Attempt 3073: Error rate 57.2% (target: 15%) +2025-09-15T14:20:43.996Z | [OTHER] | Attempt 3074: Error rate 51.25% (target: 15%) +2025-09-15T14:20:44.000Z | [OTHER] | Attempt 3075: Error rate 44.58% (target: 15%) +2025-09-15T14:20:44.004Z | [OTHER] | Attempt 3076: Error rate 50.76% (target: 15%) +2025-09-15T14:20:44.009Z | [OTHER] | Attempt 3077: Error rate 51.14% (target: 15%) +2025-09-15T14:20:44.012Z | [OTHER] | Attempt 3078: Error rate 49.62% (target: 15%) +2025-09-15T14:20:44.015Z | [OTHER] | Attempt 3079: Error rate 52.48% (target: 15%) +2025-09-15T14:20:44.019Z | [OTHER] | Attempt 3080: Error rate 57.54% (target: 15%) +2025-09-15T14:20:44.022Z | [OTHER] | Attempt 3081: Error rate 52.04% (target: 15%) +2025-09-15T14:20:44.025Z | [OTHER] | Attempt 3082: Error rate 57.36% (target: 15%) +2025-09-15T14:20:44.029Z | [OTHER] | Attempt 3083: Error rate 49.26% (target: 15%) +2025-09-15T14:20:44.032Z | [OTHER] | Attempt 3084: Error rate 48.91% (target: 15%) +2025-09-15T14:20:44.035Z | [OTHER] | Attempt 3085: Error rate 58.33% (target: 15%) +2025-09-15T14:20:44.039Z | [OTHER] | Attempt 3086: Error rate 49.61% (target: 15%) +2025-09-15T14:20:44.042Z | [OTHER] | Attempt 3087: Error rate 43.94% (target: 15%) +2025-09-15T14:20:44.046Z | [OTHER] | Attempt 3088: Error rate 48.26% (target: 15%) +2025-09-15T14:20:44.049Z | [OTHER] | Attempt 3089: Error rate 45% (target: 15%) +2025-09-15T14:20:44.053Z | [OTHER] | Attempt 3090: Error rate 57.75% (target: 15%) +2025-09-15T14:20:44.056Z | [OTHER] | Attempt 3091: Error rate 50.4% (target: 15%) +2025-09-15T14:20:44.060Z | [OTHER] | Attempt 3092: Error rate 48.33% (target: 15%) +2025-09-15T14:20:44.063Z | [OTHER] | Attempt 3093: Error rate 50% (target: 15%) +2025-09-15T14:20:44.066Z | [OTHER] | Attempt 3094: Error rate 47.92% (target: 15%) +2025-09-15T14:20:44.070Z | [OTHER] | Attempt 3095: Error rate 53.97% (target: 15%) +2025-09-15T14:20:44.074Z | [OTHER] | Attempt 3096: Error rate 51.55% (target: 15%) +2025-09-15T14:20:44.078Z | [OTHER] | Attempt 3097: Error rate 54.61% (target: 15%) +2025-09-15T14:20:44.081Z | [OTHER] | Attempt 3098: Error rate 55.67% (target: 15%) +2025-09-15T14:20:44.085Z | [OTHER] | Attempt 3099: Error rate 49.24% (target: 15%) +2025-09-15T14:20:44.088Z | [OTHER] | Attempt 3100: Error rate 52.72% (target: 15%) +2025-09-15T14:20:44.092Z | [OTHER] | Attempt 3101: Error rate 52.38% (target: 15%) +2025-09-15T14:20:44.096Z | [OTHER] | Attempt 3102: Error rate 51.85% (target: 15%) +2025-09-15T14:20:44.099Z | [OTHER] | Attempt 3103: Error rate 48.84% (target: 15%) +2025-09-15T14:20:44.103Z | [OTHER] | Attempt 3104: Error rate 53.62% (target: 15%) +2025-09-15T14:20:44.106Z | [OTHER] | Attempt 3105: Error rate 56.67% (target: 15%) +2025-09-15T14:20:44.110Z | [OTHER] | Attempt 3106: Error rate 53.03% (target: 15%) +2025-09-15T14:20:44.113Z | [OTHER] | Attempt 3107: Error rate 53.66% (target: 15%) +2025-09-15T14:20:44.117Z | [OTHER] | Attempt 3108: Error rate 44.44% (target: 15%) +2025-09-15T14:20:44.120Z | [OTHER] | Attempt 3109: Error rate 55.07% (target: 15%) +2025-09-15T14:20:44.124Z | [OTHER] | Attempt 3110: Error rate 51.85% (target: 15%) +2025-09-15T14:20:44.127Z | [OTHER] | Attempt 3111: Error rate 55.3% (target: 15%) +2025-09-15T14:20:44.131Z | [OTHER] | Attempt 3112: Error rate 55.68% (target: 15%) +2025-09-15T14:20:44.135Z | [OTHER] | Attempt 3113: Error rate 56.25% (target: 15%) +2025-09-15T14:20:44.138Z | [OTHER] | Attempt 3114: Error rate 53.19% (target: 15%) +2025-09-15T14:20:44.142Z | [OTHER] | Attempt 3115: Error rate 54.81% (target: 15%) +2025-09-15T14:20:44.145Z | [OTHER] | Attempt 3116: Error rate 50.72% (target: 15%) +2025-09-15T14:20:44.149Z | [OTHER] | Attempt 3117: Error rate 52.5% (target: 15%) +2025-09-15T14:20:44.153Z | [OTHER] | Attempt 3118: Error rate 52.96% (target: 15%) +2025-09-15T14:20:44.156Z | [OTHER] | Attempt 3119: Error rate 55.04% (target: 15%) +2025-09-15T14:20:44.159Z | [OTHER] | Attempt 3120: Error rate 55.81% (target: 15%) +2025-09-15T14:20:44.163Z | [OTHER] | Attempt 3121: Error rate 59% (target: 15%) +2025-09-15T14:20:44.166Z | [OTHER] | Attempt 3122: Error rate 51.19% (target: 15%) +2025-09-15T14:20:44.170Z | [OTHER] | Attempt 3123: Error rate 50% (target: 15%) +2025-09-15T14:20:44.173Z | [OTHER] | Attempt 3124: Error rate 53.25% (target: 15%) +2025-09-15T14:20:44.177Z | [OTHER] | Attempt 3125: Error rate 55.67% (target: 15%) +2025-09-15T14:20:44.181Z | [OTHER] | Attempt 3126: Error rate 58.73% (target: 15%) +2025-09-15T14:20:44.184Z | [OTHER] | Attempt 3127: Error rate 55.16% (target: 15%) +2025-09-15T14:20:44.187Z | [OTHER] | Attempt 3128: Error rate 50.78% (target: 15%) +2025-09-15T14:20:44.191Z | [OTHER] | Attempt 3129: Error rate 52.27% (target: 15%) +2025-09-15T14:20:44.194Z | [OTHER] | Attempt 3130: Error rate 52.78% (target: 15%) +2025-09-15T14:20:44.198Z | [OTHER] | Attempt 3131: Error rate 57.78% (target: 15%) +2025-09-15T14:20:44.201Z | [OTHER] | Attempt 3132: Error rate 53.4% (target: 15%) +2025-09-15T14:20:44.205Z | [OTHER] | Attempt 3133: Error rate 55.67% (target: 15%) +2025-09-15T14:20:44.208Z | [OTHER] | Attempt 3134: Error rate 56.12% (target: 15%) +2025-09-15T14:20:44.212Z | [OTHER] | Attempt 3135: Error rate 61.74% (target: 15%) +2025-09-15T14:20:44.215Z | [OTHER] | Attempt 3136: Error rate 48.68% (target: 15%) +2025-09-15T14:20:44.218Z | [OTHER] | Attempt 3137: Error rate 48.84% (target: 15%) +2025-09-15T14:20:44.222Z | [OTHER] | Attempt 3138: Error rate 49.67% (target: 15%) +2025-09-15T14:20:44.225Z | [OTHER] | Attempt 3139: Error rate 48.15% (target: 15%) +2025-09-15T14:20:44.229Z | [OTHER] | Attempt 3140: Error rate 48.84% (target: 15%) +2025-09-15T14:20:44.232Z | [OTHER] | Attempt 3141: Error rate 61.79% (target: 15%) +2025-09-15T14:20:44.236Z | [OTHER] | Attempt 3142: Error rate 57.36% (target: 15%) +2025-09-15T14:20:44.240Z | [OTHER] | Attempt 3143: Error rate 50.71% (target: 15%) +2025-09-15T14:20:44.244Z | [OTHER] | Attempt 3144: Error rate 49.64% (target: 15%) +2025-09-15T14:20:44.247Z | [OTHER] | Attempt 3145: Error rate 55.16% (target: 15%) +2025-09-15T14:20:44.251Z | [OTHER] | Attempt 3146: Error rate 49.61% (target: 15%) +2025-09-15T14:20:44.254Z | [OTHER] | Attempt 3147: Error rate 52.71% (target: 15%) +2025-09-15T14:20:44.258Z | [OTHER] | Attempt 3148: Error rate 45.93% (target: 15%) +2025-09-15T14:20:44.261Z | [OTHER] | Attempt 3149: Error rate 56.1% (target: 15%) +2025-09-15T14:20:44.265Z | [OTHER] | Attempt 3150: Error rate 55.78% (target: 15%) +2025-09-15T14:20:44.268Z | [OTHER] | Attempt 3151: Error rate 57.04% (target: 15%) +2025-09-15T14:20:44.272Z | [OTHER] | Attempt 3152: Error rate 54.86% (target: 15%) +2025-09-15T14:20:44.275Z | [OTHER] | Attempt 3153: Error rate 49.61% (target: 15%) +2025-09-15T14:20:44.279Z | [OTHER] | Attempt 3154: Error rate 55.42% (target: 15%) +2025-09-15T14:20:44.282Z | [OTHER] | Attempt 3155: Error rate 57.75% (target: 15%) +2025-09-15T14:20:44.286Z | [OTHER] | Attempt 3156: Error rate 58.71% (target: 15%) +2025-09-15T14:20:44.289Z | [OTHER] | Attempt 3157: Error rate 52.85% (target: 15%) +2025-09-15T14:20:44.293Z | [OTHER] | Attempt 3158: Error rate 50.38% (target: 15%) +2025-09-15T14:20:44.297Z | [OTHER] | Attempt 3159: Error rate 54.92% (target: 15%) +2025-09-15T14:20:44.301Z | [OTHER] | Attempt 3160: Error rate 56.14% (target: 15%) +2025-09-15T14:20:44.304Z | [OTHER] | Attempt 3161: Error rate 56.75% (target: 15%) +2025-09-15T14:20:44.307Z | [OTHER] | Attempt 3162: Error rate 43.48% (target: 15%) +2025-09-15T14:20:44.311Z | [OTHER] | Attempt 3163: Error rate 47.22% (target: 15%) +2025-09-15T14:20:44.315Z | [OTHER] | Attempt 3164: Error rate 63.48% (target: 15%) +2025-09-15T14:20:44.318Z | [OTHER] | Attempt 3165: Error rate 56.35% (target: 15%) +2025-09-15T14:20:44.322Z | [OTHER] | Attempt 3166: Error rate 50.74% (target: 15%) +2025-09-15T14:20:44.325Z | [OTHER] | Attempt 3167: Error rate 50.79% (target: 15%) +2025-09-15T14:20:44.330Z | [OTHER] | Attempt 3168: Error rate 43.06% (target: 15%) +2025-09-15T14:20:44.333Z | [OTHER] | Attempt 3169: Error rate 45.63% (target: 15%) +2025-09-15T14:20:44.337Z | [OTHER] | Attempt 3170: Error rate 52.08% (target: 15%) +2025-09-15T14:20:44.341Z | [OTHER] | Attempt 3171: Error rate 49.62% (target: 15%) +2025-09-15T14:20:44.345Z | [OTHER] | Attempt 3172: Error rate 48.45% (target: 15%) +2025-09-15T14:20:44.348Z | [OTHER] | Attempt 3173: Error rate 53.9% (target: 15%) +2025-09-15T14:20:44.352Z | [OTHER] | Attempt 3174: Error rate 48.84% (target: 15%) +2025-09-15T14:20:44.355Z | [OTHER] | Attempt 3175: Error rate 45.74% (target: 15%) +2025-09-15T14:20:44.359Z | [OTHER] | Attempt 3176: Error rate 58.89% (target: 15%) +2025-09-15T14:20:44.362Z | [OTHER] | Attempt 3177: Error rate 51.19% (target: 15%) +2025-09-15T14:20:44.366Z | [OTHER] | Attempt 3178: Error rate 48.45% (target: 15%) +2025-09-15T14:20:44.369Z | [OTHER] | Attempt 3179: Error rate 54.92% (target: 15%) +2025-09-15T14:20:44.373Z | [OTHER] | Attempt 3180: Error rate 53.25% (target: 15%) +2025-09-15T14:20:44.376Z | [OTHER] | Attempt 3181: Error rate 55.43% (target: 15%) +2025-09-15T14:20:44.380Z | [OTHER] | Attempt 3182: Error rate 52.38% (target: 15%) +2025-09-15T14:20:44.383Z | [OTHER] | Attempt 3183: Error rate 50.37% (target: 15%) +2025-09-15T14:20:44.387Z | [OTHER] | Attempt 3184: Error rate 59% (target: 15%) +2025-09-15T14:20:44.391Z | [OTHER] | Attempt 3185: Error rate 56.88% (target: 15%) +2025-09-15T14:20:44.395Z | [OTHER] | Attempt 3186: Error rate 53.42% (target: 15%) +2025-09-15T14:20:44.398Z | [OTHER] | Attempt 3187: Error rate 53.7% (target: 15%) +2025-09-15T14:20:44.402Z | [OTHER] | Attempt 3188: Error rate 47.46% (target: 15%) +2025-09-15T14:20:44.405Z | [OTHER] | Attempt 3189: Error rate 61.11% (target: 15%) +2025-09-15T14:20:44.409Z | [OTHER] | Attempt 3190: Error rate 50.4% (target: 15%) +2025-09-15T14:20:44.413Z | [OTHER] | Attempt 3191: Error rate 48.15% (target: 15%) +2025-09-15T14:20:44.416Z | [OTHER] | Attempt 3192: Error rate 49.22% (target: 15%) +2025-09-15T14:20:44.420Z | [OTHER] | Attempt 3193: Error rate 44.57% (target: 15%) +2025-09-15T14:20:44.423Z | [OTHER] | Attempt 3194: Error rate 60.61% (target: 15%) +2025-09-15T14:20:44.427Z | [OTHER] | Attempt 3195: Error rate 57.36% (target: 15%) +2025-09-15T14:20:44.431Z | [OTHER] | Attempt 3196: Error rate 52.27% (target: 15%) +2025-09-15T14:20:44.434Z | [OTHER] | Attempt 3197: Error rate 53.88% (target: 15%) +2025-09-15T14:20:44.438Z | [OTHER] | Attempt 3198: Error rate 53.33% (target: 15%) +2025-09-15T14:20:44.442Z | [OTHER] | Attempt 3199: Error rate 46.83% (target: 15%) +2025-09-15T14:20:44.446Z | [OTHER] | Attempt 3200: Error rate 56.3% (target: 15%) +2025-09-15T14:20:44.449Z | [OTHER] | Attempt 3201: Error rate 51.25% (target: 15%) +2025-09-15T14:20:44.454Z | [OTHER] | Attempt 3202: Error rate 42.5% (target: 15%) +2025-09-15T14:20:44.457Z | [OTHER] | Attempt 3203: Error rate 45.18% (target: 15%) +2025-09-15T14:20:44.460Z | [OTHER] | Attempt 3204: Error rate 48.78% (target: 15%) +2025-09-15T14:20:44.464Z | [OTHER] | Attempt 3205: Error rate 53.79% (target: 15%) +2025-09-15T14:20:44.468Z | [OTHER] | Attempt 3206: Error rate 54.08% (target: 15%) +2025-09-15T14:20:44.471Z | [OTHER] | Attempt 3207: Error rate 50% (target: 15%) +2025-09-15T14:20:44.475Z | [OTHER] | Attempt 3208: Error rate 45.08% (target: 15%) +2025-09-15T14:20:44.479Z | [OTHER] | Attempt 3209: Error rate 50.76% (target: 15%) +2025-09-15T14:20:44.483Z | [OTHER] | Attempt 3210: Error rate 43.8% (target: 15%) +2025-09-15T14:20:44.486Z | [OTHER] | Attempt 3211: Error rate 57.32% (target: 15%) +2025-09-15T14:20:44.490Z | [OTHER] | Attempt 3212: Error rate 57.92% (target: 15%) +2025-09-15T14:20:44.493Z | [OTHER] | Attempt 3213: Error rate 47.22% (target: 15%) +2025-09-15T14:20:44.498Z | [OTHER] | Attempt 3214: Error rate 53.75% (target: 15%) +2025-09-15T14:20:44.502Z | [OTHER] | Attempt 3215: Error rate 51.48% (target: 15%) +2025-09-15T14:20:44.506Z | [OTHER] | Attempt 3216: Error rate 47.15% (target: 15%) +2025-09-15T14:20:44.509Z | [OTHER] | Attempt 3217: Error rate 61.63% (target: 15%) +2025-09-15T14:20:44.513Z | [OTHER] | Attempt 3218: Error rate 54.17% (target: 15%) +2025-09-15T14:20:44.516Z | [OTHER] | Attempt 3219: Error rate 48.19% (target: 15%) +2025-09-15T14:20:44.520Z | [OTHER] | Attempt 3220: Error rate 50% (target: 15%) +2025-09-15T14:20:44.523Z | [OTHER] | Attempt 3221: Error rate 48.94% (target: 15%) +2025-09-15T14:20:44.527Z | [OTHER] | Attempt 3222: Error rate 53.25% (target: 15%) +2025-09-15T14:20:44.530Z | [OTHER] | Attempt 3223: Error rate 55.21% (target: 15%) +2025-09-15T14:20:44.534Z | [OTHER] | Attempt 3224: Error rate 56.59% (target: 15%) +2025-09-15T14:20:44.538Z | [OTHER] | Attempt 3225: Error rate 61.48% (target: 15%) +2025-09-15T14:20:44.541Z | [OTHER] | Attempt 3226: Error rate 43.94% (target: 15%) +2025-09-15T14:20:44.544Z | [OTHER] | Attempt 3227: Error rate 53.79% (target: 15%) +2025-09-15T14:20:44.548Z | [OTHER] | Attempt 3228: Error rate 57.09% (target: 15%) +2025-09-15T14:20:44.552Z | [OTHER] | Attempt 3229: Error rate 57.61% (target: 15%) +2025-09-15T14:20:44.555Z | [OTHER] | Attempt 3230: Error rate 56.44% (target: 15%) +2025-09-15T14:20:44.559Z | [OTHER] | Attempt 3231: Error rate 47.87% (target: 15%) +2025-09-15T14:20:44.562Z | [OTHER] | Attempt 3232: Error rate 58.14% (target: 15%) +2025-09-15T14:20:44.566Z | [OTHER] | Attempt 3233: Error rate 55.07% (target: 15%) +2025-09-15T14:20:44.570Z | [OTHER] | Attempt 3234: Error rate 53.26% (target: 15%) +2025-09-15T14:20:44.573Z | [OTHER] | Attempt 3235: Error rate 49.6% (target: 15%) +2025-09-15T14:20:44.577Z | [OTHER] | Attempt 3236: Error rate 51.71% (target: 15%) +2025-09-15T14:20:44.581Z | [OTHER] | Attempt 3237: Error rate 55.28% (target: 15%) +2025-09-15T14:20:44.585Z | [OTHER] | Attempt 3238: Error rate 48.94% (target: 15%) +2025-09-15T14:20:44.589Z | [OTHER] | Attempt 3239: Error rate 50.4% (target: 15%) +2025-09-15T14:20:44.592Z | [OTHER] | Attempt 3240: Error rate 53.57% (target: 15%) +2025-09-15T14:20:44.596Z | [OTHER] | Attempt 3241: Error rate 49.22% (target: 15%) +2025-09-15T14:20:44.600Z | [OTHER] | Attempt 3242: Error rate 55.81% (target: 15%) +2025-09-15T14:20:44.604Z | [OTHER] | Attempt 3243: Error rate 48.29% (target: 15%) +2025-09-15T14:20:44.608Z | [OTHER] | Attempt 3244: Error rate 55.93% (target: 15%) +2025-09-15T14:20:44.611Z | [OTHER] | Attempt 3245: Error rate 43.8% (target: 15%) +2025-09-15T14:20:44.615Z | [OTHER] | Attempt 3246: Error rate 59.13% (target: 15%) +2025-09-15T14:20:44.619Z | [OTHER] | Attempt 3247: Error rate 50.74% (target: 15%) +2025-09-15T14:20:44.623Z | [OTHER] | Attempt 3248: Error rate 53.33% (target: 15%) +2025-09-15T14:20:44.626Z | [OTHER] | Attempt 3249: Error rate 47.92% (target: 15%) +2025-09-15T14:20:44.631Z | [OTHER] | Attempt 3250: Error rate 48.11% (target: 15%) +2025-09-15T14:20:44.634Z | [OTHER] | Attempt 3251: Error rate 64.33% (target: 15%) +2025-09-15T14:20:44.638Z | [OTHER] | Attempt 3252: Error rate 56.1% (target: 15%) +2025-09-15T14:20:44.641Z | [OTHER] | Attempt 3253: Error rate 58.75% (target: 15%) +2025-09-15T14:20:44.645Z | [OTHER] | Attempt 3254: Error rate 54.44% (target: 15%) +2025-09-15T14:20:44.649Z | [OTHER] | Attempt 3255: Error rate 54.17% (target: 15%) +2025-09-15T14:20:44.653Z | [OTHER] | Attempt 3256: Error rate 46.03% (target: 15%) +2025-09-15T14:20:44.656Z | [OTHER] | Attempt 3257: Error rate 44.05% (target: 15%) +2025-09-15T14:20:44.660Z | [OTHER] | Attempt 3258: Error rate 46.75% (target: 15%) +2025-09-15T14:20:44.664Z | [OTHER] | Attempt 3259: Error rate 49.22% (target: 15%) +2025-09-15T14:20:44.667Z | [OTHER] | Attempt 3260: Error rate 46.12% (target: 15%) +2025-09-15T14:20:44.671Z | [OTHER] | Attempt 3261: Error rate 54.65% (target: 15%) +2025-09-15T14:20:44.675Z | [OTHER] | Attempt 3262: Error rate 52.27% (target: 15%) +2025-09-15T14:20:44.678Z | [OTHER] | Attempt 3263: Error rate 55% (target: 15%) +2025-09-15T14:20:44.682Z | [OTHER] | Attempt 3264: Error rate 44.2% (target: 15%) +2025-09-15T14:20:44.685Z | [OTHER] | Attempt 3265: Error rate 53.33% (target: 15%) +2025-09-15T14:20:44.690Z | [OTHER] | Attempt 3266: Error rate 52.17% (target: 15%) +2025-09-15T14:20:44.694Z | [OTHER] | Attempt 3267: Error rate 50% (target: 15%) +2025-09-15T14:20:44.697Z | [OTHER] | Attempt 3268: Error rate 65.22% (target: 15%) +2025-09-15T14:20:44.701Z | [OTHER] | Attempt 3269: Error rate 52.17% (target: 15%) +2025-09-15T14:20:44.705Z | [OTHER] | Attempt 3270: Error rate 48.89% (target: 15%) +2025-09-15T14:20:44.709Z | [OTHER] | Attempt 3271: Error rate 41.67% (target: 15%) +2025-09-15T14:20:44.713Z | [OTHER] | Attempt 3272: Error rate 44.33% (target: 15%) +2025-09-15T14:20:44.716Z | [OTHER] | Attempt 3273: Error rate 49.29% (target: 15%) +2025-09-15T14:20:44.720Z | [OTHER] | Attempt 3274: Error rate 49.21% (target: 15%) +2025-09-15T14:20:44.723Z | [OTHER] | Attempt 3275: Error rate 53.57% (target: 15%) +2025-09-15T14:20:44.727Z | [OTHER] | Attempt 3276: Error rate 50.79% (target: 15%) +2025-09-15T14:20:44.731Z | [OTHER] | Attempt 3277: Error rate 62.39% (target: 15%) +2025-09-15T14:20:44.734Z | [OTHER] | Attempt 3278: Error rate 56.03% (target: 15%) +2025-09-15T14:20:44.738Z | [OTHER] | Attempt 3279: Error rate 49.24% (target: 15%) +2025-09-15T14:20:44.742Z | [OTHER] | Attempt 3280: Error rate 52.78% (target: 15%) +2025-09-15T14:20:44.746Z | [OTHER] | Attempt 3281: Error rate 54.17% (target: 15%) +2025-09-15T14:20:44.750Z | [OTHER] | Attempt 3282: Error rate 56.35% (target: 15%) +2025-09-15T14:20:44.754Z | [OTHER] | Attempt 3283: Error rate 59.47% (target: 15%) +2025-09-15T14:20:44.758Z | [OTHER] | Attempt 3284: Error rate 51.14% (target: 15%) +2025-09-15T14:20:44.763Z | [OTHER] | Attempt 3285: Error rate 54.26% (target: 15%) +2025-09-15T14:20:44.766Z | [OTHER] | Attempt 3286: Error rate 51.11% (target: 15%) +2025-09-15T14:20:44.770Z | [OTHER] | Attempt 3287: Error rate 46.51% (target: 15%) +2025-09-15T14:20:44.774Z | [OTHER] | Attempt 3288: Error rate 56.02% (target: 15%) +2025-09-15T14:20:44.777Z | [OTHER] | Attempt 3289: Error rate 46.75% (target: 15%) +2025-09-15T14:20:44.781Z | [OTHER] | Attempt 3290: Error rate 53.41% (target: 15%) +2025-09-15T14:20:44.785Z | [OTHER] | Attempt 3291: Error rate 50% (target: 15%) +2025-09-15T14:20:44.789Z | [OTHER] | Attempt 3292: Error rate 48.15% (target: 15%) +2025-09-15T14:20:44.793Z | [OTHER] | Attempt 3293: Error rate 50.37% (target: 15%) +2025-09-15T14:20:44.797Z | [OTHER] | Attempt 3294: Error rate 54.35% (target: 15%) +2025-09-15T14:20:44.801Z | [OTHER] | Attempt 3295: Error rate 55.32% (target: 15%) +2025-09-15T14:20:44.804Z | [OTHER] | Attempt 3296: Error rate 44.1% (target: 15%) +2025-09-15T14:20:44.808Z | [OTHER] | Attempt 3297: Error rate 46.53% (target: 15%) +2025-09-15T14:20:44.812Z | [OTHER] | Attempt 3298: Error rate 57.14% (target: 15%) +2025-09-15T14:20:44.816Z | [OTHER] | Attempt 3299: Error rate 47.56% (target: 15%) +2025-09-15T14:20:44.819Z | [OTHER] | Attempt 3300: Error rate 46.74% (target: 15%) +2025-09-15T14:20:44.824Z | [OTHER] | Attempt 3301: Error rate 55.04% (target: 15%) +2025-09-15T14:20:44.827Z | [OTHER] | Attempt 3302: Error rate 50.42% (target: 15%) +2025-09-15T14:20:44.831Z | [OTHER] | Attempt 3303: Error rate 57.36% (target: 15%) +2025-09-15T14:20:44.836Z | [OTHER] | Attempt 3304: Error rate 53.97% (target: 15%) +2025-09-15T14:20:44.839Z | [OTHER] | Attempt 3305: Error rate 54.81% (target: 15%) +2025-09-15T14:20:44.843Z | [OTHER] | Attempt 3306: Error rate 56.1% (target: 15%) +2025-09-15T14:20:44.847Z | [OTHER] | Attempt 3307: Error rate 55.8% (target: 15%) +2025-09-15T14:20:44.851Z | [OTHER] | Attempt 3308: Error rate 48.58% (target: 15%) +2025-09-15T14:20:44.854Z | [OTHER] | Attempt 3309: Error rate 54.47% (target: 15%) +2025-09-15T14:20:44.858Z | [OTHER] | Attempt 3310: Error rate 48.48% (target: 15%) +2025-09-15T14:20:44.861Z | [OTHER] | Attempt 3311: Error rate 56.59% (target: 15%) +2025-09-15T14:20:44.865Z | [OTHER] | Attempt 3312: Error rate 50.72% (target: 15%) +2025-09-15T14:20:44.869Z | [OTHER] | Attempt 3313: Error rate 49.64% (target: 15%) +2025-09-15T14:20:44.873Z | [OTHER] | Attempt 3314: Error rate 53.03% (target: 15%) +2025-09-15T14:20:44.876Z | [OTHER] | Attempt 3315: Error rate 53.33% (target: 15%) +2025-09-15T14:20:44.880Z | [OTHER] | Attempt 3316: Error rate 60.74% (target: 15%) +2025-09-15T14:20:44.884Z | [OTHER] | Attempt 3317: Error rate 58.84% (target: 15%) +2025-09-15T14:20:44.887Z | [OTHER] | Attempt 3318: Error rate 54.07% (target: 15%) +2025-09-15T14:20:44.891Z | [OTHER] | Attempt 3319: Error rate 49.59% (target: 15%) +2025-09-15T14:20:44.895Z | [OTHER] | Attempt 3320: Error rate 54.17% (target: 15%) +2025-09-15T14:20:44.898Z | [OTHER] | Attempt 3321: Error rate 48.23% (target: 15%) +2025-09-15T14:20:44.902Z | [OTHER] | Attempt 3322: Error rate 59.3% (target: 15%) +2025-09-15T14:20:44.906Z | [OTHER] | Attempt 3323: Error rate 48.11% (target: 15%) +2025-09-15T14:20:44.910Z | [OTHER] | Attempt 3324: Error rate 53.75% (target: 15%) +2025-09-15T14:20:44.914Z | [OTHER] | Attempt 3325: Error rate 43.84% (target: 15%) +2025-09-15T14:20:44.918Z | [OTHER] | Attempt 3326: Error rate 55.07% (target: 15%) +2025-09-15T14:20:44.923Z | [OTHER] | Attempt 3327: Error rate 45.93% (target: 15%) +2025-09-15T14:20:44.927Z | [OTHER] | Attempt 3328: Error rate 46.59% (target: 15%) +2025-09-15T14:20:44.931Z | [OTHER] | Attempt 3329: Error rate 53.66% (target: 15%) +2025-09-15T14:20:44.935Z | [OTHER] | Attempt 3330: Error rate 55.04% (target: 15%) +2025-09-15T14:20:44.939Z | [OTHER] | Attempt 3331: Error rate 52.59% (target: 15%) +2025-09-15T14:20:44.943Z | [OTHER] | Attempt 3332: Error rate 54.26% (target: 15%) +2025-09-15T14:20:44.946Z | [OTHER] | Attempt 3333: Error rate 53.1% (target: 15%) +2025-09-15T14:20:44.950Z | [OTHER] | Attempt 3334: Error rate 64.02% (target: 15%) +2025-09-15T14:20:44.953Z | [OTHER] | Attempt 3335: Error rate 46.3% (target: 15%) +2025-09-15T14:20:44.957Z | [OTHER] | Attempt 3336: Error rate 57.04% (target: 15%) +2025-09-15T14:20:44.962Z | [OTHER] | Attempt 3337: Error rate 49.22% (target: 15%) +2025-09-15T14:20:44.965Z | [OTHER] | Attempt 3338: Error rate 53.51% (target: 15%) +2025-09-15T14:20:44.969Z | [OTHER] | Attempt 3339: Error rate 56.59% (target: 15%) +2025-09-15T14:20:44.973Z | [OTHER] | Attempt 3340: Error rate 49.15% (target: 15%) +2025-09-15T14:20:44.977Z | [OTHER] | Attempt 3341: Error rate 53.95% (target: 15%) +2025-09-15T14:20:44.980Z | [OTHER] | Attempt 3342: Error rate 57.36% (target: 15%) +2025-09-15T14:20:44.984Z | [OTHER] | Attempt 3343: Error rate 59.57% (target: 15%) +2025-09-15T14:20:44.988Z | [OTHER] | Attempt 3344: Error rate 50.36% (target: 15%) +2025-09-15T14:20:44.992Z | [OTHER] | Attempt 3345: Error rate 53.66% (target: 15%) +2025-09-15T14:20:44.995Z | [OTHER] | Attempt 3346: Error rate 50.32% (target: 15%) +2025-09-15T14:20:45.000Z | [OTHER] | Attempt 3347: Error rate 49.61% (target: 15%) +2025-09-15T14:20:45.004Z | [OTHER] | Attempt 3348: Error rate 55.04% (target: 15%) +2025-09-15T14:20:45.008Z | [OTHER] | Attempt 3349: Error rate 51.11% (target: 15%) +2025-09-15T14:20:45.012Z | [OTHER] | Attempt 3350: Error rate 54.65% (target: 15%) +2025-09-15T14:20:45.015Z | [OTHER] | Attempt 3351: Error rate 45.53% (target: 15%) +2025-09-15T14:20:45.019Z | [OTHER] | Attempt 3352: Error rate 54.17% (target: 15%) +2025-09-15T14:20:45.023Z | [OTHER] | Attempt 3353: Error rate 63.57% (target: 15%) +2025-09-15T14:20:45.027Z | [OTHER] | Attempt 3354: Error rate 48.41% (target: 15%) +2025-09-15T14:20:45.031Z | [OTHER] | Attempt 3355: Error rate 51.36% (target: 15%) +2025-09-15T14:20:45.035Z | [OTHER] | Attempt 3356: Error rate 47.73% (target: 15%) +2025-09-15T14:20:45.038Z | [OTHER] | Attempt 3357: Error rate 44.12% (target: 15%) +2025-09-15T14:20:45.043Z | [OTHER] | Attempt 3358: Error rate 50% (target: 15%) +2025-09-15T14:20:45.046Z | [OTHER] | Attempt 3359: Error rate 52.33% (target: 15%) +2025-09-15T14:20:45.050Z | [OTHER] | Attempt 3360: Error rate 51.85% (target: 15%) +2025-09-15T14:20:45.053Z | [OTHER] | Attempt 3361: Error rate 49.58% (target: 15%) +2025-09-15T14:20:45.057Z | [OTHER] | Attempt 3362: Error rate 51.25% (target: 15%) +2025-09-15T14:20:45.061Z | [OTHER] | Attempt 3363: Error rate 54.26% (target: 15%) +2025-09-15T14:20:45.065Z | [OTHER] | Attempt 3364: Error rate 50% (target: 15%) +2025-09-15T14:20:45.069Z | [OTHER] | Attempt 3365: Error rate 53.9% (target: 15%) +2025-09-15T14:20:45.072Z | [OTHER] | Attempt 3366: Error rate 50.43% (target: 15%) +2025-09-15T14:20:45.076Z | [OTHER] | Attempt 3367: Error rate 52.59% (target: 15%) +2025-09-15T14:20:45.079Z | [OTHER] | Attempt 3368: Error rate 57.04% (target: 15%) +2025-09-15T14:20:45.084Z | [OTHER] | Attempt 3369: Error rate 47.41% (target: 15%) +2025-09-15T14:20:45.087Z | [OTHER] | Attempt 3370: Error rate 47.62% (target: 15%) +2025-09-15T14:20:45.091Z | [OTHER] | Attempt 3371: Error rate 56.35% (target: 15%) +2025-09-15T14:20:45.094Z | [OTHER] | Attempt 3372: Error rate 52.78% (target: 15%) +2025-09-15T14:20:45.098Z | [OTHER] | Attempt 3373: Error rate 56.75% (target: 15%) +2025-09-15T14:20:45.102Z | [OTHER] | Attempt 3374: Error rate 53.79% (target: 15%) +2025-09-15T14:20:45.105Z | [OTHER] | Attempt 3375: Error rate 48.68% (target: 15%) +2025-09-15T14:20:45.109Z | [OTHER] | Attempt 3376: Error rate 49.62% (target: 15%) +2025-09-15T14:20:45.113Z | [OTHER] | Attempt 3377: Error rate 45.04% (target: 15%) +2025-09-15T14:20:45.116Z | [OTHER] | Attempt 3378: Error rate 53.1% (target: 15%) +2025-09-15T14:20:45.120Z | [OTHER] | Attempt 3379: Error rate 56.25% (target: 15%) +2025-09-15T14:20:45.124Z | [OTHER] | Attempt 3380: Error rate 54.65% (target: 15%) +2025-09-15T14:20:45.127Z | [OTHER] | Attempt 3381: Error rate 47.56% (target: 15%) +2025-09-15T14:20:45.131Z | [OTHER] | Attempt 3382: Error rate 55.78% (target: 15%) +2025-09-15T14:20:45.135Z | [OTHER] | Attempt 3383: Error rate 52.27% (target: 15%) +2025-09-15T14:20:45.139Z | [OTHER] | Attempt 3384: Error rate 52.65% (target: 15%) +2025-09-15T14:20:45.143Z | [OTHER] | Attempt 3385: Error rate 47.41% (target: 15%) +2025-09-15T14:20:45.146Z | [OTHER] | Attempt 3386: Error rate 55.19% (target: 15%) +2025-09-15T14:20:45.150Z | [OTHER] | Attempt 3387: Error rate 45.61% (target: 15%) +2025-09-15T14:20:45.154Z | [OTHER] | Attempt 3388: Error rate 52.85% (target: 15%) +2025-09-15T14:20:45.157Z | [OTHER] | Attempt 3389: Error rate 60.98% (target: 15%) +2025-09-15T14:20:45.161Z | [OTHER] | Attempt 3390: Error rate 51.09% (target: 15%) +2025-09-15T14:20:45.165Z | [OTHER] | Attempt 3391: Error rate 47.92% (target: 15%) +2025-09-15T14:20:45.169Z | [OTHER] | Attempt 3392: Error rate 57.54% (target: 15%) +2025-09-15T14:20:45.174Z | [OTHER] | Attempt 3393: Error rate 45.74% (target: 15%) +2025-09-15T14:20:45.178Z | [OTHER] | Attempt 3394: Error rate 52.67% (target: 15%) +2025-09-15T14:20:45.181Z | [OTHER] | Attempt 3395: Error rate 56.46% (target: 15%) +2025-09-15T14:20:45.186Z | [OTHER] | Attempt 3396: Error rate 54.71% (target: 15%) +2025-09-15T14:20:45.189Z | [OTHER] | Attempt 3397: Error rate 47.04% (target: 15%) +2025-09-15T14:20:45.193Z | [OTHER] | Attempt 3398: Error rate 47.52% (target: 15%) +2025-09-15T14:20:45.196Z | [OTHER] | Attempt 3399: Error rate 56.44% (target: 15%) +2025-09-15T14:20:45.200Z | [OTHER] | Attempt 3400: Error rate 48.48% (target: 15%) +2025-09-15T14:20:45.203Z | [OTHER] | Attempt 3401: Error rate 57.72% (target: 15%) +2025-09-15T14:20:45.207Z | [OTHER] | Attempt 3402: Error rate 58.71% (target: 15%) +2025-09-15T14:20:45.210Z | [OTHER] | Attempt 3403: Error rate 54.65% (target: 15%) +2025-09-15T14:20:45.214Z | [OTHER] | Attempt 3404: Error rate 59.26% (target: 15%) +2025-09-15T14:20:45.218Z | [OTHER] | Attempt 3405: Error rate 51.36% (target: 15%) +2025-09-15T14:20:45.221Z | [OTHER] | Attempt 3406: Error rate 52.22% (target: 15%) +2025-09-15T14:20:45.225Z | [OTHER] | Attempt 3407: Error rate 47.73% (target: 15%) +2025-09-15T14:20:45.229Z | [OTHER] | Attempt 3408: Error rate 54.61% (target: 15%) +2025-09-15T14:20:45.232Z | [OTHER] | Attempt 3409: Error rate 49.6% (target: 15%) +2025-09-15T14:20:45.235Z | [OTHER] | Attempt 3410: Error rate 43.33% (target: 15%) +2025-09-15T14:20:45.240Z | [OTHER] | Attempt 3411: Error rate 47.67% (target: 15%) +2025-09-15T14:20:45.243Z | [OTHER] | Attempt 3412: Error rate 49.24% (target: 15%) +2025-09-15T14:20:45.247Z | [OTHER] | Attempt 3413: Error rate 54.88% (target: 15%) +2025-09-15T14:20:45.252Z | [OTHER] | Attempt 3414: Error rate 58.16% (target: 15%) +2025-09-15T14:20:45.256Z | [OTHER] | Attempt 3415: Error rate 52.27% (target: 15%) +2025-09-15T14:20:45.260Z | [OTHER] | Attempt 3416: Error rate 51.39% (target: 15%) +2025-09-15T14:20:45.263Z | [OTHER] | Attempt 3417: Error rate 50.42% (target: 15%) +2025-09-15T14:20:45.267Z | [OTHER] | Attempt 3418: Error rate 49.61% (target: 15%) +2025-09-15T14:20:45.271Z | [OTHER] | Attempt 3419: Error rate 52.99% (target: 15%) +2025-09-15T14:20:45.274Z | [OTHER] | Attempt 3420: Error rate 52.33% (target: 15%) +2025-09-15T14:20:45.279Z | [OTHER] | Attempt 3421: Error rate 53.13% (target: 15%) +2025-09-15T14:20:45.283Z | [OTHER] | Attempt 3422: Error rate 57.78% (target: 15%) +2025-09-15T14:20:45.286Z | [OTHER] | Attempt 3423: Error rate 51.59% (target: 15%) +2025-09-15T14:20:45.290Z | [OTHER] | Attempt 3424: Error rate 53.66% (target: 15%) +2025-09-15T14:20:45.294Z | [OTHER] | Attempt 3425: Error rate 54.17% (target: 15%) +2025-09-15T14:20:45.298Z | [OTHER] | Attempt 3426: Error rate 50.76% (target: 15%) +2025-09-15T14:20:45.302Z | [OTHER] | Attempt 3427: Error rate 55.69% (target: 15%) +2025-09-15T14:20:45.305Z | [OTHER] | Attempt 3428: Error rate 47.83% (target: 15%) +2025-09-15T14:20:45.309Z | [OTHER] | Attempt 3429: Error rate 53.03% (target: 15%) +2025-09-15T14:20:45.313Z | [OTHER] | Attempt 3430: Error rate 45.35% (target: 15%) +2025-09-15T14:20:45.317Z | [OTHER] | Attempt 3431: Error rate 60.64% (target: 15%) +2025-09-15T14:20:45.321Z | [OTHER] | Attempt 3432: Error rate 60.08% (target: 15%) +2025-09-15T14:20:45.324Z | [OTHER] | Attempt 3433: Error rate 50.71% (target: 15%) +2025-09-15T14:20:45.328Z | [OTHER] | Attempt 3434: Error rate 47.92% (target: 15%) +2025-09-15T14:20:45.332Z | [OTHER] | Attempt 3435: Error rate 62.22% (target: 15%) +2025-09-15T14:20:45.335Z | [OTHER] | Attempt 3436: Error rate 58.13% (target: 15%) +2025-09-15T14:20:45.339Z | [OTHER] | Attempt 3437: Error rate 55.67% (target: 15%) +2025-09-15T14:20:45.343Z | [OTHER] | Attempt 3438: Error rate 49.64% (target: 15%) +2025-09-15T14:20:45.346Z | [OTHER] | Attempt 3439: Error rate 49.24% (target: 15%) +2025-09-15T14:20:45.350Z | [OTHER] | Attempt 3440: Error rate 54.17% (target: 15%) +2025-09-15T14:20:45.354Z | [OTHER] | Attempt 3441: Error rate 48.94% (target: 15%) +2025-09-15T14:20:45.357Z | [OTHER] | Attempt 3442: Error rate 57.97% (target: 15%) +2025-09-15T14:20:45.361Z | [OTHER] | Attempt 3443: Error rate 48.37% (target: 15%) +2025-09-15T14:20:45.364Z | [OTHER] | Attempt 3444: Error rate 44.57% (target: 15%) +2025-09-15T14:20:45.368Z | [OTHER] | Attempt 3445: Error rate 52.7% (target: 15%) +2025-09-15T14:20:45.372Z | [OTHER] | Attempt 3446: Error rate 47.57% (target: 15%) +2025-09-15T14:20:45.376Z | [OTHER] | Attempt 3447: Error rate 48.45% (target: 15%) +2025-09-15T14:20:45.379Z | [OTHER] | Attempt 3448: Error rate 59% (target: 15%) +2025-09-15T14:20:45.383Z | [OTHER] | Attempt 3449: Error rate 48.89% (target: 15%) +2025-09-15T14:20:45.387Z | [OTHER] | Attempt 3450: Error rate 61.81% (target: 15%) +2025-09-15T14:20:45.390Z | [OTHER] | Attempt 3451: Error rate 49.29% (target: 15%) +2025-09-15T14:20:45.395Z | [OTHER] | Attempt 3452: Error rate 43.56% (target: 15%) +2025-09-15T14:20:45.398Z | [OTHER] | Attempt 3453: Error rate 54.86% (target: 15%) +2025-09-15T14:20:45.402Z | [OTHER] | Attempt 3454: Error rate 54.55% (target: 15%) +2025-09-15T14:20:45.406Z | [OTHER] | Attempt 3455: Error rate 56.88% (target: 15%) +2025-09-15T14:20:45.410Z | [OTHER] | Attempt 3456: Error rate 46.51% (target: 15%) +2025-09-15T14:20:45.414Z | [OTHER] | Attempt 3457: Error rate 52.17% (target: 15%) +2025-09-15T14:20:45.418Z | [OTHER] | Attempt 3458: Error rate 52.9% (target: 15%) +2025-09-15T14:20:45.421Z | [OTHER] | Attempt 3459: Error rate 40.53% (target: 15%) +2025-09-15T14:20:45.425Z | [OTHER] | Attempt 3460: Error rate 56.06% (target: 15%) +2025-09-15T14:20:45.429Z | [OTHER] | Attempt 3461: Error rate 53.49% (target: 15%) +2025-09-15T14:20:45.433Z | [OTHER] | Attempt 3462: Error rate 50.76% (target: 15%) +2025-09-15T14:20:45.436Z | [OTHER] | Attempt 3463: Error rate 49.19% (target: 15%) +2025-09-15T14:20:45.440Z | [OTHER] | Attempt 3464: Error rate 55.81% (target: 15%) +2025-09-15T14:20:45.444Z | [OTHER] | Attempt 3465: Error rate 55.81% (target: 15%) +2025-09-15T14:20:45.448Z | [OTHER] | Attempt 3466: Error rate 60.09% (target: 15%) +2025-09-15T14:20:45.452Z | [OTHER] | Attempt 3467: Error rate 51.14% (target: 15%) +2025-09-15T14:20:45.456Z | [OTHER] | Attempt 3468: Error rate 54.88% (target: 15%) +2025-09-15T14:20:45.460Z | [OTHER] | Attempt 3469: Error rate 47.97% (target: 15%) +2025-09-15T14:20:45.463Z | [OTHER] | Attempt 3470: Error rate 47.62% (target: 15%) +2025-09-15T14:20:45.467Z | [OTHER] | Attempt 3471: Error rate 52.17% (target: 15%) +2025-09-15T14:20:45.471Z | [OTHER] | Attempt 3472: Error rate 49.26% (target: 15%) +2025-09-15T14:20:45.477Z | [OTHER] | Attempt 3473: Error rate 55.78% (target: 15%) +2025-09-15T14:20:45.481Z | [OTHER] | Attempt 3474: Error rate 49.22% (target: 15%) +2025-09-15T14:20:45.485Z | [OTHER] | Attempt 3475: Error rate 46.67% (target: 15%) +2025-09-15T14:20:45.489Z | [OTHER] | Attempt 3476: Error rate 55.68% (target: 15%) +2025-09-15T14:20:45.493Z | [OTHER] | Attempt 3477: Error rate 54.07% (target: 15%) +2025-09-15T14:20:45.497Z | [OTHER] | Attempt 3478: Error rate 60.57% (target: 15%) +2025-09-15T14:20:45.502Z | [OTHER] | Attempt 3479: Error rate 53.19% (target: 15%) +2025-09-15T14:20:45.506Z | [OTHER] | Attempt 3480: Error rate 53.99% (target: 15%) +2025-09-15T14:20:45.509Z | [OTHER] | Attempt 3481: Error rate 58.14% (target: 15%) +2025-09-15T14:20:45.513Z | [OTHER] | Attempt 3482: Error rate 50.34% (target: 15%) +2025-09-15T14:20:45.517Z | [OTHER] | Attempt 3483: Error rate 58.16% (target: 15%) +2025-09-15T14:20:45.521Z | [OTHER] | Attempt 3484: Error rate 53.49% (target: 15%) +2025-09-15T14:20:45.525Z | [OTHER] | Attempt 3485: Error rate 51.59% (target: 15%) +2025-09-15T14:20:45.529Z | [OTHER] | Attempt 3486: Error rate 41.67% (target: 15%) +2025-09-15T14:20:45.533Z | [OTHER] | Attempt 3487: Error rate 48.65% (target: 15%) +2025-09-15T14:20:45.538Z | [OTHER] | Attempt 3488: Error rate 43.7% (target: 15%) +2025-09-15T14:20:45.541Z | [OTHER] | Attempt 3489: Error rate 45.45% (target: 15%) +2025-09-15T14:20:45.545Z | [OTHER] | Attempt 3490: Error rate 47.29% (target: 15%) +2025-09-15T14:20:45.549Z | [OTHER] | Attempt 3491: Error rate 52% (target: 15%) +2025-09-15T14:20:45.553Z | [OTHER] | Attempt 3492: Error rate 51.06% (target: 15%) +2025-09-15T14:20:45.557Z | [OTHER] | Attempt 3493: Error rate 58.5% (target: 15%) +2025-09-15T14:20:45.562Z | [OTHER] | Attempt 3494: Error rate 59.92% (target: 15%) +2025-09-15T14:20:45.566Z | [OTHER] | Attempt 3495: Error rate 47.46% (target: 15%) +2025-09-15T14:20:45.569Z | [OTHER] | Attempt 3496: Error rate 40.58% (target: 15%) +2025-09-15T14:20:45.573Z | [OTHER] | Attempt 3497: Error rate 56.75% (target: 15%) +2025-09-15T14:20:45.577Z | [OTHER] | Attempt 3498: Error rate 51.09% (target: 15%) +2025-09-15T14:20:45.581Z | [OTHER] | Attempt 3499: Error rate 54.81% (target: 15%) +2025-09-15T14:20:45.585Z | [OTHER] | Attempt 3500: Error rate 44.96% (target: 15%) +2025-09-15T14:20:45.589Z | [OTHER] | Attempt 3501: Error rate 43.97% (target: 15%) +2025-09-15T14:20:45.593Z | [OTHER] | Attempt 3502: Error rate 47.92% (target: 15%) +2025-09-15T14:20:45.597Z | [OTHER] | Attempt 3503: Error rate 60.26% (target: 15%) +2025-09-15T14:20:45.601Z | [OTHER] | Attempt 3504: Error rate 48.3% (target: 15%) +2025-09-15T14:20:45.605Z | [OTHER] | Attempt 3505: Error rate 53.62% (target: 15%) +2025-09-15T14:20:45.609Z | [OTHER] | Attempt 3506: Error rate 42.03% (target: 15%) +2025-09-15T14:20:45.613Z | [OTHER] | Attempt 3507: Error rate 54.37% (target: 15%) +2025-09-15T14:20:45.617Z | [OTHER] | Attempt 3508: Error rate 54.5% (target: 15%) +2025-09-15T14:20:45.620Z | [OTHER] | Attempt 3509: Error rate 57.75% (target: 15%) +2025-09-15T14:20:45.624Z | [OTHER] | Attempt 3510: Error rate 55.93% (target: 15%) +2025-09-15T14:20:45.628Z | [OTHER] | Attempt 3511: Error rate 58.51% (target: 15%) +2025-09-15T14:20:45.632Z | [OTHER] | Attempt 3512: Error rate 50.74% (target: 15%) +2025-09-15T14:20:45.635Z | [OTHER] | Attempt 3513: Error rate 51.67% (target: 15%) +2025-09-15T14:20:45.639Z | [OTHER] | Attempt 3514: Error rate 50.69% (target: 15%) +2025-09-15T14:20:45.643Z | [OTHER] | Attempt 3515: Error rate 49.65% (target: 15%) +2025-09-15T14:20:45.647Z | [OTHER] | Attempt 3516: Error rate 47.29% (target: 15%) +2025-09-15T14:20:45.651Z | [OTHER] | Attempt 3517: Error rate 57.36% (target: 15%) +2025-09-15T14:20:45.655Z | [OTHER] | Attempt 3518: Error rate 48.11% (target: 15%) +2025-09-15T14:20:45.659Z | [OTHER] | Attempt 3519: Error rate 50.38% (target: 15%) +2025-09-15T14:20:45.662Z | [OTHER] | Attempt 3520: Error rate 56.52% (target: 15%) +2025-09-15T14:20:45.666Z | [OTHER] | Attempt 3521: Error rate 52.33% (target: 15%) +2025-09-15T14:20:45.671Z | [OTHER] | Attempt 3522: Error rate 58.14% (target: 15%) +2025-09-15T14:20:45.674Z | [OTHER] | Attempt 3523: Error rate 46.74% (target: 15%) +2025-09-15T14:20:45.679Z | [OTHER] | Attempt 3524: Error rate 54.26% (target: 15%) +2025-09-15T14:20:45.683Z | [OTHER] | Attempt 3525: Error rate 45.83% (target: 15%) +2025-09-15T14:20:45.687Z | [OTHER] | Attempt 3526: Error rate 50.74% (target: 15%) +2025-09-15T14:20:45.691Z | [OTHER] | Attempt 3527: Error rate 51.89% (target: 15%) +2025-09-15T14:20:45.695Z | [OTHER] | Attempt 3528: Error rate 50.38% (target: 15%) +2025-09-15T14:20:45.698Z | [OTHER] | Attempt 3529: Error rate 53.03% (target: 15%) +2025-09-15T14:20:45.702Z | [OTHER] | Attempt 3530: Error rate 50% (target: 15%) +2025-09-15T14:20:45.706Z | [OTHER] | Attempt 3531: Error rate 48.52% (target: 15%) +2025-09-15T14:20:45.710Z | [OTHER] | Attempt 3532: Error rate 55.07% (target: 15%) +2025-09-15T14:20:45.713Z | [OTHER] | Attempt 3533: Error rate 53.7% (target: 15%) +2025-09-15T14:20:45.717Z | [OTHER] | Attempt 3534: Error rate 48.15% (target: 15%) +2025-09-15T14:20:45.721Z | [OTHER] | Attempt 3535: Error rate 50% (target: 15%) +2025-09-15T14:20:45.724Z | [OTHER] | Attempt 3536: Error rate 57.04% (target: 15%) +2025-09-15T14:20:45.729Z | [OTHER] | Attempt 3537: Error rate 54.07% (target: 15%) +2025-09-15T14:20:45.732Z | [OTHER] | Attempt 3538: Error rate 58.54% (target: 15%) +2025-09-15T14:20:45.736Z | [OTHER] | Attempt 3539: Error rate 51.67% (target: 15%) +2025-09-15T14:20:45.740Z | [OTHER] | Attempt 3540: Error rate 56.75% (target: 15%) +2025-09-15T14:20:45.744Z | [OTHER] | Attempt 3541: Error rate 49.62% (target: 15%) +2025-09-15T14:20:45.747Z | [OTHER] | Attempt 3542: Error rate 53.66% (target: 15%) +2025-09-15T14:20:45.751Z | [OTHER] | Attempt 3543: Error rate 47.73% (target: 15%) +2025-09-15T14:20:45.755Z | [OTHER] | Attempt 3544: Error rate 45.35% (target: 15%) +2025-09-15T14:20:45.759Z | [OTHER] | Attempt 3545: Error rate 61.79% (target: 15%) +2025-09-15T14:20:45.763Z | [OTHER] | Attempt 3546: Error rate 53.79% (target: 15%) +2025-09-15T14:20:45.767Z | [OTHER] | Attempt 3547: Error rate 60.26% (target: 15%) +2025-09-15T14:20:45.771Z | [OTHER] | Attempt 3548: Error rate 54.86% (target: 15%) +2025-09-15T14:20:45.775Z | [OTHER] | Attempt 3549: Error rate 46.03% (target: 15%) +2025-09-15T14:20:45.779Z | [OTHER] | Attempt 3550: Error rate 54.07% (target: 15%) +2025-09-15T14:20:45.782Z | [OTHER] | Attempt 3551: Error rate 54.37% (target: 15%) +2025-09-15T14:20:45.787Z | [OTHER] | Attempt 3552: Error rate 55.21% (target: 15%) +2025-09-15T14:20:45.790Z | [OTHER] | Attempt 3553: Error rate 60.53% (target: 15%) +2025-09-15T14:20:45.794Z | [OTHER] | Attempt 3554: Error rate 51.22% (target: 15%) +2025-09-15T14:20:45.798Z | [OTHER] | Attempt 3555: Error rate 46.97% (target: 15%) +2025-09-15T14:20:45.801Z | [OTHER] | Attempt 3556: Error rate 52.43% (target: 15%) +2025-09-15T14:20:45.806Z | [OTHER] | Attempt 3557: Error rate 54.07% (target: 15%) +2025-09-15T14:20:45.809Z | [OTHER] | Attempt 3558: Error rate 52.9% (target: 15%) +2025-09-15T14:20:45.813Z | [OTHER] | Attempt 3559: Error rate 51.59% (target: 15%) +2025-09-15T14:20:45.817Z | [OTHER] | Attempt 3560: Error rate 54.5% (target: 15%) +2025-09-15T14:20:45.821Z | [OTHER] | Attempt 3561: Error rate 48.48% (target: 15%) +2025-09-15T14:20:45.825Z | [OTHER] | Attempt 3562: Error rate 54.55% (target: 15%) +2025-09-15T14:20:45.828Z | [OTHER] | Attempt 3563: Error rate 56.82% (target: 15%) +2025-09-15T14:20:45.832Z | [OTHER] | Attempt 3564: Error rate 54.51% (target: 15%) +2025-09-15T14:20:45.836Z | [OTHER] | Attempt 3565: Error rate 62.7% (target: 15%) +2025-09-15T14:20:45.840Z | [OTHER] | Attempt 3566: Error rate 56.3% (target: 15%) +2025-09-15T14:20:45.844Z | [OTHER] | Attempt 3567: Error rate 53.47% (target: 15%) +2025-09-15T14:20:45.848Z | [OTHER] | Attempt 3568: Error rate 59.3% (target: 15%) +2025-09-15T14:20:45.852Z | [OTHER] | Attempt 3569: Error rate 57.04% (target: 15%) +2025-09-15T14:20:45.855Z | [OTHER] | Attempt 3570: Error rate 50.88% (target: 15%) +2025-09-15T14:20:45.859Z | [OTHER] | Attempt 3571: Error rate 40.94% (target: 15%) +2025-09-15T14:20:45.863Z | [OTHER] | Attempt 3572: Error rate 51.14% (target: 15%) +2025-09-15T14:20:45.867Z | [OTHER] | Attempt 3573: Error rate 52.5% (target: 15%) +2025-09-15T14:20:45.870Z | [OTHER] | Attempt 3574: Error rate 55.95% (target: 15%) +2025-09-15T14:20:45.874Z | [OTHER] | Attempt 3575: Error rate 60.48% (target: 15%) +2025-09-15T14:20:45.879Z | [OTHER] | Attempt 3576: Error rate 60.42% (target: 15%) +2025-09-15T14:20:45.883Z | [OTHER] | Attempt 3577: Error rate 52.03% (target: 15%) +2025-09-15T14:20:45.886Z | [OTHER] | Attempt 3578: Error rate 48.48% (target: 15%) +2025-09-15T14:20:45.891Z | [OTHER] | Attempt 3579: Error rate 61.24% (target: 15%) +2025-09-15T14:20:45.894Z | [OTHER] | Attempt 3580: Error rate 51.89% (target: 15%) +2025-09-15T14:20:45.898Z | [OTHER] | Attempt 3581: Error rate 43.16% (target: 15%) +2025-09-15T14:20:45.902Z | [OTHER] | Attempt 3582: Error rate 48.06% (target: 15%) +2025-09-15T14:20:45.905Z | [OTHER] | Attempt 3583: Error rate 54.65% (target: 15%) +2025-09-15T14:20:45.909Z | [OTHER] | Attempt 3584: Error rate 51.04% (target: 15%) +2025-09-15T14:20:45.913Z | [OTHER] | Attempt 3585: Error rate 49.58% (target: 15%) +2025-09-15T14:20:45.917Z | [OTHER] | Attempt 3586: Error rate 48.89% (target: 15%) +2025-09-15T14:20:45.921Z | [OTHER] | Attempt 3587: Error rate 48.45% (target: 15%) +2025-09-15T14:20:45.925Z | [OTHER] | Attempt 3588: Error rate 54.37% (target: 15%) +2025-09-15T14:20:45.929Z | [OTHER] | Attempt 3589: Error rate 51.39% (target: 15%) +2025-09-15T14:20:45.933Z | [OTHER] | Attempt 3590: Error rate 53.74% (target: 15%) +2025-09-15T14:20:45.937Z | [OTHER] | Attempt 3591: Error rate 55.81% (target: 15%) +2025-09-15T14:20:45.941Z | [OTHER] | Attempt 3592: Error rate 50.72% (target: 15%) +2025-09-15T14:20:45.945Z | [OTHER] | Attempt 3593: Error rate 53.88% (target: 15%) +2025-09-15T14:20:45.949Z | [OTHER] | Attempt 3594: Error rate 55.93% (target: 15%) +2025-09-15T14:20:45.953Z | [OTHER] | Attempt 3595: Error rate 51.11% (target: 15%) +2025-09-15T14:20:45.957Z | [OTHER] | Attempt 3596: Error rate 54.44% (target: 15%) +2025-09-15T14:20:45.961Z | [OTHER] | Attempt 3597: Error rate 54.26% (target: 15%) +2025-09-15T14:20:45.965Z | [OTHER] | Attempt 3598: Error rate 53.25% (target: 15%) +2025-09-15T14:20:45.969Z | [OTHER] | Attempt 3599: Error rate 48.45% (target: 15%) +2025-09-15T14:20:45.973Z | [OTHER] | Attempt 3600: Error rate 55.43% (target: 15%) +2025-09-15T14:20:45.977Z | [OTHER] | Attempt 3601: Error rate 58.89% (target: 15%) +2025-09-15T14:20:45.981Z | [OTHER] | Attempt 3602: Error rate 49.62% (target: 15%) +2025-09-15T14:20:45.986Z | [OTHER] | Attempt 3603: Error rate 58.33% (target: 15%) +2025-09-15T14:20:45.988Z | [OTHER] | Attempt 3604: Error rate 56.67% (target: 15%) +2025-09-15T14:20:45.992Z | [OTHER] | Attempt 3605: Error rate 45.83% (target: 15%) +2025-09-15T14:20:45.996Z | [OTHER] | Attempt 3606: Error rate 57.64% (target: 15%) +2025-09-15T14:20:46.000Z | [OTHER] | Attempt 3607: Error rate 56.88% (target: 15%) +2025-09-15T14:20:46.004Z | [OTHER] | Attempt 3608: Error rate 56.59% (target: 15%) +2025-09-15T14:20:46.008Z | [OTHER] | Attempt 3609: Error rate 51.48% (target: 15%) +2025-09-15T14:20:46.012Z | [OTHER] | Attempt 3610: Error rate 56.2% (target: 15%) +2025-09-15T14:20:46.016Z | [OTHER] | Attempt 3611: Error rate 57.61% (target: 15%) +2025-09-15T14:20:46.020Z | [OTHER] | Attempt 3612: Error rate 48.02% (target: 15%) +2025-09-15T14:20:46.024Z | [OTHER] | Attempt 3613: Error rate 60.32% (target: 15%) +2025-09-15T14:20:46.028Z | [OTHER] | Attempt 3614: Error rate 48.15% (target: 15%) +2025-09-15T14:20:46.032Z | [OTHER] | Attempt 3615: Error rate 52.71% (target: 15%) +2025-09-15T14:20:46.036Z | [OTHER] | Attempt 3616: Error rate 48.11% (target: 15%) +2025-09-15T14:20:46.040Z | [OTHER] | Attempt 3617: Error rate 56.98% (target: 15%) +2025-09-15T14:20:46.043Z | [OTHER] | Attempt 3618: Error rate 54.81% (target: 15%) +2025-09-15T14:20:46.048Z | [OTHER] | Attempt 3619: Error rate 54.71% (target: 15%) +2025-09-15T14:20:46.053Z | [OTHER] | Attempt 3620: Error rate 50.83% (target: 15%) +2025-09-15T14:20:46.057Z | [OTHER] | Attempt 3621: Error rate 52.72% (target: 15%) +2025-09-15T14:20:46.061Z | [OTHER] | Attempt 3622: Error rate 52.22% (target: 15%) +2025-09-15T14:20:46.066Z | [OTHER] | Attempt 3623: Error rate 50.39% (target: 15%) +2025-09-15T14:20:46.070Z | [OTHER] | Attempt 3624: Error rate 49.62% (target: 15%) +2025-09-15T14:20:46.074Z | [OTHER] | Attempt 3625: Error rate 51.42% (target: 15%) +2025-09-15T14:20:46.078Z | [OTHER] | Attempt 3626: Error rate 54.44% (target: 15%) +2025-09-15T14:20:46.082Z | [OTHER] | Attempt 3627: Error rate 45.35% (target: 15%) +2025-09-15T14:20:46.086Z | [OTHER] | Attempt 3628: Error rate 42.46% (target: 15%) +2025-09-15T14:20:46.090Z | [OTHER] | Attempt 3629: Error rate 52.96% (target: 15%) +2025-09-15T14:20:46.094Z | [OTHER] | Attempt 3630: Error rate 60.28% (target: 15%) +2025-09-15T14:20:46.098Z | [OTHER] | Attempt 3631: Error rate 60.42% (target: 15%) +2025-09-15T14:20:46.102Z | [OTHER] | Attempt 3632: Error rate 50.79% (target: 15%) +2025-09-15T14:20:46.107Z | [OTHER] | Attempt 3633: Error rate 52.38% (target: 15%) +2025-09-15T14:20:46.111Z | [OTHER] | Attempt 3634: Error rate 60.08% (target: 15%) +2025-09-15T14:20:46.115Z | [OTHER] | Attempt 3635: Error rate 57.92% (target: 15%) +2025-09-15T14:20:46.119Z | [OTHER] | Attempt 3636: Error rate 52.48% (target: 15%) +2025-09-15T14:20:46.123Z | [OTHER] | Attempt 3637: Error rate 52.78% (target: 15%) +2025-09-15T14:20:46.127Z | [OTHER] | Attempt 3638: Error rate 50% (target: 15%) +2025-09-15T14:20:46.131Z | [OTHER] | Attempt 3639: Error rate 56.52% (target: 15%) +2025-09-15T14:20:46.134Z | [OTHER] | Attempt 3640: Error rate 50.85% (target: 15%) +2025-09-15T14:20:46.139Z | [OTHER] | Attempt 3641: Error rate 55.19% (target: 15%) +2025-09-15T14:20:46.143Z | [OTHER] | Attempt 3642: Error rate 48.81% (target: 15%) +2025-09-15T14:20:46.146Z | [OTHER] | Attempt 3643: Error rate 48.52% (target: 15%) +2025-09-15T14:20:46.150Z | [OTHER] | Attempt 3644: Error rate 42.06% (target: 15%) +2025-09-15T14:20:46.155Z | [OTHER] | Attempt 3645: Error rate 48.72% (target: 15%) +2025-09-15T14:20:46.158Z | [OTHER] | Attempt 3646: Error rate 51.63% (target: 15%) +2025-09-15T14:20:46.162Z | [OTHER] | Attempt 3647: Error rate 53.79% (target: 15%) +2025-09-15T14:20:46.166Z | [OTHER] | Attempt 3648: Error rate 57.69% (target: 15%) +2025-09-15T14:20:46.170Z | [OTHER] | Attempt 3649: Error rate 48.52% (target: 15%) +2025-09-15T14:20:46.174Z | [OTHER] | Attempt 3650: Error rate 55.3% (target: 15%) +2025-09-15T14:20:46.178Z | [OTHER] | Attempt 3651: Error rate 40.7% (target: 15%) +2025-09-15T14:20:46.182Z | [OTHER] | Attempt 3652: Error rate 61.11% (target: 15%) +2025-09-15T14:20:46.186Z | [OTHER] | Attempt 3653: Error rate 49.63% (target: 15%) +2025-09-15T14:20:46.190Z | [OTHER] | Attempt 3654: Error rate 51.55% (target: 15%) +2025-09-15T14:20:46.194Z | [OTHER] | Attempt 3655: Error rate 57.75% (target: 15%) +2025-09-15T14:20:46.198Z | [OTHER] | Attempt 3656: Error rate 56.44% (target: 15%) +2025-09-15T14:20:46.202Z | [OTHER] | Attempt 3657: Error rate 51.09% (target: 15%) +2025-09-15T14:20:46.206Z | [OTHER] | Attempt 3658: Error rate 49.31% (target: 15%) +2025-09-15T14:20:46.210Z | [OTHER] | Attempt 3659: Error rate 53.7% (target: 15%) +2025-09-15T14:20:46.215Z | [OTHER] | Attempt 3660: Error rate 44.79% (target: 15%) +2025-09-15T14:20:46.218Z | [OTHER] | Attempt 3661: Error rate 51.11% (target: 15%) +2025-09-15T14:20:46.222Z | [OTHER] | Attempt 3662: Error rate 50.79% (target: 15%) +2025-09-15T14:20:46.227Z | [OTHER] | Attempt 3663: Error rate 51.89% (target: 15%) +2025-09-15T14:20:46.231Z | [OTHER] | Attempt 3664: Error rate 48.41% (target: 15%) +2025-09-15T14:20:46.234Z | [OTHER] | Attempt 3665: Error rate 51.48% (target: 15%) +2025-09-15T14:20:46.238Z | [OTHER] | Attempt 3666: Error rate 53.33% (target: 15%) +2025-09-15T14:20:46.242Z | [OTHER] | Attempt 3667: Error rate 55.67% (target: 15%) +2025-09-15T14:20:46.246Z | [OTHER] | Attempt 3668: Error rate 61.51% (target: 15%) +2025-09-15T14:20:46.250Z | [OTHER] | Attempt 3669: Error rate 56.6% (target: 15%) +2025-09-15T14:20:46.254Z | [OTHER] | Attempt 3670: Error rate 51.89% (target: 15%) +2025-09-15T14:20:46.259Z | [OTHER] | Attempt 3671: Error rate 53.26% (target: 15%) +2025-09-15T14:20:46.263Z | [OTHER] | Attempt 3672: Error rate 48.37% (target: 15%) +2025-09-15T14:20:46.267Z | [OTHER] | Attempt 3673: Error rate 45.39% (target: 15%) +2025-09-15T14:20:46.271Z | [OTHER] | Attempt 3674: Error rate 50.72% (target: 15%) +2025-09-15T14:20:46.276Z | [OTHER] | Attempt 3675: Error rate 60.54% (target: 15%) +2025-09-15T14:20:46.279Z | [OTHER] | Attempt 3676: Error rate 51.98% (target: 15%) +2025-09-15T14:20:46.284Z | [OTHER] | Attempt 3677: Error rate 51.59% (target: 15%) +2025-09-15T14:20:46.288Z | [OTHER] | Attempt 3678: Error rate 39.01% (target: 15%) +2025-09-15T14:20:46.292Z | [OTHER] | Attempt 3679: Error rate 48.48% (target: 15%) +2025-09-15T14:20:46.296Z | [OTHER] | Attempt 3680: Error rate 57.8% (target: 15%) +2025-09-15T14:20:46.300Z | [OTHER] | Attempt 3681: Error rate 47.15% (target: 15%) +2025-09-15T14:20:46.304Z | [OTHER] | Attempt 3682: Error rate 58.15% (target: 15%) +2025-09-15T14:20:46.308Z | [OTHER] | Attempt 3683: Error rate 55.19% (target: 15%) +2025-09-15T14:20:46.312Z | [OTHER] | Attempt 3684: Error rate 54.39% (target: 15%) +2025-09-15T14:20:46.316Z | [OTHER] | Attempt 3685: Error rate 58.16% (target: 15%) +2025-09-15T14:20:46.320Z | [OTHER] | Attempt 3686: Error rate 52.9% (target: 15%) +2025-09-15T14:20:46.324Z | [OTHER] | Attempt 3687: Error rate 53.88% (target: 15%) +2025-09-15T14:20:46.328Z | [OTHER] | Attempt 3688: Error rate 47.35% (target: 15%) +2025-09-15T14:20:46.332Z | [OTHER] | Attempt 3689: Error rate 56.25% (target: 15%) +2025-09-15T14:20:46.336Z | [OTHER] | Attempt 3690: Error rate 55.95% (target: 15%) +2025-09-15T14:20:46.340Z | [OTHER] | Attempt 3691: Error rate 51.85% (target: 15%) +2025-09-15T14:20:46.344Z | [OTHER] | Attempt 3692: Error rate 57.94% (target: 15%) +2025-09-15T14:20:46.348Z | [OTHER] | Attempt 3693: Error rate 49.26% (target: 15%) +2025-09-15T14:20:46.352Z | [OTHER] | Attempt 3694: Error rate 49.65% (target: 15%) +2025-09-15T14:20:46.356Z | [OTHER] | Attempt 3695: Error rate 55.81% (target: 15%) +2025-09-15T14:20:46.361Z | [OTHER] | Attempt 3696: Error rate 51.63% (target: 15%) +2025-09-15T14:20:46.365Z | [OTHER] | Attempt 3697: Error rate 60.08% (target: 15%) +2025-09-15T14:20:46.369Z | [OTHER] | Attempt 3698: Error rate 43.9% (target: 15%) +2025-09-15T14:20:46.373Z | [OTHER] | Attempt 3699: Error rate 53.99% (target: 15%) +2025-09-15T14:20:46.377Z | [OTHER] | Attempt 3700: Error rate 51.81% (target: 15%) +2025-09-15T14:20:46.381Z | [OTHER] | Attempt 3701: Error rate 50.74% (target: 15%) +2025-09-15T14:20:46.385Z | [OTHER] | Attempt 3702: Error rate 53.79% (target: 15%) +2025-09-15T14:20:46.389Z | [OTHER] | Attempt 3703: Error rate 50% (target: 15%) +2025-09-15T14:20:46.393Z | [OTHER] | Attempt 3704: Error rate 51.81% (target: 15%) +2025-09-15T14:20:46.399Z | [OTHER] | Attempt 3705: Error rate 52.27% (target: 15%) +2025-09-15T14:20:46.402Z | [OTHER] | Attempt 3706: Error rate 47.83% (target: 15%) +2025-09-15T14:20:46.406Z | [OTHER] | Attempt 3707: Error rate 53.17% (target: 15%) +2025-09-15T14:20:46.411Z | [OTHER] | Attempt 3708: Error rate 42.01% (target: 15%) +2025-09-15T14:20:46.415Z | [OTHER] | Attempt 3709: Error rate 54.65% (target: 15%) +2025-09-15T14:20:46.418Z | [OTHER] | Attempt 3710: Error rate 52.99% (target: 15%) +2025-09-15T14:20:46.422Z | [OTHER] | Attempt 3711: Error rate 64.07% (target: 15%) +2025-09-15T14:20:46.427Z | [OTHER] | Attempt 3712: Error rate 51.55% (target: 15%) +2025-09-15T14:20:46.430Z | [OTHER] | Attempt 3713: Error rate 56.59% (target: 15%) +2025-09-15T14:20:46.435Z | [OTHER] | Attempt 3714: Error rate 49.24% (target: 15%) +2025-09-15T14:20:46.439Z | [OTHER] | Attempt 3715: Error rate 52.38% (target: 15%) +2025-09-15T14:20:46.442Z | [OTHER] | Attempt 3716: Error rate 58.14% (target: 15%) +2025-09-15T14:20:46.446Z | [OTHER] | Attempt 3717: Error rate 60.42% (target: 15%) +2025-09-15T14:20:46.450Z | [OTHER] | Attempt 3718: Error rate 48.48% (target: 15%) +2025-09-15T14:20:46.454Z | [OTHER] | Attempt 3719: Error rate 54.5% (target: 15%) +2025-09-15T14:20:46.458Z | [OTHER] | Attempt 3720: Error rate 53.66% (target: 15%) +2025-09-15T14:20:46.462Z | [OTHER] | Attempt 3721: Error rate 53.82% (target: 15%) +2025-09-15T14:20:46.467Z | [OTHER] | Attempt 3722: Error rate 52.22% (target: 15%) +2025-09-15T14:20:46.471Z | [OTHER] | Attempt 3723: Error rate 43.41% (target: 15%) +2025-09-15T14:20:46.475Z | [OTHER] | Attempt 3724: Error rate 54.07% (target: 15%) +2025-09-15T14:20:46.479Z | [OTHER] | Attempt 3725: Error rate 41.67% (target: 15%) +2025-09-15T14:20:46.484Z | [OTHER] | Attempt 3726: Error rate 52.78% (target: 15%) +2025-09-15T14:20:46.488Z | [OTHER] | Attempt 3727: Error rate 50% (target: 15%) +2025-09-15T14:20:46.492Z | [OTHER] | Attempt 3728: Error rate 51.59% (target: 15%) +2025-09-15T14:20:46.496Z | [OTHER] | Attempt 3729: Error rate 50.4% (target: 15%) +2025-09-15T14:20:46.500Z | [OTHER] | Attempt 3730: Error rate 49.15% (target: 15%) +2025-09-15T14:20:46.504Z | [OTHER] | Attempt 3731: Error rate 51.81% (target: 15%) +2025-09-15T14:20:46.508Z | [OTHER] | Attempt 3732: Error rate 42.96% (target: 15%) +2025-09-15T14:20:46.512Z | [OTHER] | Attempt 3733: Error rate 52.08% (target: 15%) +2025-09-15T14:20:46.516Z | [OTHER] | Attempt 3734: Error rate 51.16% (target: 15%) +2025-09-15T14:20:46.520Z | [OTHER] | Attempt 3735: Error rate 55.56% (target: 15%) +2025-09-15T14:20:46.524Z | [OTHER] | Attempt 3736: Error rate 56.82% (target: 15%) +2025-09-15T14:20:46.528Z | [OTHER] | Attempt 3737: Error rate 45.56% (target: 15%) +2025-09-15T14:20:46.532Z | [OTHER] | Attempt 3738: Error rate 53.75% (target: 15%) +2025-09-15T14:20:46.536Z | [OTHER] | Attempt 3739: Error rate 51.94% (target: 15%) +2025-09-15T14:20:46.540Z | [OTHER] | Attempt 3740: Error rate 54.17% (target: 15%) +2025-09-15T14:20:46.544Z | [OTHER] | Attempt 3741: Error rate 50% (target: 15%) +2025-09-15T14:20:46.549Z | [OTHER] | Attempt 3742: Error rate 53.49% (target: 15%) +2025-09-15T14:20:46.553Z | [OTHER] | Attempt 3743: Error rate 41.67% (target: 15%) +2025-09-15T14:20:46.557Z | [OTHER] | Attempt 3744: Error rate 51.63% (target: 15%) +2025-09-15T14:20:46.561Z | [OTHER] | Attempt 3745: Error rate 55.93% (target: 15%) +2025-09-15T14:20:46.565Z | [OTHER] | Attempt 3746: Error rate 50.74% (target: 15%) +2025-09-15T14:20:46.570Z | [OTHER] | Attempt 3747: Error rate 48.84% (target: 15%) +2025-09-15T14:20:46.574Z | [OTHER] | Attempt 3748: Error rate 60.47% (target: 15%) +2025-09-15T14:20:46.578Z | [OTHER] | Attempt 3749: Error rate 55.81% (target: 15%) +2025-09-15T14:20:46.582Z | [OTHER] | Attempt 3750: Error rate 54.17% (target: 15%) +2025-09-15T14:20:46.586Z | [OTHER] | Attempt 3751: Error rate 58.33% (target: 15%) +2025-09-15T14:20:46.590Z | [OTHER] | Attempt 3752: Error rate 52.65% (target: 15%) +2025-09-15T14:20:46.594Z | [OTHER] | Attempt 3753: Error rate 50% (target: 15%) +2025-09-15T14:20:46.598Z | [OTHER] | Attempt 3754: Error rate 52.85% (target: 15%) +2025-09-15T14:20:46.602Z | [OTHER] | Attempt 3755: Error rate 48.86% (target: 15%) +2025-09-15T14:20:46.606Z | [OTHER] | Attempt 3756: Error rate 52.78% (target: 15%) +2025-09-15T14:20:46.611Z | [OTHER] | Attempt 3757: Error rate 47.92% (target: 15%) +2025-09-15T14:20:46.615Z | [OTHER] | Attempt 3758: Error rate 55.16% (target: 15%) +2025-09-15T14:20:46.619Z | [OTHER] | Attempt 3759: Error rate 50% (target: 15%) +2025-09-15T14:20:46.622Z | [OTHER] | Attempt 3760: Error rate 57.2% (target: 15%) +2025-09-15T14:20:46.626Z | [OTHER] | Attempt 3761: Error rate 52.71% (target: 15%) +2025-09-15T14:20:46.630Z | [OTHER] | Attempt 3762: Error rate 53.62% (target: 15%) +2025-09-15T14:20:46.635Z | [OTHER] | Attempt 3763: Error rate 48.61% (target: 15%) +2025-09-15T14:20:46.639Z | [OTHER] | Attempt 3764: Error rate 57.92% (target: 15%) +2025-09-15T14:20:46.643Z | [OTHER] | Attempt 3765: Error rate 64.39% (target: 15%) +2025-09-15T14:20:46.647Z | [OTHER] | Attempt 3766: Error rate 54.51% (target: 15%) +2025-09-15T14:20:46.651Z | [OTHER] | Attempt 3767: Error rate 48.89% (target: 15%) +2025-09-15T14:20:46.655Z | [OTHER] | Attempt 3768: Error rate 54.42% (target: 15%) +2025-09-15T14:20:46.659Z | [OTHER] | Attempt 3769: Error rate 63.82% (target: 15%) +2025-09-15T14:20:46.663Z | [OTHER] | Attempt 3770: Error rate 47.78% (target: 15%) +2025-09-15T14:20:46.667Z | [OTHER] | Attempt 3771: Error rate 51.14% (target: 15%) +2025-09-15T14:20:46.670Z | [OTHER] | Attempt 3772: Error rate 44.07% (target: 15%) +2025-09-15T14:20:46.674Z | [OTHER] | Attempt 3773: Error rate 54.17% (target: 15%) +2025-09-15T14:20:46.678Z | [OTHER] | Attempt 3774: Error rate 53.7% (target: 15%) +2025-09-15T14:20:46.683Z | [OTHER] | Attempt 3775: Error rate 50.98% (target: 15%) +2025-09-15T14:20:46.687Z | [OTHER] | Attempt 3776: Error rate 56.67% (target: 15%) +2025-09-15T14:20:46.691Z | [OTHER] | Attempt 3777: Error rate 51.19% (target: 15%) +2025-09-15T14:20:46.695Z | [OTHER] | Attempt 3778: Error rate 62.32% (target: 15%) +2025-09-15T14:20:46.699Z | [OTHER] | Attempt 3779: Error rate 51.14% (target: 15%) +2025-09-15T14:20:46.703Z | [OTHER] | Attempt 3780: Error rate 54.96% (target: 15%) +2025-09-15T14:20:46.707Z | [OTHER] | Attempt 3781: Error rate 48.55% (target: 15%) +2025-09-15T14:20:46.711Z | [OTHER] | Attempt 3782: Error rate 53.1% (target: 15%) +2025-09-15T14:20:46.715Z | [OTHER] | Attempt 3783: Error rate 51.14% (target: 15%) +2025-09-15T14:20:46.719Z | [OTHER] | Attempt 3784: Error rate 49.32% (target: 15%) +2025-09-15T14:20:46.723Z | [OTHER] | Attempt 3785: Error rate 40.42% (target: 15%) +2025-09-15T14:20:46.727Z | [OTHER] | Attempt 3786: Error rate 48.78% (target: 15%) +2025-09-15T14:20:46.731Z | [OTHER] | Attempt 3787: Error rate 59.13% (target: 15%) +2025-09-15T14:20:46.737Z | [OTHER] | Attempt 3788: Error rate 51.22% (target: 15%) +2025-09-15T14:20:46.740Z | [OTHER] | Attempt 3789: Error rate 48.48% (target: 15%) +2025-09-15T14:20:46.744Z | [OTHER] | Attempt 3790: Error rate 59.38% (target: 15%) +2025-09-15T14:20:46.748Z | [OTHER] | Attempt 3791: Error rate 53.33% (target: 15%) +2025-09-15T14:20:46.752Z | [OTHER] | Attempt 3792: Error rate 51.55% (target: 15%) +2025-09-15T14:20:46.756Z | [OTHER] | Attempt 3793: Error rate 51.89% (target: 15%) +2025-09-15T14:20:46.760Z | [OTHER] | Attempt 3794: Error rate 45.74% (target: 15%) +2025-09-15T14:20:46.765Z | [OTHER] | Attempt 3795: Error rate 51.48% (target: 15%) +2025-09-15T14:20:46.769Z | [OTHER] | Attempt 3796: Error rate 48.91% (target: 15%) +2025-09-15T14:20:46.773Z | [OTHER] | Attempt 3797: Error rate 42.39% (target: 15%) +2025-09-15T14:20:46.777Z | [OTHER] | Attempt 3798: Error rate 51.14% (target: 15%) +2025-09-15T14:20:46.781Z | [OTHER] | Attempt 3799: Error rate 49.62% (target: 15%) +2025-09-15T14:20:46.785Z | [OTHER] | Attempt 3800: Error rate 56.2% (target: 15%) +2025-09-15T14:20:46.789Z | [OTHER] | Attempt 3801: Error rate 55.83% (target: 15%) +2025-09-15T14:20:46.793Z | [OTHER] | Attempt 3802: Error rate 51.85% (target: 15%) +2025-09-15T14:20:46.797Z | [OTHER] | Attempt 3803: Error rate 41.67% (target: 15%) +2025-09-15T14:20:46.801Z | [OTHER] | Attempt 3804: Error rate 55.3% (target: 15%) +2025-09-15T14:20:46.805Z | [OTHER] | Attempt 3805: Error rate 56.59% (target: 15%) +2025-09-15T14:20:46.809Z | [OTHER] | Attempt 3806: Error rate 56.75% (target: 15%) +2025-09-15T14:20:46.813Z | [OTHER] | Attempt 3807: Error rate 50.83% (target: 15%) +2025-09-15T14:20:46.817Z | [OTHER] | Attempt 3808: Error rate 51.02% (target: 15%) +2025-09-15T14:20:46.821Z | [OTHER] | Attempt 3809: Error rate 47.62% (target: 15%) +2025-09-15T14:20:46.825Z | [OTHER] | Attempt 3810: Error rate 62.12% (target: 15%) +2025-09-15T14:20:46.829Z | [OTHER] | Attempt 3811: Error rate 52.38% (target: 15%) +2025-09-15T14:20:46.833Z | [OTHER] | Attempt 3812: Error rate 46.58% (target: 15%) +2025-09-15T14:20:46.837Z | [OTHER] | Attempt 3813: Error rate 45.18% (target: 15%) +2025-09-15T14:20:46.842Z | [OTHER] | Attempt 3814: Error rate 53.55% (target: 15%) +2025-09-15T14:20:46.846Z | [OTHER] | Attempt 3815: Error rate 53.26% (target: 15%) +2025-09-15T14:20:46.850Z | [OTHER] | Attempt 3816: Error rate 47.73% (target: 15%) +2025-09-15T14:20:46.854Z | [OTHER] | Attempt 3817: Error rate 58.77% (target: 15%) +2025-09-15T14:20:46.858Z | [OTHER] | Attempt 3818: Error rate 49.28% (target: 15%) +2025-09-15T14:20:46.862Z | [OTHER] | Attempt 3819: Error rate 57.45% (target: 15%) +2025-09-15T14:20:46.866Z | [OTHER] | Attempt 3820: Error rate 50% (target: 15%) +2025-09-15T14:20:46.870Z | [OTHER] | Attempt 3821: Error rate 39.32% (target: 15%) +2025-09-15T14:20:46.874Z | [OTHER] | Attempt 3822: Error rate 49.59% (target: 15%) +2025-09-15T14:20:46.878Z | [OTHER] | Attempt 3823: Error rate 54.92% (target: 15%) +2025-09-15T14:20:46.883Z | [OTHER] | Attempt 3824: Error rate 50% (target: 15%) +2025-09-15T14:20:46.887Z | [OTHER] | Attempt 3825: Error rate 55.81% (target: 15%) +2025-09-15T14:20:46.891Z | [OTHER] | Attempt 3826: Error rate 55.3% (target: 15%) +2025-09-15T14:20:46.894Z | [OTHER] | Attempt 3827: Error rate 44.44% (target: 15%) +2025-09-15T14:20:46.898Z | [OTHER] | Attempt 3828: Error rate 53.26% (target: 15%) +2025-09-15T14:20:46.903Z | [OTHER] | Attempt 3829: Error rate 54.35% (target: 15%) +2025-09-15T14:20:46.908Z | [OTHER] | Attempt 3830: Error rate 50.71% (target: 15%) +2025-09-15T14:20:46.911Z | [OTHER] | Attempt 3831: Error rate 50% (target: 15%) +2025-09-15T14:20:46.915Z | [OTHER] | Attempt 3832: Error rate 52.54% (target: 15%) +2025-09-15T14:20:46.920Z | [OTHER] | Attempt 3833: Error rate 50.76% (target: 15%) +2025-09-15T14:20:46.924Z | [OTHER] | Attempt 3834: Error rate 51.25% (target: 15%) +2025-09-15T14:20:46.928Z | [OTHER] | Attempt 3835: Error rate 51.39% (target: 15%) +2025-09-15T14:20:46.933Z | [OTHER] | Attempt 3836: Error rate 43.33% (target: 15%) +2025-09-15T14:20:46.938Z | [OTHER] | Attempt 3837: Error rate 53.42% (target: 15%) +2025-09-15T14:20:46.942Z | [OTHER] | Attempt 3838: Error rate 57.95% (target: 15%) +2025-09-15T14:20:46.946Z | [OTHER] | Attempt 3839: Error rate 53.33% (target: 15%) +2025-09-15T14:20:46.951Z | [OTHER] | Attempt 3840: Error rate 54.26% (target: 15%) +2025-09-15T14:20:46.954Z | [OTHER] | Attempt 3841: Error rate 51.48% (target: 15%) +2025-09-15T14:20:46.959Z | [OTHER] | Attempt 3842: Error rate 56.88% (target: 15%) +2025-09-15T14:20:46.963Z | [OTHER] | Attempt 3843: Error rate 46.74% (target: 15%) +2025-09-15T14:20:46.967Z | [OTHER] | Attempt 3844: Error rate 57.2% (target: 15%) +2025-09-15T14:20:46.971Z | [OTHER] | Attempt 3845: Error rate 50.78% (target: 15%) +2025-09-15T14:20:46.975Z | [OTHER] | Attempt 3846: Error rate 54.07% (target: 15%) +2025-09-15T14:20:46.980Z | [OTHER] | Attempt 3847: Error rate 62.68% (target: 15%) +2025-09-15T14:20:46.984Z | [OTHER] | Attempt 3848: Error rate 55.3% (target: 15%) +2025-09-15T14:20:46.988Z | [OTHER] | Attempt 3849: Error rate 55.43% (target: 15%) +2025-09-15T14:20:46.992Z | [OTHER] | Attempt 3850: Error rate 45.39% (target: 15%) +2025-09-15T14:20:46.996Z | [OTHER] | Attempt 3851: Error rate 51.22% (target: 15%) +2025-09-15T14:20:47.000Z | [OTHER] | Attempt 3852: Error rate 58.33% (target: 15%) +2025-09-15T14:20:47.005Z | [OTHER] | Attempt 3853: Error rate 59.09% (target: 15%) +2025-09-15T14:20:47.010Z | [OTHER] | Attempt 3854: Error rate 48.15% (target: 15%) +2025-09-15T14:20:47.014Z | [OTHER] | Attempt 3855: Error rate 44% (target: 15%) +2025-09-15T14:20:47.018Z | [OTHER] | Attempt 3856: Error rate 53.99% (target: 15%) +2025-09-15T14:20:47.022Z | [OTHER] | Attempt 3857: Error rate 51.45% (target: 15%) +2025-09-15T14:20:47.026Z | [OTHER] | Attempt 3858: Error rate 53.07% (target: 15%) +2025-09-15T14:20:47.030Z | [OTHER] | Attempt 3859: Error rate 51.14% (target: 15%) +2025-09-15T14:20:47.034Z | [OTHER] | Attempt 3860: Error rate 50.35% (target: 15%) +2025-09-15T14:20:47.039Z | [OTHER] | Attempt 3861: Error rate 48.23% (target: 15%) +2025-09-15T14:20:47.043Z | [OTHER] | Attempt 3862: Error rate 50.83% (target: 15%) +2025-09-15T14:20:47.047Z | [OTHER] | Attempt 3863: Error rate 58.7% (target: 15%) +2025-09-15T14:20:47.051Z | [OTHER] | Attempt 3864: Error rate 57.67% (target: 15%) +2025-09-15T14:20:47.055Z | [OTHER] | Attempt 3865: Error rate 53.1% (target: 15%) +2025-09-15T14:20:47.059Z | [OTHER] | Attempt 3866: Error rate 44.84% (target: 15%) +2025-09-15T14:20:47.063Z | [OTHER] | Attempt 3867: Error rate 51.09% (target: 15%) +2025-09-15T14:20:47.067Z | [OTHER] | Attempt 3868: Error rate 55.56% (target: 15%) +2025-09-15T14:20:47.071Z | [OTHER] | Attempt 3869: Error rate 43.33% (target: 15%) +2025-09-15T14:20:47.075Z | [OTHER] | Attempt 3870: Error rate 52.56% (target: 15%) +2025-09-15T14:20:47.079Z | [OTHER] | Attempt 3871: Error rate 54.44% (target: 15%) +2025-09-15T14:20:47.084Z | [OTHER] | Attempt 3872: Error rate 58.55% (target: 15%) +2025-09-15T14:20:47.087Z | [OTHER] | Attempt 3873: Error rate 47.04% (target: 15%) +2025-09-15T14:20:47.091Z | [OTHER] | Attempt 3874: Error rate 53.62% (target: 15%) +2025-09-15T14:20:47.095Z | [OTHER] | Attempt 3875: Error rate 45.74% (target: 15%) +2025-09-15T14:20:47.100Z | [OTHER] | Attempt 3876: Error rate 45.83% (target: 15%) +2025-09-15T14:20:47.104Z | [OTHER] | Attempt 3877: Error rate 47.29% (target: 15%) +2025-09-15T14:20:47.108Z | [OTHER] | Attempt 3878: Error rate 55.13% (target: 15%) +2025-09-15T14:20:47.112Z | [OTHER] | Attempt 3879: Error rate 43.12% (target: 15%) +2025-09-15T14:20:47.116Z | [OTHER] | Attempt 3880: Error rate 48.61% (target: 15%) +2025-09-15T14:20:47.120Z | [OTHER] | Attempt 3881: Error rate 50.69% (target: 15%) +2025-09-15T14:20:47.124Z | [OTHER] | Attempt 3882: Error rate 52.78% (target: 15%) +2025-09-15T14:20:47.128Z | [OTHER] | Attempt 3883: Error rate 58.33% (target: 15%) +2025-09-15T14:20:47.133Z | [OTHER] | Attempt 3884: Error rate 52.08% (target: 15%) +2025-09-15T14:20:47.137Z | [OTHER] | Attempt 3885: Error rate 53.66% (target: 15%) +2025-09-15T14:20:47.141Z | [OTHER] | Attempt 3886: Error rate 53.25% (target: 15%) +2025-09-15T14:20:47.145Z | [OTHER] | Attempt 3887: Error rate 53.55% (target: 15%) +2025-09-15T14:20:47.149Z | [OTHER] | Attempt 3888: Error rate 46.25% (target: 15%) +2025-09-15T14:20:47.154Z | [OTHER] | Attempt 3889: Error rate 48.11% (target: 15%) +2025-09-15T14:20:47.158Z | [OTHER] | Attempt 3890: Error rate 47.41% (target: 15%) +2025-09-15T14:20:47.162Z | [OTHER] | Attempt 3891: Error rate 52.27% (target: 15%) +2025-09-15T14:20:47.166Z | [OTHER] | Attempt 3892: Error rate 56.88% (target: 15%) +2025-09-15T14:20:47.170Z | [OTHER] | Attempt 3893: Error rate 51.33% (target: 15%) +2025-09-15T14:20:47.176Z | [OTHER] | Attempt 3894: Error rate 53.47% (target: 15%) +2025-09-15T14:20:47.180Z | [OTHER] | Attempt 3895: Error rate 54.47% (target: 15%) +2025-09-15T14:20:47.185Z | [OTHER] | Attempt 3896: Error rate 55.68% (target: 15%) +2025-09-15T14:20:47.189Z | [OTHER] | Attempt 3897: Error rate 52.17% (target: 15%) +2025-09-15T14:20:47.194Z | [OTHER] | Attempt 3898: Error rate 55.81% (target: 15%) +2025-09-15T14:20:47.198Z | [OTHER] | Attempt 3899: Error rate 54.17% (target: 15%) +2025-09-15T14:20:47.202Z | [OTHER] | Attempt 3900: Error rate 54.17% (target: 15%) +2025-09-15T14:20:47.206Z | [OTHER] | Attempt 3901: Error rate 58.52% (target: 15%) +2025-09-15T14:20:47.211Z | [OTHER] | Attempt 3902: Error rate 53.62% (target: 15%) +2025-09-15T14:20:47.215Z | [OTHER] | Attempt 3903: Error rate 54.26% (target: 15%) +2025-09-15T14:20:47.219Z | [OTHER] | Attempt 3904: Error rate 57.92% (target: 15%) +2025-09-15T14:20:47.224Z | [OTHER] | Attempt 3905: Error rate 54.17% (target: 15%) +2025-09-15T14:20:47.228Z | [OTHER] | Attempt 3906: Error rate 51.94% (target: 15%) +2025-09-15T14:20:47.233Z | [OTHER] | Attempt 3907: Error rate 53.17% (target: 15%) +2025-09-15T14:20:47.237Z | [OTHER] | Attempt 3908: Error rate 45.1% (target: 15%) +2025-09-15T14:20:47.241Z | [OTHER] | Attempt 3909: Error rate 53.57% (target: 15%) +2025-09-15T14:20:47.246Z | [OTHER] | Attempt 3910: Error rate 54.76% (target: 15%) +2025-09-15T14:20:47.250Z | [OTHER] | Attempt 3911: Error rate 48.23% (target: 15%) +2025-09-15T14:20:47.254Z | [OTHER] | Attempt 3912: Error rate 47.04% (target: 15%) +2025-09-15T14:20:47.258Z | [OTHER] | Attempt 3913: Error rate 55.69% (target: 15%) +2025-09-15T14:20:47.263Z | [OTHER] | Attempt 3914: Error rate 66.67% (target: 15%) +2025-09-15T14:20:47.267Z | [OTHER] | Attempt 3915: Error rate 56.31% (target: 15%) +2025-09-15T14:20:47.271Z | [OTHER] | Attempt 3916: Error rate 50.37% (target: 15%) +2025-09-15T14:20:47.275Z | [OTHER] | Attempt 3917: Error rate 56.06% (target: 15%) +2025-09-15T14:20:47.280Z | [OTHER] | Attempt 3918: Error rate 52.71% (target: 15%) +2025-09-15T14:20:47.284Z | [OTHER] | Attempt 3919: Error rate 47.62% (target: 15%) +2025-09-15T14:20:47.288Z | [OTHER] | Attempt 3920: Error rate 52.84% (target: 15%) +2025-09-15T14:20:47.292Z | [OTHER] | Attempt 3921: Error rate 45.04% (target: 15%) +2025-09-15T14:20:47.297Z | [OTHER] | Attempt 3922: Error rate 56.25% (target: 15%) +2025-09-15T14:20:47.302Z | [OTHER] | Attempt 3923: Error rate 47.73% (target: 15%) +2025-09-15T14:20:47.306Z | [OTHER] | Attempt 3924: Error rate 56.06% (target: 15%) +2025-09-15T14:20:47.311Z | [OTHER] | Attempt 3925: Error rate 52.22% (target: 15%) +2025-09-15T14:20:47.315Z | [OTHER] | Attempt 3926: Error rate 53.88% (target: 15%) +2025-09-15T14:20:47.320Z | [OTHER] | Attempt 3927: Error rate 54.37% (target: 15%) +2025-09-15T14:20:47.324Z | [OTHER] | Attempt 3928: Error rate 45.29% (target: 15%) +2025-09-15T14:20:47.329Z | [OTHER] | Attempt 3929: Error rate 45.08% (target: 15%) +2025-09-15T14:20:47.333Z | [OTHER] | Attempt 3930: Error rate 57.54% (target: 15%) +2025-09-15T14:20:47.338Z | [OTHER] | Attempt 3931: Error rate 50.36% (target: 15%) +2025-09-15T14:20:47.343Z | [OTHER] | Attempt 3932: Error rate 54.55% (target: 15%) +2025-09-15T14:20:47.348Z | [OTHER] | Attempt 3933: Error rate 52.96% (target: 15%) +2025-09-15T14:20:47.352Z | [OTHER] | Attempt 3934: Error rate 49.62% (target: 15%) +2025-09-15T14:20:47.357Z | [OTHER] | Attempt 3935: Error rate 47.86% (target: 15%) +2025-09-15T14:20:47.363Z | [OTHER] | Attempt 3936: Error rate 50.76% (target: 15%) +2025-09-15T14:20:47.367Z | [OTHER] | Attempt 3937: Error rate 56.59% (target: 15%) +2025-09-15T14:20:47.373Z | [OTHER] | Attempt 3938: Error rate 47.87% (target: 15%) +2025-09-15T14:20:47.378Z | [OTHER] | Attempt 3939: Error rate 52.85% (target: 15%) +2025-09-15T14:20:47.383Z | [OTHER] | Attempt 3940: Error rate 57.21% (target: 15%) +2025-09-15T14:20:47.388Z | [OTHER] | Attempt 3941: Error rate 48.89% (target: 15%) +2025-09-15T14:20:47.393Z | [OTHER] | Attempt 3942: Error rate 53.49% (target: 15%) +2025-09-15T14:20:47.399Z | [OTHER] | Attempt 3943: Error rate 51.48% (target: 15%) +2025-09-15T14:20:47.404Z | [OTHER] | Attempt 3944: Error rate 52.17% (target: 15%) +2025-09-15T14:20:47.409Z | [OTHER] | Attempt 3945: Error rate 47.73% (target: 15%) +2025-09-15T14:20:47.413Z | [OTHER] | Attempt 3946: Error rate 48.41% (target: 15%) +2025-09-15T14:20:47.418Z | [OTHER] | Attempt 3947: Error rate 56.2% (target: 15%) +2025-09-15T14:20:47.423Z | [OTHER] | Attempt 3948: Error rate 50% (target: 15%) +2025-09-15T14:20:47.427Z | [OTHER] | Attempt 3949: Error rate 51.59% (target: 15%) +2025-09-15T14:20:47.432Z | [OTHER] | Attempt 3950: Error rate 46.03% (target: 15%) +2025-09-15T14:20:47.438Z | [OTHER] | Attempt 3951: Error rate 46% (target: 15%) +2025-09-15T14:20:47.443Z | [OTHER] | Attempt 3952: Error rate 46.34% (target: 15%) +2025-09-15T14:20:47.448Z | [OTHER] | Attempt 3953: Error rate 56.67% (target: 15%) +2025-09-15T14:20:47.452Z | [OTHER] | Attempt 3954: Error rate 51.11% (target: 15%) +2025-09-15T14:20:47.457Z | [OTHER] | Attempt 3955: Error rate 48.33% (target: 15%) +2025-09-15T14:20:47.462Z | [OTHER] | Attempt 3956: Error rate 48.52% (target: 15%) +2025-09-15T14:20:47.467Z | [OTHER] | Attempt 3957: Error rate 50.38% (target: 15%) +2025-09-15T14:20:47.472Z | [OTHER] | Attempt 3958: Error rate 52.56% (target: 15%) +2025-09-15T14:20:47.479Z | [OTHER] | Attempt 3959: Error rate 55.19% (target: 15%) +2025-09-15T14:20:47.483Z | [OTHER] | Attempt 3960: Error rate 51.85% (target: 15%) +2025-09-15T14:20:47.487Z | [OTHER] | Attempt 3961: Error rate 50.72% (target: 15%) +2025-09-15T14:20:47.492Z | [OTHER] | Attempt 3962: Error rate 52.48% (target: 15%) +2025-09-15T14:20:47.497Z | [OTHER] | Attempt 3963: Error rate 53.82% (target: 15%) +2025-09-15T14:20:47.502Z | [OTHER] | Attempt 3964: Error rate 56.91% (target: 15%) +2025-09-15T14:20:47.506Z | [OTHER] | Attempt 3965: Error rate 51.52% (target: 15%) +2025-09-15T14:20:47.511Z | [OTHER] | Attempt 3966: Error rate 52.38% (target: 15%) +2025-09-15T14:20:47.515Z | [OTHER] | Attempt 3967: Error rate 50.79% (target: 15%) +2025-09-15T14:20:47.519Z | [OTHER] | Attempt 3968: Error rate 54.07% (target: 15%) +2025-09-15T14:20:47.524Z | [OTHER] | Attempt 3969: Error rate 51.48% (target: 15%) +2025-09-15T14:20:47.528Z | [OTHER] | Attempt 3970: Error rate 49.26% (target: 15%) +2025-09-15T14:20:47.532Z | [OTHER] | Attempt 3971: Error rate 55.9% (target: 15%) +2025-09-15T14:20:47.537Z | [OTHER] | Attempt 3972: Error rate 54.76% (target: 15%) +2025-09-15T14:20:47.541Z | [OTHER] | Attempt 3973: Error rate 60.61% (target: 15%) +2025-09-15T14:20:47.545Z | [OTHER] | Attempt 3974: Error rate 40.53% (target: 15%) +2025-09-15T14:20:47.552Z | [OTHER] | Attempt 3975: Error rate 52.71% (target: 15%) +2025-09-15T14:20:47.559Z | [OTHER] | Attempt 3976: Error rate 56.3% (target: 15%) +2025-09-15T14:20:47.564Z | [OTHER] | Attempt 3977: Error rate 53.41% (target: 15%) +2025-09-15T14:20:47.569Z | [OTHER] | Attempt 3978: Error rate 44.07% (target: 15%) +2025-09-15T14:20:47.573Z | [OTHER] | Attempt 3979: Error rate 54.26% (target: 15%) +2025-09-15T14:20:47.578Z | [OTHER] | Attempt 3980: Error rate 58.53% (target: 15%) +2025-09-15T14:20:47.582Z | [OTHER] | Attempt 3981: Error rate 62.22% (target: 15%) +2025-09-15T14:20:47.587Z | [OTHER] | Attempt 3982: Error rate 47.96% (target: 15%) +2025-09-15T14:20:47.592Z | [OTHER] | Attempt 3983: Error rate 52.78% (target: 15%) +2025-09-15T14:20:47.596Z | [OTHER] | Attempt 3984: Error rate 55.68% (target: 15%) +2025-09-15T14:20:47.601Z | [OTHER] | Attempt 3985: Error rate 53.33% (target: 15%) +2025-09-15T14:20:47.606Z | [OTHER] | Attempt 3986: Error rate 51.22% (target: 15%) +2025-09-15T14:20:47.611Z | [OTHER] | Attempt 3987: Error rate 50% (target: 15%) +2025-09-15T14:20:47.615Z | [OTHER] | Attempt 3988: Error rate 51.14% (target: 15%) +2025-09-15T14:20:47.619Z | [OTHER] | Attempt 3989: Error rate 54.65% (target: 15%) +2025-09-15T14:20:47.623Z | [OTHER] | Attempt 3990: Error rate 54.51% (target: 15%) +2025-09-15T14:20:47.628Z | [OTHER] | Attempt 3991: Error rate 48.02% (target: 15%) +2025-09-15T14:20:47.632Z | [OTHER] | Attempt 3992: Error rate 53.4% (target: 15%) +2025-09-15T14:20:47.636Z | [OTHER] | Attempt 3993: Error rate 60.14% (target: 15%) +2025-09-15T14:20:47.640Z | [OTHER] | Attempt 3994: Error rate 47.56% (target: 15%) +2025-09-15T14:20:47.645Z | [OTHER] | Attempt 3995: Error rate 46.34% (target: 15%) +2025-09-15T14:20:47.649Z | [OTHER] | Attempt 3996: Error rate 51.11% (target: 15%) +2025-09-15T14:20:47.653Z | [OTHER] | Attempt 3997: Error rate 56.06% (target: 15%) +2025-09-15T14:20:47.657Z | [OTHER] | Attempt 3998: Error rate 46.25% (target: 15%) +2025-09-15T14:20:47.663Z | [OTHER] | Attempt 3999: Error rate 47.78% (target: 15%) +2025-09-15T14:20:47.666Z | [OTHER] | Attempt 4000: Error rate 53.41% (target: 15%) +2025-09-15T14:20:47.671Z | [OTHER] | Attempt 4001: Error rate 55.69% (target: 15%) +2025-09-15T14:20:47.676Z | [OTHER] | Attempt 4002: Error rate 54.92% (target: 15%) +2025-09-15T14:20:47.680Z | [OTHER] | Attempt 4003: Error rate 57.94% (target: 15%) +2025-09-15T14:20:47.684Z | [OTHER] | Attempt 4004: Error rate 53.55% (target: 15%) +2025-09-15T14:20:47.689Z | [OTHER] | Attempt 4005: Error rate 51.04% (target: 15%) +2025-09-15T14:20:47.693Z | [OTHER] | Attempt 4006: Error rate 52.48% (target: 15%) +2025-09-15T14:20:47.697Z | [OTHER] | Attempt 4007: Error rate 46.75% (target: 15%) +2025-09-15T14:20:47.702Z | [OTHER] | Attempt 4008: Error rate 54.55% (target: 15%) +2025-09-15T14:20:47.706Z | [OTHER] | Attempt 4009: Error rate 45.63% (target: 15%) +2025-09-15T14:20:47.710Z | [OTHER] | Attempt 4010: Error rate 44.32% (target: 15%) +2025-09-15T14:20:47.714Z | [OTHER] | Attempt 4011: Error rate 51.55% (target: 15%) +2025-09-15T14:20:47.719Z | [OTHER] | Attempt 4012: Error rate 57.69% (target: 15%) +2025-09-15T14:20:47.723Z | [OTHER] | Attempt 4013: Error rate 51.98% (target: 15%) +2025-09-15T14:20:47.728Z | [OTHER] | Attempt 4014: Error rate 47.83% (target: 15%) +2025-09-15T14:20:47.733Z | [OTHER] | Attempt 4015: Error rate 52.48% (target: 15%) +2025-09-15T14:20:47.737Z | [OTHER] | Attempt 4016: Error rate 47.78% (target: 15%) +2025-09-15T14:20:47.741Z | [OTHER] | Attempt 4017: Error rate 53.9% (target: 15%) +2025-09-15T14:20:47.745Z | [OTHER] | Attempt 4018: Error rate 58.7% (target: 15%) +2025-09-15T14:20:47.750Z | [OTHER] | Attempt 4019: Error rate 51.11% (target: 15%) +2025-09-15T14:20:47.754Z | [OTHER] | Attempt 4020: Error rate 52.54% (target: 15%) +2025-09-15T14:20:47.758Z | [OTHER] | Attempt 4021: Error rate 50.74% (target: 15%) +2025-09-15T14:20:47.763Z | [OTHER] | Attempt 4022: Error rate 50.79% (target: 15%) +2025-09-15T14:20:47.768Z | [OTHER] | Attempt 4023: Error rate 54.71% (target: 15%) +2025-09-15T14:20:47.772Z | [OTHER] | Attempt 4024: Error rate 58.52% (target: 15%) +2025-09-15T14:20:47.777Z | [OTHER] | Attempt 4025: Error rate 54.96% (target: 15%) +2025-09-15T14:20:47.782Z | [OTHER] | Attempt 4026: Error rate 54.58% (target: 15%) +2025-09-15T14:20:47.786Z | [OTHER] | Attempt 4027: Error rate 44.44% (target: 15%) +2025-09-15T14:20:47.790Z | [OTHER] | Attempt 4028: Error rate 56.44% (target: 15%) +2025-09-15T14:20:47.795Z | [OTHER] | Attempt 4029: Error rate 55% (target: 15%) +2025-09-15T14:20:47.799Z | [OTHER] | Attempt 4030: Error rate 55.56% (target: 15%) +2025-09-15T14:20:47.803Z | [OTHER] | Attempt 4031: Error rate 59.92% (target: 15%) +2025-09-15T14:20:47.808Z | [OTHER] | Attempt 4032: Error rate 55.3% (target: 15%) +2025-09-15T14:20:47.812Z | [OTHER] | Attempt 4033: Error rate 57.75% (target: 15%) +2025-09-15T14:20:47.817Z | [OTHER] | Attempt 4034: Error rate 50.76% (target: 15%) +2025-09-15T14:20:47.821Z | [OTHER] | Attempt 4035: Error rate 55.43% (target: 15%) +2025-09-15T14:20:47.826Z | [OTHER] | Attempt 4036: Error rate 60% (target: 15%) +2025-09-15T14:20:47.831Z | [OTHER] | Attempt 4037: Error rate 53.55% (target: 15%) +2025-09-15T14:20:47.835Z | [OTHER] | Attempt 4038: Error rate 56.1% (target: 15%) +2025-09-15T14:20:47.840Z | [OTHER] | Attempt 4039: Error rate 52.17% (target: 15%) +2025-09-15T14:20:47.844Z | [OTHER] | Attempt 4040: Error rate 58.67% (target: 15%) +2025-09-15T14:20:47.848Z | [OTHER] | Attempt 4041: Error rate 58.15% (target: 15%) +2025-09-15T14:20:47.852Z | [OTHER] | Attempt 4042: Error rate 57.02% (target: 15%) +2025-09-15T14:20:47.857Z | [OTHER] | Attempt 4043: Error rate 46.81% (target: 15%) +2025-09-15T14:20:47.861Z | [OTHER] | Attempt 4044: Error rate 50.76% (target: 15%) +2025-09-15T14:20:47.865Z | [OTHER] | Attempt 4045: Error rate 46.83% (target: 15%) +2025-09-15T14:20:47.870Z | [OTHER] | Attempt 4046: Error rate 51.48% (target: 15%) +2025-09-15T14:20:47.874Z | [OTHER] | Attempt 4047: Error rate 56.3% (target: 15%) +2025-09-15T14:20:47.878Z | [OTHER] | Attempt 4048: Error rate 47.16% (target: 15%) +2025-09-15T14:20:47.883Z | [OTHER] | Attempt 4049: Error rate 55.3% (target: 15%) +2025-09-15T14:20:47.887Z | [OTHER] | Attempt 4050: Error rate 48.48% (target: 15%) +2025-09-15T14:20:47.891Z | [OTHER] | Attempt 4051: Error rate 47.44% (target: 15%) +2025-09-15T14:20:47.896Z | [OTHER] | Attempt 4052: Error rate 55.95% (target: 15%) +2025-09-15T14:20:47.900Z | [OTHER] | Attempt 4053: Error rate 52.71% (target: 15%) +2025-09-15T14:20:47.905Z | [OTHER] | Attempt 4054: Error rate 58.33% (target: 15%) +2025-09-15T14:20:47.909Z | [OTHER] | Attempt 4055: Error rate 50.74% (target: 15%) +2025-09-15T14:20:47.913Z | [OTHER] | Attempt 4056: Error rate 54.65% (target: 15%) +2025-09-15T14:20:47.917Z | [OTHER] | Attempt 4057: Error rate 58.33% (target: 15%) +2025-09-15T14:20:47.921Z | [OTHER] | Attempt 4058: Error rate 55.43% (target: 15%) +2025-09-15T14:20:47.926Z | [OTHER] | Attempt 4059: Error rate 54.26% (target: 15%) +2025-09-15T14:20:47.930Z | [OTHER] | Attempt 4060: Error rate 53.97% (target: 15%) +2025-09-15T14:20:47.935Z | [OTHER] | Attempt 4061: Error rate 52.27% (target: 15%) +2025-09-15T14:20:47.939Z | [OTHER] | Attempt 4062: Error rate 56.74% (target: 15%) +2025-09-15T14:20:47.944Z | [OTHER] | Attempt 4063: Error rate 54.58% (target: 15%) +2025-09-15T14:20:47.949Z | [OTHER] | Attempt 4064: Error rate 50.41% (target: 15%) +2025-09-15T14:20:47.953Z | [OTHER] | Attempt 4065: Error rate 55.68% (target: 15%) +2025-09-15T14:20:47.958Z | [OTHER] | Attempt 4066: Error rate 41.09% (target: 15%) +2025-09-15T14:20:47.962Z | [OTHER] | Attempt 4067: Error rate 42.28% (target: 15%) +2025-09-15T14:20:47.967Z | [OTHER] | Attempt 4068: Error rate 50% (target: 15%) +2025-09-15T14:20:47.971Z | [OTHER] | Attempt 4069: Error rate 53.66% (target: 15%) +2025-09-15T14:20:47.976Z | [OTHER] | Attempt 4070: Error rate 54.61% (target: 15%) +2025-09-15T14:20:47.980Z | [OTHER] | Attempt 4071: Error rate 57.72% (target: 15%) +2025-09-15T14:20:47.985Z | [OTHER] | Attempt 4072: Error rate 53.33% (target: 15%) +2025-09-15T14:20:47.989Z | [OTHER] | Attempt 4073: Error rate 54.58% (target: 15%) +2025-09-15T14:20:47.993Z | [OTHER] | Attempt 4074: Error rate 46.88% (target: 15%) +2025-09-15T14:20:47.998Z | [OTHER] | Attempt 4075: Error rate 50.38% (target: 15%) +2025-09-15T14:20:48.003Z | [OTHER] | Attempt 4076: Error rate 46.43% (target: 15%) +2025-09-15T14:20:48.007Z | [OTHER] | Attempt 4077: Error rate 53.27% (target: 15%) +2025-09-15T14:20:48.012Z | [OTHER] | Attempt 4078: Error rate 51.59% (target: 15%) +2025-09-15T14:20:48.016Z | [OTHER] | Attempt 4079: Error rate 49.62% (target: 15%) +2025-09-15T14:20:48.021Z | [OTHER] | Attempt 4080: Error rate 55.8% (target: 15%) +2025-09-15T14:20:48.025Z | [OTHER] | Attempt 4081: Error rate 59.3% (target: 15%) +2025-09-15T14:20:48.030Z | [OTHER] | Attempt 4082: Error rate 43.9% (target: 15%) +2025-09-15T14:20:48.036Z | [OTHER] | Attempt 4083: Error rate 52.03% (target: 15%) +2025-09-15T14:20:48.040Z | [OTHER] | Attempt 4084: Error rate 57.14% (target: 15%) +2025-09-15T14:20:48.045Z | [OTHER] | Attempt 4085: Error rate 49.15% (target: 15%) +2025-09-15T14:20:48.049Z | [OTHER] | Attempt 4086: Error rate 48.91% (target: 15%) +2025-09-15T14:20:48.054Z | [OTHER] | Attempt 4087: Error rate 55.93% (target: 15%) +2025-09-15T14:20:48.058Z | [OTHER] | Attempt 4088: Error rate 53.99% (target: 15%) +2025-09-15T14:20:48.062Z | [OTHER] | Attempt 4089: Error rate 63.83% (target: 15%) +2025-09-15T14:20:48.067Z | [OTHER] | Attempt 4090: Error rate 54.47% (target: 15%) +2025-09-15T14:20:48.072Z | [OTHER] | Attempt 4091: Error rate 47.56% (target: 15%) +2025-09-15T14:20:48.076Z | [OTHER] | Attempt 4092: Error rate 50.36% (target: 15%) +2025-09-15T14:20:48.080Z | [OTHER] | Attempt 4093: Error rate 47.37% (target: 15%) +2025-09-15T14:20:48.085Z | [OTHER] | Attempt 4094: Error rate 55.28% (target: 15%) +2025-09-15T14:20:48.089Z | [OTHER] | Attempt 4095: Error rate 51.19% (target: 15%) +2025-09-15T14:20:48.093Z | [OTHER] | Attempt 4096: Error rate 64.04% (target: 15%) +2025-09-15T14:20:48.097Z | [OTHER] | Attempt 4097: Error rate 50.36% (target: 15%) +2025-09-15T14:20:48.102Z | [OTHER] | Attempt 4098: Error rate 54.35% (target: 15%) +2025-09-15T14:20:48.107Z | [OTHER] | Attempt 4099: Error rate 51.63% (target: 15%) +2025-09-15T14:20:48.111Z | [OTHER] | Attempt 4100: Error rate 51.28% (target: 15%) +2025-09-15T14:20:48.116Z | [OTHER] | Attempt 4101: Error rate 43.41% (target: 15%) +2025-09-15T14:20:48.120Z | [OTHER] | Attempt 4102: Error rate 41.88% (target: 15%) +2025-09-15T14:20:48.125Z | [OTHER] | Attempt 4103: Error rate 50.67% (target: 15%) +2025-09-15T14:20:48.130Z | [OTHER] | Attempt 4104: Error rate 39.01% (target: 15%) +2025-09-15T14:20:48.134Z | [OTHER] | Attempt 4105: Error rate 60.64% (target: 15%) +2025-09-15T14:20:48.139Z | [OTHER] | Attempt 4106: Error rate 54.07% (target: 15%) +2025-09-15T14:20:48.143Z | [OTHER] | Attempt 4107: Error rate 57.69% (target: 15%) +2025-09-15T14:20:48.147Z | [OTHER] | Attempt 4108: Error rate 53.49% (target: 15%) +2025-09-15T14:20:48.151Z | [OTHER] | Attempt 4109: Error rate 50% (target: 15%) +2025-09-15T14:20:48.155Z | [OTHER] | Attempt 4110: Error rate 56.91% (target: 15%) +2025-09-15T14:20:48.160Z | [OTHER] | Attempt 4111: Error rate 50.33% (target: 15%) +2025-09-15T14:20:48.164Z | [OTHER] | Attempt 4112: Error rate 51.09% (target: 15%) +2025-09-15T14:20:48.169Z | [OTHER] | Attempt 4113: Error rate 44.44% (target: 15%) +2025-09-15T14:20:48.173Z | [OTHER] | Attempt 4114: Error rate 54.17% (target: 15%) +2025-09-15T14:20:48.178Z | [OTHER] | Attempt 4115: Error rate 50.42% (target: 15%) +2025-09-15T14:20:48.182Z | [OTHER] | Attempt 4116: Error rate 50.85% (target: 15%) +2025-09-15T14:20:48.187Z | [OTHER] | Attempt 4117: Error rate 52.78% (target: 15%) +2025-09-15T14:20:48.192Z | [OTHER] | Attempt 4118: Error rate 56.1% (target: 15%) +2025-09-15T14:20:48.197Z | [OTHER] | Attempt 4119: Error rate 53.33% (target: 15%) +2025-09-15T14:20:48.201Z | [OTHER] | Attempt 4120: Error rate 50.4% (target: 15%) +2025-09-15T14:20:48.205Z | [OTHER] | Attempt 4121: Error rate 46.9% (target: 15%) +2025-09-15T14:20:48.210Z | [OTHER] | Attempt 4122: Error rate 42.8% (target: 15%) +2025-09-15T14:20:48.214Z | [OTHER] | Attempt 4123: Error rate 48.98% (target: 15%) +2025-09-15T14:20:48.218Z | [OTHER] | Attempt 4124: Error rate 49.15% (target: 15%) +2025-09-15T14:20:48.224Z | [OTHER] | Attempt 4125: Error rate 47.92% (target: 15%) +2025-09-15T14:20:48.228Z | [OTHER] | Attempt 4126: Error rate 55.21% (target: 15%) +2025-09-15T14:20:48.232Z | [OTHER] | Attempt 4127: Error rate 56.38% (target: 15%) +2025-09-15T14:20:48.237Z | [OTHER] | Attempt 4128: Error rate 54.17% (target: 15%) +2025-09-15T14:20:48.241Z | [OTHER] | Attempt 4129: Error rate 59.92% (target: 15%) +2025-09-15T14:20:48.246Z | [OTHER] | Attempt 4130: Error rate 55.07% (target: 15%) +2025-09-15T14:20:48.250Z | [OTHER] | Attempt 4131: Error rate 55.69% (target: 15%) +2025-09-15T14:20:48.255Z | [OTHER] | Attempt 4132: Error rate 55.86% (target: 15%) +2025-09-15T14:20:48.260Z | [OTHER] | Attempt 4133: Error rate 46.67% (target: 15%) +2025-09-15T14:20:48.265Z | [OTHER] | Attempt 4134: Error rate 47.29% (target: 15%) +2025-09-15T14:20:48.270Z | [OTHER] | Attempt 4135: Error rate 50.37% (target: 15%) +2025-09-15T14:20:48.274Z | [OTHER] | Attempt 4136: Error rate 51.45% (target: 15%) +2025-09-15T14:20:48.278Z | [OTHER] | Attempt 4137: Error rate 49.22% (target: 15%) +2025-09-15T14:20:48.283Z | [OTHER] | Attempt 4138: Error rate 39.52% (target: 15%) +2025-09-15T14:20:48.287Z | [OTHER] | Attempt 4139: Error rate 48.58% (target: 15%) +2025-09-15T14:20:48.291Z | [OTHER] | Attempt 4140: Error rate 52.44% (target: 15%) +2025-09-15T14:20:48.296Z | [OTHER] | Attempt 4141: Error rate 54.58% (target: 15%) +2025-09-15T14:20:48.300Z | [OTHER] | Attempt 4142: Error rate 47.15% (target: 15%) +2025-09-15T14:20:48.305Z | [OTHER] | Attempt 4143: Error rate 51.42% (target: 15%) +2025-09-15T14:20:48.309Z | [OTHER] | Attempt 4144: Error rate 57.46% (target: 15%) +2025-09-15T14:20:48.314Z | [OTHER] | Attempt 4145: Error rate 47.15% (target: 15%) +2025-09-15T14:20:48.318Z | [OTHER] | Attempt 4146: Error rate 55.56% (target: 15%) +2025-09-15T14:20:48.322Z | [OTHER] | Attempt 4147: Error rate 55.81% (target: 15%) +2025-09-15T14:20:48.326Z | [OTHER] | Attempt 4148: Error rate 49.59% (target: 15%) +2025-09-15T14:20:48.331Z | [OTHER] | Attempt 4149: Error rate 52.08% (target: 15%) +2025-09-15T14:20:48.335Z | [OTHER] | Attempt 4150: Error rate 50.76% (target: 15%) +2025-09-15T14:20:48.339Z | [OTHER] | Attempt 4151: Error rate 59.69% (target: 15%) +2025-09-15T14:20:48.344Z | [OTHER] | Attempt 4152: Error rate 44.72% (target: 15%) +2025-09-15T14:20:48.348Z | [OTHER] | Attempt 4153: Error rate 50.81% (target: 15%) +2025-09-15T14:20:48.352Z | [OTHER] | Attempt 4154: Error rate 54.35% (target: 15%) +2025-09-15T14:20:48.356Z | [OTHER] | Attempt 4155: Error rate 46.67% (target: 15%) +2025-09-15T14:20:48.361Z | [OTHER] | Attempt 4156: Error rate 49.29% (target: 15%) +2025-09-15T14:20:48.365Z | [OTHER] | Attempt 4157: Error rate 56.1% (target: 15%) +2025-09-15T14:20:48.369Z | [OTHER] | Attempt 4158: Error rate 45.83% (target: 15%) +2025-09-15T14:20:48.374Z | [OTHER] | Attempt 4159: Error rate 50.41% (target: 15%) +2025-09-15T14:20:48.379Z | [OTHER] | Attempt 4160: Error rate 51.02% (target: 15%) +2025-09-15T14:20:48.383Z | [OTHER] | Attempt 4161: Error rate 49.64% (target: 15%) +2025-09-15T14:20:48.388Z | [OTHER] | Attempt 4162: Error rate 47.67% (target: 15%) +2025-09-15T14:20:48.393Z | [OTHER] | Attempt 4163: Error rate 53.26% (target: 15%) +2025-09-15T14:20:48.398Z | [OTHER] | Attempt 4164: Error rate 55.56% (target: 15%) +2025-09-15T14:20:48.403Z | [OTHER] | Attempt 4165: Error rate 52.65% (target: 15%) +2025-09-15T14:20:48.409Z | [OTHER] | Attempt 4166: Error rate 53.62% (target: 15%) +2025-09-15T14:20:48.414Z | [OTHER] | Attempt 4167: Error rate 54.86% (target: 15%) +2025-09-15T14:20:48.419Z | [OTHER] | Attempt 4168: Error rate 48.11% (target: 15%) +2025-09-15T14:20:48.425Z | [OTHER] | Attempt 4169: Error rate 52.13% (target: 15%) +2025-09-15T14:20:48.429Z | [OTHER] | Attempt 4170: Error rate 52.17% (target: 15%) +2025-09-15T14:20:48.434Z | [OTHER] | Attempt 4171: Error rate 53.9% (target: 15%) +2025-09-15T14:20:48.438Z | [OTHER] | Attempt 4172: Error rate 61.24% (target: 15%) +2025-09-15T14:20:48.443Z | [OTHER] | Attempt 4173: Error rate 50% (target: 15%) +2025-09-15T14:20:48.447Z | [OTHER] | Attempt 4174: Error rate 47.35% (target: 15%) +2025-09-15T14:20:48.452Z | [OTHER] | Attempt 4175: Error rate 50% (target: 15%) +2025-09-15T14:20:48.456Z | [OTHER] | Attempt 4176: Error rate 52.61% (target: 15%) +2025-09-15T14:20:48.461Z | [OTHER] | Attempt 4177: Error rate 57.25% (target: 15%) +2025-09-15T14:20:48.465Z | [OTHER] | Attempt 4178: Error rate 44.93% (target: 15%) +2025-09-15T14:20:48.470Z | [OTHER] | Attempt 4179: Error rate 45.35% (target: 15%) +2025-09-15T14:20:48.474Z | [OTHER] | Attempt 4180: Error rate 56.98% (target: 15%) +2025-09-15T14:20:48.478Z | [OTHER] | Attempt 4181: Error rate 50% (target: 15%) +2025-09-15T14:20:48.483Z | [OTHER] | Attempt 4182: Error rate 48.81% (target: 15%) +2025-09-15T14:20:48.488Z | [OTHER] | Attempt 4183: Error rate 50.37% (target: 15%) +2025-09-15T14:20:48.492Z | [OTHER] | Attempt 4184: Error rate 52.5% (target: 15%) +2025-09-15T14:20:48.497Z | [OTHER] | Attempt 4185: Error rate 49.24% (target: 15%) +2025-09-15T14:20:48.502Z | [OTHER] | Attempt 4186: Error rate 53.99% (target: 15%) +2025-09-15T14:20:48.506Z | [OTHER] | Attempt 4187: Error rate 52.22% (target: 15%) +2025-09-15T14:20:48.511Z | [OTHER] | Attempt 4188: Error rate 56.59% (target: 15%) +2025-09-15T14:20:48.516Z | [OTHER] | Attempt 4189: Error rate 53.57% (target: 15%) +2025-09-15T14:20:48.520Z | [OTHER] | Attempt 4190: Error rate 54.26% (target: 15%) +2025-09-15T14:20:48.525Z | [OTHER] | Attempt 4191: Error rate 53.97% (target: 15%) +2025-09-15T14:20:48.530Z | [OTHER] | Attempt 4192: Error rate 51.25% (target: 15%) +2025-09-15T14:20:48.534Z | [OTHER] | Attempt 4193: Error rate 51.42% (target: 15%) +2025-09-15T14:20:48.540Z | [OTHER] | Attempt 4194: Error rate 48.25% (target: 15%) +2025-09-15T14:20:48.544Z | [OTHER] | Attempt 4195: Error rate 50.36% (target: 15%) +2025-09-15T14:20:48.549Z | [OTHER] | Attempt 4196: Error rate 46.03% (target: 15%) +2025-09-15T14:20:48.554Z | [OTHER] | Attempt 4197: Error rate 49.28% (target: 15%) +2025-09-15T14:20:48.558Z | [OTHER] | Attempt 4198: Error rate 44.32% (target: 15%) +2025-09-15T14:20:48.563Z | [OTHER] | Attempt 4199: Error rate 49.21% (target: 15%) +2025-09-15T14:20:48.568Z | [OTHER] | Attempt 4200: Error rate 50.83% (target: 15%) +2025-09-15T14:20:48.573Z | [OTHER] | Attempt 4201: Error rate 49.57% (target: 15%) +2025-09-15T14:20:48.577Z | [OTHER] | Attempt 4202: Error rate 49.29% (target: 15%) +2025-09-15T14:20:48.582Z | [OTHER] | Attempt 4203: Error rate 51.71% (target: 15%) +2025-09-15T14:20:48.587Z | [OTHER] | Attempt 4204: Error rate 55.93% (target: 15%) +2025-09-15T14:20:48.592Z | [OTHER] | Attempt 4205: Error rate 49.63% (target: 15%) +2025-09-15T14:20:48.596Z | [OTHER] | Attempt 4206: Error rate 47.46% (target: 15%) +2025-09-15T14:20:48.601Z | [OTHER] | Attempt 4207: Error rate 52.72% (target: 15%) +2025-09-15T14:20:48.606Z | [OTHER] | Attempt 4208: Error rate 50.78% (target: 15%) +2025-09-15T14:20:48.611Z | [OTHER] | Attempt 4209: Error rate 54.17% (target: 15%) +2025-09-15T14:20:48.617Z | [OTHER] | Attempt 4210: Error rate 49.17% (target: 15%) +2025-09-15T14:20:48.621Z | [OTHER] | Attempt 4211: Error rate 47.92% (target: 15%) +2025-09-15T14:20:48.626Z | [OTHER] | Attempt 4212: Error rate 46.59% (target: 15%) +2025-09-15T14:20:48.631Z | [OTHER] | Attempt 4213: Error rate 44.2% (target: 15%) +2025-09-15T14:20:48.635Z | [OTHER] | Attempt 4214: Error rate 56.59% (target: 15%) +2025-09-15T14:20:48.639Z | [OTHER] | Attempt 4215: Error rate 47.01% (target: 15%) +2025-09-15T14:20:48.644Z | [OTHER] | Attempt 4216: Error rate 45.83% (target: 15%) +2025-09-15T14:20:48.649Z | [OTHER] | Attempt 4217: Error rate 52.03% (target: 15%) +2025-09-15T14:20:48.654Z | [OTHER] | Attempt 4218: Error rate 51.11% (target: 15%) +2025-09-15T14:20:48.659Z | [OTHER] | Attempt 4219: Error rate 54.26% (target: 15%) +2025-09-15T14:20:48.664Z | [OTHER] | Attempt 4220: Error rate 59.69% (target: 15%) +2025-09-15T14:20:48.668Z | [OTHER] | Attempt 4221: Error rate 58.52% (target: 15%) +2025-09-15T14:20:48.673Z | [OTHER] | Attempt 4222: Error rate 61.35% (target: 15%) +2025-09-15T14:20:48.677Z | [OTHER] | Attempt 4223: Error rate 52.27% (target: 15%) +2025-09-15T14:20:48.682Z | [OTHER] | Attempt 4224: Error rate 48.29% (target: 15%) +2025-09-15T14:20:48.686Z | [OTHER] | Attempt 4225: Error rate 51.11% (target: 15%) +2025-09-15T14:20:48.692Z | [OTHER] | Attempt 4226: Error rate 48.37% (target: 15%) +2025-09-15T14:20:48.697Z | [OTHER] | Attempt 4227: Error rate 51.33% (target: 15%) +2025-09-15T14:20:48.701Z | [OTHER] | Attempt 4228: Error rate 52.59% (target: 15%) +2025-09-15T14:20:48.706Z | [OTHER] | Attempt 4229: Error rate 51.22% (target: 15%) +2025-09-15T14:20:48.711Z | [OTHER] | Attempt 4230: Error rate 50.76% (target: 15%) +2025-09-15T14:20:48.715Z | [OTHER] | Attempt 4231: Error rate 53.97% (target: 15%) +2025-09-15T14:20:48.721Z | [OTHER] | Attempt 4232: Error rate 54.92% (target: 15%) +2025-09-15T14:20:48.725Z | [OTHER] | Attempt 4233: Error rate 50% (target: 15%) +2025-09-15T14:20:48.730Z | [OTHER] | Attempt 4234: Error rate 53.41% (target: 15%) +2025-09-15T14:20:48.734Z | [OTHER] | Attempt 4235: Error rate 47.22% (target: 15%) +2025-09-15T14:20:48.739Z | [OTHER] | Attempt 4236: Error rate 47.35% (target: 15%) +2025-09-15T14:20:48.743Z | [OTHER] | Attempt 4237: Error rate 45.35% (target: 15%) +2025-09-15T14:20:48.748Z | [OTHER] | Attempt 4238: Error rate 52.08% (target: 15%) +2025-09-15T14:20:48.752Z | [OTHER] | Attempt 4239: Error rate 46.59% (target: 15%) +2025-09-15T14:20:48.757Z | [OTHER] | Attempt 4240: Error rate 48.15% (target: 15%) +2025-09-15T14:20:48.762Z | [OTHER] | Attempt 4241: Error rate 53.1% (target: 15%) +2025-09-15T14:20:48.767Z | [OTHER] | Attempt 4242: Error rate 54.26% (target: 15%) +2025-09-15T14:20:48.771Z | [OTHER] | Attempt 4243: Error rate 53.7% (target: 15%) +2025-09-15T14:20:48.776Z | [OTHER] | Attempt 4244: Error rate 62.77% (target: 15%) +2025-09-15T14:20:48.782Z | [OTHER] | Attempt 4245: Error rate 46.15% (target: 15%) +2025-09-15T14:20:48.790Z | [OTHER] | Attempt 4246: Error rate 49.21% (target: 15%) +2025-09-15T14:20:48.797Z | [OTHER] | Attempt 4247: Error rate 53.42% (target: 15%) +2025-09-15T14:20:48.806Z | [OTHER] | Attempt 4248: Error rate 47.62% (target: 15%) +2025-09-15T14:20:48.812Z | [OTHER] | Attempt 4249: Error rate 57.04% (target: 15%) +2025-09-15T14:20:48.818Z | [OTHER] | Attempt 4250: Error rate 54.07% (target: 15%) +2025-09-15T14:20:48.825Z | [OTHER] | Attempt 4251: Error rate 53.99% (target: 15%) +2025-09-15T14:20:48.830Z | [OTHER] | Attempt 4252: Error rate 52.9% (target: 15%) +2025-09-15T14:20:48.835Z | [OTHER] | Attempt 4253: Error rate 55.68% (target: 15%) +2025-09-15T14:20:48.839Z | [OTHER] | Attempt 4254: Error rate 53.33% (target: 15%) +2025-09-15T14:20:48.844Z | [OTHER] | Attempt 4255: Error rate 53.62% (target: 15%) +2025-09-15T14:20:48.848Z | [OTHER] | Attempt 4256: Error rate 47.04% (target: 15%) +2025-09-15T14:20:48.854Z | [OTHER] | Attempt 4257: Error rate 53.41% (target: 15%) +2025-09-15T14:20:48.858Z | [OTHER] | Attempt 4258: Error rate 53.27% (target: 15%) +2025-09-15T14:20:48.863Z | [OTHER] | Attempt 4259: Error rate 46.25% (target: 15%) +2025-09-15T14:20:48.867Z | [OTHER] | Attempt 4260: Error rate 50.74% (target: 15%) +2025-09-15T14:20:48.872Z | [OTHER] | Attempt 4261: Error rate 53.9% (target: 15%) +2025-09-15T14:20:48.877Z | [OTHER] | Attempt 4262: Error rate 51.55% (target: 15%) +2025-09-15T14:20:48.881Z | [OTHER] | Attempt 4263: Error rate 47.08% (target: 15%) +2025-09-15T14:20:48.886Z | [OTHER] | Attempt 4264: Error rate 51.94% (target: 15%) +2025-09-15T14:20:48.890Z | [OTHER] | Attempt 4265: Error rate 56.5% (target: 15%) +2025-09-15T14:20:48.895Z | [OTHER] | Attempt 4266: Error rate 49.12% (target: 15%) +2025-09-15T14:20:48.900Z | [OTHER] | Attempt 4267: Error rate 54.42% (target: 15%) +2025-09-15T14:20:48.904Z | [OTHER] | Attempt 4268: Error rate 53.19% (target: 15%) +2025-09-15T14:20:48.909Z | [OTHER] | Attempt 4269: Error rate 58.53% (target: 15%) +2025-09-15T14:20:48.913Z | [OTHER] | Attempt 4270: Error rate 48.41% (target: 15%) +2025-09-15T14:20:48.918Z | [OTHER] | Attempt 4271: Error rate 52.44% (target: 15%) +2025-09-15T14:20:48.922Z | [OTHER] | Attempt 4272: Error rate 50% (target: 15%) +2025-09-15T14:20:48.928Z | [OTHER] | Attempt 4273: Error rate 42.25% (target: 15%) +2025-09-15T14:20:48.932Z | [OTHER] | Attempt 4274: Error rate 55.9% (target: 15%) +2025-09-15T14:20:48.937Z | [OTHER] | Attempt 4275: Error rate 54.26% (target: 15%) +2025-09-15T14:20:48.942Z | [OTHER] | Attempt 4276: Error rate 56.98% (target: 15%) +2025-09-15T14:20:48.946Z | [OTHER] | Attempt 4277: Error rate 44.96% (target: 15%) +2025-09-15T14:20:48.951Z | [OTHER] | Attempt 4278: Error rate 56.33% (target: 15%) +2025-09-15T14:20:48.956Z | [OTHER] | Attempt 4279: Error rate 53.41% (target: 15%) +2025-09-15T14:20:48.962Z | [OTHER] | Attempt 4280: Error rate 57.32% (target: 15%) +2025-09-15T14:20:48.966Z | [OTHER] | Attempt 4281: Error rate 47.16% (target: 15%) +2025-09-15T14:20:48.971Z | [OTHER] | Attempt 4282: Error rate 47.1% (target: 15%) +2025-09-15T14:20:48.976Z | [OTHER] | Attempt 4283: Error rate 44.57% (target: 15%) +2025-09-15T14:20:48.981Z | [OTHER] | Attempt 4284: Error rate 55.28% (target: 15%) +2025-09-15T14:20:48.985Z | [OTHER] | Attempt 4285: Error rate 50% (target: 15%) +2025-09-15T14:20:48.989Z | [OTHER] | Attempt 4286: Error rate 50.68% (target: 15%) +2025-09-15T14:20:48.994Z | [OTHER] | Attempt 4287: Error rate 48.06% (target: 15%) +2025-09-15T14:20:48.998Z | [OTHER] | Attempt 4288: Error rate 55.56% (target: 15%) +2025-09-15T14:20:49.002Z | [OTHER] | Attempt 4289: Error rate 56.2% (target: 15%) +2025-09-15T14:20:49.007Z | [OTHER] | Attempt 4290: Error rate 51.11% (target: 15%) +2025-09-15T14:20:49.011Z | [OTHER] | Attempt 4291: Error rate 46.74% (target: 15%) +2025-09-15T14:20:49.016Z | [OTHER] | Attempt 4292: Error rate 50.85% (target: 15%) +2025-09-15T14:20:49.021Z | [OTHER] | Attempt 4293: Error rate 49.62% (target: 15%) +2025-09-15T14:20:49.026Z | [OTHER] | Attempt 4294: Error rate 53.42% (target: 15%) +2025-09-15T14:20:49.031Z | [OTHER] | Attempt 4295: Error rate 45.56% (target: 15%) +2025-09-15T14:20:49.035Z | [OTHER] | Attempt 4296: Error rate 53.19% (target: 15%) +2025-09-15T14:20:49.040Z | [OTHER] | Attempt 4297: Error rate 64.07% (target: 15%) +2025-09-15T14:20:49.045Z | [OTHER] | Attempt 4298: Error rate 52.84% (target: 15%) +2025-09-15T14:20:49.050Z | [OTHER] | Attempt 4299: Error rate 47.15% (target: 15%) +2025-09-15T14:20:49.054Z | [OTHER] | Attempt 4300: Error rate 53.7% (target: 15%) +2025-09-15T14:20:49.059Z | [OTHER] | Attempt 4301: Error rate 53.49% (target: 15%) +2025-09-15T14:20:49.064Z | [OTHER] | Attempt 4302: Error rate 56.41% (target: 15%) +2025-09-15T14:20:49.069Z | [OTHER] | Attempt 4303: Error rate 52.78% (target: 15%) +2025-09-15T14:20:49.073Z | [OTHER] | Attempt 4304: Error rate 53.25% (target: 15%) +2025-09-15T14:20:49.078Z | [OTHER] | Attempt 4305: Error rate 58.16% (target: 15%) +2025-09-15T14:20:49.082Z | [OTHER] | Attempt 4306: Error rate 53.25% (target: 15%) +2025-09-15T14:20:49.087Z | [OTHER] | Attempt 4307: Error rate 53.26% (target: 15%) +2025-09-15T14:20:49.091Z | [OTHER] | Attempt 4308: Error rate 51.59% (target: 15%) +2025-09-15T14:20:49.096Z | [OTHER] | Attempt 4309: Error rate 48.37% (target: 15%) +2025-09-15T14:20:49.101Z | [OTHER] | Attempt 4310: Error rate 54.51% (target: 15%) +2025-09-15T14:20:49.106Z | [OTHER] | Attempt 4311: Error rate 54.55% (target: 15%) +2025-09-15T14:20:49.110Z | [OTHER] | Attempt 4312: Error rate 46.34% (target: 15%) +2025-09-15T14:20:49.115Z | [OTHER] | Attempt 4313: Error rate 61.51% (target: 15%) +2025-09-15T14:20:49.120Z | [OTHER] | Attempt 4314: Error rate 53.41% (target: 15%) +2025-09-15T14:20:49.125Z | [OTHER] | Attempt 4315: Error rate 52.27% (target: 15%) +2025-09-15T14:20:49.130Z | [OTHER] | Attempt 4316: Error rate 51.25% (target: 15%) +2025-09-15T14:20:49.134Z | [OTHER] | Attempt 4317: Error rate 46.59% (target: 15%) +2025-09-15T14:20:49.139Z | [OTHER] | Attempt 4318: Error rate 55.04% (target: 15%) +2025-09-15T14:20:49.143Z | [OTHER] | Attempt 4319: Error rate 52.27% (target: 15%) +2025-09-15T14:20:49.148Z | [OTHER] | Attempt 4320: Error rate 44.96% (target: 15%) +2025-09-15T14:20:49.152Z | [OTHER] | Attempt 4321: Error rate 51.89% (target: 15%) +2025-09-15T14:20:49.157Z | [OTHER] | Attempt 4322: Error rate 50.33% (target: 15%) +2025-09-15T14:20:49.161Z | [OTHER] | Attempt 4323: Error rate 52.92% (target: 15%) +2025-09-15T14:20:49.166Z | [OTHER] | Attempt 4324: Error rate 51.16% (target: 15%) +2025-09-15T14:20:49.170Z | [OTHER] | Attempt 4325: Error rate 53.19% (target: 15%) +2025-09-15T14:20:49.175Z | [OTHER] | Attempt 4326: Error rate 50.76% (target: 15%) +2025-09-15T14:20:49.179Z | [OTHER] | Attempt 4327: Error rate 51.16% (target: 15%) +2025-09-15T14:20:49.184Z | [OTHER] | Attempt 4328: Error rate 56.91% (target: 15%) +2025-09-15T14:20:49.189Z | [OTHER] | Attempt 4329: Error rate 53.88% (target: 15%) +2025-09-15T14:20:49.193Z | [OTHER] | Attempt 4330: Error rate 52.22% (target: 15%) +2025-09-15T14:20:49.198Z | [OTHER] | Attempt 4331: Error rate 48.78% (target: 15%) +2025-09-15T14:20:49.203Z | [OTHER] | Attempt 4332: Error rate 46.34% (target: 15%) +2025-09-15T14:20:49.207Z | [OTHER] | Attempt 4333: Error rate 50.41% (target: 15%) +2025-09-15T14:20:49.212Z | [OTHER] | Attempt 4334: Error rate 57.41% (target: 15%) +2025-09-15T14:20:49.217Z | [OTHER] | Attempt 4335: Error rate 55.68% (target: 15%) +2025-09-15T14:20:49.223Z | [OTHER] | Attempt 4336: Error rate 52.78% (target: 15%) +2025-09-15T14:20:49.228Z | [OTHER] | Attempt 4337: Error rate 50% (target: 15%) +2025-09-15T14:20:49.232Z | [OTHER] | Attempt 4338: Error rate 49.61% (target: 15%) +2025-09-15T14:20:49.237Z | [OTHER] | Attempt 4339: Error rate 50.37% (target: 15%) +2025-09-15T14:20:49.241Z | [OTHER] | Attempt 4340: Error rate 48.86% (target: 15%) +2025-09-15T14:20:49.246Z | [OTHER] | Attempt 4341: Error rate 51.19% (target: 15%) +2025-09-15T14:20:49.250Z | [OTHER] | Attempt 4342: Error rate 56.3% (target: 15%) +2025-09-15T14:20:49.254Z | [OTHER] | Attempt 4343: Error rate 50.78% (target: 15%) +2025-09-15T14:20:49.259Z | [OTHER] | Attempt 4344: Error rate 47.81% (target: 15%) +2025-09-15T14:20:49.264Z | [OTHER] | Attempt 4345: Error rate 48.72% (target: 15%) +2025-09-15T14:20:49.268Z | [OTHER] | Attempt 4346: Error rate 58.14% (target: 15%) +2025-09-15T14:20:49.272Z | [OTHER] | Attempt 4347: Error rate 56.82% (target: 15%) +2025-09-15T14:20:49.277Z | [OTHER] | Attempt 4348: Error rate 47.78% (target: 15%) +2025-09-15T14:20:49.282Z | [OTHER] | Attempt 4349: Error rate 56.1% (target: 15%) +2025-09-15T14:20:49.286Z | [OTHER] | Attempt 4350: Error rate 59.06% (target: 15%) +2025-09-15T14:20:49.291Z | [OTHER] | Attempt 4351: Error rate 38.26% (target: 15%) +2025-09-15T14:20:49.296Z | [OTHER] | Attempt 4352: Error rate 48.89% (target: 15%) +2025-09-15T14:20:49.302Z | [OTHER] | Attempt 4353: Error rate 46.9% (target: 15%) +2025-09-15T14:20:49.307Z | [OTHER] | Attempt 4354: Error rate 48.86% (target: 15%) +2025-09-15T14:20:49.311Z | [OTHER] | Attempt 4355: Error rate 62.79% (target: 15%) +2025-09-15T14:20:49.316Z | [OTHER] | Attempt 4356: Error rate 55.98% (target: 15%) +2025-09-15T14:20:49.321Z | [OTHER] | Attempt 4357: Error rate 57.09% (target: 15%) +2025-09-15T14:20:49.326Z | [OTHER] | Attempt 4358: Error rate 52.27% (target: 15%) +2025-09-15T14:20:49.330Z | [OTHER] | Attempt 4359: Error rate 50.71% (target: 15%) +2025-09-15T14:20:49.335Z | [OTHER] | Attempt 4360: Error rate 43.56% (target: 15%) +2025-09-15T14:20:49.340Z | [OTHER] | Attempt 4361: Error rate 54.55% (target: 15%) +2025-09-15T14:20:49.345Z | [OTHER] | Attempt 4362: Error rate 55.3% (target: 15%) +2025-09-15T14:20:49.349Z | [OTHER] | Attempt 4363: Error rate 59.57% (target: 15%) +2025-09-15T14:20:49.354Z | [OTHER] | Attempt 4364: Error rate 56.35% (target: 15%) +2025-09-15T14:20:49.358Z | [OTHER] | Attempt 4365: Error rate 50.79% (target: 15%) +2025-09-15T14:20:49.363Z | [OTHER] | Attempt 4366: Error rate 44.44% (target: 15%) +2025-09-15T14:20:49.367Z | [OTHER] | Attempt 4367: Error rate 53.88% (target: 15%) +2025-09-15T14:20:49.372Z | [OTHER] | Attempt 4368: Error rate 51.14% (target: 15%) +2025-09-15T14:20:49.377Z | [OTHER] | Attempt 4369: Error rate 42.92% (target: 15%) +2025-09-15T14:20:49.382Z | [OTHER] | Attempt 4370: Error rate 52.48% (target: 15%) +2025-09-15T14:20:49.387Z | [OTHER] | Attempt 4371: Error rate 52.33% (target: 15%) +2025-09-15T14:20:49.392Z | [OTHER] | Attempt 4372: Error rate 59.63% (target: 15%) +2025-09-15T14:20:49.396Z | [OTHER] | Attempt 4373: Error rate 54.5% (target: 15%) +2025-09-15T14:20:49.401Z | [OTHER] | Attempt 4374: Error rate 55.8% (target: 15%) +2025-09-15T14:20:49.406Z | [OTHER] | Attempt 4375: Error rate 52.33% (target: 15%) +2025-09-15T14:20:49.411Z | [OTHER] | Attempt 4376: Error rate 46.3% (target: 15%) +2025-09-15T14:20:49.417Z | [OTHER] | Attempt 4377: Error rate 51.71% (target: 15%) +2025-09-15T14:20:49.423Z | [OTHER] | Attempt 4378: Error rate 53.33% (target: 15%) +2025-09-15T14:20:49.429Z | [OTHER] | Attempt 4379: Error rate 53.26% (target: 15%) +2025-09-15T14:20:49.435Z | [OTHER] | Attempt 4380: Error rate 53.26% (target: 15%) +2025-09-15T14:20:49.439Z | [OTHER] | Attempt 4381: Error rate 50% (target: 15%) +2025-09-15T14:20:49.444Z | [OTHER] | Attempt 4382: Error rate 46.25% (target: 15%) +2025-09-15T14:20:49.449Z | [OTHER] | Attempt 4383: Error rate 49.24% (target: 15%) +2025-09-15T14:20:49.453Z | [OTHER] | Attempt 4384: Error rate 57.04% (target: 15%) +2025-09-15T14:20:49.458Z | [OTHER] | Attempt 4385: Error rate 52.13% (target: 15%) +2025-09-15T14:20:49.463Z | [OTHER] | Attempt 4386: Error rate 55.16% (target: 15%) +2025-09-15T14:20:49.467Z | [OTHER] | Attempt 4387: Error rate 50% (target: 15%) +2025-09-15T14:20:49.472Z | [OTHER] | Attempt 4388: Error rate 55.16% (target: 15%) +2025-09-15T14:20:49.477Z | [OTHER] | Attempt 4389: Error rate 52.33% (target: 15%) +2025-09-15T14:20:49.481Z | [OTHER] | Attempt 4390: Error rate 50.41% (target: 15%) +2025-09-15T14:20:49.485Z | [OTHER] | Attempt 4391: Error rate 55.56% (target: 15%) +2025-09-15T14:20:49.490Z | [OTHER] | Attempt 4392: Error rate 44.79% (target: 15%) +2025-09-15T14:20:49.495Z | [OTHER] | Attempt 4393: Error rate 48.06% (target: 15%) +2025-09-15T14:20:49.500Z | [OTHER] | Attempt 4394: Error rate 57.58% (target: 15%) +2025-09-15T14:20:49.505Z | [OTHER] | Attempt 4395: Error rate 53.82% (target: 15%) +2025-09-15T14:20:49.509Z | [OTHER] | Attempt 4396: Error rate 50.71% (target: 15%) +2025-09-15T14:20:49.514Z | [OTHER] | Attempt 4397: Error rate 52.04% (target: 15%) +2025-09-15T14:20:49.519Z | [OTHER] | Attempt 4398: Error rate 39.13% (target: 15%) +2025-09-15T14:20:49.524Z | [OTHER] | Attempt 4399: Error rate 51.45% (target: 15%) +2025-09-15T14:20:49.528Z | [OTHER] | Attempt 4400: Error rate 48.84% (target: 15%) +2025-09-15T14:20:49.533Z | [OTHER] | Attempt 4401: Error rate 48.48% (target: 15%) +2025-09-15T14:20:49.539Z | [OTHER] | Attempt 4402: Error rate 54.44% (target: 15%) +2025-09-15T14:20:49.544Z | [OTHER] | Attempt 4403: Error rate 55.21% (target: 15%) +2025-09-15T14:20:49.548Z | [OTHER] | Attempt 4404: Error rate 51.11% (target: 15%) +2025-09-15T14:20:49.553Z | [OTHER] | Attempt 4405: Error rate 52.44% (target: 15%) +2025-09-15T14:20:49.558Z | [OTHER] | Attempt 4406: Error rate 50.79% (target: 15%) +2025-09-15T14:20:49.562Z | [OTHER] | Attempt 4407: Error rate 50.76% (target: 15%) +2025-09-15T14:20:49.567Z | [OTHER] | Attempt 4408: Error rate 47.67% (target: 15%) +2025-09-15T14:20:49.572Z | [OTHER] | Attempt 4409: Error rate 52.22% (target: 15%) +2025-09-15T14:20:49.576Z | [OTHER] | Attempt 4410: Error rate 44.17% (target: 15%) +2025-09-15T14:20:49.581Z | [OTHER] | Attempt 4411: Error rate 53.85% (target: 15%) +2025-09-15T14:20:49.586Z | [OTHER] | Attempt 4412: Error rate 52.78% (target: 15%) +2025-09-15T14:20:49.590Z | [OTHER] | Attempt 4413: Error rate 51.85% (target: 15%) +2025-09-15T14:20:49.595Z | [OTHER] | Attempt 4414: Error rate 49.26% (target: 15%) +2025-09-15T14:20:49.600Z | [OTHER] | Attempt 4415: Error rate 52.78% (target: 15%) +2025-09-15T14:20:49.605Z | [OTHER] | Attempt 4416: Error rate 56.59% (target: 15%) +2025-09-15T14:20:49.610Z | [OTHER] | Attempt 4417: Error rate 54.35% (target: 15%) +2025-09-15T14:20:49.614Z | [OTHER] | Attempt 4418: Error rate 48.02% (target: 15%) +2025-09-15T14:20:49.619Z | [OTHER] | Attempt 4419: Error rate 54.92% (target: 15%) +2025-09-15T14:20:49.624Z | [OTHER] | Attempt 4420: Error rate 55.68% (target: 15%) +2025-09-15T14:20:49.630Z | [OTHER] | Attempt 4421: Error rate 44.2% (target: 15%) +2025-09-15T14:20:49.636Z | [OTHER] | Attempt 4422: Error rate 50.71% (target: 15%) +2025-09-15T14:20:49.643Z | [OTHER] | Attempt 4423: Error rate 55% (target: 15%) +2025-09-15T14:20:49.649Z | [OTHER] | Attempt 4424: Error rate 58.91% (target: 15%) +2025-09-15T14:20:49.654Z | [OTHER] | Attempt 4425: Error rate 55.93% (target: 15%) +2025-09-15T14:20:49.659Z | [OTHER] | Attempt 4426: Error rate 56.25% (target: 15%) +2025-09-15T14:20:49.664Z | [OTHER] | Attempt 4427: Error rate 47.67% (target: 15%) +2025-09-15T14:20:49.669Z | [OTHER] | Attempt 4428: Error rate 47.22% (target: 15%) +2025-09-15T14:20:49.674Z | [OTHER] | Attempt 4429: Error rate 49.56% (target: 15%) +2025-09-15T14:20:49.679Z | [OTHER] | Attempt 4430: Error rate 42.11% (target: 15%) +2025-09-15T14:20:49.684Z | [OTHER] | Attempt 4431: Error rate 55.69% (target: 15%) +2025-09-15T14:20:49.689Z | [OTHER] | Attempt 4432: Error rate 54.07% (target: 15%) +2025-09-15T14:20:49.694Z | [OTHER] | Attempt 4433: Error rate 59.63% (target: 15%) +2025-09-15T14:20:49.699Z | [OTHER] | Attempt 4434: Error rate 51.11% (target: 15%) +2025-09-15T14:20:49.703Z | [OTHER] | Attempt 4435: Error rate 52.17% (target: 15%) +2025-09-15T14:20:49.709Z | [OTHER] | Attempt 4436: Error rate 52.9% (target: 15%) +2025-09-15T14:20:49.714Z | [OTHER] | Attempt 4437: Error rate 49.62% (target: 15%) +2025-09-15T14:20:49.719Z | [OTHER] | Attempt 4438: Error rate 55% (target: 15%) +2025-09-15T14:20:49.723Z | [OTHER] | Attempt 4439: Error rate 55.1% (target: 15%) +2025-09-15T14:20:49.728Z | [OTHER] | Attempt 4440: Error rate 51.94% (target: 15%) +2025-09-15T14:20:49.733Z | [OTHER] | Attempt 4441: Error rate 61.11% (target: 15%) +2025-09-15T14:20:49.738Z | [OTHER] | Attempt 4442: Error rate 55.28% (target: 15%) +2025-09-15T14:20:49.743Z | [OTHER] | Attempt 4443: Error rate 48.45% (target: 15%) +2025-09-15T14:20:49.747Z | [OTHER] | Attempt 4444: Error rate 47.1% (target: 15%) +2025-09-15T14:20:49.752Z | [OTHER] | Attempt 4445: Error rate 59.48% (target: 15%) +2025-09-15T14:20:49.757Z | [OTHER] | Attempt 4446: Error rate 45.93% (target: 15%) +2025-09-15T14:20:49.762Z | [OTHER] | Attempt 4447: Error rate 52.56% (target: 15%) +2025-09-15T14:20:49.767Z | [OTHER] | Attempt 4448: Error rate 52.84% (target: 15%) +2025-09-15T14:20:49.771Z | [OTHER] | Attempt 4449: Error rate 47.35% (target: 15%) +2025-09-15T14:20:49.776Z | [OTHER] | Attempt 4450: Error rate 46.25% (target: 15%) +2025-09-15T14:20:49.781Z | [OTHER] | Attempt 4451: Error rate 50.45% (target: 15%) +2025-09-15T14:20:49.785Z | [OTHER] | Attempt 4452: Error rate 53.26% (target: 15%) +2025-09-15T14:20:49.790Z | [OTHER] | Attempt 4453: Error rate 50.35% (target: 15%) +2025-09-15T14:20:49.794Z | [OTHER] | Attempt 4454: Error rate 52.44% (target: 15%) +2025-09-15T14:20:49.799Z | [OTHER] | Attempt 4455: Error rate 45.95% (target: 15%) +2025-09-15T14:20:49.804Z | [OTHER] | Attempt 4456: Error rate 48.89% (target: 15%) +2025-09-15T14:20:49.809Z | [OTHER] | Attempt 4457: Error rate 52.92% (target: 15%) +2025-09-15T14:20:49.814Z | [OTHER] | Attempt 4458: Error rate 50% (target: 15%) +2025-09-15T14:20:49.818Z | [OTHER] | Attempt 4459: Error rate 50.72% (target: 15%) +2025-09-15T14:20:49.823Z | [OTHER] | Attempt 4460: Error rate 60.42% (target: 15%) +2025-09-15T14:20:49.828Z | [OTHER] | Attempt 4461: Error rate 47.29% (target: 15%) +2025-09-15T14:20:49.832Z | [OTHER] | Attempt 4462: Error rate 53.41% (target: 15%) +2025-09-15T14:20:49.837Z | [OTHER] | Attempt 4463: Error rate 50% (target: 15%) +2025-09-15T14:20:49.842Z | [OTHER] | Attempt 4464: Error rate 63.33% (target: 15%) +2025-09-15T14:20:49.846Z | [OTHER] | Attempt 4465: Error rate 57.61% (target: 15%) +2025-09-15T14:20:49.852Z | [OTHER] | Attempt 4466: Error rate 50.83% (target: 15%) +2025-09-15T14:20:49.856Z | [OTHER] | Attempt 4467: Error rate 46.34% (target: 15%) +2025-09-15T14:20:49.861Z | [OTHER] | Attempt 4468: Error rate 61.51% (target: 15%) +2025-09-15T14:20:49.866Z | [OTHER] | Attempt 4469: Error rate 50.4% (target: 15%) +2025-09-15T14:20:49.870Z | [OTHER] | Attempt 4470: Error rate 55.42% (target: 15%) +2025-09-15T14:20:49.875Z | [OTHER] | Attempt 4471: Error rate 46.97% (target: 15%) +2025-09-15T14:20:49.879Z | [OTHER] | Attempt 4472: Error rate 52.78% (target: 15%) +2025-09-15T14:20:49.884Z | [OTHER] | Attempt 4473: Error rate 52.99% (target: 15%) +2025-09-15T14:20:49.889Z | [OTHER] | Attempt 4474: Error rate 48.45% (target: 15%) +2025-09-15T14:20:49.894Z | [OTHER] | Attempt 4475: Error rate 53.67% (target: 15%) +2025-09-15T14:20:49.899Z | [OTHER] | Attempt 4476: Error rate 45.56% (target: 15%) +2025-09-15T14:20:49.904Z | [OTHER] | Attempt 4477: Error rate 52.33% (target: 15%) +2025-09-15T14:20:49.909Z | [OTHER] | Attempt 4478: Error rate 55.19% (target: 15%) +2025-09-15T14:20:49.913Z | [OTHER] | Attempt 4479: Error rate 48.06% (target: 15%) +2025-09-15T14:20:49.918Z | [OTHER] | Attempt 4480: Error rate 58.54% (target: 15%) +2025-09-15T14:20:49.923Z | [OTHER] | Attempt 4481: Error rate 55.43% (target: 15%) +2025-09-15T14:20:49.927Z | [OTHER] | Attempt 4482: Error rate 50% (target: 15%) +2025-09-15T14:20:49.932Z | [OTHER] | Attempt 4483: Error rate 48.19% (target: 15%) +2025-09-15T14:20:49.937Z | [OTHER] | Attempt 4484: Error rate 47.37% (target: 15%) +2025-09-15T14:20:49.948Z | [OTHER] | Attempt 4485: Error rate 61.25% (target: 15%) +2025-09-15T14:20:49.957Z | [OTHER] | Attempt 4486: Error rate 50.41% (target: 15%) +2025-09-15T14:20:49.968Z | [OTHER] | Attempt 4487: Error rate 61.11% (target: 15%) +2025-09-15T14:20:49.975Z | [OTHER] | Attempt 4488: Error rate 45.65% (target: 15%) +2025-09-15T14:20:49.982Z | [OTHER] | Attempt 4489: Error rate 58.14% (target: 15%) +2025-09-15T14:20:49.988Z | [OTHER] | Attempt 4490: Error rate 50.74% (target: 15%) +2025-09-15T14:20:49.993Z | [OTHER] | Attempt 4491: Error rate 51.14% (target: 15%) +2025-09-15T14:20:49.999Z | [OTHER] | Attempt 4492: Error rate 53.1% (target: 15%) +2025-09-15T14:20:50.005Z | [OTHER] | Attempt 4493: Error rate 50% (target: 15%) +2025-09-15T14:20:50.011Z | [OTHER] | Attempt 4494: Error rate 53.79% (target: 15%) +2025-09-15T14:20:50.018Z | [OTHER] | Attempt 4495: Error rate 53.55% (target: 15%) +2025-09-15T14:20:50.024Z | [OTHER] | Attempt 4496: Error rate 52.54% (target: 15%) +2025-09-15T14:20:50.029Z | [OTHER] | Attempt 4497: Error rate 51.11% (target: 15%) +2025-09-15T14:20:50.034Z | [OTHER] | Attempt 4498: Error rate 53.88% (target: 15%) +2025-09-15T14:20:50.038Z | [OTHER] | Attempt 4499: Error rate 47.1% (target: 15%) +2025-09-15T14:20:50.044Z | [OTHER] | Attempt 4500: Error rate 52.08% (target: 15%) +2025-09-15T14:20:50.049Z | [OTHER] | Attempt 4501: Error rate 48.81% (target: 15%) +2025-09-15T14:20:50.055Z | [OTHER] | Attempt 4502: Error rate 51.45% (target: 15%) +2025-09-15T14:20:50.061Z | [OTHER] | Attempt 4503: Error rate 51.42% (target: 15%) +2025-09-15T14:20:50.066Z | [OTHER] | Attempt 4504: Error rate 45.53% (target: 15%) +2025-09-15T14:20:50.072Z | [OTHER] | Attempt 4505: Error rate 55.56% (target: 15%) +2025-09-15T14:20:50.077Z | [OTHER] | Attempt 4506: Error rate 52.71% (target: 15%) +2025-09-15T14:20:50.082Z | [OTHER] | Attempt 4507: Error rate 62.22% (target: 15%) +2025-09-15T14:20:50.087Z | [OTHER] | Attempt 4508: Error rate 56.35% (target: 15%) +2025-09-15T14:20:50.092Z | [OTHER] | Attempt 4509: Error rate 50.35% (target: 15%) +2025-09-15T14:20:50.096Z | [OTHER] | Attempt 4510: Error rate 54.96% (target: 15%) +2025-09-15T14:20:50.101Z | [OTHER] | Attempt 4511: Error rate 53.75% (target: 15%) +2025-09-15T14:20:50.106Z | [OTHER] | Attempt 4512: Error rate 57.5% (target: 15%) +2025-09-15T14:20:50.110Z | [OTHER] | Attempt 4513: Error rate 46.9% (target: 15%) +2025-09-15T14:20:50.115Z | [OTHER] | Attempt 4514: Error rate 56.67% (target: 15%) +2025-09-15T14:20:50.120Z | [OTHER] | Attempt 4515: Error rate 59.22% (target: 15%) +2025-09-15T14:20:50.125Z | [OTHER] | Attempt 4516: Error rate 51.48% (target: 15%) +2025-09-15T14:20:50.131Z | [OTHER] | Attempt 4517: Error rate 51.63% (target: 15%) +2025-09-15T14:20:50.136Z | [OTHER] | Attempt 4518: Error rate 51.89% (target: 15%) +2025-09-15T14:20:50.140Z | [OTHER] | Attempt 4519: Error rate 48.84% (target: 15%) +2025-09-15T14:20:50.147Z | [OTHER] | Attempt 4520: Error rate 58.52% (target: 15%) +2025-09-15T14:20:50.152Z | [OTHER] | Attempt 4521: Error rate 55.8% (target: 15%) +2025-09-15T14:20:50.158Z | [OTHER] | Attempt 4522: Error rate 49.19% (target: 15%) +2025-09-15T14:20:50.162Z | [OTHER] | Attempt 4523: Error rate 51.89% (target: 15%) +2025-09-15T14:20:50.167Z | [OTHER] | Attempt 4524: Error rate 60.99% (target: 15%) +2025-09-15T14:20:50.172Z | [OTHER] | Attempt 4525: Error rate 56.6% (target: 15%) +2025-09-15T14:20:50.176Z | [OTHER] | Attempt 4526: Error rate 59.57% (target: 15%) +2025-09-15T14:20:50.182Z | [OTHER] | Attempt 4527: Error rate 54.71% (target: 15%) +2025-09-15T14:20:50.187Z | [OTHER] | Attempt 4528: Error rate 47.57% (target: 15%) +2025-09-15T14:20:50.192Z | [OTHER] | Attempt 4529: Error rate 53.42% (target: 15%) +2025-09-15T14:20:50.197Z | [OTHER] | Attempt 4530: Error rate 42.74% (target: 15%) +2025-09-15T14:20:50.202Z | [OTHER] | Attempt 4531: Error rate 52.63% (target: 15%) +2025-09-15T14:20:50.206Z | [OTHER] | Attempt 4532: Error rate 53.17% (target: 15%) +2025-09-15T14:20:50.211Z | [OTHER] | Attempt 4533: Error rate 56.88% (target: 15%) +2025-09-15T14:20:50.216Z | [OTHER] | Attempt 4534: Error rate 52.9% (target: 15%) +2025-09-15T14:20:50.222Z | [OTHER] | Attempt 4535: Error rate 51.43% (target: 15%) +2025-09-15T14:20:50.226Z | [OTHER] | Attempt 4536: Error rate 58.33% (target: 15%) +2025-09-15T14:20:50.232Z | [OTHER] | Attempt 4537: Error rate 48.84% (target: 15%) +2025-09-15T14:20:50.236Z | [OTHER] | Attempt 4538: Error rate 52.65% (target: 15%) +2025-09-15T14:20:50.241Z | [OTHER] | Attempt 4539: Error rate 53.7% (target: 15%) +2025-09-15T14:20:50.246Z | [OTHER] | Attempt 4540: Error rate 50% (target: 15%) +2025-09-15T14:20:50.251Z | [OTHER] | Attempt 4541: Error rate 54.44% (target: 15%) +2025-09-15T14:20:50.255Z | [OTHER] | Attempt 4542: Error rate 56.1% (target: 15%) +2025-09-15T14:20:50.260Z | [OTHER] | Attempt 4543: Error rate 50.35% (target: 15%) +2025-09-15T14:20:50.265Z | [OTHER] | Attempt 4544: Error rate 54.5% (target: 15%) +2025-09-15T14:20:50.270Z | [OTHER] | Attempt 4545: Error rate 56.25% (target: 15%) +2025-09-15T14:20:50.275Z | [OTHER] | Attempt 4546: Error rate 53.03% (target: 15%) +2025-09-15T14:20:50.280Z | [OTHER] | Attempt 4547: Error rate 58.87% (target: 15%) +2025-09-15T14:20:50.285Z | [OTHER] | Attempt 4548: Error rate 55.21% (target: 15%) +2025-09-15T14:20:50.290Z | [OTHER] | Attempt 4549: Error rate 46.83% (target: 15%) +2025-09-15T14:20:50.295Z | [OTHER] | Attempt 4550: Error rate 49.62% (target: 15%) +2025-09-15T14:20:50.301Z | [OTHER] | Attempt 4551: Error rate 51.67% (target: 15%) +2025-09-15T14:20:50.306Z | [OTHER] | Attempt 4552: Error rate 48.75% (target: 15%) +2025-09-15T14:20:50.311Z | [OTHER] | Attempt 4553: Error rate 52.78% (target: 15%) +2025-09-15T14:20:50.316Z | [OTHER] | Attempt 4554: Error rate 48.19% (target: 15%) +2025-09-15T14:20:50.321Z | [OTHER] | Attempt 4555: Error rate 48.81% (target: 15%) +2025-09-15T14:20:50.327Z | [OTHER] | Attempt 4556: Error rate 55.07% (target: 15%) +2025-09-15T14:20:50.333Z | [OTHER] | Attempt 4557: Error rate 56.6% (target: 15%) +2025-09-15T14:20:50.338Z | [OTHER] | Attempt 4558: Error rate 55.83% (target: 15%) +2025-09-15T14:20:50.343Z | [OTHER] | Attempt 4559: Error rate 51.48% (target: 15%) +2025-09-15T14:20:50.348Z | [OTHER] | Attempt 4560: Error rate 49.63% (target: 15%) +2025-09-15T14:20:50.353Z | [OTHER] | Attempt 4561: Error rate 56.94% (target: 15%) +2025-09-15T14:20:50.358Z | [OTHER] | Attempt 4562: Error rate 54.71% (target: 15%) +2025-09-15T14:20:50.363Z | [OTHER] | Attempt 4563: Error rate 55.19% (target: 15%) +2025-09-15T14:20:50.368Z | [OTHER] | Attempt 4564: Error rate 56.75% (target: 15%) +2025-09-15T14:20:50.372Z | [OTHER] | Attempt 4565: Error rate 50% (target: 15%) +2025-09-15T14:20:50.377Z | [OTHER] | Attempt 4566: Error rate 51.06% (target: 15%) +2025-09-15T14:20:50.382Z | [OTHER] | Attempt 4567: Error rate 51.14% (target: 15%) +2025-09-15T14:20:50.387Z | [OTHER] | Attempt 4568: Error rate 53.51% (target: 15%) +2025-09-15T14:20:50.392Z | [OTHER] | Attempt 4569: Error rate 51.52% (target: 15%) +2025-09-15T14:20:50.396Z | [OTHER] | Attempt 4570: Error rate 56.88% (target: 15%) +2025-09-15T14:20:50.401Z | [OTHER] | Attempt 4571: Error rate 50% (target: 15%) +2025-09-15T14:20:50.406Z | [OTHER] | Attempt 4572: Error rate 56.82% (target: 15%) +2025-09-15T14:20:50.410Z | [OTHER] | Attempt 4573: Error rate 49.28% (target: 15%) +2025-09-15T14:20:50.415Z | [OTHER] | Attempt 4574: Error rate 46.75% (target: 15%) +2025-09-15T14:20:50.420Z | [OTHER] | Attempt 4575: Error rate 53.47% (target: 15%) +2025-09-15T14:20:50.425Z | [OTHER] | Attempt 4576: Error rate 51.14% (target: 15%) +2025-09-15T14:20:50.430Z | [OTHER] | Attempt 4577: Error rate 46.01% (target: 15%) +2025-09-15T14:20:50.435Z | [OTHER] | Attempt 4578: Error rate 53.7% (target: 15%) +2025-09-15T14:20:50.440Z | [OTHER] | Attempt 4579: Error rate 45.74% (target: 15%) +2025-09-15T14:20:50.444Z | [OTHER] | Attempt 4580: Error rate 53.9% (target: 15%) +2025-09-15T14:20:50.449Z | [OTHER] | Attempt 4581: Error rate 57.64% (target: 15%) +2025-09-15T14:20:50.453Z | [OTHER] | Attempt 4582: Error rate 48.15% (target: 15%) +2025-09-15T14:20:50.459Z | [OTHER] | Attempt 4583: Error rate 53.55% (target: 15%) +2025-09-15T14:20:50.464Z | [OTHER] | Attempt 4584: Error rate 57.48% (target: 15%) +2025-09-15T14:20:50.468Z | [OTHER] | Attempt 4585: Error rate 50% (target: 15%) +2025-09-15T14:20:50.473Z | [OTHER] | Attempt 4586: Error rate 53% (target: 15%) +2025-09-15T14:20:50.478Z | [OTHER] | Attempt 4587: Error rate 47.97% (target: 15%) +2025-09-15T14:20:50.483Z | [OTHER] | Attempt 4588: Error rate 47.22% (target: 15%) +2025-09-15T14:20:50.488Z | [OTHER] | Attempt 4589: Error rate 51.89% (target: 15%) +2025-09-15T14:20:50.493Z | [OTHER] | Attempt 4590: Error rate 57.29% (target: 15%) +2025-09-15T14:20:50.498Z | [OTHER] | Attempt 4591: Error rate 64.73% (target: 15%) +2025-09-15T14:20:50.503Z | [OTHER] | Attempt 4592: Error rate 53.26% (target: 15%) +2025-09-15T14:20:50.510Z | [OTHER] | Attempt 4593: Error rate 52.33% (target: 15%) +2025-09-15T14:20:50.514Z | [OTHER] | Attempt 4594: Error rate 53.25% (target: 15%) +2025-09-15T14:20:50.519Z | [OTHER] | Attempt 4595: Error rate 54.35% (target: 15%) +2025-09-15T14:20:50.524Z | [OTHER] | Attempt 4596: Error rate 55.43% (target: 15%) +2025-09-15T14:20:50.528Z | [OTHER] | Attempt 4597: Error rate 53.99% (target: 15%) +2025-09-15T14:20:50.533Z | [OTHER] | Attempt 4598: Error rate 39.92% (target: 15%) +2025-09-15T14:20:50.539Z | [OTHER] | Attempt 4599: Error rate 49.15% (target: 15%) +2025-09-15T14:20:50.543Z | [OTHER] | Attempt 4600: Error rate 52.9% (target: 15%) +2025-09-15T14:20:50.548Z | [OTHER] | Attempt 4601: Error rate 49.24% (target: 15%) +2025-09-15T14:20:50.553Z | [OTHER] | Attempt 4602: Error rate 55.43% (target: 15%) +2025-09-15T14:20:50.558Z | [OTHER] | Attempt 4603: Error rate 51.67% (target: 15%) +2025-09-15T14:20:50.563Z | [OTHER] | Attempt 4604: Error rate 55.3% (target: 15%) +2025-09-15T14:20:50.568Z | [OTHER] | Attempt 4605: Error rate 43.56% (target: 15%) +2025-09-15T14:20:50.573Z | [OTHER] | Attempt 4606: Error rate 60.26% (target: 15%) +2025-09-15T14:20:50.578Z | [OTHER] | Attempt 4607: Error rate 56.38% (target: 15%) +2025-09-15T14:20:50.583Z | [OTHER] | Attempt 4608: Error rate 50.67% (target: 15%) +2025-09-15T14:20:50.588Z | [OTHER] | Attempt 4609: Error rate 49.31% (target: 15%) +2025-09-15T14:20:50.593Z | [OTHER] | Attempt 4610: Error rate 53.06% (target: 15%) +2025-09-15T14:20:50.598Z | [OTHER] | Attempt 4611: Error rate 43.9% (target: 15%) +2025-09-15T14:20:50.603Z | [OTHER] | Attempt 4612: Error rate 47.67% (target: 15%) +2025-09-15T14:20:50.608Z | [OTHER] | Attempt 4613: Error rate 56.91% (target: 15%) +2025-09-15T14:20:50.613Z | [OTHER] | Attempt 4614: Error rate 46.03% (target: 15%) +2025-09-15T14:20:50.618Z | [OTHER] | Attempt 4615: Error rate 55.98% (target: 15%) +2025-09-15T14:20:50.623Z | [OTHER] | Attempt 4616: Error rate 55.81% (target: 15%) +2025-09-15T14:20:50.628Z | [OTHER] | Attempt 4617: Error rate 50.85% (target: 15%) +2025-09-15T14:20:50.633Z | [OTHER] | Attempt 4618: Error rate 47.22% (target: 15%) +2025-09-15T14:20:50.637Z | [OTHER] | Attempt 4619: Error rate 56.44% (target: 15%) +2025-09-15T14:20:50.643Z | [OTHER] | Attempt 4620: Error rate 55.16% (target: 15%) +2025-09-15T14:20:50.648Z | [OTHER] | Attempt 4621: Error rate 63.1% (target: 15%) +2025-09-15T14:20:50.653Z | [OTHER] | Attempt 4622: Error rate 49.58% (target: 15%) +2025-09-15T14:20:50.657Z | [OTHER] | Attempt 4623: Error rate 54.26% (target: 15%) +2025-09-15T14:20:50.662Z | [OTHER] | Attempt 4624: Error rate 52.14% (target: 15%) +2025-09-15T14:20:50.667Z | [OTHER] | Attempt 4625: Error rate 55.42% (target: 15%) +2025-09-15T14:20:50.671Z | [OTHER] | Attempt 4626: Error rate 48.84% (target: 15%) +2025-09-15T14:20:50.677Z | [OTHER] | Attempt 4627: Error rate 51.45% (target: 15%) +2025-09-15T14:20:50.683Z | [OTHER] | Attempt 4628: Error rate 47.15% (target: 15%) +2025-09-15T14:20:50.688Z | [OTHER] | Attempt 4629: Error rate 50.81% (target: 15%) +2025-09-15T14:20:50.693Z | [OTHER] | Attempt 4630: Error rate 44.1% (target: 15%) +2025-09-15T14:20:50.698Z | [OTHER] | Attempt 4631: Error rate 48.78% (target: 15%) +2025-09-15T14:20:50.702Z | [OTHER] | Attempt 4632: Error rate 50% (target: 15%) +2025-09-15T14:20:50.708Z | [OTHER] | Attempt 4633: Error rate 48.11% (target: 15%) +2025-09-15T14:20:50.713Z | [OTHER] | Attempt 4634: Error rate 52.22% (target: 15%) +2025-09-15T14:20:50.719Z | [OTHER] | Attempt 4635: Error rate 50.41% (target: 15%) +2025-09-15T14:20:50.724Z | [OTHER] | Attempt 4636: Error rate 54.35% (target: 15%) +2025-09-15T14:20:50.729Z | [OTHER] | Attempt 4637: Error rate 55.04% (target: 15%) +2025-09-15T14:20:50.733Z | [OTHER] | Attempt 4638: Error rate 56.44% (target: 15%) +2025-09-15T14:20:50.738Z | [OTHER] | Attempt 4639: Error rate 57.14% (target: 15%) +2025-09-15T14:20:50.743Z | [OTHER] | Attempt 4640: Error rate 53.55% (target: 15%) +2025-09-15T14:20:50.747Z | [OTHER] | Attempt 4641: Error rate 47.52% (target: 15%) +2025-09-15T14:20:50.752Z | [OTHER] | Attempt 4642: Error rate 49.15% (target: 15%) +2025-09-15T14:20:50.757Z | [OTHER] | Attempt 4643: Error rate 46.12% (target: 15%) +2025-09-15T14:20:50.762Z | [OTHER] | Attempt 4644: Error rate 62.33% (target: 15%) +2025-09-15T14:20:50.767Z | [OTHER] | Attempt 4645: Error rate 51.22% (target: 15%) +2025-09-15T14:20:50.771Z | [OTHER] | Attempt 4646: Error rate 57.95% (target: 15%) +2025-09-15T14:20:50.776Z | [OTHER] | Attempt 4647: Error rate 55.56% (target: 15%) +2025-09-15T14:20:50.782Z | [OTHER] | Attempt 4648: Error rate 55.93% (target: 15%) +2025-09-15T14:20:50.786Z | [OTHER] | Attempt 4649: Error rate 57.2% (target: 15%) +2025-09-15T14:20:50.791Z | [OTHER] | Attempt 4650: Error rate 56.1% (target: 15%) +2025-09-15T14:20:50.796Z | [OTHER] | Attempt 4651: Error rate 50% (target: 15%) +2025-09-15T14:20:50.801Z | [OTHER] | Attempt 4652: Error rate 52.33% (target: 15%) +2025-09-15T14:20:50.806Z | [OTHER] | Attempt 4653: Error rate 48.84% (target: 15%) +2025-09-15T14:20:50.811Z | [OTHER] | Attempt 4654: Error rate 57.61% (target: 15%) +2025-09-15T14:20:50.816Z | [OTHER] | Attempt 4655: Error rate 43.12% (target: 15%) +2025-09-15T14:20:50.822Z | [OTHER] | Attempt 4656: Error rate 50% (target: 15%) +2025-09-15T14:20:50.827Z | [OTHER] | Attempt 4657: Error rate 58.7% (target: 15%) +2025-09-15T14:20:50.832Z | [OTHER] | Attempt 4658: Error rate 53.33% (target: 15%) +2025-09-15T14:20:50.837Z | [OTHER] | Attempt 4659: Error rate 47.83% (target: 15%) +2025-09-15T14:20:50.842Z | [OTHER] | Attempt 4660: Error rate 51.85% (target: 15%) +2025-09-15T14:20:50.847Z | [OTHER] | Attempt 4661: Error rate 55.21% (target: 15%) +2025-09-15T14:20:50.851Z | [OTHER] | Attempt 4662: Error rate 46.9% (target: 15%) +2025-09-15T14:20:50.856Z | [OTHER] | Attempt 4663: Error rate 59.86% (target: 15%) +2025-09-15T14:20:50.861Z | [OTHER] | Attempt 4664: Error rate 55.93% (target: 15%) +2025-09-15T14:20:50.866Z | [OTHER] | Attempt 4665: Error rate 52.27% (target: 15%) +2025-09-15T14:20:50.872Z | [OTHER] | Attempt 4666: Error rate 47.62% (target: 15%) +2025-09-15T14:20:50.876Z | [OTHER] | Attempt 4667: Error rate 54.81% (target: 15%) +2025-09-15T14:20:50.882Z | [OTHER] | Attempt 4668: Error rate 49.64% (target: 15%) +2025-09-15T14:20:50.887Z | [OTHER] | Attempt 4669: Error rate 52.71% (target: 15%) +2025-09-15T14:20:50.893Z | [OTHER] | Attempt 4670: Error rate 50% (target: 15%) +2025-09-15T14:20:50.898Z | [OTHER] | Attempt 4671: Error rate 48.52% (target: 15%) +2025-09-15T14:20:50.902Z | [OTHER] | Attempt 4672: Error rate 50.81% (target: 15%) +2025-09-15T14:20:50.908Z | [OTHER] | Attempt 4673: Error rate 59.8% (target: 15%) +2025-09-15T14:20:50.913Z | [OTHER] | Attempt 4674: Error rate 53.88% (target: 15%) +2025-09-15T14:20:50.918Z | [OTHER] | Attempt 4675: Error rate 48.11% (target: 15%) +2025-09-15T14:20:50.922Z | [OTHER] | Attempt 4676: Error rate 54.26% (target: 15%) +2025-09-15T14:20:50.927Z | [OTHER] | Attempt 4677: Error rate 60.57% (target: 15%) +2025-09-15T14:20:50.933Z | [OTHER] | Attempt 4678: Error rate 57.36% (target: 15%) +2025-09-15T14:20:50.937Z | [OTHER] | Attempt 4679: Error rate 56.75% (target: 15%) +2025-09-15T14:20:50.942Z | [OTHER] | Attempt 4680: Error rate 42.05% (target: 15%) +2025-09-15T14:20:50.948Z | [OTHER] | Attempt 4681: Error rate 49.15% (target: 15%) +2025-09-15T14:20:50.953Z | [OTHER] | Attempt 4682: Error rate 48.78% (target: 15%) +2025-09-15T14:20:50.959Z | [OTHER] | Attempt 4683: Error rate 54.08% (target: 15%) +2025-09-15T14:20:50.964Z | [OTHER] | Attempt 4684: Error rate 56.35% (target: 15%) +2025-09-15T14:20:50.969Z | [OTHER] | Attempt 4685: Error rate 50.39% (target: 15%) +2025-09-15T14:20:50.974Z | [OTHER] | Attempt 4686: Error rate 50.4% (target: 15%) +2025-09-15T14:20:50.980Z | [OTHER] | Attempt 4687: Error rate 52.63% (target: 15%) +2025-09-15T14:20:50.985Z | [OTHER] | Attempt 4688: Error rate 51.63% (target: 15%) +2025-09-15T14:20:50.990Z | [OTHER] | Attempt 4689: Error rate 51.45% (target: 15%) +2025-09-15T14:20:50.995Z | [OTHER] | Attempt 4690: Error rate 50.41% (target: 15%) +2025-09-15T14:20:51.000Z | [OTHER] | Attempt 4691: Error rate 52.33% (target: 15%) +2025-09-15T14:20:51.005Z | [OTHER] | Attempt 4692: Error rate 53.26% (target: 15%) +2025-09-15T14:20:51.010Z | [OTHER] | Attempt 4693: Error rate 48.19% (target: 15%) +2025-09-15T14:20:51.015Z | [OTHER] | Attempt 4694: Error rate 58.33% (target: 15%) +2025-09-15T14:20:51.020Z | [OTHER] | Attempt 4695: Error rate 63.33% (target: 15%) +2025-09-15T14:20:51.025Z | [OTHER] | Attempt 4696: Error rate 63.41% (target: 15%) +2025-09-15T14:20:51.030Z | [OTHER] | Attempt 4697: Error rate 57.2% (target: 15%) +2025-09-15T14:20:51.035Z | [OTHER] | Attempt 4698: Error rate 55.56% (target: 15%) +2025-09-15T14:20:51.040Z | [OTHER] | Attempt 4699: Error rate 44.72% (target: 15%) +2025-09-15T14:20:51.045Z | [OTHER] | Attempt 4700: Error rate 58.71% (target: 15%) +2025-09-15T14:20:51.050Z | [OTHER] | Attempt 4701: Error rate 52.59% (target: 15%) +2025-09-15T14:20:51.055Z | [OTHER] | Attempt 4702: Error rate 46.9% (target: 15%) +2025-09-15T14:20:51.061Z | [OTHER] | Attempt 4703: Error rate 46.21% (target: 15%) +2025-09-15T14:20:51.066Z | [OTHER] | Attempt 4704: Error rate 51.85% (target: 15%) +2025-09-15T14:20:51.071Z | [OTHER] | Attempt 4705: Error rate 48.91% (target: 15%) +2025-09-15T14:20:51.076Z | [OTHER] | Attempt 4706: Error rate 60.51% (target: 15%) +2025-09-15T14:20:51.081Z | [OTHER] | Attempt 4707: Error rate 54.81% (target: 15%) +2025-09-15T14:20:51.086Z | [OTHER] | Attempt 4708: Error rate 52.54% (target: 15%) +2025-09-15T14:20:51.091Z | [OTHER] | Attempt 4709: Error rate 46.88% (target: 15%) +2025-09-15T14:20:51.096Z | [OTHER] | Attempt 4710: Error rate 53.62% (target: 15%) +2025-09-15T14:20:51.101Z | [OTHER] | Attempt 4711: Error rate 53.1% (target: 15%) +2025-09-15T14:20:51.106Z | [OTHER] | Attempt 4712: Error rate 57.58% (target: 15%) +2025-09-15T14:20:51.111Z | [OTHER] | Attempt 4713: Error rate 46.19% (target: 15%) +2025-09-15T14:20:51.116Z | [OTHER] | Attempt 4714: Error rate 45.56% (target: 15%) +2025-09-15T14:20:51.121Z | [OTHER] | Attempt 4715: Error rate 43.09% (target: 15%) +2025-09-15T14:20:51.126Z | [OTHER] | Attempt 4716: Error rate 57.8% (target: 15%) +2025-09-15T14:20:51.131Z | [OTHER] | Attempt 4717: Error rate 55.68% (target: 15%) +2025-09-15T14:20:51.136Z | [OTHER] | Attempt 4718: Error rate 54.88% (target: 15%) +2025-09-15T14:20:51.141Z | [OTHER] | Attempt 4719: Error rate 51.19% (target: 15%) +2025-09-15T14:20:51.147Z | [OTHER] | Attempt 4720: Error rate 54.58% (target: 15%) +2025-09-15T14:20:51.152Z | [OTHER] | Attempt 4721: Error rate 39.63% (target: 15%) +2025-09-15T14:20:51.157Z | [OTHER] | Attempt 4722: Error rate 48.26% (target: 15%) +2025-09-15T14:20:51.162Z | [OTHER] | Attempt 4723: Error rate 54.35% (target: 15%) +2025-09-15T14:20:51.167Z | [OTHER] | Attempt 4724: Error rate 44.31% (target: 15%) +2025-09-15T14:20:51.173Z | [OTHER] | Attempt 4725: Error rate 54.81% (target: 15%) +2025-09-15T14:20:51.178Z | [OTHER] | Attempt 4726: Error rate 55.93% (target: 15%) +2025-09-15T14:20:51.183Z | [OTHER] | Attempt 4727: Error rate 51.67% (target: 15%) +2025-09-15T14:20:51.188Z | [OTHER] | Attempt 4728: Error rate 50% (target: 15%) +2025-09-15T14:20:51.193Z | [OTHER] | Attempt 4729: Error rate 49.55% (target: 15%) +2025-09-15T14:20:51.198Z | [OTHER] | Attempt 4730: Error rate 52.59% (target: 15%) +2025-09-15T14:20:51.203Z | [OTHER] | Attempt 4731: Error rate 55.95% (target: 15%) +2025-09-15T14:20:51.208Z | [OTHER] | Attempt 4732: Error rate 52.96% (target: 15%) +2025-09-15T14:20:51.213Z | [OTHER] | Attempt 4733: Error rate 60% (target: 15%) +2025-09-15T14:20:51.218Z | [OTHER] | Attempt 4734: Error rate 51.19% (target: 15%) +2025-09-15T14:20:51.223Z | [OTHER] | Attempt 4735: Error rate 51.89% (target: 15%) +2025-09-15T14:20:51.228Z | [OTHER] | Attempt 4736: Error rate 50.38% (target: 15%) +2025-09-15T14:20:51.234Z | [OTHER] | Attempt 4737: Error rate 46.38% (target: 15%) +2025-09-15T14:20:51.239Z | [OTHER] | Attempt 4738: Error rate 55.16% (target: 15%) +2025-09-15T14:20:51.243Z | [OTHER] | Attempt 4739: Error rate 54.26% (target: 15%) +2025-09-15T14:20:51.249Z | [OTHER] | Attempt 4740: Error rate 52.33% (target: 15%) +2025-09-15T14:20:51.254Z | [OTHER] | Attempt 4741: Error rate 48.58% (target: 15%) +2025-09-15T14:20:51.259Z | [OTHER] | Attempt 4742: Error rate 56.52% (target: 15%) +2025-09-15T14:20:51.265Z | [OTHER] | Attempt 4743: Error rate 54.88% (target: 15%) +2025-09-15T14:20:51.270Z | [OTHER] | Attempt 4744: Error rate 53.17% (target: 15%) +2025-09-15T14:20:51.275Z | [OTHER] | Attempt 4745: Error rate 55.13% (target: 15%) +2025-09-15T14:20:51.280Z | [OTHER] | Attempt 4746: Error rate 47.06% (target: 15%) +2025-09-15T14:20:51.285Z | [OTHER] | Attempt 4747: Error rate 53.49% (target: 15%) +2025-09-15T14:20:51.290Z | [OTHER] | Attempt 4748: Error rate 59.52% (target: 15%) +2025-09-15T14:20:51.294Z | [OTHER] | Attempt 4749: Error rate 59.47% (target: 15%) +2025-09-15T14:20:51.299Z | [OTHER] | Attempt 4750: Error rate 51.45% (target: 15%) +2025-09-15T14:20:51.304Z | [OTHER] | Attempt 4751: Error rate 46.51% (target: 15%) +2025-09-15T14:20:51.309Z | [OTHER] | Attempt 4752: Error rate 58.54% (target: 15%) +2025-09-15T14:20:51.314Z | [OTHER] | Attempt 4753: Error rate 46.59% (target: 15%) +2025-09-15T14:20:51.319Z | [OTHER] | Attempt 4754: Error rate 48.81% (target: 15%) +2025-09-15T14:20:51.324Z | [OTHER] | Attempt 4755: Error rate 52.65% (target: 15%) +2025-09-15T14:20:51.329Z | [OTHER] | Attempt 4756: Error rate 53.55% (target: 15%) +2025-09-15T14:20:51.334Z | [OTHER] | Attempt 4757: Error rate 60.98% (target: 15%) +2025-09-15T14:20:51.339Z | [OTHER] | Attempt 4758: Error rate 47.46% (target: 15%) +2025-09-15T14:20:51.344Z | [OTHER] | Attempt 4759: Error rate 46.45% (target: 15%) +2025-09-15T14:20:51.349Z | [OTHER] | Attempt 4760: Error rate 54.07% (target: 15%) +2025-09-15T14:20:51.353Z | [OTHER] | Attempt 4761: Error rate 50% (target: 15%) +2025-09-15T14:20:51.358Z | [OTHER] | Attempt 4762: Error rate 49.24% (target: 15%) +2025-09-15T14:20:51.364Z | [OTHER] | Attempt 4763: Error rate 50% (target: 15%) +2025-09-15T14:20:51.369Z | [OTHER] | Attempt 4764: Error rate 55.43% (target: 15%) +2025-09-15T14:20:51.374Z | [OTHER] | Attempt 4765: Error rate 51.02% (target: 15%) +2025-09-15T14:20:51.379Z | [OTHER] | Attempt 4766: Error rate 49.24% (target: 15%) +2025-09-15T14:20:51.384Z | [OTHER] | Attempt 4767: Error rate 50.74% (target: 15%) +2025-09-15T14:20:51.388Z | [OTHER] | Attempt 4768: Error rate 53.99% (target: 15%) +2025-09-15T14:20:51.394Z | [OTHER] | Attempt 4769: Error rate 55.56% (target: 15%) +2025-09-15T14:20:51.398Z | [OTHER] | Attempt 4770: Error rate 54.37% (target: 15%) +2025-09-15T14:20:51.403Z | [OTHER] | Attempt 4771: Error rate 49.59% (target: 15%) +2025-09-15T14:20:51.409Z | [OTHER] | Attempt 4772: Error rate 53.66% (target: 15%) +2025-09-15T14:20:51.413Z | [OTHER] | Attempt 4773: Error rate 59.63% (target: 15%) +2025-09-15T14:20:51.418Z | [OTHER] | Attempt 4774: Error rate 54.81% (target: 15%) +2025-09-15T14:20:51.423Z | [OTHER] | Attempt 4775: Error rate 50% (target: 15%) +2025-09-15T14:20:51.428Z | [OTHER] | Attempt 4776: Error rate 56.82% (target: 15%) +2025-09-15T14:20:51.433Z | [OTHER] | Attempt 4777: Error rate 45.19% (target: 15%) +2025-09-15T14:20:51.438Z | [OTHER] | Attempt 4778: Error rate 46.67% (target: 15%) +2025-09-15T14:20:51.443Z | [OTHER] | Attempt 4779: Error rate 56.98% (target: 15%) +2025-09-15T14:20:51.448Z | [OTHER] | Attempt 4780: Error rate 43.56% (target: 15%) +2025-09-15T14:20:51.453Z | [OTHER] | Attempt 4781: Error rate 55.67% (target: 15%) +2025-09-15T14:20:51.458Z | [OTHER] | Attempt 4782: Error rate 56.44% (target: 15%) +2025-09-15T14:20:51.463Z | [OTHER] | Attempt 4783: Error rate 58.53% (target: 15%) +2025-09-15T14:20:51.468Z | [OTHER] | Attempt 4784: Error rate 53.97% (target: 15%) +2025-09-15T14:20:51.473Z | [OTHER] | Attempt 4785: Error rate 56.75% (target: 15%) +2025-09-15T14:20:51.479Z | [OTHER] | Attempt 4786: Error rate 52.96% (target: 15%) +2025-09-15T14:20:51.484Z | [OTHER] | Attempt 4787: Error rate 55.93% (target: 15%) +2025-09-15T14:20:51.488Z | [OTHER] | Attempt 4788: Error rate 52.65% (target: 15%) +2025-09-15T14:20:51.494Z | [OTHER] | Attempt 4789: Error rate 47.28% (target: 15%) +2025-09-15T14:20:51.499Z | [OTHER] | Attempt 4790: Error rate 51.48% (target: 15%) +2025-09-15T14:20:51.504Z | [OTHER] | Attempt 4791: Error rate 47.78% (target: 15%) +2025-09-15T14:20:51.509Z | [OTHER] | Attempt 4792: Error rate 49.24% (target: 15%) +2025-09-15T14:20:51.515Z | [OTHER] | Attempt 4793: Error rate 54.37% (target: 15%) +2025-09-15T14:20:51.520Z | [OTHER] | Attempt 4794: Error rate 52.17% (target: 15%) +2025-09-15T14:20:51.525Z | [OTHER] | Attempt 4795: Error rate 59.63% (target: 15%) +2025-09-15T14:20:51.530Z | [OTHER] | Attempt 4796: Error rate 48.29% (target: 15%) +2025-09-15T14:20:51.535Z | [OTHER] | Attempt 4797: Error rate 44.81% (target: 15%) +2025-09-15T14:20:51.540Z | [OTHER] | Attempt 4798: Error rate 55.3% (target: 15%) +2025-09-15T14:20:51.545Z | [OTHER] | Attempt 4799: Error rate 56.3% (target: 15%) +2025-09-15T14:20:51.550Z | [OTHER] | Attempt 4800: Error rate 53.33% (target: 15%) +2025-09-15T14:20:51.555Z | [OTHER] | Attempt 4801: Error rate 55.04% (target: 15%) +2025-09-15T14:20:51.560Z | [OTHER] | Attempt 4802: Error rate 47.67% (target: 15%) +2025-09-15T14:20:51.565Z | [OTHER] | Attempt 4803: Error rate 52.33% (target: 15%) +2025-09-15T14:20:51.571Z | [OTHER] | Attempt 4804: Error rate 44.96% (target: 15%) +2025-09-15T14:20:51.576Z | [OTHER] | Attempt 4805: Error rate 54.88% (target: 15%) +2025-09-15T14:20:51.582Z | [OTHER] | Attempt 4806: Error rate 58.33% (target: 15%) +2025-09-15T14:20:51.587Z | [OTHER] | Attempt 4807: Error rate 56.94% (target: 15%) +2025-09-15T14:20:51.592Z | [OTHER] | Attempt 4808: Error rate 54.44% (target: 15%) +2025-09-15T14:20:51.597Z | [OTHER] | Attempt 4809: Error rate 59.06% (target: 15%) +2025-09-15T14:20:51.602Z | [OTHER] | Attempt 4810: Error rate 50% (target: 15%) +2025-09-15T14:20:51.607Z | [OTHER] | Attempt 4811: Error rate 47.57% (target: 15%) +2025-09-15T14:20:51.612Z | [OTHER] | Attempt 4812: Error rate 43.12% (target: 15%) +2025-09-15T14:20:51.617Z | [OTHER] | Attempt 4813: Error rate 57.58% (target: 15%) +2025-09-15T14:20:51.622Z | [OTHER] | Attempt 4814: Error rate 45.04% (target: 15%) +2025-09-15T14:20:51.628Z | [OTHER] | Attempt 4815: Error rate 47.83% (target: 15%) +2025-09-15T14:20:51.634Z | [OTHER] | Attempt 4816: Error rate 58.33% (target: 15%) +2025-09-15T14:20:51.638Z | [OTHER] | Attempt 4817: Error rate 52.5% (target: 15%) +2025-09-15T14:20:51.643Z | [OTHER] | Attempt 4818: Error rate 53.62% (target: 15%) +2025-09-15T14:20:51.648Z | [OTHER] | Attempt 4819: Error rate 47.97% (target: 15%) +2025-09-15T14:20:51.653Z | [OTHER] | Attempt 4820: Error rate 57.29% (target: 15%) +2025-09-15T14:20:51.659Z | [OTHER] | Attempt 4821: Error rate 60.33% (target: 15%) +2025-09-15T14:20:51.664Z | [OTHER] | Attempt 4822: Error rate 58.33% (target: 15%) +2025-09-15T14:20:51.669Z | [OTHER] | Attempt 4823: Error rate 47.22% (target: 15%) +2025-09-15T14:20:51.674Z | [OTHER] | Attempt 4824: Error rate 55.3% (target: 15%) +2025-09-15T14:20:51.679Z | [OTHER] | Attempt 4825: Error rate 53.57% (target: 15%) +2025-09-15T14:20:51.684Z | [OTHER] | Attempt 4826: Error rate 52.59% (target: 15%) +2025-09-15T14:20:51.689Z | [OTHER] | Attempt 4827: Error rate 52.59% (target: 15%) +2025-09-15T14:20:51.694Z | [OTHER] | Attempt 4828: Error rate 55.04% (target: 15%) +2025-09-15T14:20:51.699Z | [OTHER] | Attempt 4829: Error rate 64.1% (target: 15%) +2025-09-15T14:20:51.703Z | [OTHER] | Attempt 4830: Error rate 52.17% (target: 15%) +2025-09-15T14:20:51.709Z | [OTHER] | Attempt 4831: Error rate 54.76% (target: 15%) +2025-09-15T14:20:51.714Z | [OTHER] | Attempt 4832: Error rate 54.76% (target: 15%) +2025-09-15T14:20:51.721Z | [OTHER] | Attempt 4833: Error rate 54.86% (target: 15%) +2025-09-15T14:20:51.730Z | [OTHER] | Attempt 4834: Error rate 48.06% (target: 15%) +2025-09-15T14:20:51.735Z | [OTHER] | Attempt 4835: Error rate 51.42% (target: 15%) +2025-09-15T14:20:51.741Z | [OTHER] | Attempt 4836: Error rate 55.81% (target: 15%) +2025-09-15T14:20:51.746Z | [OTHER] | Attempt 4837: Error rate 50% (target: 15%) +2025-09-15T14:20:51.752Z | [OTHER] | Attempt 4838: Error rate 46.75% (target: 15%) +2025-09-15T14:20:51.757Z | [OTHER] | Attempt 4839: Error rate 50.72% (target: 15%) +2025-09-15T14:20:51.763Z | [OTHER] | Attempt 4840: Error rate 54.65% (target: 15%) +2025-09-15T14:20:51.768Z | [OTHER] | Attempt 4841: Error rate 51.94% (target: 15%) +2025-09-15T14:20:51.773Z | [OTHER] | Attempt 4842: Error rate 53.88% (target: 15%) +2025-09-15T14:20:51.779Z | [OTHER] | Attempt 4843: Error rate 50.35% (target: 15%) +2025-09-15T14:20:51.785Z | [OTHER] | Attempt 4844: Error rate 59.3% (target: 15%) +2025-09-15T14:20:51.790Z | [OTHER] | Attempt 4845: Error rate 46.45% (target: 15%) +2025-09-15T14:20:51.795Z | [OTHER] | Attempt 4846: Error rate 50.74% (target: 15%) +2025-09-15T14:20:51.801Z | [OTHER] | Attempt 4847: Error rate 46.67% (target: 15%) +2025-09-15T14:20:51.806Z | [OTHER] | Attempt 4848: Error rate 52.59% (target: 15%) +2025-09-15T14:20:51.811Z | [OTHER] | Attempt 4849: Error rate 49.58% (target: 15%) +2025-09-15T14:20:51.816Z | [OTHER] | Attempt 4850: Error rate 51.59% (target: 15%) +2025-09-15T14:20:51.821Z | [OTHER] | Attempt 4851: Error rate 54.88% (target: 15%) +2025-09-15T14:20:51.826Z | [OTHER] | Attempt 4852: Error rate 50% (target: 15%) +2025-09-15T14:20:51.831Z | [OTHER] | Attempt 4853: Error rate 45.12% (target: 15%) +2025-09-15T14:20:51.836Z | [OTHER] | Attempt 4854: Error rate 51.22% (target: 15%) +2025-09-15T14:20:51.841Z | [OTHER] | Attempt 4855: Error rate 54.37% (target: 15%) +2025-09-15T14:20:51.846Z | [OTHER] | Attempt 4856: Error rate 53.57% (target: 15%) +2025-09-15T14:20:51.851Z | [OTHER] | Attempt 4857: Error rate 60.98% (target: 15%) +2025-09-15T14:20:51.856Z | [OTHER] | Attempt 4858: Error rate 48.72% (target: 15%) +2025-09-15T14:20:51.861Z | [OTHER] | Attempt 4859: Error rate 45.49% (target: 15%) +2025-09-15T14:20:51.866Z | [OTHER] | Attempt 4860: Error rate 57.72% (target: 15%) +2025-09-15T14:20:51.871Z | [OTHER] | Attempt 4861: Error rate 43.8% (target: 15%) +2025-09-15T14:20:51.876Z | [OTHER] | Attempt 4862: Error rate 55.19% (target: 15%) +2025-09-15T14:20:51.881Z | [OTHER] | Attempt 4863: Error rate 49.59% (target: 15%) +2025-09-15T14:20:51.886Z | [OTHER] | Attempt 4864: Error rate 49.6% (target: 15%) +2025-09-15T14:20:51.891Z | [OTHER] | Attempt 4865: Error rate 54.26% (target: 15%) +2025-09-15T14:20:51.896Z | [OTHER] | Attempt 4866: Error rate 51.22% (target: 15%) +2025-09-15T14:20:51.902Z | [OTHER] | Attempt 4867: Error rate 45.24% (target: 15%) +2025-09-15T14:20:51.907Z | [OTHER] | Attempt 4868: Error rate 56.59% (target: 15%) +2025-09-15T14:20:51.912Z | [OTHER] | Attempt 4869: Error rate 53.1% (target: 15%) +2025-09-15T14:20:51.917Z | [OTHER] | Attempt 4870: Error rate 53.1% (target: 15%) +2025-09-15T14:20:51.922Z | [OTHER] | Attempt 4871: Error rate 54.44% (target: 15%) +2025-09-15T14:20:51.927Z | [OTHER] | Attempt 4872: Error rate 49.64% (target: 15%) +2025-09-15T14:20:51.932Z | [OTHER] | Attempt 4873: Error rate 49.22% (target: 15%) +2025-09-15T14:20:51.937Z | [OTHER] | Attempt 4874: Error rate 59.13% (target: 15%) +2025-09-15T14:20:51.943Z | [OTHER] | Attempt 4875: Error rate 51.09% (target: 15%) +2025-09-15T14:20:51.947Z | [OTHER] | Attempt 4876: Error rate 52.04% (target: 15%) +2025-09-15T14:20:51.952Z | [OTHER] | Attempt 4877: Error rate 48.84% (target: 15%) +2025-09-15T14:20:51.958Z | [OTHER] | Attempt 4878: Error rate 62.6% (target: 15%) +2025-09-15T14:20:51.963Z | [OTHER] | Attempt 4879: Error rate 56.06% (target: 15%) +2025-09-15T14:20:51.969Z | [OTHER] | Attempt 4880: Error rate 55.56% (target: 15%) +2025-09-15T14:20:51.973Z | [OTHER] | Attempt 4881: Error rate 54.07% (target: 15%) +2025-09-15T14:20:51.979Z | [OTHER] | Attempt 4882: Error rate 59.3% (target: 15%) +2025-09-15T14:20:51.984Z | [OTHER] | Attempt 4883: Error rate 52.44% (target: 15%) +2025-09-15T14:20:51.989Z | [OTHER] | Attempt 4884: Error rate 54.26% (target: 15%) +2025-09-15T14:20:51.994Z | [OTHER] | Attempt 4885: Error rate 50.78% (target: 15%) +2025-09-15T14:20:51.999Z | [OTHER] | Attempt 4886: Error rate 56.84% (target: 15%) +2025-09-15T14:20:52.004Z | [OTHER] | Attempt 4887: Error rate 48.45% (target: 15%) +2025-09-15T14:20:52.009Z | [OTHER] | Attempt 4888: Error rate 56.5% (target: 15%) +2025-09-15T14:20:52.015Z | [OTHER] | Attempt 4889: Error rate 41.46% (target: 15%) +2025-09-15T14:20:52.020Z | [OTHER] | Attempt 4890: Error rate 61.48% (target: 15%) +2025-09-15T14:20:52.025Z | [OTHER] | Attempt 4891: Error rate 48.19% (target: 15%) +2025-09-15T14:20:52.030Z | [OTHER] | Attempt 4892: Error rate 54.88% (target: 15%) +2025-09-15T14:20:52.036Z | [OTHER] | Attempt 4893: Error rate 57.21% (target: 15%) +2025-09-15T14:20:52.041Z | [OTHER] | Attempt 4894: Error rate 52.71% (target: 15%) +2025-09-15T14:20:52.046Z | [OTHER] | Attempt 4895: Error rate 52.71% (target: 15%) +2025-09-15T14:20:52.051Z | [OTHER] | Attempt 4896: Error rate 51.94% (target: 15%) +2025-09-15T14:20:52.055Z | [OTHER] | Attempt 4897: Error rate 50.38% (target: 15%) +2025-09-15T14:20:52.061Z | [OTHER] | Attempt 4898: Error rate 65.91% (target: 15%) +2025-09-15T14:20:52.066Z | [OTHER] | Attempt 4899: Error rate 55.56% (target: 15%) +2025-09-15T14:20:52.073Z | [OTHER] | Attempt 4900: Error rate 50.38% (target: 15%) +2025-09-15T14:20:52.078Z | [OTHER] | Attempt 4901: Error rate 51.45% (target: 15%) +2025-09-15T14:20:52.083Z | [OTHER] | Attempt 4902: Error rate 46.38% (target: 15%) +2025-09-15T14:20:52.089Z | [OTHER] | Attempt 4903: Error rate 43.9% (target: 15%) +2025-09-15T14:20:52.094Z | [OTHER] | Attempt 4904: Error rate 57.14% (target: 15%) +2025-09-15T14:20:52.099Z | [OTHER] | Attempt 4905: Error rate 53.25% (target: 15%) +2025-09-15T14:20:52.105Z | [OTHER] | Attempt 4906: Error rate 52.48% (target: 15%) +2025-09-15T14:20:52.110Z | [OTHER] | Attempt 4907: Error rate 55.8% (target: 15%) +2025-09-15T14:20:52.116Z | [OTHER] | Attempt 4908: Error rate 41.32% (target: 15%) +2025-09-15T14:20:52.121Z | [OTHER] | Attempt 4909: Error rate 52.78% (target: 15%) +2025-09-15T14:20:52.127Z | [OTHER] | Attempt 4910: Error rate 53.75% (target: 15%) +2025-09-15T14:20:52.132Z | [OTHER] | Attempt 4911: Error rate 52.96% (target: 15%) +2025-09-15T14:20:52.138Z | [OTHER] | Attempt 4912: Error rate 46.74% (target: 15%) +2025-09-15T14:20:52.150Z | [OTHER] | Attempt 4913: Error rate 43.84% (target: 15%) +2025-09-15T14:20:52.161Z | [OTHER] | Attempt 4914: Error rate 52.78% (target: 15%) +2025-09-15T14:20:52.170Z | [OTHER] | Attempt 4915: Error rate 45.39% (target: 15%) +2025-09-15T14:20:52.181Z | [OTHER] | Attempt 4916: Error rate 53.42% (target: 15%) +2025-09-15T14:20:52.192Z | [OTHER] | Attempt 4917: Error rate 52.54% (target: 15%) +2025-09-15T14:20:52.200Z | [OTHER] | Attempt 4918: Error rate 50% (target: 15%) +2025-09-15T14:20:52.208Z | [OTHER] | Attempt 4919: Error rate 47.92% (target: 15%) +2025-09-15T14:20:52.217Z | [OTHER] | Attempt 4920: Error rate 49.65% (target: 15%) +2025-09-15T14:20:52.223Z | [OTHER] | Attempt 4921: Error rate 61.96% (target: 15%) +2025-09-15T14:20:52.229Z | [OTHER] | Attempt 4922: Error rate 55.19% (target: 15%) +2025-09-15T14:20:52.234Z | [OTHER] | Attempt 4923: Error rate 45.56% (target: 15%) +2025-09-15T14:20:52.239Z | [OTHER] | Attempt 4924: Error rate 41.49% (target: 15%) +2025-09-15T14:20:52.244Z | [OTHER] | Attempt 4925: Error rate 59.42% (target: 15%) +2025-09-15T14:20:52.250Z | [OTHER] | Attempt 4926: Error rate 51.98% (target: 15%) +2025-09-15T14:20:52.255Z | [OTHER] | Attempt 4927: Error rate 52.33% (target: 15%) +2025-09-15T14:20:52.260Z | [OTHER] | Attempt 4928: Error rate 44.2% (target: 15%) +2025-09-15T14:20:52.265Z | [OTHER] | Attempt 4929: Error rate 54.44% (target: 15%) +2025-09-15T14:20:52.270Z | [OTHER] | Attempt 4930: Error rate 45.83% (target: 15%) +2025-09-15T14:20:52.275Z | [OTHER] | Attempt 4931: Error rate 56.76% (target: 15%) +2025-09-15T14:20:52.281Z | [OTHER] | Attempt 4932: Error rate 54.44% (target: 15%) +2025-09-15T14:20:52.285Z | [OTHER] | Attempt 4933: Error rate 47.73% (target: 15%) +2025-09-15T14:20:52.290Z | [OTHER] | Attempt 4934: Error rate 52.59% (target: 15%) +2025-09-15T14:20:52.296Z | [OTHER] | Attempt 4935: Error rate 50% (target: 15%) +2025-09-15T14:20:52.301Z | [OTHER] | Attempt 4936: Error rate 48.78% (target: 15%) +2025-09-15T14:20:52.306Z | [OTHER] | Attempt 4937: Error rate 57.14% (target: 15%) +2025-09-15T14:20:52.310Z | [OTHER] | Attempt 4938: Error rate 54.81% (target: 15%) +2025-09-15T14:20:52.316Z | [OTHER] | Attempt 4939: Error rate 48.37% (target: 15%) +2025-09-15T14:20:52.321Z | [OTHER] | Attempt 4940: Error rate 49.63% (target: 15%) +2025-09-15T14:20:52.326Z | [OTHER] | Attempt 4941: Error rate 50% (target: 15%) +2025-09-15T14:20:52.331Z | [OTHER] | Attempt 4942: Error rate 53.17% (target: 15%) +2025-09-15T14:20:52.336Z | [OTHER] | Attempt 4943: Error rate 53.41% (target: 15%) +2025-09-15T14:20:52.341Z | [OTHER] | Attempt 4944: Error rate 52.85% (target: 15%) +2025-09-15T14:20:52.346Z | [OTHER] | Attempt 4945: Error rate 54.76% (target: 15%) +2025-09-15T14:20:52.351Z | [OTHER] | Attempt 4946: Error rate 52.7% (target: 15%) +2025-09-15T14:20:52.356Z | [OTHER] | Attempt 4947: Error rate 53.92% (target: 15%) +2025-09-15T14:20:52.361Z | [OTHER] | Attempt 4948: Error rate 52.96% (target: 15%) +2025-09-15T14:20:52.366Z | [OTHER] | Attempt 4949: Error rate 61.9% (target: 15%) +2025-09-15T14:20:52.371Z | [OTHER] | Attempt 4950: Error rate 51.39% (target: 15%) +2025-09-15T14:20:52.376Z | [OTHER] | Attempt 4951: Error rate 56.82% (target: 15%) +2025-09-15T14:20:52.381Z | [OTHER] | Attempt 4952: Error rate 52.65% (target: 15%) +2025-09-15T14:20:52.386Z | [OTHER] | Attempt 4953: Error rate 56.82% (target: 15%) +2025-09-15T14:20:52.391Z | [OTHER] | Attempt 4954: Error rate 54.17% (target: 15%) +2025-09-15T14:20:52.396Z | [OTHER] | Attempt 4955: Error rate 60.23% (target: 15%) +2025-09-15T14:20:52.401Z | [OTHER] | Attempt 4956: Error rate 50% (target: 15%) +2025-09-15T14:20:52.407Z | [OTHER] | Attempt 4957: Error rate 55.41% (target: 15%) +2025-09-15T14:20:52.412Z | [OTHER] | Attempt 4958: Error rate 46.43% (target: 15%) +2025-09-15T14:20:52.418Z | [OTHER] | Attempt 4959: Error rate 50.81% (target: 15%) +2025-09-15T14:20:52.423Z | [OTHER] | Attempt 4960: Error rate 52.03% (target: 15%) +2025-09-15T14:20:52.428Z | [OTHER] | Attempt 4961: Error rate 56.2% (target: 15%) +2025-09-15T14:20:52.433Z | [OTHER] | Attempt 4962: Error rate 52.63% (target: 15%) +2025-09-15T14:20:52.438Z | [OTHER] | Attempt 4963: Error rate 48.19% (target: 15%) +2025-09-15T14:20:52.443Z | [OTHER] | Attempt 4964: Error rate 48.89% (target: 15%) +2025-09-15T14:20:52.448Z | [OTHER] | Attempt 4965: Error rate 49.61% (target: 15%) +2025-09-15T14:20:52.453Z | [OTHER] | Attempt 4966: Error rate 53.97% (target: 15%) +2025-09-15T14:20:52.459Z | [OTHER] | Attempt 4967: Error rate 48.61% (target: 15%) +2025-09-15T14:20:52.464Z | [OTHER] | Attempt 4968: Error rate 50% (target: 15%) +2025-09-15T14:20:52.469Z | [OTHER] | Attempt 4969: Error rate 50% (target: 15%) +2025-09-15T14:20:52.474Z | [OTHER] | Attempt 4970: Error rate 48.23% (target: 15%) +2025-09-15T14:20:52.479Z | [OTHER] | Attempt 4971: Error rate 56.75% (target: 15%) +2025-09-15T14:20:52.484Z | [OTHER] | Attempt 4972: Error rate 53.66% (target: 15%) +2025-09-15T14:20:52.489Z | [OTHER] | Attempt 4973: Error rate 52.59% (target: 15%) +2025-09-15T14:20:52.495Z | [OTHER] | Attempt 4974: Error rate 46.01% (target: 15%) +2025-09-15T14:20:52.500Z | [OTHER] | Attempt 4975: Error rate 48.65% (target: 15%) +2025-09-15T14:20:52.505Z | [OTHER] | Attempt 4976: Error rate 40.91% (target: 15%) +2025-09-15T14:20:52.510Z | [OTHER] | Attempt 4977: Error rate 51.45% (target: 15%) +2025-09-15T14:20:52.515Z | [OTHER] | Attempt 4978: Error rate 54.17% (target: 15%) +2025-09-15T14:20:52.520Z | [OTHER] | Attempt 4979: Error rate 43.56% (target: 15%) +2025-09-15T14:20:52.525Z | [OTHER] | Attempt 4980: Error rate 57.02% (target: 15%) +2025-09-15T14:20:52.531Z | [OTHER] | Attempt 4981: Error rate 54.37% (target: 15%) +2025-09-15T14:20:52.536Z | [OTHER] | Attempt 4982: Error rate 53.88% (target: 15%) +2025-09-15T14:20:52.541Z | [OTHER] | Attempt 4983: Error rate 51.16% (target: 15%) +2025-09-15T14:20:52.546Z | [OTHER] | Attempt 4984: Error rate 51.09% (target: 15%) +2025-09-15T14:20:52.551Z | [OTHER] | Attempt 4985: Error rate 53.26% (target: 15%) +2025-09-15T14:20:52.556Z | [OTHER] | Attempt 4986: Error rate 58.71% (target: 15%) +2025-09-15T14:20:52.562Z | [OTHER] | Attempt 4987: Error rate 50% (target: 15%) +2025-09-15T14:20:52.568Z | [OTHER] | Attempt 4988: Error rate 53.67% (target: 15%) +2025-09-15T14:20:52.573Z | [OTHER] | Attempt 4989: Error rate 53.03% (target: 15%) +2025-09-15T14:20:52.579Z | [OTHER] | Attempt 4990: Error rate 57.04% (target: 15%) +2025-09-15T14:20:52.584Z | [OTHER] | Attempt 4991: Error rate 56.98% (target: 15%) +2025-09-15T14:20:52.589Z | [OTHER] | Attempt 4992: Error rate 49.17% (target: 15%) +2025-09-15T14:20:52.594Z | [OTHER] | Attempt 4993: Error rate 52.38% (target: 15%) +2025-09-15T14:20:52.600Z | [OTHER] | Attempt 4994: Error rate 51.28% (target: 15%) +2025-09-15T14:20:52.605Z | [OTHER] | Attempt 4995: Error rate 48.45% (target: 15%) +2025-09-15T14:20:52.610Z | [OTHER] | Attempt 4996: Error rate 55.67% (target: 15%) +2025-09-15T14:20:52.615Z | [OTHER] | Attempt 4997: Error rate 52.78% (target: 15%) +2025-09-15T14:20:52.620Z | [OTHER] | Attempt 4998: Error rate 53.41% (target: 15%) +2025-09-15T14:20:52.625Z | [OTHER] | Attempt 4999: Error rate 50.79% (target: 15%) +2025-09-15T14:20:52.630Z | [OTHER] | Attempt 5000: Error rate 54.76% (target: 15%) +2025-09-15T14:20:52.636Z | [OTHER] | Attempt 5001: Error rate 64.86% (target: 15%) +2025-09-15T14:20:52.641Z | [OTHER] | Attempt 5002: Error rate 52.08% (target: 15%) +2025-09-15T14:20:52.646Z | [OTHER] | Attempt 5003: Error rate 58.73% (target: 15%) +2025-09-15T14:20:52.651Z | [OTHER] | Attempt 5004: Error rate 43.65% (target: 15%) +2025-09-15T14:20:52.656Z | [OTHER] | Attempt 5005: Error rate 51.04% (target: 15%) +2025-09-15T14:20:52.663Z | [OTHER] | Attempt 5006: Error rate 43.7% (target: 15%) +2025-09-15T14:20:52.668Z | [OTHER] | Attempt 5007: Error rate 53.19% (target: 15%) +2025-09-15T14:20:52.673Z | [OTHER] | Attempt 5008: Error rate 47.46% (target: 15%) +2025-09-15T14:20:52.678Z | [OTHER] | Attempt 5009: Error rate 48.65% (target: 15%) +2025-09-15T14:20:52.683Z | [OTHER] | Attempt 5010: Error rate 50% (target: 15%) +2025-09-15T14:20:52.689Z | [OTHER] | Attempt 5011: Error rate 52.85% (target: 15%) +2025-09-15T14:20:52.694Z | [OTHER] | Attempt 5012: Error rate 50.4% (target: 15%) +2025-09-15T14:20:52.699Z | [OTHER] | Attempt 5013: Error rate 58.33% (target: 15%) +2025-09-15T14:20:52.704Z | [OTHER] | Attempt 5014: Error rate 58.33% (target: 15%) +2025-09-15T14:20:52.709Z | [OTHER] | Attempt 5015: Error rate 46.74% (target: 15%) +2025-09-15T14:20:52.714Z | [OTHER] | Attempt 5016: Error rate 57.58% (target: 15%) +2025-09-15T14:20:52.718Z | [OTHER] | Attempt 5017: Error rate 53.33% (target: 15%) +2025-09-15T14:20:52.725Z | [OTHER] | Attempt 5018: Error rate 53.7% (target: 15%) +2025-09-15T14:20:52.729Z | [OTHER] | Attempt 5019: Error rate 57.14% (target: 15%) +2025-09-15T14:20:52.734Z | [OTHER] | Attempt 5020: Error rate 48.91% (target: 15%) +2025-09-15T14:20:52.739Z | [OTHER] | Attempt 5021: Error rate 48.45% (target: 15%) +2025-09-15T14:20:52.745Z | [OTHER] | Attempt 5022: Error rate 55.43% (target: 15%) +2025-09-15T14:20:52.750Z | [OTHER] | Attempt 5023: Error rate 51.81% (target: 15%) +2025-09-15T14:20:52.755Z | [OTHER] | Attempt 5024: Error rate 52.27% (target: 15%) +2025-09-15T14:20:52.760Z | [OTHER] | Attempt 5025: Error rate 47.62% (target: 15%) +2025-09-15T14:20:52.765Z | [OTHER] | Attempt 5026: Error rate 48.81% (target: 15%) +2025-09-15T14:20:52.770Z | [OTHER] | Attempt 5027: Error rate 43.94% (target: 15%) +2025-09-15T14:20:52.775Z | [OTHER] | Attempt 5028: Error rate 47.62% (target: 15%) +2025-09-15T14:20:52.780Z | [OTHER] | Attempt 5029: Error rate 47.35% (target: 15%) +2025-09-15T14:20:52.786Z | [OTHER] | Attempt 5030: Error rate 54.71% (target: 15%) +2025-09-15T14:20:52.791Z | [OTHER] | Attempt 5031: Error rate 44.1% (target: 15%) +2025-09-15T14:20:52.796Z | [OTHER] | Attempt 5032: Error rate 50.68% (target: 15%) +2025-09-15T14:20:52.801Z | [OTHER] | Attempt 5033: Error rate 41.13% (target: 15%) +2025-09-15T14:20:52.806Z | [OTHER] | Attempt 5034: Error rate 52.78% (target: 15%) +2025-09-15T14:20:52.811Z | [OTHER] | Attempt 5035: Error rate 56.5% (target: 15%) +2025-09-15T14:20:52.816Z | [OTHER] | Attempt 5036: Error rate 52.44% (target: 15%) +2025-09-15T14:20:52.822Z | [OTHER] | Attempt 5037: Error rate 53.03% (target: 15%) +2025-09-15T14:20:52.828Z | [OTHER] | Attempt 5038: Error rate 51.59% (target: 15%) +2025-09-15T14:20:52.833Z | [OTHER] | Attempt 5039: Error rate 53.62% (target: 15%) +2025-09-15T14:20:52.839Z | [OTHER] | Attempt 5040: Error rate 57.04% (target: 15%) +2025-09-15T14:20:52.844Z | [OTHER] | Attempt 5041: Error rate 56.84% (target: 15%) +2025-09-15T14:20:52.849Z | [OTHER] | Attempt 5042: Error rate 52.27% (target: 15%) +2025-09-15T14:20:52.854Z | [OTHER] | Attempt 5043: Error rate 47.22% (target: 15%) +2025-09-15T14:20:52.859Z | [OTHER] | Attempt 5044: Error rate 56.91% (target: 15%) +2025-09-15T14:20:52.864Z | [OTHER] | Attempt 5045: Error rate 57.25% (target: 15%) +2025-09-15T14:20:52.869Z | [OTHER] | Attempt 5046: Error rate 57.64% (target: 15%) +2025-09-15T14:20:52.874Z | [OTHER] | Attempt 5047: Error rate 46.21% (target: 15%) +2025-09-15T14:20:52.879Z | [OTHER] | Attempt 5048: Error rate 55.56% (target: 15%) +2025-09-15T14:20:52.885Z | [OTHER] | Attempt 5049: Error rate 56.91% (target: 15%) +2025-09-15T14:20:52.890Z | [OTHER] | Attempt 5050: Error rate 48.96% (target: 15%) +2025-09-15T14:20:52.895Z | [OTHER] | Attempt 5051: Error rate 55.3% (target: 15%) +2025-09-15T14:20:52.900Z | [OTHER] | Attempt 5052: Error rate 52.65% (target: 15%) +2025-09-15T14:20:52.905Z | [OTHER] | Attempt 5053: Error rate 49.65% (target: 15%) +2025-09-15T14:20:52.910Z | [OTHER] | Attempt 5054: Error rate 51.16% (target: 15%) +2025-09-15T14:20:52.918Z | [OTHER] | Attempt 5055: Error rate 53.66% (target: 15%) +2025-09-15T14:20:52.924Z | [OTHER] | Attempt 5056: Error rate 55.81% (target: 15%) +2025-09-15T14:20:52.929Z | [OTHER] | Attempt 5057: Error rate 54.58% (target: 15%) +2025-09-15T14:20:52.935Z | [OTHER] | Attempt 5058: Error rate 50.39% (target: 15%) +2025-09-15T14:20:52.940Z | [OTHER] | Attempt 5059: Error rate 45.14% (target: 15%) +2025-09-15T14:20:52.946Z | [OTHER] | Attempt 5060: Error rate 54.17% (target: 15%) +2025-09-15T14:20:52.951Z | [OTHER] | Attempt 5061: Error rate 50.43% (target: 15%) +2025-09-15T14:20:52.958Z | [OTHER] | Attempt 5062: Error rate 42.31% (target: 15%) +2025-09-15T14:20:52.963Z | [OTHER] | Attempt 5063: Error rate 44.33% (target: 15%) +2025-09-15T14:20:52.968Z | [OTHER] | Attempt 5064: Error rate 45.56% (target: 15%) +2025-09-15T14:20:52.974Z | [OTHER] | Attempt 5065: Error rate 53.99% (target: 15%) +2025-09-15T14:20:52.979Z | [OTHER] | Attempt 5066: Error rate 51.09% (target: 15%) +2025-09-15T14:20:52.984Z | [OTHER] | Attempt 5067: Error rate 45.93% (target: 15%) +2025-09-15T14:20:52.989Z | [OTHER] | Attempt 5068: Error rate 55.43% (target: 15%) +2025-09-15T14:20:52.995Z | [OTHER] | Attempt 5069: Error rate 54.07% (target: 15%) +2025-09-15T14:20:53.001Z | [OTHER] | Attempt 5070: Error rate 49.62% (target: 15%) +2025-09-15T14:20:53.006Z | [OTHER] | Attempt 5071: Error rate 57.2% (target: 15%) +2025-09-15T14:20:53.012Z | [OTHER] | Attempt 5072: Error rate 50.74% (target: 15%) +2025-09-15T14:20:53.017Z | [OTHER] | Attempt 5073: Error rate 60.98% (target: 15%) +2025-09-15T14:20:53.023Z | [OTHER] | Attempt 5074: Error rate 48.33% (target: 15%) +2025-09-15T14:20:53.029Z | [OTHER] | Attempt 5075: Error rate 51.48% (target: 15%) +2025-09-15T14:20:53.035Z | [OTHER] | Attempt 5076: Error rate 53.7% (target: 15%) +2025-09-15T14:20:53.041Z | [OTHER] | Attempt 5077: Error rate 56.5% (target: 15%) +2025-09-15T14:20:53.046Z | [OTHER] | Attempt 5078: Error rate 48.98% (target: 15%) +2025-09-15T14:20:53.052Z | [OTHER] | Attempt 5079: Error rate 51.77% (target: 15%) +2025-09-15T14:20:53.058Z | [OTHER] | Attempt 5080: Error rate 50% (target: 15%) +2025-09-15T14:20:53.064Z | [OTHER] | Attempt 5081: Error rate 49.19% (target: 15%) +2025-09-15T14:20:53.069Z | [OTHER] | Attempt 5082: Error rate 50.88% (target: 15%) +2025-09-15T14:20:53.075Z | [OTHER] | Attempt 5083: Error rate 52.38% (target: 15%) +2025-09-15T14:20:53.081Z | [OTHER] | Attempt 5084: Error rate 45.42% (target: 15%) +2025-09-15T14:20:53.087Z | [OTHER] | Attempt 5085: Error rate 53.7% (target: 15%) +2025-09-15T14:20:53.093Z | [OTHER] | Attempt 5086: Error rate 48.11% (target: 15%) +2025-09-15T14:20:53.099Z | [OTHER] | Attempt 5087: Error rate 63.54% (target: 15%) +2025-09-15T14:20:53.105Z | [OTHER] | Attempt 5088: Error rate 51.67% (target: 15%) +2025-09-15T14:20:53.111Z | [OTHER] | Attempt 5089: Error rate 56.25% (target: 15%) +2025-09-15T14:20:53.117Z | [OTHER] | Attempt 5090: Error rate 48.89% (target: 15%) +2025-09-15T14:20:53.123Z | [OTHER] | Attempt 5091: Error rate 59.06% (target: 15%) +2025-09-15T14:20:53.129Z | [OTHER] | Attempt 5092: Error rate 60.08% (target: 15%) +2025-09-15T14:20:53.134Z | [OTHER] | Attempt 5093: Error rate 50% (target: 15%) +2025-09-15T14:20:53.140Z | [OTHER] | Attempt 5094: Error rate 55.56% (target: 15%) +2025-09-15T14:20:53.146Z | [OTHER] | Attempt 5095: Error rate 53.88% (target: 15%) +2025-09-15T14:20:53.151Z | [OTHER] | Attempt 5096: Error rate 47.52% (target: 15%) +2025-09-15T14:20:53.157Z | [OTHER] | Attempt 5097: Error rate 60.07% (target: 15%) +2025-09-15T14:20:53.162Z | [OTHER] | Attempt 5098: Error rate 55.56% (target: 15%) +2025-09-15T14:20:53.168Z | [OTHER] | Attempt 5099: Error rate 53.41% (target: 15%) +2025-09-15T14:20:53.173Z | [OTHER] | Attempt 5100: Error rate 48.06% (target: 15%) +2025-09-15T14:20:53.178Z | [OTHER] | Attempt 5101: Error rate 55.3% (target: 15%) +2025-09-15T14:20:53.185Z | [OTHER] | Attempt 5102: Error rate 46.21% (target: 15%) +2025-09-15T14:20:53.189Z | [OTHER] | Attempt 5103: Error rate 53.7% (target: 15%) +2025-09-15T14:20:53.194Z | [OTHER] | Attempt 5104: Error rate 57.36% (target: 15%) +2025-09-15T14:20:53.200Z | [OTHER] | Attempt 5105: Error rate 54.96% (target: 15%) +2025-09-15T14:20:53.205Z | [OTHER] | Attempt 5106: Error rate 47.1% (target: 15%) +2025-09-15T14:20:53.210Z | [OTHER] | Attempt 5107: Error rate 48.78% (target: 15%) +2025-09-15T14:20:53.215Z | [OTHER] | Attempt 5108: Error rate 45.29% (target: 15%) +2025-09-15T14:20:53.221Z | [OTHER] | Attempt 5109: Error rate 51.45% (target: 15%) +2025-09-15T14:20:53.226Z | [OTHER] | Attempt 5110: Error rate 40.08% (target: 15%) +2025-09-15T14:20:53.232Z | [OTHER] | Attempt 5111: Error rate 53.88% (target: 15%) +2025-09-15T14:20:53.237Z | [OTHER] | Attempt 5112: Error rate 50.83% (target: 15%) +2025-09-15T14:20:53.243Z | [OTHER] | Attempt 5113: Error rate 50.83% (target: 15%) +2025-09-15T14:20:53.249Z | [OTHER] | Attempt 5114: Error rate 56.74% (target: 15%) +2025-09-15T14:20:53.255Z | [OTHER] | Attempt 5115: Error rate 51.55% (target: 15%) +2025-09-15T14:20:53.260Z | [OTHER] | Attempt 5116: Error rate 59.47% (target: 15%) +2025-09-15T14:20:53.265Z | [OTHER] | Attempt 5117: Error rate 62.12% (target: 15%) +2025-09-15T14:20:53.271Z | [OTHER] | Attempt 5118: Error rate 47.73% (target: 15%) +2025-09-15T14:20:53.276Z | [OTHER] | Attempt 5119: Error rate 53.66% (target: 15%) +2025-09-15T14:20:53.281Z | [OTHER] | Attempt 5120: Error rate 57.04% (target: 15%) +2025-09-15T14:20:53.286Z | [OTHER] | Attempt 5121: Error rate 56.94% (target: 15%) +2025-09-15T14:20:53.291Z | [OTHER] | Attempt 5122: Error rate 54.25% (target: 15%) +2025-09-15T14:20:53.296Z | [OTHER] | Attempt 5123: Error rate 53.97% (target: 15%) +2025-09-15T14:20:53.301Z | [OTHER] | Attempt 5124: Error rate 51.74% (target: 15%) +2025-09-15T14:20:53.306Z | [OTHER] | Attempt 5125: Error rate 55.56% (target: 15%) +2025-09-15T14:20:53.311Z | [OTHER] | Attempt 5126: Error rate 46.59% (target: 15%) +2025-09-15T14:20:53.316Z | [OTHER] | Attempt 5127: Error rate 52.78% (target: 15%) +2025-09-15T14:20:53.321Z | [OTHER] | Attempt 5128: Error rate 52.27% (target: 15%) +2025-09-15T14:20:53.327Z | [OTHER] | Attempt 5129: Error rate 60% (target: 15%) +2025-09-15T14:20:53.332Z | [OTHER] | Attempt 5130: Error rate 45.74% (target: 15%) +2025-09-15T14:20:53.337Z | [OTHER] | Attempt 5131: Error rate 54.17% (target: 15%) +2025-09-15T14:20:53.342Z | [OTHER] | Attempt 5132: Error rate 46.15% (target: 15%) +2025-09-15T14:20:53.347Z | [OTHER] | Attempt 5133: Error rate 49.22% (target: 15%) +2025-09-15T14:20:53.352Z | [OTHER] | Attempt 5134: Error rate 59.35% (target: 15%) +2025-09-15T14:20:53.357Z | [OTHER] | Attempt 5135: Error rate 46.9% (target: 15%) +2025-09-15T14:20:53.362Z | [OTHER] | Attempt 5136: Error rate 50.79% (target: 15%) +2025-09-15T14:20:53.367Z | [OTHER] | Attempt 5137: Error rate 46.75% (target: 15%) +2025-09-15T14:20:53.372Z | [OTHER] | Attempt 5138: Error rate 55.95% (target: 15%) +2025-09-15T14:20:53.377Z | [OTHER] | Attempt 5139: Error rate 55.28% (target: 15%) +2025-09-15T14:20:53.382Z | [OTHER] | Attempt 5140: Error rate 51.11% (target: 15%) +2025-09-15T14:20:53.387Z | [OTHER] | Attempt 5141: Error rate 57.14% (target: 15%) +2025-09-15T14:20:53.392Z | [OTHER] | Attempt 5142: Error rate 56.06% (target: 15%) +2025-09-15T14:20:53.397Z | [OTHER] | Attempt 5143: Error rate 46.74% (target: 15%) +2025-09-15T14:20:53.402Z | [OTHER] | Attempt 5144: Error rate 48.91% (target: 15%) +2025-09-15T14:20:53.407Z | [OTHER] | Attempt 5145: Error rate 55.95% (target: 15%) +2025-09-15T14:20:53.412Z | [OTHER] | Attempt 5146: Error rate 42.42% (target: 15%) +2025-09-15T14:20:53.417Z | [OTHER] | Attempt 5147: Error rate 54.05% (target: 15%) +2025-09-15T14:20:53.422Z | [OTHER] | Attempt 5148: Error rate 53.79% (target: 15%) +2025-09-15T14:20:53.427Z | [OTHER] | Attempt 5149: Error rate 64.29% (target: 15%) +2025-09-15T14:20:53.432Z | [OTHER] | Attempt 5150: Error rate 51.45% (target: 15%) +2025-09-15T14:20:53.438Z | [OTHER] | Attempt 5151: Error rate 55.43% (target: 15%) +2025-09-15T14:20:53.443Z | [OTHER] | Attempt 5152: Error rate 47.62% (target: 15%) +2025-09-15T14:20:53.448Z | [OTHER] | Attempt 5153: Error rate 56.3% (target: 15%) +2025-09-15T14:20:53.453Z | [OTHER] | Attempt 5154: Error rate 52.17% (target: 15%) +2025-09-15T14:20:53.458Z | [OTHER] | Attempt 5155: Error rate 53.03% (target: 15%) +2025-09-15T14:20:53.463Z | [OTHER] | Attempt 5156: Error rate 49.32% (target: 15%) +2025-09-15T14:20:53.468Z | [OTHER] | Attempt 5157: Error rate 53.75% (target: 15%) +2025-09-15T14:20:53.474Z | [OTHER] | Attempt 5158: Error rate 55% (target: 15%) +2025-09-15T14:20:53.479Z | [OTHER] | Attempt 5159: Error rate 51.89% (target: 15%) +2025-09-15T14:20:53.484Z | [OTHER] | Attempt 5160: Error rate 53.47% (target: 15%) +2025-09-15T14:20:53.489Z | [OTHER] | Attempt 5161: Error rate 57.04% (target: 15%) +2025-09-15T14:20:53.494Z | [OTHER] | Attempt 5162: Error rate 57.78% (target: 15%) +2025-09-15T14:20:53.499Z | [OTHER] | Attempt 5163: Error rate 52.84% (target: 15%) +2025-09-15T14:20:53.504Z | [OTHER] | Attempt 5164: Error rate 51.22% (target: 15%) +2025-09-15T14:20:53.510Z | [OTHER] | Attempt 5165: Error rate 46.81% (target: 15%) +2025-09-15T14:20:53.515Z | [OTHER] | Attempt 5166: Error rate 50.68% (target: 15%) +2025-09-15T14:20:53.520Z | [OTHER] | Attempt 5167: Error rate 50.78% (target: 15%) +2025-09-15T14:20:53.525Z | [OTHER] | Attempt 5168: Error rate 53.17% (target: 15%) +2025-09-15T14:20:53.530Z | [OTHER] | Attempt 5169: Error rate 54.96% (target: 15%) +2025-09-15T14:20:53.535Z | [OTHER] | Attempt 5170: Error rate 52.65% (target: 15%) +2025-09-15T14:20:53.540Z | [OTHER] | Attempt 5171: Error rate 53.03% (target: 15%) +2025-09-15T14:20:53.545Z | [OTHER] | Attempt 5172: Error rate 49.24% (target: 15%) +2025-09-15T14:20:53.551Z | [OTHER] | Attempt 5173: Error rate 39.15% (target: 15%) +2025-09-15T14:20:53.560Z | [OTHER] | Attempt 5174: Error rate 52.61% (target: 15%) +2025-09-15T14:20:53.568Z | [OTHER] | Attempt 5175: Error rate 54.71% (target: 15%) +2025-09-15T14:20:53.575Z | [OTHER] | Attempt 5176: Error rate 50% (target: 15%) +2025-09-15T14:20:53.583Z | [OTHER] | Attempt 5177: Error rate 47.46% (target: 15%) +2025-09-15T14:20:53.590Z | [OTHER] | Attempt 5178: Error rate 55.28% (target: 15%) +2025-09-15T14:20:53.596Z | [OTHER] | Attempt 5179: Error rate 55.28% (target: 15%) +2025-09-15T14:20:53.604Z | [OTHER] | Attempt 5180: Error rate 48.11% (target: 15%) +2025-09-15T14:20:53.610Z | [OTHER] | Attempt 5181: Error rate 54.44% (target: 15%) +2025-09-15T14:20:53.616Z | [OTHER] | Attempt 5182: Error rate 56.5% (target: 15%) +2025-09-15T14:20:53.621Z | [OTHER] | Attempt 5183: Error rate 56.91% (target: 15%) +2025-09-15T14:20:53.627Z | [OTHER] | Attempt 5184: Error rate 52.08% (target: 15%) +2025-09-15T14:20:53.632Z | [OTHER] | Attempt 5185: Error rate 51.52% (target: 15%) +2025-09-15T14:20:53.638Z | [OTHER] | Attempt 5186: Error rate 56.3% (target: 15%) +2025-09-15T14:20:53.644Z | [OTHER] | Attempt 5187: Error rate 47.33% (target: 15%) +2025-09-15T14:20:53.648Z | [OTHER] | Attempt 5188: Error rate 53.57% (target: 15%) +2025-09-15T14:20:53.653Z | [OTHER] | Attempt 5189: Error rate 44.61% (target: 15%) +2025-09-15T14:20:53.659Z | [OTHER] | Attempt 5190: Error rate 56.03% (target: 15%) +2025-09-15T14:20:53.664Z | [OTHER] | Attempt 5191: Error rate 54.55% (target: 15%) +2025-09-15T14:20:53.669Z | [OTHER] | Attempt 5192: Error rate 53.49% (target: 15%) +2025-09-15T14:20:53.674Z | [OTHER] | Attempt 5193: Error rate 51.06% (target: 15%) +2025-09-15T14:20:53.680Z | [OTHER] | Attempt 5194: Error rate 54.17% (target: 15%) +2025-09-15T14:20:53.685Z | [OTHER] | Attempt 5195: Error rate 51.11% (target: 15%) +2025-09-15T14:20:53.690Z | [OTHER] | Attempt 5196: Error rate 41.67% (target: 15%) +2025-09-15T14:20:53.696Z | [OTHER] | Attempt 5197: Error rate 53.26% (target: 15%) +2025-09-15T14:20:53.701Z | [OTHER] | Attempt 5198: Error rate 56.06% (target: 15%) +2025-09-15T14:20:53.706Z | [OTHER] | Attempt 5199: Error rate 51.19% (target: 15%) +2025-09-15T14:20:53.711Z | [OTHER] | Attempt 5200: Error rate 50.74% (target: 15%) +2025-09-15T14:20:53.716Z | [OTHER] | Attempt 5201: Error rate 49.62% (target: 15%) +2025-09-15T14:20:53.721Z | [OTHER] | Attempt 5202: Error rate 55.28% (target: 15%) +2025-09-15T14:20:53.726Z | [OTHER] | Attempt 5203: Error rate 48.81% (target: 15%) +2025-09-15T14:20:53.731Z | [OTHER] | Attempt 5204: Error rate 52.54% (target: 15%) +2025-09-15T14:20:53.736Z | [OTHER] | Attempt 5205: Error rate 52.33% (target: 15%) +2025-09-15T14:20:53.741Z | [OTHER] | Attempt 5206: Error rate 50.85% (target: 15%) +2025-09-15T14:20:53.746Z | [OTHER] | Attempt 5207: Error rate 54.07% (target: 15%) +2025-09-15T14:20:53.752Z | [OTHER] | Attempt 5208: Error rate 44.02% (target: 15%) +2025-09-15T14:20:53.757Z | [OTHER] | Attempt 5209: Error rate 52.13% (target: 15%) +2025-09-15T14:20:53.763Z | [OTHER] | Attempt 5210: Error rate 48.26% (target: 15%) +2025-09-15T14:20:53.769Z | [OTHER] | Attempt 5211: Error rate 55.95% (target: 15%) +2025-09-15T14:20:53.774Z | [OTHER] | Attempt 5212: Error rate 51.52% (target: 15%) +2025-09-15T14:20:53.779Z | [OTHER] | Attempt 5213: Error rate 44.44% (target: 15%) +2025-09-15T14:20:53.784Z | [OTHER] | Attempt 5214: Error rate 48.72% (target: 15%) +2025-09-15T14:20:53.789Z | [OTHER] | Attempt 5215: Error rate 46.51% (target: 15%) +2025-09-15T14:20:53.794Z | [OTHER] | Attempt 5216: Error rate 47.37% (target: 15%) +2025-09-15T14:20:53.800Z | [OTHER] | Attempt 5217: Error rate 54.07% (target: 15%) +2025-09-15T14:20:53.805Z | [OTHER] | Attempt 5218: Error rate 47.22% (target: 15%) +2025-09-15T14:20:53.810Z | [OTHER] | Attempt 5219: Error rate 46.21% (target: 15%) +2025-09-15T14:20:53.815Z | [OTHER] | Attempt 5220: Error rate 49.26% (target: 15%) +2025-09-15T14:20:53.821Z | [OTHER] | Attempt 5221: Error rate 58.7% (target: 15%) +2025-09-15T14:20:53.826Z | [OTHER] | Attempt 5222: Error rate 47.39% (target: 15%) +2025-09-15T14:20:53.831Z | [OTHER] | Attempt 5223: Error rate 54.55% (target: 15%) +2025-09-15T14:20:53.837Z | [OTHER] | Attempt 5224: Error rate 51.63% (target: 15%) +2025-09-15T14:20:53.843Z | [OTHER] | Attempt 5225: Error rate 53.26% (target: 15%) +2025-09-15T14:20:53.849Z | [OTHER] | Attempt 5226: Error rate 52.71% (target: 15%) +2025-09-15T14:20:53.855Z | [OTHER] | Attempt 5227: Error rate 49.6% (target: 15%) +2025-09-15T14:20:53.860Z | [OTHER] | Attempt 5228: Error rate 54% (target: 15%) +2025-09-15T14:20:53.865Z | [OTHER] | Attempt 5229: Error rate 45.19% (target: 15%) +2025-09-15T14:20:53.870Z | [OTHER] | Attempt 5230: Error rate 47.22% (target: 15%) +2025-09-15T14:20:53.875Z | [OTHER] | Attempt 5231: Error rate 51.22% (target: 15%) +2025-09-15T14:20:53.881Z | [OTHER] | Attempt 5232: Error rate 50.38% (target: 15%) +2025-09-15T14:20:53.886Z | [OTHER] | Attempt 5233: Error rate 52.56% (target: 15%) +2025-09-15T14:20:53.891Z | [OTHER] | Attempt 5234: Error rate 51.11% (target: 15%) +2025-09-15T14:20:53.897Z | [OTHER] | Attempt 5235: Error rate 61.24% (target: 15%) +2025-09-15T14:20:53.902Z | [OTHER] | Attempt 5236: Error rate 54.07% (target: 15%) +2025-09-15T14:20:53.907Z | [OTHER] | Attempt 5237: Error rate 61.63% (target: 15%) +2025-09-15T14:20:53.912Z | [OTHER] | Attempt 5238: Error rate 54.95% (target: 15%) +2025-09-15T14:20:53.917Z | [OTHER] | Attempt 5239: Error rate 47.15% (target: 15%) +2025-09-15T14:20:53.922Z | [OTHER] | Attempt 5240: Error rate 53.49% (target: 15%) +2025-09-15T14:20:53.928Z | [OTHER] | Attempt 5241: Error rate 45.24% (target: 15%) +2025-09-15T14:20:53.933Z | [OTHER] | Attempt 5242: Error rate 43.12% (target: 15%) +2025-09-15T14:20:53.938Z | [OTHER] | Attempt 5243: Error rate 40.22% (target: 15%) +2025-09-15T14:20:53.943Z | [OTHER] | Attempt 5244: Error rate 54.65% (target: 15%) +2025-09-15T14:20:53.948Z | [OTHER] | Attempt 5245: Error rate 53.33% (target: 15%) +2025-09-15T14:20:53.953Z | [OTHER] | Attempt 5246: Error rate 58.33% (target: 15%) +2025-09-15T14:20:53.958Z | [OTHER] | Attempt 5247: Error rate 51.06% (target: 15%) +2025-09-15T14:20:53.964Z | [OTHER] | Attempt 5248: Error rate 56.82% (target: 15%) +2025-09-15T14:20:53.969Z | [OTHER] | Attempt 5249: Error rate 56.25% (target: 15%) +2025-09-15T14:20:53.974Z | [OTHER] | Attempt 5250: Error rate 59.09% (target: 15%) +2025-09-15T14:20:53.980Z | [OTHER] | Attempt 5251: Error rate 51.11% (target: 15%) +2025-09-15T14:20:53.985Z | [OTHER] | Attempt 5252: Error rate 53.47% (target: 15%) +2025-09-15T14:20:53.990Z | [OTHER] | Attempt 5253: Error rate 52.38% (target: 15%) +2025-09-15T14:20:53.995Z | [OTHER] | Attempt 5254: Error rate 48.15% (target: 15%) +2025-09-15T14:20:54.000Z | [OTHER] | Attempt 5255: Error rate 53.79% (target: 15%) +2025-09-15T14:20:54.005Z | [OTHER] | Attempt 5256: Error rate 54.37% (target: 15%) +2025-09-15T14:20:54.010Z | [OTHER] | Attempt 5257: Error rate 52.78% (target: 15%) +2025-09-15T14:20:54.016Z | [OTHER] | Attempt 5258: Error rate 50% (target: 15%) +2025-09-15T14:20:54.021Z | [OTHER] | Attempt 5259: Error rate 50.38% (target: 15%) +2025-09-15T14:20:54.026Z | [OTHER] | Attempt 5260: Error rate 44.44% (target: 15%) +2025-09-15T14:20:54.031Z | [OTHER] | Attempt 5261: Error rate 53.85% (target: 15%) +2025-09-15T14:20:54.036Z | [OTHER] | Attempt 5262: Error rate 41.3% (target: 15%) +2025-09-15T14:20:54.041Z | [OTHER] | Attempt 5263: Error rate 46.12% (target: 15%) +2025-09-15T14:20:54.046Z | [OTHER] | Attempt 5264: Error rate 53.17% (target: 15%) +2025-09-15T14:20:54.052Z | [OTHER] | Attempt 5265: Error rate 54.92% (target: 15%) +2025-09-15T14:20:54.057Z | [OTHER] | Attempt 5266: Error rate 57.02% (target: 15%) +2025-09-15T14:20:54.062Z | [OTHER] | Attempt 5267: Error rate 53.49% (target: 15%) +2025-09-15T14:20:54.067Z | [OTHER] | Attempt 5268: Error rate 59.09% (target: 15%) +2025-09-15T14:20:54.073Z | [OTHER] | Attempt 5269: Error rate 57.78% (target: 15%) +2025-09-15T14:20:54.078Z | [OTHER] | Attempt 5270: Error rate 54.58% (target: 15%) +2025-09-15T14:20:54.083Z | [OTHER] | Attempt 5271: Error rate 48.91% (target: 15%) +2025-09-15T14:20:54.089Z | [OTHER] | Attempt 5272: Error rate 51.98% (target: 15%) +2025-09-15T14:20:54.093Z | [OTHER] | Attempt 5273: Error rate 52.54% (target: 15%) +2025-09-15T14:20:54.098Z | [OTHER] | Attempt 5274: Error rate 49.63% (target: 15%) +2025-09-15T14:20:54.104Z | [OTHER] | Attempt 5275: Error rate 56.52% (target: 15%) +2025-09-15T14:20:54.109Z | [OTHER] | Attempt 5276: Error rate 57.48% (target: 15%) +2025-09-15T14:20:54.114Z | [OTHER] | Attempt 5277: Error rate 50% (target: 15%) +2025-09-15T14:20:54.119Z | [OTHER] | Attempt 5278: Error rate 52.27% (target: 15%) +2025-09-15T14:20:54.124Z | [OTHER] | Attempt 5279: Error rate 49.65% (target: 15%) +2025-09-15T14:20:54.129Z | [OTHER] | Attempt 5280: Error rate 57.5% (target: 15%) +2025-09-15T14:20:54.135Z | [OTHER] | Attempt 5281: Error rate 51.89% (target: 15%) +2025-09-15T14:20:54.140Z | [OTHER] | Attempt 5282: Error rate 56.03% (target: 15%) +2025-09-15T14:20:54.145Z | [OTHER] | Attempt 5283: Error rate 53.41% (target: 15%) +2025-09-15T14:20:54.150Z | [OTHER] | Attempt 5284: Error rate 45.24% (target: 15%) +2025-09-15T14:20:54.155Z | [OTHER] | Attempt 5285: Error rate 57.2% (target: 15%) +2025-09-15T14:20:54.160Z | [OTHER] | Attempt 5286: Error rate 51.89% (target: 15%) +2025-09-15T14:20:54.166Z | [OTHER] | Attempt 5287: Error rate 50.38% (target: 15%) +2025-09-15T14:20:54.171Z | [OTHER] | Attempt 5288: Error rate 43.26% (target: 15%) +2025-09-15T14:20:54.176Z | [OTHER] | Attempt 5289: Error rate 47.97% (target: 15%) +2025-09-15T14:20:54.182Z | [OTHER] | Attempt 5290: Error rate 51.45% (target: 15%) +2025-09-15T14:20:54.187Z | [OTHER] | Attempt 5291: Error rate 54.39% (target: 15%) +2025-09-15T14:20:54.193Z | [OTHER] | Attempt 5292: Error rate 51.42% (target: 15%) +2025-09-15T14:20:54.198Z | [OTHER] | Attempt 5293: Error rate 44.32% (target: 15%) +2025-09-15T14:20:54.203Z | [OTHER] | Attempt 5294: Error rate 56.44% (target: 15%) +2025-09-15T14:20:54.209Z | [OTHER] | Attempt 5295: Error rate 57.36% (target: 15%) +2025-09-15T14:20:54.214Z | [OTHER] | Attempt 5296: Error rate 52.96% (target: 15%) +2025-09-15T14:20:54.219Z | [OTHER] | Attempt 5297: Error rate 50.36% (target: 15%) +2025-09-15T14:20:54.224Z | [OTHER] | Attempt 5298: Error rate 51.14% (target: 15%) +2025-09-15T14:20:54.230Z | [OTHER] | Attempt 5299: Error rate 53.99% (target: 15%) +2025-09-15T14:20:54.235Z | [OTHER] | Attempt 5300: Error rate 51.63% (target: 15%) +2025-09-15T14:20:54.241Z | [OTHER] | Attempt 5301: Error rate 50.85% (target: 15%) +2025-09-15T14:20:54.245Z | [OTHER] | Attempt 5302: Error rate 54.86% (target: 15%) +2025-09-15T14:20:54.250Z | [OTHER] | Attempt 5303: Error rate 49.59% (target: 15%) +2025-09-15T14:20:54.256Z | [OTHER] | Attempt 5304: Error rate 52.27% (target: 15%) +2025-09-15T14:20:54.261Z | [OTHER] | Attempt 5305: Error rate 45.42% (target: 15%) +2025-09-15T14:20:54.267Z | [OTHER] | Attempt 5306: Error rate 55.3% (target: 15%) +2025-09-15T14:20:54.272Z | [OTHER] | Attempt 5307: Error rate 50.79% (target: 15%) +2025-09-15T14:20:54.277Z | [OTHER] | Attempt 5308: Error rate 52.71% (target: 15%) +2025-09-15T14:20:54.282Z | [OTHER] | Attempt 5309: Error rate 48.81% (target: 15%) +2025-09-15T14:20:54.287Z | [OTHER] | Attempt 5310: Error rate 56.67% (target: 15%) +2025-09-15T14:20:54.292Z | [OTHER] | Attempt 5311: Error rate 58.68% (target: 15%) +2025-09-15T14:20:54.297Z | [OTHER] | Attempt 5312: Error rate 50% (target: 15%) +2025-09-15T14:20:54.303Z | [OTHER] | Attempt 5313: Error rate 58.51% (target: 15%) +2025-09-15T14:20:54.307Z | [OTHER] | Attempt 5314: Error rate 48.81% (target: 15%) +2025-09-15T14:20:54.313Z | [OTHER] | Attempt 5315: Error rate 46.12% (target: 15%) +2025-09-15T14:20:54.318Z | [OTHER] | Attempt 5316: Error rate 53.62% (target: 15%) +2025-09-15T14:20:54.324Z | [OTHER] | Attempt 5317: Error rate 48.78% (target: 15%) +2025-09-15T14:20:54.330Z | [OTHER] | Attempt 5318: Error rate 53.17% (target: 15%) +2025-09-15T14:20:54.336Z | [OTHER] | Attempt 5319: Error rate 52.03% (target: 15%) +2025-09-15T14:20:54.342Z | [OTHER] | Attempt 5320: Error rate 55.07% (target: 15%) +2025-09-15T14:20:54.348Z | [OTHER] | Attempt 5321: Error rate 56.44% (target: 15%) +2025-09-15T14:20:54.353Z | [OTHER] | Attempt 5322: Error rate 50.76% (target: 15%) +2025-09-15T14:20:54.359Z | [OTHER] | Attempt 5323: Error rate 56.98% (target: 15%) +2025-09-15T14:20:54.364Z | [OTHER] | Attempt 5324: Error rate 51.39% (target: 15%) +2025-09-15T14:20:54.370Z | [OTHER] | Attempt 5325: Error rate 51.81% (target: 15%) +2025-09-15T14:20:54.375Z | [OTHER] | Attempt 5326: Error rate 54.65% (target: 15%) +2025-09-15T14:20:54.381Z | [OTHER] | Attempt 5327: Error rate 49.24% (target: 15%) +2025-09-15T14:20:54.386Z | [OTHER] | Attempt 5328: Error rate 51.11% (target: 15%) +2025-09-15T14:20:54.391Z | [OTHER] | Attempt 5329: Error rate 52.48% (target: 15%) +2025-09-15T14:20:54.396Z | [OTHER] | Attempt 5330: Error rate 48.86% (target: 15%) +2025-09-15T14:20:54.402Z | [OTHER] | Attempt 5331: Error rate 50.74% (target: 15%) +2025-09-15T14:20:54.406Z | [OTHER] | Attempt 5332: Error rate 46.12% (target: 15%) +2025-09-15T14:20:54.412Z | [OTHER] | Attempt 5333: Error rate 57.2% (target: 15%) +2025-09-15T14:20:54.417Z | [OTHER] | Attempt 5334: Error rate 50.38% (target: 15%) +2025-09-15T14:20:54.422Z | [OTHER] | Attempt 5335: Error rate 46.51% (target: 15%) +2025-09-15T14:20:54.427Z | [OTHER] | Attempt 5336: Error rate 49.63% (target: 15%) +2025-09-15T14:20:54.432Z | [OTHER] | Attempt 5337: Error rate 48.02% (target: 15%) +2025-09-15T14:20:54.439Z | [OTHER] | Attempt 5338: Error rate 51.85% (target: 15%) +2025-09-15T14:20:54.444Z | [OTHER] | Attempt 5339: Error rate 56.1% (target: 15%) +2025-09-15T14:20:54.449Z | [OTHER] | Attempt 5340: Error rate 48.91% (target: 15%) +2025-09-15T14:20:54.455Z | [OTHER] | Attempt 5341: Error rate 58.33% (target: 15%) +2025-09-15T14:20:54.460Z | [OTHER] | Attempt 5342: Error rate 47.41% (target: 15%) +2025-09-15T14:20:54.465Z | [OTHER] | Attempt 5343: Error rate 59.3% (target: 15%) +2025-09-15T14:20:54.470Z | [OTHER] | Attempt 5344: Error rate 50.36% (target: 15%) +2025-09-15T14:20:54.475Z | [OTHER] | Attempt 5345: Error rate 50% (target: 15%) +2025-09-15T14:20:54.481Z | [OTHER] | Attempt 5346: Error rate 53.17% (target: 15%) +2025-09-15T14:20:54.487Z | [OTHER] | Attempt 5347: Error rate 52.78% (target: 15%) +2025-09-15T14:20:54.493Z | [OTHER] | Attempt 5348: Error rate 55.93% (target: 15%) +2025-09-15T14:20:54.498Z | [OTHER] | Attempt 5349: Error rate 51.89% (target: 15%) +2025-09-15T14:20:54.503Z | [OTHER] | Attempt 5350: Error rate 51.89% (target: 15%) +2025-09-15T14:20:54.508Z | [OTHER] | Attempt 5351: Error rate 48.48% (target: 15%) +2025-09-15T14:20:54.514Z | [OTHER] | Attempt 5352: Error rate 47.92% (target: 15%) +2025-09-15T14:20:54.519Z | [OTHER] | Attempt 5353: Error rate 46.21% (target: 15%) +2025-09-15T14:20:54.525Z | [OTHER] | Attempt 5354: Error rate 47.73% (target: 15%) +2025-09-15T14:20:54.530Z | [OTHER] | Attempt 5355: Error rate 47.29% (target: 15%) +2025-09-15T14:20:54.536Z | [OTHER] | Attempt 5356: Error rate 50.42% (target: 15%) +2025-09-15T14:20:54.540Z | [OTHER] | Attempt 5357: Error rate 57.46% (target: 15%) +2025-09-15T14:20:54.545Z | [OTHER] | Attempt 5358: Error rate 47.78% (target: 15%) +2025-09-15T14:20:54.550Z | [OTHER] | Attempt 5359: Error rate 54.76% (target: 15%) +2025-09-15T14:20:54.556Z | [OTHER] | Attempt 5360: Error rate 54.17% (target: 15%) +2025-09-15T14:20:54.561Z | [OTHER] | Attempt 5361: Error rate 54.07% (target: 15%) +2025-09-15T14:20:54.566Z | [OTHER] | Attempt 5362: Error rate 49.29% (target: 15%) +2025-09-15T14:20:54.571Z | [OTHER] | Attempt 5363: Error rate 52.54% (target: 15%) +2025-09-15T14:20:54.577Z | [OTHER] | Attempt 5364: Error rate 54.35% (target: 15%) +2025-09-15T14:20:54.582Z | [OTHER] | Attempt 5365: Error rate 56.75% (target: 15%) +2025-09-15T14:20:54.588Z | [OTHER] | Attempt 5366: Error rate 59.93% (target: 15%) +2025-09-15T14:20:54.593Z | [OTHER] | Attempt 5367: Error rate 47.41% (target: 15%) +2025-09-15T14:20:54.598Z | [OTHER] | Attempt 5368: Error rate 57.36% (target: 15%) +2025-09-15T14:20:54.604Z | [OTHER] | Attempt 5369: Error rate 45.56% (target: 15%) +2025-09-15T14:20:54.609Z | [OTHER] | Attempt 5370: Error rate 52.27% (target: 15%) +2025-09-15T14:20:54.614Z | [OTHER] | Attempt 5371: Error rate 56.88% (target: 15%) +2025-09-15T14:20:54.619Z | [OTHER] | Attempt 5372: Error rate 52.27% (target: 15%) +2025-09-15T14:20:54.625Z | [OTHER] | Attempt 5373: Error rate 51.39% (target: 15%) +2025-09-15T14:20:54.630Z | [OTHER] | Attempt 5374: Error rate 49.59% (target: 15%) +2025-09-15T14:20:54.635Z | [OTHER] | Attempt 5375: Error rate 48.29% (target: 15%) +2025-09-15T14:20:54.640Z | [OTHER] | Attempt 5376: Error rate 44.93% (target: 15%) +2025-09-15T14:20:54.645Z | [OTHER] | Attempt 5377: Error rate 44.05% (target: 15%) +2025-09-15T14:20:54.650Z | [OTHER] | Attempt 5378: Error rate 48.84% (target: 15%) +2025-09-15T14:20:54.656Z | [OTHER] | Attempt 5379: Error rate 46.12% (target: 15%) +2025-09-15T14:20:54.661Z | [OTHER] | Attempt 5380: Error rate 49.62% (target: 15%) +2025-09-15T14:20:54.666Z | [OTHER] | Attempt 5381: Error rate 53.33% (target: 15%) +2025-09-15T14:20:54.671Z | [OTHER] | Attempt 5382: Error rate 47.62% (target: 15%) +2025-09-15T14:20:54.676Z | [OTHER] | Attempt 5383: Error rate 53.07% (target: 15%) +2025-09-15T14:20:54.681Z | [OTHER] | Attempt 5384: Error rate 52.14% (target: 15%) +2025-09-15T14:20:54.686Z | [OTHER] | Attempt 5385: Error rate 51.11% (target: 15%) +2025-09-15T14:20:54.692Z | [OTHER] | Attempt 5386: Error rate 49.67% (target: 15%) +2025-09-15T14:20:54.697Z | [OTHER] | Attempt 5387: Error rate 52.78% (target: 15%) +2025-09-15T14:20:54.703Z | [OTHER] | Attempt 5388: Error rate 51.52% (target: 15%) +2025-09-15T14:20:54.708Z | [OTHER] | Attempt 5389: Error rate 46.15% (target: 15%) +2025-09-15T14:20:54.713Z | [OTHER] | Attempt 5390: Error rate 62.68% (target: 15%) +2025-09-15T14:20:54.718Z | [OTHER] | Attempt 5391: Error rate 54.81% (target: 15%) +2025-09-15T14:20:54.723Z | [OTHER] | Attempt 5392: Error rate 46.21% (target: 15%) +2025-09-15T14:20:54.728Z | [OTHER] | Attempt 5393: Error rate 60.28% (target: 15%) +2025-09-15T14:20:54.734Z | [OTHER] | Attempt 5394: Error rate 51.81% (target: 15%) +2025-09-15T14:20:54.739Z | [OTHER] | Attempt 5395: Error rate 49.6% (target: 15%) +2025-09-15T14:20:54.744Z | [OTHER] | Attempt 5396: Error rate 45.93% (target: 15%) +2025-09-15T14:20:54.749Z | [OTHER] | Attempt 5397: Error rate 51.14% (target: 15%) +2025-09-15T14:20:54.754Z | [OTHER] | Attempt 5398: Error rate 47.29% (target: 15%) +2025-09-15T14:20:54.760Z | [OTHER] | Attempt 5399: Error rate 49.62% (target: 15%) +2025-09-15T14:20:54.765Z | [OTHER] | Attempt 5400: Error rate 53.33% (target: 15%) +2025-09-15T14:20:54.771Z | [OTHER] | Attempt 5401: Error rate 58.13% (target: 15%) +2025-09-15T14:20:54.776Z | [OTHER] | Attempt 5402: Error rate 57.14% (target: 15%) +2025-09-15T14:20:54.782Z | [OTHER] | Attempt 5403: Error rate 36.59% (target: 15%) +2025-09-15T14:20:54.787Z | [OTHER] | Attempt 5404: Error rate 44.74% (target: 15%) +2025-09-15T14:20:54.792Z | [OTHER] | Attempt 5405: Error rate 50.74% (target: 15%) +2025-09-15T14:20:54.797Z | [OTHER] | Attempt 5406: Error rate 49.17% (target: 15%) +2025-09-15T14:20:54.803Z | [OTHER] | Attempt 5407: Error rate 42.5% (target: 15%) +2025-09-15T14:20:54.808Z | [OTHER] | Attempt 5408: Error rate 60.81% (target: 15%) +2025-09-15T14:20:54.813Z | [OTHER] | Attempt 5409: Error rate 56.75% (target: 15%) +2025-09-15T14:20:54.819Z | [OTHER] | Attempt 5410: Error rate 48.52% (target: 15%) +2025-09-15T14:20:54.824Z | [OTHER] | Attempt 5411: Error rate 44.7% (target: 15%) +2025-09-15T14:20:54.830Z | [OTHER] | Attempt 5412: Error rate 53.99% (target: 15%) +2025-09-15T14:20:54.835Z | [OTHER] | Attempt 5413: Error rate 54.05% (target: 15%) +2025-09-15T14:20:54.840Z | [OTHER] | Attempt 5414: Error rate 47.78% (target: 15%) +2025-09-15T14:20:54.846Z | [OTHER] | Attempt 5415: Error rate 50.36% (target: 15%) +2025-09-15T14:20:54.851Z | [OTHER] | Attempt 5416: Error rate 64.34% (target: 15%) +2025-09-15T14:20:54.856Z | [OTHER] | Attempt 5417: Error rate 55.95% (target: 15%) +2025-09-15T14:20:54.861Z | [OTHER] | Attempt 5418: Error rate 55.78% (target: 15%) +2025-09-15T14:20:54.867Z | [OTHER] | Attempt 5419: Error rate 48.1% (target: 15%) +2025-09-15T14:20:54.872Z | [OTHER] | Attempt 5420: Error rate 59.58% (target: 15%) +2025-09-15T14:20:54.877Z | [OTHER] | Attempt 5421: Error rate 45.35% (target: 15%) +2025-09-15T14:20:54.883Z | [OTHER] | Attempt 5422: Error rate 47.62% (target: 15%) +2025-09-15T14:20:54.888Z | [OTHER] | Attempt 5423: Error rate 55.67% (target: 15%) +2025-09-15T14:20:54.893Z | [OTHER] | Attempt 5424: Error rate 53.26% (target: 15%) +2025-09-15T14:20:54.898Z | [OTHER] | Attempt 5425: Error rate 49.62% (target: 15%) +2025-09-15T14:20:54.903Z | [OTHER] | Attempt 5426: Error rate 50.76% (target: 15%) +2025-09-15T14:20:54.908Z | [OTHER] | Attempt 5427: Error rate 50% (target: 15%) +2025-09-15T14:20:54.914Z | [OTHER] | Attempt 5428: Error rate 59.17% (target: 15%) +2025-09-15T14:20:54.919Z | [OTHER] | Attempt 5429: Error rate 55.81% (target: 15%) +2025-09-15T14:20:54.924Z | [OTHER] | Attempt 5430: Error rate 46.43% (target: 15%) +2025-09-15T14:20:54.929Z | [OTHER] | Attempt 5431: Error rate 51.59% (target: 15%) +2025-09-15T14:20:54.935Z | [OTHER] | Attempt 5432: Error rate 60.57% (target: 15%) +2025-09-15T14:20:54.941Z | [OTHER] | Attempt 5433: Error rate 56.3% (target: 15%) +2025-09-15T14:20:54.946Z | [OTHER] | Attempt 5434: Error rate 45.29% (target: 15%) +2025-09-15T14:20:54.952Z | [OTHER] | Attempt 5435: Error rate 47.1% (target: 15%) +2025-09-15T14:20:54.958Z | [OTHER] | Attempt 5436: Error rate 52.03% (target: 15%) +2025-09-15T14:20:54.964Z | [OTHER] | Attempt 5437: Error rate 54.88% (target: 15%) +2025-09-15T14:20:54.970Z | [OTHER] | Attempt 5438: Error rate 60.47% (target: 15%) +2025-09-15T14:20:54.975Z | [OTHER] | Attempt 5439: Error rate 47.78% (target: 15%) +2025-09-15T14:20:54.980Z | [OTHER] | Attempt 5440: Error rate 50.41% (target: 15%) +2025-09-15T14:20:54.986Z | [OTHER] | Attempt 5441: Error rate 43.75% (target: 15%) +2025-09-15T14:20:54.992Z | [OTHER] | Attempt 5442: Error rate 51% (target: 15%) +2025-09-15T14:20:54.997Z | [OTHER] | Attempt 5443: Error rate 57.41% (target: 15%) +2025-09-15T14:20:55.002Z | [OTHER] | Attempt 5444: Error rate 56.44% (target: 15%) +2025-09-15T14:20:55.007Z | [OTHER] | Attempt 5445: Error rate 49.64% (target: 15%) +2025-09-15T14:20:55.012Z | [OTHER] | Attempt 5446: Error rate 39.84% (target: 15%) +2025-09-15T14:20:55.018Z | [OTHER] | Attempt 5447: Error rate 52.44% (target: 15%) +2025-09-15T14:20:55.024Z | [OTHER] | Attempt 5448: Error rate 50.85% (target: 15%) +2025-09-15T14:20:55.029Z | [OTHER] | Attempt 5449: Error rate 57.04% (target: 15%) +2025-09-15T14:20:55.034Z | [OTHER] | Attempt 5450: Error rate 63.95% (target: 15%) +2025-09-15T14:20:55.039Z | [OTHER] | Attempt 5451: Error rate 52.96% (target: 15%) +2025-09-15T14:20:55.044Z | [OTHER] | Attempt 5452: Error rate 48.89% (target: 15%) +2025-09-15T14:20:55.050Z | [OTHER] | Attempt 5453: Error rate 50.36% (target: 15%) +2025-09-15T14:20:55.055Z | [OTHER] | Attempt 5454: Error rate 46.74% (target: 15%) +2025-09-15T14:20:55.061Z | [OTHER] | Attempt 5455: Error rate 53.62% (target: 15%) +2025-09-15T14:20:55.066Z | [OTHER] | Attempt 5456: Error rate 59.76% (target: 15%) +2025-09-15T14:20:55.071Z | [OTHER] | Attempt 5457: Error rate 51.39% (target: 15%) +2025-09-15T14:20:55.076Z | [OTHER] | Attempt 5458: Error rate 53.57% (target: 15%) +2025-09-15T14:20:55.081Z | [OTHER] | Attempt 5459: Error rate 55.19% (target: 15%) +2025-09-15T14:20:55.087Z | [OTHER] | Attempt 5460: Error rate 52.22% (target: 15%) +2025-09-15T14:20:55.092Z | [OTHER] | Attempt 5461: Error rate 52.54% (target: 15%) +2025-09-15T14:20:55.097Z | [OTHER] | Attempt 5462: Error rate 51.04% (target: 15%) +2025-09-15T14:20:55.102Z | [OTHER] | Attempt 5463: Error rate 47.01% (target: 15%) +2025-09-15T14:20:55.108Z | [OTHER] | Attempt 5464: Error rate 54.55% (target: 15%) +2025-09-15T14:20:55.113Z | [OTHER] | Attempt 5465: Error rate 51.16% (target: 15%) +2025-09-15T14:20:55.118Z | [OTHER] | Attempt 5466: Error rate 57.09% (target: 15%) +2025-09-15T14:20:55.124Z | [OTHER] | Attempt 5467: Error rate 45.65% (target: 15%) +2025-09-15T14:20:55.129Z | [OTHER] | Attempt 5468: Error rate 50.78% (target: 15%) +2025-09-15T14:20:55.134Z | [OTHER] | Attempt 5469: Error rate 58.33% (target: 15%) +2025-09-15T14:20:55.140Z | [OTHER] | Attempt 5470: Error rate 52.99% (target: 15%) +2025-09-15T14:20:55.145Z | [OTHER] | Attempt 5471: Error rate 52.27% (target: 15%) +2025-09-15T14:20:55.150Z | [OTHER] | Attempt 5472: Error rate 49.24% (target: 15%) +2025-09-15T14:20:55.156Z | [OTHER] | Attempt 5473: Error rate 53.57% (target: 15%) +2025-09-15T14:20:55.161Z | [OTHER] | Attempt 5474: Error rate 55.93% (target: 15%) +2025-09-15T14:20:55.166Z | [OTHER] | Attempt 5475: Error rate 53.17% (target: 15%) +2025-09-15T14:20:55.172Z | [OTHER] | Attempt 5476: Error rate 46.9% (target: 15%) +2025-09-15T14:20:55.177Z | [OTHER] | Attempt 5477: Error rate 59.85% (target: 15%) +2025-09-15T14:20:55.182Z | [OTHER] | Attempt 5478: Error rate 51.25% (target: 15%) +2025-09-15T14:20:55.187Z | [OTHER] | Attempt 5479: Error rate 49.61% (target: 15%) +2025-09-15T14:20:55.193Z | [OTHER] | Attempt 5480: Error rate 49.24% (target: 15%) +2025-09-15T14:20:55.198Z | [OTHER] | Attempt 5481: Error rate 54.55% (target: 15%) +2025-09-15T14:20:55.203Z | [OTHER] | Attempt 5482: Error rate 50% (target: 15%) +2025-09-15T14:20:55.208Z | [OTHER] | Attempt 5483: Error rate 53.62% (target: 15%) +2025-09-15T14:20:55.214Z | [OTHER] | Attempt 5484: Error rate 46% (target: 15%) +2025-09-15T14:20:55.219Z | [OTHER] | Attempt 5485: Error rate 53.03% (target: 15%) +2025-09-15T14:20:55.225Z | [OTHER] | Attempt 5486: Error rate 55.16% (target: 15%) +2025-09-15T14:20:55.230Z | [OTHER] | Attempt 5487: Error rate 51.22% (target: 15%) +2025-09-15T14:20:55.235Z | [OTHER] | Attempt 5488: Error rate 49.26% (target: 15%) +2025-09-15T14:20:55.241Z | [OTHER] | Attempt 5489: Error rate 57.29% (target: 15%) +2025-09-15T14:20:55.246Z | [OTHER] | Attempt 5490: Error rate 55.04% (target: 15%) +2025-09-15T14:20:55.251Z | [OTHER] | Attempt 5491: Error rate 50% (target: 15%) +2025-09-15T14:20:55.257Z | [OTHER] | Attempt 5492: Error rate 56.06% (target: 15%) +2025-09-15T14:20:55.262Z | [OTHER] | Attempt 5493: Error rate 55.19% (target: 15%) +2025-09-15T14:20:55.267Z | [OTHER] | Attempt 5494: Error rate 49.63% (target: 15%) +2025-09-15T14:20:55.272Z | [OTHER] | Attempt 5495: Error rate 56.59% (target: 15%) +2025-09-15T14:20:55.278Z | [OTHER] | Attempt 5496: Error rate 53.49% (target: 15%) +2025-09-15T14:20:55.283Z | [OTHER] | Attempt 5497: Error rate 56.5% (target: 15%) +2025-09-15T14:20:55.289Z | [OTHER] | Attempt 5498: Error rate 52.92% (target: 15%) +2025-09-15T14:20:55.295Z | [OTHER] | Attempt 5499: Error rate 57.04% (target: 15%) +2025-09-15T14:20:55.301Z | [OTHER] | Attempt 5500: Error rate 47.46% (target: 15%) +2025-09-15T14:20:55.306Z | [OTHER] | Attempt 5501: Error rate 53.17% (target: 15%) +2025-09-15T14:20:55.311Z | [OTHER] | Attempt 5502: Error rate 53.79% (target: 15%) +2025-09-15T14:20:55.317Z | [OTHER] | Attempt 5503: Error rate 48.86% (target: 15%) +2025-09-15T14:20:55.322Z | [OTHER] | Attempt 5504: Error rate 57.8% (target: 15%) +2025-09-15T14:20:55.327Z | [OTHER] | Attempt 5505: Error rate 48.72% (target: 15%) +2025-09-15T14:20:55.332Z | [OTHER] | Attempt 5506: Error rate 50% (target: 15%) +2025-09-15T14:20:55.338Z | [OTHER] | Attempt 5507: Error rate 50.37% (target: 15%) +2025-09-15T14:20:55.343Z | [OTHER] | Attempt 5508: Error rate 44.19% (target: 15%) +2025-09-15T14:20:55.348Z | [OTHER] | Attempt 5509: Error rate 55.19% (target: 15%) +2025-09-15T14:20:55.354Z | [OTHER] | Attempt 5510: Error rate 51.67% (target: 15%) +2025-09-15T14:20:55.360Z | [OTHER] | Attempt 5511: Error rate 46.45% (target: 15%) +2025-09-15T14:20:55.365Z | [OTHER] | Attempt 5512: Error rate 51.94% (target: 15%) +2025-09-15T14:20:55.371Z | [OTHER] | Attempt 5513: Error rate 54.08% (target: 15%) +2025-09-15T14:20:55.377Z | [OTHER] | Attempt 5514: Error rate 59.13% (target: 15%) +2025-09-15T14:20:55.382Z | [OTHER] | Attempt 5515: Error rate 46.03% (target: 15%) +2025-09-15T14:20:55.388Z | [OTHER] | Attempt 5516: Error rate 54.71% (target: 15%) +2025-09-15T14:20:55.393Z | [OTHER] | Attempt 5517: Error rate 50% (target: 15%) +2025-09-15T14:20:55.398Z | [OTHER] | Attempt 5518: Error rate 47.35% (target: 15%) +2025-09-15T14:20:55.403Z | [OTHER] | Attempt 5519: Error rate 49% (target: 15%) +2025-09-15T14:20:55.408Z | [OTHER] | Attempt 5520: Error rate 52.78% (target: 15%) +2025-09-15T14:20:55.414Z | [OTHER] | Attempt 5521: Error rate 55.56% (target: 15%) +2025-09-15T14:20:55.420Z | [OTHER] | Attempt 5522: Error rate 52.96% (target: 15%) +2025-09-15T14:20:55.425Z | [OTHER] | Attempt 5523: Error rate 60.47% (target: 15%) +2025-09-15T14:20:55.430Z | [OTHER] | Attempt 5524: Error rate 52.38% (target: 15%) +2025-09-15T14:20:55.435Z | [OTHER] | Attempt 5525: Error rate 49.21% (target: 15%) +2025-09-15T14:20:55.442Z | [OTHER] | Attempt 5526: Error rate 49.63% (target: 15%) +2025-09-15T14:20:55.446Z | [OTHER] | Attempt 5527: Error rate 53.25% (target: 15%) +2025-09-15T14:20:55.451Z | [OTHER] | Attempt 5528: Error rate 47.35% (target: 15%) +2025-09-15T14:20:55.457Z | [OTHER] | Attempt 5529: Error rate 53.99% (target: 15%) +2025-09-15T14:20:55.462Z | [OTHER] | Attempt 5530: Error rate 60.98% (target: 15%) +2025-09-15T14:20:55.467Z | [OTHER] | Attempt 5531: Error rate 47.46% (target: 15%) +2025-09-15T14:20:55.473Z | [OTHER] | Attempt 5532: Error rate 50.71% (target: 15%) +2025-09-15T14:20:55.478Z | [OTHER] | Attempt 5533: Error rate 45.24% (target: 15%) +2025-09-15T14:20:55.483Z | [OTHER] | Attempt 5534: Error rate 45.93% (target: 15%) +2025-09-15T14:20:55.489Z | [OTHER] | Attempt 5535: Error rate 47.41% (target: 15%) +2025-09-15T14:20:55.494Z | [OTHER] | Attempt 5536: Error rate 53.75% (target: 15%) +2025-09-15T14:20:55.499Z | [OTHER] | Attempt 5537: Error rate 55.21% (target: 15%) +2025-09-15T14:20:55.505Z | [OTHER] | Attempt 5538: Error rate 49.62% (target: 15%) +2025-09-15T14:20:55.510Z | [OTHER] | Attempt 5539: Error rate 52.33% (target: 15%) +2025-09-15T14:20:55.515Z | [OTHER] | Attempt 5540: Error rate 57.61% (target: 15%) +2025-09-15T14:20:55.520Z | [OTHER] | Attempt 5541: Error rate 52.27% (target: 15%) +2025-09-15T14:20:55.526Z | [OTHER] | Attempt 5542: Error rate 59.93% (target: 15%) +2025-09-15T14:20:55.531Z | [OTHER] | Attempt 5543: Error rate 57.04% (target: 15%) +2025-09-15T14:20:55.536Z | [OTHER] | Attempt 5544: Error rate 55.43% (target: 15%) +2025-09-15T14:20:55.542Z | [OTHER] | Attempt 5545: Error rate 51.67% (target: 15%) +2025-09-15T14:20:55.547Z | [OTHER] | Attempt 5546: Error rate 52.44% (target: 15%) +2025-09-15T14:20:55.553Z | [OTHER] | Attempt 5547: Error rate 50% (target: 15%) +2025-09-15T14:20:55.558Z | [OTHER] | Attempt 5548: Error rate 48.81% (target: 15%) +2025-09-15T14:20:55.563Z | [OTHER] | Attempt 5549: Error rate 52.44% (target: 15%) +2025-09-15T14:20:55.570Z | [OTHER] | Attempt 5550: Error rate 55.98% (target: 15%) +2025-09-15T14:20:55.575Z | [OTHER] | Attempt 5551: Error rate 52.9% (target: 15%) +2025-09-15T14:20:55.581Z | [OTHER] | Attempt 5552: Error rate 56.2% (target: 15%) +2025-09-15T14:20:55.586Z | [OTHER] | Attempt 5553: Error rate 58.14% (target: 15%) +2025-09-15T14:20:55.592Z | [OTHER] | Attempt 5554: Error rate 43.56% (target: 15%) +2025-09-15T14:20:55.597Z | [OTHER] | Attempt 5555: Error rate 52.59% (target: 15%) +2025-09-15T14:20:55.602Z | [OTHER] | Attempt 5556: Error rate 58.51% (target: 15%) +2025-09-15T14:20:55.608Z | [OTHER] | Attempt 5557: Error rate 47.37% (target: 15%) +2025-09-15T14:20:55.613Z | [OTHER] | Attempt 5558: Error rate 53.1% (target: 15%) +2025-09-15T14:20:55.619Z | [OTHER] | Attempt 5559: Error rate 42.8% (target: 15%) +2025-09-15T14:20:55.624Z | [OTHER] | Attempt 5560: Error rate 48.48% (target: 15%) +2025-09-15T14:20:55.629Z | [OTHER] | Attempt 5561: Error rate 49.26% (target: 15%) +2025-09-15T14:20:55.635Z | [OTHER] | Attempt 5562: Error rate 59.3% (target: 15%) +2025-09-15T14:20:55.640Z | [OTHER] | Attempt 5563: Error rate 50.37% (target: 15%) +2025-09-15T14:20:55.645Z | [OTHER] | Attempt 5564: Error rate 52.38% (target: 15%) +2025-09-15T14:20:55.651Z | [OTHER] | Attempt 5565: Error rate 56.03% (target: 15%) +2025-09-15T14:20:55.656Z | [OTHER] | Attempt 5566: Error rate 55.95% (target: 15%) +2025-09-15T14:20:55.662Z | [OTHER] | Attempt 5567: Error rate 54.76% (target: 15%) +2025-09-15T14:20:55.667Z | [OTHER] | Attempt 5568: Error rate 54.47% (target: 15%) +2025-09-15T14:20:55.673Z | [OTHER] | Attempt 5569: Error rate 49.64% (target: 15%) +2025-09-15T14:20:55.678Z | [OTHER] | Attempt 5570: Error rate 51.85% (target: 15%) +2025-09-15T14:20:55.684Z | [OTHER] | Attempt 5571: Error rate 46.51% (target: 15%) +2025-09-15T14:20:55.690Z | [OTHER] | Attempt 5572: Error rate 55.26% (target: 15%) +2025-09-15T14:20:55.695Z | [OTHER] | Attempt 5573: Error rate 50.68% (target: 15%) +2025-09-15T14:20:55.701Z | [OTHER] | Attempt 5574: Error rate 48.33% (target: 15%) +2025-09-15T14:20:55.706Z | [OTHER] | Attempt 5575: Error rate 48.91% (target: 15%) +2025-09-15T14:20:55.711Z | [OTHER] | Attempt 5576: Error rate 47.97% (target: 15%) +2025-09-15T14:20:55.717Z | [OTHER] | Attempt 5577: Error rate 53.7% (target: 15%) +2025-09-15T14:20:55.722Z | [OTHER] | Attempt 5578: Error rate 53.26% (target: 15%) +2025-09-15T14:20:55.728Z | [OTHER] | Attempt 5579: Error rate 50% (target: 15%) +2025-09-15T14:20:55.734Z | [OTHER] | Attempt 5580: Error rate 53.67% (target: 15%) +2025-09-15T14:20:55.740Z | [OTHER] | Attempt 5581: Error rate 53.57% (target: 15%) +2025-09-15T14:20:55.745Z | [OTHER] | Attempt 5582: Error rate 50% (target: 15%) +2025-09-15T14:20:55.750Z | [OTHER] | Attempt 5583: Error rate 53.03% (target: 15%) +2025-09-15T14:20:55.755Z | [OTHER] | Attempt 5584: Error rate 57.64% (target: 15%) +2025-09-15T14:20:55.760Z | [OTHER] | Attempt 5585: Error rate 55.21% (target: 15%) +2025-09-15T14:20:55.766Z | [OTHER] | Attempt 5586: Error rate 53.57% (target: 15%) +2025-09-15T14:20:55.771Z | [OTHER] | Attempt 5587: Error rate 58.12% (target: 15%) +2025-09-15T14:20:55.776Z | [OTHER] | Attempt 5588: Error rate 55.8% (target: 15%) +2025-09-15T14:20:55.782Z | [OTHER] | Attempt 5589: Error rate 51.59% (target: 15%) +2025-09-15T14:20:55.787Z | [OTHER] | Attempt 5590: Error rate 56.67% (target: 15%) +2025-09-15T14:20:55.793Z | [OTHER] | Attempt 5591: Error rate 51.16% (target: 15%) +2025-09-15T14:20:55.798Z | [OTHER] | Attempt 5592: Error rate 55.68% (target: 15%) +2025-09-15T14:20:55.803Z | [OTHER] | Attempt 5593: Error rate 59.09% (target: 15%) +2025-09-15T14:20:55.809Z | [OTHER] | Attempt 5594: Error rate 50.36% (target: 15%) +2025-09-15T14:20:55.814Z | [OTHER] | Attempt 5595: Error rate 54.26% (target: 15%) +2025-09-15T14:20:55.820Z | [OTHER] | Attempt 5596: Error rate 50.74% (target: 15%) +2025-09-15T14:20:55.825Z | [OTHER] | Attempt 5597: Error rate 52.78% (target: 15%) +2025-09-15T14:20:55.831Z | [OTHER] | Attempt 5598: Error rate 48.52% (target: 15%) +2025-09-15T14:20:55.836Z | [OTHER] | Attempt 5599: Error rate 53.25% (target: 15%) +2025-09-15T14:20:55.841Z | [OTHER] | Attempt 5600: Error rate 47.37% (target: 15%) +2025-09-15T14:20:55.847Z | [OTHER] | Attempt 5601: Error rate 53.19% (target: 15%) +2025-09-15T14:20:55.852Z | [OTHER] | Attempt 5602: Error rate 55.43% (target: 15%) +2025-09-15T14:20:55.857Z | [OTHER] | Attempt 5603: Error rate 49.26% (target: 15%) +2025-09-15T14:20:55.863Z | [OTHER] | Attempt 5604: Error rate 57.94% (target: 15%) +2025-09-15T14:20:55.868Z | [OTHER] | Attempt 5605: Error rate 49.61% (target: 15%) +2025-09-15T14:20:55.873Z | [OTHER] | Attempt 5606: Error rate 52.9% (target: 15%) +2025-09-15T14:20:55.879Z | [OTHER] | Attempt 5607: Error rate 52.43% (target: 15%) +2025-09-15T14:20:55.885Z | [OTHER] | Attempt 5608: Error rate 54.27% (target: 15%) +2025-09-15T14:20:55.890Z | [OTHER] | Attempt 5609: Error rate 48.37% (target: 15%) +2025-09-15T14:20:55.896Z | [OTHER] | Attempt 5610: Error rate 55.42% (target: 15%) +2025-09-15T14:20:55.903Z | [OTHER] | Attempt 5611: Error rate 51.42% (target: 15%) +2025-09-15T14:20:55.908Z | [OTHER] | Attempt 5612: Error rate 51.55% (target: 15%) +2025-09-15T14:20:55.913Z | [OTHER] | Attempt 5613: Error rate 48.91% (target: 15%) +2025-09-15T14:20:55.919Z | [OTHER] | Attempt 5614: Error rate 58.89% (target: 15%) +2025-09-15T14:20:55.925Z | [OTHER] | Attempt 5615: Error rate 52.48% (target: 15%) +2025-09-15T14:20:55.930Z | [OTHER] | Attempt 5616: Error rate 58.73% (target: 15%) +2025-09-15T14:20:55.936Z | [OTHER] | Attempt 5617: Error rate 55.13% (target: 15%) +2025-09-15T14:20:55.942Z | [OTHER] | Attempt 5618: Error rate 53.67% (target: 15%) +2025-09-15T14:20:55.951Z | [OTHER] | Attempt 5619: Error rate 50% (target: 15%) +2025-09-15T14:20:55.960Z | [OTHER] | Attempt 5620: Error rate 51.42% (target: 15%) +2025-09-15T14:20:55.968Z | [OTHER] | Attempt 5621: Error rate 55.67% (target: 15%) +2025-09-15T14:20:55.976Z | [OTHER] | Attempt 5622: Error rate 51.39% (target: 15%) +2025-09-15T14:20:55.982Z | [OTHER] | Attempt 5623: Error rate 48.86% (target: 15%) +2025-09-15T14:20:55.989Z | [OTHER] | Attempt 5624: Error rate 55.3% (target: 15%) +2025-09-15T14:20:55.995Z | [OTHER] | Attempt 5625: Error rate 48.94% (target: 15%) +2025-09-15T14:20:56.001Z | [OTHER] | Attempt 5626: Error rate 51.55% (target: 15%) +2025-09-15T14:20:56.007Z | [OTHER] | Attempt 5627: Error rate 54.17% (target: 15%) +2025-09-15T14:20:56.012Z | [OTHER] | Attempt 5628: Error rate 53.42% (target: 15%) +2025-09-15T14:20:56.017Z | [OTHER] | Attempt 5629: Error rate 55.32% (target: 15%) +2025-09-15T14:20:56.023Z | [OTHER] | Attempt 5630: Error rate 51.36% (target: 15%) +2025-09-15T14:20:56.028Z | [OTHER] | Attempt 5631: Error rate 45.63% (target: 15%) +2025-09-15T14:20:56.034Z | [OTHER] | Attempt 5632: Error rate 52.65% (target: 15%) +2025-09-15T14:20:56.039Z | [OTHER] | Attempt 5633: Error rate 48.89% (target: 15%) +2025-09-15T14:20:56.045Z | [OTHER] | Attempt 5634: Error rate 52.9% (target: 15%) +2025-09-15T14:20:56.050Z | [OTHER] | Attempt 5635: Error rate 51.98% (target: 15%) +2025-09-15T14:20:56.055Z | [OTHER] | Attempt 5636: Error rate 51.19% (target: 15%) +2025-09-15T14:20:56.061Z | [OTHER] | Attempt 5637: Error rate 52.96% (target: 15%) +2025-09-15T14:20:56.067Z | [OTHER] | Attempt 5638: Error rate 47.92% (target: 15%) +2025-09-15T14:20:56.072Z | [OTHER] | Attempt 5639: Error rate 50.39% (target: 15%) +2025-09-15T14:20:56.077Z | [OTHER] | Attempt 5640: Error rate 53.55% (target: 15%) +2025-09-15T14:20:56.083Z | [OTHER] | Attempt 5641: Error rate 52.38% (target: 15%) +2025-09-15T14:20:56.088Z | [OTHER] | Attempt 5642: Error rate 49.65% (target: 15%) +2025-09-15T14:20:56.093Z | [OTHER] | Attempt 5643: Error rate 50.43% (target: 15%) +2025-09-15T14:20:56.099Z | [OTHER] | Attempt 5644: Error rate 53.41% (target: 15%) +2025-09-15T14:20:56.104Z | [OTHER] | Attempt 5645: Error rate 56.35% (target: 15%) +2025-09-15T14:20:56.110Z | [OTHER] | Attempt 5646: Error rate 51.48% (target: 15%) +2025-09-15T14:20:56.115Z | [OTHER] | Attempt 5647: Error rate 51.16% (target: 15%) +2025-09-15T14:20:56.121Z | [OTHER] | Attempt 5648: Error rate 46.75% (target: 15%) +2025-09-15T14:20:56.126Z | [OTHER] | Attempt 5649: Error rate 53.7% (target: 15%) +2025-09-15T14:20:56.131Z | [OTHER] | Attempt 5650: Error rate 53.33% (target: 15%) +2025-09-15T14:20:56.137Z | [OTHER] | Attempt 5651: Error rate 45.74% (target: 15%) +2025-09-15T14:20:56.142Z | [OTHER] | Attempt 5652: Error rate 55.28% (target: 15%) +2025-09-15T14:20:56.147Z | [OTHER] | Attempt 5653: Error rate 58.71% (target: 15%) +2025-09-15T14:20:56.153Z | [OTHER] | Attempt 5654: Error rate 54.81% (target: 15%) +2025-09-15T14:20:56.159Z | [OTHER] | Attempt 5655: Error rate 53.03% (target: 15%) +2025-09-15T14:20:56.164Z | [OTHER] | Attempt 5656: Error rate 54.88% (target: 15%) +2025-09-15T14:20:56.170Z | [OTHER] | Attempt 5657: Error rate 53.7% (target: 15%) +2025-09-15T14:20:56.175Z | [OTHER] | Attempt 5658: Error rate 48.55% (target: 15%) +2025-09-15T14:20:56.181Z | [OTHER] | Attempt 5659: Error rate 53.99% (target: 15%) +2025-09-15T14:20:56.186Z | [OTHER] | Attempt 5660: Error rate 50.43% (target: 15%) +2025-09-15T14:20:56.191Z | [OTHER] | Attempt 5661: Error rate 54.42% (target: 15%) +2025-09-15T14:20:56.197Z | [OTHER] | Attempt 5662: Error rate 51.74% (target: 15%) +2025-09-15T14:20:56.202Z | [OTHER] | Attempt 5663: Error rate 56.16% (target: 15%) +2025-09-15T14:20:56.209Z | [OTHER] | Attempt 5664: Error rate 47.56% (target: 15%) +2025-09-15T14:20:56.214Z | [OTHER] | Attempt 5665: Error rate 53.62% (target: 15%) +2025-09-15T14:20:56.220Z | [OTHER] | Attempt 5666: Error rate 61.25% (target: 15%) +2025-09-15T14:20:56.226Z | [OTHER] | Attempt 5667: Error rate 55.56% (target: 15%) +2025-09-15T14:20:56.232Z | [OTHER] | Attempt 5668: Error rate 61.11% (target: 15%) +2025-09-15T14:20:56.237Z | [OTHER] | Attempt 5669: Error rate 52.44% (target: 15%) +2025-09-15T14:20:56.243Z | [OTHER] | Attempt 5670: Error rate 51.63% (target: 15%) +2025-09-15T14:20:56.248Z | [OTHER] | Attempt 5671: Error rate 60.16% (target: 15%) +2025-09-15T14:20:56.254Z | [OTHER] | Attempt 5672: Error rate 49.64% (target: 15%) +2025-09-15T14:20:56.259Z | [OTHER] | Attempt 5673: Error rate 46.43% (target: 15%) +2025-09-15T14:20:56.264Z | [OTHER] | Attempt 5674: Error rate 52.96% (target: 15%) +2025-09-15T14:20:56.269Z | [OTHER] | Attempt 5675: Error rate 53.41% (target: 15%) +2025-09-15T14:20:56.275Z | [OTHER] | Attempt 5676: Error rate 58.75% (target: 15%) +2025-09-15T14:20:56.281Z | [OTHER] | Attempt 5677: Error rate 51.09% (target: 15%) +2025-09-15T14:20:56.287Z | [OTHER] | Attempt 5678: Error rate 46.97% (target: 15%) +2025-09-15T14:20:56.293Z | [OTHER] | Attempt 5679: Error rate 53.99% (target: 15%) +2025-09-15T14:20:56.298Z | [OTHER] | Attempt 5680: Error rate 49.61% (target: 15%) +2025-09-15T14:20:56.303Z | [OTHER] | Attempt 5681: Error rate 57.32% (target: 15%) +2025-09-15T14:20:56.309Z | [OTHER] | Attempt 5682: Error rate 52.38% (target: 15%) +2025-09-15T14:20:56.315Z | [OTHER] | Attempt 5683: Error rate 47.78% (target: 15%) +2025-09-15T14:20:56.321Z | [OTHER] | Attempt 5684: Error rate 52.13% (target: 15%) +2025-09-15T14:20:56.326Z | [OTHER] | Attempt 5685: Error rate 48.58% (target: 15%) +2025-09-15T14:20:56.331Z | [OTHER] | Attempt 5686: Error rate 45.53% (target: 15%) +2025-09-15T14:20:56.336Z | [OTHER] | Attempt 5687: Error rate 52.65% (target: 15%) +2025-09-15T14:20:56.342Z | [OTHER] | Attempt 5688: Error rate 40.83% (target: 15%) +2025-09-15T14:20:56.348Z | [OTHER] | Attempt 5689: Error rate 56.59% (target: 15%) +2025-09-15T14:20:56.354Z | [OTHER] | Attempt 5690: Error rate 50.83% (target: 15%) +2025-09-15T14:20:56.360Z | [OTHER] | Attempt 5691: Error rate 51.45% (target: 15%) +2025-09-15T14:20:56.366Z | [OTHER] | Attempt 5692: Error rate 48.91% (target: 15%) +2025-09-15T14:20:56.371Z | [OTHER] | Attempt 5693: Error rate 57.41% (target: 15%) +2025-09-15T14:20:56.377Z | [OTHER] | Attempt 5694: Error rate 49.24% (target: 15%) +2025-09-15T14:20:56.383Z | [OTHER] | Attempt 5695: Error rate 50.74% (target: 15%) +2025-09-15T14:20:56.389Z | [OTHER] | Attempt 5696: Error rate 58.87% (target: 15%) +2025-09-15T14:20:56.394Z | [OTHER] | Attempt 5697: Error rate 56.59% (target: 15%) +2025-09-15T14:20:56.399Z | [OTHER] | Attempt 5698: Error rate 51.63% (target: 15%) +2025-09-15T14:20:56.405Z | [OTHER] | Attempt 5699: Error rate 56.06% (target: 15%) +2025-09-15T14:20:56.410Z | [OTHER] | Attempt 5700: Error rate 61.81% (target: 15%) +2025-09-15T14:20:56.415Z | [OTHER] | Attempt 5701: Error rate 50.72% (target: 15%) +2025-09-15T14:20:56.421Z | [OTHER] | Attempt 5702: Error rate 54.17% (target: 15%) +2025-09-15T14:20:56.426Z | [OTHER] | Attempt 5703: Error rate 56.67% (target: 15%) +2025-09-15T14:20:56.432Z | [OTHER] | Attempt 5704: Error rate 52.96% (target: 15%) +2025-09-15T14:20:56.437Z | [OTHER] | Attempt 5705: Error rate 48.55% (target: 15%) +2025-09-15T14:20:56.442Z | [OTHER] | Attempt 5706: Error rate 50.76% (target: 15%) +2025-09-15T14:20:56.448Z | [OTHER] | Attempt 5707: Error rate 58.16% (target: 15%) +2025-09-15T14:20:56.453Z | [OTHER] | Attempt 5708: Error rate 58.33% (target: 15%) +2025-09-15T14:20:56.459Z | [OTHER] | Attempt 5709: Error rate 50% (target: 15%) +2025-09-15T14:20:56.464Z | [OTHER] | Attempt 5710: Error rate 57.64% (target: 15%) +2025-09-15T14:20:56.470Z | [OTHER] | Attempt 5711: Error rate 56.82% (target: 15%) +2025-09-15T14:20:56.475Z | [OTHER] | Attempt 5712: Error rate 46.58% (target: 15%) +2025-09-15T14:20:56.480Z | [OTHER] | Attempt 5713: Error rate 53.33% (target: 15%) +2025-09-15T14:20:56.487Z | [OTHER] | Attempt 5714: Error rate 51.48% (target: 15%) +2025-09-15T14:20:56.492Z | [OTHER] | Attempt 5715: Error rate 54.35% (target: 15%) +2025-09-15T14:20:56.498Z | [OTHER] | Attempt 5716: Error rate 58.7% (target: 15%) +2025-09-15T14:20:56.503Z | [OTHER] | Attempt 5717: Error rate 42.08% (target: 15%) +2025-09-15T14:20:56.509Z | [OTHER] | Attempt 5718: Error rate 52.08% (target: 15%) +2025-09-15T14:20:56.514Z | [OTHER] | Attempt 5719: Error rate 47.01% (target: 15%) +2025-09-15T14:20:56.520Z | [OTHER] | Attempt 5720: Error rate 52.44% (target: 15%) +2025-09-15T14:20:56.525Z | [OTHER] | Attempt 5721: Error rate 53.1% (target: 15%) +2025-09-15T14:20:56.531Z | [OTHER] | Attempt 5722: Error rate 53.57% (target: 15%) +2025-09-15T14:20:56.536Z | [OTHER] | Attempt 5723: Error rate 44.17% (target: 15%) +2025-09-15T14:20:56.541Z | [OTHER] | Using best attempt with error rate: 34.47% +2025-09-15T14:20:56.547Z | [OTHER] | Game created successfully | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, gameCode: 6BDKNI, executionTime: 20055ms" +2025-09-15T14:20:56.553Z | [OTHER] | Game started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","deckCount":3,"totalCards":5,"executionTime":20064} +2025-09-15T14:20:56.558Z | [REQUEST] | Game started successfully | ReqId:jtvdevyrj | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","deckCount":3,"totalCards":5} +2025-09-15T14:20:56.564Z | [REQUEST] | Request completed | ReqId:jtvdevyrj | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | Time:20083ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:20:56.570Z | [OTHER] | Board generation completed for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 in 20032ms. Error rate: 34.47% +2025-09-15T14:24:23.321Z | [REQUEST] | Incoming request | ReqId:ysj3ofthx | IP:::ffff:172.20.0.1 | POST /api/games/join | UA:PostmanRuntime/7.45.0 +2025-09-15T14:24:23.323Z | [REQUEST] | POST /api/games/join | ReqId:ysj3ofthx | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:24:23.332Z | [AUTH] | Optional auth - user authenticated | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":""} +2025-09-15T14:24:23.340Z | [REQUEST] | Join game endpoint accessed | ReqId:ysj3ofthx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"gameCode":"6BDKNI","playerName":"tesztuser","hasAuth":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":null} +2025-09-15T14:24:23.360Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 12ms, gameCode: 6BDKNI, found: true"} +2025-09-15T14:24:23.362Z | [OTHER] | GameService.joinGame called | Meta:{"gameCode":"6BDKNI","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","playerName":"tesztuser","orgId":null,"loginType":0} +2025-09-15T14:24:23.369Z | [OTHER] | Join game input validation passed | Meta:{"gameCode":"6BDKNI","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","loginType":0} +2025-09-15T14:24:23.375Z | [OTHER] | Joining game | Meta:"gameCode: 6BDKNI, playerId: ffa31617-2cf9-403e-ab9d-87eeec85ce58, loginType: 0" +2025-09-15T14:24:23.383Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 2ms, gameCode: 6BDKNI, found: true"} +2025-09-15T14:24:23.387Z | [OTHER] | Game join validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","currentPlayers":0,"maxPlayers":2,"gameState":0,"loginType":0,"playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","isAuthenticated":true} +2025-09-15T14:24:23.394Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:24:23.404Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 1ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:24:23.406Z | [DATABASE] | Game update completed | Meta:{"query":"executionTime: 6ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, updated: true"} +2025-09-15T14:24:23.412Z | [DATABASE] | Player added to game | Meta:{"query":"executionTime: 19ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, playerId: ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:24:23.422Z | [OTHER] | Game data updated in Redis | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","redisKey":"game:9e7ae048-8bc7-4d4b-b3aa-c173465bb003","playerCount":1,"websocketRoom":"game_6BDKNI","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:24:23.424Z | [OTHER] | Player joined game successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","playerCount":1,"maxPlayers":2,"loginType":0,"executionTime":49} +2025-09-15T14:24:23.430Z | [OTHER] | Player joined game successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","playerCount":1,"maxPlayers":2,"executionTime":68} +2025-09-15T14:24:23.436Z | [REQUEST] | Player joined game successfully | ReqId:ysj3ofthx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","gameType":"PUBLIC","playerCount":1,"maxPlayers":2,"playerName":"tesztuser"} +2025-09-15T14:24:23.442Z | [REQUEST] | Request completed | ReqId:ysj3ofthx | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | Time:121ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:25:09.320Z | [REQUEST] | Incoming request | ReqId:j950jni9m | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:25:09.322Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:j950jni9m | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:25:09.331Z | [AUTH] | Authentication successful | ReqId:j950jni9m | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:25:09.336Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:j950jni9m | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:25:09.343Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:25:09.350Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:25:09.357Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T14:25:09.373Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 9ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:25:09.376Z | [ERROR] | Failed to start game play | Meta:{"name":"Error","message":"Game needs at least 2 players to start","stack":"Error: Game needs at least 2 players to start\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:113:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:229:24"} +2025-09-15T14:25:09.381Z | [OTHER] | Game start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":18} +2025-09-15T14:25:09.388Z | [ERROR] | GameService.startGamePlay failed | Meta:{"name":"Error","message":"Game needs at least 2 players to start","stack":"Error: Game needs at least 2 players to start\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:113:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:229:24"} +2025-09-15T14:25:09.395Z | [OTHER] | Game play start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":45,"error":"Game needs at least 2 players to start"} +2025-09-15T14:25:09.401Z | [ERROR] | Start gameplay endpoint error | ReqId:j950jni9m | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Game needs at least 2 players to start","stack":"Error: Game needs at least 2 players to start\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:113:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:229:24"} +2025-09-15T14:25:09.408Z | [REQUEST] | Request completed | ReqId:j950jni9m | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:500 | Time:88ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:16.806Z | [REQUEST] | Incoming request | ReqId:kvyur8w2q | IP:::ffff:172.20.0.1 | GET /api/user/create | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:16.807Z | [REQUEST] | GET /api/user/create | ReqId:kvyur8w2q | IP:::ffff:172.20.0.1 | GET /api/user/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:16.815Z | [REQUEST] | Request completed | ReqId:kvyur8w2q | IP:::ffff:172.20.0.1 | GET /api/user/create | Status:404 | Time:9ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:21.367Z | [REQUEST] | Incoming request | ReqId:cw7l07s05 | IP:::ffff:172.20.0.1 | POST /api/user/create | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:21.369Z | [REQUEST] | POST /api/user/create | ReqId:cw7l07s05 | IP:::ffff:172.20.0.1 | POST /api/user/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:21.376Z | [REQUEST] | Request completed | ReqId:cw7l07s05 | IP:::ffff:172.20.0.1 | POST /api/user/create | Status:404 | Time:9ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:29.379Z | [REQUEST] | Incoming request | ReqId:tmy40e667 | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:29.382Z | [REQUEST] | POST /api/users/create | ReqId:tmy40e667 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:29.390Z | [REQUEST] | Create user endpoint accessed | ReqId:tmy40e667 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser","email":"teszt@example.com"} +2025-09-15T14:26:29.560Z | [DATABASE] | User created successfully | Meta:{"executionTime":13,"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","email":"teszt@example.com"} +2025-09-15T14:26:29.566Z | [REQUEST] | User created successfully | ReqId:tmy40e667 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser"} +2025-09-15T14:26:29.568Z | [REQUEST] | Request completed | ReqId:tmy40e667 | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:201 | Time:189ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:29.876Z | [ERROR] | Email sending failed | Meta:{"name":"Error","message":"Missing credentials for \"PLAIN\"","stack":"Error: Missing credentials for \"PLAIN\"\n at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)\n at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:454:38)\n at /app/node_modules/nodemailer/lib/smtp-transport/index.js:272:32\n at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:215:17)\n at Object.onceWrapper (node:events:638:28)\n at SMTPConnection.emit (node:events:524:28)\n at SMTPConnection.emit (node:domain:489:12)\n at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1371:14)\n at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:993:20)\n at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:14)"} +2025-09-15T14:26:29.878Z | [WARNING] | Failed to send verification email | Meta:{"email":"teszt@example.com","userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:26:42.825Z | [REQUEST] | Incoming request | ReqId:gwclmpupv | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:42.827Z | [REQUEST] | POST /api/users/login | ReqId:gwclmpupv | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:26:42.835Z | [REQUEST] | Login endpoint accessed | ReqId:gwclmpupv | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:26:42.842Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:26:42.860Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":10,"found":true,"username":"TesztUser"} +2025-09-15T14:26:42.862Z | [DATABASE] | User lookup completed | Meta:{"executionTime":20,"found":true,"searchBy":"username"} +2025-09-15T14:26:42.870Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"} +2025-09-15T14:26:42.878Z | [REQUEST] | Request completed | ReqId:gwclmpupv | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:401 | Time:53ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:27:31.305Z | [REQUEST] | Incoming request | ReqId:ihg2j8kx5 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:27:31.307Z | [REQUEST] | POST /api/users/login | ReqId:ihg2j8kx5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:27:31.314Z | [REQUEST] | Login endpoint accessed | ReqId:ihg2j8kx5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:27:31.320Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:27:31.336Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":10,"found":true,"username":"TesztUser"} +2025-09-15T14:27:31.338Z | [DATABASE] | User lookup completed | Meta:{"executionTime":18,"found":true,"searchBy":"username"} +2025-09-15T14:27:31.346Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"} +2025-09-15T14:27:31.352Z | [REQUEST] | Request completed | ReqId:ihg2j8kx5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:401 | Time:47ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-30-59-513Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-30-59-513Z.log new file mode 100644 index 00000000..9e0a2fb6 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-30-59-513Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:30:59.513Z +# Max entries per file: 10000 + +2025-09-15T14:31:01.570Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:31:01.584Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:31:01.584Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:31:02.522Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:31:02.528Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:31:02.530Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:31:02.532Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-31-29-169Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-31-29-169Z.log new file mode 100644 index 00000000..58fd2b66 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-31-29-169Z.log @@ -0,0 +1,19 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:31:29.169Z +# Max entries per file: 10000 + +2025-09-15T14:31:30.954Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:31:30.969Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:31:30.969Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:31:31.757Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:31:31.761Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:31:31.763Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:31:31.765Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:31:34.808Z | [REQUEST] | Incoming request | ReqId:nplvxzsxj | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:31:34.810Z | [REQUEST] | POST /api/users/login | ReqId:nplvxzsxj | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:31:34.812Z | [REQUEST] | Login endpoint accessed | ReqId:nplvxzsxj | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:31:34.814Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:31:34.825Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":9,"found":true,"username":"TesztUser"} +2025-09-15T14:31:34.827Z | [DATABASE] | User lookup completed | Meta:{"executionTime":13,"found":true,"searchBy":"username"} +2025-09-15T14:31:34.828Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"} +2025-09-15T14:31:34.834Z | [ERROR] | Login endpoint error | ReqId:nplvxzsxj | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Login failed: null","stack":"Error: Login failed: null\n at /app/src/Api/routers/userRouter.ts:35:10\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"} +2025-09-15T14:31:34.837Z | [REQUEST] | Request completed | ReqId:nplvxzsxj | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:500 | Time:29ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-33-42-527Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-33-42-527Z.log new file mode 100644 index 00000000..c6719c99 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-33-42-527Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:33:42.527Z +# Max entries per file: 10000 + +2025-09-15T14:33:44.303Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:33:44.317Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:33:44.317Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:33:45.193Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:33:45.197Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:33:45.199Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:33:45.201Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-34-01-960Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-34-01-960Z.log new file mode 100644 index 00000000..a6018d63 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-34-01-960Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:34:01.960Z +# Max entries per file: 10000 + +2025-09-15T14:34:03.872Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:34:03.886Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:34:03.886Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:34:04.808Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:34:04.812Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:34:04.814Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:34:04.816Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-35-09-998Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-35-09-998Z.log new file mode 100644 index 00000000..42d350e8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-35-09-998Z.log @@ -0,0 +1,21 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:35:09.998Z +# Max entries per file: 10000 + +2025-09-15T14:35:11.708Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:35:11.722Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:35:11.722Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:35:12.519Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:35:12.525Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:35:12.526Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:35:12.529Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:35:38.401Z | [REQUEST] | Incoming request | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:35:38.404Z | [REQUEST] | POST /api/users/login | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:35:38.406Z | [REQUEST] | Login endpoint accessed | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:35:38.408Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:35:38.425Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":16,"found":true,"username":"TesztUser"} +2025-09-15T14:35:38.427Z | [DATABASE] | User lookup completed | Meta:{"executionTime":19,"found":true,"searchBy":"username"} +2025-09-15T14:35:38.428Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"} +2025-09-15T14:35:38.435Z | [ERROR] | Login handler error | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"} +2025-09-15T14:35:38.437Z | [DATABASE] | Unexpected database error during login | Meta:{"executionTime":29} +2025-09-15T14:35:38.439Z | [ERROR] | Login endpoint error | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Database connection error","stack":"Error: Database connection error\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:189:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"} +2025-09-15T14:35:38.442Z | [REQUEST] | Request completed | ReqId:ateyog4vw | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:500 | Time:41ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-37-03-360Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-37-03-360Z.log new file mode 100644 index 00000000..67f74be7 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-37-03-360Z.log @@ -0,0 +1,21 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:37:03.360Z +# Max entries per file: 10000 + +2025-09-15T14:37:05.167Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:37:05.180Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:37:05.180Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:37:06.036Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:37:06.041Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:37:06.043Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:37:06.045Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:37:07.040Z | [REQUEST] | Incoming request | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:37:07.042Z | [REQUEST] | POST /api/users/login | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:37:07.044Z | [REQUEST] | Login endpoint accessed | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:37:07.046Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:37:07.057Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":9,"found":true,"username":"TesztUser"} +2025-09-15T14:37:07.059Z | [DATABASE] | User lookup completed | Meta:{"executionTime":13,"found":true,"searchBy":"username"} +2025-09-15T14:37:07.061Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"} +2025-09-15T14:37:07.067Z | [ERROR] | Login handler error | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"} +2025-09-15T14:37:07.068Z | [DATABASE] | Unexpected database error during login | Meta:{"executionTime":22} +2025-09-15T14:37:07.070Z | [ERROR] | Login endpoint error | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Database connection error","stack":"Error: Database connection error\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:189:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"} +2025-09-15T14:37:07.073Z | [REQUEST] | Request completed | ReqId:7v1156kp7 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:500 | Time:33ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-21-111Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-21-111Z.log new file mode 100644 index 00000000..f6c01be2 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-21-111Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:38:21.111Z +# Max entries per file: 10000 + +2025-09-15T14:38:23.075Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:38:23.091Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:38:23.091Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:38:24.053Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:38:24.058Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:38:24.059Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:38:24.061Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-54-177Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-54-177Z.log new file mode 100644 index 00000000..4a1fd385 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-54-177Z.log @@ -0,0 +1,36 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:38:54.177Z +# Max entries per file: 10000 + +2025-09-15T14:38:55.824Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:38:55.837Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:38:55.837Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:38:56.709Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:38:56.714Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:38:56.715Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:38:56.717Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:38:58.509Z | [REQUEST] | Incoming request | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:38:58.512Z | [REQUEST] | POST /api/users/login | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:38:58.514Z | [REQUEST] | Login endpoint accessed | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:38:58.516Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:38:58.527Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":9,"found":true,"username":"TesztUser"} +2025-09-15T14:38:58.528Z | [DATABASE] | User lookup completed | Meta:{"executionTime":12,"found":true,"searchBy":"username"} +2025-09-15T14:38:58.529Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"} +2025-09-15T14:38:58.535Z | [ERROR] | Login handler error | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"} +2025-09-15T14:38:58.536Z | [ERROR] | Login endpoint error | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"} +2025-09-15T14:38:58.538Z | [REQUEST] | Request completed | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:401 | Time:29ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:39:16.183Z | [REQUEST] | Incoming request | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:39:16.185Z | [REQUEST] | POST /api/users/login | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:39:16.187Z | [REQUEST] | Login endpoint accessed | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"} +2025-09-15T14:39:16.189Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"} +2025-09-15T14:39:16.203Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":13,"found":true,"username":"TesztUser"} +2025-09-15T14:39:16.205Z | [DATABASE] | User lookup completed | Meta:{"executionTime":16,"found":true,"searchBy":"username"} +2025-09-15T14:39:16.363Z | [AUTH] | Password verification completed | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","valid":true,"verificationTime":157} +2025-09-15T14:39:16.370Z | [AUTH] | Login successful | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"userStatus":1,"orgId":"","requiresOrgReauth":false,"totalLoginTime":181} +2025-09-15T14:39:16.372Z | [AUTH] | User login successful | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser"} +2025-09-15T14:39:16.374Z | [REQUEST] | Request completed | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:191ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:40:01.536Z | [REQUEST] | Incoming request | ReqId:37oddpar8 | IP:::ffff:172.20.0.1 | POST /api/games/join | UA:PostmanRuntime/7.45.0 +2025-09-15T14:40:01.537Z | [REQUEST] | POST /api/games/join | ReqId:37oddpar8 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:40:01.542Z | [AUTH] | Optional auth - user authenticated | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"userStatus":1,"orgId":""} +2025-09-15T14:40:01.544Z | [REQUEST] | Join game endpoint accessed | ReqId:37oddpar8 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"gameCode":"6BDKNI","hasAuth":true,"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","orgId":null} +2025-09-15T14:40:01.558Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 13ms, gameCode: 6BDKNI, found: true"} +2025-09-15T14:40:01.560Z | [REQUEST] | Request completed | ReqId:37oddpar8 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:400 | Time:25ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-41-57-666Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-41-57-666Z.log new file mode 100644 index 00000000..2f032a27 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-41-57-666Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:41:57.666Z +# Max entries per file: 10000 + +2025-09-15T14:41:59.550Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:41:59.564Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:41:59.564Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:42:00.470Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:42:00.475Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:42:00.477Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:42:00.479Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-42-52-921Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-42-52-921Z.log new file mode 100644 index 00000000..249b8dc3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-42-52-921Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:42:52.921Z +# Max entries per file: 10000 + +2025-09-15T14:42:54.879Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:42:54.893Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:42:54.893Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:42:55.786Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:42:55.791Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:42:55.792Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:42:55.794Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-44-41-360Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-44-41-360Z.log new file mode 100644 index 00000000..604b4b49 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-44-41-360Z.log @@ -0,0 +1,90 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:44:41.360Z +# Max entries per file: 10000 + +2025-09-15T14:44:43.137Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:44:43.150Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:44:43.150Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:44:44.056Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:44:44.060Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:44:44.062Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:44:44.064Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:44:46.624Z | [ERROR] | Unhandled error: Expected ',' or '}' after property value in JSON at position 37 | ReqId:ho56dnkn1 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"stack":"SyntaxError: Expected ',' or '}' after property value in JSON at position 37\n at JSON.parse ()\n at parse (/app/node_modules/body-parser/lib/types/json.js:77:19)\n at /app/node_modules/body-parser/lib/read.js:123:18\n at AsyncResource.runInAsyncScope (node:async_hooks:206:9)\n at invokeCallback (/app/node_modules/raw-body/index.js:238:16)\n at done (/app/node_modules/raw-body/index.js:227:7)\n at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:287:7)\n at IncomingMessage.emit (node:events:524:28)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)","name":"SyntaxError"} +2025-09-15T14:44:46.628Z | [ERROR] | Global error handler caught unhandled error | ReqId:tw8k68yoe | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"SyntaxError","message":"Expected ',' or '}' after property value in JSON at position 37","stack":"SyntaxError: Expected ',' or '}' after property value in JSON at position 37\n at JSON.parse ()\n at parse (/app/node_modules/body-parser/lib/types/json.js:77:19)\n at /app/node_modules/body-parser/lib/read.js:123:18\n at AsyncResource.runInAsyncScope (node:async_hooks:206:9)\n at invokeCallback (/app/node_modules/raw-body/index.js:238:16)\n at done (/app/node_modules/raw-body/index.js:227:7)\n at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:287:7)\n at IncomingMessage.emit (node:events:524:28)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)"} +2025-09-15T14:44:49.955Z | [REQUEST] | Incoming request | ReqId:qloq3deev | IP:::ffff:172.20.0.1 | POST /api/games/join | UA:PostmanRuntime/7.45.0 +2025-09-15T14:44:49.957Z | [REQUEST] | POST /api/games/join | ReqId:qloq3deev | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:44:49.961Z | [AUTH] | Optional auth - user authenticated | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"userStatus":1,"orgId":""} +2025-09-15T14:44:49.964Z | [REQUEST] | Join game endpoint accessed | ReqId:qloq3deev | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"gameCode":"6BDKNI","hasAuth":true,"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","orgId":null} +2025-09-15T14:44:49.974Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 9ms, gameCode: 6BDKNI, found: true"} +2025-09-15T14:44:49.978Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: 0c7bfa37-77c9-4c73-a7f7-ca4199055456 })","executionTime":2,"found":true,"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:44:49.980Z | [REQUEST] | Using logged-in user's username as playerName | ReqId:qloq3deev | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser"} +2025-09-15T14:44:49.982Z | [OTHER] | GameService.joinGame called | Meta:{"gameCode":"6BDKNI","playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","playerName":"TesztUser","orgId":null,"loginType":0} +2025-09-15T14:44:49.984Z | [OTHER] | Join game input validation passed | Meta:{"gameCode":"6BDKNI","playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","loginType":0} +2025-09-15T14:44:49.985Z | [OTHER] | Joining game | Meta:"gameCode: 6BDKNI, playerId: 0c7bfa37-77c9-4c73-a7f7-ca4199055456, loginType: 0" +2025-09-15T14:44:49.989Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 2ms, gameCode: 6BDKNI, found: true"} +2025-09-15T14:44:49.990Z | [OTHER] | Game join validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","currentPlayers":1,"maxPlayers":2,"gameState":0,"loginType":0,"playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","isAuthenticated":true} +2025-09-15T14:44:49.994Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:44:50.002Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:44:50.004Z | [DATABASE] | Game update completed | Meta:{"query":"executionTime: 8ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, updated: true"} +2025-09-15T14:44:50.005Z | [DATABASE] | Player added to game | Meta:{"query":"executionTime: 13ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, playerId: 0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:44:50.010Z | [OTHER] | Game data updated in Redis | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","redisKey":"game:9e7ae048-8bc7-4d4b-b3aa-c173465bb003","playerCount":2,"websocketRoom":"game_6BDKNI","playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:44:50.011Z | [OTHER] | Player joined game successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","playerCount":2,"maxPlayers":2,"loginType":0,"executionTime":26} +2025-09-15T14:44:50.013Z | [OTHER] | Player joined game successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","playerCount":2,"maxPlayers":2,"executionTime":31} +2025-09-15T14:44:50.014Z | [REQUEST] | Player joined game successfully | ReqId:qloq3deev | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","gameType":"PUBLIC","playerCount":2,"maxPlayers":2,"playerName":"TesztUser"} +2025-09-15T14:44:50.016Z | [REQUEST] | Request completed | ReqId:qloq3deev | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | Time:61ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:44:56.123Z | [REQUEST] | Incoming request | ReqId:6ddm54o5r | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:44:56.125Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:6ddm54o5r | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:44:56.128Z | [AUTH] | Authentication successful | ReqId:6ddm54o5r | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"orgId":""} +2025-09-15T14:44:56.130Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:6ddm54o5r | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:44:56.132Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:44:56.133Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:44:56.135Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: 0c7bfa37-77c9-4c73-a7f7-ca4199055456" +2025-09-15T14:44:56.138Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:44:56.145Z | [ERROR] | Failed to start game play | Meta:{"name":"Error","message":"Only the game master can start this game","stack":"Error: Only the game master can start this game\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:118:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:44:56.147Z | [OTHER] | Game start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","executionTime":5} +2025-09-15T14:44:56.149Z | [ERROR] | GameService.startGamePlay failed | Meta:{"name":"Error","message":"Only the game master can start this game","stack":"Error: Only the game master can start this game\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:118:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:44:56.150Z | [OTHER] | Game play start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","executionTime":17,"error":"Only the game master can start this game"} +2025-09-15T14:44:56.152Z | [ERROR] | Start gameplay endpoint error | ReqId:6ddm54o5r | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Only the game master can start this game","stack":"Error: Only the game master can start this game\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:118:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:44:56.154Z | [REQUEST] | Request completed | ReqId:6ddm54o5r | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:403 | Time:31ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:45:23.860Z | [REQUEST] | Incoming request | ReqId:lbq1eq3ta | IP:::ffff:172.20.0.1 | POST /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T14:45:23.862Z | [REQUEST] | POST /api/users/profile | ReqId:lbq1eq3ta | IP:::ffff:172.20.0.1 | POST /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:45:23.864Z | [REQUEST] | Request completed | ReqId:lbq1eq3ta | IP:::ffff:172.20.0.1 | POST /api/users/profile | Status:404 | Time:4ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:45:28.010Z | [REQUEST] | Incoming request | ReqId:bftwrokt9 | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 +2025-09-15T14:45:28.012Z | [REQUEST] | GET /api/users/profile | ReqId:bftwrokt9 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:45:28.016Z | [AUTH] | Authentication successful | ReqId:bftwrokt9 | IP:::ffff:172.20.0.1 | GET /api/users/profile | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"orgId":""} +2025-09-15T14:45:28.018Z | [REQUEST] | Get user profile endpoint accessed | ReqId:bftwrokt9 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:45:28.035Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: 0c7bfa37-77c9-4c73-a7f7-ca4199055456 })","executionTime":15,"found":true,"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456"} +2025-09-15T14:45:28.037Z | [REQUEST] | User profile retrieved successfully | ReqId:bftwrokt9 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser"} +2025-09-15T14:45:28.039Z | [REQUEST] | Request completed | ReqId:bftwrokt9 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | GET /api/users/profile | Status:200 | Time:29ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:04.502Z | [REQUEST] | Incoming request | ReqId:1ylgy91h5 | IP:::ffff:172.20.0.1 | GET /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:04.504Z | [REQUEST] | GET /api/users/login | ReqId:1ylgy91h5 | IP:::ffff:172.20.0.1 | GET /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:04.506Z | [REQUEST] | Request completed | ReqId:1ylgy91h5 | IP:::ffff:172.20.0.1 | GET /api/users/login | Status:404 | Time:4ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:08.138Z | [REQUEST] | Incoming request | ReqId:l6py1qnm5 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:08.140Z | [REQUEST] | POST /api/users/login | ReqId:l6py1qnm5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:08.142Z | [REQUEST] | Login endpoint accessed | ReqId:l6py1qnm5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin"} +2025-09-15T14:46:08.144Z | [AUTH] | Login attempt | Meta:{"username":"TesztAdmin"} +2025-09-15T14:46:08.155Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztAdmin })","executionTime":9,"found":true,"username":"TesztAdmin"} +2025-09-15T14:46:08.157Z | [DATABASE] | User lookup completed | Meta:{"executionTime":13,"found":true,"searchBy":"username"} +2025-09-15T14:46:08.307Z | [AUTH] | Password verification completed | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","valid":true,"verificationTime":148} +2025-09-15T14:46:08.311Z | [AUTH] | Login successful | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":"","requiresOrgReauth":false,"totalLoginTime":167} +2025-09-15T14:46:08.313Z | [AUTH] | User login successful | ReqId:l6py1qnm5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztAdmin"} +2025-09-15T14:46:08.315Z | [REQUEST] | Request completed | ReqId:l6py1qnm5 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:177ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:15.371Z | [REQUEST] | Incoming request | ReqId:jgvbhtgsa | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:15.373Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:jgvbhtgsa | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:46:15.377Z | [AUTH] | Authentication successful | ReqId:jgvbhtgsa | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:46:15.379Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:jgvbhtgsa | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:46:15.380Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:46:15.382Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:46:15.383Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T14:46:15.388Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 3ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:46:15.390Z | [OTHER] | Game start validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"gameState":0,"isGameMaster":true} +2025-09-15T14:46:15.391Z | [OTHER] | Waiting for board generation for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"maxWaitTime":20,"pollInterval":500} +2025-09-15T14:46:15.394Z | [OTHER] | Board generation completed for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"errorRate":34.47,"fieldCount":100,"borderLength":100,"waitTime":3} +2025-09-15T14:46:15.400Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:46:15.402Z | [DATABASE] | Game update completed | Meta:{"query":"executionTime: 7ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, updated: true"} +2025-09-15T14:46:15.404Z | [OTHER] | Player positions initialized | Meta:{"playerCount":2,"turnOrders":[1,2],"playersData":[{"playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","position":0,"turnOrder":1},{"playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","position":0,"turnOrder":2}]} +2025-09-15T14:46:15.407Z | [OTHER] | Game play initialized in Redis | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"turnSequence":["ffa31617-2cf9-403e-ab9d-87eeec85ce58","0c7bfa37-77c9-4c73-a7f7-ca4199055456"],"currentPlayer":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","redisKey":"gameplay:9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:46:15.409Z | [OTHER] | Game start notifications prepared | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"websocketRoom":"game_6BDKNI"} +2025-09-15T14:46:15.410Z | [OTHER] | Game play started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"executionTime":27} +2025-09-15T14:46:15.412Z | [OTHER] | Game play started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"gameState":1,"executionTime":31} +2025-09-15T14:46:15.413Z | [REQUEST] | Game gameplay started successfully | ReqId:jgvbhtgsa | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","playerCount":2} +2025-09-15T14:46:15.415Z | [REQUEST] | Request completed | ReqId:jgvbhtgsa | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | Time:44ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-51-18-355Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-51-18-355Z.log new file mode 100644 index 00000000..2f9d1005 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-51-18-355Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:51:18.355Z +# Max entries per file: 10000 + +2025-09-15T14:51:20.163Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:51:20.176Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:51:20.176Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:51:21.045Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:51:21.049Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:51:21.051Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:51:21.053Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-51-49-176Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-51-49-176Z.log new file mode 100644 index 00000000..1261f567 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-51-49-176Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:51:49.176Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-52-08-246Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-52-08-246Z.log new file mode 100644 index 00000000..deece16e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-52-08-246Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:52:08.246Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-52-30-120Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-52-30-120Z.log new file mode 100644 index 00000000..1edaa400 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-52-30-120Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:52:30.120Z +# Max entries per file: 10000 + +2025-09-15T14:52:32.060Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:52:32.074Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:52:32.074Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:52:32.950Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:52:32.954Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:52:32.956Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:52:32.958Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-54-17-346Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-54-17-346Z.log new file mode 100644 index 00000000..fc1f6602 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-54-17-346Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:54:17.346Z +# Max entries per file: 10000 + +2025-09-15T14:54:19.336Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:54:19.353Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:54:19.353Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:54:20.329Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:54:20.334Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:54:20.335Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:54:20.337Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-54-38-736Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-54-38-736Z.log new file mode 100644 index 00000000..eb8e5b6b --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-54-38-736Z.log @@ -0,0 +1,60 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:54:38.736Z +# Max entries per file: 10000 + +2025-09-15T14:54:40.403Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:54:40.417Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:54:40.417Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:54:41.229Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:54:41.233Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:54:41.234Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:54:41.235Z | [STARTUP] | Redis client connected successfully +2025-09-15T14:54:44.323Z | [REQUEST] | Incoming request | ReqId:r0wu4jdjh | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:54:44.325Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:r0wu4jdjh | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:54:44.330Z | [AUTH] | Authentication successful | ReqId:r0wu4jdjh | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:54:44.331Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:r0wu4jdjh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:54:44.333Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:54:44.334Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:54:44.336Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T14:54:44.345Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 8ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:54:44.352Z | [ERROR] | Failed to start game play | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:103:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:54:44.354Z | [OTHER] | Game start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":11} +2025-09-15T14:54:44.355Z | [ERROR] | GameService.startGamePlay failed | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:103:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:54:44.357Z | [OTHER] | Game play start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":23,"error":"Game is not in waiting state and cannot be started"} +2025-09-15T14:54:44.358Z | [ERROR] | Start gameplay endpoint error | ReqId:r0wu4jdjh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:103:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:54:44.361Z | [REQUEST] | Request completed | ReqId:r0wu4jdjh | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:500 | Time:38ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:55:21.586Z | [REQUEST] | Incoming request | ReqId:2fgicgl4c | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:55:21.588Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:2fgicgl4c | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:55:21.593Z | [AUTH] | Authentication successful | ReqId:2fgicgl4c | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:55:21.596Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:2fgicgl4c | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:55:21.598Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:55:21.599Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:55:21.601Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T14:55:21.615Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 12ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:55:21.617Z | [ERROR] | Failed to start game play | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:103:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:55:21.619Z | [OTHER] | Game start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":16} +2025-09-15T14:55:21.621Z | [ERROR] | GameService.startGamePlay failed | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:103:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:55:21.622Z | [OTHER] | Game play start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":23,"error":"Game is not in waiting state and cannot be started"} +2025-09-15T14:55:21.623Z | [ERROR] | Start gameplay endpoint error | ReqId:2fgicgl4c | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:103:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:56:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:26)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T14:55:21.625Z | [REQUEST] | Request completed | ReqId:2fgicgl4c | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:500 | Time:39ms | UA:PostmanRuntime/7.45.0 +2025-09-15T14:55:55.741Z | [REQUEST] | Incoming request | ReqId:n01v9yqwa | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T14:55:55.743Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:n01v9yqwa | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T14:55:55.746Z | [AUTH] | Authentication successful | ReqId:n01v9yqwa | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T14:55:55.748Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:n01v9yqwa | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:55:55.750Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T14:55:55.751Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:55:55.753Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T14:55:55.766Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 12ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:55:55.767Z | [OTHER] | Game start validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"gameState":0,"isGameMaster":true} +2025-09-15T14:55:55.769Z | [OTHER] | Waiting for board generation for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"maxWaitTime":20,"pollInterval":500,"redisKey":"game_board_9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:55:55.771Z | [OTHER] | Board generation check for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"attempt":1,"hasData":true,"dataLength":5526,"waitTime":2} +2025-09-15T14:55:55.772Z | [OTHER] | Board data found for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"generationComplete":true,"hasError":false,"fieldsCount":100,"borderLength":100,"totalErrorRate":34.47} +2025-09-15T14:55:55.774Z | [OTHER] | Board generation completed for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"errorRate":34.47,"fieldCount":100,"borderLength":100,"waitTime":5} +2025-09-15T14:55:55.781Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 1ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T14:55:55.782Z | [DATABASE] | Game update completed | Meta:{"query":"executionTime: 7ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, updated: true"} +2025-09-15T14:55:55.784Z | [OTHER] | Player positions initialized | Meta:{"playerCount":2,"turnOrders":[2,1],"playersData":[{"playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","position":0,"turnOrder":2},{"playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","position":0,"turnOrder":1}]} +2025-09-15T14:55:55.787Z | [OTHER] | Game play initialized in Redis | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"turnSequence":["0c7bfa37-77c9-4c73-a7f7-ca4199055456","ffa31617-2cf9-403e-ab9d-87eeec85ce58"],"currentPlayer":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","redisKey":"gameplay:9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T14:55:55.788Z | [OTHER] | Game start notifications prepared | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"websocketRoom":"game_6BDKNI"} +2025-09-15T14:55:55.790Z | [OTHER] | Game play started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"executionTime":37} +2025-09-15T14:55:55.791Z | [OTHER] | Game play started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"gameState":1,"executionTime":41} +2025-09-15T14:55:55.793Z | [REQUEST] | Game gameplay started successfully | ReqId:n01v9yqwa | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","playerCount":2} +2025-09-15T14:55:55.794Z | [REQUEST] | Request completed | ReqId:n01v9yqwa | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | Time:53ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-58-47-659Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-58-47-659Z.log new file mode 100644 index 00000000..b7d3dc6c --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-58-47-659Z.log @@ -0,0 +1,4 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:58:47.659Z +# Max entries per file: 10000 + diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-59-18-251Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-59-18-251Z.log new file mode 100644 index 00000000..d45b779e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-59-18-251Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:59:18.251Z +# Max entries per file: 10000 + +2025-09-15T14:59:20.126Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:59:20.140Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:59:20.140Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:59:21.083Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:59:21.087Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:59:21.089Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:59:21.091Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-59-39-010Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-59-39-010Z.log new file mode 100644 index 00000000..3da1a1a3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-59-39-010Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T14:59:39.010Z +# Max entries per file: 10000 + +2025-09-15T14:59:40.830Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T14:59:40.846Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:59:40.846Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T14:59:41.770Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T14:59:41.775Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T14:59:41.777Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T14:59:41.779Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-02-49-386Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-02-49-386Z.log new file mode 100644 index 00000000..06bcf658 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-02-49-386Z.log @@ -0,0 +1,24 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:02:49.386Z +# Max entries per file: 10000 + +2025-09-15T15:02:51.122Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:02:51.135Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:02:51.135Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:02:52.038Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:02:52.042Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:02:52.044Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:02:52.046Z | [STARTUP] | Redis client connected successfully +2025-09-15T15:02:55.984Z | [REQUEST] | Incoming request | ReqId:teg470jjc | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T15:02:55.986Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:teg470jjc | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T15:02:55.992Z | [AUTH] | Authentication successful | ReqId:teg470jjc | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T15:02:55.994Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:teg470jjc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:02:55.996Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T15:02:55.998Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:02:55.999Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T15:02:56.010Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 9ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T15:02:56.017Z | [ERROR] | Failed to start game play | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:111:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:61:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:28)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T15:02:56.019Z | [OTHER] | Game start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":12} +2025-09-15T15:02:56.021Z | [ERROR] | GameService.startGamePlay failed | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:111:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:61:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:28)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T15:02:56.023Z | [OTHER] | Game play start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":25,"error":"Game is not in waiting state and cannot be started"} +2025-09-15T15:02:56.024Z | [ERROR] | Start gameplay endpoint error | ReqId:teg470jjc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:111:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:61:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:28)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T15:02:56.028Z | [REQUEST] | Request completed | ReqId:teg470jjc | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:500 | Time:44ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-04-26-653Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-04-26-653Z.log new file mode 100644 index 00000000..a21af985 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-04-26-653Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:04:26.653Z +# Max entries per file: 10000 + +2025-09-15T15:04:28.468Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:04:28.481Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:04:28.481Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:04:29.323Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:04:29.328Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:04:29.330Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:04:29.332Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-04-39-136Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-04-39-136Z.log new file mode 100644 index 00000000..c54f7226 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-04-39-136Z.log @@ -0,0 +1,46 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:04:39.136Z +# Max entries per file: 10000 + +2025-09-15T15:04:40.787Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:04:40.803Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:04:40.803Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:04:41.619Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:04:41.623Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:04:41.624Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:04:41.626Z | [STARTUP] | Redis client connected successfully +2025-09-15T15:04:46.727Z | [REQUEST] | Incoming request | ReqId:yvyeo0ik4 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T15:04:46.730Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:yvyeo0ik4 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T15:04:46.738Z | [AUTH] | Authentication successful | ReqId:yvyeo0ik4 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T15:04:46.740Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:yvyeo0ik4 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:04:46.742Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T15:04:46.743Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:04:46.745Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T15:04:46.754Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 8ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T15:04:46.762Z | [ERROR] | Failed to start game play | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:111:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:61:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:28)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T15:04:46.764Z | [OTHER] | Game start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":11} +2025-09-15T15:04:46.765Z | [ERROR] | GameService.startGamePlay failed | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:111:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:61:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:28)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T15:04:46.767Z | [OTHER] | Game play start failed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","executionTime":24,"error":"Game is not in waiting state and cannot be started"} +2025-09-15T15:04:46.769Z | [ERROR] | Start gameplay endpoint error | ReqId:yvyeo0ik4 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Game is not in waiting state and cannot be started","stack":"Error: Game is not in waiting state and cannot be started\n at StartGamePlayCommandHandler.validateGameCanStart (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:111:19)\n at StartGamePlayCommandHandler.handle (/app/src/Application/Game/commands/StartGamePlayCommandHandler.ts:61:18)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async GameService.startGamePlay (/app/src/Application/Game/GameService.ts:177:28)\n at async /app/src/Api/routers/gameRouter.ts:256:24"} +2025-09-15T15:04:46.771Z | [REQUEST] | Request completed | ReqId:yvyeo0ik4 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:409 | Time:44ms | UA:PostmanRuntime/7.45.0 +2025-09-15T15:05:14.722Z | [REQUEST] | Incoming request | ReqId:f3765wwty | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 +2025-09-15T15:05:14.724Z | [REQUEST] | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | ReqId:f3765wwty | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T15:05:14.727Z | [AUTH] | Authentication successful | ReqId:f3765wwty | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T15:05:14.729Z | [REQUEST] | Start gameplay endpoint accessed | ReqId:f3765wwty | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:05:14.730Z | [OTHER] | GameService.startGamePlay called | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T15:05:14.732Z | [OTHER] | Start game play input validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:05:14.734Z | [OTHER] | Starting game play | Meta:"gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, userId: ffa31617-2cf9-403e-ab9d-87eeec85ce58" +2025-09-15T15:05:14.748Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 13ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T15:05:14.749Z | [OTHER] | Game start validation passed | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"gameState":0,"isGameMaster":true} +2025-09-15T15:05:14.751Z | [OTHER] | Waiting for board generation for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"maxWaitTime":20,"pollInterval":500,"redisKey":"game_board_9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:05:14.754Z | [OTHER] | Board generation check for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"attempt":1,"hasData":true,"dataLength":5526,"waitTime":3} +2025-09-15T15:05:14.756Z | [OTHER] | Board data found for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"generationComplete":true,"hasError":false,"fieldsCount":100,"borderLength":100,"totalErrorRate":34.47} +2025-09-15T15:05:14.757Z | [OTHER] | Board generation completed for game 9e7ae048-8bc7-4d4b-b3aa-c173465bb003 | Meta:{"errorRate":34.47,"fieldCount":100,"borderLength":100,"waitTime":6} +2025-09-15T15:05:14.766Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, found: true"} +2025-09-15T15:05:14.768Z | [DATABASE] | Game update completed | Meta:{"query":"executionTime: 9ms, gameId: 9e7ae048-8bc7-4d4b-b3aa-c173465bb003, updated: true"} +2025-09-15T15:05:14.770Z | [OTHER] | Player positions initialized | Meta:{"playerCount":2,"turnOrders":[2,1],"playersData":[{"playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","position":0,"turnOrder":2},{"playerId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","position":0,"turnOrder":1}]} +2025-09-15T15:05:14.773Z | [OTHER] | Game play initialized in Redis | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"turnSequence":["0c7bfa37-77c9-4c73-a7f7-ca4199055456","ffa31617-2cf9-403e-ab9d-87eeec85ce58"],"currentPlayer":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","redisKey":"gameplay:9e7ae048-8bc7-4d4b-b3aa-c173465bb003"} +2025-09-15T15:05:14.775Z | [OTHER] | Game start notifications prepared | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"websocketRoom":"game_6BDKNI"} +2025-09-15T15:05:14.776Z | [OTHER] | Game play started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"executionTime":43} +2025-09-15T15:05:14.778Z | [OTHER] | Game play started successfully | Meta:{"gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","gameCode":"6BDKNI","playerCount":2,"gameState":1,"executionTime":47} +2025-09-15T15:05:14.779Z | [REQUEST] | Game gameplay started successfully | ReqId:f3765wwty | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"9e7ae048-8bc7-4d4b-b3aa-c173465bb003","playerCount":2} +2025-09-15T15:05:14.781Z | [REQUEST] | Request completed | ReqId:f3765wwty | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/9e7ae048-8bc7-4d4b-b3aa-c173465bb003/start | Status:200 | Time:59ms | UA:PostmanRuntime/7.45.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-06-33-437Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-06-33-437Z.log new file mode 100644 index 00000000..6aedb70e --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-06-33-437Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:06:33.437Z +# Max entries per file: 10000 + +2025-09-15T15:06:35.332Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:06:35.347Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:06:35.347Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:06:36.253Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:06:36.258Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:06:36.260Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:06:36.263Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-10-03-401Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-10-03-401Z.log new file mode 100644 index 00000000..3d34ab81 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-10-03-401Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:10:03.401Z +# Max entries per file: 10000 + +2025-09-15T15:10:05.384Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:10:05.399Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:10:05.399Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:10:06.298Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:10:06.303Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:10:06.305Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:10:06.307Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-11-21-267Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-11-21-267Z.log new file mode 100644 index 00000000..37859b67 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-11-21-267Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:11:21.267Z +# Max entries per file: 10000 + +2025-09-15T15:11:23.252Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:11:23.265Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:11:23.265Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:11:24.111Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:11:24.115Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:11:24.117Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:11:24.119Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-11-33-854Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-11-33-854Z.log new file mode 100644 index 00000000..2ae68764 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-11-33-854Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:11:33.854Z +# Max entries per file: 10000 + +2025-09-15T15:11:35.564Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:11:35.578Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:11:35.578Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:11:36.405Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:11:36.409Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:11:36.410Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:11:36.412Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-13-47-367Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-13-47-367Z.log new file mode 100644 index 00000000..8d56b9f6 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-13-47-367Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:13:47.367Z +# Max entries per file: 10000 + +2025-09-15T15:13:49.173Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:13:49.188Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:13:49.188Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:13:50.002Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:13:50.006Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:13:50.007Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:13:50.009Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-14-03-510Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-14-03-510Z.log new file mode 100644 index 00000000..2b8726e7 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-14-03-510Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:14:03.510Z +# Max entries per file: 10000 + +2025-09-15T15:14:05.302Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:14:05.315Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:14:05.315Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:14:06.249Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:14:06.254Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:14:06.256Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:14:06.258Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-14-28-727Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-14-28-727Z.log new file mode 100644 index 00000000..31de825c --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-14-28-727Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:14:28.727Z +# Max entries per file: 10000 + +2025-09-15T15:14:30.461Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:14:30.474Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:14:30.474Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:14:31.306Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:14:31.311Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:14:31.313Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:14:31.315Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-18-53-560Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-18-53-560Z.log new file mode 100644 index 00000000..882f02b8 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-18-53-560Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:18:53.560Z +# Max entries per file: 10000 + +2025-09-15T15:18:55.531Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:18:55.544Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:18:55.544Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:18:56.484Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:18:56.489Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:18:56.490Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:18:56.493Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-19-05-527Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-19-05-527Z.log new file mode 100644 index 00000000..70fe0d4d --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-19-05-527Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:19:05.527Z +# Max entries per file: 10000 + +2025-09-15T15:19:07.382Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:19:07.394Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:19:07.394Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:19:08.276Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:19:08.280Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:19:08.282Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:19:08.284Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-19-57-880Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-19-57-880Z.log new file mode 100644 index 00000000..d2bd8750 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T15-19-57-880Z.log @@ -0,0 +1,112 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T15:19:57.880Z +# Max entries per file: 10000 + +2025-09-15T15:19:59.701Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T15:19:59.716Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T15:19:59.716Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T15:20:00.573Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T15:20:00.578Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T15:20:00.579Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T15:20:00.589Z | [REQUEST] | Incoming request | ReqId:vpy7nl5pr | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.45.0 +2025-09-15T15:20:00.591Z | [REQUEST] | POST /api/games/start | ReqId:vpy7nl5pr | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 +2025-09-15T15:20:00.594Z | [STARTUP] | Redis client connected successfully +2025-09-15T15:20:00.600Z | [AUTH] | Authentication successful | ReqId:vpy7nl5pr | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T15:20:00.602Z | [REQUEST] | Start game endpoint accessed | ReqId:vpy7nl5pr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":""} +2025-09-15T15:20:00.605Z | [REQUEST] | Request completed | ReqId:vpy7nl5pr | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:400 | Time:16ms | UA:PostmanRuntime/7.45.0 +2025-09-15T16:20:00.516Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":19,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-15T15:50:00.496Z"} +2025-09-15T16:20:00.521Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":4,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-18T16:20:00.517Z"} +2025-09-15T16:20:00.525Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":3,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-15T16:20:00.527Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-18T16:20:00.517Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-15T16:43:19.273Z | [REQUEST] | Incoming request | ReqId:gav2fa5s6 | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.46.0 +2025-09-15T16:43:19.275Z | [REQUEST] | POST /api/games/start | ReqId:gav2fa5s6 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 +2025-09-15T16:43:19.280Z | [AUTH] | Authentication successful | ReqId:gav2fa5s6 | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T16:43:19.282Z | [REQUEST] | Start game endpoint accessed | ReqId:gav2fa5s6 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":""} +2025-09-15T16:43:19.284Z | [REQUEST] | Request completed | ReqId:gav2fa5s6 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:400 | Time:11ms | UA:PostmanRuntime/7.46.0 +2025-09-15T16:45:27.252Z | [ERROR] | Unhandled error: Expected ',' or ']' after array element in JSON at position 21 | ReqId:4zuf0uf68 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"stack":"SyntaxError: Expected ',' or ']' after array element in JSON at position 21\n at JSON.parse ()\n at parse (/app/node_modules/body-parser/lib/types/json.js:77:19)\n at /app/node_modules/body-parser/lib/read.js:123:18\n at AsyncResource.runInAsyncScope (node:async_hooks:206:9)\n at invokeCallback (/app/node_modules/raw-body/index.js:238:16)\n at done (/app/node_modules/raw-body/index.js:227:7)\n at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:287:7)\n at IncomingMessage.emit (node:events:524:28)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)","name":"SyntaxError"} +2025-09-15T16:45:27.254Z | [ERROR] | Global error handler caught unhandled error | ReqId:1j43mrgq3 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"name":"SyntaxError","message":"Expected ',' or ']' after array element in JSON at position 21","stack":"SyntaxError: Expected ',' or ']' after array element in JSON at position 21\n at JSON.parse ()\n at parse (/app/node_modules/body-parser/lib/types/json.js:77:19)\n at /app/node_modules/body-parser/lib/read.js:123:18\n at AsyncResource.runInAsyncScope (node:async_hooks:206:9)\n at invokeCallback (/app/node_modules/raw-body/index.js:238:16)\n at done (/app/node_modules/raw-body/index.js:227:7)\n at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:287:7)\n at IncomingMessage.emit (node:events:524:28)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)"} +2025-09-15T16:45:40.823Z | [REQUEST] | Incoming request | ReqId:aq0mxjxe3 | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.46.0 +2025-09-15T16:45:40.824Z | [REQUEST] | POST /api/games/start | ReqId:aq0mxjxe3 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 +2025-09-15T16:45:40.827Z | [AUTH] | Authentication successful | ReqId:aq0mxjxe3 | IP:::ffff:172.20.0.1 | POST /api/games/start | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} +2025-09-15T16:45:40.829Z | [REQUEST] | Start game endpoint accessed | ReqId:aq0mxjxe3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":"","deckCount":3,"maxplayers":2,"logintype":0} +2025-09-15T16:45:40.831Z | [OTHER] | GameService.startGame called | Meta:{"deckCount":3,"maxplayers":2,"logintype":0,"userid":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgid":""} +2025-09-15T16:45:40.833Z | [OTHER] | Start game input validation passed | Meta:{"deckCount":3,"maxplayers":2,"logintype":0} +2025-09-15T16:45:40.835Z | [OTHER] | Starting game creation | Meta:"deckCount: 3, maxPlayers: 2, loginType: 0" +2025-09-15T16:45:40.853Z | [OTHER] | Deck types validation passed | Meta:"foundTypes: [2, 1, 0]" +2025-09-15T16:45:40.855Z | [OTHER] | Created shuffled game deck | Meta:"type: 2, cardCount: 1, sourceDecks: 1" +2025-09-15T16:45:40.856Z | [OTHER] | Created shuffled game deck | Meta:"type: 1, cardCount: 1, sourceDecks: 1" +2025-09-15T16:45:40.858Z | [OTHER] | Created shuffled game deck | Meta:"type: 0, cardCount: 3, sourceDecks: 1" +2025-09-15T16:45:40.875Z | [DATABASE] | Game created | Meta:{"query":"executionTime: 16ms, gameId: 15b8df04-302a-496d-80f3-f667e1a7d7c5, gameCode: 1KTEV7"} +2025-09-15T16:45:40.879Z | [OTHER] | Game created in Redis | Meta:{"gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","hostId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","websocketRoom":"game_1KTEV7","redisKey":"game:15b8df04-302a-496d-80f3-f667e1a7d7c5"} +2025-09-15T16:45:40.881Z | [OTHER] | Triggering async board generation for game 15b8df04-302a-496d-80f3-f667e1a7d7c5 | Meta:{"positiveFieldCount":40,"negativeFieldCount":16,"luckFieldCount":10,"totalSpecialFields":66} +2025-09-15T16:45:40.883Z | [OTHER] | Starting board generation for game 15b8df04-302a-496d-80f3-f667e1a7d7c5 +2025-09-15T16:45:40.885Z | [OTHER] | Calculated step value for negative field at position 1 | Meta:{"targetField":8,"targetIndexInBorder":0,"startBorderIndex":0,"calculatedStepValue":-1,"fieldType":"negative"} +2025-09-15T16:45:40.887Z | [OTHER] | Calculated step value for negative field at position 2 | Meta:{"targetField":1,"targetIndexInBorder":2,"startBorderIndex":1,"calculatedStepValue":0,"fieldType":"negative"} +2025-09-15T16:45:40.888Z | [OTHER] | Calculated step value for positive field at position 6 | Meta:{"targetField":1,"targetIndexInBorder":2,"startBorderIndex":5,"calculatedStepValue":96,"fieldType":"positive"} +2025-09-15T16:45:40.889Z | [OTHER] | Calculated step value for negative field at position 7 | Meta:{"targetField":4,"targetIndexInBorder":6,"startBorderIndex":6,"calculatedStepValue":-1,"fieldType":"negative"} +2025-09-15T16:45:40.891Z | [OTHER] | Calculated step value for positive field at position 8 | Meta:{"targetField":10,"targetIndexInBorder":20,"startBorderIndex":7,"calculatedStepValue":12,"fieldType":"positive"} +2025-09-15T16:45:40.892Z | [OTHER] | Calculated step value for positive field at position 10 | Meta:{"targetField":1,"targetIndexInBorder":2,"startBorderIndex":9,"calculatedStepValue":92,"fieldType":"positive"} +2025-09-15T16:45:40.893Z | [OTHER] | Calculated step value for negative field at position 11 | Meta:{"targetField":10,"targetIndexInBorder":20,"startBorderIndex":10,"calculatedStepValue":9,"fieldType":"negative"} +2025-09-15T16:45:40.895Z | [OTHER] | Calculated step value for positive field at position 15 | Meta:{"targetField":11,"targetIndexInBorder":5,"startBorderIndex":14,"calculatedStepValue":90,"fieldType":"positive"} +2025-09-15T16:45:40.896Z | [OTHER] | Calculated step value for positive field at position 19 | Meta:{"targetField":16,"targetIndexInBorder":24,"startBorderIndex":18,"calculatedStepValue":5,"fieldType":"positive"} +2025-09-15T16:45:40.898Z | [OTHER] | Calculated step value for positive field at position 20 | Meta:{"targetField":18,"targetIndexInBorder":27,"startBorderIndex":19,"calculatedStepValue":7,"fieldType":"positive"} +2025-09-15T16:45:40.899Z | [OTHER] | Calculated step value for positive field at position 22 | Meta:{"targetField":6,"targetIndexInBorder":8,"startBorderIndex":21,"calculatedStepValue":86,"fieldType":"positive"} +2025-09-15T16:45:40.901Z | [OTHER] | Calculated step value for positive field at position 23 | Meta:{"targetField":16,"targetIndexInBorder":24,"startBorderIndex":22,"calculatedStepValue":1,"fieldType":"positive"} +2025-09-15T16:45:40.902Z | [OTHER] | Calculated step value for positive field at position 26 | Meta:{"targetField":16,"targetIndexInBorder":24,"startBorderIndex":25,"calculatedStepValue":98,"fieldType":"positive"} +2025-09-15T16:45:40.904Z | [OTHER] | Calculated step value for negative field at position 31 | Meta:{"targetField":16,"targetIndexInBorder":24,"startBorderIndex":30,"calculatedStepValue":-7,"fieldType":"negative"} +2025-09-15T16:45:40.905Z | [OTHER] | Calculated step value for positive field at position 32 | Meta:{"targetField":48,"targetIndexInBorder":37,"startBorderIndex":31,"calculatedStepValue":5,"fieldType":"positive"} +2025-09-15T16:45:40.907Z | [OTHER] | Calculated step value for positive field at position 33 | Meta:{"targetField":45,"targetIndexInBorder":39,"startBorderIndex":32,"calculatedStepValue":6,"fieldType":"positive"} +2025-09-15T16:45:40.908Z | [OTHER] | Calculated step value for positive field at position 36 | Meta:{"targetField":24,"targetIndexInBorder":35,"startBorderIndex":35,"calculatedStepValue":99,"fieldType":"positive"} +2025-09-15T16:45:40.909Z | [OTHER] | Calculated step value for negative field at position 37 | Meta:{"targetField":53,"targetIndexInBorder":44,"startBorderIndex":36,"calculatedStepValue":7,"fieldType":"negative"} +2025-09-15T16:45:40.911Z | [OTHER] | Calculated step value for positive field at position 38 | Meta:{"targetField":48,"targetIndexInBorder":37,"startBorderIndex":37,"calculatedStepValue":99,"fieldType":"positive"} +2025-09-15T16:45:40.912Z | [OTHER] | Calculated step value for positive field at position 39 | Meta:{"targetField":42,"targetIndexInBorder":48,"startBorderIndex":38,"calculatedStepValue":9,"fieldType":"positive"} +2025-09-15T16:45:40.914Z | [OTHER] | Calculated step value for negative field at position 41 | Meta:{"targetField":35,"targetIndexInBorder":29,"startBorderIndex":40,"calculatedStepValue":-12,"fieldType":"negative"} +2025-09-15T16:45:40.915Z | [OTHER] | Calculated step value for negative field at position 45 | Meta:{"targetField":48,"targetIndexInBorder":37,"startBorderIndex":44,"calculatedStepValue":-8,"fieldType":"negative"} +2025-09-15T16:45:40.917Z | [OTHER] | Calculated step value for positive field at position 48 | Meta:{"targetField":46,"targetIndexInBorder":47,"startBorderIndex":47,"calculatedStepValue":99,"fieldType":"positive"} +2025-09-15T16:45:40.918Z | [OTHER] | Calculated step value for positive field at position 50 | Meta:{"targetField":35,"targetIndexInBorder":29,"startBorderIndex":49,"calculatedStepValue":79,"fieldType":"positive"} +2025-09-15T16:45:40.920Z | [OTHER] | Calculated step value for positive field at position 52 | Meta:{"targetField":51,"targetIndexInBorder":51,"startBorderIndex":51,"calculatedStepValue":99,"fieldType":"positive"} +2025-09-15T16:45:40.921Z | [OTHER] | Calculated step value for positive field at position 56 | Meta:{"targetField":37,"targetIndexInBorder":55,"startBorderIndex":55,"calculatedStepValue":99,"fieldType":"positive"} +2025-09-15T16:45:40.923Z | [OTHER] | Calculated step value for negative field at position 61 | Meta:{"targetField":46,"targetIndexInBorder":47,"startBorderIndex":60,"calculatedStepValue":-14,"fieldType":"negative"} +2025-09-15T16:45:40.924Z | [OTHER] | Calculated step value for positive field at position 62 | Meta:{"targetField":65,"targetIndexInBorder":66,"startBorderIndex":61,"calculatedStepValue":4,"fieldType":"positive"} +2025-09-15T16:45:40.926Z | [OTHER] | Calculated step value for negative field at position 65 | Meta:{"targetField":84,"targetIndexInBorder":68,"startBorderIndex":64,"calculatedStepValue":3,"fieldType":"negative"} +2025-09-15T16:45:40.927Z | [OTHER] | Calculated step value for negative field at position 67 | Meta:{"targetField":65,"targetIndexInBorder":66,"startBorderIndex":66,"calculatedStepValue":-1,"fieldType":"negative"} +2025-09-15T16:45:40.928Z | [OTHER] | Calculated step value for positive field at position 70 | Meta:{"targetField":75,"targetIndexInBorder":63,"startBorderIndex":69,"calculatedStepValue":93,"fieldType":"positive"} +2025-09-15T16:45:40.930Z | [OTHER] | Calculated step value for negative field at position 71 | Meta:{"targetField":70,"targetIndexInBorder":76,"startBorderIndex":70,"calculatedStepValue":5,"fieldType":"negative"} +2025-09-15T16:45:40.931Z | [OTHER] | Calculated step value for negative field at position 72 | Meta:{"targetField":84,"targetIndexInBorder":68,"startBorderIndex":71,"calculatedStepValue":-4,"fieldType":"negative"} +2025-09-15T16:45:40.933Z | [OTHER] | Calculated step value for positive field at position 73 | Meta:{"targetField":70,"targetIndexInBorder":76,"startBorderIndex":72,"calculatedStepValue":3,"fieldType":"positive"} +2025-09-15T16:45:40.934Z | [OTHER] | Calculated step value for positive field at position 78 | Meta:{"targetField":95,"targetIndexInBorder":84,"startBorderIndex":77,"calculatedStepValue":6,"fieldType":"positive"} +2025-09-15T16:45:40.935Z | [OTHER] | Calculated step value for positive field at position 85 | Meta:{"targetField":91,"targetIndexInBorder":83,"startBorderIndex":84,"calculatedStepValue":98,"fieldType":"positive"} +2025-09-15T16:45:40.937Z | [OTHER] | Calculated step value for positive field at position 86 | Meta:{"targetField":79,"targetIndexInBorder":82,"startBorderIndex":85,"calculatedStepValue":96,"fieldType":"positive"} +2025-09-15T16:45:40.939Z | [OTHER] | Calculated step value for positive field at position 92 | Meta:{"targetField":99,"targetIndexInBorder":89,"startBorderIndex":91,"calculatedStepValue":97,"fieldType":"positive"} +2025-09-15T16:45:40.940Z | [OTHER] | Calculated step value for positive field at position 94 | Meta:{"targetField":77,"targetIndexInBorder":96,"startBorderIndex":93,"calculatedStepValue":2,"fieldType":"positive"} +2025-09-15T16:45:40.941Z | [OTHER] | Calculated step value for positive field at position 95 | Meta:{"targetField":100,"targetIndexInBorder":90,"startBorderIndex":94,"calculatedStepValue":95,"fieldType":"positive"} +2025-09-15T16:45:40.943Z | [OTHER] | Calculated step value for negative field at position 97 | Meta:{"targetField":95,"targetIndexInBorder":84,"startBorderIndex":96,"calculatedStepValue":-13,"fieldType":"negative"} +2025-09-15T16:45:40.944Z | [OTHER] | Calculated step value for negative field at position 99 | Meta:{"targetField":94,"targetIndexInBorder":98,"startBorderIndex":98,"calculatedStepValue":-1,"fieldType":"negative"} +2025-09-15T16:45:40.946Z | [OTHER] | Calculated step value for positive field at position 100 | Meta:{"targetField":100,"targetIndexInBorder":90,"startBorderIndex":99,"calculatedStepValue":90,"fieldType":"positive"} +2025-09-15T16:45:40.948Z | [OTHER] | Board generation attempt completed | Meta:{"totalFields":100,"specialFields":51,"positiveFields":28,"negativeFields":15,"luckFields":8,"errorRate":13.18,"targetCount":258} +2025-09-15T16:45:40.950Z | [OTHER] | Board generation successful on attempt 1. Error rate: 13.18% +2025-09-15T16:45:40.951Z | [OTHER] | Game created successfully | Meta:"gameId: 15b8df04-302a-496d-80f3-f667e1a7d7c5, gameCode: 1KTEV7, executionTime: 116ms" +2025-09-15T16:45:40.953Z | [OTHER] | Game started successfully | Meta:{"gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","deckCount":3,"totalCards":5,"executionTime":122} +2025-09-15T16:45:40.954Z | [REQUEST] | Game started successfully | ReqId:aq0mxjxe3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","deckCount":3,"totalCards":5} +2025-09-15T16:45:40.956Z | [REQUEST] | Request completed | ReqId:aq0mxjxe3 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/start | Status:200 | Time:133ms | UA:PostmanRuntime/7.46.0 +2025-09-15T16:45:40.958Z | [OTHER] | Board generation completed for game 15b8df04-302a-496d-80f3-f667e1a7d7c5 in 74ms. Error rate: 13.18% +2025-09-15T16:49:12.785Z | [REQUEST] | Incoming request | ReqId:sr0zkbk63 | IP:::ffff:172.20.0.1 | POST /api/games/join | UA:PostmanRuntime/7.46.0 +2025-09-15T16:49:12.787Z | [REQUEST] | POST /api/games/join | ReqId:sr0zkbk63 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.46.0 +2025-09-15T16:49:12.790Z | [AUTH] | Optional auth - user authenticated | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"userStatus":5,"orgId":""} +2025-09-15T16:49:12.792Z | [REQUEST] | Join game endpoint accessed | ReqId:sr0zkbk63 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"gameCode":"1KTEV7","hasAuth":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","orgId":null} +2025-09-15T16:49:12.805Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 11ms, gameCode: 1KTEV7, found: true"} +2025-09-15T16:49:12.810Z | [DATABASE] | User findById query completed | Meta:{"query":"findOneBy({ id: ffa31617-2cf9-403e-ab9d-87eeec85ce58 })","executionTime":3,"found":true,"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T16:49:12.812Z | [REQUEST] | Using logged-in user's username as playerName | ReqId:sr0zkbk63 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","username":"TesztAdmin"} +2025-09-15T16:49:12.814Z | [OTHER] | GameService.joinGame called | Meta:{"gameCode":"1KTEV7","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","playerName":"TesztAdmin","orgId":null,"loginType":0} +2025-09-15T16:49:12.815Z | [OTHER] | Join game input validation passed | Meta:{"gameCode":"1KTEV7","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","loginType":0} +2025-09-15T16:49:12.817Z | [OTHER] | Joining game | Meta:"gameCode: 1KTEV7, playerId: ffa31617-2cf9-403e-ab9d-87eeec85ce58, loginType: 0" +2025-09-15T16:49:12.823Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 4ms, gameCode: 1KTEV7, found: true"} +2025-09-15T16:49:12.824Z | [OTHER] | Game join validation passed | Meta:{"gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","currentPlayers":0,"maxPlayers":2,"gameState":0,"loginType":0,"playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","isAuthenticated":true} +2025-09-15T16:49:12.828Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 15b8df04-302a-496d-80f3-f667e1a7d7c5, found: true"} +2025-09-15T16:49:12.835Z | [DATABASE] | Game findById completed | Meta:{"query":"executionTime: 2ms, gameId: 15b8df04-302a-496d-80f3-f667e1a7d7c5, found: true"} +2025-09-15T16:49:12.837Z | [DATABASE] | Game update completed | Meta:{"query":"executionTime: 8ms, gameId: 15b8df04-302a-496d-80f3-f667e1a7d7c5, updated: true"} +2025-09-15T16:49:12.839Z | [DATABASE] | Player added to game | Meta:{"query":"executionTime: 13ms, gameId: 15b8df04-302a-496d-80f3-f667e1a7d7c5, playerId: ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T16:49:12.843Z | [OTHER] | Game data updated in Redis | Meta:{"gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","redisKey":"game:15b8df04-302a-496d-80f3-f667e1a7d7c5","playerCount":1,"websocketRoom":"game_1KTEV7","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58"} +2025-09-15T16:49:12.845Z | [OTHER] | Player joined game successfully | Meta:{"gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","playerCount":1,"maxPlayers":2,"loginType":0,"executionTime":28} +2025-09-15T16:49:12.846Z | [OTHER] | Player joined game successfully | Meta:{"gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","playerId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","playerCount":1,"maxPlayers":2,"executionTime":33} +2025-09-15T16:49:12.848Z | [REQUEST] | Player joined game successfully | ReqId:sr0zkbk63 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.46.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","gameId":"15b8df04-302a-496d-80f3-f667e1a7d7c5","gameCode":"1KTEV7","gameType":"PUBLIC","playerCount":1,"maxPlayers":2,"playerName":"TesztAdmin"} +2025-09-15T16:49:12.850Z | [REQUEST] | Request completed | ReqId:sr0zkbk63 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | Time:65ms | UA:PostmanRuntime/7.46.0 diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T16-59-16-198Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T16-59-16-198Z.log new file mode 100644 index 00000000..a85912ce --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T16-59-16-198Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-15T16:59:16.198Z +# Max entries per file: 10000 + +2025-09-15T16:59:18.173Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-15T16:59:18.187Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T16:59:18.187Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-15T16:59:19.056Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-15T16:59:19.060Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-15T16:59:19.062Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-15T16:59:19.064Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-19T09-19-08-808Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-19T09-19-08-808Z.log new file mode 100644 index 00000000..30397ab3 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-19T09-19-08-808Z.log @@ -0,0 +1,18 @@ +# SerpentRace Backend Logs +# Started: 2025-09-19T09:19:08.808Z +# Max entries per file: 10000 + +2025-09-19T09:19:11.638Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-19T09:19:11.675Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-19T09:19:11.675Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-19T09:19:11.744Z | [STARTUP] | Created Minio bucket: serpentrace-logs +2025-09-19T09:19:12.131Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-19T09:19:12.146Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-19T09:19:12.167Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-19T09:19:12.205Z | [STARTUP] | Redis client connected successfully +2025-09-19T10:19:12.197Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":181,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-19T09:49:12.016Z"} +2025-09-19T10:19:12.211Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":9,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-22T10:19:12.201Z"} +2025-09-19T10:19:12.229Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":16,"from":0,"to":1000,"returned":0,"totalCount":0} +2025-09-19T10:19:12.233Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-22T10:19:12.200Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"} +2025-09-19T10:48:24.426Z | [STARTUP] | Received SIGTERM. Shutting down gracefully... +2025-09-19T10:48:24.440Z | [STARTUP] | HTTP server closed +2025-09-19T10:48:24.457Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-21T13-24-36-198Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-21T13-24-36-198Z.log new file mode 100644 index 00000000..a8852c96 --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-21T13-24-36-198Z.log @@ -0,0 +1,14 @@ +# SerpentRace Backend Logs +# Started: 2025-09-21T13:24:36.198Z +# Max entries per file: 10000 + +2025-09-21T13:24:38.668Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-21T13:24:38.689Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-21T13:24:38.689Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-21T13:24:39.052Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-21T13:24:39.057Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-21T13:24:39.065Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-21T13:24:39.080Z | [STARTUP] | Redis client connected successfully +2025-09-21T14:18:22.748Z | [ERROR] | Redis connection error | Meta:{"name":"Error","message":"Socket closed unexpectedly","stack":"Error: Socket closed unexpectedly\n at Socket. (/app/node_modules/@redis/client/lib/client/socket.ts:272:29)\n at Object.onceWrapper (node:events:639:26)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at TCP. (node:net:343:12)"} +2025-09-21T14:18:22.789Z | [STARTUP] | Received SIGTERM. Shutting down gracefully... +2025-09-21T14:18:22.809Z | [STARTUP] | HTTP server closed +2025-09-21T14:18:22.838Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"} diff --git a/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-21T14-22-54-794Z.log b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-21T14-22-54-794Z.log new file mode 100644 index 00000000..e419c00f --- /dev/null +++ b/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-21T14-22-54-794Z.log @@ -0,0 +1,10 @@ +# SerpentRace Backend Logs +# Started: 2025-09-21T14:22:54.794Z +# Max entries per file: 10000 + +2025-09-21T14:23:13.553Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} +2025-09-21T14:23:13.689Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-21T14:23:13.689Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} +2025-09-21T14:23:15.180Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} +2025-09-21T14:23:15.196Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} +2025-09-21T14:23:15.224Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} +2025-09-21T14:23:15.275Z | [STARTUP] | Redis client connected successfully diff --git a/SerpentRace_Backend/node_modules/jest-runner/build/testWorker.js b/SerpentRace_Backend/node_modules/jest-runner/build/testWorker.js new file mode 100644 index 00000000..b5e793de --- /dev/null +++ b/SerpentRace_Backend/node_modules/jest-runner/build/testWorker.js @@ -0,0 +1,510 @@ +/*! + * /** + * * Copyright (c) Meta Platforms, Inc. and affiliates. + * * + * * This source code is licensed under the MIT license found in the + * * LICENSE file in the root directory of this source tree. + * * / + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/runTest.ts": +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = runTest; +function _nodeVm() { + const data = require("node:vm"); + _nodeVm = function () { + return data; + }; + return data; +} +function _chalk() { + const data = _interopRequireDefault(require("chalk")); + _chalk = function () { + return data; + }; + return data; +} +function fs() { + const data = _interopRequireWildcard(require("graceful-fs")); + fs = function () { + return data; + }; + return data; +} +function sourcemapSupport() { + const data = _interopRequireWildcard(require("source-map-support")); + sourcemapSupport = function () { + return data; + }; + return data; +} +function _console() { + const data = require("@jest/console"); + _console = function () { + return data; + }; + return data; +} +function _transform() { + const data = require("@jest/transform"); + _transform = function () { + return data; + }; + return data; +} +function docblock() { + const data = _interopRequireWildcard(require("jest-docblock")); + docblock = function () { + return data; + }; + return data; +} +function _jestLeakDetector() { + const data = _interopRequireDefault(require("jest-leak-detector")); + _jestLeakDetector = function () { + return data; + }; + return data; +} +function _jestMessageUtil() { + const data = require("jest-message-util"); + _jestMessageUtil = function () { + return data; + }; + return data; +} +function _jestResolve() { + const data = require("jest-resolve"); + _jestResolve = function () { + return data; + }; + return data; +} +function _jestUtil() { + const data = require("jest-util"); + _jestUtil = function () { + return data; + }; + return data; +} +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + */ + +// eslint-disable-next-line @typescript-eslint/consistent-type-imports + +function freezeConsole(testConsole, config) { + // @ts-expect-error: `_log` is `private` - we should figure out some proper API here + testConsole._log = function fakeConsolePush(_type, message) { + const error = new (_jestUtil().ErrorWithStack)(`${_chalk().default.red(`${_chalk().default.bold('Cannot log after tests are done.')} Did you forget to wait for something async in your test?`)}\nAttempted to log "${message}".`, fakeConsolePush); + const formattedError = (0, _jestMessageUtil().formatExecError)(error, config, { + noStackTrace: false + }, undefined, true); + process.stderr.write(`\n${formattedError}\n`); + process.exitCode = 1; + }; +} + +// Keeping the core of "runTest" as a separate function (as "runTestInternal") +// is key to be able to detect memory leaks. Since all variables are local to +// the function, when "runTestInternal" finishes its execution, they can all be +// freed, UNLESS something else is leaking them (and that's why we can detect +// the leak!). +// +// If we had all the code in a single function, we should manually nullify all +// references to verify if there is a leak, which is not maintainable and error +// prone. That's why "runTestInternal" CANNOT be inlined inside "runTest". +async function runTestInternal(path, globalConfig, projectConfig, resolver, context, sendMessageToJest) { + const testSource = fs().readFileSync(path, 'utf8'); + const docblockPragmas = docblock().parse(docblock().extract(testSource)); + const customEnvironment = docblockPragmas['jest-environment']; + const loadTestEnvironmentStart = Date.now(); + let testEnvironment = projectConfig.testEnvironment; + if (customEnvironment) { + if (Array.isArray(customEnvironment)) { + throw new TypeError(`You can only define a single test environment through docblocks, got "${customEnvironment.join(', ')}"`); + } + testEnvironment = (0, _jestResolve().resolveTestEnvironment)({ + ...projectConfig, + // we wanna avoid webpack trying to be clever + requireResolveFunction: module => require.resolve(module), + testEnvironment: customEnvironment + }); + } + const cacheFS = new Map([[path, testSource]]); + const transformer = await (0, _transform().createScriptTransformer)(projectConfig, cacheFS); + const TestEnvironment = await transformer.requireAndTranspileModule(testEnvironment); + const testFramework = await transformer.requireAndTranspileModule(process.env.JEST_JASMINE === '1' ? require.resolve('jest-jasmine2') : projectConfig.testRunner); + const Runtime = (0, _jestUtil().interopRequireDefault)(projectConfig.runtime ? require(projectConfig.runtime) : require('jest-runtime')).default; + const consoleOut = globalConfig.useStderr ? process.stderr : process.stdout; + const consoleFormatter = (type, message) => (0, _console().getConsoleOutput)( + // 4 = the console call is buried 4 stack frames deep + _console().BufferedConsole.write([], type, message, 4), projectConfig, globalConfig); + let testConsole; + if (globalConfig.silent) { + testConsole = new (_console().NullConsole)(consoleOut, consoleOut, consoleFormatter); + } else if (globalConfig.verbose) { + testConsole = new (_console().CustomConsole)(consoleOut, consoleOut, consoleFormatter); + } else { + testConsole = new (_console().BufferedConsole)(); + } + let extraTestEnvironmentOptions; + const docblockEnvironmentOptions = docblockPragmas['jest-environment-options']; + if (typeof docblockEnvironmentOptions === 'string') { + extraTestEnvironmentOptions = JSON.parse(docblockEnvironmentOptions); + } + const environment = new TestEnvironment({ + globalConfig, + projectConfig: extraTestEnvironmentOptions ? { + ...projectConfig, + testEnvironmentOptions: { + ...projectConfig.testEnvironmentOptions, + ...extraTestEnvironmentOptions + } + } : projectConfig + }, { + console: testConsole, + docblockPragmas, + testPath: path + }); + const loadTestEnvironmentEnd = Date.now(); + if (typeof environment.getVmContext !== 'function') { + console.error(`Test environment found at "${testEnvironment}" does not export a "getVmContext" method, which is mandatory from Jest 27. This method is a replacement for "runScript".`); + process.exit(1); + } + const leakDetector = projectConfig.detectLeaks ? new (_jestLeakDetector().default)(environment) : null; + (0, _jestUtil().setGlobal)(environment.global, 'console', testConsole, 'retain'); + const runtime = new Runtime(projectConfig, environment, resolver, transformer, cacheFS, { + changedFiles: context.changedFiles, + collectCoverage: globalConfig.collectCoverage, + collectCoverageFrom: globalConfig.collectCoverageFrom, + coverageProvider: globalConfig.coverageProvider, + sourcesRelatedToTestsInChangedFiles: context.sourcesRelatedToTestsInChangedFiles + }, path, globalConfig); + let isTornDown = false; + const tearDownEnv = async () => { + if (!isTornDown) { + runtime.teardown(); + + // source-map-support keeps memory leftovers in `Error.prepareStackTrace` + (0, _nodeVm().runInContext)("Error.prepareStackTrace = () => '';", environment.getVmContext()); + sourcemapSupport().resetRetrieveHandlers(); + try { + await environment.teardown(); + } finally { + isTornDown = true; + } + } + }; + const start = Date.now(); + const setupFilesStart = Date.now(); + for (const path of projectConfig.setupFiles) { + const esm = runtime.unstable_shouldLoadAsEsm(path); + if (esm) { + await runtime.unstable_importModule(path); + } else { + const setupFile = runtime.requireModule(path); + if (typeof setupFile === 'function') { + await setupFile(); + } + } + } + const setupFilesEnd = Date.now(); + const sourcemapOptions = { + environment: 'node', + handleUncaughtExceptions: false, + retrieveSourceMap: source => { + const sourceMapSource = runtime.getSourceMaps()?.get(source); + if (sourceMapSource) { + try { + return { + map: JSON.parse(fs().readFileSync(sourceMapSource, 'utf8')), + url: source + }; + } catch {} + } + return null; + } + }; + + // For tests + runtime.requireInternalModule(require.resolve('source-map-support')).install(sourcemapOptions); + + // For runtime errors + sourcemapSupport().install(sourcemapOptions); + if (environment.global && environment.global.process && environment.global.process.exit) { + const realExit = environment.global.process.exit; + environment.global.process.exit = function exit(...args) { + const error = new (_jestUtil().ErrorWithStack)(`process.exit called with "${args.join(', ')}"`, exit); + const formattedError = (0, _jestMessageUtil().formatExecError)(error, projectConfig, { + noStackTrace: false + }, undefined, true); + process.stderr.write(formattedError); + return realExit(...args); + }; + } + + // if we don't have `getVmContext` on the env skip coverage + const collectV8Coverage = globalConfig.collectCoverage && globalConfig.coverageProvider === 'v8' && typeof environment.getVmContext === 'function'; + + // Node's error-message stack size is limited at 10, but it's pretty useful + // to see more than that when a test fails. + Error.stackTraceLimit = 100; + try { + await environment.setup(); + let result; + try { + if (collectV8Coverage) { + await runtime.collectV8Coverage(); + } + result = await testFramework(globalConfig, projectConfig, environment, runtime, path, sendMessageToJest); + } catch (error) { + // Access all stacks before uninstalling sourcemaps + let e = error; + while (typeof e === 'object' && e !== null && 'stack' in e) { + // eslint-disable-next-line @typescript-eslint/no-unused-expressions + e.stack; + e = e?.cause; + } + throw error; + } finally { + if (collectV8Coverage) { + await runtime.stopCollectingV8Coverage(); + } + } + freezeConsole(testConsole, projectConfig); + const testCount = result.numPassingTests + result.numFailingTests + result.numPendingTests + result.numTodoTests; + const end = Date.now(); + const testRuntime = end - start; + result.perfStats = { + ...result.perfStats, + end, + loadTestEnvironmentEnd, + loadTestEnvironmentStart, + runtime: testRuntime, + setupFilesEnd, + setupFilesStart, + slow: testRuntime / 1000 > projectConfig.slowTestThreshold, + start + }; + result.testFilePath = path; + result.console = testConsole.getBuffer(); + result.skipped = testCount === result.numPendingTests; + result.displayName = projectConfig.displayName; + const coverage = runtime.getAllCoverageInfoCopy(); + if (coverage) { + const coverageKeys = Object.keys(coverage); + if (coverageKeys.length > 0) { + result.coverage = coverage; + } + } + if (collectV8Coverage) { + const v8Coverage = runtime.getAllV8CoverageInfoCopy(); + if (v8Coverage && v8Coverage.length > 0) { + result.v8Coverage = v8Coverage; + } + } + if (globalConfig.logHeapUsage) { + globalThis.gc?.(); + result.memoryUsage = process.memoryUsage().heapUsed; + } + await tearDownEnv(); + + // Delay the resolution to allow log messages to be output. + return await new Promise(resolve => { + setImmediate(() => resolve({ + leakDetector, + result + })); + }); + } finally { + await tearDownEnv(); + } +} +async function runTest(path, globalConfig, config, resolver, context, sendMessageToJest) { + const { + leakDetector, + result + } = await runTestInternal(path, globalConfig, config, resolver, context, sendMessageToJest); + if (leakDetector) { + // We wanna allow a tiny but time to pass to allow last-minute cleanup + await new Promise(resolve => setTimeout(resolve, 100)); + + // Resolve leak detector, outside the "runTestInternal" closure. + result.leaks = await leakDetector.isLeaking(); + } else { + result.leaks = false; + } + return result; +} + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry needs to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). +(() => { +var exports = __webpack_exports__; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.setup = setup; +exports.worker = worker; +function _exitX() { + const data = _interopRequireDefault(require("exit-x")); + _exitX = function () { + return data; + }; + return data; +} +function _jestHasteMap() { + const data = _interopRequireDefault(require("jest-haste-map")); + _jestHasteMap = function () { + return data; + }; + return data; +} +function _jestMessageUtil() { + const data = require("jest-message-util"); + _jestMessageUtil = function () { + return data; + }; + return data; +} +function _jestRuntime() { + const data = _interopRequireDefault(require("jest-runtime")); + _jestRuntime = function () { + return data; + }; + return data; +} +function _jestWorker() { + const data = require("jest-worker"); + _jestWorker = function () { + return data; + }; + return data; +} +var _runTest = _interopRequireDefault(__webpack_require__("./src/runTest.ts")); +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + */ + +// Make sure uncaught errors are logged before we exit. +process.on('uncaughtException', err => { + if (err.stack) { + console.error(err.stack); + } else { + console.error(err); + } + (0, _exitX().default)(1); +}); +const formatError = error => { + if (typeof error === 'string') { + const { + message, + stack + } = (0, _jestMessageUtil().separateMessageFromStack)(error); + return { + message, + stack, + type: 'Error' + }; + } + return { + code: error.code || undefined, + message: error.message, + stack: error.stack, + type: 'Error' + }; +}; +const resolvers = new Map(); +const getResolver = config => { + const resolver = resolvers.get(config.id); + if (!resolver) { + throw new Error(`Cannot find resolver for: ${config.id}`); + } + return resolver; +}; +function setup(setupData) { + // Module maps that will be needed for the test runs are passed. + for (const { + config, + serializableModuleMap + } of setupData.serializableResolvers) { + const moduleMap = _jestHasteMap().default.getStatic(config).getModuleMapFromJSON(serializableModuleMap); + resolvers.set(config.id, _jestRuntime().default.createResolver(config, moduleMap)); + } +} +const sendMessageToJest = (eventName, args) => { + (0, _jestWorker().messageParent)([eventName, args]); +}; +async function worker({ + config, + globalConfig, + path, + context +}) { + try { + return await (0, _runTest.default)(path, globalConfig, config, getResolver(config), { + ...context, + changedFiles: context.changedFiles && new Set(context.changedFiles), + sourcesRelatedToTestsInChangedFiles: context.sourcesRelatedToTestsInChangedFiles && new Set(context.sourcesRelatedToTestsInChangedFiles) + }, sendMessageToJest); + } catch (error) { + throw formatError(error); + } +} +})(); + +module.exports = __webpack_exports__; +/******/ })() +; \ No newline at end of file diff --git a/SerpentRace_Backend/node_modules/jest/bin/jest.js b/SerpentRace_Backend/node_modules/jest/bin/jest.js new file mode 100644 index 00000000..f3be8f9d --- /dev/null +++ b/SerpentRace_Backend/node_modules/jest/bin/jest.js @@ -0,0 +1,13 @@ +#!/usr/bin/env node +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +const importLocal = require('import-local'); + +if (!importLocal(__filename)) { + require('jest-cli/bin/jest'); +} diff --git a/SerpentRace_Backend/src/Api/routers/deckRouter.ts b/SerpentRace_Backend/src/Api/routers/deckRouter.ts index 241403fb..e8e34282 100644 --- a/SerpentRace_Backend/src/Api/routers/deckRouter.ts +++ b/SerpentRace_Backend/src/Api/routers/deckRouter.ts @@ -195,6 +195,7 @@ deckRouter.get('/:id', authRequired, async (req, res) => { } }); +deckRouter.patch('/:id', authRequired, async (req, res) => { deckRouter.patch('/:id', authRequired, async (req, res) => { try { const deckId = req.params.id; @@ -228,6 +229,10 @@ deckRouter.patch('/:id', authRequired, async (req, res) => { return res.status(400).json({ error: 'Invalid input data', details: error.message }); } + if (error instanceof Error && error.message.includes('admin')) { + return res.status(403).json({ error: 'Forbidden: ' + error.message }); + } + if (error instanceof Error && error.message.includes('admin')) { return res.status(403).json({ error: 'Forbidden: ' + error.message }); } diff --git a/SerpentRace_Backend/src/Api/routers/userRouter.ts b/SerpentRace_Backend/src/Api/routers/userRouter.ts index 981bf451..c2725cae 100644 --- a/SerpentRace_Backend/src/Api/routers/userRouter.ts +++ b/SerpentRace_Backend/src/Api/routers/userRouter.ts @@ -198,6 +198,7 @@ userRouter.post('/logout', authRequired, async (req, res) => { return ErrorResponseService.sendInternalServerError(res); } }); +<<<<<<< HEAD // Refresh token endpoint userRouter.post('/refresh-token', async (req, res) => { @@ -336,4 +337,6 @@ userRouter.post('/reset-password', } }); +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 export default userRouter; diff --git a/SerpentRace_Backend/src/Api/swagger/swaggerDefinitions.ts b/SerpentRace_Backend/src/Api/swagger/swaggerDefinitions.ts index b69dd565..eef90dac 100644 --- a/SerpentRace_Backend/src/Api/swagger/swaggerDefinitions.ts +++ b/SerpentRace_Backend/src/Api/swagger/swaggerDefinitions.ts @@ -2,6 +2,7 @@ * @swagger * components: <<<<<<< HEAD +<<<<<<< HEAD ======= * securitySchemes: * bearerAuth: @@ -9,6 +10,8 @@ * scheme: bearer * bearerFormat: JWT >>>>>>> origin/main +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * schemas: * User: * type: object @@ -337,6 +340,9 @@ * type: string * <<<<<<< HEAD +<<<<<<< HEAD +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * Game: * type: object * properties: @@ -365,8 +371,11 @@ * type: string * format: date-time * +<<<<<<< HEAD ======= >>>>>>> origin/main +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * Error: * type: object * properties: @@ -378,6 +387,9 @@ * details: * type: string <<<<<<< HEAD +<<<<<<< HEAD +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 */ /** * @swagger @@ -396,6 +408,7 @@ * responses: * 200: * description: Login successful +<<<<<<< HEAD * content: * application/json: * schema: @@ -435,6 +448,19 @@ * schema: * $ref: '#/components/schemas/Error' >>>>>>> origin/main +======= + * content: + * application/json: + * schema: + * $ref: '#/components/schemas/LoginResponse' + * 401: + * description: Invalid credentials + * content: + * application/json: + * schema: + * $ref: '#/components/schemas/Error' + * +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * * /api/users/create: * post: @@ -1498,6 +1524,9 @@ * schema: * $ref: '#/components/schemas/Contact' <<<<<<< HEAD +<<<<<<< HEAD +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * * /api/games/start: * post: @@ -1655,8 +1684,11 @@ * description: Game already started or not ready to start * 500: * description: Internal server error +<<<<<<< HEAD ======= >>>>>>> origin/main +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 */ export {}; diff --git a/SerpentRace_Backend/src/Api/swagger/swaggerDefinitionsFixed.ts b/SerpentRace_Backend/src/Api/swagger/swaggerDefinitionsFixed.ts index 1f019805..744a5725 100644 --- a/SerpentRace_Backend/src/Api/swagger/swaggerDefinitionsFixed.ts +++ b/SerpentRace_Backend/src/Api/swagger/swaggerDefinitionsFixed.ts @@ -100,6 +100,7 @@ * type: string * format: email * +<<<<<<< HEAD * ForgotPasswordRequest: * type: object * required: @@ -131,6 +132,8 @@ * message: * type: string * +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * Organization: * type: object * properties: @@ -460,6 +463,7 @@ /** * @swagger +<<<<<<< HEAD * /api/users/verify-email/{token}: * get: * tags: [Users] @@ -539,6 +543,8 @@ /** * @swagger +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 * /api/organizations/search: * get: * tags: [Organizations] diff --git a/SerpentRace_Backend/src/Application/Deck/commands/UpdateDeckCommand.ts b/SerpentRace_Backend/src/Application/Deck/commands/UpdateDeckCommand.ts index 3121272c..b1ce0066 100644 --- a/SerpentRace_Backend/src/Application/Deck/commands/UpdateDeckCommand.ts +++ b/SerpentRace_Backend/src/Application/Deck/commands/UpdateDeckCommand.ts @@ -1,3 +1,5 @@ +import { n } from "framer-motion/dist/types.d-D0HXPxHm"; + export interface UpdateDeckCommand { id: string; userstate?: number; diff --git a/SerpentRace_Backend/src/Application/Game/BoardGenerationService.ts b/SerpentRace_Backend/src/Application/Game/BoardGenerationService.ts index ff6e51ff..323878be 100644 --- a/SerpentRace_Backend/src/Application/Game/BoardGenerationService.ts +++ b/SerpentRace_Backend/src/Application/Game/BoardGenerationService.ts @@ -1,17 +1,32 @@ import { GameField, BoardData } from '../../Domain/Game/GameAggregate'; import { logOther, logError } from '../Services/Logger'; +<<<<<<< HEAD +======= +interface TargetField { + fieldNumber: number; + distance: number; +} + +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 interface SpecialFieldInfo { position: number; type: 'positive' | 'negative' | 'luck'; } export class BoardGenerationService { +<<<<<<< HEAD +======= + private readonly MAX_GENERATION_TIME = parseInt(process.env.MAX_GENERATION_TIME_SECONDS || '20') * 1000; + private readonly ERROR_TOLERANCE = parseInt(process.env.GENERATION_ERROR_TOLERANCE || '15'); + +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 async generateBoard( positiveFieldCount: number, negativeFieldCount: number, luckFieldCount: number ): Promise { +<<<<<<< HEAD // Pattern-based approach has 100% success rate, no retry needed const result = this.generateSingleAttempt(positiveFieldCount, negativeFieldCount, luckFieldCount); @@ -24,6 +39,36 @@ export class BoardGenerationService { }); return result; +======= + const startTime = Date.now(); + let bestAttempt: BoardData | null = null; + let attemptCount = 0; + + while (Date.now() - startTime < this.MAX_GENERATION_TIME) { + attemptCount++; + + try { + const attempt = this.generateSingleAttempt(positiveFieldCount, negativeFieldCount, luckFieldCount); + + if (attempt.totalErrorRate <= this.ERROR_TOLERANCE) { + logOther(`Board generation successful on attempt ${attemptCount}. Error rate: ${attempt.totalErrorRate}%`); + return attempt; + } + + if (!bestAttempt || attempt.totalErrorRate < bestAttempt.totalErrorRate) { + bestAttempt = attempt; + } + + logOther(`Attempt ${attemptCount}: Error rate ${attempt.totalErrorRate}% (target: ${this.ERROR_TOLERANCE}%)`); + + } catch (error) { + logError(`Board generation attempt ${attemptCount} failed:`, error as Error); + } + } + + logOther(`Using best attempt with error rate: ${bestAttempt?.totalErrorRate || 100}%`); + return bestAttempt || this.generateFallbackBoard(positiveFieldCount, negativeFieldCount, luckFieldCount); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } private generateSingleAttempt( @@ -38,11 +83,42 @@ export class BoardGenerationService { luckFieldCount ); +<<<<<<< HEAD // Step 2: Calculate step values using pattern-based approach const fields = this.calculatePatternBasedStepValues(specialFieldPositions); return { fields +======= + // Step 2: Select target fields for each special field (6 targets per field for dice 1-6) + const targetFieldsMap = this.selectTargetFields(specialFieldPositions); + + // Step 3: Create border with strategic placement + const border = this.createStrategicBorder(targetFieldsMap); + + // Step 4: Calculate step values based on border positions + const fields = this.calculateStepValues(specialFieldPositions, targetFieldsMap, border); + + // Step 5: Validate against 20-30 rule and calculate error rate + const validationResults = this.validateBoardGeneration(fields, border); + + // Log generation statistics + logOther('Board generation attempt completed', { + totalFields: fields.length, + specialFields: fields.filter(f => f.type !== 'regular').length, + positiveFields: fields.filter(f => f.type === 'positive').length, + negativeFields: fields.filter(f => f.type === 'negative').length, + luckFields: fields.filter(f => f.type === 'luck').length, + errorRate: validationResults.errorRate, + targetCount: Array.from(targetFieldsMap.values()).reduce((sum, targets) => sum + targets.length, 0) + }); + + return { + fields, + border, + validationResults: validationResults.validationResults, + totalErrorRate: validationResults.errorRate +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 }; } @@ -52,6 +128,7 @@ export class BoardGenerationService { luckFieldCount: number ): SpecialFieldInfo[] { const totalSpecial = positiveFieldCount + negativeFieldCount + luckFieldCount; +<<<<<<< HEAD const specialFields: SpecialFieldInfo[] = []; // Generate unique random positions @@ -63,6 +140,29 @@ export class BoardGenerationService { // Convert to sorted array const sortedPositions = Array.from(positions).sort((a, b) => a - b); +======= + const positions: number[] = []; + const specialFields: SpecialFieldInfo[] = []; + + // Random placement with retry for good distribution + let attempts = 0; + while (positions.length < totalSpecial && attempts < 100) { + const position = Math.floor(Math.random() * 100) + 1; // 1-100 + + if (!positions.includes(position)) { + // Check minimum distance from existing positions + const tooClose = positions.some(existingPos => Math.abs(existingPos - position) < 3); + + if (!tooClose || attempts > 50) { // Relax distance requirement after many attempts + positions.push(position); + } + } + attempts++; + } + + // Sort positions and assign types + positions.sort((a, b) => a - b); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 // Distribute types randomly const types: ('positive' | 'negative' | 'luck')[] = [ @@ -77,7 +177,11 @@ export class BoardGenerationService { [types[i], types[j]] = [types[j], types[i]]; } +<<<<<<< HEAD sortedPositions.forEach((position, index) => { +======= + positions.forEach((position, index) => { +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 specialFields.push({ position, type: types[index] || 'positive' @@ -87,14 +191,156 @@ export class BoardGenerationService { return specialFields; } +<<<<<<< HEAD private calculatePatternBasedStepValues(specialFields: SpecialFieldInfo[]): GameField[] { +======= + private selectTargetFields(specialFields: SpecialFieldInfo[]): Map { + const targetFieldsMap = new Map(); + + specialFields.forEach(field => { + if (field.type === 'luck') { + // Luck fields don't need target calculations + targetFieldsMap.set(field.position, []); + return; + } + + const targets: TargetField[] = []; + const usedTargets = new Set(); + + // Generate 6 different target fields (for dice 1-6) with 20-30 rule compliance + for (let i = 0; i < 6; i++) { + let targetField: number; + let distance: number; + let attempts = 0; + + do { + // Determine max distance based on field position (20-30 rule) + let maxDistance: number; + let maxBackward: number; + + if (field.position <= 85) { + maxDistance = 20; + maxBackward = 20; + } else { + maxDistance = 20; // forward + maxBackward = 30; // backward + } + + // Create variety in distances within the allowed range + const distanceType = Math.random(); + if (distanceType < 0.5) { + // Close distance (50% chance) - 1 to 1/3 of max + distance = Math.floor(Math.random() * Math.floor(maxDistance / 3)) + 1; + } else { + // Far distance (50% chance) - 1/3 to max + distance = Math.floor(Math.random() * (maxDistance - Math.floor(maxDistance / 3))) + Math.floor(maxDistance / 3); + } + + // Randomly choose forward or backward + if (Math.random() < 0.5) { + distance = -Math.min(distance, maxBackward); + } else { + distance = Math.min(distance, maxDistance); + } + + targetField = field.position + distance; + + // Ensure target is within valid range + if (targetField < 1) targetField = 1; + if (targetField > 100) targetField = 100; + + // Recalculate actual distance after clamping + distance = Math.abs(targetField - field.position); + + attempts++; + } while (usedTargets.has(targetField) && attempts < 30); + + if (!usedTargets.has(targetField)) { + usedTargets.add(targetField); + targets.push({ + fieldNumber: targetField, + distance: Math.abs(targetField - field.position) + }); + } else { + // Fallback: use a nearby valid target + let fallbackTarget = field.position + (i - 3); // Create some variety around current position + if (fallbackTarget < 1) fallbackTarget = 1; + if (fallbackTarget > 100) fallbackTarget = 100; + + targets.push({ + fieldNumber: fallbackTarget, + distance: Math.abs(fallbackTarget - field.position) + }); + } + } + + targetFieldsMap.set(field.position, targets); + }); + + return targetFieldsMap; + } + + private createStrategicBorder(targetFieldsMap: Map): number[] { + // Collect all target field numbers + const targetNumbers = new Set(); + targetFieldsMap.forEach(targets => { + targets.forEach(target => targetNumbers.add(target.fieldNumber)); + }); + + // Create array of all numbers 1-100 + const allNumbers = Array.from({ length: 100 }, (_, i) => i + 1); + + // Separate target numbers from remaining numbers + const remainingNumbers = allNumbers.filter(num => !targetNumbers.has(num)); + + // Shuffle remaining numbers + for (let i = remainingNumbers.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [remainingNumbers[i], remainingNumbers[j]] = [remainingNumbers[j], remainingNumbers[i]]; + } + + // Create border with strategic placement + const border: number[] = []; + const targetArray = Array.from(targetNumbers); + + // Encourage overlap by placing target numbers first, then fill with random + let targetIndex = 0; + let remainingIndex = 0; + + for (let i = 0; i < 100; i++) { + // Alternate between target numbers and remaining numbers, but favor targets when available + if (targetIndex < targetArray.length && (remainingIndex >= remainingNumbers.length || Math.random() < 0.6)) { + border.push(targetArray[targetIndex]); + targetIndex++; + } else if (remainingIndex < remainingNumbers.length) { + border.push(remainingNumbers[remainingIndex]); + remainingIndex++; + } else { + // Fallback - should not happen if logic is correct + border.push((i % 100) + 1); + } + } + + return border; + } + + private calculateStepValues( + specialFields: SpecialFieldInfo[], + targetFieldsMap: Map, + border: number[] + ): GameField[] { +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 // Initialize all fields as regular const fields: GameField[] = Array.from({ length: 100 }, (_, i) => ({ position: i + 1, type: 'regular' as const })); +<<<<<<< HEAD // Update special fields with pattern-based step values +======= + // Update special fields with calculated step values +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 specialFields.forEach(specialField => { const fieldIndex = specialField.position - 1; // Convert to 0-based index fields[fieldIndex].type = specialField.type; @@ -104,6 +350,7 @@ export class BoardGenerationService { return; } +<<<<<<< HEAD // Calculate step values based on position rules let maxStepValue: number; let minStepValue: number; @@ -127,12 +374,64 @@ export class BoardGenerationService { // Negative fields: use negative step values (-3 to -8 range) const stepValue = -(Math.floor(Math.random() * 6) + 3); // -3 to -8 fields[fieldIndex].stepValue = Math.max(stepValue, minStepValue); +======= + const targets = targetFieldsMap.get(specialField.position) || []; + if (targets.length === 0) return; + + // NEW APPROACH: Calculate step value that will land on first target with dice=1 + // This ensures we have a baseline that works, then dice 2-6 will hit other targets + const firstTarget = targets[0]; + const targetIndexInBorder = border.indexOf(firstTarget.fieldNumber); + + if (targetIndexInBorder !== -1) { + // Start from field position in border (field position = border index + 1, but we want 0-based) + const startBorderIndex = (specialField.position - 1) % border.length; + + // Calculate step value needed to reach target with dice=1 + let stepValue: number; + + if (specialField.type === 'positive') { + // For positive: move right to target, then +1 more for dice=1 + stepValue = targetIndexInBorder - startBorderIndex - 1; // -1 for dice offset + + // Handle wrap-around + if (stepValue < 0) { + stepValue += border.length; + } + } else { + // For negative: move left to target, then -1 more for dice=1 + stepValue = startBorderIndex - targetIndexInBorder + 1; // +1 for dice offset + + // Handle wrap-around + if (stepValue > border.length) { + stepValue -= border.length; + } + + // Make negative for negative fields + stepValue = -stepValue; + } + + fields[fieldIndex].stepValue = stepValue; + + // Debug logging for step value calculation + logOther(`Calculated step value for ${specialField.type} field at position ${specialField.position}`, { + targetField: firstTarget.fieldNumber, + targetIndexInBorder, + startBorderIndex, + calculatedStepValue: stepValue, + fieldType: specialField.type + }); + } else { + // Fallback if target not found in border (shouldn't happen) + fields[fieldIndex].stepValue = specialField.type === 'positive' ? 1 : -1; +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } }); return fields; } +<<<<<<< HEAD // This method can be used by FieldEffectService for movement calculations public calculatePatternBasedMovement( currentPosition: number, @@ -175,6 +474,89 @@ export class BoardGenerationService { } else { return 0; // Other even positions } +======= + private validateBoardGeneration(fields: GameField[], border: number[]): { + validationResults: { [fieldIndex: number]: number[] }; + errorRate: number; + } { + const validationResults: { [fieldIndex: number]: number[] } = {}; + let totalCombinations = 0; + let invalidCombinations = 0; + + fields.forEach((field, fieldIndex) => { + if (field.type !== 'positive' && field.type !== 'negative') { + return; // Skip non-special fields + } + + const diceOutcomes: number[] = []; + + for (let diceValue = 1; diceValue <= 6; diceValue++) { + totalCombinations++; + + try { + const result = this.calculateBorderMovement( + field.position, + field.stepValue || 0, + diceValue, + border, + field.type === 'positive' + ); + + // Validate 20-30 rule + const distance = Math.abs(result - field.position); + const isValid = this.validate20_30Rule(field.position, result, distance); + + if (isValid) { + diceOutcomes.push(result); + } else { + diceOutcomes.push(-1); // Mark as invalid + invalidCombinations++; + } + } catch (error) { + diceOutcomes.push(-1); // Mark as invalid + invalidCombinations++; + } + } + + validationResults[fieldIndex] = diceOutcomes; + }); + + const errorRate = totalCombinations > 0 ? (invalidCombinations / totalCombinations) * 100 : 0; + + return { + validationResults, + errorRate: Math.round(errorRate * 100) / 100 // Round to 2 decimal places + }; + } + + private calculateBorderMovement( + currentPosition: number, + stepValue: number, + diceValue: number, + border: number[], + isPositive: boolean + ): number { + // Step 1: Find border index for current field (field position corresponds to border index) + let borderIndex = (currentPosition - 1) % border.length; // Convert to 0-based, handle wraparound + + // Step 2: Apply field step value (handle negative step values for negative fields) + if (isPositive) { + borderIndex = (borderIndex + Math.abs(stepValue)) % border.length; + } else { + // For negative fields, stepValue is already negative, so we subtract it (which adds its absolute value) + borderIndex = (borderIndex - stepValue + border.length) % border.length; + } + + // Step 3: Apply dice value + if (isPositive) { + borderIndex = (borderIndex + diceValue) % border.length; + } else { + borderIndex = (borderIndex - diceValue + border.length) % border.length; + } + + // Step 4: Return the field number at final border position + return border[borderIndex]; +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } private validate20_30Rule(currentPosition: number, targetPosition: number, distance: number): boolean { @@ -196,4 +578,46 @@ export class BoardGenerationService { return false; } +<<<<<<< HEAD +======= + + private generateFallbackBoard( + positiveFieldCount: number, + negativeFieldCount: number, + luckFieldCount: number + ): BoardData { + // Simple fallback: create basic board with minimal special fields + const fields: GameField[] = Array.from({ length: 100 }, (_, i) => ({ + position: i + 1, + type: 'regular' as const + })); + + // Add a few special fields with safe step values + let specialCount = 0; + for (let i = 10; i < 90 && specialCount < positiveFieldCount + negativeFieldCount; i += 10) { + if (specialCount < positiveFieldCount) { + fields[i].type = 'positive'; + fields[i].stepValue = 1; + } else { + fields[i].type = 'negative'; + fields[i].stepValue = -1; + } + specialCount++; + } + + // Simple border: shuffled 1-100 + const border = Array.from({ length: 100 }, (_, i) => i + 1); + for (let i = border.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [border[i], border[j]] = [border[j], border[i]]; + } + + return { + fields, + border, + validationResults: {}, + totalErrorRate: 100 // Mark as fallback + }; + } +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } \ No newline at end of file diff --git a/SerpentRace_Backend/src/Application/Game/commands/GenerateBoardCommandHandler.ts b/SerpentRace_Backend/src/Application/Game/commands/GenerateBoardCommandHandler.ts index f5e454a9..ac6ddb32 100644 --- a/SerpentRace_Backend/src/Application/Game/commands/GenerateBoardCommandHandler.ts +++ b/SerpentRace_Backend/src/Application/Game/commands/GenerateBoardCommandHandler.ts @@ -37,7 +37,11 @@ export class GenerateBoardCommandHandler { ); const executionTime = Date.now() - startTime; +<<<<<<< HEAD logOther(`Board generation completed for game ${cmd.gameId} in ${executionTime}ms using pattern-based approach`); +======= + logOther(`Board generation completed for game ${cmd.gameId} in ${executionTime}ms. Error rate: ${boardData.totalErrorRate}%`); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } catch (error) { logError(`Board generation failed for game ${cmd.gameId}:`, error as Error); @@ -46,6 +50,12 @@ export class GenerateBoardCommandHandler { const errorData: BoardData = { gameId: cmd.gameId, fields: [], +<<<<<<< HEAD +======= + border: [], + validationResults: {}, + totalErrorRate: 100, +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 generationComplete: false, error: error instanceof Error ? error.message : 'Unknown error', generatedAt: new Date() diff --git a/SerpentRace_Backend/src/Application/Game/commands/JoinGameCommandHandler.ts b/SerpentRace_Backend/src/Application/Game/commands/JoinGameCommandHandler.ts index 2a45b460..9bf48a30 100644 --- a/SerpentRace_Backend/src/Application/Game/commands/JoinGameCommandHandler.ts +++ b/SerpentRace_Backend/src/Application/Game/commands/JoinGameCommandHandler.ts @@ -151,6 +151,7 @@ export class JoinGameCommandHandler { isOnline: true }; +<<<<<<< HEAD // Check if player name is already in use by a different player const existingPlayerWithName = gameData.currentPlayers.find( p => p.playerName === command.playerName && p.playerId !== command.playerId @@ -160,6 +161,8 @@ export class JoinGameCommandHandler { throw new Error(`Player name "${command.playerName}" is already in use in this game`); } +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 // Update players list (remove if exists, then add) gameData.currentPlayers = gameData.currentPlayers.filter(p => p.playerId !== command.playerId); gameData.currentPlayers.push(newPlayer); @@ -170,6 +173,12 @@ export class JoinGameCommandHandler { // Store updated data in Redis with TTL (24 hours) await this.redisService.setWithExpiry(redisKey, JSON.stringify(gameData), 24 * 60 * 60); +<<<<<<< HEAD +======= + // Add player to active players set + await this.redisService.setAdd(`active_players:${game.id}`, command.playerId); + +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 logOther('Game data updated in Redis', { gameId: game.id, gameCode: game.gamecode, @@ -210,6 +219,10 @@ export class JoinGameCommandHandler { gameData.currentPlayers = gameData.currentPlayers.filter(p => p.playerId !== playerId); await this.redisService.setWithExpiry(redisKey, JSON.stringify(gameData), 24 * 60 * 60); +<<<<<<< HEAD +======= + await this.redisService.setRemove(`active_players:${gameId}`, playerId); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } } catch (error) { logError('Failed to remove player from Redis', error instanceof Error ? error : new Error(String(error))); diff --git a/SerpentRace_Backend/src/Application/Game/commands/StartGameCommandHandler.ts b/SerpentRace_Backend/src/Application/Game/commands/StartGameCommandHandler.ts index 73918f1e..acad357d 100644 --- a/SerpentRace_Backend/src/Application/Game/commands/StartGameCommandHandler.ts +++ b/SerpentRace_Backend/src/Application/Game/commands/StartGameCommandHandler.ts @@ -64,7 +64,11 @@ export class StartGameCommandHandler { gamecode, maxplayers: command.maxplayers, logintype: command.logintype, +<<<<<<< HEAD createdby: command.userid!, +======= + createdby: command.userid || null, +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 orgid: command.orgid || null, gamedecks, players: [], diff --git a/SerpentRace_Backend/src/Application/Game/commands/StartGamePlayCommandHandler.ts b/SerpentRace_Backend/src/Application/Game/commands/StartGamePlayCommandHandler.ts index f19b9362..bc67a83d 100644 --- a/SerpentRace_Backend/src/Application/Game/commands/StartGamePlayCommandHandler.ts +++ b/SerpentRace_Backend/src/Application/Game/commands/StartGamePlayCommandHandler.ts @@ -28,7 +28,11 @@ export interface ActiveGamePlayData { turnSequence: string[]; // Ordered array of player IDs based on turnOrder websocketRoom: string; gamePhase: 'starting' | 'playing' | 'paused' | 'finished'; +<<<<<<< HEAD boardData: BoardData; // Generated board with fields +======= + boardData: BoardData; // Generated board with fields and border +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } export interface GameStartResult { @@ -362,7 +366,13 @@ export class StartGamePlayCommandHandler { logOther(`Board data found for game ${gameId}`, { generationComplete: boardData.generationComplete, hasError: !!boardData.error, +<<<<<<< HEAD fieldsCount: boardData.fields ? boardData.fields.length : 0 +======= + fieldsCount: boardData.fields ? boardData.fields.length : 0, + borderLength: boardData.border ? boardData.border.length : 0, + totalErrorRate: boardData.totalErrorRate +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 }); if (boardData.generationComplete) { @@ -372,7 +382,13 @@ export class StartGamePlayCommandHandler { } logOther(`Board generation completed for game ${gameId}`, { +<<<<<<< HEAD fieldCount: boardData.fields.length, +======= + errorRate: boardData.totalErrorRate, + fieldCount: boardData.fields.length, + borderLength: boardData.border.length, +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 waitTime: Date.now() - startTime }); diff --git a/SerpentRace_Backend/src/Application/Services/AuthMiddleware.ts b/SerpentRace_Backend/src/Application/Services/AuthMiddleware.ts index 251d0186..f7f4c87e 100644 --- a/SerpentRace_Backend/src/Application/Services/AuthMiddleware.ts +++ b/SerpentRace_Backend/src/Application/Services/AuthMiddleware.ts @@ -79,7 +79,11 @@ export async function authRequired(req: Request, res: Response, next: NextFuncti orgId: payload.orgId }, req); +<<<<<<< HEAD const refreshed = jwtService.refreshIfNeeded(payload, res, req); +======= + const refreshed = jwtService.refreshIfNeeded(payload, res); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 if (refreshed) { logAuth('Token refreshed', payload.userId, undefined, req); } @@ -132,7 +136,11 @@ export async function adminRequired(req: Request, res: Response, next: NextFunct orgId: payload.orgId }, req); +<<<<<<< HEAD const refreshed = jwtService.refreshIfNeeded(payload, res, req); +======= + const refreshed = jwtService.refreshIfNeeded(payload, res); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 if (refreshed) { logAuth('Admin token refreshed', payload.userId, undefined, req); } diff --git a/SerpentRace_Backend/src/Application/Services/DIContainer.ts b/SerpentRace_Backend/src/Application/Services/DIContainer.ts index 7c6af860..8d6d91bf 100644 --- a/SerpentRace_Backend/src/Application/Services/DIContainer.ts +++ b/SerpentRace_Backend/src/Application/Services/DIContainer.ts @@ -60,9 +60,12 @@ import { EmailService } from './EmailService'; import { GameTokenService } from './GameTokenService'; import { ContactEmailService } from './ContactEmailService'; import { DeckImportExportService } from './DeckImportExportService'; +<<<<<<< HEAD import { FieldEffectService } from './FieldEffectService'; import { CardDrawingService } from './CardDrawingService'; import { GamemasterService } from './GamemasterService'; +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 import { RedisService } from './RedisService'; import { GameService } from '../Game/GameService'; import { BoardGenerationService } from '../Game/BoardGenerationService'; @@ -90,9 +93,12 @@ export class DIContainer { private _gameTokenService: GameTokenService | null = null; private _contactEmailService: ContactEmailService | null = null; private _deckImportExportService: DeckImportExportService | null = null; +<<<<<<< HEAD private _cardDrawingService: CardDrawingService | null = null; private _gamemasterService: GamemasterService | null = null; private _fieldEffectService: FieldEffectService | null = null; +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 private _gameService: GameService | null = null; private _boardGenerationService: BoardGenerationService | null = null; @@ -232,6 +238,7 @@ export class DIContainer { return this._deckImportExportService; } +<<<<<<< HEAD public get cardDrawingService(): CardDrawingService { if (!this._cardDrawingService) { this._cardDrawingService = new CardDrawingService(); @@ -256,6 +263,8 @@ export class DIContainer { return this._fieldEffectService; } +======= +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 public get gameService(): GameService { if (!this._gameService) { this._gameService = new GameService(); diff --git a/SerpentRace_Backend/src/Application/Services/WebSocketService.ts b/SerpentRace_Backend/src/Application/Services/WebSocketService.ts index 2cfd5933..495260a2 100644 --- a/SerpentRace_Backend/src/Application/Services/WebSocketService.ts +++ b/SerpentRace_Backend/src/Application/Services/WebSocketService.ts @@ -54,6 +54,31 @@ interface DeleteMessageData { messageId: string; } +// Game-related WebSocket interfaces (prepared for future implementation) +interface JoinGameRoomData { + gameCode: string; +} + +interface LeaveGameRoomData { + gameCode: string; +} + +interface GameStateUpdateData { + gameId: string; + gameCode: string; + players: string[]; + state: string; + currentTurn?: string; +} + +interface GameActionData { + gameId: string; + gameCode: string; + playerId: string; + action: 'pick_card' | 'play_card' | 'end_turn' | 'leave_game'; + data?: any; +} + export class WebSocketService { private io: SocketIOServer; private jwtService: JWTService; @@ -237,6 +262,14 @@ export class WebSocketService { socket.on('chat:archive:delete', (data: DeleteChatArchiveData) => this.handleDeleteChatArchive(socket, data)); socket.on('message:delete', (data: DeleteMessageData) => this.handleDeleteMessage(socket, data)); +<<<<<<< HEAD +======= + // Game event handlers (prepared for future implementation) + socket.on('game:join', (data: JoinGameRoomData) => this.handleJoinGameRoom(socket, data)); + socket.on('game:leave', (data: LeaveGameRoomData) => this.handleLeaveGameRoom(socket, data)); + socket.on('game:action', (data: GameActionData) => this.handleGameAction(socket, data)); + +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 socket.on('disconnect', () => this.handleDisconnection(socket)); } @@ -1173,4 +1206,211 @@ export class WebSocketService { } } } + + // Game-related WebSocket handlers (prepared for future implementation) + + /** + * Handle player joining a game room for real-time updates + * @param socket The authenticated socket + * @param data Game room data containing game code + */ + private async handleJoinGameRoom(socket: AuthenticatedSocket, data: JoinGameRoomData) { + try { + const userId = socket.userId!; + const gameRoom = `game_${data.gameCode}`; + + logAuth('Player joining game room', userId, { + gameCode: data.gameCode, + gameRoom, + socketId: socket.id + }); + + // Join the WebSocket room for this game + await socket.join(gameRoom); + + // Emit confirmation to the player + socket.emit('game:joined', { + gameCode: data.gameCode, + room: gameRoom, + message: 'Successfully joined game room' + }); + + // Notify other players in the game room + socket.to(gameRoom).emit('game:player_joined', { + playerId: userId, + gameCode: data.gameCode, + timestamp: new Date().toISOString() + }); + + logAuth('Player joined game room successfully', userId, { + gameCode: data.gameCode, + gameRoom + }); + + } catch (error) { + logError('Error joining game room', error as Error); + socket.emit('game:error', { + message: 'Failed to join game room', + gameCode: data.gameCode + }); + } + } + + /** + * Handle player leaving a game room + * @param socket The authenticated socket + * @param data Game room data containing game code + */ + private async handleLeaveGameRoom(socket: AuthenticatedSocket, data: LeaveGameRoomData) { + try { + const userId = socket.userId!; + const gameRoom = `game_${data.gameCode}`; + + logAuth('Player leaving game room', userId, { + gameCode: data.gameCode, + gameRoom, + socketId: socket.id + }); + + // Leave the WebSocket room + await socket.leave(gameRoom); + + // Notify other players in the game room + socket.to(gameRoom).emit('game:player_left', { + playerId: userId, + gameCode: data.gameCode, + timestamp: new Date().toISOString() + }); + + // Confirm to the leaving player + socket.emit('game:left', { + gameCode: data.gameCode, + message: 'Successfully left game room' + }); + + logAuth('Player left game room successfully', userId, { + gameCode: data.gameCode, + gameRoom + }); + + } catch (error) { + logError('Error leaving game room', error as Error); + socket.emit('game:error', { + message: 'Failed to leave game room', + gameCode: data.gameCode + }); + } + } + + /** + * Handle game actions (cards, turns, etc.) - prepared for future implementation + * @param socket The authenticated socket + * @param data Game action data + */ + private async handleGameAction(socket: AuthenticatedSocket, data: GameActionData) { + try { + const userId = socket.userId!; + const gameRoom = `game_${data.gameCode}`; + + logAuth('Game action received', userId, { + gameId: data.gameId, + gameCode: data.gameCode, + action: data.action, + socketId: socket.id + }); + + // Validate that the player is authorized to perform this action + if (data.playerId !== userId) { + socket.emit('game:error', { + message: 'Unauthorized action', + gameCode: data.gameCode + }); + return; + } + + // TODO: Implement specific game logic here + // This will be implemented when the game flow is discussed + + // For now, just broadcast the action to other players + socket.to(gameRoom).emit('game:action_performed', { + playerId: userId, + gameCode: data.gameCode, + action: data.action, + data: data.data, + timestamp: new Date().toISOString() + }); + + // Confirm action to the acting player + socket.emit('game:action_confirmed', { + gameCode: data.gameCode, + action: data.action, + message: 'Action processed successfully' + }); + + logAuth('Game action processed', userId, { + gameId: data.gameId, + gameCode: data.gameCode, + action: data.action + }); + + } catch (error) { + logError('Error processing game action', error as Error); + socket.emit('game:error', { + message: 'Failed to process game action', + gameCode: data.gameCode, + action: data.action + }); + } + } + + /** + * Broadcast game state updates to all players in a game + * @param gameCode The game code + * @param gameState The updated game state + */ + public broadcastGameStateUpdate(gameCode: string, gameState: GameStateUpdateData): void { + try { + const gameRoom = `game_${gameCode}`; + + this.io.to(gameRoom).emit('game:state_updated', { + ...gameState, + timestamp: new Date().toISOString() + }); + + logRequest('Game state broadcasted', undefined, undefined, { + gameCode, + gameRoom, + playerCount: gameState.players.length + }); + + } catch (error) { + logError('Error broadcasting game state', error as Error); + } + } + + /** + * Notify players when a game starts + * @param gameCode The game code + * @param players Array of player IDs + */ + public notifyGameStart(gameCode: string, players: string[]): void { + try { + const gameRoom = `game_${gameCode}`; + + this.io.to(gameRoom).emit('game:started', { + gameCode, + players, + message: 'Game has started!', + timestamp: new Date().toISOString() + }); + + logRequest('Game start notification sent', undefined, undefined, { + gameCode, + playerCount: players.length + }); + + } catch (error) { + logError('Error notifying game start', error as Error); + } + } } diff --git a/SerpentRace_Backend/src/Application/User/commands/LogoutCommandHandler.ts b/SerpentRace_Backend/src/Application/User/commands/LogoutCommandHandler.ts index c6648076..c079d0a8 100644 --- a/SerpentRace_Backend/src/Application/User/commands/LogoutCommandHandler.ts +++ b/SerpentRace_Backend/src/Application/User/commands/LogoutCommandHandler.ts @@ -17,6 +17,7 @@ export class LogoutCommandHandler { try { logAuth('Logout process started', userId); +<<<<<<< HEAD // 1. Get tokens from request to blacklist them let accessTokenToBlacklist: string | null = null; let refreshTokenToBlacklist: string | null = null; @@ -41,10 +42,32 @@ export class LogoutCommandHandler { // 2. Blacklist both access and refresh tokens in Redis if (accessTokenToBlacklist && req) { try { +======= + // 1. Get token from request to blacklist it + let tokenToBlacklist: string | null = null; + if (req) { + // Extract token from cookie + tokenToBlacklist = req.cookies['auth_token']; + + // Also check Authorization header as fallback + if (!tokenToBlacklist && req.headers.authorization) { + const authHeader = req.headers.authorization; + if (authHeader.startsWith('Bearer ')) { + tokenToBlacklist = authHeader.substring(7); + } + } + } + + // 2. Blacklist the current JWT token in Redis (if available) + if (tokenToBlacklist && req) { + try { + // Store token in blacklist with expiration matching token expiry +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 const decoded = this.jwtService.verify(req); if (decoded && decoded.exp) { const ttl = decoded.exp - Math.floor(Date.now() / 1000); if (ttl > 0) { +<<<<<<< HEAD await this.redisService.setWithExpiry(`blacklist:${accessTokenToBlacklist}`, 'true', ttl); logAuth('Access token blacklisted', userId, { tokenExpiry: ttl }); } @@ -74,6 +97,24 @@ export class LogoutCommandHandler { if (req) { this.jwtService.logout(req, res); } +======= + await this.redisService.setWithExpiry(`blacklist:${tokenToBlacklist}`, 'true', ttl); + logAuth('JWT token blacklisted', userId, { tokenExpiry: ttl }); + } + } + } catch (error) { + logWarning('Failed to blacklist token', { userId, error: (error as Error).message }); + } + } + + // 3. Clear authentication cookie + res.clearCookie('auth_token', { + httpOnly: true, + secure: process.env.NODE_ENV === 'production', + sameSite: 'strict', + path: '/' + }); +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 // 4. Remove user from active sessions in Redis try { diff --git a/SerpentRace_Backend/src/Domain/Deck/DeckAggregate.ts b/SerpentRace_Backend/src/Domain/Deck/DeckAggregate.ts index 2184a852..d22e674b 100644 --- a/SerpentRace_Backend/src/Domain/Deck/DeckAggregate.ts +++ b/SerpentRace_Backend/src/Domain/Deck/DeckAggregate.ts @@ -31,7 +31,13 @@ export enum ConsequenceType { MOVE_BACKWARD = 1, LOSE_TURN = 2, EXTRA_TURN = 3, +<<<<<<< HEAD GO_TO_START = 5 +======= + SWAP_POSITION = 4, + GO_TO_START = 5, + TURN_AGAIN = 6 +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 } export interface Consequence { diff --git a/SerpentRace_Backend/src/Domain/Game/GameAggregate.ts b/SerpentRace_Backend/src/Domain/Game/GameAggregate.ts index 0ad80db4..df48a68e 100644 --- a/SerpentRace_Backend/src/Domain/Game/GameAggregate.ts +++ b/SerpentRace_Backend/src/Domain/Game/GameAggregate.ts @@ -1,5 +1,9 @@ import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn } from 'typeorm'; +<<<<<<< HEAD import { Consequence, CardType } from '../Deck/DeckAggregate'; +======= +import { Consequence } from '../Deck/DeckAggregate'; +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 export enum GameState { WAITING = 0, @@ -23,8 +27,12 @@ export enum DeckType { export interface GameCard { cardid: string; question?: string; +<<<<<<< HEAD answer?: any; // Support complex answer structures (string, object, array) type?: CardType; // Card type for validation logic +======= + answer?: string; +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 consequence?: Consequence | null; played?: boolean; playerid?: string; @@ -50,6 +58,7 @@ export class GameAggregate { @Column({ type: 'int', default: LoginType.PUBLIC }) logintype!: LoginType; +<<<<<<< HEAD @Column({ type: 'int', default: 50 }) boardsize!: number; @@ -63,6 +72,18 @@ export class GameAggregate { gamedecks!: GameDeck[]; @Column({ type: 'uuid', array: true, default: () => "'{}'", name: 'playerids' }) +======= + @Column({ type: 'varchar', length: 255, nullable: true }) + createdby!: string | null; + + @Column({ type: 'varchar', length: 255, nullable: true }) + orgid!: string | null; + + @Column({ type: 'json' }) + gamedecks!: GameDeck[]; + + @Column({ type: 'json', default: () => "'[]'" }) +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 players!: string[]; @Column({ type: 'boolean', default: false }) @@ -71,22 +92,37 @@ export class GameAggregate { @Column({ type: 'boolean', default: false }) finished!: boolean; +<<<<<<< HEAD @Column({ type: 'uuid', nullable: true, name: 'winnerid' }) +======= + @Column({ type: 'varchar', length: 255, nullable: true }) +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 winner!: string | null; @Column({ type: 'int', default: GameState.WAITING }) state!: GameState; +<<<<<<< HEAD @CreateDateColumn({ name: 'createDate' }) +======= + @CreateDateColumn({ name: 'create_date' }) +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 createdate!: Date; @Column({ type: 'timestamp', nullable: true, name: 'start_date' }) startdate!: Date | null; +<<<<<<< HEAD @Column({ type: 'timestamp', nullable: true, name: 'finishDate' }) enddate!: Date | null; @UpdateDateColumn({ name: 'updateDate' }) +======= + @Column({ type: 'timestamp', nullable: true, name: 'end_date' }) + enddate!: Date | null; + + @UpdateDateColumn({ name: 'update_date' }) +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 updatedate!: Date; } @@ -100,6 +136,12 @@ export interface GameField { export interface BoardData { gameId?: string; fields: GameField[]; +<<<<<<< HEAD +======= + border: number[]; + validationResults: { [fieldIndex: number]: number[] }; + totalErrorRate: number; +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 generationComplete?: boolean; generatedAt?: Date; error?: string; diff --git a/SerpentRace_Backend/src/Domain/IRepository/IGameRepository.ts b/SerpentRace_Backend/src/Domain/IRepository/IGameRepository.ts index 9c8bb4c8..dd79dba5 100644 --- a/SerpentRace_Backend/src/Domain/IRepository/IGameRepository.ts +++ b/SerpentRace_Backend/src/Domain/IRepository/IGameRepository.ts @@ -1,9 +1,27 @@ import { GameAggregate } from '../Game/GameAggregate'; +<<<<<<< HEAD import { IPaginatedRepository } from './IBaseRepository'; export interface IGameRepository extends IPaginatedRepository { // Game-specific methods findByGameCode(gamecode: string): Promise; +======= + +export interface IGameRepository { + create(game: Partial): Promise; + findByPage(from: number, to: number): Promise<{ games: GameAggregate[], totalCount: number }>; + findByPageIncludingDeleted(from: number, to: number): Promise<{ games: GameAggregate[], totalCount: number }>; + findById(id: string): Promise; + findByIdIncludingDeleted(id: string): Promise; + findByGameCode(gamecode: string): Promise; + search(query: string, limit?: number, offset?: number): Promise<{ games: GameAggregate[], totalCount: number }>; + searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{ games: GameAggregate[], totalCount: number }>; + update(id: string, update: Partial): Promise; + delete(id: string): Promise; + softDelete(id: string): Promise; + + // Game-specific methods +>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2 findActiveGames(): Promise; findGamesByPlayer(playerId: string): Promise; findWaitingGames(): Promise; diff --git a/SerpentRace_Backend/src/Infrastructure/Migrations/1757939815984-full.ts b/SerpentRace_Backend/src/Infrastructure/Migrations/1757939815984-full.ts new file mode 100644 index 00000000..91eabf61 --- /dev/null +++ b/SerpentRace_Backend/src/Infrastructure/Migrations/1757939815984-full.ts @@ -0,0 +1,28 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +export class Full1757939815984 implements MigrationInterface { + name = 'Full1757939815984' + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`CREATE TABLE "Chats" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "type" character varying(50) NOT NULL DEFAULT 'direct', "name" character varying(255), "gameId" uuid, "createdBy" uuid, "users" uuid array NOT NULL, "messages" json NOT NULL DEFAULT '[]', "lastActivity" TIMESTAMP, "createDate" TIMESTAMP NOT NULL DEFAULT now(), "updateDate" TIMESTAMP NOT NULL DEFAULT now(), "state" integer NOT NULL DEFAULT '0', "archiveDate" TIMESTAMP, CONSTRAINT "PK_64c36c2b8d86a0d5de4cf64de8d" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "Users" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "orgid" uuid, "username" character varying(100) NOT NULL, "password" character varying(255) NOT NULL, "email" character varying(255) NOT NULL, "fname" character varying(100) NOT NULL, "lname" character varying(100) NOT NULL, "token" character varying(255), "TokenExpires" TIMESTAMP, "phone" character varying(20), "state" integer NOT NULL DEFAULT '0', "regdate" TIMESTAMP NOT NULL DEFAULT now(), "updatedate" TIMESTAMP NOT NULL DEFAULT now(), "Orglogindate" TIMESTAMP, CONSTRAINT "UQ_ffc81a3b97dcbf8e320d5106c0d" UNIQUE ("username"), CONSTRAINT "UQ_3c3ab3f49a87e6ddb607f3c4945" UNIQUE ("email"), CONSTRAINT "PK_16d4f7d636df336db11d87413e3" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "Contacts" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying(255) NOT NULL, "email" character varying(255) NOT NULL, "userid" uuid, "type" integer NOT NULL, "txt" text NOT NULL, "state" integer NOT NULL DEFAULT '0', "createDate" TIMESTAMP NOT NULL DEFAULT now(), "updateDate" TIMESTAMP NOT NULL DEFAULT now(), "adminResponse" text, "responseDate" TIMESTAMP, "respondedBy" uuid, CONSTRAINT "PK_68782cec65c8eef577c62958273" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "ChatArchives" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "chatId" uuid NOT NULL, "archivedMessages" json NOT NULL, "archivedAt" TIMESTAMP NOT NULL, "createDate" TIMESTAMP NOT NULL DEFAULT now(), "chatType" character varying(50) NOT NULL, "chatName" character varying(255), "gameId" uuid, "participants" uuid array NOT NULL, CONSTRAINT "PK_fe62979fc2061d7afe278d3f14e" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "Games" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "gamecode" character varying(10) NOT NULL, "maxplayers" integer NOT NULL, "logintype" integer NOT NULL DEFAULT '0', "createdby" character varying(255), "orgid" character varying(255), "gamedecks" json NOT NULL, "players" json NOT NULL DEFAULT '[]', "started" boolean NOT NULL DEFAULT false, "finished" boolean NOT NULL DEFAULT false, "winner" character varying(255), "state" integer NOT NULL DEFAULT '0', "create_date" TIMESTAMP NOT NULL DEFAULT now(), "start_date" TIMESTAMP, "end_date" TIMESTAMP, "update_date" TIMESTAMP NOT NULL DEFAULT now(), CONSTRAINT "UQ_9d52c646079cbe6f242a85c5c41" UNIQUE ("gamecode"), CONSTRAINT "PK_1950492f583d31609c5e9fbbe12" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "Organizations" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying(255) NOT NULL, "contactfname" character varying(100) NOT NULL, "contactlname" character varying(100) NOT NULL, "contactphone" character varying(20) NOT NULL, "contactemail" character varying(255) NOT NULL, "state" integer NOT NULL DEFAULT '0', "regdate" TIMESTAMP NOT NULL DEFAULT now(), "updatedate" TIMESTAMP NOT NULL DEFAULT now(), "url" character varying(500), "userinorg" integer NOT NULL DEFAULT '0', "maxOrganizationalDecks" integer, CONSTRAINT "PK_e0690a31419f6666194423526f2" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "Decks" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying(255) NOT NULL, "type" integer NOT NULL, "user_id" uuid NOT NULL, "creation_date" TIMESTAMP NOT NULL DEFAULT now(), "cards" json NOT NULL, "played_number" integer NOT NULL DEFAULT '0', "ctype" integer NOT NULL DEFAULT '0', "update_date" TIMESTAMP NOT NULL DEFAULT now(), "state" integer NOT NULL DEFAULT '0', "organization_id" uuid, CONSTRAINT "PK_001f26cb3ec39c1f25269943473" PRIMARY KEY ("id"))`); + await queryRunner.query(`ALTER TABLE "Decks" ADD CONSTRAINT "FK_06ee28f90d68543a03b14aebe13" FOREIGN KEY ("organization_id") REFERENCES "Organizations"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`ALTER TABLE "Decks" DROP CONSTRAINT "FK_06ee28f90d68543a03b14aebe13"`); + await queryRunner.query(`DROP TABLE "Decks"`); + await queryRunner.query(`DROP TABLE "Organizations"`); + await queryRunner.query(`DROP TABLE "Games"`); + await queryRunner.query(`DROP TABLE "ChatArchives"`); + await queryRunner.query(`DROP TABLE "Contacts"`); + await queryRunner.query(`DROP TABLE "Users"`); + await queryRunner.query(`DROP TABLE "Chats"`); + } + +} diff --git a/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1757939815062-full.ts b/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1757939815062-full.ts new file mode 100644 index 00000000..f28f2ccb --- /dev/null +++ b/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1757939815062-full.ts @@ -0,0 +1,15 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +<<<<<<<< HEAD:SerpentRace_Backend/src/Infrastructure/Migrationsettings/1758463928499-full.ts +export class Full1758463928499 implements MigrationInterface { +======== +export class Full1757939815062 implements MigrationInterface { +>>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2:SerpentRace_Backend/src/Infrastructure/Migrationsettings/1757939815062-full.ts + + public async up(queryRunner: QueryRunner): Promise { + } + + public async down(queryRunner: QueryRunner): Promise { + } + +} diff --git a/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1758463928499-full.ts b/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1758463928499-full.ts index a12569cb..f28f2ccb 100644 --- a/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1758463928499-full.ts +++ b/SerpentRace_Backend/src/Infrastructure/Migrationsettings/1758463928499-full.ts @@ -1,6 +1,10 @@ import { MigrationInterface, QueryRunner } from "typeorm"; +<<<<<<<< HEAD:SerpentRace_Backend/src/Infrastructure/Migrationsettings/1758463928499-full.ts export class Full1758463928499 implements MigrationInterface { +======== +export class Full1757939815062 implements MigrationInterface { +>>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2:SerpentRace_Backend/src/Infrastructure/Migrationsettings/1757939815062-full.ts public async up(queryRunner: QueryRunner): Promise { } diff --git a/SerpentRace_Frontend/src/App.jsx b/SerpentRace_Frontend/src/App.jsx index 96b7afe2..5831b3a7 100644 --- a/SerpentRace_Frontend/src/App.jsx +++ b/SerpentRace_Frontend/src/App.jsx @@ -9,10 +9,12 @@ import ResetPassword from "./pages/Auth/ResetPassword" import Landingpage from "./pages/Landing/Landingpage" import Home from "./pages/Landing/Home" import DeckManagerPage from "./pages/Decks/DeckManagerPage" +import DeckCreator from "./pages/DeckCreator/DeckCreator" import CompanyHub from "./pages/Companies/Companies" import About from "./pages/About/About" import ScrollToTop from "./components/ScrollToTop" import GameScreen from "./pages/Game/GameScreen" +import Reports from "./pages/Report/Reports" function App() { const [isMobile, setIsMobile] = useState(false) @@ -53,8 +55,11 @@ function App() { } /> } /> } /> + } /> + } /> } /> } /> + } /> {/* Add more routes as needed */} diff --git a/SerpentRace_Frontend/src/components/DeckCreator/CardEditor.jsx b/SerpentRace_Frontend/src/components/DeckCreator/CardEditor.jsx new file mode 100644 index 00000000..2f48e046 --- /dev/null +++ b/SerpentRace_Frontend/src/components/DeckCreator/CardEditor.jsx @@ -0,0 +1,224 @@ +// src/components/DeckCreator/CardEditor.jsx +// Jobb oldali kártya szerkesztő + +import React, { useState, useEffect } from "react" +import { FaSave, FaTimes, FaEye } from "react-icons/fa" +import TaskCardEditor from "./TaskCardEditor.jsx" +import JokerCardEditor from "./JokerCardEditor.jsx" +import LuckCardEditor from "./LuckCardEditor.jsx" +import CardPreview from "./CardPreview.jsx" + +export default function CardEditor({ card, isCreating, cardType, onSave, onCancel }) { + const [cardData, setCardData] = useState(null) + const [showPreview, setShowPreview] = useState(false) + + // Alapértelmezett kártya adatok + const getDefaultCardData = (type) => { + const baseData = { + id: null, + type: type, + points: 10, + timeLimit: 30 + } + + switch (type) { + case 'task': + return { + ...baseData, + subType: 'quiz', + question: '', + options: ['', '', '', ''], + correctAnswer: 0, + explanation: '' + } + case 'joker': + return { + ...baseData, + title: '', + description: '', + effect: '', + actionType: 'skip', + usage: 'once' + } + case 'luck': + return { + ...baseData, + event: '', + positiveEffect: '', + negativeEffect: '', + probability: 50, + risk: 'low' + } + default: + return baseData + } + } + + // Kártya adatok inicializálása + useEffect(() => { + if (isCreating && cardType) { + setCardData(getDefaultCardData(cardType)) + } else if (card) { + setCardData({ ...card }) + } else { + setCardData(null) + } + }, [card, isCreating, cardType]) + + const handleSave = () => { + if (!cardData) return + + // Validáció + if (!validateCard(cardData)) return + + onSave(cardData) + } + + const validateCard = (data) => { + if (data.type === 'task') { + if (!data.question && !data.statement) { + alert("❌ Kérdés vagy állítás megadása kötelező!") + return false + } + if (data.subType === 'quiz' && data.options.some(opt => !opt.trim())) { + alert("❌ Minden válaszlehetőséget ki kell tölteni!") + return false + } + } else if (data.type === 'joker') { + if (!data.text || !data.text.trim()) { + alert("❌ Joker kártya szövege nem lehet üres!") + return false + } + } else if (data.type === 'luck') { + if (!data.text || !data.text.trim()) { + alert("❌ Szerencse kártya szövege nem lehet üres!") + return false + } + } + + return true + } + + const updateCardData = (updates) => { + setCardData(prev => prev ? { ...prev, ...updates } : null) + } + + // Ha nincs kiválasztott kártya vagy új kártya létrehozás + if (!cardData) { + return ( +
+
+
🃏
+
+ Válassz ki egy kártyát +
+
+ Klikkelj egy kártyára a bal oldalon a szerkesztéshez,
+ vagy hozz létre egy újat. +
+
+
+ ) + } + + return ( +
+ {/* Header */} +
+
+
+
+ {cardData.type === 'task' && '📋'} + {cardData.type === 'joker' && '🃏'} + {cardData.type === 'luck' && '🎲'} +
+
+

+ {isCreating ? 'Új' : 'Szerkesztés'} {' '} + {cardData.type === 'task' && 'Feladat kártya'} + {cardData.type === 'joker' && 'Joker kártya'} + {cardData.type === 'luck' && 'Szerencse kártya'} +

+
+ {cardData.type === 'task' && cardData.subType && ( + <> + {cardData.subType === 'quiz' && 'Quiz (A/B/C/D)'} + {cardData.subType === 'truefalse' && 'Igaz/Hamis'} + {cardData.subType === 'matching' && 'Párosítás'} + {cardData.subType === 'text' && 'Szöveges válasz'} + + )} +
+
+
+ +
+ + + + + +
+
+
+ + {/* Content */} +
+ {showPreview ? ( + /* Preview Mode */ +
+ +
+ ) : ( + /* Edit Mode */ +
+ {cardData.type === 'task' && ( + + )} + + {cardData.type === 'joker' && ( + + )} + + {cardData.type === 'luck' && ( + + )} +
+ )} +
+
+ ) +} \ No newline at end of file diff --git a/SerpentRace_Frontend/src/components/DeckCreator/CardPreview.jsx b/SerpentRace_Frontend/src/components/DeckCreator/CardPreview.jsx new file mode 100644 index 00000000..5835bfe8 --- /dev/null +++ b/SerpentRace_Frontend/src/components/DeckCreator/CardPreview.jsx @@ -0,0 +1,148 @@ +// src/components/DeckCreator/CardPreview.jsx +// Kártya előnézet komponens + +import React from "react" +import { FaQuestionCircle, FaTheaterMasks, FaDice, FaClock, FaStar } from "react-icons/fa" + +export default function CardPreview({ card }) { + if (!card) { + return ( +
+
🃏
+
Nincs kiválasztott kártya az előnézethez
+
+ ) + } + + // Kártya típus specifikus beállítások + const getCardConfig = (card) => { + switch (card.type) { + case 'task': + return { + bgColor: 'var(--color-question)', + icon: FaQuestionCircle, + title: 'FELADAT KÁRTYA', + emoji: '📋' + } + case 'joker': + return { + bgColor: 'var(--color-fun)', + icon: FaTheaterMasks, + title: 'JOKER KÁRTYA', + emoji: '🎭' + } + case 'luck': + return { + bgColor: 'var(--color-luck)', + icon: FaDice, + title: 'SZERENCSE KÁRTYA', + emoji: '🎲' + } + default: + return { + bgColor: 'var(--color-border)', + icon: FaQuestionCircle, + title: 'ISMERETLEN KÁRTYA', + emoji: '❓' + } + } + } + + const config = getCardConfig(card) + + // Kártya tartalom meghatározása + const getCardContent = (card) => { + if (card.type === 'task') { + return card.question || card.statement || 'Feladat leírása...' + } + if (card.type === 'joker' || card.type === 'luck') { + return card.text || 'Kártya szövege...' + } + return 'Kártya tartalma...' + } + + return ( +
+ {/* Kártya container */} +
+ {/* Kártya header */} +
+ {/* Háttér pattern */} +
+
+
+ +
+ + + {config.title} + +
+
+ + {/* Kártya body */} +
+ {/* Főikon */} +
+
{config.emoji}
+
+ + {/* Tartalom */} +
+
100 ? '14px' : '16px' + }} + > + {getCardContent(card)} +
+
+ + {/* Alsó információk */} +
+
+ {/* Idő */} + {card.timeLimit && ( +
+ + {card.timeLimit}s +
+ )} + + {/* Pontok */} + {card.points && ( +
+ + {card.points} pont +
+ )} + + {/* Ha nincs idő/pont info */} + {!card.timeLimit && !card.points && ( +
+ SerpentRace Deck +
+ )} +
+
+
+ + {/* Kártya corner dekoráció */} +
+
+
+
+ ) +} \ No newline at end of file diff --git a/SerpentRace_Frontend/src/components/DeckCreator/CardsList.jsx b/SerpentRace_Frontend/src/components/DeckCreator/CardsList.jsx new file mode 100644 index 00000000..cbbc8ce9 --- /dev/null +++ b/SerpentRace_Frontend/src/components/DeckCreator/CardsList.jsx @@ -0,0 +1,230 @@ +// src/components/DeckCreator/CardsList.jsx +// Bal oldali kártyák listája és új kártya létrehozás + +import React from "react" +import { FaPlus, FaEdit, FaTrash, FaQuestionCircle, FaCheck, FaTimes, FaDice, FaTheaterMasks } from "react-icons/fa" + +const cardTypeIcons = { + task: { icon: FaQuestionCircle, color: "var(--color-question)" }, + joker: { icon: FaTheaterMasks, color: "var(--color-fun)" }, + luck: { icon: FaDice, color: "var(--color-luck)" } +} + +const cardSubTypeLabels = { + quiz: "Quiz", + truefalse: "Igaz/Hamis", + matching: "Párosítás", + text: "Szöveges válasz" +} + +export default function CardsList({ + cards, + selectedCard, + onSelectCard, + onCreateCard, + onDeleteCard, + isCreatingCard, + newCardType +}) { + + const getCardPreview = (card) => { + if (card.type === 'task') { + return card.question || card.statement || 'Új feladat kártya' + } + if (card.type === 'joker') { + return card.text || 'Új joker kártya' + } + if (card.type === 'luck') { + return card.text || 'Új szerencse kártya' + } + return 'Ismeretlen kártya' + } + + const getCardTypeLabel = (card) => { + if (card.type === 'task') { + if (card.subType) { + return cardSubTypeLabels[card.subType] || 'Feladat' + } + return 'Feladat' + } + if (card.type === 'joker') { + return 'Joker' + } + if (card.type === 'luck') { + return 'Szerencse' + } + return 'Ismeretlen' + } + + return ( +
+ {/* Header */} +
+

+ 🃏 Kártyák +

+ + {/* New Card Dropdown */} +
+ + + {/* Dropdown Menu */} +
+ + + + + +
+
+
+ + {/* Cards List */} +
+ {/* Creating Card Indicator */} + {isCreatingCard && ( +
+
+ {newCardType && ( +
+ {React.createElement(cardTypeIcons[newCardType]?.icon || FaQuestionCircle, { + className: "text-[color:var(--color-success)] text-sm" + })} +
+ )} +
+
+ Új {newCardType === 'task' ? 'feladat' : newCardType === 'joker' ? 'joker' : 'szerencse'} kártya +
+
+ Szerkesztés folyamatban... +
+
+
+
+ )} + + {/* Existing Cards */} + {cards.map((card, index) => { + const cardIcon = cardTypeIcons[card.type] || cardTypeIcons.task + const isSelected = selectedCard?.id === card.id + + return ( +
onSelectCard(card)} + className={` + p-4 rounded-xl border cursor-pointer transition-all duration-200 hover:scale-105 group + ${isSelected + ? 'bg-[color:var(--color-success)]/10 border-[color:var(--color-success)] shadow-lg' + : 'bg-[color:var(--color-background)]/50 border-[color:var(--color-surface-selected)] hover:bg-[color:var(--color-background)]/80' + } + `} + > + {/* Card Header */} +
+
+
+ {React.createElement(cardIcon.icon, { + style: { color: cardIcon.color }, + className: "text-lg" + })} +
+ +
+
+ #{index + 1} - {getCardTypeLabel(card)} +
+ {card.timeLimit && ( +
+ ⏱️ {card.timeLimit} másodperc +
+ )} +
+
+ + {/* Action Buttons */} +
+ +
+
+ + {/* Card Content Preview */} +
+
+ {getCardPreview(card)} +
+
+
+ ) + })} + + {/* Empty State */} + {cards.length === 0 && !isCreatingCard && ( +
+
🃏
+
+ Még nincsenek kártyák. +
+ Hozz létre az első kártyát! +
+
+ )} +
+ + {/* Footer Stats */} +
+
+
+ 📊 Összesen: {cards.length} kártya +
+ + {cards.length > 0 && ( +
+ 📋 {cards.filter(c => c.type === 'task').length} + 🃏 {cards.filter(c => c.type === 'joker').length} + 🎲 {cards.filter(c => c.type === 'luck').length} +
+ )} +
+
+
+ ) +} \ No newline at end of file diff --git a/SerpentRace_Frontend/src/components/DeckCreator/DeckHeader.jsx b/SerpentRace_Frontend/src/components/DeckCreator/DeckHeader.jsx new file mode 100644 index 00000000..2aaa8626 --- /dev/null +++ b/SerpentRace_Frontend/src/components/DeckCreator/DeckHeader.jsx @@ -0,0 +1,161 @@ +// src/components/DeckCreator/DeckHeader.jsx +// Deck alapadatok szerkesztése és mentés + +import React from "react" +import { FaSave, FaArrowLeft, FaGlobe, FaLock, FaQuestionCircle, FaDice, FaLaughBeam } from "react-icons/fa" + +const deckTypes = [ + { value: "Question", label: "Kérdés", icon: FaQuestionCircle, color: "var(--color-question)" }, + { value: "Luck", label: "Szerencse", icon: FaDice, color: "var(--color-luck)" }, + { value: "Fun", label: "Szórakozás", icon: FaLaughBeam, color: "var(--color-fun)" } +] + +const privacyOptions = [ + { value: "private", label: "Privát", icon: FaLock }, + { value: "public", label: "Publikus", icon: FaGlobe } +] + +export default function DeckHeader({ deck, onUpdate, onSave, onBack }) { + const currentDeckType = deckTypes.find(type => type.value === deck.type) || deckTypes[0] + const currentPrivacy = privacyOptions.find(option => option.value === deck.privacy) || privacyOptions[0] + + const handleInputChange = (field, value) => { + onUpdate({ [field]: value }) + } + + const cardsCount = deck.cards?.length || 0 + const taskCards = deck.cards?.filter(card => card.type === 'task')?.length || 0 + const jokerCards = deck.cards?.filter(card => card.type === 'joker')?.length || 0 + const luckCards = deck.cards?.filter(card => card.type === 'luck')?.length || 0 + + return ( +
+ {/* Top Row - Title and Actions */} +
+
+ + +

+ 📝 Deck Szerkesztés +

+
+ + +
+ + {/* Main Content Row */} +
+ {/* Deck Basic Info */} +
+ {/* Deck Name */} +
+ + handleInputChange('name', e.target.value)} + className="w-full px-4 py-2 rounded-xl bg-[color:var(--color-background)] border border-[color:var(--color-surface-selected)] text-[color:var(--color-text)] focus:ring-2 focus:ring-[color:var(--color-success)] focus:border-transparent outline-none transition-all duration-200" + placeholder="Add meg a deck nevét..." + /> +
+ + {/* Type and Privacy Row */} +
+ {/* Deck Type */} +
+ + +
+ + {/* Privacy */} +
+ + +
+ + {/* Description */} +
+ + handleInputChange('description', e.target.value)} + className="w-full px-4 py-2 rounded-xl bg-[color:var(--color-background)] border border-[color:var(--color-surface-selected)] text-[color:var(--color-text)] focus:ring-2 focus:ring-[color:var(--color-success)] focus:border-transparent outline-none transition-all duration-200" + placeholder="Rövid leírás..." + /> +
+
+
+ + {/* Stats Panel */} +
+

+ 📊 Statisztikák +

+ +
+
+ Összes kártya: + {cardsCount} +
+ +
+ 📋 Feladat: + {taskCards} +
+ +
+ 🃏 Joker: + {jokerCards} +
+ +
+ 🎲 Szerencse: + {luckCards} +
+
+
+
+
+ ) +} \ No newline at end of file diff --git a/SerpentRace_Frontend/src/components/DeckCreator/JokerCardEditor.jsx b/SerpentRace_Frontend/src/components/DeckCreator/JokerCardEditor.jsx new file mode 100644 index 00000000..c902cade --- /dev/null +++ b/SerpentRace_Frontend/src/components/DeckCreator/JokerCardEditor.jsx @@ -0,0 +1,152 @@ +// src/components/DeckCreator/JokerCardEditor.jsx +// Joker kártya szerkesztő + +import React, { useState, useEffect } from 'react' +import { FaTheaterMasks, FaInfoCircle, FaUsers } from 'react-icons/fa' + +export default function JokerCardEditor({ card, onChange }) { + const [cardData, setCardData] = useState({ + type: 'joker', + text: '' + }) + + useEffect(() => { + if (card) { + setCardData({ + type: 'joker', + text: card.text || '' + }) + } + }, [card]) + + const handleTextChange = (e) => { + const newCardData = { + ...cardData, + text: e.target.value + } + setCardData(newCardData) + + if (onChange) { + onChange(newCardData) + } + } + + // Példa joker kártyák + const exampleCards = [ + "Felelsz vagy mersz? (Az előző játékos kérdez)", + "Csinálj 20 felülést!", + "Mesélj el egy vicces történetet az életedből!", + "Utánozd a kedvenc állatodat 30 másodpercig!", + "Énekelj el egy dalt amit mindenki ismer!", + "Mondj el 5 dolgot amiért hálás vagy!", + "Táncolj 1 percig zene nélkül!" + ] + + const insertExample = (example) => { + setCardData(prev => ({ + ...prev, + text: example + })) + + if (onChange) { + onChange({ + ...cardData, + text: example + }) + } + } + + return ( +
+
+ {/* Header */} +
+ +

+ Joker Kártya Szerkesztő +

+
+ + {/* Info box */} +
+
+ +
+

+ + Joker kártya működése: +

+

+ A joker kártyák interaktív feladatokat tartalmaznak, melyek megtörik a jeget a játékosok között. + Ezek lehetnek fizikai feladatok, kérdések, vagy szórakoztató kihívások. +

+

+ Cél: Szórakozás és játékosok közötti kapcsolat erősítése +

+
+
+
+ + {/* Card text input */} +
+
+ +