24 Commits

Author SHA1 Message Date
011dfdffc6 feat: add debug logging for token expiry and update token setting logic 2025-09-19 19:57:41 +02:00
eca7510eb8 fix: ensure token expiration times are based on server time from the database 2025-09-19 19:55:07 +02:00
05fc2496d7 fix: update SQL query to use server time for session expiration checks 2025-09-19 19:53:31 +02:00
0f913ee940 feat: enhance token management with debug logging for session expiration and immediate access 2025-09-19 19:51:23 +02:00
730044f0b7 fix: improve MySQL connection handling and cleanup on server start 2025-09-19 19:49:47 +02:00
cb2f5732eb feat: add cleanup for expired sessions on server start and during queue evaluation 2025-09-19 19:45:58 +02:00
e44a7672d5 feat: implement clearAllTokenState function to manage token and socket state 2025-09-19 19:43:35 +02:00
84c6d72faf fix: remove experimental TurboPack configuration from next.config.ts 2025-09-19 19:41:03 +02:00
0ee01bc313 fix: update Socket.IO connection to use dynamic host from environment variable 2025-09-19 19:40:18 +02:00
14b0a44117 feat: configure allowed development origins and experimental TurboPack settings 2025-09-19 19:39:55 +02:00
49b6f79545 feat: add logging for event API response and token management on page load 2025-09-19 19:38:51 +02:00
8fbaf158df fix: update Socket.IO connection URL to use specific IP address 2025-09-19 19:35:02 +02:00
ff0625ea76 feat: enhance estimated wait time display and handle token expiration in event page 2025-09-19 19:31:18 +02:00
9d1428fde0 fix: update estimated wait time calculation in queue updates 2025-09-19 19:22:15 +02:00
b0deea5311 feat: add event page with Socket.IO integration and ticket purchasing functionality 2025-09-19 19:17:25 +02:00
527a2586b7 feat: enhance queue management with logging and immediate access granting 2025-09-19 19:07:28 +02:00
d5a5fd2d64 docs: update README to enhance project overview and clarify Socket.IO implementation details 2025-09-19 19:03:57 +02:00
2c5461b0e0 Refactor socket handling and integrate database for event management
- Removed old socket handling code and replaced it with a new implementation in `app/api/socketio/route.js`.
- Added MySQL database integration for managing active sessions and queue entries.
- Implemented event retrieval and ticket purchasing APIs in `app/api/events/route.js` and `app/api/purchase/route.js`.
- Created database schema for events, tickets, active sessions, and orders in `database/schema.sql`.
- Updated front-end to handle event data fetching and ticket purchasing with improved UI components.
- Removed unused SVG files from the public directory.
2025-09-19 19:02:15 +02:00
cb326f7190 feat: implement Socket.IO server with queue management and update environment variables 2025-09-19 18:58:22 +02:00
741afb6e81 feat: remove Socket.IO server implementation from socket.js 2025-09-19 18:51:51 +02:00
ff81967a59 feat: refactor Socket.IO server implementation and update README for queue system 2025-09-19 18:51:28 +02:00
e60c801f4e feat: add initial Socket.IO queue server implementation
- Created a basic Socket.IO server that manages user connections and queues for events.
- Implemented queue logic to handle concurrent user limits and JWT token issuance.
- Added MySQL configuration for potential persistence of queue positions.
- Introduced environment variables for configuration through a .env.example file.
2025-09-19 18:49:12 +02:00
e11466d3db first commit 2025-09-19 18:39:35 +02:00
1cb080a580 Initial commit from Create Next App 2025-09-19 18:38:37 +02:00