21 Commits

Author SHA1 Message Date
1eb0aa3658 feat: v1.1.0 - Production-Ready Docker Deployment
🚀 Major Release: DigiServer v1.1.0 Production Deployment

## 📁 Project Restructure
- Moved all application code to app/ directory for Docker containerization
- Centralized persistent data in data/ directory with volume mounting
- Removed development artifacts and cleaned up project structure

## 🐳 Docker Integration
- Added production-ready Dockerfile with LibreOffice and poppler-utils
- Updated docker-compose.yml for production deployment
- Added .dockerignore for optimized build context
- Created automated deployment script (deploy-docker.sh)
- Added cleanup script (cleanup-docker.sh)

## 📄 Document Processing Enhancements
- Integrated LibreOffice for professional PPTX to PDF conversion
- Implemented PPTX → PDF → 4K JPG workflow for optimal quality
- Added poppler-utils for enhanced PDF processing
- Simplified PDF conversion to 300 DPI for reliability

## 🔧 File Management Improvements
- Fixed absolute path resolution for containerized deployment
- Updated all file deletion functions with proper path handling
- Enhanced bulk delete functions for players and groups
- Improved file upload workflow with consistent path management

## 🛠️ Code Quality & Stability
- Cleaned up pptx_converter.py from 442 to 86 lines
- Removed all Python cache files (__pycache__/, *.pyc)
- Updated file operations for production reliability
- Enhanced error handling and logging

## 📚 Documentation Updates
- Updated README.md with Docker deployment instructions
- Added comprehensive DEPLOYMENT.md guide
- Included production deployment best practices
- Added automated deployment workflow documentation

## 🔐 Security & Production Features
- Environment-based configuration
- Health checks and container monitoring
- Automated admin user creation
- Volume-mounted persistent data
- Production logging and error handling

##  Ready for Production
- Clean project structure optimized for Docker
- Automated deployment with ./deploy-docker.sh
- Professional document processing pipeline
- Reliable file management system
- Complete documentation and deployment guides

Access: http://localhost:8880 | Admin: admin/Initial01!
2025-08-05 18:04:02 -04:00
318f783de3 Fix orientation parameter handling and template URL endpoints
- Add orientation parameter support to create_group and edit_group functions
- Fix manage_group.html template URL endpoint from 'update_group_content_order' to 'update_group_content_order_route'
- Add orientation field and filtering to edit_group.html template with JavaScript functionality
- Update group_player_management.py to handle orientation validation in create and edit operations
- Fix docker-compose.yml to include build directive and correct volume paths
- Update entrypoint.sh to handle fresh deployments without migrations
- Ensure orientation consistency across group and player management

These changes resolve:
- Internal Server Error on manage_group page
- Missing orientation parameter in group creation/editing
- Template URL endpoint mismatches
- Docker deployment issues with fresh installations
2025-08-01 15:15:59 -04:00
756f9052b5 Fix Docker deployment issues and add fresh database support
- Fix: Add missing 'click' import to app.py to resolve startup error
- Fix: Update docker-compose.yml volume mappings to use correct persistent storage paths (/opt/digi-s)
- Improve: Enhanced entrypoint.sh for better database initialization
- Update: Configuration files for improved deployment

This resolves the Docker container startup issues and ensures proper persistent storage.
2025-07-18 15:40:57 -04:00
68cc47882c updated versions and players 2025-06-29 16:48:15 +03:00
2e94a334de updated whit entrypoint 2025-05-28 21:08:09 +03:00
87a9c77ee0 fic docker 2025-05-28 20:53:58 +03:00
b424080e9e updated docker compose 2025-05-22 15:52:28 +03:00
06166c1447 final update 2025-05-22 15:46:03 +03:00
7eb8f088f4 updated docke file 2025-05-18 23:24:17 +03:00
0056ace8a5 updated requirements 2025-05-16 15:51:42 +03:00
ebb9bf4583 updated upload functions 2025-05-15 11:23:49 +03:00
78fe1da113 running on raspberi at work 2025-05-14 16:26:53 +03:00
3ecdce84f0 final 2025-03-26 16:34:41 +02:00
8f7639640d api added 2025-03-19 16:49:10 +02:00
Ske087
fe165305fc updated something 2025-02-15 21:27:28 +02:00
Ske087
aa2ba61be8 updated with save 2025-02-09 18:56:23 +02:00
Ske087
6b9c3e6847 updated to folders 2025-02-01 22:38:22 +02:00
Ske087
64b8f5392a finisshing 2025-01-25 20:34:27 +02:00
Ske087
fda07c701d completed 2025-01-25 20:03:47 +02:00
70a0065b98 updated to video upload 2025-01-23 16:31:57 +02:00
4b8d075bfe image created 2025-01-22 16:33:00 +02:00