Commit Graph

11 Commits

Author SHA1 Message Date
Quality System Admin
50c791e242 cleaning structure 2025-10-16 01:42:59 +03:00
Quality System Admin
d264bcdca9 feat: Major system improvements and production deployment
 New Features:
- Added view_orders route with proper table display
- Implemented CSV upload with preview workflow and date parsing
- Added production WSGI server configuration with Gunicorn
- Created comprehensive production management scripts

🔧 Bug Fixes:
- Fixed upload_data route column mapping for actual CSV structure
- Resolved print module database queries and template rendering
- Fixed view orders navigation routing (was pointing to JSON API)
- Corrected barcode display width constraints in print module
- Added proper date format parsing for MySQL compatibility

🎨 UI/UX Improvements:
- Updated view_orders template with theme-compliant styling
- Hidden barcode text in print module preview for cleaner display
- Enhanced CSV upload with two-step preview-then-save workflow
- Improved error handling and debugging throughout upload process

🚀 Production Infrastructure:
- Added Gunicorn WSGI server with proper configuration
- Created systemd service for production deployment
- Implemented production management scripts (start/stop/status)
- Added comprehensive logging setup
- Updated requirements.txt with production dependencies

📊 Database & Data:
- Enhanced order_for_labels table compatibility
- Fixed column mappings for real CSV data structure
- Added proper date parsing and validation
- Improved error handling with detailed debugging

🔧 Technical Debt:
- Reorganized database setup documentation
- Added proper error handling throughout upload workflow
- Enhanced debugging capabilities for troubleshooting
- Improved code organization and documentation
2025-10-11 23:31:32 +03:00
Quality System Admin
af62fa478f feat: Implement comprehensive database setup system
- Add complete database setup script (setup_complete_database.py)
- Add quick deployment script (quick_deploy.sh)
- Add comprehensive documentation (DATABASE_SETUP_README.md)
- Move individual db scripts to backup_db_scripts folder
- Update external_server.conf with correct database settings
- Clean up obsolete documentation files
- Streamline deployment process to single command

Features:
- One-script database creation for all tables and triggers
- Automated permissions and roles setup
- Complete verification and error handling
- Production-ready deployment workflow
- Maintains backward compatibility with individual scripts
2025-10-11 21:45:37 +03:00
b0e17b69e7 lets add settings new to css 2025-10-09 00:34:52 +03:00
scheianu ionut
a8811b94b7 Major updates: Setup environment, database, permissions and admin access
- Created virtual environment and installed requirements
- Set up MariaDB database with user 'sa' and database 'recticel'
- Created order_for_labels table for printing functionality
- Implemented role-based permissions system with admin role
- Added admin access to print label modules and etichete functionality
- Fixed template routing issues in main_page_etichete.html
- Updated app to run on port 8781 with network access (0.0.0.0)
- Added systemd service file for background deployment
- Created installation documentation
2025-10-07 22:07:06 +03:00
957c8eca4d moved to test environment 2025-10-05 14:32:47 -04:00
7dc688d972 it prints 2025-10-02 02:00:40 +03:00
9fc32adb23 Role management, login logic, and debug improvements. MariaDB login now uses correct syntax. 2025-09-11 22:30:52 +03:00
1d6eadf540 correct update to the database and database created for scan 2025-04-22 16:12:17 +03:00
fc355333cb added external server settings save to the settings page 2025-04-17 13:42:46 +03:00
d3b29052e8 created user settings in the settings page 2025-04-17 10:00:46 +03:00