Replaces per-member Nextcloud credentials with a BandStorage model that supports multiple providers. Credentials are Fernet-encrypted at rest; worker receives audio via an internal streaming endpoint instead of direct storage access. - Add BandStorage DB model with partial unique index (one active per band) - Add migrations 0007 (create band_storage) and 0008 (drop old nc columns) - Add StorageFactory that builds the correct StorageClient from BandStorage - Add storage router: connect/nextcloud, OAuth2 authorize/callback, list, disconnect - Add Fernet encryption helpers in security/encryption.py - Rewrite watcher for per-band polling via internal API config endpoint - Update worker to stream audio from API instead of accessing storage directly - Update frontend: new storage API in bands.ts, rewritten StorageSection, simplified band creation modal (no storage step) - Add STORAGE_ENCRYPTION_KEY to all docker-compose files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
968 B
Python
Executable File
26 lines
968 B
Python
Executable File
from rehearsalhub.routers.annotations import router as annotations_router
|
|
from rehearsalhub.routers.auth import router as auth_router
|
|
from rehearsalhub.routers.bands import router as bands_router
|
|
from rehearsalhub.routers.internal import router as internal_router
|
|
from rehearsalhub.routers.invites import router as invites_router
|
|
from rehearsalhub.routers.members import router as members_router
|
|
from rehearsalhub.routers.sessions import router as sessions_router
|
|
from rehearsalhub.routers.songs import router as songs_router
|
|
from rehearsalhub.routers.storage import router as storage_router
|
|
from rehearsalhub.routers.versions import router as versions_router
|
|
from rehearsalhub.routers.ws import router as ws_router
|
|
|
|
__all__ = [
|
|
"auth_router",
|
|
"bands_router",
|
|
"invites_router",
|
|
"internal_router",
|
|
"members_router",
|
|
"sessions_router",
|
|
"songs_router",
|
|
"storage_router",
|
|
"versions_router",
|
|
"annotations_router",
|
|
"ws_router",
|
|
]
|