Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Bump version to v0.9.2-alpha and add File Storage admin docs for the local/S3 backend
Murtaza Nasirfe650404a650
diff --git a/README.md b/README.mdindex 1ae15200..88ab21d7 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.9.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.9.2-alpha-brightgreen.svg"></a></p><p align="center">@@ -193,7 +193,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.9.1-alpha)+## Latest Release (v0.9.2-alpha)++**Adds a pluggable local / S3 storage backend.** Recording audio can now live in S3-compatible object storage (AWS S3, MinIO, Backblaze B2, Cloudflare R2, Wasabi) instead of, or alongside, the local filesystem, with presigned-URL delivery and a migration script for existing recordings. Local storage stays the default, so existing deployments are unaffected until they opt in. Contributed by @Daabramov (#268). **Full release notes: [`release_notes_v0.9.2.md`](release_notes_v0.9.2.md).**++### v0.9.1-alpha (previous release)**A patch release hardening the v0.9.0 upload path.** Fixes uploads failing with an expired CSRF token after long sessions or sleep (#310), Inquire embeddings not being generated when auto-summarization is enabled (#305), and the Account page's API token modals not opening (#308); adds a timeout so stalled uploads fail into the recovery path and a warning before leaving the page mid-upload. **Full release notes: [`release_notes_v0.9.1.md`](release_notes_v0.9.1.md).**diff --git a/VERSION b/VERSIONindex f275a94d..a5b20b82 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-v0.9.0-alpha+v0.9.2-alphadiff --git a/docs/admin-guide/storage.md b/docs/admin-guide/storage.mdnew file mode 100644index 00000000..e3e089f6--- /dev/null+++ b/docs/admin-guide/storage.md@@ -0,0 +1,122 @@+# File Storage++Speakr stores recording audio on one of two backends, selected with a single environment variable:++- **`local`** (default): audio is written to the filesystem under the upload directory, exactly as in earlier releases.+- **`s3`**: audio is stored as objects in S3-compatible object storage (AWS S3, MinIO, Backblaze B2, Cloudflare R2, Wasabi, or any service that speaks the S3 API).++The backend is set with `FILE_STORAGE_BACKEND`. Local remains the default, so an existing deployment is unaffected until it opts in.++## When to use object storage++Object storage is worth adopting when one or more of the following applies:++- You want recording audio in durable offsite or cloud storage (Backblaze B2, Cloudflare R2, Wasabi, AWS S3) rather than only on local disk.+- You run more than one application replica and want to avoid a shared writable filesystem.+- You want audio served directly from the object store instead of streamed through the application, to keep playback and download bandwidth off the app server.+- You have found a network filesystem mount (NFS or SMB) operationally fragile and prefer access over HTTP with retries.++If your goal is simply to keep audio on a local NAS, a mounted share used as the upload directory is simpler and gives most of the same capacity and redundancy. Running a self-hosted object store backed by the same disks adds an access layer without adding durability.++## Configuration++All settings are read from the environment. Only `FILE_STORAGE_BACKEND` is required for local; the `S3_*` values are required when the backend is `s3`.++| Variable | Default | Description |+|----------|---------|-------------|+| `FILE_STORAGE_BACKEND` | `local` | Storage backend: `local` or `s3`. |+| `FILE_STORAGE_KEY_PREFIX` | `recordings` | Key prefix (path) for stored objects within the backend. |+| `FILE_STORAGE_STAGING_DIR` | `<uploads>/_staging` | Local directory for staging uploads and conversion before the final store. |+| `S3_BUCKET_NAME` | (none) | Target bucket. Required when the backend is `s3`. |+| `S3_REGION` | (none) | Region for the bucket. Required by most providers. |+| `S3_ENDPOINT_URL` | (none) | Service endpoint. Leave unset for AWS S3; set it for MinIO and other S3-compatible providers. |+| `S3_ACCESS_KEY_ID` | (none) | Access key. |+| `S3_SECRET_ACCESS_KEY` | (none) | Secret key. |+| `S3_SESSION_TOKEN` | (none) | Optional session token for temporary credentials. |+| `S3_USE_PATH_STYLE` | `false` | Use path-style addressing. Required for MinIO; leave `false` for providers that use virtual-hosted-style. |+| `S3_VERIFY_SSL` | `true` | Verify TLS certificates. Set `false` only for a local MinIO without TLS. |+| `S3_PRESIGN_TTL_SECONDS` | `900` | Lifetime of presigned URLs for owner playback and download (15 minutes). |+| `S3_PRESIGN_PUBLIC_TTL_SECONDS` | `300` | Lifetime of presigned URLs for public share links (5 minutes). |++S3 support requires the `boto3` package, which is included in the default Docker image. If you build from source, install `boto3>=1.34.0`.++## How audio is delivered++In S3 mode, audio endpoints return a `302` redirect to a short-lived presigned URL rather than streaming the file through the application. This keeps playback and download bandwidth off the app server while remaining compatible with `<audio>` tags and direct downloads. URLs expire according to the TTL settings above.++!!! warning "The presigned URL must be reachable by the browser"+ Because the browser is redirected to the object store, the value of `S3_ENDPOINT_URL` (or the AWS endpoint for your region) must be resolvable and reachable from the client, not only from the application container. If you place the app behind a reverse proxy, the object store endpoint must also be reachable by clients.++ When the app origin and the object store origin differ, the bucket must allow cross-origin requests from your Speakr web origin. See the CORS section of the [Migration Guide](migration-guide.md#migrating-audio-files-to-s3) for example AWS S3 and MinIO rules.++## Provider examples++The exact endpoint and region come from your provider's console. The following are representative starting points.++**AWS S3**++```bash+FILE_STORAGE_BACKEND=s3+S3_BUCKET_NAME=speakr-audio+S3_REGION=us-east-1+S3_ACCESS_KEY_ID=...+S3_SECRET_ACCESS_KEY=...+# No endpoint or path-style needed for AWS S3.+```++**MinIO (self-hosted)**++```bash+FILE_STORAGE_BACKEND=s3+S3_BUCKET_NAME=speakr-audio+S3_REGION=us-east-1+S3_ENDPOINT_URL=https://minio.example.com+S3_ACCESS_KEY_ID=...+S3_SECRET_ACCESS_KEY=...+S3_USE_PATH_STYLE=true+S3_VERIFY_SSL=true # false only if MinIO has no TLS+```++**Backblaze B2 (S3-compatible)**++```bash+FILE_STORAGE_BACKEND=s3+S3_BUCKET_NAME=speakr-audio+S3_REGION=us-west-004+S3_ENDPOINT_URL=https://s3.us-west-004.backblazeb2.com+S3_ACCESS_KEY_ID=... # B2 application keyID+S3_SECRET_ACCESS_KEY=... # B2 applicationKey+```++**Cloudflare R2**++```bash+FILE_STORAGE_BACKEND=s3+S3_BUCKET_NAME=speakr-audio+S3_REGION=auto+S3_ENDPOINT_URL=https://<account-id>.r2.cloudflarestorage.com+S3_ACCESS_KEY_ID=...+S3_SECRET_ACCESS_KEY=...+```++**Wasabi**++```bash+FILE_STORAGE_BACKEND=s3+S3_BUCKET_NAME=speakr-audio+S3_REGION=us-east-1+S3_ENDPOINT_URL=https://s3.us-east-1.wasabisys.com+S3_ACCESS_KEY_ID=...+S3_SECRET_ACCESS_KEY=...+```++## Operational notes++- **Mixed storage.** Speakr reads from both backends at once. After switching to `s3`, existing local recordings continue to be served from local storage and only new uploads go to the bucket. This allows a gradual transition.+- **Reprocessing and transcription.** Workers materialize an object to a temporary local file for transcription, then remove the temporary file. Large files therefore incur a download on each processing run.+- **Retention and deletion.** Retention policies and manual deletion remove the underlying object from the bucket, the same as they remove local files.+- **Backups.** With `local`, back up the `uploads` directory along with the database and `.env`. With `s3`, audio durability is handled by your provider and the `uploads` directory no longer holds recording audio. The database and `.env` still require backup.++## Migrating existing recordings++Switching the backend only affects new uploads. To move historical recordings into a bucket and update their stored locators, follow the phased process in the [Migration Guide](migration-guide.md#migrating-audio-files-to-s3), which covers path normalization, the migration script with its `--dry-run` and verification options, duration backfill, and rollback.diff --git a/docs/index.md b/docs/index.mdindex 51d66427..cb2002ac 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.9.1-alpha — Upload-path fixes"- A patch release hardening the v0.9.0 upload path. Fixes uploads failing with an expired CSRF token after long sessions or sleep, Inquire embeddings not being generated when auto-summarization is enabled, and the Account page's API token modals not opening; adds a timeout so stalled uploads fail into the recovery path and a warning before leaving the page mid-upload.+!!! success "Latest Release: v0.9.2-alpha — Local / S3 storage backend"+ Recording audio can now live in S3-compatible object storage (AWS S3, MinIO, Backblaze B2, Cloudflare R2, Wasabi) instead of, or alongside, the local filesystem, with presigned-URL delivery and a migration script for existing recordings. Contributed by @Daabramov (#268).- See the [full release notes](https://github.com/murtaza-nasir/speakr/blob/master/release_notes_v0.9.1.md) for the complete list. Backwards compatible with v0.8.x and v0.9.0; database migrations run automatically.+ See the [full release notes](https://github.com/murtaza-nasir/speakr/blob/master/release_notes_v0.9.2.md) for the complete list. Backwards compatible; `FILE_STORAGE_BACKEND` defaults to `local`, so existing deployments are unaffected. Database migrations run automatically.## Quick Navigation@@ -128,6 +128,16 @@ Learn more about [audio synchronization features](user-guide/transcripts.md#audi## Latest Updates+!!! info "Version 0.9.2-alpha - Local / S3 storage backend"+ Recording audio can now be stored in S3-compatible object storage instead of, or alongside, the local filesystem. Backwards compatible; `FILE_STORAGE_BACKEND` defaults to `local`, so existing deployments are unaffected.++ - **Pluggable backend** - Set `FILE_STORAGE_BACKEND=local` (default) or `s3`. The S3 path works with AWS S3, MinIO, Backblaze B2, Cloudflare R2, and Wasabi.+ - **Presigned delivery** - In S3 mode, audio is served to the browser via short-lived presigned URLs straight from the object store rather than streamed through the app.+ - **Migration tooling** - `scripts/migrate_local_recordings_to_s3.py` moves existing recordings into a bucket with a dry-run mode, size verification, and optional source deletion.+ - **Configuration** - See the [File Storage](admin-guide/storage.md) admin guide for the full settings reference and per-provider examples, and the [Migration Guide](admin-guide/migration-guide.md#migrating-audio-files-to-s3) for moving historical files.++ Contributed by @Daabramov (#268). See the [full release notes](https://github.com/murtaza-nasir/speakr/blob/master/release_notes_v0.9.2.md) for details.+!!! info "Version 0.9.1-alpha - Upload-path fixes"A patch release hardening the v0.9.0 upload path. Backwards compatible with v0.8.x and v0.9.0; database migrations run automatically.diff --git a/mkdocs.yml b/mkdocs.ymlindex f0c2613e..c70bac64 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -187,6 +187,7 @@ nav:- SSO Setup: admin-guide/sso-setup.md- WhisperX Setup: admin-guide/whisperx-setup.md- Retention: admin-guide/retention.md+ - File Storage: admin-guide/storage.md- Migration Guide: admin-guide/migration-guide.md- Advanced:diff --git a/release_notes_v0.9.0.md b/release_notes_v0.9.0.mddeleted file mode 100644index 4b3b8ce0..00000000--- a/release_notes_v0.9.0.md+++ /dev/null@@ -1,93 +0,0 @@-# Release Notes - v0.9.0-alpha--The first non-patch release in the v0.8 line graduates Speakr's recording, mobile, and chrome work to a coherent v0.9 baseline. Three big user-facing themes: capturing audio is now multi-platform and properly documented, 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.--## System Audio & Multi-Input Recording--- **Platform detection on click.** Speakr now detects your OS and browser before you try to capture audio and shows a per-OS help guide with the right setup steps for that combination. The capability matrix it encodes is honest about what works: Chrome / Edge on Windows or ChromeOS deliver full system audio via the share dialog; Chrome / Edge on macOS or Linux can only capture tab audio directly through the browser; Firefox and Safari can't capture audio via `getDisplayMedia` at all.-- **Three capture modes.** The Microphone, System Audio, and Mic + System buttons are now styled as a calmer hierarchy — Microphone is the everyday full-width primary button, the other two sit in a secondary tier with small blue / purple icon accents. A small amber dot appears on the System Audio / Mic + System buttons when full system audio isn't expected to work on the current platform.-- **Per-OS setup guide.** A polished help modal opens automatically when capture fails (or on demand from the inline link). It carries macOS BlackHole + Multi-Output Device instructions, the Windows "Share system audio" walkthrough, and the Linux pavucontrol routing options including a one-line `pactl load-module module-virtual-source` that exposes a Pulse monitor as a regular source Chrome will list.-- **Input device picker with secondary mixing.** A new collapsible Input devices section under the recording buttons lets you pick a primary microphone AND an optional "Also mix in" secondary device. When both are picked, Speakr captures two `getUserMedia` streams and mixes them via Web Audio into one MediaRecorder track — the canonical solution for recording your voice plus a meeting's remote participants on macOS or Linux where the browser can't capture full system audio natively. Monitor sources and virtual audio devices are badged in the dropdown.-- **Disable echo cancellation / noise suppression / auto-gain.** A new toggle next to the recording buttons turns off Chrome's default audio processing — necessary when you're routing sustained speech or music through a monitor source / virtual audio device, because the noise suppressor otherwise classifies sustained audio as noise and gates the stream to silence about a second in. The choice is persisted in `localStorage`.-- **Virtual audio device discovery.** Speakr scans installed audio inputs for known virtual routing devices (BlackHole, Loopback, Soundflower, Background Music on macOS; VB-Audio Cable, Voicemeeter, Stereo Mix on Windows; PulseAudio / PipeWire monitor sources on Linux) and surfaces them as detected. The help modal shows a green confirmation when it finds one already wired up on your system.-- **Privacy notes.** The help modal has a collapsible Privacy notes section. It calls out the trade-off honestly: any virtual audio device on any OS creates a new path for sites with mic permission to capture system audio with no screen-sharing indicator. Mitigations are listed (route through the device only while recording; audit mic permissions; use a less obvious device name where possible).--## Stats Tab--- **At-a-glance metrics.** A new Stats tab on the recording detail surface shows total length, speaker count, conversation turns, and word count as headline cards.-- **Per-speaker breakdown.** A table (desktop) or card stack (mobile) shows each speaker's speaking time, percentage of total audio, turn count, words, and words-per-minute. A slim proportion bar visualises the share.-- **Silence row.** Detected silence is shown as its own row / card with the same proportion bar and duration so you can see how much of a meeting was actually quiet.-- **Available on both desktop and mobile.** Desktop surfaces Stats in the right-rail tab strip; mobile surfaces it in the bottom-nav More overflow alongside Notes and Events. Stats only appears when the transcript has speaker diarisation with per-segment timestamps.--## Upload Modal Redesign--- **Real modal.** The upload view is now a proper modal overlay over your recordings list or open detail view, not a full-screen takeover that hides everything else. Backdrop click and Esc dismiss.-- **Progressive disclosure.** Tags, folders, prompt variables, and advanced ASR options are tucked behind a single collapsible Options group with a chip summary of current selections. Most uploads now show as a calm row instead of a wall of form fields.-- **Inline file preview.** Each queued file shows its name, size, AND duration — populated asynchronously by a hidden audio/video element with `preload="metadata"` so only container headers get read, not the whole payload. Video files get a sky-blue video glyph instead of the audio one so you can tell file types at a glance.-- **Sticky modal footer.** Cancel and Upload live in a sticky bar at the bottom of the modal panel so they stay reachable while you scroll through long queues or expand the Options group. Button is enabled only when files are queued.-- **Last-used defaults auto-restore.** After every successful upload, your form choices (tag IDs, folder, language, min/max speakers) are memo-ed to `localStorage`. The next time you add a file to the queue, those values restore automatically — only filling slots you haven't already set this session. Each summary chip has an inline × to clear individual selections.-- **Calmer recording buttons.** The Microphone / System Audio / Mic + System buttons drop the saturated red / blue / purple "stoplight" palette for a neutral background + small coloured icon accents. The Microphone button is full-width as the primary case; System / Mic+System sit on a smaller secondary tier.-- **Mobile bottom-sheet with drag-to-dismiss.** On phones the modal anchors to the bottom of the viewport, takes full width, rounds only the top corners, and slides up from the bottom. Drag the modal header down past 120 px (or 25 % of the viewport) and the sheet animates fully off-screen.-- **Keep audio only for video uploads.** When you upload a video with video retention enabled at the server, a sky-blue toggle lets you drop the video stream and keep only audio. The toggle, the video-file icon on each queue row, and the implicit-mode inline hint all share the same sky-blue palette so the visual link is obvious even when the toggle is off.--## Mobile UI--- **Bottom navigation.** Detail view on mobile uses a 56 px bottom nav with Summary, Transcript, Chat as direct tabs and Notes / Stats / Events tucked into a More overflow when present. Single tap to reach every panel.-- **Single header.** The duplicated mobile title bar is gone — the global app header carries the title, edit pen, and regenerate-title button on every viewport; the per-recording strip below carries participants, status, folder / tag / share pills, and a chevron that expands to extra metadata + the action toolbar.-- **Contextual icons in the chevron row.** The copy / download / edit pen for Summary and Notes, the follow-player and view-mode toggles for Transcript, the calendar-export for Events, and the clear-chat for Chat all share the same row as the chevron. Saves a row of vertical space and gives the actions next to the chevron the user is already aiming for.-- **Edge-to-edge content.** Each panel runs full-width to the screen edges instead of sitting inside a 16 px gutter inside another 16 px gutter — the box-within-a-box feel is gone.-- **Sticky speaker pills.** The mobile transcript now uses the same run-based structure as desktop so the speaker tablet pins to the top of the scroll area for the entire speaker's run instead of disappearing with its segment.-- **Sticky editor footer.** Summary / Notes editing on mobile gets a sticky Cancel / Save footer below the editor so the buttons stay reachable for long content. The toolbar (copy / download / edit) hides entirely while editing so the "edit pen highlights when active" inconsistency is structurally gone.-- **Audio player polish.** Speed / volume / download / fullscreen / video-toggle buttons all use the design-system `.btn--icon.btn--sm` primitive so they share visual rhythm. The volume slider popover opens upward (was opening below the button and off-screen behind the bottom nav). The slider itself is rotation-based for pixel-perfect track / thumb alignment.-- **Progress queue as a bottom sheet.** The processing queue popup is now a full-width bottom sheet anchored above the player + nav strip on mobile (was overlapping them as a 320 px desktop card). Desktop is unchanged.-- **Editor flat corners on phones.** The EasyMDE markdown editor's rounded corners flatten on mobile so it reads as one continuous editing surface from edge to edge.--## Inquire Mode--- **+ New Recording deep-link.** Clicking the New Recording button from inquire mode now opens the main app's upload modal directly via a `?upload=1` query param the main app reads on mount and acts on. Previously it dumped you on the empty list / detail view and made you hunt for the same button again.-- **Design-system polish.** Header, sidebar, chat input, message bubbles, and welcome state all switched from bespoke utility chains to the shared `.btn`, `.field`, `.empty`, `.surface-raised`, `.message.user-message` / `.message.ai-message`, and `.t-*` type primitives so inquire feels like a member of the same family as the rest of the app.-- **Active filters as chips.** The active-filters summary on the sidebar is now a wrap of accent-tinted pills (was a stack of muted bg-tertiary lines) so it reads as "this is active right now" at a glance.--## Design System Unification--- **22 modals on the same chrome.** Account, admin, and inquire pages had a long tail of bespoke modal wrappers. All of them now use `.modal-overlay` + `.modal-panel` + `.modal-header` + `.modal-body` + `.modal-footer` + `.modal-close` with consistent backdrops, animations, and close affordances.-- **Button + field primitives.** `.btn` with `--primary`, `--ghost`, `--danger`, `--icon`, `--sm`, `--lg`, `--quiet` variants and `.field` for form inputs replace the long bespoke Tailwind utility chains that used to drift between pages.-- **Native select dropdowns themed for dark mode.** Browser native `<select>` dropdowns inherit OS / UA defaults which were typically light-on-light on dark themed pages. An explicit `select option` rule using theme tokens means the folder picker, language picker, model picker, ASR options, etc. are all legible in both modes.-- **Header consolidation.** The global header is a single adaptive bar across list view (Speakr logo) and detail view (recording title + edit pen + regenerate-title + status badge + action icons + global controls). No more two-bar stack on detail.-- **Sidebar redesign.** Full-bleed list runs edge-to-edge with consistent hairline dividers between rows and section bands instead of chunky cards. Each row optionally shows a folder pill and speaker count.-- **Floating dockable chat.** The chat panel is a floating, dockable surface that can snap to any of four corners, maximise to fill the viewport, or dock into the right column. Choice is persisted across recordings.-- **Display preferences tab.** 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.--## Polish & Bug Fixes--- **Empty / landing state.** Two flavours of empty state: a friendly "Ready to capture" panel when the recordings list is empty, and a minimal "Select a recording" prompt when items exist but none is open. Both use the design-system primitives.-- **Auto-select neighbour on delete.** Deleting the open recording auto-selects the recording at the same index (or the new last entry) instead of dropping you on a blank surface.-- **Auto-navigate after in-app recording.** When you record via the upload modal, stop, and the upload completes, Speakr now auto-navigates to the new recording's detail view. Bulk drag-drop uploads of many files still leave you where you were.-- **Inbox / highlight icon colour.** The active states (blue inbox, yellow star) now actually paint on both global and mobile headers — the `.btn--icon` rule's `:not()` chain was beating the conditional Tailwind class in the cascade.-- **Folder dropdown anchoring.** The mobile folder picker's hidden `<select>` overlay now anchors correctly under its icon button instead of materialising at viewport (0,0) in some mobile browsers.-- **Toast positioning.** Notifications fire from a fixed `top: calc(--app-header-height + 16px); right: 16px` so they sit below the header instead of overlapping it.-- **Sticky speaker pills (desktop).** Speaker tablets in the simple-view transcript now stick to the top of the scroll area for the entire speaker's run instead of disappearing with their first segment.-- **Speaker pill outlines.** Pills get a softened 1 px outline in the speaker's identity colour. Time half uses a `color-mix` blend that keeps the speaker hue without going to grey.-- **Auto-created admins are email-verified.** Admin accounts created via `create_admin.py` / `docker_create_admin.py` are now marked email-verified, so the first admin is no longer blocked by email verification at initial setup (which previously failed entirely when the admin domain was not allowlisted). Thanks to @checkmeck (#288, #289).-- **UI language now saves to the database.** Changing the interface language on the Account page persisted only in the browser; the request was routed to the wrong form handler and never wrote `ui_language` to the database (so it reverted on a fresh browser or device). Now fixed. Thanks to @rjackr (#290).--## Backend & Infrastructure--- **Webhooks Phase 1–3.** Outbound webhook system with HMAC signing, exponential-backoff retry, SSRF protection (DNS resolve, IPv6 site-local rejection), event payloads for `recording.transcription.completed`, `recording.transcription.started`, `events.extracted`, `events.updated`, and the lifecycle events. Account settings → Webhooks tab carries list / edit / test / deliveries / rotate. See admin-guide/webhooks for full setup.-- **Server-side recording sessions (opt-in).** With `ENABLE_SERVER_RECORDING_CHUNKS=true`, long browser recordings stream chunks to the server in the background instead of holding everything in memory. The size-based auto-stop is replaced by an hours-based ceiling (`RECORDING_MAX_HOURS`, default 8), and recordings resume after a page refresh. It is off by default for now and is planned to become the default in an upcoming release once it has had wider testing. `RECORDING_SESSION_MAX_BYTES_PER_USER` is a per-user soft limit.-- **Security fixes.** Folder ownership is validated in the recording-session finalize path (closes IDOR follow-up to #287); tag ownership is validated in the batch PATCH endpoint (closes a parallel IDOR). `SESSION_COOKIE_SECURE` is now env-configurable.-- **Performance.** Eager-load `Recording.folder` and tag associations in v1 list responses; group admin user-list queries into two batches (counts + storage_used) instead of N+1; composite `(status, next_retry_at)` index on `webhook_delivery`; opt-in chunk-commit batching for recording sessions.-- **`/api/v1/users/me`.** New endpoint exposes the authenticated user with their group memberships.-- **PWA Web Share Target.** Install the PWA and your OS can share audio files into Speakr from the share sheet.--## Localization--Full translation coverage refreshed across the seven supported languages (English, French, German, Spanish, Russian, Simplified Chinese, Brazilian Portuguese). All new strings (system audio help, device picker, stats tab, mobile bottom nav, upload modal redesign, webhook UI, recording sessions) have been localized. The German backfill repaired 12 `errors.*` keys that were carrying Chinese text in earlier passes.--## Compatibility--Backwards compatible with v0.8.x. Database migrations run automatically on startup. Existing recordings, tags, folders, groups, and shares are unaffected. Webhook system is opt-in (no webhooks fire until you create a subscription). Server-side recording sessions are opt-in and off by default, so existing installs see no change in recording behaviour unless you enable `ENABLE_SERVER_RECORDING_CHUNKS`.--Timezone behaviour change (no migration): in-app timestamps now render in each viewer's own browser timezone instead of the server's `TIMEZONE` setting. Timestamps are stored unchanged (naive UTC) and served as UTC ISO; the browser localises them. The `TIMEZONE` environment variable is **no longer read by the application** and has been removed from the example configs and setup docs — any `.env` that still sets it is harmlessly ignored, no action required. Single-timezone deployments where `TIMEZONE` previously matched users' zones will see no visible difference.--Browser support note: full system audio recording requires Chrome or Edge on Windows or ChromeOS. macOS and Linux can capture tab audio out of the box and full system audio via the documented virtual-audio-device workflows. Firefox and Safari can transcribe uploaded audio but cannot capture screen audio via `getDisplayMedia`.diff --git a/release_notes_v0.9.1.md b/release_notes_v0.9.1.mddeleted file mode 100644index f4296245..00000000--- a/release_notes_v0.9.1.md+++ /dev/null@@ -1,18 +0,0 @@-# Release Notes - v0.9.1-alpha--A patch release that hardens the upload path introduced in v0.9.0 and fixes two bugs reported against it. No new features, no configuration changes.--## Bug Fixes--- **Uploads no longer fail with an expired CSRF token.** The file/recording upload path uses `XMLHttpRequest` for progress reporting, which bypassed the fetch-based CSRF refresh. Once the page's token crossed Flask-WTF's one-hour limit (after a long recording, a backgrounded tab, or laptop sleep) the upload returned HTTP 400 and the retry kept failing with the same stale token. The upload path now refreshes the token immediately before sending and retries once on a CSRF rejection, mirroring the existing fetch interceptor. Fixes #310. (Thanks to @fcatuhe, PR #302.)-- **Inquire embeddings are now generated when auto-summarization is enabled.** Semantic-search chunks were only built in the non-summary completion path, so with auto-summarization on, new recordings completed without ever being embedded and stayed invisible to Inquire mode until an admin ran "Re-embed all". Summary completion now runs the same chunking step. Recordings created before this release still need a one-time re-embed; new uploads embed automatically. Fixes #305. (Thanks to @checkmeck for the diagnosis.)-- **API token modals open again.** An unclosed `<div>` in the Account page nested the Create Token and token-secret modals inside the hidden folder modal, so clicking Create Token did nothing. Fixes the markup so the token modals render. (Thanks to @fcatuhe, PR #308.)--## Upload Resilience--- **Stalled uploads now fail into the recovery path instead of hanging.** `XMLHttpRequest` had no timeout set, so a dropped-but-not-closed socket fired neither `ontimeout` nor `onerror` and the upload hung forever. A size-scaled timeout (a ten-minute floor plus one minute per 10 MB) now routes a stall through the same failure and recovery handling as any other upload error. (Thanks to @jjsmackay, PR #306.)-- **A warning now appears before leaving the page during an in-flight upload.** Closing or reloading the tab mid-upload triggers the browser's "leave site?" prompt when any upload is still queued, ready, or uploading. (Thanks to @jjsmackay, PR #307.)--## Compatibility--Backwards compatible with v0.8.x and v0.9.0. Database migrations run automatically on startup. Upgrade with the usual `docker compose pull && docker compose up -d`.