Julien Froidefond julienfroidefond
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-19 09:04:36 +01:00
a062f5573b Refactor Dockerfile to improve DATABASE_URL handling and enhance entrypoint script: Introduce ARG for DATABASE_URL during build, streamline migration commands, and add error handling for migration failures in the entrypoint script.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-19 09:00:42 +01:00
6e7c5d3eaf Update Dockerfile to include prisma.config.ts and streamline entrypoint script: Add copying of prisma.config.ts for Prisma 7 compatibility and remove unnecessary migration checks from the entrypoint script for improved clarity.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-19 08:58:52 +01:00
5dc178543e Update entrypoint script in Dockerfile and remove DATABASE_URL reference from schema.prisma: Modify entrypoint to check for prisma.config.ts instead of schema.prisma, and streamline migration command. Remove DATABASE_URL environment variable usage from schema.prisma for improved clarity.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-19 08:47:10 +01:00
881b8149e5 Refactor Dockerfile and schema.prisma for improved migration handling: Remove migration checks during build, enhance entrypoint script to validate DATABASE_URL and schema.prisma presence, and update schema.prisma to use environment variable for database URL.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-19 08:40:23 +01:00
d6a1e21e9f Update Docker configuration for Prisma migrations: Comment out migrations volume in docker-compose.yml for production use, and add checks in Dockerfile to verify the presence of migrations during build and entrypoint execution.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-18 09:16:18 +01:00
0b56d625ec Enhance HouseManagement and HousesPage components: Introduce invitation management features, including fetching and displaying pending invitations. Refactor data handling and UI updates for improved user experience and maintainability. Optimize state management with useCallback and useEffect for better performance.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-18 08:50:22 +01:00
f5dab3cb95 Refactor HousesPage and HouseManagement components: Introduce TypeScript types for house and invitation data structures to enhance type safety. Update data serialization logic for improved clarity and maintainability. Refactor UI components for better readability and consistency, including adjustments to conditional rendering and styling in HouseManagement. Optimize fetch logic in HousesSection with useCallback for performance improvements.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-18 08:48:37 +01:00
1b82bd9ee6 Implement house points system: Add houseJoinPoints, houseLeavePoints, and houseCreatePoints to SitePreferences model and update related services. Enhance house management features to award and deduct points for house creation, membership removal, and leaving a house. Update environment configuration for PostgreSQL and adjust UI components to reflect new functionalities.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-18 08:15:40 +01:00
12bc44e3ac Enhance UI consistency in House components: Replace SectionTitle with styled headings in HouseCard, HouseManagement, and HousesSection for improved visual hierarchy and readability. Update styles for better alignment and user experience.
4a415f79e0 Enhance UI consistency across multiple components: Update SectionTitle sizes and margins in StyleGuidePage, AdminPanel, ChallengesSection, HousesSection, LeaderboardSection, and ProfileForm. Add descriptive subtitles and additional text for improved user guidance.
Compare 2 commits »
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-18 08:09:21 +01:00
a62e61a314 Refactor event management and UI components: Update date handling in EventManagement to format dates for input, enhance EventsSection to display a message when no events are available, and improve styling in multiple components for better layout consistency.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 15:34:41 +01:00
91460930a4 Refactor Prisma logging and connection settings: Remove sensitive connection URL logging for security, and simplify logging configuration to only capture errors in the Prisma client setup.
fdedc1cf65 Update Dockerfile to enhance Prisma setup: Create migrations directory and copy schema.prisma along with migrations from builder, ensuring proper ownership for Next.js user.
Compare 2 commits »
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 13:40:27 +01:00
4fcf34c9aa Update background image positioning in multiple components: Change background image class from 'absolute' to 'fixed' in AdminPage, ChallengesSection, and BackgroundSection for improved layout consistency.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 13:36:04 +01:00
85ee812ab1 Add house leaderboard feature: Integrate house leaderboard functionality in LeaderboardPage and LeaderboardSection components. Update userStatsService to fetch house leaderboard data, and enhance UI to display house rankings, scores, and member details. Update Prisma schema to include house-related models and relationships, and seed database with initial house data.
cb02b494f4 Update environment configuration for PostgreSQL: Add new environment variables for NextAuth and PostgreSQL settings in .env file, update docker-compose.yml to utilize these variables, and enhance README documentation for environment setup. Ensure DATABASE_URL is constructed dynamically if not defined.
Compare 2 commits »
julienfroidefond pushed to main at julienfroidefond/peakskills 2025-12-17 12:56:01 +01:00
7852dad403 chore: format spacing in docker-compose.yml for improved readability
julienfroidefond pushed to main at julienfroidefond/peakskills 2025-12-17 12:53:00 +01:00
0742aae92f chore: update docker-compose.yml to allow dynamic initialization SQL file path
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 12:38:30 +01:00
2c7a346cde Remove scripts directory copy from Dockerfile to streamline build process and eliminate unnecessary files.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 12:29:20 +01:00
5875813f2f Refactor Docker configuration for PostgreSQL migration: Remove SQLite volume from docker-compose.yml, update Dockerfile to eliminate SQLite dependencies, and adjust README files to reflect PostgreSQL setup. Delete migration script and related documentation as part of the transition to PostgreSQL.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 11:56:10 +01:00
20c3043572 Update deploy workflow to include PostgreSQL data path: Add POSTGRES_DATA_PATH environment variable to the deployment configuration for improved database management.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 11:44:05 +01:00
8ad09ab9c8 Implement PostgreSQL support and update database configuration: Migrate from SQLite to PostgreSQL by updating the Prisma schema, Docker configuration, and environment variables. Add PostgreSQL dependencies and adjust the database connection logic in the application. Enhance .gitignore to exclude PostgreSQL-related files and directories.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-17 10:45:15 +01:00
1f59cc7f9d Enhance challenge management and badge components: Implement event dispatch for refreshing challenge badges after various actions (acceptance, rejection, deletion, cancellation) in ChallengeManagement and ChallengesSection. Update ChallengeBadge to listen for refresh events, ensuring accurate challenge count display and improved user experience.