Commit graph

9 commits

Author SHA1 Message Date
nocci
d0622ae361 🌐 i18n(translation): add archive-related translations
- add new translation keys for archive feature in both German and English

 feat(server): implement archived servers feature

- create endpoints for listing and restoring archived servers
- add HTML template for displaying archived servers
- update navigation to include archived servers link
2025-12-06 14:32:23 +00:00
nocci
5b676d2a2c feat(forms): add parsing and validation for price, RAM, and storage
- introduce parsing helpers for decimal, RAM, and storage values
- convert form input types from number to text for flexibility
- parse RAM and storage with optional units for better user input handling
2025-12-06 14:16:39 +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
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
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
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
Renamed from fleetledger/app/main.py (Browse further)