45 Commits

Author SHA1 Message Date
Christian Krakau-Louis c2b69db2e5 Docs: extend roadmap with themed releases
Update roadmap doc with themed feature landscape and versioned release plan aligned to GitHub milestones and roadmap epics.
2026-05-23 02:30:58 +02:00
Christian Krakau-Louis ef27df74f2 Merge pull request #143 from christianlouis/codex/multi-league-foundation
[codex] Add multi-league foundation
2026-05-22 20:49:36 +02:00
Christian Krakau-Louis 15e1dc227b Add multi-league foundation 2026-05-22 20:47:28 +02:00
Christian Krakau-Louis e032994628 Fix template response compatibility 2026-05-22 15:39:33 +02:00
Christian Krakau-Louis 376d0b822d feat: Enhance admin dashboard layout and add model management link 2025-04-19 09:19:54 +02:00
Christian Krakau-Louis a7d0528725 fix: Add await keyword to database initialization for proper async handling 2025-04-18 15:49:38 +02:00
Christian Krakau-Louis 199c5b1386 Merge pull request #142 from christianlouis/spam-template-prevention
Enhance email templates and add plain text support for improved deliverability
2025-04-18 09:52:42 +02:00
Christian Krakau-Louis 828719b318 feat: Enhance email templates and add plain text support for improved deliverability 2025-04-17 22:22:09 +02:00
Christian Krakau-Louis 6753444daf Merge pull request #140 from christianlouis/51-profile-management
51 profile management
2025-04-17 13:04:18 +02:00
Christian Krakau-Louis 389c96dda5 Merge pull request #139 from christianlouis/christianlouis/issue51
Add account deletion confirmation, privacy settings, and profile view templates
2025-04-16 21:47:35 +02:00
Christian Krakau-Louis 6c260c5936 Add account deletion confirmation page, privacy settings template, and profile view template
- Created a new HTML template for account deletion confirmation with user-friendly messaging and a return link.
- Developed a privacy settings page allowing users to control visibility of their personal information with appropriate messaging for success and error states.
- Implemented a profile view template displaying user information, statistics, teams, and achievements based on user permissions.
- Added responsive design elements and improved user interface with Tailwind CSS classes for better aesthetics and usability.
2025-04-16 21:45:33 +02:00
Christian Krakau-Louis 9815a1a3e0 feat: Add script for automated GitHub issue creation with environment variable validation and issue management 2025-04-16 15:39:21 +02:00
Christian Krakau-Louis 55d767a84a Merge pull request #6 from christianlouis/setup
Implement initial setup functionality with admin elevation
2025-04-16 14:24:15 +02:00
Christian Krakau-Louis d48c16119a feat: Enhance admin dashboard with user, team, and event statistics, and system health monitoring 2025-04-16 14:23:40 +02:00
Christian Krakau-Louis 61a0a0a6a6 feat: Implement initial setup functionality with admin elevation and system settings management 2025-04-16 11:29:52 +02:00
Christian Krakau-Louis 254853f08e feat: Add GitHub Actions workflow for deployment on main repository 2025-04-15 18:02:10 +02:00
Christian Krakau-Louis 38f6deade8 fix: Correct order of database initialization steps in init_db function 2025-04-15 17:52:08 +02:00
Christian Krakau-Louis 210249ea6f fix: Simplify token exchange in NetIDOAuth by removing unnecessary parameters 2025-04-15 17:07:38 +02:00
Christian Krakau-Louis 2e0e3521d6 Merge pull request #5 from christianlouis/AuthenticationMiddleware
Authentication middleware
2025-04-15 16:18:58 +02:00
Christian Krakau-Louis ee30b88f91 feat: Enhance NetID OAuth integration with token validation and configuration options 2025-04-15 16:17:29 +02:00
Christian Krakau-Louis 6d796c95ff feat: Add NetID OAuth provider integration and update login UI
- Implemented NetID OAuth provider in app/auth/oauth.py
- Added styles for NetID login button in app/static/css/styles.css
- Updated login.html to include NetID login option with custom button
- Modified docker-compose.yml to include NetID client credentials
- Enhanced social login setup documentation to include NetID instructions
- Created demo environment configuration file (.env.demo) for easier setup
- Updated .env.template to include NetID configuration options
- Added comprehensive README.md with project features and setup instructions
2025-04-15 14:28:14 +02:00
Christian Krakau-Louis 47cac0cb9a Merge pull request #4 from christianlouis/AuthenticationMiddleware
Add comprehensive documentation for LeagueLedger
2025-04-15 12:36:16 +02:00
Christian Krakau-Louis 6306abf6d9 Add comprehensive documentation for LeagueLedger
- Created architecture overview in development/architecture.md
- Added installation guide in getting-started/installation.md
- Developed user guide with detailed instructions in user-guide/overview.md, user-guide/teams.md, user-guide/qr-codes.md
- Implemented social login setup documentation in social_login_setup.md
- Updated index.md to include links to new documentation sections
- Configured mkdocs.yml for site structure and theme
- Added requirements.txt for documentation dependencies
2025-04-15 12:32:03 +02:00
Christian Krakau-Louis 7323c12168 Implement team join request functionality with views and actions
- Added join_requests.html template for displaying pending join requests.
- Created join_team.html template for users to submit join requests.
- Implemented request_processed.html template to show the result of join request processing.
- Developed authentication utilities for user session management.
- Introduced convenience redirects for common URL patterns.
- Established team management routes and actions for creating, editing, and joining teams.
- Added functionality for approving and denying join requests with email notifications.
- Enhanced team views to include user permissions and team member details.
- Implemented utility functions for team-related operations such as calculating total points and team rank.
2025-04-14 17:00:57 +02:00
Christian Krakau-Louis 5cf3f944b1 feat: Implement email functionality with FastAPI-Mail and Mailhog
- Updated docker-compose.yml to include Mailhog service for email testing.
- Added environment variables for email configuration in docker-compose.
- Updated requirements.txt to include fastapi-mail for email support.
- Created templates for password reset, email verification, and welcome emails.
- Developed mail utility module to handle sending emails using FastAPI-Mail.
- Added documentation for email testing with Mailhog.
2025-04-14 07:23:16 +02:00
Christian Krakau-Louis 583f5aac42 Enhance user experience by implementing password change functionality, adding validation for password strength and matching, and improving error messaging in the change password form. 2025-04-14 06:14:35 +02:00
Christian Krakau-Louis e952630295 Update redirect paths and enhance user context in templates and views 2025-04-14 05:54:21 +02:00
Christian Krakau-Louis 690065f788 Implement OAuth login with Authentik integration, update user management, and enhance team functionalities
- Added OAuth login functionality using Authentik, allowing users to log in via OpenID.
- Updated user registration and login processes to handle OAuth users.
- Enhanced team management features, including joining and leaving teams, and displaying user-specific team information.
- Improved error handling and user feedback for team actions.
- Added new database migrations for OAuth-related fields in the users table.
- Updated templates to reflect changes in user authentication and team management.
- Refactored dashboard and leaderboard views to include user context and team memberships.
2025-04-14 05:35:51 +02:00
Christian Krakau-Louis fa41b24eac Fix typo in Docker image tag for GitHub Container Registry 2025-04-14 03:39:15 +02:00
Christian Krakau-Louis ec467f33b8 Add GitHub Actions workflows for Docker image build and CI 2025-04-14 03:32:58 +02:00
Christian Krakau-Louis 346064ecc7 Merge branch 'main' of https://github.com/christianlouis/LeagueLedger 2025-04-14 03:27:28 +02:00
Christian Krakau-Louis 2af9cd17ea Refactor translation handling and remove unused language support in templates 2025-04-14 03:27:24 +02:00
Christian Krakau-Louis f1322c88b4 Merge pull request #2 from christianlouis/dependabot/pip/app/python-multipart-0.0.18
Bump python-multipart from 0.0.5 to 0.0.18 in /app
2025-04-14 03:25:16 +02:00
Christian Krakau-Louis d72f40f4a8 Merge pull request #1 from christianlouis/dependabot/pip/app/jinja2-3.1.6
Bump jinja2 from 3.1.2 to 3.1.6 in /app
2025-04-14 03:25:03 +02:00
Christian Krakau-Louis 31fbc549c6 Merge branch 'main' into dependabot/pip/app/python-multipart-0.0.18 2025-04-14 03:24:49 +02:00
Christian Krakau-Louis 2b2fe94adb Merge pull request #3 from christianlouis/dependabot/pip/app/pydantic-1.10.13
Bump pydantic from 1.10.2 to 1.10.13 in /app
2025-04-14 03:24:17 +02:00
dependabot[bot] 9de45b98c4 Bump pydantic from 1.10.2 to 1.10.13 in /app
Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.2 to 1.10.13.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.2...v1.10.13)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 1.10.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 01:20:47 +00:00
dependabot[bot] be16576e71 Bump python-multipart from 0.0.5 to 0.0.18 in /app
Bumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.5 to 0.0.18.
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.5...0.0.18)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-version: 0.0.18
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 01:20:40 +00:00
dependabot[bot] 071ff92cad Bump jinja2 from 3.1.2 to 3.1.6 in /app
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 01:20:38 +00:00
Christian Krakau-Louis d595b468e9 Add Impressum and QR code management templates
- Created a new Impressum page with legal information and contact details.
- Developed admin link page for linking QR codes to events with form functionality.
- Implemented QR code dashboard for managing QR code sets, including creation and quick actions.
- Added detailed view for QR code sets, allowing addition of QR codes and management actions.
- Introduced static file serving for favicon and related images.
- Established views for static content pages (about, contact, privacy, terms).
- Implemented translation management scripts for compiling and updating translations.
2025-04-14 03:19:41 +02:00
Christian Krakau-Louis 9eef726d9b Refactor authentication and session management
- Removed session-based user retrieval from dependencies.py and main.py.
- Eliminated SessionMiddleware and related session handling code.
- Updated dashboard and team views to directly query user data from the database.
- Simplified redeem and team management views to remove authentication checks.
- Adjusted templates to reflect changes in user context handling.
- Added camera selection feature in scan_qr.html for improved QR code scanning.
- Cleaned up Docker configuration and requirements for better deployment.
2025-04-13 21:43:24 +02:00
Christian Krakau-Louis 9a0479cb37 Refactor authentication and session management
- Updated Dockerfile to use Python 3.13 and streamline system dependencies installation.
- Enhanced user session handling in auth.py, introducing a centralized method for retrieving the current user from the session.
- Removed deprecated auth routes and consolidated logic for user authentication and profile management.
- Improved error handling and user feedback in redeem.py and teams.py, ensuring users are redirected to login when not authenticated.
- Updated requirements.txt to include necessary packages for enhanced security and functionality.
- Added phpMyAdmin service to docker-compose for easier database management.
2025-04-13 19:26:26 +02:00
Christian Krakau-Louis 4a79c5cacb Refactor user authentication and dashboard features
- Added `is_admin` field to User model for role management.
- Updated user context middleware to include current user in templates.
- Enhanced session management with improved debug middleware.
- Refactored dashboard view to fetch user-specific data and recent events.
- Improved login and registration templates for better user experience.
- Added admin routes with access control for admin users.
- Updated Docker configuration for better error logging and dependency management.
- Updated requirements to include new dependencies and specify versions.
2025-04-13 18:49:27 +02:00
Christian Krakau-Louis 0de2eb5830 Implement user authentication and management system with FastAPI
- Added authentication routes for login, registration, password reset, and account deletion in `auth.py`.
- Implemented user profile management, including updating user information and changing passwords.
- Created dashboard views to display user-specific information and recent activity in `dashboard.py`.
- Developed leaderboard views to show team rankings and points in `leaderboard.py`.
- Added QR code generation and redemption functionality in `qr.py` and `redeem.py`.
- Implemented team management features, allowing users to create and join teams in `teams.py`.
- Introduced session debugging utility to assist with session-related issues in `debug_session.py`.
- Configured Docker Compose for MySQL database and FastAPI application with environment variables.
- Updated requirements.txt to include necessary dependencies for the application.
2025-04-11 17:46:59 +02:00
Christian Krakau-Louis 90bef433fd Initial commit 2025-04-11 04:11:33 +02:00