mirror of
https://github.com/sassanix/Warracker.git
synced 2026-01-04 20:50:22 -06:00
Introduced full integration with Paperless-ngx to enable intelligent document management and flexible storage options. Key changes: - Added admin settings section for configuring Paperless-ngx (server URL, API token, connection testing, toggle). - Implemented hybrid storage logic in `backend/app.py` allowing per-document selection between local and Paperless-ngx. - Enhanced warranty card UI with visual indicators for storage location (cloud vs. local icons). - Integrated storage selection and upload process into both Add and Edit Warranty workflows with parity. - Enabled direct access to Paperless-ngx documents via the warranty interface. - Ensured automatic cleanup of old documents when storage preference is switched. Affected files: - `backend/app.py` - `frontend/script.js` - `frontend/settings-new.html` - `frontend/settings-new.js`