ske087
0d98c527c6
Fix config file parsing and improve backup/restore functionality
...
- Fix external_server.conf parsing to skip comment lines and empty lines
- Update routes.py get_db_connection() to handle comments
- Update settings.py get_external_db_connection() to handle comments
- Improve restore_backup() to use mariadb command instead of Python parsing
- Remove SQLite database creation (MariaDB only)
- Add environment detection for dump command (mariadb-dump vs mysqldump)
- Add conditional SSL flag based on Docker environment
- Fix database restore to handle MariaDB sandbox mode comments
2025-11-13 03:59:27 +02:00
Quality System Admin
c91b7d0a4d
Fixed the scan error and backup problems
2025-11-05 21:25:02 +02: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
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
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
ske087
05394697a0
updated validation and auto submit
2025-10-10 22:49:57 +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
ske087
957c8eca4d
moved to test environment
2025-10-05 14:32:47 -04:00
ske087
e1438a476b
update views and orders
2025-10-04 09:37:10 +03:00
ske087
ceda2447a6
updated to uplodad orders
2025-09-15 21:14:48 +03:00
ske087
9d80252c14
updated roles ant permissions
2025-09-12 22:14:51 +03:00
ske087
6eab631604
Updated login
2025-09-12 20:53:52 +03:00
ske087
9fc32adb23
Role management, login logic, and debug improvements. MariaDB login now uses correct syntax.
2025-09-11 22:30:52 +03:00
ske087
bb3352ea4a
saved new files
2025-09-10 21:50:08 +03:00
ske087
d6cd4d0e69
saved new info in database upload is correect
2025-04-22 16:42:47 +03:00
ske087
7e27fd8887
moved scripts to database scripts
2025-04-22 16:17:24 +03:00
ske087
1d6eadf540
correct update to the database and database created for scan
2025-04-22 16:12:17 +03:00