108 Commits

Author SHA1 Message Date
Quality System Admin
3059bf8443 updated 2025-11-03 22:16:52 +02:00
Quality System Admin
3b000672da updated app 2025-11-03 19:51:23 +02:00
Quality System Admin
d6beaf2ebd updated logs 2025-11-02 09:05:27 +02:00
Quality System Admin
dc1f23c26b updated to see help page 2025-10-27 21:32:10 +02:00
Quality System Admin
d8e6dd1c78 aded folde for MD files 2025-10-27 20:27:41 +02:00
Quality System Admin
a960285d59 updated view in label preview 2025-10-27 20:25:31 +02:00
Quality System Admin
d142129de6 updated structure in the table view 2025-10-26 19:30:12 +02:00
Quality System Admin
8cbede35d2 saved the new production order structure 2025-10-26 19:29:52 +02:00
Quality System Admin
87469ecb8e starting daily mirror 2025-10-25 02:15:54 +03:00
Quality System Admin
1afd09b88b updated settings page 2025-10-22 21:39:21 +03:00
Quality System Admin
c96039542d updated control access 2025-10-16 02:36:32 +03:00
Quality System Admin
50c791e242 cleaning structure 2025-10-16 01:42:59 +03:00
Quality System Admin
e0ba349862 updated docker compose 2025-10-13 22:21:03 +03:00
Quality System Admin
c292854d72 updated docker compose files 2025-10-13 21:18:33 +03:00
Quality System Admin
ee9dc0eb1c update with docker file 2025-10-13 21:17:54 +03:00
Quality System Admin
aaf6f2b32f updated database deployment and views 2025-10-12 00:22:45 +03:00
Quality System Admin
a84c881e71 docs: Update database setup script to reflect current table structure
- Added printed_labels column (INT(1) DEFAULT 0) for print tracking
- Added data_livrare column (DATE NULL) for delivery dates from CSV
- Added dimensiune column (VARCHAR(20) NULL) for product dimensions
- Updated documentation to explain new columns and their purpose

This keeps the setup script synchronized with the actual database structure
that has been modified during development and testing.
2025-10-11 23:38:50 +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
05394697a0 updated validation and auto submit 2025-10-10 22:49:57 +03:00
e257f6be18 updated to scan module 2025-10-09 01:10:05 +03:00
b8e85180c7 updated to scrol betwen the rows in the card 2025-10-09 00:41:32 +03:00
c99ff70da7 updated to do 2025-10-09 00:37:10 +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
cb8a48e58f import locations to bulk 2025-10-05 09:58:33 +03:00
97b9ae9fe2 centered preview in the create location page 2025-10-05 09:40:03 +03:00
16641193de updated printing solutions 2025-10-05 09:29:37 +03:00
f105da2012 made the print lost label page 2025-10-04 17:17:07 +03:00
e1438a476b update views and orders 2025-10-04 09:37:10 +03:00
395433d4c3 created module saved preview ptinting 2025-10-02 20:09:30 +03:00
415e378ab4 Fix modal display with inline styles
The CSS class 'show' was being overridden by global styles causing display:block instead of display:flex. Using inline style.display='flex' to force the modal to show properly with flexbox centering.

Changes:
- Added modal.style.display = 'flex' when showing modal
- Added modal.style.display = 'none' when hiding modal
- Added debug logging for inline style verification
- This ensures modal displays regardless of CSS conflicts
2025-10-02 18:13:37 +03:00
6a184ce191 Fix modal display issue - add debugging and async/await
- Made print button handler async and await handleQZTrayPrint
- Added console.log debugging to track modal element and class changes
- This should fix the modal not appearing during print operations
2025-10-02 18:06:32 +03:00
dc337b6505 Add enhanced print controller with pause/resume and error recovery
Features:
- Real-time progress modal with visual progress bar and counter
- Detailed event log with timestamps and color-coded status
- Pause/Resume functionality for checking printer/paper
- Reprint Last button for damaged labels
- Cancel button for emergency stops
- Automatic error detection and recovery
- Auto-pause on print failures (paper out/jam)
- Automatic retry of failed labels after resume
- Smart state management tracking current/last/failed labels
- Sequential label numbering maintained through errors
- Database update only on successful completion
- Proper modal display with .show class toggle
2025-10-02 18:01:55 +03:00
c7266c32ee Add custom QZ Tray fork with pairing key authentication
- Custom fork of QZ Tray 2.2.x with certificate validation bypassed
- Implemented pairing key (HMAC) authentication as replacement
- Modified files: PrintSocketClient.java (certificate check disabled)
- New files: PairingAuth.java, PairingConfigDialog.java
- Excluded build artifacts (out/, lib/javafx*) from repository
- Library JARs included for dependency management
2025-10-02 02:27:45 +03:00
755400a269 Update .gitignore to exclude large files and build artifacts 2025-10-02 02:12:08 +03:00
7dc688d972 it prints 2025-10-02 02:00:40 +03:00
b2b225049d Fix .gitignore, add secure pairing key route, and fix template errors 2025-10-01 20:46:46 +03:00
ea6364eb7b QZ Tray thermal printing: PDF workflow, barcode fixes, margin adjustments, and layout improvements 2025-09-27 23:54:18 +03:00
1582e9363f Save current progress of Quality Print Desktop project 2025-09-27 00:23:35 +03:00
c5d1449ede commit node js 2025-09-26 23:32:20 +03:00
5765798905 updated : solutions 2025-09-26 22:51:16 +03:00
1f90602550 saved 2025-09-26 22:17:37 +03:00
2216f21c47 updated 2025-09-26 21:56:06 +03:00
c17812a0c1 updated download 2025-09-26 18:53:04 +03:00
02277dd55b updated 2025-09-25 22:26:32 +03:00
854b6980bc almost close to print 2025-09-24 22:04:34 +03:00
198563aaba updated to silent print 2025-09-24 21:42:22 +03:00
b49a22832d updated print module 2025-09-22 21:53:08 +03:00