5 Commits

Author SHA1 Message Date
RPI User
6b199a0e41 Add config UI interface and update app.py with config card functionality
- Copied config.py with FreeSimpleGUI configuration interface to root folder
- Added load_config() function to launch config UI when card 12886709 is inserted
- Config UI allows setting hostname and work table (Loc De Munca)
- Automatic printer configuration and hostname updates
- System reboot after configuration changes
- Added config.py to version control
2025-12-19 14:38:39 +02:00
RPI User
c3a55a89c3 Add log cleanup function (15-day deletion) and archive documentation
- Added cleanup_old_logs() function to app_v3_simplified.py
- Deletes log.txt if older than 15 days at app startup
- Sends notification to monitoring server when cleanup occurs
- Archived all legacy modules and documentation to oldcode/
- Updated device_info.txt with correct IP (192.168.1.104)
- All changes validated and tested
2025-12-18 17:18:14 +02:00
Developer
a50197a9d6 Refactor: Skip socket resolution, load device hostname/IP directly from file
- Remove socket.gethostname() and socket.gethostbyname() calls
- Device info now loads exclusively from device_info.txt
- Device hostname and IP are independent of server hostname
- Resolves DNS/socket errors on startup
- Device info file is primary config source for device identity
2025-12-18 14:14:52 +02:00
Developer
b12c47d01f Fix: Update device_info.txt with correct hostname and IP for socket error resolution 2025-12-18 14:09:56 +02:00
6975e18ed2 v2.7: Fixed auto-update path detection for case-sensitive file systems
- Replaced hardcoded paths with dynamic path detection using __file__
- Auto-update now works regardless of folder case (prezenta vs Prezenta)
- Added comprehensive dependency management documentation
- Enhanced port 80 capability setup script
- Updated system packages repository structure
- Fixed path resolution for Files/reposytory and system_packages directories
2025-08-14 15:51:29 +03:00