| Changelog | Security
- Google API keys (Gemini and Cloud Speech-to-Text) are now sent in the
x-goog-api-key header instead of the ?key= query string. Before, a provider error (for example a 400 from Gemini) put the full URL, key included, in the exception message, which reached nextcloud.log and, for background jobs, the error field returned by /api/status to the user. Provider error messages are now masked before they reach the log, the job record or the HTTP response. As a precaution, rotate the Gemini and Google STT API keys configured in Audiolog, since they may already be in old log files.
- Exporting tasks to Deck no longer writes straight into Deck's database tables. Any user of the app could create cards on any board of the instance by sending another board's list id. Cards are now created through Deck's own services (
CardService, StackService, BoardService, PermissionService), which apply Deck's sharing rules, activity and notifications; Audiolog also checks that the list belongs to the chosen board and that the user can edit it, and refuses otherwise (HTTP 403). Checked against Deck 1.12 to 1.19 (Nextcloud 28 to 35). Deleted lists and archived boards are refused with a clear message, and if Deck fails in the middle of an export the answer lists the cards already created, so a retry does not duplicate them.
- The live transcription proxy (
/api/stt/recognize), which spends the admin's Google key, is now limited to 30 requests per minute per user through Nextcloud's rate limiter (a normal session sends about 12).
ffmpeg and ffprobe now run with -protocol_whitelist file,pipe and -format_whitelist limited to media demuxers, and files whose content is not audio or video (checked on the bytes) or is a playlist or manifest (#EXTM3U, ffconcat, XML such as a DASH <MPD>) are refused even when named like audio or video. Before, a manifest saved as .mp4 could point ffmpeg to file:// paths of other users' recordings. When extraction fails, the message now says whether the format is not supported (listing the accepted ones), ffmpeg is missing or the extraction timed out, instead of always asking to install ffmpeg. Before, a playlist saved as .mp4 in Nextcloud could make older ffmpeg versions (for example the one in Debian 12) fetch URLs of the internal network from the server. Every ffmpeg call goes through proc_open with an argument list, without a shell. Their error output goes to a private temporary file instead of a pipe, so a corrupted file that makes ffmpeg print an error per frame can no longer leave the request or the background job stuck, and every call has a time limit after which the process is killed.
Changed
-
The store description (English, Portuguese and Spanish) no longer says that live transcription with an external API key is restricted to admins: that option never existed. It now describes the server-side proxy and the per-user limit. The unused realtime_stt_admin_only setting is removed from the stored configuration on the next save of the admin settings.
-
The page no longer adds Gemini, OpenAI, Google Speech or the Ollama URL to its Content Security Policy: the browser never calls a provider directly (everything goes through Audiolog's own endpoints), and the internal Ollama address no longer appears in a response header.
-
Interface translations: about 85 strings that showed in Portuguese for English users and 170 for Spanish users are now translated, the admin page script uses t() for every text, and dates follow the user's locale. The server's own messages are translated too: API errors (size, type, daily quota, Deck, paths, live transcription), success messages, the admin healthcheck and connection test, the Markdown task file and the description of Deck cards. Every string in use exists in English, Portuguese and Spanish, and a test fails if lib/ returns a user-facing text that does not go through IL10N. Background-job failures report a translated generic message, with the details only in the server log. The default "Transcript" title, the "(named)" suffix of the speaker-naming note and the "(unintelligible part)" marker of live transcription are translated as well.
- The live transcription refine pass no longer sends a prompt fixed in Brazilian Portuguese from the browser; the server builds it in the language the admin configured, so English and Spanish users get the refined transcript in their language.
Removed
- Dead code: the Gemini Live WebSocket client in the page script (about 230 lines that nothing called;
gemini-live already fell back to Web Speech), the unrouted ncFile endpoint method, getTaskStatus, findStaleRunning, and the unused realtime_stt_model setting (removed from the stored configuration on the next save).
Fixed
- Users outside the allowed groups now get a translated "Access denied" page (HTTP 403) instead of the app interface, whose actions all failed.
- "Test connection" and the healthcheck now use Nextcloud's HTTP client, like the processing itself. Before, they used raw cURL and reported "OK" for a local Ollama that the processing could not reach, because Nextcloud blocks local addresses unless
allow_local_remote_servers is enabled. The blocked case now shows that setting, and the README documents it. This also removes curl_close(), deprecated in PHP 8.5.
- Temporary copies of the audio (video extraction, duration probe, long-audio chunks, DOCX export, background-job uploads) are created through Nextcloud's
ITempManager with 0600 permissions and deleted in every case. Before, they stayed in /tmp whenever the provider failed.
- Long Google Speech-to-Text transcriptions poll the operation on
v1p1beta1, the API version that created it (it used v1).
- Task extraction (for Deck export) only reads the task table the prompt asks for, or a bullet list under a tasks heading ("Tasks", "Next steps", "Action items" and their Portuguese and Spanish equivalents, the same names for both shapes). Before, any three-column table of the minutes (participants, for example) became tasks, and bullet tasks such as "- Send report - Owner: Ana" were dropped.
- The admin's "maximum file size" setting is now enforced (it was saved but never checked) when audio is processed, for uploads and for files picked from Nextcloud (HTTP 413). It does not apply to saving the user's own recording, so long meetings are always stored.
- When saving a recording fails, the page shows the server's reason and keeps the audio in the browser (IndexedDB) for the recovery prompt. Before, the live transcription flow dropped the audio and kept only the fast transcript, and the recorder's local copy was not offered by the recovery prompt. "Process now" on the recovery prompt also deleted the local copy before processing; it now deletes it only after processing succeeds, and keeps it recoverable otherwise. Uploaded files must be audio or video according to their content, not only to the type the browser declares (HTTP 415).
- The Deck board picker lists every board the user can edit, including boards shared through a group or a circle, and no longer lists archived boards or boards the user can only read. Board titles are no longer written to the log.
- Live transcription with Google Cloud Speech-to-Text never started ("Invalid configuration"): the page still expected the API key in the browser after the key moved to the server-side proxy.
- The app tarball is now built with
git archive from an explicit list of versioned paths and checked before signing. The 1.0.3 and 1.0.4 tarballs also contained the developer's local .remember/ session notes (no credentials).
- Renaming a recording saved with a title (stored in
Audiolog/<title>/) failed with "File not found", or renamed a file with the same name at the Audiolog/ root. Notes and DOCX saved for those recordings were not linked to them either, so "delete with outputs" left them behind. Each saved note or document is now linked separately, instead of replacing the previous one.
|