feat: Major updates to backend structure and security enhancements
- Removed `COMMON_ERRORS.md` file to streamline documentation. - Added `Flask-Limiter` for rate limiting and `redis` for session management in `requirements.txt`. - Expanded `ROADMAP.md` to include completed security features and planned enhancements for version 2.2. - Enhanced `setup_myp.sh` for ultra-secure kiosk installation, including system hardening and security configurations. - Updated `app.py` to integrate CSRF protection and improved logging setup. - Refactored user model to include username and active status for better user management. - Improved job scheduler with uptime tracking and task management features. - Updated various templates for a more cohesive user interface and experience.
This commit is contained in:
27
backend/app/package.json
Normal file
27
backend/app/package.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "myp-platform",
|
||||
"version": "3.0.0",
|
||||
"description": "MYP Platform - 3D-Drucker Reservierungssystem mit TP-Link Tapo Steuerung",
|
||||
"main": "app.py",
|
||||
"scripts": {
|
||||
"build:css": "npx tailwindcss -i ./static/css/input.css -o ./static/css/tailwind.min.css --minify",
|
||||
"watch:css": "npx tailwindcss -i ./static/css/input.css -o ./static/css/tailwind.min.css --watch",
|
||||
"start": "python3.11 app.py"
|
||||
},
|
||||
"keywords": [
|
||||
"flask",
|
||||
"python",
|
||||
"tp-link",
|
||||
"tapo",
|
||||
"3d-printer",
|
||||
"smart-plug"
|
||||
],
|
||||
"author": "Mercedes-Benz",
|
||||
"license": "UNLICENSED",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.16",
|
||||
"postcss": "^8.4.32",
|
||||
"tailwindcss": "^3.3.6"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user