[PR #3991] [MERGED] Add custom notification sounds and Atlas Cloud media support #6186

Closed
opened 2026-10-23 04:07:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3991
Author: @SpicyMarinara
Created: 7/23/2026
Status: ✅ Merged
Merged: 7/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feature/3988-3990-user-media-sweep


📝 Commits (4)

  • 497a604 fix: disable optional Venice image blur
  • 6198cbc feat: add custom sounds and Atlas Cloud media
  • ce2af3a Apply CodeRabbit review fixes for sound preview, Atlas routing, and races
  • cdce801 Merge remote-tracking branch 'origin/staging' into feature/3988-3990-user-media-sweep

📊 Changes

39 files changed (+1696 additions, -276 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 docs/FAQ.md (+2 -2)
📝 docs/data/backup-and-restore.md (+2 -2)
📝 docs/media/image-providers.md (+9 -3)
📝 docs/media/scene-video.md (+14 -11)
📝 docs/settings/settings-overview.md (+1 -1)
📝 package.json (+2 -1)
📝 packages/client/src/App.tsx (+7 -0)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+176 -129)
📝 packages/client/src/components/panels/settings/SettingControls.tsx (+125 -3)
➕ packages/client/src/hooks/use-custom-notification-sound.ts (+46 -0)
📝 packages/client/src/lib/notification-sound.ts (+60 -34)
📝 packages/client/src/localization/locales/ar.json (+23 -1)
📝 packages/client/src/localization/locales/de.json (+23 -1)
📝 packages/client/src/localization/locales/en.json (+23 -1)
📝 packages/client/src/localization/locales/es.json (+23 -1)
📝 packages/client/src/localization/locales/fr.json (+23 -1)
📝 packages/client/src/localization/locales/hi.json (+23 -1)
📝 packages/client/src/localization/locales/ja.json (+23 -1)
📝 packages/client/src/localization/locales/ko.json (+23 -1)

...and 19 more files

📄 Description

Why

This sweep closes three user-facing media gaps:

  • Notification sounds were fixed to Marinara's synthesized tone and could not be personalized.
  • Atlas Cloud could not be selected as an image or video generation service.
  • Venice's native image endpoint defaults safe_mode to enabled, so Marinara requests inherited the optional blur even when the user's account permits disabling it.

What changed

  • Added a server-wide custom notification sound under Settings > General > Notifications. Desktop and mobile clients can upload, preview, replace, or remove MP3, WAV, OGG, M4A/MP4, and WebM files up to 10 MB.
  • Validated uploaded file signatures, stored one fixed managed file under the Marinara data directory, served it with nosniff, and retained the synthesized tone as the playback fallback.
  • Included the custom sound in full backups, profile exports, and profile restores so every device connected to the same Engine uses the same sound.
  • Added Atlas Cloud to image and video connections with localized service UI, starter image/video model catalogs, common sizing/reference controls, asynchronous prediction polling, connection tests, Game and scene-video routing, and documented manual model-ID support.
  • Kept Atlas API and generated-media fetches external-only. Bearer credentials are sent to a generated-media URL only when it shares the configured Atlas origin.
  • Explicitly set safe_mode: false on Venice native image requests. Venice account/model policy enforcement is otherwise unchanged.
  • Updated the image/video provider guides, Settings guide, backup guide, FAQ, and changelog.

Closes #3988
Closes #3989
Closes #3990

Automated validation performed

  • pnpm check
  • pnpm localization:check — all 12 locales at 40/40 keys
  • pnpm regression:notification-sound
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts
  • pnpm smoke:ui — 90 passed, 52 viewport-gated skips, 0 failures
  • git diff --check

Manual verification requested

  • Manually verify custom sound upload, preview, replacement, removal, and synthesized fallback on desktop and mobile widths.
  • Manually verify custom sound profile export and restore on a separate data directory.
  • Manually verify Atlas Cloud image generation with a live API key and account-supported model.
  • Manually verify Atlas Cloud text-to-video and image-to-video with a live API key.
  • Manually verify Venice image generation with an account permitted to disable Safe Venice.

Summary by CodeRabbit

  • New Features
    • Added Atlas Cloud support for image and video generation, including reference images, model selection, connection tests, and asynchronous job processing.
    • Added customizable notification sounds with upload, preview, replacement, removal, format and size validation, and automatic fallback.
    • Custom sounds are included in backups and profile exports.
  • Bug Fixes
    • Venice.ai image generations no longer include the optional safety blur overlay.
  • Documentation
    • Updated provider, settings, backup, and scene-video documentation with Atlas Cloud and custom notification sound details.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3991 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/23/2026 **Status:** ✅ Merged **Merged:** 7/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feature/3988-3990-user-media-sweep` --- ### 📝 Commits (4) - [`497a604`](https://github.com/Pasta-Devs/Marinara-Engine/commit/497a604a58e06ee342e13c04084aa2c9a5e3cd5a) fix: disable optional Venice image blur - [`6198cbc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6198cbcf6187ee159bc370dc2336fd721a1f81ea) feat: add custom sounds and Atlas Cloud media - [`ce2af3a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ce2af3ab02a52f0d2f43a6e6dd562a1b2159e07e) Apply CodeRabbit review fixes for sound preview, Atlas routing, and races - [`cdce801`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cdce801f18a9fb29b7d54d6b393edbaf60d758bf) Merge remote-tracking branch 'origin/staging' into feature/3988-3990-user-media-sweep ### 📊 Changes **39 files changed** (+1696 additions, -276 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `docs/FAQ.md` (+2 -2) 📝 `docs/data/backup-and-restore.md` (+2 -2) 📝 `docs/media/image-providers.md` (+9 -3) 📝 `docs/media/scene-video.md` (+14 -11) 📝 `docs/settings/settings-overview.md` (+1 -1) 📝 `package.json` (+2 -1) 📝 `packages/client/src/App.tsx` (+7 -0) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+176 -129) 📝 `packages/client/src/components/panels/settings/SettingControls.tsx` (+125 -3) ➕ `packages/client/src/hooks/use-custom-notification-sound.ts` (+46 -0) 📝 `packages/client/src/lib/notification-sound.ts` (+60 -34) 📝 `packages/client/src/localization/locales/ar.json` (+23 -1) 📝 `packages/client/src/localization/locales/de.json` (+23 -1) 📝 `packages/client/src/localization/locales/en.json` (+23 -1) 📝 `packages/client/src/localization/locales/es.json` (+23 -1) 📝 `packages/client/src/localization/locales/fr.json` (+23 -1) 📝 `packages/client/src/localization/locales/hi.json` (+23 -1) 📝 `packages/client/src/localization/locales/ja.json` (+23 -1) 📝 `packages/client/src/localization/locales/ko.json` (+23 -1) _...and 19 more files_ </details> ### 📄 Description ## Why This sweep closes three user-facing media gaps: - Notification sounds were fixed to Marinara's synthesized tone and could not be personalized. - Atlas Cloud could not be selected as an image or video generation service. - Venice's native image endpoint defaults `safe_mode` to enabled, so Marinara requests inherited the optional blur even when the user's account permits disabling it. ## What changed - Added a server-wide custom notification sound under **Settings > General > Notifications**. Desktop and mobile clients can upload, preview, replace, or remove MP3, WAV, OGG, M4A/MP4, and WebM files up to 10 MB. - Validated uploaded file signatures, stored one fixed managed file under the Marinara data directory, served it with `nosniff`, and retained the synthesized tone as the playback fallback. - Included the custom sound in full backups, profile exports, and profile restores so every device connected to the same Engine uses the same sound. - Added Atlas Cloud to image and video connections with localized service UI, starter image/video model catalogs, common sizing/reference controls, asynchronous prediction polling, connection tests, Game and scene-video routing, and documented manual model-ID support. - Kept Atlas API and generated-media fetches external-only. Bearer credentials are sent to a generated-media URL only when it shares the configured Atlas origin. - Explicitly set `safe_mode: false` on Venice native image requests. Venice account/model policy enforcement is otherwise unchanged. - Updated the image/video provider guides, Settings guide, backup guide, FAQ, and changelog. Closes #3988 Closes #3989 Closes #3990 ## Automated validation performed - `pnpm check` - `pnpm localization:check` — all 12 locales at 40/40 keys - `pnpm regression:notification-sound` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts` - `pnpm smoke:ui` — 90 passed, 52 viewport-gated skips, 0 failures - `git diff --check` ## Manual verification requested - [ ] Manually verify custom sound upload, preview, replacement, removal, and synthesized fallback on desktop and mobile widths. - [ ] Manually verify custom sound profile export and restore on a separate data directory. - [ ] Manually verify Atlas Cloud image generation with a live API key and account-supported model. - [ ] Manually verify Atlas Cloud text-to-video and image-to-video with a live API key. - [ ] Manually verify Venice image generation with an account permitted to disable Safe Venice. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added Atlas Cloud support for image and video generation, including reference images, model selection, connection tests, and asynchronous job processing. - Added customizable notification sounds with upload, preview, replacement, removal, format and size validation, and automatic fallback. - Custom sounds are included in backups and profile exports. - **Bug Fixes** - Venice.ai image generations no longer include the optional safety blur overlay. - **Documentation** - Updated provider, settings, backup, and scene-video documentation with Atlas Cloud and custom notification sound details. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:07:56 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6186
No description provided.