Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Bump version to v0.10.1-alpha and document the security-hardening changes (secret-key auto-generation, security headers/CSP, single-use reset tokens, markdown sanitization, admin-list scoping, CSRF logout) in README and docs
Murtaza Nasir8a103fee453c
diff --git a/README.md b/README.mdindex 768ddd3e..e0065ce3 100644--- a/README.md+++ b/README.md@@ -9,7 +9,7 @@<a href="https://www.gnu.org/licenses/agpl-3.0"><img alt="AGPL v3" src="https://img.shields.io/badge/License-AGPL_v3-blue.svg"></a><a href="https://github.com/murtaza-nasir/speakr/actions/workflows/docker-publish.yml"><img alt="Docker Build" src="https://github.com/murtaza-nasir/speakr/actions/workflows/docker-publish.yml/badge.svg"></a><a href="https://hub.docker.com/r/learnedmachine/speakr"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/learnedmachine/speakr"></a>- <a href="https://github.com/murtaza-nasir/speakr/releases/latest"><img alt="Latest Version" src="https://img.shields.io/badge/version-0.10.0--alpha-brightgreen.svg"></a>+ <a href="https://github.com/murtaza-nasir/speakr/releases/latest"><img alt="Latest Version" src="https://img.shields.io/badge/version-0.10.1--alpha-brightgreen.svg"></a></p><p align="center">@@ -201,7 +201,11 @@ Complete documentation is available at **[murtaza-nasir.github.io/speakr](https:- [Troubleshooting](https://murtaza-nasir.github.io/speakr/troubleshooting) - Common issues and solutions- [FAQ](https://murtaza-nasir.github.io/speakr/faq) - Frequently asked questions-## Latest Release (v0.10.0-alpha)+## Latest Release (v0.10.1-alpha)++**A security-hardening release. Upgrading is recommended for all deployments.** The application now refuses the insecure built-in secret key and, when `SECRET_KEY` is unset, generates and persists a strong per-deployment key automatically, so session cookies and password-reset tokens can no longer be forged on installs that never set one. Baseline security headers and a Content-Security-Policy are now set by the application itself rather than relying on a hardening reverse proxy. Password-reset links are single-use and are invalidated when the password changes. Chat, Inquire, and admin banner content rendered from Markdown is sanitized before display. The admin user list no longer exposes the full directory to group administrators, bulk tagging enforces group membership, and logout is a CSRF-protected action. Chart.js and DOMPurify are now bundled locally instead of loaded from a third-party CDN. No database changes. **Full release notes on the [GitHub release page](https://github.com/murtaza-nasir/speakr/releases/tag/v0.10.1-alpha).**++### v0.10.0-alpha (previous release)**Fixes API auth responses and duplicate uploads, and hardens incognito mode.** Unauthenticated API requests now return a proper JSON 401 instead of a redirect to the login page, so integrations with a bad token fail loudly rather than mistaking the login page for success (#333). The 200 MB size warning no longer fires when server-side chunk streaming is active; recordings instead warn at 80% of the duration ceiling before the automatic stop (#332). The upload button disables immediately while a recording finalizes and the finalize endpoint is idempotent, so double-clicking can no longer create duplicate recordings, and failed drag-and-drop uploads are no longer copied into the Downloads folder. Incognito recordings now stay entirely in the browser until explicitly processed, even with chunk streaming enabled, keep filenames out of server logs, and survive crash recovery as incognito. No database changes. **Full release notes on the [GitHub release page](https://github.com/murtaza-nasir/speakr/releases/tag/v0.10.0-alpha).**diff --git a/VERSION b/VERSIONindex 4d69f090..6fb320ef 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-v0.10.0-alpha+v0.10.1-alphadiff --git a/docs/index.md b/docs/index.mdindex b303afca..dd4741d7 100644--- a/docs/index.md+++ b/docs/index.md@@ -6,10 +6,10 @@ Speakr is a powerful self-hosted transcription platform that helps you capture,<img src="assets/images/screenshots/main-view-video.png" alt="Main Interface" style="border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);"></div>-!!! success "Latest Release: v0.10.0-alpha — JSON 401 for API auth, duplicate-upload fixes, and incognito hardening"- Unauthenticated API requests now return a JSON 401 instead of a redirect to the login page (#333). The 200 MB size warning no longer fires in server-streaming mode; recordings warn at 80% of the duration ceiling instead (#332). Double-clicking Upload can no longer create duplicate recordings, failed file uploads are no longer copied into Downloads, and incognito recordings stay entirely in the browser until explicitly processed.+!!! success "Latest Release: v0.10.1-alpha — security hardening (recommended for all deployments)"+ The app now refuses the insecure built-in secret key and auto-generates a strong one if `SECRET_KEY` is unset, so sessions and reset tokens cannot be forged. It sets security headers and a Content-Security-Policy itself, makes password-reset links single-use, sanitizes Markdown-rendered chat/Inquire/banner content, stops the admin user list leaking the full directory to group admins, and makes logout CSRF-protected.- See the [full release notes](https://github.com/murtaza-nasir/speakr/releases/tag/v0.10.0-alpha) for details. Backwards compatible; no database changes.+ See the [full release notes](https://github.com/murtaza-nasir/speakr/releases/tag/v0.10.1-alpha) for details. Backwards compatible; no database changes.## Quick Navigation@@ -128,6 +128,16 @@ Learn more about [audio synchronization features](user-guide/transcripts.md#audi## Latest Updates+!!! info "Version 0.10.0-alpha - JSON 401 for API auth, duplicate-upload fixes, and incognito hardening"+ Backwards compatible; no database changes.++ - **JSON 401 for API auth (#333)** - Unauthenticated API requests return a JSON 401 with a WWW-Authenticate header instead of a 302 redirect to the login page, so integrations fail loudly instead of mistaking the login page for success.+ - **Size warning fixed in streaming mode (#332)** - The 200 MB warning no longer fires when server-side chunk streaming is active; recordings warn at 80% of the duration ceiling before the automatic stop instead.+ - **No duplicate recordings** - The upload button disables while a recording finalizes and the finalize endpoint is idempotent, so double-clicking cannot create duplicates. Failed drag-and-drop uploads are no longer copied into Downloads.+ - **Incognito hardening** - Incognito recordings stay entirely in the browser until explicitly processed, keep filenames out of server logs, and survive crash recovery as incognito.++ See the [full release notes](https://github.com/murtaza-nasir/speakr/releases/tag/v0.10.0-alpha).+!!! info "Version 0.9.7-alpha - MP3 playback, transcript clicking, and retention fixes"A bug fix release. Backwards compatible; no database changes.