🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!
Update 1.0.8 changelog entries for desktop and mobile QA fixes
sassanix14308adf135d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9c7e08a..929fb6e 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,17 @@## 1.0.8 - Unreleased+- **Desktop, tablet, and mobile QA fixes across warranty editing, tags, CSV export, settings, and responsive layouts:**+ - Edit Warranty modal now populates and trims existing `invoice_url`, `manual_url`, and `other_document_url` inputs on open so saving unrelated fields no longer wipes linked document URLs.+ - Notes modal saves now serialize `vendor` and `model_number` directly from the target warranty instead of reading stale hidden inputs from `#editModal`.+ - Eliminated Tag Management double-submissions on the home dashboard (create, edit, and delete) by sharing DOM listener guards between modular `tagManager.js` and legacy `script.js` while keeping `status.html` working as a fallback.+ - Hoisted `submitBtn` and `originalBtnText` outside `try` in `reset-password.html` so failed password resets display the error cleanly and re-enable the submit button instead of throwing a `ReferenceError`.+ - Aligned Home CSV export filtering with the warranty list view so `archived` filter exports include archived rows and search filtering matches `model_number`, `serial_numbers`, and `notes`.+ - Fixed Settings dropdown defaults on initial load by including `UTC` in `/api/timezones`, loading both email and Apprise timezone selects before applying preferences, and resolving stored currency symbols (e.g. `$`) to their canonical option codes (`USD`); also stripped literal `<strong>` HTML tags from `settings.oidc_only_mode_desc` across all 19 affected locale files and removed leftover developer debug delete buttons from `settings-new.html`.+ - Improved Status Dashboard and Claims polish: excluded archived and voided warranties from the Expiration Timeline chart, added dark-mode chart legend/axis/grid colors and high-contrast Void badges/rows, spanned the desktop `Total Value` card across two columns to prevent mid-number wrapping, and hid the Paperless storage selector in the Claims modal when Paperless-ngx is disabled.+ - Fixed mobile and tablet responsive layouts across Home, Status, Settings, and auth pages: wrapped the Status search input onto a full-width row on `<=768px`, aligned mobile `Data`, `View`, and `Scope` popovers inside the viewport (including Arabic RTL), stopped forcing `#scopeDropdown` visible on `481px–768px` tablets when hidden, wrapped mobile Table/List headers cleanly with visible archived action icons, emitted status header colors and wrappable document links in desktop Table View, prevented Grid View thumbnails from overlapping card text, fixed mobile modal layouts (stacked serial number inputs, 4-tab Edit Warranty header, and 44px Manage Tags color picker), hid empty mobile hamburger menus on unauthenticated auth pages, centered `.empty-state` across the grid, fixed wizard completed checkmark offsets, improved mobile Settings `.preference-item` / `.alert` wrapping, and removed broken Unsplash 404 background URLs.+ - _Files: `backend/warranties_routes.py`, `frontend/js/components/claims.js`, `frontend/js/components/editModal.js`, `frontend/js/components/importExport.js`, `frontend/js/components/notes.js`, `frontend/js/components/paperless.js`, `frontend/js/components/tagManager.js`, `frontend/js/components/warrantyRenderer.js`, `frontend/js/controllers/warrantyListController.js`, `frontend/mobile-header.css`, `frontend/mobile-menu.js`, `frontend/register.html`, `frontend/reset-password-request.html`, `frontend/reset-password.html`, `frontend/script.js`, `frontend/settings-new.html`, `frontend/settings-new.js`, `frontend/settings-styles.css`, `frontend/status.js`, `frontend/style.css`, `locales/*/translation.json`, `tests/test_qa_fixes_regressions.py`_+- **Security hardening, proxy headers, Nginx/CSP, Paperless strict ownership, JWT transport, and account cleanup:**- Bundled Nginx now trusts `X-Forwarded-Proto` only from loopback/LAN/Docker proxy ranges (or all peers when `TRUST_PROXY_HEADERS=true`, and none when `TRUST_PROXY_HEADERS=false`), strips `X-Forwarded-Host` and `X-Forwarded-Prefix`, removes duplicate `Access-Control-*` headers (leaving Flask-CORS as the single source of truth), removes the `/test-uploads` debug route and `X-Debug-Message` header, and emits `X-Content-Type-Options: nosniff` globally alongside Flask. Gunicorn's `forwarded_allow_ips` is scoped to loopback by default (`127.0.0.1,::1`), private proxy CIDRs when `DISABLE_NGINX=true`, and configurable via `GUNICORN_FORWARDED_ALLOW_IPS` / `TRUST_PROXY_HEADERS`. OIDC login derives `redirect_uri` from `APP_BASE_URL` / `FRONTEND_URL` when explicitly configured.- Replaced the remote Buy Me a Coffee script on the About page with a static styled link and removed `buymeacoffee.com` from the Content-Security-Policy.