Commit Graph

23 Commits

Author SHA1 Message Date
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