• Aryan Noshirvnai's avatar
    Gate AI Remix behind a flag and add admin account moderation · f05e01b4
    Aryan Noshirvnai authored
    Remix is shelved until after beta launch: new REMIX_ENABLED config
    flag (off by default) returns 403 from both /remix endpoints, mirroring
    the frontend's existing VITE_ENABLE_REMIX gate. Full test coverage on
    the underlying pipeline is preserved via an autouse fixture that force-
    enables the flag for every existing test except the two new ones
    covering the disabled response.
    
    Admins can now moderate accounts: new User.is_active and
    suspended_until columns back a soft-delete design (no FK cascades
    exist anywhere in this schema, so a real row delete would orphan 20+
    tables) enforced everywhere identity is resolved - login, refresh,
    every authenticated request, and websockets - not just at login.
    New endpoints extend the existing admin user list: username search,
    rename, deactivate/reactivate, suspend/unsuspend, and password reset.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    f05e01b4
Name
Last commit
Last update
..
fixtures Loading commit data...
conftest.py Loading commit data...
test_audio_processing.py Loading commit data...
test_auth.py Loading commit data...
test_channels.py Loading commit data...
test_database.py Loading commit data...
test_discovery.py Loading commit data...
test_dm.py Loading commit data...
test_docs_auth.py Loading commit data...
test_home.py Loading commit data...
test_library.py Loading commit data...
test_media_stream.py Loading commit data...
test_music.py Loading commit data...
test_music_identification.py Loading commit data...
test_privacy_settings.py Loading commit data...
test_remix.py Loading commit data...
test_remix_engine.py Loading commit data...
test_rooms_websocket.py Loading commit data...
test_social.py Loading commit data...
test_soundmarks.py Loading commit data...
test_telegram_scan.py Loading commit data...
test_telegram_sync.py Loading commit data...