Commit graph

19 commits

Author SHA1 Message Date
nocci
d86a5f1a99 ♻️ refactor(template): improve variable naming in server form
- rename variable t to type_value for better clarity and readability
2025-12-06 14:10:23 +00:00
nocci
3c2c853fc7 feat(registration): add self-registration configuration option
- introduce ALLOW_SELF_REGISTRATION environment variable
- update .env-example and docker-compose.yml to include new setting
- modify registration logic to respect self-registration configuration

📝 docs(README): document self-registration configuration

- add description of ALLOW_SELF_REGISTRATION setting in README
- explain default value and its impact on user registration process
2025-12-06 14:07:21 +00:00
nocci
56f98e3597 🌐 i18n(app): relocate locale middleware for improved organization
- move add_locale_to_request middleware above session middleware
- enhance code readability and maintainability by organizing middleware setup
2025-12-06 14:03:56 +00:00
nocci
21d7c1e9a6 🐛 fix(i18n): handle missing session in locale resolution
- add exception handling to manage cases where session is not in request scope
2025-12-06 14:01:30 +00:00
nocci
cc7c75ba33 🌐 i18n(i18n): add multilingual support with translations
- create i18n.py for managing translations and resolving locale
- add German and English translations for various UI components
- integrate translation functions into templates for dynamic language support
2025-12-06 13:58:46 +00:00
nocci
1aafd6d5a3 🔧 chore(docker): update docker-compose for encryption key
- modify ENCRYPTION_KEY to use environment variable for flexibility
- ensure default configuration retains security settings
2025-12-06 13:43:10 +00:00
nocci
a6fc088599 ♻️ refactor(utils): enhance encryption key handling
- add base64 and hashlib imports for key derivation
- improve key validation to accept passphrase or full key
- handle exceptions during Fernet key creation for robustness
2025-12-06 13:39:03 +00:00
nocci
b942a752b6 💄 style(html): enhance logo link accessibility
- convert logo container to anchor tag for improved usability
- add hover effect to logo link for better user experience
2025-12-06 13:36:16 +00:00
nocci
cef7e94fa1 feat(templates): add edit action column to servers list
- add a new "Aktion" column to the servers list table
- include an edit link for each server entry for easy access
2025-12-06 13:34:12 +00:00
nocci
05cdb0494a 📦 build(requirements): update dependencies versions
- pin passlib[bcrypt] to version 1.7.4
- add bcrypt with version 4.0.1
- rearrange itsdangerous for consistency
2025-12-06 13:26:58 +00:00
nocci
9512d6cb46 ♻️ refactor(auth): remove bcrypt password length limitation
- switch from bcrypt to bcrypt_sha256 to allow longer passwords
- remove password_too_long function and related checks

📦 build(requirements): update bcrypt package version

- add bcrypt==4.0.1 to requirements.txt for compatibility with bcrypt_sha256
2025-12-06 13:25:18 +00:00
nocci
1b673f2cdf feat(auth): add password length validation
- introduce password_too_long function to check bcrypt's 72-byte limit
- update registration and login to handle passwords exceeding limit
2025-12-06 13:20:06 +00:00
nocci
8f17f9bf8d 🐛 fix(session): correct middleware configuration parameter
- rename cookie_name to session_cookie to match correct FastAPI middleware parameter
- ensure session management functions as expected
2025-12-06 13:18:13 +00:00
nocci
036749ef07 feat(dependencies): add itsdangerous to requirements
- include itsdangerous library for enhanced security features
2025-12-06 13:16:07 +00:00
nocci
d7e95c5580 🔧 chore(env): update database path in environment files
- change DATABASE_PATH in .env-example and docker-compose.yml
- ensure consistency with Dockerfile for app directory structure

📦 build(docker): adjust Dockerfile for new data directory

- create /app/data directory for database storage
- update DATABASE_PATH environment variable accordingly

📝 docs(README): update README for German localization

- replace English sections with German equivalents
- adjust setup instructions to match new environment configurations
2025-12-06 12:08:20 +00:00
nocci
ea06f16407 🔧 chore(repo): restructure project file hierarchy
- move project files out of fleetledger directory to root
- update .gitignore to reflect new .env path

📝 docs(README): add detailed project description

- provide an overview of FleetLedger's features and usage
- include setup instructions and security notes
2025-12-06 11:56:16 +00:00
nocci
f113a760af test 2025-12-06 11:52:55 +00:00
nocci
b9cfefa3a9 feat(fleetledger): add initial implementation of FleetLedger app
- introduce Dockerfile for Python environment setup
- create FastAPI app with authentication and user management
- implement server management features with CRUD operations
- add PWA support with service worker and manifest
- set up initial templates for UI components

📝 docs(fleetledger): add README for FleetLedger application

- describe app features and functionalities
- provide security notes and quick start guide

📦 build(fleetledger): configure Docker and docker-compose setup

- define Dockerfile for application container
- create docker-compose.yml for service orchestration
- specify environment variables and volumes for persistence
2025-12-06 11:40:51 +00:00
nocci
0151bf19f6 first commit 2025-12-06 11:15:29 +00:00