Commit Graph

21 Commits

Author SHA1 Message Date
Julien Froidefond
ae08ed7793 Enhance image upload and background management: Update Docker configuration to create a dedicated backgrounds directory for uploaded images, modify API routes to handle background images specifically, and improve README documentation to reflect these changes. Additionally, refactor components to utilize the new Avatar component for consistent avatar rendering across the application.
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 33s
2025-12-12 08:46:31 +01:00
Julien Froidefond
6f98013382 Refactor bio update logic in profile route: Adjust bio assignment to handle null values correctly, ensuring proper trimming and assignment of user bio data.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-12 08:11:51 +01:00
Julien Froidefond
d11059dac2 Refactor ESLint configuration and update code formatting: Standardize quotes in eslint.config.mjs, next.config.js, and various TypeScript files for consistency. Add Prettier as a dependency and include formatting scripts in package.json. Clean up unnecessary whitespace in multiple files to enhance code readability. 2025-12-10 11:30:00 +01:00
Julien Froidefond
66237458ec Update Next.js configuration and enhance dynamic rendering: Set output to 'standalone' in next.config.js for improved deployment. Implement 'force-dynamic' rendering in multiple pages (Home, Admin, Events, Leaderboard) to ensure fresh data retrieval on each request. 2025-12-10 11:26:11 +01:00
Julien Froidefond
3bd43e777e Implement event feedback functionality: Add EventFeedback model to Prisma schema, enabling users to submit ratings and comments for events. Update EventsPageSection and AdminPanel components to support feedback management, including UI for submitting feedback and viewing existing feedbacks. Refactor registration logic to retrieve all user registrations for improved feedback handling. 2025-12-10 06:11:32 +01:00
Julien Froidefond
88d377e7b2 Add user deletion functionality: Implement DELETE API endpoint for user management, allowing admins to remove users while preventing self-deletion. Enhance UserManagement component with delete confirmation and error handling for improved user experience. 2025-12-10 05:55:52 +01:00
Julien Froidefond
125e9b345d Enhance user registration and profile management: Update registration API to include bio, character class, and avatar fields. Implement validation for character class and improve error messages. Refactor registration page to support multi-step form with avatar upload and additional profile customization options, enhancing user experience during account creation. 2025-12-10 05:54:06 +01:00
Julien Froidefond
a69613a232 Refactor event status handling: Remove EventStatus enum from the Prisma schema and update related API routes and UI components to calculate event status dynamically based on event date. This change simplifies event management and enhances data integrity by ensuring status is always derived from the date. 2025-12-10 05:45:25 +01:00
Julien Froidefond
1b07fe8ae5 Refactor event date handling: Update event model to use DateTime type for date fields in Prisma schema. Modify API routes and UI components to ensure consistent date formatting and handling, improving data integrity and user experience across event management and display. 2025-12-10 05:32:23 +01:00
Julien Froidefond
fdd860c456 Enhance event model and management: Add new fields for room, time, and maxPlaces to the Event model in Prisma schema. Update API routes and UI components to support these fields, improving event details and user interaction in event management and registration processes. 2025-12-10 05:27:35 +01:00
Julien Froidefond
0ac6dbd423 Add character selection modal to Leaderboard: Implement a modal for displaying detailed user profiles when a leaderboard entry is clicked. This includes user avatar, rank, character class, score, level, and bio, enhancing user interaction and profile visibility. 2025-12-09 22:11:47 +01:00
Julien Froidefond
b245be3bf4 Enhance user profiles with character class feature: Add character class field to user model and update related API routes, UI components, and validation logic. This update improves user profile customization and leaderboard entries by allowing users to select and display their character class. 2025-12-09 22:03:51 +01:00
Julien Froidefond
3a0dd57bb6 Add bio field to user model and update related components: Enhance leaderboard and profile features by including a bio field in user data. Update API routes, UI components, and validation logic to support bio input and display, improving user profiles and leaderboard entries. 2025-12-09 22:00:19 +01:00
Julien Froidefond
16b0437ecb Refactor event fetching and display: Change event retrieval order to descending by date, enhance event data structure to include registration counts, and update UI components to reflect these changes for better user experience. 2025-12-09 21:55:42 +01:00
Julien Froidefond
50a2eaf109 Implement event registration functionality: Add EventRegistration model to Prisma schema, enabling user event registrations. Enhance EventsPageSection component with registration checks, calendar view, and improved event display. Refactor event rendering logic to separate upcoming and past events, improving user experience. 2025-12-09 21:53:10 +01:00
Julien Froidefond
b1f36f6210 Enhance Admin and Profile UI: Update admin page to display user preferences with improved layout and visuals. Add password change functionality to profile page, including form handling and validation. Refactor ImageSelector for better image preview and upload experience. 2025-12-09 14:02:27 +01:00
Julien Froidefond
447ef9d076 Add profile link to Navigation component for user access, enhancing navigation options. 2025-12-09 12:46:29 +01:00
Julien Froidefond
82c557e10c Add Event Management section to admin page, allowing users to manage events alongside preferences and user management. Updated UI to include event button and corresponding display area. 2025-12-09 08:49:47 +01:00
Julien Froidefond
4de3fea776 Add User Management component to admin page, replacing placeholder text with functional UI for user management. 2025-12-09 08:48:08 +01:00
Julien Froidefond
8c326bdd20 Refactor admin preferences management to use global site preferences, update UI components for better user experience, and implement image selection for background settings. 2025-12-09 08:37:52 +01:00
Julien Froidefond
4486f305f2 Add database and Prisma configurations, enhance event and leaderboard components with API integration, and update navigation for session management 2025-12-09 08:24:14 +01:00