Skip to content

πŸ›‘οΈ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Prepare 1.0.8 release docs and version

Omega (QA)bd502b643f35
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e1cadd..9c7e08a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,7 @@
## 1.0.8 - Unreleased
-- **Security hardening β€” proxy headers, Nginx/CSP, Paperless strict ownership, JWT transport, and account cleanup:**
+- **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.
- Added an opt-in **Restrict Pre-Existing Documents to Admins** (`paperless_strict_ownership`, off by default) toggle in Paperless-ngx settings so shared Paperless instances can prevent standard users from claiming pre-existing unowned documents.
@@ -10,7 +10,7 @@
- Local accounts now confirm their current password before self-deleting (`DELETE /api/auth/account`; passwordless OIDC accounts are unaffected), unreferenced uploaded warranty and claim files are deleted from disk when a user or account is deleted, password-reset emails dispatch asynchronously to avoid SMTP timing enumeration, and warranty/document web URLs are validated to `http://` or `https://` (auto-prefixing bare domains with `https://`).
- _Files: `nginx.conf`, `Docker/entrypoint.sh`, `backend/__init__.py`, `backend/admin_routes.py`, `backend/auth_routes.py`, `backend/auth_utils.py`, `backend/gunicorn_config.py`, `backend/oidc_handler.py`, `backend/paperless_access.py`, `backend/warranties_routes.py`, `frontend/about.html`, `frontend/settings-new.html`, `frontend/settings-new.js`, `frontend/sw.js`, `tests/test_security_headers.py`, `tests/test_user_account_and_preferences.py`, `tests/test_hardening_pass2.py`_
-- **Security hardening β€” file containment, owner protection, XSS/SSRF defenses, and container permissions (#302):**
+- **Security hardening, file containment, owner protection, XSS/SSRF defenses, and container permissions (#302):**
- Local file routes (`/api/files/` and `/api/secure-file/`) now require a matching warranty or claim database reference even for admins, reject dotfiles (such as `.secret_key`), and reject symlinks or paths escaping `UPLOAD_FOLDER`.
- Document serving (`/api/files/`, `/api/secure-file/`, `/api/paperless-file/`) and frontend blob viewers allow inline rendering only for passive MIME types (PDF, PNG, JPEG, WebP, GIF, plain text) with `Content-Security-Policy: default-src 'none'; frame-ancestors 'self'`; active or unrecognized types are forced to download as `application/octet-stream` with `Content-Security-Policy: sandbox`.
- Admin user updates (`PUT /api/admin/users/<id>`) strictly require boolean types for `is_admin`/`is_active`, block non-owner admins from editing any field (including email) on an Application Owner account, and perform case-insensitive email uniqueness checks.
diff --git a/README.md b/README.md
index 0fe6d3c..1976611 100644
--- a/README.md
+++ b/README.md
@@ -47,12 +47,12 @@ Full guides live in the [Warracker Wiki](https://github.com/sassanix/Warracker/w
| **Feature** | **Description** |
| -------------------------------- | -------------------------------------------------------------------------------------------------------- |
| πŸ—ƒοΈ **Centralized Management** | Track all your product warranties in one place |
-| 🧾 **Detailed Records** | Store purchase dates, durations, notes, multiple serial numbers, and product photos with thumbnail previews |
+| 🧾 **Detailed Records** | Store purchase dates, durations, notes and team notes, expiry change history, multiple serial numbers, and product photos with thumbnail previews |
| πŸ“„ **Document Storage** | Upload receipts, invoices, and manuals securely |
| πŸ“ **[Warranty Claims](https://github.com/sassanix/Warracker/wiki/User-Guide#-claims)** | Manage warranty claims end-to-end with statuses, dates, resolutions, attached documents, and full lifecycle visibility |
| πŸ”” **[Proactive Alerts](https://github.com/sassanix/Warracker/wiki/Notifications)** | Get alerts for upcoming expirations via email or 100+ push services (Discord, Slack, etc.) using Apprise β€” each threshold notifies once, never daily repeats |
| πŸ” **Quick Search and Filter** | Search by product name, serial number, vendor, and more with real-time filtering, and organize with custom tags |
-| πŸ‘₯ **Multi-User & Global View** | Multiple accounts with admin controls; authenticated users can view global warranty data with role-based permissions |
+| πŸ‘₯ **Multi-User & Global View** | Multiple accounts with admin controls; authenticated users can view global warranty data with role-based permissions and add attributed team notes |
| πŸ“€ **[Data Export/Import](https://github.com/sassanix/Warracker/wiki/User-Guide#-csv-import-and-export)** | Import/export warranty data via CSV β€” exports include every field (notes, currency, model, warranty type), so a re-import restores your data exactly |
| βš™οΈ **Customizable Settings** | Configure currency, date formats, notification timing, and branding |
| πŸ“¦ **Archiving** | Archive expired or unused warranties for better organization, while keeping records accessible when needed |
@@ -98,7 +98,7 @@ More screenshots, including the table view, the card menu, and dark mode, are in
## πŸ—ΊοΈRoadmap
-The current release is **1.0.7**. What's planned next, 1.0.8 and the feature requests under consideration, lives on the [Roadmap](https://github.com/sassanix/Warracker/wiki/Roadmap) page in the wiki. Shipped work is in the [changelog](CHANGELOG.md) and the [releases](https://github.com/sassanix/Warracker/releases).
+The current release is **1.0.8**. Planned work and the feature requests under consideration live on the [Roadmap](https://github.com/sassanix/Warracker/wiki/Roadmap) page in the wiki. Shipped work is in the [changelog](CHANGELOG.md) and the [releases](https://github.com/sassanix/Warracker/releases).
## πŸš€Setup
diff --git a/frontend/about.html b/frontend/about.html
index 678c341..9edfe79 100644
--- a/frontend/about.html
+++ b/frontend/about.html
@@ -355,7 +355,7 @@
<!-- Hero Section -->
<div class="about-hero">
<h1><i class="fas fa-shield-alt"></i> Warracker</h1>
- <div class="version" id="versionDisplay" data-i18n="about.version">Version v1.0.7</div>
+ <div class="version" id="versionDisplay" data-i18n="about.version">Version v1.0.8</div>
<p class="description" data-i18n="about.description">
A comprehensive warranty management system designed to help you track, organize, and manage all your product warranties in one secure, user-friendly platform.
</p>
@@ -459,7 +459,7 @@
// Update version display dynamically
const versionDisplay = document.getElementById('versionDisplay');
if (versionDisplay && window.i18next) {
- const currentVersion = '1.0.7'; // This should match version-checker.js
+ const currentVersion = '1.0.8'; // This should match version-checker.js
versionDisplay.textContent = window.i18next.t('about.version') + ' v' + currentVersion;
}
diff --git a/frontend/version-checker.js b/frontend/version-checker.js
index 6f524ff..5ca9d58 100644
--- a/frontend/version-checker.js
+++ b/frontend/version-checker.js
@@ -1,6 +1,6 @@
// Version checker for Warracker
document.addEventListener('DOMContentLoaded', () => {
- const currentVersion = '1.0.7'; // Current version of the application
+ const currentVersion = '1.0.8'; // Current version of the application
const updateStatus = document.getElementById('updateStatus');
const updateLink = document.getElementById('updateLink');
const versionDisplay = document.getElementById('versionDisplay');