Commit Graph

114 Commits

Author SHA1 Message Date
369c83d162 Actualiser .gitea/workflows/deploy.yml
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7m1s
2025-12-12 06:39:42 +01:00
Julien Froidefond
41234f0729 Update README and HeroSection components: Revise project description to reflect new branding as "Game of Tech - Peaksys" and enhance the HeroSection text to better convey the platform's gamification features and user engagement opportunities.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 25s
2025-12-11 15:01:30 +01:00
Julien Froidefond
2cfb9ad041 Enhance EventsPageSection and Navigation components: Add click functionality to select events and update logo section to be a clickable link, improving user interaction and navigation experience.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 11s
2025-12-11 14:57:20 +01:00
Julien Froidefond
bbdb7d6ad2 Update NEXTAUTH_URL in docker-compose.yml to support environment variable fallback, enhancing configuration flexibility.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 17s
2025-12-11 13:39:18 +01:00
Julien Froidefond
8c17ed44e3 Add label to Docker service: Disable Watchtower updates for the app service in docker-compose.yml to prevent automatic container updates during runtime.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 10s
2025-12-11 12:08:13 +01:00
Julien Froidefond
216f438b0a Update deployment workflow: Change NEXTAUTH_URL reference in deploy.yml from secrets to vars for improved consistency in environment variable management.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 15s
2025-12-11 11:13:48 +01:00
Julien Froidefond
9b40210b36 Update docker-compose.yml and deploy.yml: Modify volume path to use an environment variable for data persistence and update deployment workflow to reference secrets for environment variables, enhancing flexibility and security. 2025-12-11 11:11:44 +01:00
Julien Froidefond
8b1ed1b8b9 Remove --build flag from docker compose command in deploy.yml to streamline deployment process and avoid unnecessary image rebuilding.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 50s
2025-12-11 09:04:44 +01:00
Julien Froidefond
155d026284 Add environment variables to deployment workflow: Update deploy.yml to include necessary environment variables for Docker build, enhancing configuration for deployment.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-11 08:57:42 +01:00
Julien Froidefond
bd25738486 Update deployment workflow: Modify deploy.yml to include the --build flag in the docker compose up command, ensuring that images are rebuilt during deployment for the latest changes.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 9m16s
2025-12-11 07:55:16 +01:00
Julien Froidefond
23ca6345de Update Docker configuration and deployment workflow: Change volume path in docker-compose.yml to use an external USB drive for data persistence. Adjust deploy.yml to uncomment deployment triggers for clarity and streamline the deployment process.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7s
2025-12-11 07:53:57 +01:00
Julien Froidefond
93c6624aec Add login redirection for feedback actions: Ensure users are redirected to the login page if they attempt to provide feedback without being authenticated, enhancing user experience and security. 2025-12-11 07:45:46 +01:00
Julien Froidefond
6c08789555 Refactor HeroSection component: Remove mouse tracking functionality and simplify gradient background styling for improved performance and clarity. 2025-12-11 06:45:42 +01:00
Julien Froidefond
7dbd044859 Refactor UI components for improved responsiveness and consistency: Update styles in AdminPanel, EventManagement, FeedbackManagement, HeroSection, ImageSelector, LeaderboardSection, Navigation, PlayerStats, and UserManagement to enhance mobile and desktop layouts. Adjust text sizes, padding, and button styles for better user experience across devices. 2025-12-11 06:45:14 +01:00
Julien Froidefond
f0c9a9e4cc Update database connection path: Change DATABASE_URL in .env and related files to point to the new data directory for SQLite database. 2025-12-11 06:36:54 +01:00
Julien Froidefond
53e5e7de3c Update Docker configuration: Modify docker-compose.yml to change DATABASE_URL and volume paths for SQLite database. Refactor Dockerfile to streamline build process, set up entrypoint script, and ensure proper permissions. Update package.json to include built dependencies for Prisma. Adjust deploy.yml to comment out deployment triggers for clarity. 2025-12-10 15:45:48 +01:00
Julien Froidefond
1152389785 Rename 'app' service to 'got-app' in docker-compose.yml for clarity and consistency. Remove 'docker info' step from deploy.yml to streamline the deployment workflow.
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2m55s
2025-12-10 14:15:32 +01:00
Julien Froidefond
65c73688e7 Refactor deployment workflow: Remove 'docker compose build --no-cache' command from deploy.yml to simplify the deployment process and enhance efficiency.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m22s
2025-12-10 14:09:22 +01:00
Julien Froidefond
ae91ae5894 Refactor deployment workflow: Remove 'docker compose down' command from deploy.yml to streamline the deployment process and focus on building and starting the application.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 14:06:37 +01:00
Julien Froidefond
18d11d623a Update deployment workflow: Modify deploy.yml to include 'docker compose down' and 'docker compose build --no-cache' commands for improved deployment process and to ensure fresh builds. 2025-12-10 14:06:21 +01:00
Julien Froidefond
30dc84ccc0 Update deployment configuration: Change runner name in deploy.yml from 'Mac-mini-de-Julien.local' to 'mac-orbstack-runner' for consistency in workflow execution.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 14:02:34 +01:00
Julien Froidefond
378cf3d66a Update deployment configuration: Change runner name in deploy.yml from 'mac-orbstack-runner' to 'Mac-mini-de-Julien.local' for improved clarity and consistency in workflow execution.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 14:00:28 +01:00
Julien Froidefond
3c318e1763 Enhance feedback submission process: Update FeedbackModal to improve user experience for event feedback. Refactor event handling logic to better manage feedback state and streamline user interactions.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 13:59:11 +01:00
Julien Froidefond
9fde18a35e Add feedback functionality to EventsPageSection: Integrate FeedbackModal for event feedback submission, allowing users to provide feedback on selected events. Update event handling to manage feedback state and improve user interaction. 2025-12-10 12:06:30 +01:00
Julien Froidefond
80e9d953ae Remove unused import for calculateEventStatus in Events page component to streamline code and improve clarity. 2025-12-10 11:37:40 +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
44be5d2e98 Remove ESLint configuration file and update type imports across components: Deleted eslint.config.js to streamline project setup. Updated type imports in layout, login, register, and other components to use direct imports for improved clarity and consistency. Enhanced error handling in various components and replaced apostrophes with HTML entities for better rendering. 2025-12-10 06:01:34 +01:00
Julien Froidefond
13b8971cc7 Update ESLint configuration and dependencies: Change lint script in package.json to use eslint directly with TypeScript extensions. Add new ESLint dependencies including @eslint/js, @typescript-eslint/eslint-plugin, and @typescript-eslint/parser to enhance code quality and maintainability. Update pnpm-lock.yaml to reflect these changes and ensure consistent package management. 2025-12-10 06:00:04 +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
95e580aff6 Refactor event date handling in EventsSection and PlayerStats components: Serialize event dates for consistent formatting and update date display to use localized string representation. Remove profile link from Navigation and integrate it into PlayerStats for improved user experience. 2025-12-10 05:49:44 +01:00
Julien Froidefond
a6c329ff15 Update event types in EventManagement and EventsPageSection components: Replace existing event types with new categories (ATELIER, KATA, PRESENTATION, LEARNING_HOUR) to better reflect current offerings. Adjust related functions and seed data to ensure consistency across the application. 2025-12-10 05:48:23 +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
fb830c6fcc Refactor date handling in EventsPageSection: Update getFirstDayOfMonth function to correctly convert UTC day of the week for improved calendar display. Simplify month navigation logic by directly using UTC date methods, enhancing clarity and functionality in event date management. 2025-12-10 05:37:42 +01:00
Julien Froidefond
56de7d6b01 Add upcoming events to seed data: Introduce new workshops on monoids, naming processes, rule design patterns, and wrap refactoring techniques, enhancing the event catalog for better user engagement and learning opportunities. 2025-12-10 05:35:47 +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
fb5c8c1466 Refactor event registration logic in EventsPageSection: Introduce useRef to track initial data usage, preventing unnecessary API calls when user session changes. Update loading and error handling to enhance user experience during event registration. 2025-12-09 22:18:31 +01:00
Julien Froidefond
b643e283fa Enhance event registration handling: Integrate server-side session management to fetch user registrations for upcoming events, preventing flicker on load. Update EventsPageSection to accept initial registration data, improving user experience by pre-populating registration states. 2025-12-09 22:18:01 +01:00
Julien Froidefond
e6201120b9 Add user seeding functionality and enhance user profiles: Update prisma.config to include seed script and modify seed.ts to add new users with character classes, avatars, and bios, enriching user profiles and gameplay experience. 2025-12-09 22:15:58 +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
5ae6cde14e Enhance HeroSection component: Implement mouse-following gradient effect for the game title, improving visual interactivity. Update CSS for better font formatting and add a new title animation class for enhanced text styling. 2025-12-09 14:40:02 +01:00
Julien Froidefond
6dc08dc818 Refactor HeroSection component: Remove particle and orb animations to simplify the code and improve performance. Streamline the component structure while maintaining the existing background image functionality. 2025-12-09 14:32:45 +01:00
Julien Froidefond
b8f4672206 Refactor ProfileForm component: Improve code readability by formatting error messages and UI elements. Add default avatar selection feature for user profile customization, enhancing user experience. Update button labels for clarity during avatar upload and password modification. 2025-12-09 14:26:13 +01:00