Fix Docker build and add labels test data

- Fix Docker build issues:
  * Add missing system dependencies (build-essential, python3-dev, libpq-dev)
  * Fix requirements.txt formatting (separate Flask-Session and openpyxl)
  * Update openpyxl version to 3.1.5 (3.10.0 was invalid)
- Set proper folder permissions for Docker write access (app/ and data/)
- Add comprehensive test data for labels module:
  * 8 sample orders (TEST-ORD-001 through TEST-ORD-008)
  * Mix of printed/unprinted orders for testing
  * Various product types, customers, and delivery dates
  * Ready for QZ Tray printing functionality testing
- Include test data generation scripts for future use
- Application now fully containerized and ready for labels/printing testing
This commit is contained in:
Quality App Developer
2026-02-15 12:05:20 +02:00
parent 134fc73f9c
commit d5b043c762
83 changed files with 415 additions and 2 deletions

0
app/__init__.py Normal file → Executable file
View File

0
app/access_control.py Normal file → Executable file
View File

0
app/auth.py Normal file → Executable file
View File

0
app/config.py Normal file → Executable file
View File

0
app/database.py Normal file → Executable file
View File

0
app/db_migrations/add_warehouse_roles_and_bindings.sql Normal file → Executable file
View File

0
app/db_schema_verifier.py Normal file → Executable file
View File

0
app/models/__init__.py Normal file → Executable file
View File

0
app/modules/labels/__init__.py Normal file → Executable file
View File

0
app/modules/labels/import_labels.py Normal file → Executable file
View File

0
app/modules/labels/pdf_generator.py Normal file → Executable file
View File

0
app/modules/labels/print_module.py Normal file → Executable file
View File

0
app/modules/labels/routes.py Normal file → Executable file
View File

0
app/modules/quality/__init__.py Normal file → Executable file
View File

0
app/modules/quality/quality.py Normal file → Executable file
View File

0
app/modules/quality/routes.py Normal file → Executable file
View File

0
app/modules/settings/__init__.py Normal file → Executable file
View File

0
app/modules/settings/logs.py Normal file → Executable file
View File

0
app/modules/settings/routes.py Normal file → Executable file
View File

0
app/modules/settings/stats.py Normal file → Executable file
View File

0
app/modules/settings/warehouse_worker_management.py Normal file → Executable file
View File

0
app/modules/warehouse/__init__.py Normal file → Executable file
View File

0
app/modules/warehouse/boxes.py Normal file → Executable file
View File

0
app/modules/warehouse/boxes_routes.py Normal file → Executable file
View File

0
app/modules/warehouse/routes.py Normal file → Executable file
View File

0
app/modules/warehouse/warehouse.py Normal file → Executable file
View File

0
app/modules/warehouse/warehouse_orders.py Normal file → Executable file
View File

0
app/routes.py Normal file → Executable file
View File

0
app/scheduler.py Normal file → Executable file
View File

0
app/static/css/base.css Normal file → Executable file
View File

0
app/static/css/database_management.css Normal file → Executable file
View File

0
app/static/css/fg_scan.css Normal file → Executable file
View File

0
app/static/css/login.css Normal file → Executable file
View File

0
app/static/css/print_module.css Normal file → Executable file
View File

0
app/static/css/scan.css Normal file → Executable file
View File

0
app/static/css/theme.css Normal file → Executable file
View File

0
app/static/js/base.js Normal file → Executable file
View File

0
app/static/js/qz-printer.js Normal file → Executable file
View File

0
app/static/js/qz-tray.js Normal file → Executable file
View File

0
app/static/js/theme.js Normal file → Executable file
View File

0
app/static/style.css Normal file → Executable file
View File

0
app/templates/base.html Normal file → Executable file
View File

0
app/templates/base_print.html Normal file → Executable file
View File

0
app/templates/dashboard.html Normal file → Executable file
View File

0
app/templates/errors/403.html Normal file → Executable file
View File

0
app/templates/errors/404.html Normal file → Executable file
View File

0
app/templates/errors/500.html Normal file → Executable file
View File

0
app/templates/login.html Normal file → Executable file
View File

0
app/templates/modules/labels/import_labels.html Normal file → Executable file
View File

0
app/templates/modules/labels/index.html Normal file → Executable file
View File

0
app/templates/modules/labels/print_labels.html Normal file → Executable file
View File

0
app/templates/modules/labels/print_lost_labels.html Normal file → Executable file
View File

View File

0
app/templates/modules/labels/print_module.html Normal file → Executable file
View File

0
app/templates/modules/quality/fg_reports.html Normal file → Executable file
View File

0
app/templates/modules/quality/fg_scan.html Normal file → Executable file
View File

0
app/templates/modules/quality/index.html Normal file → Executable file
View File

0
app/templates/modules/quality/inspections.html Normal file → Executable file
View File

0
app/templates/modules/quality/reports.html Normal file → Executable file
View File

0
app/templates/modules/settings/app_keys.html Normal file → Executable file
View File

0
app/templates/modules/settings/database.html Normal file → Executable file
View File

View File

0
app/templates/modules/settings/general.html Normal file → Executable file
View File

0
app/templates/modules/settings/index.html Normal file → Executable file
View File

0
app/templates/modules/settings/logs_explorer.html Normal file → Executable file
View File

0
app/templates/modules/settings/search_logs.html Normal file → Executable file
View File

0
app/templates/modules/settings/user_form.html Normal file → Executable file
View File

0
app/templates/modules/settings/users.html Normal file → Executable file
View File

0
app/templates/modules/settings/view_log.html Normal file → Executable file
View File

0
app/templates/modules/warehouse/boxes.html Normal file → Executable file
View File

0
app/templates/modules/warehouse/index.html Normal file → Executable file
View File

0
app/templates/modules/warehouse/inventory.html Normal file → Executable file
View File

0
app/templates/modules/warehouse/locations.html Normal file → Executable file
View File

0
app/templates/modules/warehouse/reports.html Normal file → Executable file
View File

View File

View File

0
app/templates/modules/warehouse/test_barcode.html Normal file → Executable file
View File

0
app/templates/profile.html Normal file → Executable file
View File