Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Docs: refresh roadmap (move shipped v0.9.0 items out of 'planned') and add v0.9.0 changelog entry + fix language count
Murtaza Nasir0b9ef840ead3
diff --git a/docs/index.md b/docs/index.mdindex 098edaec..6b5dd6c3 100644--- a/docs/index.md+++ b/docs/index.md@@ -100,7 +100,7 @@ Speakr is a powerful self-hosted transcription platform that helps you capture,<div class="feature-card"><h4>π International</h4><ul>- <li>5+ languages supported</li>+ <li>7 languages supported</li><li>Automatic UI translation</li><li>Localized summaries</li></ul>@@ -142,6 +142,32 @@ Learn more about [audio synchronization features](user-guide/transcripts.md#audi## Latest Updates+!!! info "Version 0.9.0 - Multi-platform recording, Stats tab, mobile rebuild, design-system unification"+ The first non-patch release in the v0.8 line. Three big user-facing themes: capturing audio is now multi-platform, the mobile app is a first-class member of the design system, and the upload modal stops feeling like a desktop card pasted onto a phone. Backwards compatible with v0.8.x; database migrations run automatically.++ - **System Audio & Multi-Input Recording** - Platform detection with a per-OS help guide (macOS BlackHole + Multi-Output Device, Windows "Share system audio", Linux pavucontrol + `pactl module-virtual-source`). New Input devices picker mixes a primary mic plus an optional secondary device via Web Audio into one track, with a toggle to disable Chrome's echo cancellation / noise suppression / auto-gain and virtual-audio-device discovery.+ - **Stats Tab** - New per-recording tab: total length, speaker count, turns, and words as headline cards; per-speaker time / % / turns / words / WPM breakdown; silence row. Available on desktop and mobile.+ - **Upload Modal Redesign** - Real modal overlay (not a full-screen takeover), progressive disclosure of Options behind a chip summary, inline file preview with duration probe, sticky-footer Upload action, last-used tag / folder / language auto-restore, and a mobile bottom-sheet with drag-to-dismiss.+ - **Mobile UI Rebuild** - 56 px bottom navigation, contextual icons in the chevron row, edge-to-edge content, sticky speaker pills, sticky editor Cancel / Save footer, and audio-player polish.+ - **PWA Web Share Target** - Pick Speakr from your phone's native share sheet to send a recording straight in.+ - **Webhooks** - HMAC-SHA256-signed outbound notifications on recording lifecycle events, with SSRF guard and exponential-backoff retries, managed per-user from Account settings β Webhooks.+ - **Server-side recording sessions** - Long recordings stream chunks to the server during capture; the size cap is replaced by a configurable hours-based ceiling with resume-on-reload.+ - **Design-system unification** - 22 modals on shared `.modal-*` primitives, `.btn` + `.field` everywhere, dark-mode `<select>` theming, header consolidation, sidebar redesign, floating dockable chat panel.+ - **Inquire mode** - "+ New Recording" opens the upload modal directly via `?upload=1`. Also: `GET /api/v1/users/me`, an audio-player position preference, and a localization refresh across all seven languages.++ See the [full release notes](https://github.com/murtaza-nasir/speakr/blob/master/release_notes_v0.9.0.md) for the complete list.++!!! info "Version 0.8.21-alpha - Security: CSRF bypass and SSO account takeover"+ Security patch release on top of v0.8.20-alpha. Tracked as a GitHub Security Advisory; reported by **@Irench1k**.++ - Fixed a CSRF bypass where the `csrf_exempt_for_api_tokens` before_request hook permanently disabled CSRF protection on the targeted view as soon as any request carried a `?token=` query parameter (CWE-287). The hook is gone; CSRF skipping is now a per-request decision driven by `load_user_from_token_headers_only()`.+ - `change_password` no longer silently sets a password on an SSO-only account, closing the chained account-takeover path.++!!! info "Version 0.8.20-alpha - Security: open-redirect fix"+ Security patch release on top of v0.8.19-alpha. Reported by RacerZ and Fushuling.++ - `is_safe_url()` now validates the raw target against a local-path allowlist instead of an URL-joined form, closing the `////evil.com` open-redirect bypass (CWE-601).+!!! info "Version 0.8.19-alpha - Inquire-mode performance and re-embed reliability"Patch release on top of v0.8.18-alpha. No new features, no breaking changes.diff --git a/docs/roadmap.md b/docs/roadmap.mdindex ca9f3d8d..0b21cf1b 100644--- a/docs/roadmap.md+++ b/docs/roadmap.md@@ -8,62 +8,85 @@ If a feature you care about is not on this list, the right place to askis a GitHub discussion or issue. Roadmap order reflects design readinessand community demand, not strict priority.-## Planned for the next release (v0.8.21-alpha)--These are landed locally and waiting on release:--- **Web Share Target for the PWA.** Pick Speakr from your phone's native- share sheet to send a recording straight in (issue #285).-- **`GET /api/v1/users/me`.** Companion apps and automation flows can- identify the current user without scraping internal endpoints- (issue #281).+## Shipped in v0.9.0++The first non-patch release in the v0.8 line. Everything in this+section is released and available. Full detail in the+[v0.9.0 release notes](https://github.com/murtaza-nasir/speakr/blob/master/release_notes_v0.9.0.md).++### Recording and capture++- **Multi-platform system audio capture.** Platform detection on click+ with a per-OS help guide (macOS BlackHole + Multi-Output Device,+ Windows "Share system audio", Linux pavucontrol + a one-line+ `pactl load-module module-virtual-source`). An honest capability+ matrix flags when full system audio isn't expected to work on the+ current browser / OS.+- **Multi-input recording.** A new Input devices picker lets you choose+ a primary microphone AND an optional "Also mix in" secondary device;+ Speakr mixes both streams via Web Audio into one track β the canonical+ way to record your voice plus a meeting's remote participants where the+ browser can't capture full system audio natively. Includes a toggle to+ disable Chrome's echo cancellation / noise suppression / auto-gain and+ virtual-audio-device discovery.+- **Server-side recording sessions (issue #287 c/d).** Long browser+ recordings stream chunks to the server during recording instead of+ holding everything in memory. The size-based cap is replaced by a+ configurable hours-based ceiling, and a page refresh prompts you to+ resume / finalize whatever was already uploaded.+ `RECORDING_SESSION_MAX_BYTES_PER_USER` is a per-user soft limit. Full+ setup, env-var reference, reverse-proxy guidance, and on-disk layout+ in [Recording Sessions](admin-guide/recording-sessions.md).- **Failed-upload safety net.** When an upload fails, the audio blob ispersisted to IndexedDB *and* offered as a browser download as a- defense-in-depth fallback, so the recording never silently- disappears (issues #297, #287).-- **"New Recording" navigation guard.** Confirmation prompt before- abandoning an unsaved in-app recording (issue #287).-- **Misleading "Enable Chunking" notification fixed.** Reverse-proxy 413s- now produce a clear "increase client_max_body_size" message instead- (issue #283).-- **Chat partial-response preservation.** A reverse-proxy timeout during- long extended-thinking streams no longer wipes the visible response;- the partial text stays with a short note appended (issue #282).-- **Multi-file upload responsiveness.** Vue reactivity no longer wraps- the binary File payload, eliminating the UI freeze when 10+ files- are queued at once (issue #280).-- **German translation parity.** 200+ entries from the community-supplied- list applied; all seven locales remain at full parity (issue #286).-- **Auto-created admin marked email-verified.** First-run admin creation- no longer requires an email-verification round-trip- (issue #288, PR #289 by checkmeck).--## Built, awaiting release--Both of the features that used to live in this section have been-implemented and are waiting on the next tagged release:--### Server-side recording chunks (issue #287 c/d) β built--Streams recording chunks to the server during recording. The 200 MB-cap is replaced by a configurable hours-based ceiling. Crash recovery-on reload prompts the user to finalize whatever was already uploaded.-Off by default until enabled with `ENABLE_SERVER_RECORDING_CHUNKS=true`.--Full setup, env-var reference, reverse-proxy guidance, and on-disk-layout in [Recording Sessions](admin-guide/recording-sessions.md).--### Webhooks (issue #275) β built--Push-based notifications on recording lifecycle events. Each user-manages their own webhook endpoints from Account settings β Webhooks-(or programmatically via `/api/v1/webhooks`). HMAC-SHA256 signatures,-SSRF guard against private IPs, exponential-backoff retries with-auto-pause after 10 consecutive failures.--Event types, signature verification examples in Python/Node/bash,-retry schedule, and env-var reference in-[Webhooks](admin-guide/webhooks.md).+ defense-in-depth fallback, so the recording never silently disappears+ (issues #297, #287).++### Interface++- **Upload-modal redesign.** The upload view is a real modal overlay+ (not a full-screen takeover) with progressive disclosure of Options+ behind a chip summary, inline file preview with duration probe, a+ sticky-footer Upload action, last-used tag / folder / language+ auto-restore with clearable chips, and a mobile bottom-sheet with+ drag-to-dismiss.+- **Mobile UI rebuild.** The detail view on mobile is now a first-class+ member of the design system: 56 px bottom navigation, contextual icons+ in the chevron row, edge-to-edge content, sticky speaker pills, a+ sticky editor Cancel / Save footer, and audio-player polish.+- **Stats tab.** A per-recording tab showing total length, speaker count,+ turns, and word count as headline cards, plus a per-speaker+ time / % / turns / words / WPM breakdown and a silence row. Available+ on desktop and mobile.+- **Inquire `?upload=1` deep-link.** The "+ New Recording" button in+ inquire mode now opens the main app's upload modal directly via a+ query param instead of dropping you on the empty list.+- **Audio-player position preference.** A new Display tab in account+ settings lets you choose whether the desktop audio player sits at the+ bottom (default) or top of the recording detail surface.+- **Design-system unification.** 22 bespoke modals moved onto shared+ `.modal-*` primitives; `.btn` + `.field` primitives across the app;+ native `<select>` dropdowns themed for dark mode; header consolidation;+ sidebar redesign; floating dockable chat panel.++### Backend and API++- **Webhooks (issue #275).** HMAC-SHA256-signed outbound notifications on+ recording lifecycle events. Each user manages their own webhook+ endpoints from Account settings β Webhooks (or programmatically via+ `/api/v1/webhooks`), with an SSRF guard against private IPs and+ exponential-backoff retries that auto-pause after repeated failures.+ Event types, signature-verification examples in Python / Node / bash,+ retry schedule, and env-var reference in+ [Webhooks](admin-guide/webhooks.md).+- **`GET /api/v1/users/me` (issue #281).** Companion apps and automation+ flows can identify the current user β and their group memberships β+ without scraping internal endpoints.+- **PWA Web Share Target (issue #285).** Install the PWA and pick Speakr+ from your phone's native share sheet to send a recording straight in.+- **Auto speaker labelling honoring the user threshold.** Automatic+ speaker labelling now respects the user-configured confidence+ threshold rather than a hard-coded default.**Known follow-up β debounce `recording.updated`.** Rapid edits(notes autosave, retitling, tag changes) currently emit one@@ -96,16 +119,20 @@ in detail yet:it is to design for.- Reactions on existing issues / discussions help signal demand.- For larger features, a design proposal in a discussion that you have- thought through is the fastest path. The "Designed, implementation- pending" items above became designed-and-pending because someone- cared enough to articulate what they needed.+ thought through is the fastest path. Several items now shipped in+ v0.9.0 β webhooks and server-side recording sessions among them β+ reached design-and-build because someone cared enough to articulate+ what they needed.## How releases are versioned-Speakr is in alpha. The version scheme is `v0.MAJOR.MINOR-alpha` where:+Speakr is in alpha. The version scheme is `v0.MINOR.PATCH`, with+releases through v0.8.x carrying an `-alpha` suffix:-- `MAJOR` increments for feature batches.-- `MINOR` increments for patch releases (bug fixes, security patches,- small targeted features).+- `MINOR` increments for larger feature batches. v0.9.0 was the first+ such bump in the v0.8 line β a coherent baseline rolling up the+ recording, mobile, and design-system work rather than another patch.+- `PATCH` increments for bug fixes, security patches, and small targeted+ features on top of the current minor.- Security patches always ship as their own release, separate fromfeature work, so the security advisory record stays narrowly scoped.