• 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
alembic Loading commit data...
deploy Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
docker-compose.yml Loading commit data...
requirements-remix.txt Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...